gardener: github.com/gardener/gardener/pkg/client/extensions/clientset/versioned/typed/extensions/v1alpha1/fake Index | Files

package fake

import "github.com/gardener/gardener/pkg/client/extensions/clientset/versioned/typed/extensions/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_backupbucket.go fake_backupentry.go fake_cluster.go fake_containerruntime.go fake_controlplane.go fake_extension.go fake_extensions_client.go fake_infrastructure.go fake_network.go fake_operatingsystemconfig.go fake_worker.go

type FakeBackupBuckets Uses

type FakeBackupBuckets struct {
    Fake *FakeExtensionsV1alpha1
}

FakeBackupBuckets implements BackupBucketInterface

func (*FakeBackupBuckets) Create Uses

func (c *FakeBackupBuckets) Create(backupBucket *v1alpha1.BackupBucket) (result *v1alpha1.BackupBucket, err error)

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

func (*FakeBackupBuckets) Delete Uses

func (c *FakeBackupBuckets) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBackupBuckets) DeleteCollection Uses

func (c *FakeBackupBuckets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupBuckets) Get Uses

func (c *FakeBackupBuckets) Get(name string, options v1.GetOptions) (result *v1alpha1.BackupBucket, err error)

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

func (*FakeBackupBuckets) List Uses

func (c *FakeBackupBuckets) List(opts v1.ListOptions) (result *v1alpha1.BackupBucketList, err error)

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

func (*FakeBackupBuckets) Patch Uses

func (c *FakeBackupBuckets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupBucket, err error)

Patch applies the patch and returns the patched backupBucket.

func (*FakeBackupBuckets) Update Uses

func (c *FakeBackupBuckets) Update(backupBucket *v1alpha1.BackupBucket) (result *v1alpha1.BackupBucket, err error)

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

func (*FakeBackupBuckets) UpdateStatus Uses

func (c *FakeBackupBuckets) UpdateStatus(backupBucket *v1alpha1.BackupBucket) (*v1alpha1.BackupBucket, error)

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

func (*FakeBackupBuckets) Watch Uses

func (c *FakeBackupBuckets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeBackupEntries Uses

type FakeBackupEntries struct {
    Fake *FakeExtensionsV1alpha1
}

FakeBackupEntries implements BackupEntryInterface

func (*FakeBackupEntries) Create Uses

func (c *FakeBackupEntries) Create(backupEntry *v1alpha1.BackupEntry) (result *v1alpha1.BackupEntry, err error)

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

func (*FakeBackupEntries) Delete Uses

func (c *FakeBackupEntries) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBackupEntries) DeleteCollection Uses

func (c *FakeBackupEntries) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupEntries) Get Uses

func (c *FakeBackupEntries) Get(name string, options v1.GetOptions) (result *v1alpha1.BackupEntry, err error)

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

func (*FakeBackupEntries) List Uses

func (c *FakeBackupEntries) List(opts v1.ListOptions) (result *v1alpha1.BackupEntryList, err error)

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

func (*FakeBackupEntries) Patch Uses

func (c *FakeBackupEntries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupEntry, err error)

Patch applies the patch and returns the patched backupEntry.

func (*FakeBackupEntries) Update Uses

func (c *FakeBackupEntries) Update(backupEntry *v1alpha1.BackupEntry) (result *v1alpha1.BackupEntry, err error)

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

func (*FakeBackupEntries) UpdateStatus Uses

func (c *FakeBackupEntries) UpdateStatus(backupEntry *v1alpha1.BackupEntry) (*v1alpha1.BackupEntry, error)

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

func (*FakeBackupEntries) Watch Uses

func (c *FakeBackupEntries) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeClusters Uses

type FakeClusters struct {
    Fake *FakeExtensionsV1alpha1
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create Uses

func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)

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

func (*FakeClusters) Delete Uses

func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeClusters) DeleteCollection Uses

func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusters) Get Uses

func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)

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

func (*FakeClusters) List Uses

func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)

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

func (*FakeClusters) Patch Uses

func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update Uses

func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)

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

func (*FakeClusters) Watch Uses

func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeContainerRuntimes Uses

type FakeContainerRuntimes struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeContainerRuntimes implements ContainerRuntimeInterface

