gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.SettingOvsOtherConfig

Description

OVS Other Config Settings

Since: 1.42

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingOvsOtherConfig o) => IsSettingOvsOtherConfig o Source #

Type class for types which can be safely cast to SettingOvsOtherConfig, for instance with toSettingOvsOtherConfig.

Instances

Instances details
(GObject o, IsDescendantOf SettingOvsOtherConfig o) => IsSettingOvsOtherConfig o Source # 
Instance details

Defined in GI.NM.Objects.SettingOvsOtherConfig

toSettingOvsOtherConfig :: (MonadIO m, IsSettingOvsOtherConfig o) => o -> m SettingOvsOtherConfig Source #

Cast to SettingOvsOtherConfig, for types for which this is known to be safe. For general casts, use castTo.

Methods

getData

settingOvsOtherConfigGetData Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsOtherConfig a) 
=> a

setting: the SettingOvsOtherConfig instance

-> Text

key: the other-config to lookup

-> m Text

Returns: the value associated with key or Nothing if no such value exists.

No description available in the introspection data.

Since: 1.42

getDataKeys

settingOvsOtherConfigGetDataKeys Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsOtherConfig a) 
=> a

setting: the SettingOvsOtherConfig

-> m [Text]

Returns: a Nothing-terminated array containing each key from the table.

No description available in the introspection data.

Since: 1.42

new

settingOvsOtherConfigNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingOvsOtherConfig

Returns: the new empty SettingOvsOtherConfig object

Creates a new SettingOvsOtherConfig object with default values.

Since: 1.42

setData

settingOvsOtherConfigSetData Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsOtherConfig a) 
=> a

setting: the SettingOvsOtherConfig instance

-> Text

key: the key to set

-> Maybe Text

val: the value to set or Nothing to clear a key.

-> m () 

No description available in the introspection data.

Since: 1.42

Properties

data

A dictionary of key/value pairs with other_config settings for OVS. See also "other_config" in the "ovs-vswitchd.conf.db" manual for the keys that OVS supports.

Since: 1.42

clearSettingOvsOtherConfigData :: (MonadIO m, IsSettingOvsOtherConfig o) => o -> m () Source #

Set the value of the “data” property to Nothing. When overloading is enabled, this is equivalent to

clear #data

constructSettingOvsOtherConfigData :: (IsSettingOvsOtherConfig o, MonadIO m) => Map Text Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “data” property. This is rarely needed directly, but it is used by new.

getSettingOvsOtherConfigData :: (MonadIO m, IsSettingOvsOtherConfig o) => o -> m (Maybe (Map Text Text)) Source #

Get the value of the “data” property. When overloading is enabled, this is equivalent to

get settingOvsOtherConfig #data

setSettingOvsOtherConfigData :: (MonadIO m, IsSettingOvsOtherConfig o) => o -> Map Text Text -> m () Source #

Set the value of the “data” property. When overloading is enabled, this is equivalent to

set settingOvsOtherConfig [ #data := value ]