Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterOverridePoliciesGetter
- type ClusterOverridePolicyExpansion
- type ClusterOverridePolicyInterface
- type ClusterPropagationPoliciesGetter
- type ClusterPropagationPolicyExpansion
- type ClusterPropagationPolicyInterface
- type OverridePoliciesGetter
- type OverridePolicyExpansion
- type OverridePolicyInterface
- type PolicyV1alpha1Client
- func (c *PolicyV1alpha1Client) ClusterOverridePolicies() ClusterOverridePolicyInterface
- func (c *PolicyV1alpha1Client) ClusterPropagationPolicies() ClusterPropagationPolicyInterface
- func (c *PolicyV1alpha1Client) OverridePolicies(namespace string) OverridePolicyInterface
- func (c *PolicyV1alpha1Client) PropagationPolicies(namespace string) PropagationPolicyInterface
- func (c *PolicyV1alpha1Client) RESTClient() rest.Interface
- type PolicyV1alpha1Interface
- type PropagationPoliciesGetter
- type PropagationPolicyExpansion
- type PropagationPolicyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterOverridePoliciesGetter ¶ added in v0.4.0
type ClusterOverridePoliciesGetter interface {
ClusterOverridePolicies() ClusterOverridePolicyInterface
}
ClusterOverridePoliciesGetter has a method to return a ClusterOverridePolicyInterface. A group's client should implement this interface.
type ClusterOverridePolicyExpansion ¶ added in v0.4.0
type ClusterOverridePolicyExpansion interface{}
type ClusterOverridePolicyInterface ¶ added in v0.4.0
type ClusterOverridePolicyInterface interface { Create(ctx context.Context, clusterOverridePolicy *v1alpha1.ClusterOverridePolicy, opts v1.CreateOptions) (*v1alpha1.ClusterOverridePolicy, error) Update(ctx context.Context, clusterOverridePolicy *v1alpha1.ClusterOverridePolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterOverridePolicy, 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.ClusterOverridePolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterOverridePolicyList, 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.ClusterOverridePolicy, err error) ClusterOverridePolicyExpansion }
ClusterOverridePolicyInterface has methods to work with ClusterOverridePolicy resources.
type ClusterPropagationPoliciesGetter ¶ added in v0.4.0
type ClusterPropagationPoliciesGetter interface {
ClusterPropagationPolicies() ClusterPropagationPolicyInterface
}
ClusterPropagationPoliciesGetter has a method to return a ClusterPropagationPolicyInterface. A group's client should implement this interface.
type ClusterPropagationPolicyExpansion ¶ added in v0.4.0
type ClusterPropagationPolicyExpansion interface{}
type ClusterPropagationPolicyInterface ¶ added in v0.4.0
type ClusterPropagationPolicyInterface interface { Create(ctx context.Context, clusterPropagationPolicy *v1alpha1.ClusterPropagationPolicy, opts v1.CreateOptions) (*v1alpha1.ClusterPropagationPolicy, error) Update(ctx context.Context, clusterPropagationPolicy *v1alpha1.ClusterPropagationPolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterPropagationPolicy, 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.ClusterPropagationPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterPropagationPolicyList, 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.ClusterPropagationPolicy, err error) ClusterPropagationPolicyExpansion }
ClusterPropagationPolicyInterface has methods to work with ClusterPropagationPolicy resources.
type OverridePoliciesGetter ¶
type OverridePoliciesGetter interface {
OverridePolicies(namespace string) OverridePolicyInterface
}
OverridePoliciesGetter has a method to return a OverridePolicyInterface. A group's client should implement this interface.
type OverridePolicyExpansion ¶
type OverridePolicyExpansion interface{}
type OverridePolicyInterface ¶
type OverridePolicyInterface interface { Create(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.CreateOptions) (*v1alpha1.OverridePolicy, error) Update(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.UpdateOptions) (*v1alpha1.OverridePolicy, 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.OverridePolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.OverridePolicyList, 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.OverridePolicy, err error) OverridePolicyExpansion }
OverridePolicyInterface has methods to work with OverridePolicy resources.
type PolicyV1alpha1Client ¶
type PolicyV1alpha1Client struct {
// contains filtered or unexported fields
}
PolicyV1alpha1Client is used to interact with features provided by the policy.karmada.io group.
func New ¶
func New(c rest.Interface) *PolicyV1alpha1Client
New creates a new PolicyV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*PolicyV1alpha1Client, error)
NewForConfig creates a new PolicyV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *PolicyV1alpha1Client
NewForConfigOrDie creates a new PolicyV1alpha1Client for the given config and panics if there is an error in the config.
func (*PolicyV1alpha1Client) ClusterOverridePolicies ¶ added in v0.4.0
func (c *PolicyV1alpha1Client) ClusterOverridePolicies() ClusterOverridePolicyInterface
func (*PolicyV1alpha1Client) ClusterPropagationPolicies ¶ added in v0.4.0
func (c *PolicyV1alpha1Client) ClusterPropagationPolicies() ClusterPropagationPolicyInterface
func (*PolicyV1alpha1Client) OverridePolicies ¶
func (c *PolicyV1alpha1Client) OverridePolicies(namespace string) OverridePolicyInterface
func (*PolicyV1alpha1Client) PropagationPolicies ¶
func (c *PolicyV1alpha1Client) PropagationPolicies(namespace string) PropagationPolicyInterface
func (*PolicyV1alpha1Client) RESTClient ¶
func (c *PolicyV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type PolicyV1alpha1Interface ¶
type PolicyV1alpha1Interface interface { RESTClient() rest.Interface ClusterOverridePoliciesGetter ClusterPropagationPoliciesGetter OverridePoliciesGetter PropagationPoliciesGetter }
type PropagationPoliciesGetter ¶
type PropagationPoliciesGetter interface {
PropagationPolicies(namespace string) PropagationPolicyInterface
}
PropagationPoliciesGetter has a method to return a PropagationPolicyInterface. A group's client should implement this interface.
type PropagationPolicyExpansion ¶
type PropagationPolicyExpansion interface{}
type PropagationPolicyInterface ¶
type PropagationPolicyInterface interface { Create(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, opts v1.CreateOptions) (*v1alpha1.PropagationPolicy, error) Update(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, opts v1.UpdateOptions) (*v1alpha1.PropagationPolicy, 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.PropagationPolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PropagationPolicyList, 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.PropagationPolicy, err error) PropagationPolicyExpansion }
PropagationPolicyInterface has methods to work with PropagationPolicy resources.