Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type MachineClassExpansion
- type MachineClassInterface
- type MachineClassesGetter
- type MachineDeploymentExpansion
- type MachineDeploymentInterface
- type MachineDeploymentsGetter
- type MachineExpansion
- type MachineInterface
- type MachineSetExpansion
- type MachineSetInterface
- type MachineSetsGetter
- type MachineV1alpha1Client
- func (c *MachineV1alpha1Client) MachineClasses(namespace string) MachineClassInterface
- func (c *MachineV1alpha1Client) MachineDeployments(namespace string) MachineDeploymentInterface
- func (c *MachineV1alpha1Client) MachineSets(namespace string) MachineSetInterface
- func (c *MachineV1alpha1Client) Machines(namespace string) MachineInterface
- func (c *MachineV1alpha1Client) RESTClient() rest.Interface
- type MachineV1alpha1Interface
- type MachinesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineClassExpansion ¶ added in v0.30.0
type MachineClassExpansion interface{}
type MachineClassInterface ¶ added in v0.30.0
type MachineClassInterface interface { Create(ctx context.Context, machineClass *v1alpha1.MachineClass, opts v1.CreateOptions) (*v1alpha1.MachineClass, error) Update(ctx context.Context, machineClass *v1alpha1.MachineClass, opts v1.UpdateOptions) (*v1alpha1.MachineClass, 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) (*v1alpha1.MachineClass, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MachineClassList, 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 *v1alpha1.MachineClass, err error) MachineClassExpansion }
MachineClassInterface has methods to work with MachineClass resources.
type MachineClassesGetter ¶ added in v0.30.0
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(ctx context.Context, machineDeployment *v1alpha1.MachineDeployment, opts v1.CreateOptions) (*v1alpha1.MachineDeployment, error) Update(ctx context.Context, machineDeployment *v1alpha1.MachineDeployment, opts v1.UpdateOptions) (*v1alpha1.MachineDeployment, error) UpdateStatus(ctx context.Context, machineDeployment *v1alpha1.MachineDeployment, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.MachineDeployment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.MachineDeployment, err error) UpdateScale(ctx context.Context, machineDeploymentName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (*autoscalingv1.Scale, 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(ctx context.Context, machine *v1alpha1.Machine, opts v1.CreateOptions) (*v1alpha1.Machine, error) Update(ctx context.Context, machine *v1alpha1.Machine, opts v1.UpdateOptions) (*v1alpha1.Machine, error) UpdateStatus(ctx context.Context, machine *v1alpha1.Machine, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.Machine, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.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 *v1alpha1.MachineSet, opts v1.CreateOptions) (*v1alpha1.MachineSet, error) Update(ctx context.Context, machineSet *v1alpha1.MachineSet, opts v1.UpdateOptions) (*v1alpha1.MachineSet, error) UpdateStatus(ctx context.Context, machineSet *v1alpha1.MachineSet, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.MachineSet, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.MachineSet, err error) UpdateScale(ctx context.Context, machineSetName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (*autoscalingv1.Scale, 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 MachineV1alpha1Client ¶
type MachineV1alpha1Client struct {
// contains filtered or unexported fields
}
MachineV1alpha1Client is used to interact with features provided by the machine.sapcloud.io group.
func New ¶
func New(c rest.Interface) *MachineV1alpha1Client
New creates a new MachineV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MachineV1alpha1Client, error)
NewForConfig creates a new MachineV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.49.0
NewForConfigAndClient creates a new MachineV1alpha1Client 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) *MachineV1alpha1Client
NewForConfigOrDie creates a new MachineV1alpha1Client for the given config and panics if there is an error in the config.
func (*MachineV1alpha1Client) MachineClasses ¶ added in v0.30.0
func (c *MachineV1alpha1Client) MachineClasses(namespace string) MachineClassInterface
func (*MachineV1alpha1Client) MachineDeployments ¶
func (c *MachineV1alpha1Client) MachineDeployments(namespace string) MachineDeploymentInterface
func (*MachineV1alpha1Client) MachineSets ¶
func (c *MachineV1alpha1Client) MachineSets(namespace string) MachineSetInterface
func (*MachineV1alpha1Client) Machines ¶
func (c *MachineV1alpha1Client) Machines(namespace string) MachineInterface
func (*MachineV1alpha1Client) RESTClient ¶
func (c *MachineV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type MachineV1alpha1Interface ¶
type MachineV1alpha1Interface interface { RESTClient() rest.Interface MachinesGetter MachineClassesGetter MachineDeploymentsGetter MachineSetsGetter }
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.