func (*FakeContainerRuntimes) Create Uses

func (c *FakeContainerRuntimes) Create(containerRuntime *v1alpha1.ContainerRuntime) (result *v1alpha1.ContainerRuntime, err error)

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

func (*FakeContainerRuntimes) Delete Uses

func (c *FakeContainerRuntimes) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeContainerRuntimes) DeleteCollection Uses

func (c *FakeContainerRuntimes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeContainerRuntimes) Get Uses

func (c *FakeContainerRuntimes) Get(name string, options v1.GetOptions) (result *v1alpha1.ContainerRuntime, err error)

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

func (*FakeContainerRuntimes) List Uses

func (c *FakeContainerRuntimes) List(opts v1.ListOptions) (result *v1alpha1.ContainerRuntimeList, err error)

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

func (*FakeContainerRuntimes) Patch Uses

func (c *FakeContainerRuntimes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ContainerRuntime, err error)

Patch applies the patch and returns the patched containerRuntime.

func (*FakeContainerRuntimes) Update Uses

func (c *FakeContainerRuntimes) Update(containerRuntime *v1alpha1.ContainerRuntime) (result *v1alpha1.ContainerRuntime, err error)

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

func (*FakeContainerRuntimes) UpdateStatus Uses

func (c *FakeContainerRuntimes) UpdateStatus(containerRuntime *v1alpha1.ContainerRuntime) (*v1alpha1.ContainerRuntime, error)

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

func (*FakeContainerRuntimes) Watch Uses

func (c *FakeContainerRuntimes) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeControlPlanes Uses

type FakeControlPlanes struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeControlPlanes implements ControlPlaneInterface

func (*FakeControlPlanes) Create Uses

func (c *FakeControlPlanes) Create(controlPlane *v1alpha1.ControlPlane) (result *v1alpha1.ControlPlane, err error)

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

func (*FakeControlPlanes) Delete Uses

func (c *FakeControlPlanes) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeControlPlanes) DeleteCollection Uses

func (c *FakeControlPlanes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeControlPlanes) Get Uses

func (c *FakeControlPlanes) Get(name string, options v1.GetOptions) (result *v1alpha1.ControlPlane, err error)

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

func (*FakeControlPlanes) List Uses

func (c *FakeControlPlanes) List(opts v1.ListOptions) (result *v1alpha1.ControlPlaneList, err error)

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

func (*FakeControlPlanes) Patch Uses

func (c *FakeControlPlanes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ControlPlane, err error)

Patch applies the patch and returns the patched controlPlane.

func (*FakeControlPlanes) Update Uses

func (c *FakeControlPlanes) Update(controlPlane *v1alpha1.ControlPlane) (result *v1alpha1.ControlPlane, err error)

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

func (*FakeControlPlanes) UpdateStatus Uses

func (c *FakeControlPlanes) UpdateStatus(controlPlane *v1alpha1.ControlPlane) (*v1alpha1.ControlPlane, error)

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

func (*FakeControlPlanes) Watch Uses

func (c *FakeControlPlanes) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeExtensions Uses

type FakeExtensions struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeExtensions implements ExtensionInterface

func (*FakeExtensions) Create Uses

func (c *FakeExtensions) Create(extension *v1alpha1.Extension) (result *v1alpha1.Extension, err error)

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

func (*FakeExtensions) Delete Uses

func (c *FakeExtensions) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeExtensions) DeleteCollection Uses

func (c *FakeExtensions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeExtensions) Get Uses

func (c *FakeExtensions) Get(name string, options v1.GetOptions) (result *v1alpha1.Extension, err error)

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

func (*FakeExtensions) List Uses

func (c *FakeExtensions) List(opts v1.ListOptions) (result *v1alpha1.ExtensionList, err error)

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

func (*FakeExtensions) Patch Uses

func (c *FakeExtensions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Extension, err error)

Patch applies the patch and returns the patched extension.

func (*FakeExtensions) Update Uses

func (c *FakeExtensions) Update(extension *v1alpha1.Extension) (result *v1alpha1.Extension, err error)

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

func (*FakeExtensions) UpdateStatus Uses

