Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterResourceBindingExpansion
- type ClusterResourceBindingInterface
- type ClusterResourceBindingsGetter
- type ResourceBindingExpansion
- type ResourceBindingInterface
- type ResourceBindingsGetter
- type WorkExpansion
- type WorkInterface
- type WorkV1alpha1Client
- type WorkV1alpha1Interface
- type WorksGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterResourceBindingExpansion ¶
type ClusterResourceBindingExpansion interface{}
type ClusterResourceBindingInterface ¶
type ClusterResourceBindingInterface interface { Create(ctx context.Context, clusterResourceBinding *v1alpha1.ClusterResourceBinding, opts v1.CreateOptions) (*v1alpha1.ClusterResourceBinding, error) Update(ctx context.Context, clusterResourceBinding *v1alpha1.ClusterResourceBinding, opts v1.UpdateOptions) (*v1alpha1.ClusterResourceBinding, error) UpdateStatus(ctx context.Context, clusterResourceBinding *v1alpha1.ClusterResourceBinding, opts v1.UpdateOptions) (*v1alpha1.ClusterResourceBinding, 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.ClusterResourceBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterResourceBindingList, 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.ClusterResourceBinding, err error) ClusterResourceBindingExpansion }
ClusterResourceBindingInterface has methods to work with ClusterResourceBinding resources.
type ClusterResourceBindingsGetter ¶
type ClusterResourceBindingsGetter interface {
ClusterResourceBindings() ClusterResourceBindingInterface
}
ClusterResourceBindingsGetter has a method to return a ClusterResourceBindingInterface. A group's client should implement this interface.
type ResourceBindingExpansion ¶
type ResourceBindingExpansion interface{}
type ResourceBindingInterface ¶
type ResourceBindingInterface interface { Create(ctx context.Context, resourceBinding *v1alpha1.ResourceBinding, opts v1.CreateOptions) (*v1alpha1.ResourceBinding, error) Update(ctx context.Context, resourceBinding *v1alpha1.ResourceBinding, opts v1.UpdateOptions) (*v1alpha1.ResourceBinding, error) UpdateStatus(ctx context.Context, resourceBinding *v1alpha1.ResourceBinding, opts v1.UpdateOptions) (*v1alpha1.ResourceBinding, 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.ResourceBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ResourceBindingList, 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.ResourceBinding, err error) ResourceBindingExpansion }
ResourceBindingInterface has methods to work with ResourceBinding resources.
type ResourceBindingsGetter ¶
type ResourceBindingsGetter interface {
ResourceBindings(namespace string) ResourceBindingInterface
}
ResourceBindingsGetter has a method to return a ResourceBindingInterface. A group's client should implement this interface.
type WorkExpansion ¶
type WorkExpansion interface{}
type WorkInterface ¶
type WorkInterface interface { Create(ctx context.Context, work *v1alpha1.Work, opts v1.CreateOptions) (*v1alpha1.Work, error) Update(ctx context.Context, work *v1alpha1.Work, opts v1.UpdateOptions) (*v1alpha1.Work, error) UpdateStatus(ctx context.Context, work *v1alpha1.Work, opts v1.UpdateOptions) (*v1alpha1.Work, 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.Work, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WorkList, 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.Work, err error) WorkExpansion }
WorkInterface has methods to work with Work resources.
type WorkV1alpha1Client ¶
type WorkV1alpha1Client struct {
// contains filtered or unexported fields
}
WorkV1alpha1Client is used to interact with features provided by the work.karmada.io group.
func New ¶
func New(c rest.Interface) *WorkV1alpha1Client
New creates a new WorkV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*WorkV1alpha1Client, error)
NewForConfig creates a new WorkV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v1.1.0
NewForConfigAndClient creates a new WorkV1alpha1Client 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) *WorkV1alpha1Client
NewForConfigOrDie creates a new WorkV1alpha1Client for the given config and panics if there is an error in the config.
func (*WorkV1alpha1Client) ClusterResourceBindings ¶
func (c *WorkV1alpha1Client) ClusterResourceBindings() ClusterResourceBindingInterface
func (*WorkV1alpha1Client) RESTClient ¶
func (c *WorkV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*WorkV1alpha1Client) ResourceBindings ¶
func (c *WorkV1alpha1Client) ResourceBindings(namespace string) ResourceBindingInterface
func (*WorkV1alpha1Client) Works ¶
func (c *WorkV1alpha1Client) Works(namespace string) WorkInterface
type WorkV1alpha1Interface ¶
type WorkV1alpha1Interface interface { RESTClient() rest.Interface ClusterResourceBindingsGetter ResourceBindingsGetter WorksGetter }
type WorksGetter ¶
type WorksGetter interface {
Works(namespace string) WorkInterface
}
WorksGetter has a method to return a WorkInterface. A group's client should implement this interface.