Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterClient
- func (c *ClusterClient) Clusters(namespace string) ClusterInterface
- func (c *ClusterClient) MachineClasses(namespace string) MachineClassInterface
- func (c *ClusterClient) MachineDeployments(namespace string) MachineDeploymentInterface
- func (c *ClusterClient) MachineSets(namespace string) MachineSetInterface
- func (c *ClusterClient) Machines(namespace string) MachineInterface
- func (c *ClusterClient) RESTClient() rest.Interface
- type ClusterExpansion
- type ClusterInterface
- type ClustersGetter
- type MachineClassExpansion
- type MachineClassInterface
- type MachineClassesGetter
- type MachineDeploymentExpansion
- type MachineDeploymentInterface
- type MachineDeploymentsGetter
- type MachineExpansion
- type MachineInterface
- type MachineSetExpansion
- type MachineSetInterface
- type MachineSetsGetter
- type MachinesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClient ¶
type ClusterClient struct {
// contains filtered or unexported fields
}
ClusterClient is used to interact with features provided by the cluster.k8s.io group.
func New ¶
func New(c rest.Interface) *ClusterClient
New creates a new ClusterClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ClusterClient, error)
NewForConfig creates a new ClusterClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ClusterClient
NewForConfigOrDie creates a new ClusterClient for the given config and panics if there is an error in the config.
func (*ClusterClient) Clusters ¶
func (c *ClusterClient) Clusters(namespace string) ClusterInterface
func (*ClusterClient) MachineClasses ¶
func (c *ClusterClient) MachineClasses(namespace string) MachineClassInterface
func (*ClusterClient) MachineDeployments ¶
func (c *ClusterClient) MachineDeployments(namespace string) MachineDeploymentInterface
func (*ClusterClient) MachineSets ¶
func (c *ClusterClient) MachineSets(namespace string) MachineSetInterface
func (*ClusterClient) Machines ¶
func (c *ClusterClient) Machines(namespace string) MachineInterface
func (*ClusterClient) RESTClient ¶
func (c *ClusterClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ClusterExpansion ¶
type ClusterExpansion interface{}
type ClusterInterface ¶
type ClusterInterface interface { RESTClient() rest.Interface ClustersGetter MachinesGetter MachineClassesGetter MachineDeploymentsGetter MachineSetsGetter }
type ClustersGetter ¶
type ClustersGetter interface {
Clusters(namespace string) ClusterInterface
}
ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.
type MachineClassExpansion ¶
type MachineClassExpansion interface{}
type MachineClassInterface ¶
type MachineClassInterface interface { Create(*cluster.MachineClass) (*cluster.MachineClass, error) Update(*cluster.MachineClass) (*cluster.MachineClass, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*cluster.MachineClass, error) List(opts v1.ListOptions) (*cluster.MachineClassList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.MachineClass, err error) MachineClassExpansion }
MachineClassInterface has methods to work with MachineClass resources.
type MachineClassesGetter ¶
type MachineClassesGetter interface {
MachineClasses(namespace string) MachineClassInterface
}
MachineClassesGetter has a method to return a MachineClassInterface. A group's client should implement this interface.
type MachineDeploymentExpansion ¶
type MachineDeploymentExpansion interface{}
type MachineDeploymentInterface ¶
type MachineDeploymentInterface interface { Create(*cluster.MachineDeployment) (*cluster.MachineDeployment, error) Update(*cluster.MachineDeployment) (*cluster.MachineDeployment, error) UpdateStatus(*cluster.MachineDeployment) (*cluster.MachineDeployment, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*cluster.MachineDeployment, error) List(opts v1.ListOptions) (*cluster.MachineDeploymentList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.MachineDeployment, err error) MachineDeploymentExpansion }
MachineDeploymentInterface has methods to work with MachineDeployment resources.
type MachineDeploymentsGetter ¶
type MachineDeploymentsGetter interface {
MachineDeployments(namespace string) MachineDeploymentInterface
}
MachineDeploymentsGetter has a method to return a MachineDeploymentInterface. A group's client should implement this interface.
type MachineExpansion ¶
type MachineExpansion interface{}
type MachineInterface ¶
type MachineInterface interface { Create(*cluster.Machine) (*cluster.Machine, error) Update(*cluster.Machine) (*cluster.Machine, error) UpdateStatus(*cluster.Machine) (*cluster.Machine, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*cluster.Machine, error) List(opts v1.ListOptions) (*cluster.MachineList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.Machine, err error) MachineExpansion }
MachineInterface has methods to work with Machine resources.
type MachineSetExpansion ¶
type MachineSetExpansion interface{}
type MachineSetInterface ¶
type MachineSetInterface interface { Create(*cluster.MachineSet) (*cluster.MachineSet, error) Update(*cluster.MachineSet) (*cluster.MachineSet, error) UpdateStatus(*cluster.MachineSet) (*cluster.MachineSet, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*cluster.MachineSet, error) List(opts v1.ListOptions) (*cluster.MachineSetList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cluster.MachineSet, err error) MachineSetExpansion }
MachineSetInterface has methods to work with MachineSet resources.
type MachineSetsGetter ¶
type MachineSetsGetter interface {
MachineSets(namespace string) MachineSetInterface
}
MachineSetsGetter has a method to return a MachineSetInterface. A group's client should implement this interface.
type MachinesGetter ¶
type MachinesGetter interface {
Machines(namespace string) MachineInterface
}
MachinesGetter has a method to return a MachineInterface. A group's client should implement this interface.