Help us shape the future of Go! Take the 2026 Go Developer Survey

api

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RESTClientset

type RESTClientset struct {
	BaseURL    *url.URL
	KopsClient kopsinternalversion.KopsInterface
}

RESTClientset is an implementation of clientset that uses a "real" generated REST client

func (*RESTClientset) ConfigBaseFor

func (c *RESTClientset) ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error)

ConfigBaseFor implements the ConfigBaseFor method of Clientset for a kubernetes-API state store

func (*RESTClientset) CreateCluster

func (c *RESTClientset) CreateCluster(cluster *kops.Cluster) (*kops.Cluster, error)

CreateCluster implements the CreateCluster method of Clientset for a kubernetes-API state store

func (*RESTClientset) DeleteCluster

func (c *RESTClientset) DeleteCluster(cluster *kops.Cluster) error

func (*RESTClientset) GetCluster

func (c *RESTClientset) GetCluster(name string) (*kops.Cluster, error)

GetCluster implements the GetCluster method of Clientset for a kubernetes-API state store

func (*RESTClientset) InstanceGroupsFor

func (c *RESTClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface

InstanceGroupsFor implements the InstanceGroupsFor method of Clientset for a kubernetes-API state store

func (*RESTClientset) KeyStore

func (c *RESTClientset) KeyStore(cluster *kops.Cluster) (fi.CAStore, error)

func (*RESTClientset) ListClusters

func (c *RESTClientset) ListClusters(options metav1.ListOptions) (*kops.ClusterList, error)

ListClusters implements the ListClusters method of Clientset for a kubernetes-API state store

func (*RESTClientset) SSHCredentialStore

func (c *RESTClientset) SSHCredentialStore(cluster *kops.Cluster) (fi.SSHCredentialStore, error)

func (*RESTClientset) SecretStore

func (c *RESTClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)

func (*RESTClientset) UpdateCluster

func (c *RESTClientset) UpdateCluster(cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)

UpdateCluster implements the UpdateCluster method of Clientset for a kubernetes-API state store

Jump to

Keyboard shortcuts

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