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 DropletExpansion ¶
type DropletExpansion interface{}
type DropletInterface ¶
type DropletInterface interface { Create(ctx context.Context, droplet *v1alpha1.Droplet, opts v1.CreateOptions) (*v1alpha1.Droplet, error) Update(ctx context.Context, droplet *v1alpha1.Droplet, opts v1.UpdateOptions) (*v1alpha1.Droplet, error) UpdateStatus(ctx context.Context, droplet *v1alpha1.Droplet, opts v1.UpdateOptions) (*v1alpha1.Droplet, 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.Droplet, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DropletList, 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.Droplet, err error) DropletExpansion }
DropletInterface has methods to work with Droplet resources.
type DropletV1alpha1Client ¶
type DropletV1alpha1Client struct {
// contains filtered or unexported fields
}
DropletV1alpha1Client is used to interact with features provided by the droplet.digitalocean.kubeform.com group.
func New ¶
func New(c rest.Interface) *DropletV1alpha1Client
New creates a new DropletV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DropletV1alpha1Client, error)
NewForConfig creates a new DropletV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DropletV1alpha1Client
NewForConfigOrDie creates a new DropletV1alpha1Client for the given config and panics if there is an error in the config.
func (*DropletV1alpha1Client) Droplets ¶
func (c *DropletV1alpha1Client) Droplets(namespace string) DropletInterface
func (*DropletV1alpha1Client) RESTClient ¶
func (c *DropletV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*DropletV1alpha1Client) Snapshots ¶
func (c *DropletV1alpha1Client) Snapshots(namespace string) SnapshotInterface
type DropletV1alpha1Interface ¶
type DropletV1alpha1Interface interface { RESTClient() rest.Interface DropletsGetter SnapshotsGetter }
type DropletsGetter ¶
type DropletsGetter interface {
Droplets(namespace string) DropletInterface
}
DropletsGetter has a method to return a DropletInterface. A group's client should implement this interface.
type SnapshotExpansion ¶
type SnapshotExpansion interface{}
type SnapshotInterface ¶
type SnapshotInterface interface { Create(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.CreateOptions) (*v1alpha1.Snapshot, error) Update(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, error) UpdateStatus(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, 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.Snapshot, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SnapshotList, 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.Snapshot, err error) SnapshotExpansion }
SnapshotInterface has methods to work with Snapshot resources.
type SnapshotsGetter ¶
type SnapshotsGetter interface {
Snapshots(namespace string) SnapshotInterface
}
SnapshotsGetter has a method to return a SnapshotInterface. A group's client should implement this interface.