simple

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 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 Clientset

type Clientset interface {
	Clusters() ClusterInterface
	InstanceGroups(cluster string) InstanceGroupInterface
}

type ClusterInterface

type ClusterInterface interface {
	Create(*api.Cluster) (*api.Cluster, error)
	Update(*api.Cluster) (*api.Cluster, error)
	//UpdateStatus(*api.Cluster) (*api.Cluster, error)
	//Delete(name string, options *api.DeleteOptions) error
	//DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Cluster, error)
	List(opts k8sapi.ListOptions) (*api.ClusterList, error)
}

ClusterInterface has methods to work with Cluster resources.

type InstanceGroupInterface

type InstanceGroupInterface interface {
	Create(*api.InstanceGroup) (*api.InstanceGroup, error)
	Update(*api.InstanceGroup) (*api.InstanceGroup, error)
	//UpdateStatus(*api.InstanceGroup) (*api.InstanceGroup, error)
	Delete(name string, options *k8sapi.DeleteOptions) error
	//DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.InstanceGroup, error)
	List(opts k8sapi.ListOptions) (*api.InstanceGroupList, error)
}

InstanceGroupInterface has methods to work with InstanceGroup resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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