Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeV1alpha1Client ¶
type ComputeV1alpha1Client struct {
// contains filtered or unexported fields
}
ComputeV1alpha1Client is used to interact with features provided by the compute.api.onmetal.de group.
func New ¶
func New(c rest.Interface) *ComputeV1alpha1Client
New creates a new ComputeV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ComputeV1alpha1Client, error)
NewForConfig creates a new ComputeV1alpha1Client 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 ComputeV1alpha1Client 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) *ComputeV1alpha1Client
NewForConfigOrDie creates a new ComputeV1alpha1Client for the given config and panics if there is an error in the config.
func (*ComputeV1alpha1Client) MachineClasses ¶
func (c *ComputeV1alpha1Client) MachineClasses() MachineClassInterface
func (*ComputeV1alpha1Client) MachinePools ¶
func (c *ComputeV1alpha1Client) MachinePools() MachinePoolInterface
func (*ComputeV1alpha1Client) Machines ¶
func (c *ComputeV1alpha1Client) Machines(namespace string) MachineInterface
func (*ComputeV1alpha1Client) RESTClient ¶
func (c *ComputeV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ComputeV1alpha1Interface ¶
type ComputeV1alpha1Interface interface { RESTClient() rest.Interface MachinesGetter MachineClassesGetter MachinePoolsGetter }
type MachineClassExpansion ¶
type MachineClassExpansion interface{}
type MachineClassInterface ¶
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) Apply(ctx context.Context, machineClass *computev1alpha1.MachineClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.MachineClass, err error) MachineClassExpansion }
MachineClassInterface has methods to work with MachineClass resources.
type MachineClassesGetter ¶
type MachineClassesGetter interface {
MachineClasses() MachineClassInterface
}
MachineClassesGetter has a method to return a MachineClassInterface. 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) Apply(ctx context.Context, machine *computev1alpha1.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Machine, err error) ApplyStatus(ctx context.Context, machine *computev1alpha1.MachineApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Machine, err error) MachineExpansion }
MachineInterface has methods to work with Machine resources.
type MachinePoolExpansion ¶
type MachinePoolExpansion interface{}
type MachinePoolInterface ¶
type MachinePoolInterface interface { Create(ctx context.Context, machinePool *v1alpha1.MachinePool, opts v1.CreateOptions) (*v1alpha1.MachinePool, error) Update(ctx context.Context, machinePool *v1alpha1.MachinePool, opts v1.UpdateOptions) (*v1alpha1.MachinePool, error) UpdateStatus(ctx context.Context, machinePool *v1alpha1.MachinePool, opts v1.UpdateOptions) (*v1alpha1.MachinePool, 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.MachinePool, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MachinePoolList, 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.MachinePool, err error) Apply(ctx context.Context, machinePool *computev1alpha1.MachinePoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.MachinePool, err error) ApplyStatus(ctx context.Context, machinePool *computev1alpha1.MachinePoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.MachinePool, err error) MachinePoolExpansion }
MachinePoolInterface has methods to work with MachinePool resources.
type MachinePoolsGetter ¶
type MachinePoolsGetter interface {
MachinePools() MachinePoolInterface
}
MachinePoolsGetter has a method to return a MachinePoolInterface. 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.