fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAutoSnapshotPolicies

type FakeAutoSnapshotPolicies struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeAutoSnapshotPolicies implements AutoSnapshotPolicyInterface

func (*FakeAutoSnapshotPolicies) Create

func (c *FakeAutoSnapshotPolicies) Create(ctx context.Context, autoSnapshotPolicy *v1alpha1.AutoSnapshotPolicy, opts v1.CreateOptions) (result *v1alpha1.AutoSnapshotPolicy, err error)

Create takes the representation of a autoSnapshotPolicy and creates it. Returns the server's representation of the autoSnapshotPolicy, and an error, if there is any.

func (*FakeAutoSnapshotPolicies) Delete

Delete takes name of the autoSnapshotPolicy and deletes it. Returns an error if one occurs.

func (*FakeAutoSnapshotPolicies) DeleteCollection

func (c *FakeAutoSnapshotPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAutoSnapshotPolicies) Get

func (c *FakeAutoSnapshotPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AutoSnapshotPolicy, err error)

Get takes name of the autoSnapshotPolicy, and returns the corresponding autoSnapshotPolicy object, and an error if there is any.

func (*FakeAutoSnapshotPolicies) List

List takes label and field selectors, and returns the list of AutoSnapshotPolicies that match those selectors.

func (*FakeAutoSnapshotPolicies) Patch

func (c *FakeAutoSnapshotPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AutoSnapshotPolicy, err error)

Patch applies the patch and returns the patched autoSnapshotPolicy.

func (*FakeAutoSnapshotPolicies) Update

func (c *FakeAutoSnapshotPolicies) Update(ctx context.Context, autoSnapshotPolicy *v1alpha1.AutoSnapshotPolicy, opts v1.UpdateOptions) (result *v1alpha1.AutoSnapshotPolicy, err error)

Update takes the representation of a autoSnapshotPolicy and updates it. Returns the server's representation of the autoSnapshotPolicy, and an error, if there is any.

func (*FakeAutoSnapshotPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAutoSnapshotPolicies) Watch

Watch returns a watch.Interface that watches the requested autoSnapshotPolicies.

type FakeAutoSnapshotPolicyAttachments

type FakeAutoSnapshotPolicyAttachments struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeAutoSnapshotPolicyAttachments implements AutoSnapshotPolicyAttachmentInterface

func (*FakeAutoSnapshotPolicyAttachments) Create

Create takes the representation of a autoSnapshotPolicyAttachment and creates it. Returns the server's representation of the autoSnapshotPolicyAttachment, and an error, if there is any.

func (*FakeAutoSnapshotPolicyAttachments) Delete

Delete takes name of the autoSnapshotPolicyAttachment and deletes it. Returns an error if one occurs.

func (*FakeAutoSnapshotPolicyAttachments) DeleteCollection

func (c *FakeAutoSnapshotPolicyAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAutoSnapshotPolicyAttachments) Get

Get takes name of the autoSnapshotPolicyAttachment, and returns the corresponding autoSnapshotPolicyAttachment object, and an error if there is any.

func (*FakeAutoSnapshotPolicyAttachments) List

List takes label and field selectors, and returns the list of AutoSnapshotPolicyAttachments that match those selectors.

func (*FakeAutoSnapshotPolicyAttachments) Patch

func (c *FakeAutoSnapshotPolicyAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AutoSnapshotPolicyAttachment, err error)

Patch applies the patch and returns the patched autoSnapshotPolicyAttachment.

func (*FakeAutoSnapshotPolicyAttachments) Update

Update takes the representation of a autoSnapshotPolicyAttachment and updates it. Returns the server's representation of the autoSnapshotPolicyAttachment, and an error, if there is any.

func (*FakeAutoSnapshotPolicyAttachments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAutoSnapshotPolicyAttachments) Watch

Watch returns a watch.Interface that watches the requested autoSnapshotPolicyAttachments.

type FakeCommands

type FakeCommands struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeCommands implements CommandInterface

func (*FakeCommands) Create

func (c *FakeCommands) Create(ctx context.Context, command *v1alpha1.Command, opts v1.CreateOptions) (result *v1alpha1.Command, err error)

Create takes the representation of a command and creates it. Returns the server's representation of the command, and an error, if there is any.

func (*FakeCommands) Delete

func (c *FakeCommands) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the command and deletes it. Returns an error if one occurs.

func (*FakeCommands) DeleteCollection

func (c *FakeCommands) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCommands) Get

func (c *FakeCommands) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Command, err error)

Get takes name of the command, and returns the corresponding command object, and an error if there is any.

func (*FakeCommands) List

func (c *FakeCommands) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CommandList, err error)

List takes label and field selectors, and returns the list of Commands that match those selectors.

func (*FakeCommands) Patch

func (c *FakeCommands) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Command, err error)

Patch applies the patch and returns the patched command.

