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.
Click to show internal directories.
Click to hide internal directories.