cloudprovider

package
v0.0.0-...-3bdca91 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProvider

type CloudProvider interface {
	CreateCluster(options ClusterOptions) (KubernetesCluster, error)
	ListClusters() ([]KubernetesCluster, error)
	DeleteCluster(clusterId string) error
	GetCluster(clusterId string) (KubernetesCluster, error)
	GetKubernetesConfig(clusterId string) (*restclient.Config, error)
	GetClusterState(clusterId string) (string, error)
	CreateGameServerLoadBalancer() (string, error)
}

type ClusterOptions

type ClusterOptions interface {
	Options() map[string]string
}

type KubernetesCluster

type KubernetesCluster interface {
	Healthy() (bool, error)
	ClusterId() string
	Description() string // tostring for cluster
	GetKubernetesConfig() (*restclient.Config, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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