func (c *FakeExtensions) UpdateStatus(extension *v1alpha1.Extension) (*v1alpha1.Extension, error)

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

func (*FakeExtensions) Watch Uses

func (c *FakeExtensions) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeExtensionsV1alpha1 Uses

type FakeExtensionsV1alpha1 struct {
    *testing.Fake
}

func (*FakeExtensionsV1alpha1) BackupBuckets Uses

func (c *FakeExtensionsV1alpha1) BackupBuckets() v1alpha1.BackupBucketInterface

func (*FakeExtensionsV1alpha1) BackupEntries Uses

func (c *FakeExtensionsV1alpha1) BackupEntries() v1alpha1.BackupEntryInterface

func (*FakeExtensionsV1alpha1) Clusters Uses

func (c *FakeExtensionsV1alpha1) Clusters() v1alpha1.ClusterInterface

func (*FakeExtensionsV1alpha1) ContainerRuntimes Uses

func (c *FakeExtensionsV1alpha1) ContainerRuntimes(namespace string) v1alpha1.ContainerRuntimeInterface

func (*FakeExtensionsV1alpha1) ControlPlanes Uses

func (c *FakeExtensionsV1alpha1) ControlPlanes(namespace string) v1alpha1.ControlPlaneInterface

func (*FakeExtensionsV1alpha1) Extensions Uses

func (c *FakeExtensionsV1alpha1) Extensions(namespace string) v1alpha1.ExtensionInterface

func (*FakeExtensionsV1alpha1) Infrastructures Uses

func (c *FakeExtensionsV1alpha1) Infrastructures(namespace string) v1alpha1.InfrastructureInterface

func (*FakeExtensionsV1alpha1) Networks Uses

func (c *FakeExtensionsV1alpha1) Networks(namespace string) v1alpha1.NetworkInterface

func (*FakeExtensionsV1alpha1) OperatingSystemConfigs Uses

func (c *FakeExtensionsV1alpha1) OperatingSystemConfigs(namespace string) v1alpha1.OperatingSystemConfigInterface

func (*FakeExtensionsV1alpha1) RESTClient Uses

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

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

func (*FakeExtensionsV1alpha1) Workers Uses

func (c *FakeExtensionsV1alpha1) Workers(namespace string) v1alpha1.WorkerInterface

type FakeInfrastructures Uses

type FakeInfrastructures struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeInfrastructures implements InfrastructureInterface

func (*FakeInfrastructures) Create Uses

func (c *FakeInfrastructures) Create(infrastructure *v1alpha1.Infrastructure) (result *v1alpha1.Infrastructure, err error)

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

func (*FakeInfrastructures) Delete Uses

func (c *FakeInfrastructures) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeInfrastructures) DeleteCollection Uses

func (c *FakeInfrastructures) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeInfrastructures) Get Uses

func (c *FakeInfrastructures) Get(name string, options v1.GetOptions) (result *v1alpha1.Infrastructure, err error)

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

func (*FakeInfrastructures) List Uses

func (c *FakeInfrastructures) List(opts v1.ListOptions) (result *v1alpha1.InfrastructureList, err error)

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

func (*FakeInfrastructures) Patch Uses

func (c *FakeInfrastructures) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Infrastructure, err error)

Patch applies the patch and returns the patched infrastructure.

func (*FakeInfrastructures) Update Uses

func (c *FakeInfrastructures) Update(infrastructure *v1alpha1.Infrastructure) (result *v1alpha1.Infrastructure, err error)

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

func (*FakeInfrastructures) UpdateStatus Uses

func (c *FakeInfrastructures) UpdateStatus(infrastructure *v1alpha1.Infrastructure) (*v1alpha1.Infrastructure, error)

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

func (*FakeInfrastructures) Watch Uses

func (c *FakeInfrastructures) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeNetworks Uses

type FakeNetworks struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeNetworks implements NetworkInterface

func (*FakeNetworks) Create Uses

func (c *FakeNetworks) Create(network *v1alpha1.Network) (result *v1alpha1.Network, err error)

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

func (*FakeNetworks) Delete Uses

func (c *FakeNetworks) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeNetworks) DeleteCollection Uses

func (c *FakeNetworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNetworks) Get Uses

