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