adapter

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Ensure(context.Context, *operator.Secrets, map[string]interface{}) (*model.Current, error)
}

type Builder

type Builder interface {
	Build(model.UserSpec, operator.NodeAgentUpdater) (model.Config, Adapter, error)
}

func New

func New(remoteUser string) Builder

type Data

type Data struct {
	VIPs       []model.VIP
	RemoteUser string
	State      string
	RouterID   int
	Self       infra.Compute
	Peers      []infra.Compute
}

type Overwriter

type Overwriter interface {
	Overwrite() model.UserSpec
}

Jump to

Keyboard shortcuts

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