func (c *FakeNetworks) Get(name string, options v1.GetOptions) (result *v1alpha1.Network, err error)

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

func (*FakeNetworks) List Uses

func (c *FakeNetworks) List(opts v1.ListOptions) (result *v1alpha1.NetworkList, err error)

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

func (*FakeNetworks) Patch Uses

func (c *FakeNetworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Network, err error)

Patch applies the patch and returns the patched network.

func (*FakeNetworks) Update Uses

func (c *FakeNetworks) Update(network *v1alpha1.Network) (result *v1alpha1.Network, err error)

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

func (*FakeNetworks) UpdateStatus Uses

func (c *FakeNetworks) UpdateStatus(network *v1alpha1.Network) (*v1alpha1.Network, error)

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

func (*FakeNetworks) Watch Uses

func (c *FakeNetworks) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeOperatingSystemConfigs Uses

type FakeOperatingSystemConfigs struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeOperatingSystemConfigs implements OperatingSystemConfigInterface

func (*FakeOperatingSystemConfigs) Create Uses

func (c *FakeOperatingSystemConfigs) Create(operatingSystemConfig *v1alpha1.OperatingSystemConfig) (result *v1alpha1.OperatingSystemConfig, err error)

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

func (*FakeOperatingSystemConfigs) Delete Uses

func (c *FakeOperatingSystemConfigs) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeOperatingSystemConfigs) DeleteCollection Uses

func (c *FakeOperatingSystemConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOperatingSystemConfigs) Get Uses

func (c *FakeOperatingSystemConfigs) Get(name string, options v1.GetOptions) (result *v1alpha1.OperatingSystemConfig, err error)

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

func (*FakeOperatingSystemConfigs) List Uses

func (c *FakeOperatingSystemConfigs) List(opts v1.ListOptions) (result *v1alpha1.OperatingSystemConfigList, err error)

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

func (*FakeOperatingSystemConfigs) Patch Uses

func (c *FakeOperatingSystemConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.OperatingSystemConfig, err error)

Patch applies the patch and returns the patched operatingSystemConfig.

func (*FakeOperatingSystemConfigs) Update Uses

func (c *FakeOperatingSystemConfigs) Update(operatingSystemConfig *v1alpha1.OperatingSystemConfig) (result *v1alpha1.OperatingSystemConfig, err error)

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

func (*FakeOperatingSystemConfigs) UpdateStatus Uses

func (c *FakeOperatingSystemConfigs) UpdateStatus(operatingSystemConfig *v1alpha1.OperatingSystemConfig) (*v1alpha1.OperatingSystemConfig, error)

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

func (*FakeOperatingSystemConfigs) Watch Uses

func (c *FakeOperatingSystemConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeWorkers Uses

type FakeWorkers struct {
    Fake *FakeExtensionsV1alpha1
    // contains filtered or unexported fields
}

FakeWorkers implements WorkerInterface

func (*FakeWorkers) Create Uses

func (c *FakeWorkers) Create(worker *v1alpha1.Worker) (result *v1alpha1.Worker, err error)

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

func (*FakeWorkers) Delete Uses

func (c *FakeWorkers) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeWorkers) DeleteCollection Uses

func (c *FakeWorkers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeWorkers) Get Uses

func (c *FakeWorkers) Get(name string, options v1.GetOptions) (result *v1alpha1.Worker, err error)

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

func (*FakeWorkers) List Uses

func (c *FakeWorkers) List(opts v1.ListOptions) (result *v1alpha1.WorkerList, err error)

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

func (*FakeWorkers) Patch Uses

func (c *FakeWorkers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Worker, err error)

Patch applies the patch and returns the patched worker.

func (*FakeWorkers) Update Uses

func (c *FakeWorkers) Update(worker *v1alpha1.Worker) (result *v1alpha1.Worker, err error)

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

func (*FakeWorkers) UpdateStatus Uses

func (c *FakeWorkers) UpdateStatus(worker *v1alpha1.Worker) (*v1alpha1.Worker, error)

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

func (*FakeWorkers) Watch Uses

func (c *FakeWorkers) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2020-04-07. Refresh now. Tools for package owners.