func (*FakeCommands) Update

func (c *FakeCommands) Update(ctx context.Context, command *v1alpha1.Command, opts v1.UpdateOptions) (result *v1alpha1.Command, err error)

Update takes the representation of a command and updates it. Returns the server's representation of the command, and an error, if there is any.

func (*FakeCommands) UpdateStatus

func (c *FakeCommands) UpdateStatus(ctx context.Context, command *v1alpha1.Command, opts v1.UpdateOptions) (*v1alpha1.Command, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeCommands) Watch

func (c *FakeCommands) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested commands.

type FakeDedicatedHostClusters added in v0.5.0

type FakeDedicatedHostClusters struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeDedicatedHostClusters implements DedicatedHostClusterInterface

func (*FakeDedicatedHostClusters) Create added in v0.5.0

func (c *FakeDedicatedHostClusters) Create(ctx context.Context, dedicatedHostCluster *v1alpha1.DedicatedHostCluster, opts v1.CreateOptions) (result *v1alpha1.DedicatedHostCluster, err error)

Create takes the representation of a dedicatedHostCluster and creates it. Returns the server's representation of the dedicatedHostCluster, and an error, if there is any.

func (*FakeDedicatedHostClusters) Delete added in v0.5.0

Delete takes name of the dedicatedHostCluster and deletes it. Returns an error if one occurs.

func (*FakeDedicatedHostClusters) DeleteCollection added in v0.5.0

func (c *FakeDedicatedHostClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDedicatedHostClusters) Get added in v0.5.0

Get takes name of the dedicatedHostCluster, and returns the corresponding dedicatedHostCluster object, and an error if there is any.

func (*FakeDedicatedHostClusters) List added in v0.5.0

List takes label and field selectors, and returns the list of DedicatedHostClusters that match those selectors.

func (*FakeDedicatedHostClusters) Patch added in v0.5.0

func (c *FakeDedicatedHostClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DedicatedHostCluster, err error)

Patch applies the patch and returns the patched dedicatedHostCluster.

func (*FakeDedicatedHostClusters) Update added in v0.5.0

func (c *FakeDedicatedHostClusters) Update(ctx context.Context, dedicatedHostCluster *v1alpha1.DedicatedHostCluster, opts v1.UpdateOptions) (result *v1alpha1.DedicatedHostCluster, err error)

Update takes the representation of a dedicatedHostCluster and updates it. Returns the server's representation of the dedicatedHostCluster, and an error, if there is any.

func (*FakeDedicatedHostClusters) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDedicatedHostClusters) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested dedicatedHostClusters.

type FakeDedicatedHosts

type FakeDedicatedHosts struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeDedicatedHosts implements DedicatedHostInterface

func (*FakeDedicatedHosts) Create

func (c *FakeDedicatedHosts) Create(ctx context.Context, dedicatedHost *v1alpha1.DedicatedHost, opts v1.CreateOptions) (result *v1alpha1.DedicatedHost, err error)

Create takes the representation of a dedicatedHost and creates it. Returns the server's representation of the dedicatedHost, and an error, if there is any.

func (*FakeDedicatedHosts) Delete

