Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeContainerAttachedClusters
- func (c *FakeContainerAttachedClusters) Create(ctx context.Context, ...) (result *v1beta1.ContainerAttachedCluster, err error)
- func (c *FakeContainerAttachedClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerAttachedClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerAttachedClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ContainerAttachedCluster, err error)
- func (c *FakeContainerAttachedClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ContainerAttachedClusterList, err error)
- func (c *FakeContainerAttachedClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ContainerAttachedCluster, err error)
- func (c *FakeContainerAttachedClusters) Update(ctx context.Context, ...) (result *v1beta1.ContainerAttachedCluster, err error)
- func (c *FakeContainerAttachedClusters) UpdateStatus(ctx context.Context, ...) (*v1beta1.ContainerAttachedCluster, error)
- func (c *FakeContainerAttachedClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerattachedV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeContainerAttachedClusters ¶
type FakeContainerAttachedClusters struct { Fake *FakeContainerattachedV1beta1 // contains filtered or unexported fields }
FakeContainerAttachedClusters implements ContainerAttachedClusterInterface
func (*FakeContainerAttachedClusters) Create ¶
func (c *FakeContainerAttachedClusters) Create(ctx context.Context, containerAttachedCluster *v1beta1.ContainerAttachedCluster, opts v1.CreateOptions) (result *v1beta1.ContainerAttachedCluster, err error)
Create takes the representation of a containerAttachedCluster and creates it. Returns the server's representation of the containerAttachedCluster, and an error, if there is any.
func (*FakeContainerAttachedClusters) Delete ¶
func (c *FakeContainerAttachedClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the containerAttachedCluster and deletes it. Returns an error if one occurs.
func (*FakeContainerAttachedClusters) DeleteCollection ¶
func (c *FakeContainerAttachedClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerAttachedClusters) Get ¶
func (c *FakeContainerAttachedClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ContainerAttachedCluster, err error)
Get takes name of the containerAttachedCluster, and returns the corresponding containerAttachedCluster object, and an error if there is any.
func (*FakeContainerAttachedClusters) List ¶
func (c *FakeContainerAttachedClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ContainerAttachedClusterList, err error)
List takes label and field selectors, and returns the list of ContainerAttachedClusters that match those selectors.
func (*FakeContainerAttachedClusters) Patch ¶
func (c *FakeContainerAttachedClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ContainerAttachedCluster, err error)
Patch applies the patch and returns the patched containerAttachedCluster.
func (*FakeContainerAttachedClusters) Update ¶
func (c *FakeContainerAttachedClusters) Update(ctx context.Context, containerAttachedCluster *v1beta1.ContainerAttachedCluster, opts v1.UpdateOptions) (result *v1beta1.ContainerAttachedCluster, err error)
Update takes the representation of a containerAttachedCluster and updates it. Returns the server's representation of the containerAttachedCluster, and an error, if there is any.
func (*FakeContainerAttachedClusters) UpdateStatus ¶
func (c *FakeContainerAttachedClusters) UpdateStatus(ctx context.Context, containerAttachedCluster *v1beta1.ContainerAttachedCluster, opts v1.UpdateOptions) (*v1beta1.ContainerAttachedCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerAttachedClusters) Watch ¶
func (c *FakeContainerAttachedClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerAttachedClusters.
type FakeContainerattachedV1beta1 ¶
func (*FakeContainerattachedV1beta1) ContainerAttachedClusters ¶
func (c *FakeContainerattachedV1beta1) ContainerAttachedClusters(namespace string) v1beta1.ContainerAttachedClusterInterface
func (*FakeContainerattachedV1beta1) RESTClient ¶
func (c *FakeContainerattachedV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.