Documentation
¶
Index ¶
- Constants
- type Client
- func (client *Client) Close()
- func (client *Client) Generate() netplan.Error
- func (client *Client) Get() (netplan.State, netplan.Error)
- func (client *Client) Info() ([]string, netplan.Error)
- func (client *Client) Initialize() (config.Config, netplan.Error)
- func (client *Client) Version() (string, netplan.Error)
- type DummyConfig
- func (config *DummyConfig) Apply() (applyErr netplan.Error)
- func (config *DummyConfig) Discard() netplan.Error
- func (config *DummyConfig) Get() (netplan.State, netplan.Error)
- func (config *DummyConfig) IsSynced() bool
- func (config *DummyConfig) Reset() netplan.Error
- func (config *DummyConfig) Set(state netplan.State) netplan.Error
- type Opts
Constants ¶
View Source
const ( InterfacePath = "io.netplan.Netplan" ObjectPath = "/io/netplan/Netplan" ConfigCall = "io.netplan.Netplan.Config" GetCall = "io.netplan.Netplan.Get" ApplyCall = "io.netplan.Netplan.Apply" InfoCall = "io.netplan.Netplan.Info" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyConfig ¶
type DummyConfig struct {
// contains filtered or unexported fields
}
func (*DummyConfig) Apply ¶
func (config *DummyConfig) Apply() (applyErr netplan.Error)
func (*DummyConfig) Discard ¶
func (config *DummyConfig) Discard() netplan.Error
func (*DummyConfig) IsSynced ¶
func (config *DummyConfig) IsSynced() bool
func (*DummyConfig) Reset ¶
func (config *DummyConfig) Reset() netplan.Error
Click to show internal directories.
Click to hide internal directories.