Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ConfigExpansion
- type ConfigInterface
- type ConfigsGetter
- type DataLimitExpansion
- type DataLimitInterface
- type DataLimitsGetter
- type InstanceExpansion
- type InstanceInterface
- type InstancesGetter
- type RuleExpansion
- type RuleInterface
- type RulesGetter
- type SddpV1alpha1Client
- func (c *SddpV1alpha1Client) Configs(namespace string) ConfigInterface
- func (c *SddpV1alpha1Client) DataLimits(namespace string) DataLimitInterface
- func (c *SddpV1alpha1Client) Instances(namespace string) InstanceInterface
- func (c *SddpV1alpha1Client) RESTClient() rest.Interface
- func (c *SddpV1alpha1Client) Rules(namespace string) RuleInterface
- type SddpV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigExpansion ¶
type ConfigExpansion interface{}
type ConfigInterface ¶
type ConfigInterface interface { Create(ctx context.Context, config *v1alpha1.Config, opts v1.CreateOptions) (*v1alpha1.Config, error) Update(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (*v1alpha1.Config, error) UpdateStatus(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (*v1alpha1.Config, 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.Config, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConfigList, 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.Config, err error) ConfigExpansion }
ConfigInterface has methods to work with Config resources.
type ConfigsGetter ¶
type ConfigsGetter interface {
Configs(namespace string) ConfigInterface
}
ConfigsGetter has a method to return a ConfigInterface. A group's client should implement this interface.
type DataLimitExpansion ¶ added in v0.5.0
type DataLimitExpansion interface{}
type DataLimitInterface ¶ added in v0.5.0
type DataLimitInterface interface { Create(ctx context.Context, dataLimit *v1alpha1.DataLimit, opts v1.CreateOptions) (*v1alpha1.DataLimit, error) Update(ctx context.Context, dataLimit *v1alpha1.DataLimit, opts v1.UpdateOptions) (*v1alpha1.DataLimit, error) UpdateStatus(ctx context.Context, dataLimit *v1alpha1.DataLimit, opts v1.UpdateOptions) (*v1alpha1.DataLimit, 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.DataLimit, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DataLimitList, 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.DataLimit, err error) DataLimitExpansion }
DataLimitInterface has methods to work with DataLimit resources.
type DataLimitsGetter ¶ added in v0.5.0
type DataLimitsGetter interface {
DataLimits(namespace string) DataLimitInterface
}
DataLimitsGetter has a method to return a DataLimitInterface. A group's client should implement this interface.
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.
type RuleExpansion ¶
type RuleExpansion interface{}
type RuleInterface ¶
type RuleInterface interface { Create(ctx context.Context, rule *v1alpha1.Rule, opts v1.CreateOptions) (*v1alpha1.Rule, error) Update(ctx context.Context, rule *v1alpha1.Rule, opts v1.UpdateOptions) (*v1alpha1.Rule, error) UpdateStatus(ctx context.Context, rule *v1alpha1.Rule, opts v1.UpdateOptions) (*v1alpha1.Rule, 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.Rule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RuleList, 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.Rule, err error) RuleExpansion }
RuleInterface has methods to work with Rule resources.
type RulesGetter ¶
type RulesGetter interface {
Rules(namespace string) RuleInterface
}
RulesGetter has a method to return a RuleInterface. A group's client should implement this interface.
type SddpV1alpha1Client ¶
type SddpV1alpha1Client struct {
// contains filtered or unexported fields
}
SddpV1alpha1Client is used to interact with features provided by the sddp.alicloud.kubeform.com group.
func New ¶
func New(c rest.Interface) *SddpV1alpha1Client
New creates a new SddpV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*SddpV1alpha1Client, error)
NewForConfig creates a new SddpV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *SddpV1alpha1Client
NewForConfigOrDie creates a new SddpV1alpha1Client for the given config and panics if there is an error in the config.
func (*SddpV1alpha1Client) Configs ¶
func (c *SddpV1alpha1Client) Configs(namespace string) ConfigInterface
func (*SddpV1alpha1Client) DataLimits ¶ added in v0.5.0
func (c *SddpV1alpha1Client) DataLimits(namespace string) DataLimitInterface
func (*SddpV1alpha1Client) Instances ¶
func (c *SddpV1alpha1Client) Instances(namespace string) InstanceInterface
func (*SddpV1alpha1Client) RESTClient ¶
func (c *SddpV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*SddpV1alpha1Client) Rules ¶
func (c *SddpV1alpha1Client) Rules(namespace string) RuleInterface
type SddpV1alpha1Interface ¶
type SddpV1alpha1Interface interface { RESTClient() rest.Interface ConfigsGetter DataLimitsGetter InstancesGetter RulesGetter }