Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterOverridePolicies
- func (c *FakeClusterOverridePolicies) Create(ctx context.Context, clusterOverridePolicy *v1alpha1.ClusterOverridePolicy, ...) (result *v1alpha1.ClusterOverridePolicy, err error)
- func (c *FakeClusterOverridePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterOverridePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterOverridePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterOverridePolicy, err error)
- func (c *FakeClusterOverridePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterOverridePolicyList, err error)
- func (c *FakeClusterOverridePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterOverridePolicy, err error)
- func (c *FakeClusterOverridePolicies) Update(ctx context.Context, clusterOverridePolicy *v1alpha1.ClusterOverridePolicy, ...) (result *v1alpha1.ClusterOverridePolicy, err error)
- func (c *FakeClusterOverridePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterPropagationPolicies
- func (c *FakeClusterPropagationPolicies) Create(ctx context.Context, ...) (result *v1alpha1.ClusterPropagationPolicy, err error)
- func (c *FakeClusterPropagationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterPropagationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterPropagationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterPropagationPolicy, err error)
- func (c *FakeClusterPropagationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterPropagationPolicyList, err error)
- func (c *FakeClusterPropagationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterPropagationPolicy, err error)
- func (c *FakeClusterPropagationPolicies) Update(ctx context.Context, ...) (result *v1alpha1.ClusterPropagationPolicy, err error)
- func (c *FakeClusterPropagationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOverridePolicies
- func (c *FakeOverridePolicies) Create(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, ...) (result *v1alpha1.OverridePolicy, err error)
- func (c *FakeOverridePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOverridePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOverridePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OverridePolicy, err error)
- func (c *FakeOverridePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OverridePolicyList, err error)
- func (c *FakeOverridePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OverridePolicy, err error)
- func (c *FakeOverridePolicies) Update(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, ...) (result *v1alpha1.OverridePolicy, err error)
- func (c *FakeOverridePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyV1alpha1
- func (c *FakePolicyV1alpha1) ClusterOverridePolicies() v1alpha1.ClusterOverridePolicyInterface
- func (c *FakePolicyV1alpha1) ClusterPropagationPolicies() v1alpha1.ClusterPropagationPolicyInterface
- func (c *FakePolicyV1alpha1) OverridePolicies(namespace string) v1alpha1.OverridePolicyInterface
- func (c *FakePolicyV1alpha1) PropagationPolicies(namespace string) v1alpha1.PropagationPolicyInterface
- func (c *FakePolicyV1alpha1) RESTClient() rest.Interface
- type FakePropagationPolicies
- func (c *FakePropagationPolicies) Create(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, ...) (result *v1alpha1.PropagationPolicy, err error)
- func (c *FakePropagationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePropagationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePropagationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PropagationPolicy, err error)
- func (c *FakePropagationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PropagationPolicyList, err error)
- func (c *FakePropagationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PropagationPolicy, err error)
- func (c *FakePropagationPolicies) Update(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, ...) (result *v1alpha1.PropagationPolicy, err error)
- func (c *FakePropagationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterOverridePolicies ¶ added in v0.4.0
type FakeClusterOverridePolicies struct {
Fake *FakePolicyV1alpha1
}
FakeClusterOverridePolicies implements ClusterOverridePolicyInterface
func (*FakeClusterOverridePolicies) Create ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) Create(ctx context.Context, clusterOverridePolicy *v1alpha1.ClusterOverridePolicy, opts v1.CreateOptions) (result *v1alpha1.ClusterOverridePolicy, err error)
Create takes the representation of a clusterOverridePolicy and creates it. Returns the server's representation of the clusterOverridePolicy, and an error, if there is any.
func (*FakeClusterOverridePolicies) Delete ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterOverridePolicy and deletes it. Returns an error if one occurs.
func (*FakeClusterOverridePolicies) DeleteCollection ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterOverridePolicies) Get ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterOverridePolicy, err error)
Get takes name of the clusterOverridePolicy, and returns the corresponding clusterOverridePolicy object, and an error if there is any.
func (*FakeClusterOverridePolicies) List ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterOverridePolicyList, err error)
List takes label and field selectors, and returns the list of ClusterOverridePolicies that match those selectors.
func (*FakeClusterOverridePolicies) Patch ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterOverridePolicy, err error)
Patch applies the patch and returns the patched clusterOverridePolicy.
func (*FakeClusterOverridePolicies) Update ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) Update(ctx context.Context, clusterOverridePolicy *v1alpha1.ClusterOverridePolicy, opts v1.UpdateOptions) (result *v1alpha1.ClusterOverridePolicy, err error)
Update takes the representation of a clusterOverridePolicy and updates it. Returns the server's representation of the clusterOverridePolicy, and an error, if there is any.
func (*FakeClusterOverridePolicies) Watch ¶ added in v0.4.0
func (c *FakeClusterOverridePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterOverridePolicies.
type FakeClusterPropagationPolicies ¶ added in v0.4.0
type FakeClusterPropagationPolicies struct {
Fake *FakePolicyV1alpha1
}
FakeClusterPropagationPolicies implements ClusterPropagationPolicyInterface
func (*FakeClusterPropagationPolicies) Create ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) Create(ctx context.Context, clusterPropagationPolicy *v1alpha1.ClusterPropagationPolicy, opts v1.CreateOptions) (result *v1alpha1.ClusterPropagationPolicy, err error)
Create takes the representation of a clusterPropagationPolicy and creates it. Returns the server's representation of the clusterPropagationPolicy, and an error, if there is any.
func (*FakeClusterPropagationPolicies) Delete ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterPropagationPolicy and deletes it. Returns an error if one occurs.
func (*FakeClusterPropagationPolicies) DeleteCollection ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterPropagationPolicies) Get ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterPropagationPolicy, err error)
Get takes name of the clusterPropagationPolicy, and returns the corresponding clusterPropagationPolicy object, and an error if there is any.
func (*FakeClusterPropagationPolicies) List ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterPropagationPolicyList, err error)
List takes label and field selectors, and returns the list of ClusterPropagationPolicies that match those selectors.
func (*FakeClusterPropagationPolicies) Patch ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterPropagationPolicy, err error)
Patch applies the patch and returns the patched clusterPropagationPolicy.
func (*FakeClusterPropagationPolicies) Update ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) Update(ctx context.Context, clusterPropagationPolicy *v1alpha1.ClusterPropagationPolicy, opts v1.UpdateOptions) (result *v1alpha1.ClusterPropagationPolicy, err error)
Update takes the representation of a clusterPropagationPolicy and updates it. Returns the server's representation of the clusterPropagationPolicy, and an error, if there is any.
func (*FakeClusterPropagationPolicies) Watch ¶ added in v0.4.0
func (c *FakeClusterPropagationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterPropagationPolicies.
type FakeOverridePolicies ¶
type FakeOverridePolicies struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakeOverridePolicies implements OverridePolicyInterface
func (*FakeOverridePolicies) Create ¶
func (c *FakeOverridePolicies) Create(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.CreateOptions) (result *v1alpha1.OverridePolicy, err error)
Create takes the representation of a overridePolicy and creates it. Returns the server's representation of the overridePolicy, and an error, if there is any.
func (*FakeOverridePolicies) Delete ¶
func (c *FakeOverridePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the overridePolicy and deletes it. Returns an error if one occurs.
func (*FakeOverridePolicies) DeleteCollection ¶
func (c *FakeOverridePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOverridePolicies) Get ¶
func (c *FakeOverridePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OverridePolicy, err error)
Get takes name of the overridePolicy, and returns the corresponding overridePolicy object, and an error if there is any.
func (*FakeOverridePolicies) List ¶
func (c *FakeOverridePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OverridePolicyList, err error)
List takes label and field selectors, and returns the list of OverridePolicies that match those selectors.
func (*FakeOverridePolicies) Patch ¶
func (c *FakeOverridePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OverridePolicy, err error)
Patch applies the patch and returns the patched overridePolicy.
func (*FakeOverridePolicies) Update ¶
func (c *FakeOverridePolicies) Update(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.UpdateOptions) (result *v1alpha1.OverridePolicy, err error)
Update takes the representation of a overridePolicy and updates it. Returns the server's representation of the overridePolicy, and an error, if there is any.
func (*FakeOverridePolicies) Watch ¶
func (c *FakeOverridePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested overridePolicies.
type FakePolicyV1alpha1 ¶
func (*FakePolicyV1alpha1) ClusterOverridePolicies ¶ added in v0.4.0
func (c *FakePolicyV1alpha1) ClusterOverridePolicies() v1alpha1.ClusterOverridePolicyInterface
func (*FakePolicyV1alpha1) ClusterPropagationPolicies ¶ added in v0.4.0
func (c *FakePolicyV1alpha1) ClusterPropagationPolicies() v1alpha1.ClusterPropagationPolicyInterface
func (*FakePolicyV1alpha1) OverridePolicies ¶
func (c *FakePolicyV1alpha1) OverridePolicies(namespace string) v1alpha1.OverridePolicyInterface
func (*FakePolicyV1alpha1) PropagationPolicies ¶
func (c *FakePolicyV1alpha1) PropagationPolicies(namespace string) v1alpha1.PropagationPolicyInterface
func (*FakePolicyV1alpha1) RESTClient ¶
func (c *FakePolicyV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePropagationPolicies ¶
type FakePropagationPolicies struct { Fake *FakePolicyV1alpha1 // contains filtered or unexported fields }
FakePropagationPolicies implements PropagationPolicyInterface
func (*FakePropagationPolicies) Create ¶
func (c *FakePropagationPolicies) Create(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, opts v1.CreateOptions) (result *v1alpha1.PropagationPolicy, err error)
Create takes the representation of a propagationPolicy and creates it. Returns the server's representation of the propagationPolicy, and an error, if there is any.
func (*FakePropagationPolicies) Delete ¶
func (c *FakePropagationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the propagationPolicy and deletes it. Returns an error if one occurs.
func (*FakePropagationPolicies) DeleteCollection ¶
func (c *FakePropagationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePropagationPolicies) Get ¶
func (c *FakePropagationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PropagationPolicy, err error)
Get takes name of the propagationPolicy, and returns the corresponding propagationPolicy object, and an error if there is any.
func (*FakePropagationPolicies) List ¶
func (c *FakePropagationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PropagationPolicyList, err error)
List takes label and field selectors, and returns the list of PropagationPolicies that match those selectors.
func (*FakePropagationPolicies) Patch ¶
func (c *FakePropagationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PropagationPolicy, err error)
Patch applies the patch and returns the patched propagationPolicy.
func (*FakePropagationPolicies) Update ¶
func (c *FakePropagationPolicies) Update(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, opts v1.UpdateOptions) (result *v1alpha1.PropagationPolicy, err error)
Update takes the representation of a propagationPolicy and updates it. Returns the server's representation of the propagationPolicy, and an error, if there is any.
func (*FakePropagationPolicies) Watch ¶
func (c *FakePropagationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested propagationPolicies.