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 DiskExpansion ¶
type DiskExpansion interface{}
type DiskInterface ¶
type DiskInterface interface { Create(ctx context.Context, disk *v1alpha1.Disk, opts v1.CreateOptions) (*v1alpha1.Disk, error) Update(ctx context.Context, disk *v1alpha1.Disk, opts v1.UpdateOptions) (*v1alpha1.Disk, error) UpdateStatus(ctx context.Context, disk *v1alpha1.Disk, opts v1.UpdateOptions) (*v1alpha1.Disk, 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.Disk, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DiskList, 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.Disk, err error) DiskExpansion }
DiskInterface has methods to work with Disk resources.
type DisksGetter ¶
type DisksGetter interface {
Disks(namespace string) DiskInterface
}
DisksGetter has a method to return a DiskInterface. 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 MachineSnapshotExpansion ¶
type MachineSnapshotExpansion interface{}
type MachineSnapshotInterface ¶
type MachineSnapshotInterface interface { Create(ctx context.Context, machineSnapshot *v1alpha1.MachineSnapshot, opts v1.CreateOptions) (*v1alpha1.MachineSnapshot, error) Update(ctx context.Context, machineSnapshot *v1alpha1.MachineSnapshot, opts v1.UpdateOptions) (*v1alpha1.MachineSnapshot, error) UpdateStatus(ctx context.Context, machineSnapshot *v1alpha1.MachineSnapshot, opts v1.UpdateOptions) (*v1alpha1.MachineSnapshot, 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.MachineSnapshot, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MachineSnapshotList, 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.MachineSnapshot, err error) MachineSnapshotExpansion }
MachineSnapshotInterface has methods to work with MachineSnapshot resources.
type MachineSnapshotsGetter ¶
type MachineSnapshotsGetter interface {
MachineSnapshots(namespace string) MachineSnapshotInterface
}
MachineSnapshotsGetter has a method to return a MachineSnapshotInterface. 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.
type VirtualV1alpha1Client ¶
type VirtualV1alpha1Client struct {
// contains filtered or unexported fields
}
VirtualV1alpha1Client is used to interact with features provided by the virtual.vsphere.kubeform.com group.
func New ¶
func New(c rest.Interface) *VirtualV1alpha1Client
New creates a new VirtualV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*VirtualV1alpha1Client, error)
NewForConfig creates a new VirtualV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *VirtualV1alpha1Client
NewForConfigOrDie creates a new VirtualV1alpha1Client for the given config and panics if there is an error in the config.
func (*VirtualV1alpha1Client) Disks ¶
func (c *VirtualV1alpha1Client) Disks(namespace string) DiskInterface
func (*VirtualV1alpha1Client) MachineSnapshots ¶
func (c *VirtualV1alpha1Client) MachineSnapshots(namespace string) MachineSnapshotInterface
func (*VirtualV1alpha1Client) Machines ¶
func (c *VirtualV1alpha1Client) Machines(namespace string) MachineInterface
func (*VirtualV1alpha1Client) RESTClient ¶
func (c *VirtualV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type VirtualV1alpha1Interface ¶
type VirtualV1alpha1Interface interface { RESTClient() rest.Interface DisksGetter MachinesGetter MachineSnapshotsGetter }