Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterClassExpansion
- type ClusterClassInterface
- type ClusterClassesGetter
- type ClusterExpansion
- type ClusterInterface
- type ClusterV1beta1Client
- func (c *ClusterV1beta1Client) ClusterClasses(namespace string) ClusterClassInterface
- func (c *ClusterV1beta1Client) Clusters(namespace string) ClusterInterface
- func (c *ClusterV1beta1Client) MachineDeployments(namespace string) MachineDeploymentInterface
- func (c *ClusterV1beta1Client) MachineHealthChecks(namespace string) MachineHealthCheckInterface
- func (c *ClusterV1beta1Client) MachineSets(namespace string) MachineSetInterface
- func (c *ClusterV1beta1Client) Machines(namespace string) MachineInterface
- func (c *ClusterV1beta1Client) RESTClient() rest.Interface
- type ClusterV1beta1Interface
- type ClustersGetter
- type MachineDeploymentExpansion
- type MachineDeploymentInterface
- type MachineDeploymentsGetter
- type MachineExpansion
- type MachineHealthCheckExpansion
- type MachineHealthCheckInterface
- type MachineHealthChecksGetter
- 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 ClusterClassExpansion ¶
type ClusterClassExpansion interface{}
type ClusterClassInterface ¶
type ClusterClassInterface interface { Create(ctx context.Context, clusterClass *v1beta1.ClusterClass, opts v1.CreateOptions) (*v1beta1.ClusterClass, error) Update(ctx context.Context, clusterClass *v1beta1.ClusterClass, opts v1.UpdateOptions) (*v1beta1.ClusterClass, error) UpdateStatus(ctx context.Context, clusterClass *v1beta1.ClusterClass, opts v1.UpdateOptions) (*v1beta1.ClusterClass, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.ClusterClass, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ClusterClassList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ClusterClass, err error) ClusterClassExpansion }
ClusterClassInterface has methods to work with ClusterClass resources.
type ClusterClassesGetter ¶
type ClusterClassesGetter interface {
ClusterClasses(namespace string) ClusterClassInterface
}
ClusterClassesGetter has a method to return a ClusterClassInterface. A group's client should implement this interface.
type ClusterExpansion ¶
type ClusterExpansion interface{}
type ClusterInterface ¶
type ClusterInterface interface { Create(ctx context.Context, cluster *v1beta1.Cluster, opts v1.CreateOptions) (*v1beta1.Cluster, error) Update(ctx context.Context, cluster *v1beta1.Cluster, opts v1.UpdateOptions) (*v1beta1.Cluster, error) UpdateStatus(ctx context.Context, cluster *v1beta1.Cluster, opts v1.UpdateOptions) (*v1beta1.Cluster, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Cluster, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ClusterList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Cluster, err error) ClusterExpansion }
ClusterInterface has methods to work with Cluster resources.
type ClusterV1beta1Client ¶
type ClusterV1beta1Client struct {
// contains filtered or unexported fields
}
ClusterV1beta1Client is used to interact with features provided by the cluster.x-k8s.io group.
func New ¶
func New(c rest.Interface) *ClusterV1beta1Client
New creates a new ClusterV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ClusterV1beta1Client, error)
NewForConfig creates a new ClusterV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new ClusterV1beta1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ClusterV1beta1Client
NewForConfigOrDie creates a new ClusterV1beta1Client for the given config and panics if there is an error in the config.
func (*ClusterV1beta1Client) ClusterClasses ¶
func (c *ClusterV1beta1Client) ClusterClasses(namespace string) ClusterClassInterface
func (*ClusterV1beta1Client) Clusters ¶
func (c *ClusterV1beta1Client) Clusters(namespace string) ClusterInterface
func (*ClusterV1beta1Client) MachineDeployments ¶
func (c *ClusterV1beta1Client) MachineDeployments(namespace string) MachineDeploymentInterface
func (*ClusterV1beta1Client) MachineHealthChecks ¶
func (c *ClusterV1beta1Client) MachineHealthChecks(namespace string) MachineHealthCheckInterface
func (*ClusterV1beta1Client) MachineSets ¶
func (c *ClusterV1beta1Client) MachineSets(namespace string) MachineSetInterface
func (*ClusterV1beta1Client) Machines ¶
func (c *ClusterV1beta1Client) Machines(namespace string) MachineInterface
func (*ClusterV1beta1Client) RESTClient ¶
func (c *ClusterV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ClusterV1beta1Interface ¶
type ClusterV1beta1Interface interface { RESTClient() rest.Interface ClustersGetter ClusterClassesGetter MachinesGetter MachineDeploymentsGetter MachineHealthChecksGetter 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 MachineDeploymentExpansion ¶
type MachineDeploymentExpansion interface{}
type MachineDeploymentInterface ¶
type MachineDeploymentInterface interface { Create(ctx context.Context, machineDeployment *v1beta1.MachineDeployment, opts v1.CreateOptions) (*v1beta1.MachineDeployment, error) Update(ctx context.Context, machineDeployment *v1beta1.MachineDeployment, opts v1.UpdateOptions) (*v1beta1.MachineDeployment, error) UpdateStatus(ctx context.Context, machineDeployment *v1beta1.MachineDeployment, opts v1.UpdateOptions) (*v1beta1.MachineDeployment, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.MachineDeployment, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineDeploymentList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.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 MachineHealthCheckExpansion ¶
type MachineHealthCheckExpansion interface{}
type MachineHealthCheckInterface ¶
type MachineHealthCheckInterface interface { Create(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.CreateOptions) (*v1beta1.MachineHealthCheck, error) Update(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.UpdateOptions) (*v1beta1.MachineHealthCheck, error) UpdateStatus(ctx context.Context, machineHealthCheck *v1beta1.MachineHealthCheck, opts v1.UpdateOptions) (*v1beta1.MachineHealthCheck, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.MachineHealthCheck, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineHealthCheckList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MachineHealthCheck, err error) MachineHealthCheckExpansion }
MachineHealthCheckInterface has methods to work with MachineHealthCheck resources.
type MachineHealthChecksGetter ¶
type MachineHealthChecksGetter interface {
MachineHealthChecks(namespace string) MachineHealthCheckInterface
}
MachineHealthChecksGetter has a method to return a MachineHealthCheckInterface. A group's client should implement this interface.
type MachineInterface ¶
type MachineInterface interface { Create(ctx context.Context, machine *v1beta1.Machine, opts v1.CreateOptions) (*v1beta1.Machine, error) Update(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (*v1beta1.Machine, error) UpdateStatus(ctx context.Context, machine *v1beta1.Machine, opts v1.UpdateOptions) (*v1beta1.Machine, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Machine, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Machine, err error) MachineExpansion }
MachineInterface has methods to work with Machine resources.
type MachineSetExpansion ¶
type MachineSetExpansion interface{}
type MachineSetInterface ¶
type MachineSetInterface interface { Create(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.CreateOptions) (*v1beta1.MachineSet, error) Update(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (*v1beta1.MachineSet, error) UpdateStatus(ctx context.Context, machineSet *v1beta1.MachineSet, opts v1.UpdateOptions) (*v1beta1.MachineSet, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.MachineSet, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MachineSetList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.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.