Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterOverridePoliciesGetter
- type ClusterOverridePolicyExpansion
- type ClusterOverridePolicyInterface
- type ClusterValidatePoliciesGetter
- type ClusterValidatePolicyExpansion
- type ClusterValidatePolicyInterface
- type OverridePoliciesGetter
- type OverridePolicyExpansion
- type OverridePolicyInterface
- type PolicyV1alpha1Client
- func (c *PolicyV1alpha1Client) ClusterOverridePolicies() ClusterOverridePolicyInterface
- func (c *PolicyV1alpha1Client) ClusterValidatePolicies() ClusterValidatePolicyInterface
- func (c *PolicyV1alpha1Client) OverridePolicies(namespace string) OverridePolicyInterface
- func (c *PolicyV1alpha1Client) RESTClient() rest.Interface
- type PolicyV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterOverridePoliciesGetter ¶
type ClusterOverridePoliciesGetter interface {
ClusterOverridePolicies() ClusterOverridePolicyInterface
}
ClusterOverridePoliciesGetter has a method to return a ClusterOverridePolicyInterface. A group's client should implement this interface.
type ClusterOverridePolicyExpansion ¶
type ClusterOverridePolicyExpansion interface{}
type ClusterOverridePolicyInterface ¶
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 ClusterValidatePoliciesGetter ¶ added in v0.2.0
type ClusterValidatePoliciesGetter interface {
ClusterValidatePolicies() ClusterValidatePolicyInterface
}
ClusterValidatePoliciesGetter has a method to return a ClusterValidatePolicyInterface. A group's client should implement this interface.
type ClusterValidatePolicyExpansion ¶ added in v0.2.0
type ClusterValidatePolicyExpansion interface{}
type ClusterValidatePolicyInterface ¶ added in v0.2.0
type ClusterValidatePolicyInterface interface { Create(ctx context.Context, clusterValidatePolicy *v1alpha1.ClusterValidatePolicy, opts v1.CreateOptions) (*v1alpha1.ClusterValidatePolicy, error) Update(ctx context.Context, clusterValidatePolicy *v1alpha1.ClusterValidatePolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterValidatePolicy, 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.ClusterValidatePolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterValidatePolicyList, 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.ClusterValidatePolicy, err error) ClusterValidatePolicyExpansion }
ClusterValidatePolicyInterface has methods to work with ClusterValidatePolicy 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.kcloudlabs.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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new PolicyV1alpha1Client 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) *PolicyV1alpha1Client
NewForConfigOrDie creates a new PolicyV1alpha1Client for the given config and panics if there is an error in the config.
func (*PolicyV1alpha1Client) ClusterOverridePolicies ¶
func (c *PolicyV1alpha1Client) ClusterOverridePolicies() ClusterOverridePolicyInterface
func (*PolicyV1alpha1Client) ClusterValidatePolicies ¶ added in v0.2.0
func (c *PolicyV1alpha1Client) ClusterValidatePolicies() ClusterValidatePolicyInterface
func (*PolicyV1alpha1Client) OverridePolicies ¶
func (c *PolicyV1alpha1Client) OverridePolicies(namespace string) OverridePolicyInterface
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 ClusterValidatePoliciesGetter OverridePoliciesGetter }