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 ClusterResourceBindingExpansion ¶
type ClusterResourceBindingExpansion interface{}
type ClusterResourceBindingInterface ¶
type ClusterResourceBindingInterface interface { Create(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, opts v1.CreateOptions) (*v1alpha2.ClusterResourceBinding, error) Update(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, opts v1.UpdateOptions) (*v1alpha2.ClusterResourceBinding, error) UpdateStatus(ctx context.Context, clusterResourceBinding *v1alpha2.ClusterResourceBinding, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.ClusterResourceBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.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 *v1alpha2.ResourceBinding, opts v1.CreateOptions) (*v1alpha2.ResourceBinding, error) Update(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, opts v1.UpdateOptions) (*v1alpha2.ResourceBinding, error) UpdateStatus(ctx context.Context, resourceBinding *v1alpha2.ResourceBinding, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.ResourceBinding, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.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 WorkV1alpha2Client ¶
type WorkV1alpha2Client struct {
// contains filtered or unexported fields
}
WorkV1alpha2Client is used to interact with features provided by the work.karmada.io group.
func New ¶
func New(c rest.Interface) *WorkV1alpha2Client
New creates a new WorkV1alpha2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*WorkV1alpha2Client, error)
NewForConfig creates a new WorkV1alpha2Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *WorkV1alpha2Client
NewForConfigOrDie creates a new WorkV1alpha2Client for the given config and panics if there is an error in the config.
func (*WorkV1alpha2Client) ClusterResourceBindings ¶
func (c *WorkV1alpha2Client) ClusterResourceBindings() ClusterResourceBindingInterface
func (*WorkV1alpha2Client) RESTClient ¶
func (c *WorkV1alpha2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*WorkV1alpha2Client) ResourceBindings ¶
func (c *WorkV1alpha2Client) ResourceBindings(namespace string) ResourceBindingInterface
type WorkV1alpha2Interface ¶
type WorkV1alpha2Interface interface { RESTClient() rest.Interface ClusterResourceBindingsGetter ResourceBindingsGetter }