Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AccountExpansion
- type AccountInterface
- type AccountsGetter
- type ConnectionExpansion
- type ConnectionInterface
- type ConnectionsGetter
- type ElasticInstanceExpansion
- type ElasticInstanceInterface
- type ElasticInstancesGetter
- type GpdbV1alpha1Client
- func (c *GpdbV1alpha1Client) Accounts(namespace string) AccountInterface
- func (c *GpdbV1alpha1Client) Connections(namespace string) ConnectionInterface
- func (c *GpdbV1alpha1Client) ElasticInstances(namespace string) ElasticInstanceInterface
- func (c *GpdbV1alpha1Client) Instances(namespace string) InstanceInterface
- func (c *GpdbV1alpha1Client) RESTClient() rest.Interface
- type GpdbV1alpha1Interface
- type InstanceExpansion
- type InstanceInterface
- type InstancesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountExpansion ¶ added in v0.5.0
type AccountExpansion interface{}
type AccountInterface ¶ added in v0.5.0
type AccountInterface interface { Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (*v1alpha1.Account, error) Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error) UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, 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.Account, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AccountList, 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.Account, err error) AccountExpansion }
AccountInterface has methods to work with Account resources.
type AccountsGetter ¶ added in v0.5.0
type AccountsGetter interface {
Accounts(namespace string) AccountInterface
}
AccountsGetter has a method to return a AccountInterface. A group's client should implement this interface.
type ConnectionExpansion ¶
type ConnectionExpansion interface{}
type ConnectionInterface ¶
type ConnectionInterface interface { Create(ctx context.Context, connection *v1alpha1.Connection, opts v1.CreateOptions) (*v1alpha1.Connection, error) Update(ctx context.Context, connection *v1alpha1.Connection, opts v1.UpdateOptions) (*v1alpha1.Connection, error) UpdateStatus(ctx context.Context, connection *v1alpha1.Connection, opts v1.UpdateOptions) (*v1alpha1.Connection, 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.Connection, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConnectionList, 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.Connection, err error) ConnectionExpansion }
ConnectionInterface has methods to work with Connection resources.
type ConnectionsGetter ¶
type ConnectionsGetter interface {
Connections(namespace string) ConnectionInterface
}
ConnectionsGetter has a method to return a ConnectionInterface. A group's client should implement this interface.
type ElasticInstanceExpansion ¶
type ElasticInstanceExpansion interface{}
type ElasticInstanceInterface ¶
type ElasticInstanceInterface interface { Create(ctx context.Context, elasticInstance *v1alpha1.ElasticInstance, opts v1.CreateOptions) (*v1alpha1.ElasticInstance, error) Update(ctx context.Context, elasticInstance *v1alpha1.ElasticInstance, opts v1.UpdateOptions) (*v1alpha1.ElasticInstance, error) UpdateStatus(ctx context.Context, elasticInstance *v1alpha1.ElasticInstance, opts v1.UpdateOptions) (*v1alpha1.ElasticInstance, 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.ElasticInstance, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ElasticInstanceList, 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.ElasticInstance, err error) ElasticInstanceExpansion }
ElasticInstanceInterface has methods to work with ElasticInstance resources.
type ElasticInstancesGetter ¶
type ElasticInstancesGetter interface {
ElasticInstances(namespace string) ElasticInstanceInterface
}
ElasticInstancesGetter has a method to return a ElasticInstanceInterface. A group's client should implement this interface.
type GpdbV1alpha1Client ¶
type GpdbV1alpha1Client struct {
// contains filtered or unexported fields
}
GpdbV1alpha1Client is used to interact with features provided by the gpdb.alicloud.kubeform.com group.
func New ¶
func New(c rest.Interface) *GpdbV1alpha1Client
New creates a new GpdbV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*GpdbV1alpha1Client, error)
NewForConfig creates a new GpdbV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *GpdbV1alpha1Client
NewForConfigOrDie creates a new GpdbV1alpha1Client for the given config and panics if there is an error in the config.
func (*GpdbV1alpha1Client) Accounts ¶ added in v0.5.0
func (c *GpdbV1alpha1Client) Accounts(namespace string) AccountInterface
func (*GpdbV1alpha1Client) Connections ¶
func (c *GpdbV1alpha1Client) Connections(namespace string) ConnectionInterface
func (*GpdbV1alpha1Client) ElasticInstances ¶
func (c *GpdbV1alpha1Client) ElasticInstances(namespace string) ElasticInstanceInterface
func (*GpdbV1alpha1Client) Instances ¶
func (c *GpdbV1alpha1Client) Instances(namespace string) InstanceInterface
func (*GpdbV1alpha1Client) RESTClient ¶
func (c *GpdbV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type GpdbV1alpha1Interface ¶
type GpdbV1alpha1Interface interface { RESTClient() rest.Interface AccountsGetter ConnectionsGetter ElasticInstancesGetter InstancesGetter }
type InstanceExpansion ¶
type InstanceExpansion interface{}
type InstanceInterface ¶
type InstanceInterface interface { Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (*v1alpha1.Instance, error) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, 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.Instance, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InstanceList, 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.Instance, err error) InstanceExpansion }
InstanceInterface has methods to work with Instance resources.
type InstancesGetter ¶
type InstancesGetter interface {
Instances(namespace string) InstanceInterface
}
InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.