provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsVersionNotFound

func IsVersionNotFound(err error) bool

IsVersionNotFound asserts versionNotFoundError.

Types

type Clients

type Clients interface {
	// G8sClient returns a properly configured control plane client for the Giant
	// Swarm API Extensions Types.
	G8sClient() versioned.Interface
}

type Interface

type Interface interface {
	CurrentStatus() (v1alpha1.StatusCluster, error)
	CurrentVersion() (string, error)
	NextVersion() (string, error)
	UpdateVersion(nextVersion string) error
}

Jump to

Keyboard shortcuts

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