lvsnetwork

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADD action = iota
	REMOVE
	CHECK
	CHANGE
)

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider lvsnetwork for terraform.

Types

type Client

type Client struct {
	HTTPS              bool
	Insecure           bool
	DefaultIDVrrp      int
	DefaultAdvertInt   int
	Port               int
	DefaultAuthPass    string
	DefaultVrrpGroup   string
	FirewallIP         string
	Logname            string
	Login              string
	Password           string
	DefaultTrackScript []string
}

Client = provider configuration.

func NewClient

func NewClient(c *Config, login, password string) *Client

NewClient configure.

type Config

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

Config provider.

func (*Config) Client

func (c *Config) Client() *Client

Client configures with Config.

Jump to

Keyboard shortcuts

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