client

package
v0.0.0-...-01435a8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusteradmCfg

type ClusteradmCfg struct {
	Bootstrap string
	Providers []string
}

ClusteradmCfg is just a placeholder TODO: this is just a placeholder

type ClusteradmClient

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

func NewClusteradmClient

func NewClusteradmClient() (*ClusteradmClient, error)

func (*ClusteradmClient) Apply

func (c *ClusteradmClient) Apply() error

func (*ClusteradmClient) GenerateConfig

func (c *ClusteradmClient) GenerateConfig() error

func (*ClusteradmClient) Init

func (c *ClusteradmClient) Init(cfg ClusteradmCfg) error

func (*ClusteradmClient) PreflightChecks

func (c *ClusteradmClient) PreflightChecks() error

func (*ClusteradmClient) Reset

func (c *ClusteradmClient) Reset() error

func (*ClusteradmClient) Upgrade

func (c *ClusteradmClient) Upgrade() error

type Interface

type Interface interface {
	Init(ClusteradmCfg) error
	GenerateConfig() error
	Upgrade() error
	Reset() error
	Apply() error
	PreflightChecks() error
}

Jump to

Keyboard shortcuts

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