Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterImportPolicies
- func (c *FakeClusterImportPolicies) Create(ctx context.Context, clusterImportPolicy *v1alpha1.ClusterImportPolicy, ...) (result *v1alpha1.ClusterImportPolicy, err error)
- func (c *FakeClusterImportPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterImportPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterImportPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterImportPolicy, err error)
- func (c *FakeClusterImportPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterImportPolicyList, err error)
- func (c *FakeClusterImportPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterImportPolicy, err error)
- func (c *FakeClusterImportPolicies) Update(ctx context.Context, clusterImportPolicy *v1alpha1.ClusterImportPolicy, ...) (result *v1alpha1.ClusterImportPolicy, err error)
- func (c *FakeClusterImportPolicies) UpdateStatus(ctx context.Context, clusterImportPolicy *v1alpha1.ClusterImportPolicy, ...) (*v1alpha1.ClusterImportPolicy, error)
- func (c *FakeClusterImportPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePediaClusterLifecycles
- func (c *FakePediaClusterLifecycles) Create(ctx context.Context, pediaClusterLifecycle *v1alpha1.PediaClusterLifecycle, ...) (result *v1alpha1.PediaClusterLifecycle, err error)
- func (c *FakePediaClusterLifecycles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePediaClusterLifecycles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePediaClusterLifecycles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PediaClusterLifecycle, err error)
- func (c *FakePediaClusterLifecycles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PediaClusterLifecycleList, err error)
- func (c *FakePediaClusterLifecycles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PediaClusterLifecycle, err error)
- func (c *FakePediaClusterLifecycles) Update(ctx context.Context, pediaClusterLifecycle *v1alpha1.PediaClusterLifecycle, ...) (result *v1alpha1.PediaClusterLifecycle, err error)
- func (c *FakePediaClusterLifecycles) UpdateStatus(ctx context.Context, pediaClusterLifecycle *v1alpha1.PediaClusterLifecycle, ...) (*v1alpha1.PediaClusterLifecycle, error)
- func (c *FakePediaClusterLifecycles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterImportPolicies ¶
type FakeClusterImportPolicies struct {
Fake *FakePolicyV1alpha1
}
FakeClusterImportPolicies implements ClusterImportPolicyInterface
func (*FakeClusterImportPolicies) Create ¶
func (c *FakeClusterImportPolicies) Create(ctx context.Context, clusterImportPolicy *v1alpha1.ClusterImportPolicy, opts v1.CreateOptions) (result *v1alpha1.ClusterImportPolicy, err error)
Create takes the representation of a clusterImportPolicy and creates it. Returns the server's representation of the clusterImportPolicy, and an error, if there is any.
func (*FakeClusterImportPolicies) Delete ¶
func (c *FakeClusterImportPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterImportPolicy and deletes it. Returns an error if one occurs.
func (*FakeClusterImportPolicies) DeleteCollection ¶
func (c *FakeClusterImportPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterImportPolicies) Get ¶
func (c *FakeClusterImportPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterImportPolicy, err error)
Get takes name of the clusterImportPolicy, and returns the corresponding clusterImportPolicy object, and an error if there is any.
func (*FakeClusterImportPolicies) List ¶
func (c *FakeClusterImportPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterImportPolicyList, err error)
List takes label and field selectors, and returns the list of ClusterImportPolicies that match those selectors.
func (*FakeClusterImportPolicies) Patch ¶
func (c *FakeClusterImportPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterImportPolicy, err error)
Patch applies the patch and returns the patched clusterImportPolicy.
func (*FakeClusterImportPolicies) Update ¶
func (c *FakeClusterImportPolicies) Update(ctx context.Context, clusterImportPolicy *v1alpha1.ClusterImportPolicy, opts v1.UpdateOptions) (result *v1alpha1.ClusterImportPolicy, err error)
Update takes the representation of a clusterImportPolicy and updates it. Returns the server's representation of the clusterImportPolicy, and an error, if there is any.
func (*FakeClusterImportPolicies) UpdateStatus ¶
func (c *FakeClusterImportPolicies) UpdateStatus(ctx context.Context, clusterImportPolicy *v1alpha1.ClusterImportPolicy, opts v1.UpdateOptions) (*v1alpha1.ClusterImportPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterImportPolicies) Watch ¶
func (c *FakeClusterImportPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterImportPolicies.
type FakePediaClusterLifecycles ¶
type FakePediaClusterLifecycles struct {
Fake *FakePolicyV1alpha1
}
FakePediaClusterLifecycles implements PediaClusterLifecycleInterface
func (*FakePediaClusterLifecycles) Create ¶
func (c *FakePediaClusterLifecycles) Create(ctx context.Context, pediaClusterLifecycle *v1alpha1.PediaClusterLifecycle, opts v1.CreateOptions) (result *v1alpha1.PediaClusterLifecycle, err error)
Create takes the representation of a pediaClusterLifecycle and creates it. Returns the server's representation of the pediaClusterLifecycle, and an error, if there is any.
func (*FakePediaClusterLifecycles) Delete ¶
func (c *FakePediaClusterLifecycles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pediaClusterLifecycle and deletes it. Returns an error if one occurs.
func (*FakePediaClusterLifecycles) DeleteCollection ¶
func (c *FakePediaClusterLifecycles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePediaClusterLifecycles) Get ¶
func (c *FakePediaClusterLifecycles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PediaClusterLifecycle, err error)
Get takes name of the pediaClusterLifecycle, and returns the corresponding pediaClusterLifecycle object, and an error if there is any.
func (*FakePediaClusterLifecycles) List ¶
func (c *FakePediaClusterLifecycles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PediaClusterLifecycleList, err error)
List takes label and field selectors, and returns the list of PediaClusterLifecycles that match those selectors.
func (*FakePediaClusterLifecycles) Patch ¶
func (c *FakePediaClusterLifecycles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PediaClusterLifecycle, err error)
Patch applies the patch and returns the patched pediaClusterLifecycle.
func (*FakePediaClusterLifecycles) Update ¶
func (c *FakePediaClusterLifecycles) Update(ctx context.Context, pediaClusterLifecycle *v1alpha1.PediaClusterLifecycle, opts v1.UpdateOptions) (result *v1alpha1.PediaClusterLifecycle, err error)
Update takes the representation of a pediaClusterLifecycle and updates it. Returns the server's representation of the pediaClusterLifecycle, and an error, if there is any.
func (*FakePediaClusterLifecycles) UpdateStatus ¶
func (c *FakePediaClusterLifecycles) UpdateStatus(ctx context.Context, pediaClusterLifecycle *v1alpha1.PediaClusterLifecycle, opts v1.UpdateOptions) (*v1alpha1.PediaClusterLifecycle, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePediaClusterLifecycles) Watch ¶
func (c *FakePediaClusterLifecycles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pediaClusterLifecycles.
type FakePolicyV1alpha1 ¶
func (*FakePolicyV1alpha1) ClusterImportPolicies ¶
func (c *FakePolicyV1alpha1) ClusterImportPolicies() v1alpha1.ClusterImportPolicyInterface
func (*FakePolicyV1alpha1) PediaClusterLifecycles ¶
func (c *FakePolicyV1alpha1) PediaClusterLifecycles() v1alpha1.PediaClusterLifecycleInterface
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.