dummy

package
v0.4.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(hint string, initialHints []string, opts Opts) (*Client, error)

func (*Client) Close

func (client *Client) Close()

func (*Client) Generate

func (client *Client) Generate() netplan.Error

func (*Client) Get

func (client *Client) Get() (netplan.State, netplan.Error)

func (*Client) Info

func (client *Client) Info() ([]string, netplan.Error)

func (*Client) Initialize

func (client *Client) Initialize() (config.Config, netplan.Error)

func (*Client) Version

func (client *Client) Version() (string, netplan.Error)

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) Get

func (config *DummyConfig) Get() (netplan.State, netplan.Error)

func (*DummyConfig) IsSynced

func (config *DummyConfig) IsSynced() bool

func (*DummyConfig) Reset

func (config *DummyConfig) Reset() netplan.Error

func (*DummyConfig) Set

func (config *DummyConfig) Set(state netplan.State) netplan.Error

type Opts

type Opts struct {
	Directory string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL