Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type MachineClassExpansion
- type MachineClassInterface
- type MachineClassesGetter
- type MachineClient
- func (c *MachineClient) MachineClasses(namespace string) MachineClassInterface
- func (c *MachineClient) MachineDeployments(namespace string) MachineDeploymentInterface
- func (c *MachineClient) MachineSets(namespace string) MachineSetInterface
- func (c *MachineClient) MachineTemplates(namespace string) MachineTemplateInterface
- func (c *MachineClient) Machines(namespace string) MachineInterface
- func (c *MachineClient) RESTClient() rest.Interface
- type MachineDeploymentExpansion
- type MachineDeploymentInterface
- type MachineDeploymentsGetter
- type MachineExpansion
- type MachineInterface
- type MachineSetExpansion
- type MachineSetInterface
- type MachineSetsGetter
- type MachineTemplateExpansion
- type MachineTemplateInterface
- type MachineTemplatesGetter
- 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 *machine.MachineClass, opts v1.CreateOptions) (*machine.MachineClass, error) Update(ctx context.Context, machineClass *machine.MachineClass, opts v1.UpdateOptions) (*machine.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) (*machine.MachineClass, error) List(ctx context.Context, opts v1.ListOptions) (*machine.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 *machine.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 MachineClient ¶
type MachineClient struct {
// contains filtered or unexported fields
}
MachineClient is used to interact with features provided by the machine.sapcloud.io group.
func New ¶
func New(c rest.Interface) *MachineClient
New creates a new MachineClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MachineClient, error)
NewForConfig creates a new MachineClient 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 MachineClient 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) *MachineClient
NewForConfigOrDie creates a new MachineClient for the given config and panics if there is an error in the config.
func (*MachineClient) MachineClasses ¶ added in v0.30.0
func (c *MachineClient) MachineClasses(namespace string) MachineClassInterface
func (*MachineClient) MachineDeployments ¶
func (c *MachineClient) MachineDeployments(namespace string) MachineDeploymentInterface
func (*MachineClient) MachineSets ¶
func (c *MachineClient) MachineSets(namespace string) MachineSetInterface
func (*MachineClient) MachineTemplates ¶
func (c *MachineClient) MachineTemplates(namespace string) MachineTemplateInterface
func (*MachineClient) Machines ¶
func (c *MachineClient) Machines(namespace string) MachineInterface
func (*MachineClient) RESTClient ¶
func (c *MachineClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type MachineDeploymentExpansion ¶
type MachineDeploymentExpansion interface{}
type MachineDeploymentInterface ¶
type MachineDeploymentInterface interface { Create(ctx context.Context, machineDeployment *machine.MachineDeployment, opts v1.CreateOptions) (*machine.MachineDeployment, error) Update(ctx context.Context, machineDeployment *machine.MachineDeployment, opts v1.UpdateOptions) (*machine.MachineDeployment, error) UpdateStatus(ctx context.Context, machineDeployment *machine.MachineDeployment, opts v1.UpdateOptions) (*machine.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) (*machine.MachineDeployment, error) List(ctx context.Context, opts v1.ListOptions) (*machine.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 *machine.MachineDeployment, err error) GetScale(ctx context.Context, machineDeploymentName string, options v1.GetOptions) (*machine.Scale, error) UpdateScale(ctx context.Context, machineDeploymentName string, scale *machine.Scale, opts v1.UpdateOptions) (*machine.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 { RESTClient() rest.Interface MachinesGetter MachineClassesGetter MachineDeploymentsGetter MachineSetsGetter MachineTemplatesGetter }
type MachineSetExpansion ¶
type MachineSetExpansion interface{}
type MachineSetInterface ¶
type MachineSetInterface interface { Create(ctx context.Context, machineSet *machine.MachineSet, opts v1.CreateOptions) (*machine.MachineSet, error) Update(ctx context.Context, machineSet *machine.MachineSet, opts v1.UpdateOptions) (*machine.MachineSet, error) UpdateStatus(ctx context.Context, machineSet *machine.MachineSet, opts v1.UpdateOptions) (*machine.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) (*machine.MachineSet, error) List(ctx context.Context, opts v1.ListOptions) (*machine.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 *machine.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 MachineTemplateExpansion ¶
type MachineTemplateExpansion interface{}
type MachineTemplateInterface ¶
type MachineTemplateInterface interface { Create(ctx context.Context, machineTemplate *machine.MachineTemplate, opts v1.CreateOptions) (*machine.MachineTemplate, error) Update(ctx context.Context, machineTemplate *machine.MachineTemplate, opts v1.UpdateOptions) (*machine.MachineTemplate, 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) (*machine.MachineTemplate, error) List(ctx context.Context, opts v1.ListOptions) (*machine.MachineTemplateList, 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 *machine.MachineTemplate, err error) MachineTemplateExpansion }
MachineTemplateInterface has methods to work with MachineTemplate resources.
type MachineTemplatesGetter ¶
type MachineTemplatesGetter interface {
MachineTemplates(namespace string) MachineTemplateInterface
}
MachineTemplatesGetter has a method to return a MachineTemplateInterface. 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.