func (c *FakeDedicatedHosts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the dedicatedHost and deletes it. Returns an error if one occurs.

func (*FakeDedicatedHosts) DeleteCollection

func (c *FakeDedicatedHosts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDedicatedHosts) Get

func (c *FakeDedicatedHosts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DedicatedHost, err error)

Get takes name of the dedicatedHost, and returns the corresponding dedicatedHost object, and an error if there is any.

func (*FakeDedicatedHosts) List

func (c *FakeDedicatedHosts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DedicatedHostList, err error)

List takes label and field selectors, and returns the list of DedicatedHosts that match those selectors.

func (*FakeDedicatedHosts) Patch

func (c *FakeDedicatedHosts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DedicatedHost, err error)

Patch applies the patch and returns the patched dedicatedHost.

func (*FakeDedicatedHosts) Update

func (c *FakeDedicatedHosts) Update(ctx context.Context, dedicatedHost *v1alpha1.DedicatedHost, opts v1.UpdateOptions) (result *v1alpha1.DedicatedHost, err error)

Update takes the representation of a dedicatedHost and updates it. Returns the server's representation of the dedicatedHost, and an error, if there is any.

func (*FakeDedicatedHosts) UpdateStatus

func (c *FakeDedicatedHosts) UpdateStatus(ctx context.Context, dedicatedHost *v1alpha1.DedicatedHost, opts v1.UpdateOptions) (*v1alpha1.DedicatedHost, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDedicatedHosts) Watch

Watch returns a watch.Interface that watches the requested dedicatedHosts.

type FakeDeploymentSets added in v0.4.0

type FakeDeploymentSets struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeDeploymentSets implements DeploymentSetInterface

func (*FakeDeploymentSets) Create added in v0.4.0

func (c *FakeDeploymentSets) Create(ctx context.Context, deploymentSet *v1alpha1.DeploymentSet, opts v1.CreateOptions) (result *v1alpha1.DeploymentSet, err error)

Create takes the representation of a deploymentSet and creates it. Returns the server's representation of the deploymentSet, and an error, if there is any.

func (*FakeDeploymentSets) Delete added in v0.4.0

func (c *FakeDeploymentSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the deploymentSet and deletes it. Returns an error if one occurs.

func (*FakeDeploymentSets) DeleteCollection added in v0.4.0

func (c *FakeDeploymentSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDeploymentSets) Get added in v0.4.0

func (c *FakeDeploymentSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeploymentSet, err error)

Get takes name of the deploymentSet, and returns the corresponding deploymentSet object, and an error if there is any.

func (*FakeDeploymentSets) List added in v0.4.0

func (c *FakeDeploymentSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeploymentSetList, err error)

List takes label and field selectors, and returns the list of DeploymentSets that match those selectors.

func (*FakeDeploymentSets) Patch added in v0.4.0

func (c *FakeDeploymentSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DeploymentSet, err error)

Patch applies the patch and returns the patched deploymentSet.

func (*FakeDeploymentSets) Update added in v0.4.0

func (c *FakeDeploymentSets) Update(ctx context.Context, deploymentSet *v1alpha1.DeploymentSet, opts v1.UpdateOptions) (result *v1alpha1.DeploymentSet, err error)

Update takes the representation of a deploymentSet and updates it. Returns the server's representation of the deploymentSet, and an error, if there is any.

func (*FakeDeploymentSets) UpdateStatus added in v0.4.0

func (c *FakeDeploymentSets) UpdateStatus(ctx context.Context, deploymentSet *v1alpha1.DeploymentSet, opts v1.UpdateOptions) (*v1alpha1.DeploymentSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDeploymentSets) Watch added in v0.4.0

Watch returns a watch.Interface that watches the requested deploymentSets.

type FakeDiskAttachments

type FakeDiskAttachments struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeDiskAttachments implements DiskAttachmentInterface

func (*FakeDiskAttachments) Create

func (c *FakeDiskAttachments) Create(ctx context.Context, diskAttachment *v1alpha1.DiskAttachment, opts v1.CreateOptions) (result *v1alpha1.DiskAttachment, err error)

Create takes the representation of a diskAttachment and creates it. Returns the server's representation of the diskAttachment, and an error, if there is any.

func (*FakeDiskAttachments) Delete

func (c *FakeDiskAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the diskAttachment and deletes it. Returns an error if one occurs.

func (*FakeDiskAttachments) DeleteCollection

func (c *FakeDiskAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDiskAttachments) Get

func (c *FakeDiskAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DiskAttachment, err error)

Get takes name of the diskAttachment, and returns the corresponding diskAttachment object, and an error if there is any.

func (*FakeDiskAttachments) List

List takes label and field selectors, and returns the list of DiskAttachments that match those selectors.

func (*FakeDiskAttachments) Patch

func (c *FakeDiskAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DiskAttachment, err error)

Patch applies the patch and returns the patched diskAttachment.

func (*FakeDiskAttachments) Update

func (c *FakeDiskAttachments) Update(ctx context.Context, diskAttachment *v1alpha1.DiskAttachment, opts v1.UpdateOptions) (result *v1alpha1.DiskAttachment, err error)

Update takes the representation of a diskAttachment and updates it. Returns the server's representation of the diskAttachment, and an error, if there is any.

func (*FakeDiskAttachments) UpdateStatus

func (c *FakeDiskAttachments) UpdateStatus(ctx context.Context, diskAttachment *v1alpha1.DiskAttachment, opts v1.UpdateOptions) (*v1alpha1.DiskAttachment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDiskAttachments) Watch

Watch returns a watch.Interface that watches the requested diskAttachments.

type FakeDisks

type FakeDisks struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeDisks implements DiskInterface

func (*FakeDisks) Create

func (c *FakeDisks) Create(ctx context.Context, disk *v1alpha1.Disk, opts v1.CreateOptions) (result *v1alpha1.Disk, err error)

Create takes the representation of a disk and creates it. Returns the server's representation of the disk, and an error, if there is any.

func (*FakeDisks) Delete

func (c *FakeDisks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the disk and deletes it. Returns an error if one occurs.

func (*FakeDisks) DeleteCollection

func (c *FakeDisks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDisks) Get

func (c *FakeDisks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Disk, err error)

Get takes name of the disk, and returns the corresponding disk object, and an error if there is any.

func (*FakeDisks) List

func (c *FakeDisks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DiskList, err error)

List takes label and field selectors, and returns the list of Disks that match those selectors.

func (*FakeDisks) Patch

func (c *FakeDisks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Disk, err error)

Patch applies the patch and returns the patched disk.

func (*FakeDisks) Update

func (c *FakeDisks) Update(ctx context.Context, disk *v1alpha1.Disk, opts v1.UpdateOptions) (result *v1alpha1.Disk, err error)

Update takes the representation of a disk and updates it. Returns the server's representation of the disk, and an error, if there is any.

func (*FakeDisks) UpdateStatus

func (c *FakeDisks) UpdateStatus(ctx context.Context, disk *v1alpha1.Disk, opts v1.UpdateOptions) (*v1alpha1.Disk, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDisks) Watch

func (c *FakeDisks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested disks.

type FakeEcsV1alpha1

type FakeEcsV1alpha1 struct {
	*testing.Fake
}

func (*FakeEcsV1alpha1) AutoSnapshotPolicies

func (c *FakeEcsV1alpha1) AutoSnapshotPolicies(namespace string) v1alpha1.AutoSnapshotPolicyInterface

func (*FakeEcsV1alpha1) AutoSnapshotPolicyAttachments

func (c *FakeEcsV1alpha1) AutoSnapshotPolicyAttachments(namespace string) v1alpha1.AutoSnapshotPolicyAttachmentInterface

func (*FakeEcsV1alpha1) Commands

func (c *FakeEcsV1alpha1) Commands(namespace string) v1alpha1.CommandInterface

func (*FakeEcsV1alpha1) DedicatedHostClusters added in v0.5.0

func (c *FakeEcsV1alpha1) DedicatedHostClusters(namespace string) v1alpha1.DedicatedHostClusterInterface

func (*FakeEcsV1alpha1) DedicatedHosts

func (c *FakeEcsV1alpha1) DedicatedHosts(namespace string) v1alpha1.DedicatedHostInterface

func (*FakeEcsV1alpha1) DeploymentSets added in v0.4.0

func (c *FakeEcsV1alpha1) DeploymentSets(namespace string) v1alpha1.DeploymentSetInterface

func (*FakeEcsV1alpha1) DiskAttachments

func (c *FakeEcsV1alpha1) DiskAttachments(namespace string) v1alpha1.DiskAttachmentInterface

func (*FakeEcsV1alpha1) Disks

func (c *FakeEcsV1alpha1) Disks(namespace string) v1alpha1.DiskInterface

func (*FakeEcsV1alpha1) HpcClusters

func (c *FakeEcsV1alpha1) HpcClusters(namespace string) v1alpha1.HpcClusterInterface

func (*FakeEcsV1alpha1) ImageComponents added in v0.5.0

func (c *FakeEcsV1alpha1) ImageComponents(namespace string) v1alpha1.ImageComponentInterface

func (*FakeEcsV1alpha1) KeyPairAttachments

func (c *FakeEcsV1alpha1) KeyPairAttachments(namespace string) v1alpha1.KeyPairAttachmentInterface

func (*FakeEcsV1alpha1) KeyPairs

func (c *FakeEcsV1alpha1) KeyPairs(namespace string) v1alpha1.KeyPairInterface

func (*FakeEcsV1alpha1) LaunchTemplates

func (c *FakeEcsV1alpha1) LaunchTemplates(namespace string) v1alpha1.LaunchTemplateInterface

func (*FakeEcsV1alpha1) NetworkInterfaceAttachments

func (c *FakeEcsV1alpha1) NetworkInterfaceAttachments(namespace string) v1alpha1.NetworkInterfaceAttachmentInterface

func (*FakeEcsV1alpha1) NetworkInterfaces

func (c *FakeEcsV1alpha1) NetworkInterfaces(namespace string) v1alpha1.NetworkInterfaceInterface

func (*FakeEcsV1alpha1) PrefixLists added in v0.5.0

func (c *FakeEcsV1alpha1) PrefixLists(namespace string) v1alpha1.PrefixListInterface

func (*FakeEcsV1alpha1) RESTClient

func (c *FakeEcsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeEcsV1alpha1) SessionManagerStatuses added in v0.5.0

func (c *FakeEcsV1alpha1) SessionManagerStatuses(namespace string) v1alpha1.SessionManagerStatusInterface

func (*FakeEcsV1alpha1) Snapshots

func (c *FakeEcsV1alpha1) Snapshots(namespace string) v1alpha1.SnapshotInterface

func (*FakeEcsV1alpha1) StorageCapacityUnits added in v0.5.0

func (c *FakeEcsV1alpha1) StorageCapacityUnits(namespace string) v1alpha1.StorageCapacityUnitInterface

type FakeHpcClusters

type FakeHpcClusters struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeHpcClusters implements HpcClusterInterface

func (*FakeHpcClusters) Create

func (c *FakeHpcClusters) Create(ctx context.Context, hpcCluster *v1alpha1.HpcCluster, opts v1.CreateOptions) (result *v1alpha1.HpcCluster, err error)

Create takes the representation of a hpcCluster and creates it. Returns the server's representation of the hpcCluster, and an error, if there is any.

func (*FakeHpcClusters) Delete

func (c *FakeHpcClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the hpcCluster and deletes it. Returns an error if one occurs.

func (*FakeHpcClusters) DeleteCollection

func (c *FakeHpcClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHpcClusters) Get

func (c *FakeHpcClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HpcCluster, err error)

Get takes name of the hpcCluster, and returns the corresponding hpcCluster object, and an error if there is any.

func (*FakeHpcClusters) List

func (c *FakeHpcClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HpcClusterList, err error)

List takes label and field selectors, and returns the list of HpcClusters that match those selectors.

func (*FakeHpcClusters) Patch

func (c *FakeHpcClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HpcCluster, err error)

Patch applies the patch and returns the patched hpcCluster.

func (*FakeHpcClusters) Update

func (c *FakeHpcClusters) Update(ctx context.Context, hpcCluster *v1alpha1.HpcCluster, opts v1.UpdateOptions) (result *v1alpha1.HpcCluster, err error)

Update takes the representation of a hpcCluster and updates it. Returns the server's representation of the hpcCluster, and an error, if there is any.

func (*FakeHpcClusters) UpdateStatus

func (c *FakeHpcClusters) UpdateStatus(ctx context.Context, hpcCluster *v1alpha1.HpcCluster, opts v1.UpdateOptions) (*v1alpha1.HpcCluster, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHpcClusters) Watch

Watch returns a watch.Interface that watches the requested hpcClusters.

type FakeImageComponents added in v0.5.0

type FakeImageComponents struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeImageComponents implements ImageComponentInterface

func (*FakeImageComponents) Create added in v0.5.0

func (c *FakeImageComponents) Create(ctx context.Context, imageComponent *v1alpha1.ImageComponent, opts v1.CreateOptions) (result *v1alpha1.ImageComponent, err error)

Create takes the representation of a imageComponent and creates it. Returns the server's representation of the imageComponent, and an error, if there is any.

func (*FakeImageComponents) Delete added in v0.5.0

func (c *FakeImageComponents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the imageComponent and deletes it. Returns an error if one occurs.

func (*FakeImageComponents) DeleteCollection added in v0.5.0

func (c *FakeImageComponents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeImageComponents) Get added in v0.5.0

func (c *FakeImageComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageComponent, err error)

Get takes name of the imageComponent, and returns the corresponding imageComponent object, and an error if there is any.

func (*FakeImageComponents) List added in v0.5.0

List takes label and field selectors, and returns the list of ImageComponents that match those selectors.

func (*FakeImageComponents) Patch added in v0.5.0

func (c *FakeImageComponents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ImageComponent, err error)

Patch applies the patch and returns the patched imageComponent.

func (*FakeImageComponents) Update added in v0.5.0

func (c *FakeImageComponents) Update(ctx context.Context, imageComponent *v1alpha1.ImageComponent, opts v1.UpdateOptions) (result *v1alpha1.ImageComponent, err error)

Update takes the representation of a imageComponent and updates it. Returns the server's representation of the imageComponent, and an error, if there is any.

func (*FakeImageComponents) UpdateStatus added in v0.5.0

func (c *FakeImageComponents) UpdateStatus(ctx context.Context, imageComponent *v1alpha1.ImageComponent, opts v1.UpdateOptions) (*v1alpha1.ImageComponent, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeImageComponents) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested imageComponents.

type FakeKeyPairAttachments

type FakeKeyPairAttachments struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyPairAttachments implements KeyPairAttachmentInterface

func (*FakeKeyPairAttachments) Create

func (c *FakeKeyPairAttachments) Create(ctx context.Context, keyPairAttachment *v1alpha1.KeyPairAttachment, opts v1.CreateOptions) (result *v1alpha1.KeyPairAttachment, err error)

Create takes the representation of a keyPairAttachment and creates it. Returns the server's representation of the keyPairAttachment, and an error, if there is any.

func (*FakeKeyPairAttachments) Delete

func (c *FakeKeyPairAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyPairAttachment and deletes it. Returns an error if one occurs.

func (*FakeKeyPairAttachments) DeleteCollection

func (c *FakeKeyPairAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyPairAttachments) Get

func (c *FakeKeyPairAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyPairAttachment, err error)

Get takes name of the keyPairAttachment, and returns the corresponding keyPairAttachment object, and an error if there is any.

func (*FakeKeyPairAttachments) List

List takes label and field selectors, and returns the list of KeyPairAttachments that match those selectors.

func (*FakeKeyPairAttachments) Patch

func (c *FakeKeyPairAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyPairAttachment, err error)

Patch applies the patch and returns the patched keyPairAttachment.

func (*FakeKeyPairAttachments) Update

func (c *FakeKeyPairAttachments) Update(ctx context.Context, keyPairAttachment *v1alpha1.KeyPairAttachment, opts v1.UpdateOptions) (result *v1alpha1.KeyPairAttachment, err error)

Update takes the representation of a keyPairAttachment and updates it. Returns the server's representation of the keyPairAttachment, and an error, if there is any.

func (*FakeKeyPairAttachments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyPairAttachments) Watch

Watch returns a watch.Interface that watches the requested keyPairAttachments.

type FakeKeyPairs

type FakeKeyPairs struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeKeyPairs implements KeyPairInterface

func (*FakeKeyPairs) Create

func (c *FakeKeyPairs) Create(ctx context.Context, keyPair *v1alpha1.KeyPair, opts v1.CreateOptions) (result *v1alpha1.KeyPair, err error)

Create takes the representation of a keyPair and creates it. Returns the server's representation of the keyPair, and an error, if there is any.

func (*FakeKeyPairs) Delete

func (c *FakeKeyPairs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the keyPair and deletes it. Returns an error if one occurs.

func (*FakeKeyPairs) DeleteCollection

func (c *FakeKeyPairs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKeyPairs) Get

func (c *FakeKeyPairs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeyPair, err error)

Get takes name of the keyPair, and returns the corresponding keyPair object, and an error if there is any.

func (*FakeKeyPairs) List

func (c *FakeKeyPairs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeyPairList, err error)

List takes label and field selectors, and returns the list of KeyPairs that match those selectors.

func (*FakeKeyPairs) Patch

func (c *FakeKeyPairs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeyPair, err error)

Patch applies the patch and returns the patched keyPair.

func (*FakeKeyPairs) Update

func (c *FakeKeyPairs) Update(ctx context.Context, keyPair *v1alpha1.KeyPair, opts v1.UpdateOptions) (result *v1alpha1.KeyPair, err error)

Update takes the representation of a keyPair and updates it. Returns the server's representation of the keyPair, and an error, if there is any.

func (*FakeKeyPairs) UpdateStatus

func (c *FakeKeyPairs) UpdateStatus(ctx context.Context, keyPair *v1alpha1.KeyPair, opts v1.UpdateOptions) (*v1alpha1.KeyPair, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKeyPairs) Watch

func (c *FakeKeyPairs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested keyPairs.

type FakeLaunchTemplates

type FakeLaunchTemplates struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeLaunchTemplates implements LaunchTemplateInterface

func (*FakeLaunchTemplates) Create

func (c *FakeLaunchTemplates) Create(ctx context.Context, launchTemplate *v1alpha1.LaunchTemplate, opts v1.CreateOptions) (result *v1alpha1.LaunchTemplate, err error)

Create takes the representation of a launchTemplate and creates it. Returns the server's representation of the launchTemplate, and an error, if there is any.

func (*FakeLaunchTemplates) Delete

func (c *FakeLaunchTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the launchTemplate and deletes it. Returns an error if one occurs.

func (*FakeLaunchTemplates) DeleteCollection

func (c *FakeLaunchTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLaunchTemplates) Get

func (c *FakeLaunchTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LaunchTemplate, err error)

Get takes name of the launchTemplate, and returns the corresponding launchTemplate object, and an error if there is any.

func (*FakeLaunchTemplates) List

List takes label and field selectors, and returns the list of LaunchTemplates that match those selectors.

func (*FakeLaunchTemplates) Patch

func (c *FakeLaunchTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LaunchTemplate, err error)

Patch applies the patch and returns the patched launchTemplate.

func (*FakeLaunchTemplates) Update

func (c *FakeLaunchTemplates) Update(ctx context.Context, launchTemplate *v1alpha1.LaunchTemplate, opts v1.UpdateOptions) (result *v1alpha1.LaunchTemplate, err error)

Update takes the representation of a launchTemplate and updates it. Returns the server's representation of the launchTemplate, and an error, if there is any.

func (*FakeLaunchTemplates) UpdateStatus

func (c *FakeLaunchTemplates) UpdateStatus(ctx context.Context, launchTemplate *v1alpha1.LaunchTemplate, opts v1.UpdateOptions) (*v1alpha1.LaunchTemplate, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLaunchTemplates) Watch

Watch returns a watch.Interface that watches the requested launchTemplates.

type FakeNetworkInterfaceAttachments

type FakeNetworkInterfaceAttachments struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkInterfaceAttachments implements NetworkInterfaceAttachmentInterface

func (*FakeNetworkInterfaceAttachments) Create

Create takes the representation of a networkInterfaceAttachment and creates it. Returns the server's representation of the networkInterfaceAttachment, and an error, if there is any.

func (*FakeNetworkInterfaceAttachments) Delete

Delete takes name of the networkInterfaceAttachment and deletes it. Returns an error if one occurs.

func (*FakeNetworkInterfaceAttachments) DeleteCollection

func (c *FakeNetworkInterfaceAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNetworkInterfaceAttachments) Get

Get takes name of the networkInterfaceAttachment, and returns the corresponding networkInterfaceAttachment object, and an error if there is any.

func (*FakeNetworkInterfaceAttachments) List

List takes label and field selectors, and returns the list of NetworkInterfaceAttachments that match those selectors.

func (*FakeNetworkInterfaceAttachments) Patch

func (c *FakeNetworkInterfaceAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkInterfaceAttachment, err error)

Patch applies the patch and returns the patched networkInterfaceAttachment.

func (*FakeNetworkInterfaceAttachments) Update

Update takes the representation of a networkInterfaceAttachment and updates it. Returns the server's representation of the networkInterfaceAttachment, and an error, if there is any.

func (*FakeNetworkInterfaceAttachments) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworkInterfaceAttachments) Watch

Watch returns a watch.Interface that watches the requested networkInterfaceAttachments.

type FakeNetworkInterfaces

type FakeNetworkInterfaces struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkInterfaces implements NetworkInterfaceInterface

func (*FakeNetworkInterfaces) Create

func (c *FakeNetworkInterfaces) Create(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.CreateOptions) (result *v1alpha1.NetworkInterface, err error)

Create takes the representation of a networkInterface and creates it. Returns the server's representation of the networkInterface, and an error, if there is any.

func (*FakeNetworkInterfaces) Delete

func (c *FakeNetworkInterfaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the networkInterface and deletes it. Returns an error if one occurs.

func (*FakeNetworkInterfaces) DeleteCollection

func (c *FakeNetworkInterfaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNetworkInterfaces) Get

func (c *FakeNetworkInterfaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkInterface, err error)

Get takes name of the networkInterface, and returns the corresponding networkInterface object, and an error if there is any.

func (*FakeNetworkInterfaces) List

List takes label and field selectors, and returns the list of NetworkInterfaces that match those selectors.

func (*FakeNetworkInterfaces) Patch

func (c *FakeNetworkInterfaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkInterface, err error)

Patch applies the patch and returns the patched networkInterface.

func (*FakeNetworkInterfaces) Update

func (c *FakeNetworkInterfaces) Update(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.UpdateOptions) (result *v1alpha1.NetworkInterface, err error)

Update takes the representation of a networkInterface and updates it. Returns the server's representation of the networkInterface, and an error, if there is any.

func (*FakeNetworkInterfaces) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNetworkInterfaces) Watch

Watch returns a watch.Interface that watches the requested networkInterfaces.

type FakePrefixLists added in v0.5.0

type FakePrefixLists struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakePrefixLists implements PrefixListInterface

func (*FakePrefixLists) Create added in v0.5.0

func (c *FakePrefixLists) Create(ctx context.Context, prefixList *v1alpha1.PrefixList, opts v1.CreateOptions) (result *v1alpha1.PrefixList, err error)

Create takes the representation of a prefixList and creates it. Returns the server's representation of the prefixList, and an error, if there is any.

func (*FakePrefixLists) Delete added in v0.5.0

func (c *FakePrefixLists) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the prefixList and deletes it. Returns an error if one occurs.

func (*FakePrefixLists) DeleteCollection added in v0.5.0

func (c *FakePrefixLists) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePrefixLists) Get added in v0.5.0

func (c *FakePrefixLists) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PrefixList, err error)

Get takes name of the prefixList, and returns the corresponding prefixList object, and an error if there is any.

func (*FakePrefixLists) List added in v0.5.0

func (c *FakePrefixLists) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PrefixListList, err error)

List takes label and field selectors, and returns the list of PrefixLists that match those selectors.

func (*FakePrefixLists) Patch added in v0.5.0

func (c *FakePrefixLists) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PrefixList, err error)

Patch applies the patch and returns the patched prefixList.

func (*FakePrefixLists) Update added in v0.5.0

func (c *FakePrefixLists) Update(ctx context.Context, prefixList *v1alpha1.PrefixList, opts v1.UpdateOptions) (result *v1alpha1.PrefixList, err error)

Update takes the representation of a prefixList and updates it. Returns the server's representation of the prefixList, and an error, if there is any.

func (*FakePrefixLists) UpdateStatus added in v0.5.0

func (c *FakePrefixLists) UpdateStatus(ctx context.Context, prefixList *v1alpha1.PrefixList, opts v1.UpdateOptions) (*v1alpha1.PrefixList, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePrefixLists) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested prefixLists.

type FakeSessionManagerStatuses added in v0.5.0

type FakeSessionManagerStatuses struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeSessionManagerStatuses implements SessionManagerStatusInterface

func (*FakeSessionManagerStatuses) Create added in v0.5.0

Create takes the representation of a sessionManagerStatus and creates it. Returns the server's representation of the sessionManagerStatus, and an error, if there is any.

func (*FakeSessionManagerStatuses) Delete added in v0.5.0

Delete takes name of the sessionManagerStatus and deletes it. Returns an error if one occurs.

func (*FakeSessionManagerStatuses) DeleteCollection added in v0.5.0

func (c *FakeSessionManagerStatuses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSessionManagerStatuses) Get added in v0.5.0

Get takes name of the sessionManagerStatus, and returns the corresponding sessionManagerStatus object, and an error if there is any.

func (*FakeSessionManagerStatuses) List added in v0.5.0

List takes label and field selectors, and returns the list of SessionManagerStatuses that match those selectors.

func (*FakeSessionManagerStatuses) Patch added in v0.5.0

func (c *FakeSessionManagerStatuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SessionManagerStatus, err error)

Patch applies the patch and returns the patched sessionManagerStatus.

func (*FakeSessionManagerStatuses) Update added in v0.5.0

Update takes the representation of a sessionManagerStatus and updates it. Returns the server's representation of the sessionManagerStatus, and an error, if there is any.

func (*FakeSessionManagerStatuses) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSessionManagerStatuses) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested sessionManagerStatuses.

type FakeSnapshots

type FakeSnapshots struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeSnapshots implements SnapshotInterface

func (*FakeSnapshots) Create

func (c *FakeSnapshots) Create(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.CreateOptions) (result *v1alpha1.Snapshot, err error)

Create takes the representation of a snapshot and creates it. Returns the server's representation of the snapshot, and an error, if there is any.

func (*FakeSnapshots) Delete

func (c *FakeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the snapshot and deletes it. Returns an error if one occurs.

func (*FakeSnapshots) DeleteCollection

func (c *FakeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSnapshots) Get

func (c *FakeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Snapshot, err error)

Get takes name of the snapshot, and returns the corresponding snapshot object, and an error if there is any.

func (*FakeSnapshots) List

func (c *FakeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SnapshotList, err error)

List takes label and field selectors, and returns the list of Snapshots that match those selectors.

func (*FakeSnapshots) Patch

func (c *FakeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Snapshot, err error)

Patch applies the patch and returns the patched snapshot.

func (*FakeSnapshots) Update

func (c *FakeSnapshots) Update(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (result *v1alpha1.Snapshot, err error)

Update takes the representation of a snapshot and updates it. Returns the server's representation of the snapshot, and an error, if there is any.

func (*FakeSnapshots) UpdateStatus

func (c *FakeSnapshots) UpdateStatus(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSnapshots) Watch

Watch returns a watch.Interface that watches the requested snapshots.

type FakeStorageCapacityUnits added in v0.5.0

type FakeStorageCapacityUnits struct {
	Fake *FakeEcsV1alpha1
	// contains filtered or unexported fields
}

FakeStorageCapacityUnits implements StorageCapacityUnitInterface

func (*FakeStorageCapacityUnits) Create added in v0.5.0

func (c *FakeStorageCapacityUnits) Create(ctx context.Context, storageCapacityUnit *v1alpha1.StorageCapacityUnit, opts v1.CreateOptions) (result *v1alpha1.StorageCapacityUnit, err error)

Create takes the representation of a storageCapacityUnit and creates it. Returns the server's representation of the storageCapacityUnit, and an error, if there is any.

func (*FakeStorageCapacityUnits) Delete added in v0.5.0

Delete takes name of the storageCapacityUnit and deletes it. Returns an error if one occurs.

func (*FakeStorageCapacityUnits) DeleteCollection added in v0.5.0

func (c *FakeStorageCapacityUnits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStorageCapacityUnits) Get added in v0.5.0

func (c *FakeStorageCapacityUnits) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StorageCapacityUnit, err error)

Get takes name of the storageCapacityUnit, and returns the corresponding storageCapacityUnit object, and an error if there is any.

func (*FakeStorageCapacityUnits) List added in v0.5.0

List takes label and field selectors, and returns the list of StorageCapacityUnits that match those selectors.

func (*FakeStorageCapacityUnits) Patch added in v0.5.0

func (c *FakeStorageCapacityUnits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StorageCapacityUnit, err error)

Patch applies the patch and returns the patched storageCapacityUnit.

func (*FakeStorageCapacityUnits) Update added in v0.5.0

func (c *FakeStorageCapacityUnits) Update(ctx context.Context, storageCapacityUnit *v1alpha1.StorageCapacityUnit, opts v1.UpdateOptions) (result *v1alpha1.StorageCapacityUnit, err error)

Update takes the representation of a storageCapacityUnit and updates it. Returns the server's representation of the storageCapacityUnit, and an error, if there is any.

func (*FakeStorageCapacityUnits) UpdateStatus added in v0.5.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeStorageCapacityUnits) Watch added in v0.5.0

Watch returns a watch.Interface that watches the requested storageCapacityUnits.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL