Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupBuckets
- func (c *FakeBackupBuckets) Create(ctx context.Context, backupBucket *v1alpha1.BackupBucket, ...) (result *v1alpha1.BackupBucket, err error)
- func (c *FakeBackupBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupBucket, err error)
- func (c *FakeBackupBuckets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupBucketList, err error)
- func (c *FakeBackupBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BackupBucket, err error)
- func (c *FakeBackupBuckets) Update(ctx context.Context, backupBucket *v1alpha1.BackupBucket, ...) (result *v1alpha1.BackupBucket, err error)
- func (c *FakeBackupBuckets) UpdateStatus(ctx context.Context, backupBucket *v1alpha1.BackupBucket, ...) (*v1alpha1.BackupBucket, error)
- func (c *FakeBackupBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupEntries
- func (c *FakeBackupEntries) Create(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.CreateOptions) (result *v1alpha1.BackupEntry, err error)
- func (c *FakeBackupEntries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupEntries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupEntries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupEntry, err error)
- func (c *FakeBackupEntries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupEntryList, err error)
- func (c *FakeBackupEntries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BackupEntry, err error)
- func (c *FakeBackupEntries) Update(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.UpdateOptions) (result *v1alpha1.BackupEntry, err error)
- func (c *FakeBackupEntries) UpdateStatus(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.UpdateOptions) (*v1alpha1.BackupEntry, error)
- func (c *FakeBackupEntries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBastions
- func (c *FakeBastions) Create(ctx context.Context, bastion *v1alpha1.Bastion, opts v1.CreateOptions) (result *v1alpha1.Bastion, err error)
- func (c *FakeBastions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBastions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBastions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bastion, err error)
- func (c *FakeBastions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BastionList, err error)
- func (c *FakeBastions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Bastion, err error)
- func (c *FakeBastions) Update(ctx context.Context, bastion *v1alpha1.Bastion, opts v1.UpdateOptions) (result *v1alpha1.Bastion, err error)
- func (c *FakeBastions) UpdateStatus(ctx context.Context, bastion *v1alpha1.Bastion, opts v1.UpdateOptions) (*v1alpha1.Bastion, error)
- func (c *FakeBastions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerRuntimes
- func (c *FakeContainerRuntimes) Create(ctx context.Context, containerRuntime *v1alpha1.ContainerRuntime, ...) (result *v1alpha1.ContainerRuntime, err error)
- func (c *FakeContainerRuntimes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerRuntimes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerRuntimes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerRuntime, err error)
- func (c *FakeContainerRuntimes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerRuntimeList, err error)
- func (c *FakeContainerRuntimes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ContainerRuntime, err error)
- func (c *FakeContainerRuntimes) Update(ctx context.Context, containerRuntime *v1alpha1.ContainerRuntime, ...) (result *v1alpha1.ContainerRuntime, err error)
- func (c *FakeContainerRuntimes) UpdateStatus(ctx context.Context, containerRuntime *v1alpha1.ContainerRuntime, ...) (*v1alpha1.ContainerRuntime, error)
- func (c *FakeContainerRuntimes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeControlPlanes
- func (c *FakeControlPlanes) Create(ctx context.Context, controlPlane *v1alpha1.ControlPlane, ...) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControlPlanes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ControlPlaneList, err error)
- func (c *FakeControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) Update(ctx context.Context, controlPlane *v1alpha1.ControlPlane, ...) (result *v1alpha1.ControlPlane, err error)
- func (c *FakeControlPlanes) UpdateStatus(ctx context.Context, controlPlane *v1alpha1.ControlPlane, ...) (*v1alpha1.ControlPlane, error)
- func (c *FakeControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDNSRecords
- func (c *FakeDNSRecords) Create(ctx context.Context, dNSRecord *v1alpha1.DNSRecord, opts v1.CreateOptions) (result *v1alpha1.DNSRecord, err error)
- func (c *FakeDNSRecords) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDNSRecords) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDNSRecords) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DNSRecord, err error)
- func (c *FakeDNSRecords) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DNSRecordList, err error)
- func (c *FakeDNSRecords) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DNSRecord, err error)
- func (c *FakeDNSRecords) Update(ctx context.Context, dNSRecord *v1alpha1.DNSRecord, opts v1.UpdateOptions) (result *v1alpha1.DNSRecord, err error)
- func (c *FakeDNSRecords) UpdateStatus(ctx context.Context, dNSRecord *v1alpha1.DNSRecord, opts v1.UpdateOptions) (*v1alpha1.DNSRecord, error)
- func (c *FakeDNSRecords) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExtensions
- func (c *FakeExtensions) Create(ctx context.Context, extension *v1alpha1.Extension, opts v1.CreateOptions) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExtensions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExtensions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExtensionList, err error)
- func (c *FakeExtensions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) Update(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) UpdateStatus(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (*v1alpha1.Extension, error)
- func (c *FakeExtensions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExtensionsV1alpha1
- func (c *FakeExtensionsV1alpha1) BackupBuckets() v1alpha1.BackupBucketInterface
- func (c *FakeExtensionsV1alpha1) BackupEntries() v1alpha1.BackupEntryInterface
- func (c *FakeExtensionsV1alpha1) Bastions(namespace string) v1alpha1.BastionInterface
- func (c *FakeExtensionsV1alpha1) Clusters() v1alpha1.ClusterInterface
- func (c *FakeExtensionsV1alpha1) ContainerRuntimes(namespace string) v1alpha1.ContainerRuntimeInterface
- func (c *FakeExtensionsV1alpha1) ControlPlanes(namespace string) v1alpha1.ControlPlaneInterface
- func (c *FakeExtensionsV1alpha1) DNSRecords(namespace string) v1alpha1.DNSRecordInterface
- func (c *FakeExtensionsV1alpha1) Extensions(namespace string) v1alpha1.ExtensionInterface
- func (c *FakeExtensionsV1alpha1) Infrastructures(namespace string) v1alpha1.InfrastructureInterface
- func (c *FakeExtensionsV1alpha1) Networks(namespace string) v1alpha1.NetworkInterface
- func (c *FakeExtensionsV1alpha1) OperatingSystemConfigs(namespace string) v1alpha1.OperatingSystemConfigInterface
- func (c *FakeExtensionsV1alpha1) RESTClient() rest.Interface
- func (c *FakeExtensionsV1alpha1) Workers(namespace string) v1alpha1.WorkerInterface
- type FakeInfrastructures
- func (c *FakeInfrastructures) Create(ctx context.Context, infrastructure *v1alpha1.Infrastructure, ...) (result *v1alpha1.Infrastructure, err error)
- func (c *FakeInfrastructures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInfrastructures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInfrastructures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Infrastructure, err error)
- func (c *FakeInfrastructures) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InfrastructureList, err error)
- func (c *FakeInfrastructures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Infrastructure, err error)
- func (c *FakeInfrastructures) Update(ctx context.Context, infrastructure *v1alpha1.Infrastructure, ...) (result *v1alpha1.Infrastructure, err error)
- func (c *FakeInfrastructures) UpdateStatus(ctx context.Context, infrastructure *v1alpha1.Infrastructure, ...) (*v1alpha1.Infrastructure, error)
- func (c *FakeInfrastructures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworks
- func (c *FakeNetworks) Create(ctx context.Context, network *v1alpha1.Network, opts v1.CreateOptions) (result *v1alpha1.Network, err error)
- func (c *FakeNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Network, err error)
- func (c *FakeNetworks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkList, err error)
- func (c *FakeNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Network, err error)
- func (c *FakeNetworks) Update(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (result *v1alpha1.Network, err error)
- func (c *FakeNetworks) UpdateStatus(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (*v1alpha1.Network, error)
- func (c *FakeNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOperatingSystemConfigs
- func (c *FakeOperatingSystemConfigs) Create(ctx context.Context, operatingSystemConfig *v1alpha1.OperatingSystemConfig, ...) (result *v1alpha1.OperatingSystemConfig, err error)
- func (c *FakeOperatingSystemConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOperatingSystemConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOperatingSystemConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OperatingSystemConfig, err error)
- func (c *FakeOperatingSystemConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OperatingSystemConfigList, err error)
- func (c *FakeOperatingSystemConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OperatingSystemConfig, err error)
- func (c *FakeOperatingSystemConfigs) Update(ctx context.Context, operatingSystemConfig *v1alpha1.OperatingSystemConfig, ...) (result *v1alpha1.OperatingSystemConfig, err error)
- func (c *FakeOperatingSystemConfigs) UpdateStatus(ctx context.Context, operatingSystemConfig *v1alpha1.OperatingSystemConfig, ...) (*v1alpha1.OperatingSystemConfig, error)
- func (c *FakeOperatingSystemConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkers
- func (c *FakeWorkers) Create(ctx context.Context, worker *v1alpha1.Worker, opts v1.CreateOptions) (result *v1alpha1.Worker, err error)
- func (c *FakeWorkers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Worker, err error)
- func (c *FakeWorkers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WorkerList, err error)
- func (c *FakeWorkers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Worker, err error)
- func (c *FakeWorkers) Update(ctx context.Context, worker *v1alpha1.Worker, opts v1.UpdateOptions) (result *v1alpha1.Worker, err error)
- func (c *FakeWorkers) UpdateStatus(ctx context.Context, worker *v1alpha1.Worker, opts v1.UpdateOptions) (*v1alpha1.Worker, error)
- func (c *FakeWorkers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackupBuckets ¶
type FakeBackupBuckets struct {
Fake *FakeExtensionsV1alpha1
}
FakeBackupBuckets implements BackupBucketInterface
func (*FakeBackupBuckets) Create ¶
func (c *FakeBackupBuckets) Create(ctx context.Context, backupBucket *v1alpha1.BackupBucket, opts v1.CreateOptions) (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 ¶
func (c *FakeBackupBuckets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupBucket and deletes it. Returns an error if one occurs.
func (*FakeBackupBuckets) DeleteCollection ¶
func (c *FakeBackupBuckets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupBuckets) Get ¶
func (c *FakeBackupBuckets) Get(ctx context.Context, 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 ¶
func (c *FakeBackupBuckets) List(ctx context.Context, 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 ¶
func (c *FakeBackupBuckets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackupBucket, err error)
Patch applies the patch and returns the patched backupBucket.
func (*FakeBackupBuckets) Update ¶
func (c *FakeBackupBuckets) Update(ctx context.Context, backupBucket *v1alpha1.BackupBucket, opts v1.UpdateOptions) (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 ¶
func (c *FakeBackupBuckets) UpdateStatus(ctx context.Context, backupBucket *v1alpha1.BackupBucket, opts v1.UpdateOptions) (*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 ¶
func (c *FakeBackupBuckets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupBuckets.
type FakeBackupEntries ¶
type FakeBackupEntries struct {
Fake *FakeExtensionsV1alpha1
}
FakeBackupEntries implements BackupEntryInterface
func (*FakeBackupEntries) Create ¶
func (c *FakeBackupEntries) Create(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.CreateOptions) (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 ¶
func (c *FakeBackupEntries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupEntry and deletes it. Returns an error if one occurs.
func (*FakeBackupEntries) DeleteCollection ¶
func (c *FakeBackupEntries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupEntries) Get ¶
func (c *FakeBackupEntries) Get(ctx context.Context, 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 ¶
func (c *FakeBackupEntries) List(ctx context.Context, 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 ¶
func (c *FakeBackupEntries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackupEntry, err error)
Patch applies the patch and returns the patched backupEntry.
func (*FakeBackupEntries) Update ¶
func (c *FakeBackupEntries) Update(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.UpdateOptions) (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 ¶
func (c *FakeBackupEntries) UpdateStatus(ctx context.Context, backupEntry *v1alpha1.BackupEntry, opts v1.UpdateOptions) (*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 ¶
func (c *FakeBackupEntries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupEntries.
type FakeBastions ¶ added in v1.22.0
type FakeBastions struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeBastions implements BastionInterface
func (*FakeBastions) Create ¶ added in v1.22.0
func (c *FakeBastions) Create(ctx context.Context, bastion *v1alpha1.Bastion, opts v1.CreateOptions) (result *v1alpha1.Bastion, err error)
Create takes the representation of a bastion and creates it. Returns the server's representation of the bastion, and an error, if there is any.
func (*FakeBastions) Delete ¶ added in v1.22.0
func (c *FakeBastions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bastion and deletes it. Returns an error if one occurs.
func (*FakeBastions) DeleteCollection ¶ added in v1.22.0
func (c *FakeBastions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBastions) Get ¶ added in v1.22.0
func (c *FakeBastions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bastion, err error)
Get takes name of the bastion, and returns the corresponding bastion object, and an error if there is any.
func (*FakeBastions) List ¶ added in v1.22.0
func (c *FakeBastions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BastionList, err error)
List takes label and field selectors, and returns the list of Bastions that match those selectors.
func (*FakeBastions) Patch ¶ added in v1.22.0
func (c *FakeBastions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Bastion, err error)
Patch applies the patch and returns the patched bastion.
func (*FakeBastions) Update ¶ added in v1.22.0
func (c *FakeBastions) Update(ctx context.Context, bastion *v1alpha1.Bastion, opts v1.UpdateOptions) (result *v1alpha1.Bastion, err error)
Update takes the representation of a bastion and updates it. Returns the server's representation of the bastion, and an error, if there is any.
func (*FakeBastions) UpdateStatus ¶ added in v1.22.0
func (c *FakeBastions) UpdateStatus(ctx context.Context, bastion *v1alpha1.Bastion, opts v1.UpdateOptions) (*v1alpha1.Bastion, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBastions) Watch ¶ added in v1.22.0
func (c *FakeBastions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bastions.
type FakeClusters ¶
type FakeClusters struct {
Fake *FakeExtensionsV1alpha1
}
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (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 ¶
func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(ctx context.Context, 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 ¶
func (c *FakeClusters) List(ctx context.Context, 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 ¶
func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (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 ¶
func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeContainerRuntimes ¶ added in v1.2.0
type FakeContainerRuntimes struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeContainerRuntimes implements ContainerRuntimeInterface
func (*FakeContainerRuntimes) Create ¶ added in v1.2.0
func (c *FakeContainerRuntimes) Create(ctx context.Context, containerRuntime *v1alpha1.ContainerRuntime, opts v1.CreateOptions) (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 ¶ added in v1.2.0
func (c *FakeContainerRuntimes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the containerRuntime and deletes it. Returns an error if one occurs.
func (*FakeContainerRuntimes) DeleteCollection ¶ added in v1.2.0
func (c *FakeContainerRuntimes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerRuntimes) Get ¶ added in v1.2.0
func (c *FakeContainerRuntimes) Get(ctx context.Context, 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 ¶ added in v1.2.0
func (c *FakeContainerRuntimes) List(ctx context.Context, 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 ¶ added in v1.2.0
func (c *FakeContainerRuntimes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContainerRuntime, err error)
Patch applies the patch and returns the patched containerRuntime.
func (*FakeContainerRuntimes) Update ¶ added in v1.2.0
func (c *FakeContainerRuntimes) Update(ctx context.Context, containerRuntime *v1alpha1.ContainerRuntime, opts v1.UpdateOptions) (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 ¶ added in v1.2.0
func (c *FakeContainerRuntimes) UpdateStatus(ctx context.Context, containerRuntime *v1alpha1.ContainerRuntime, opts v1.UpdateOptions) (*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 ¶ added in v1.2.0
func (c *FakeContainerRuntimes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerRuntimes.
type FakeControlPlanes ¶
type FakeControlPlanes struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeControlPlanes implements ControlPlaneInterface
func (*FakeControlPlanes) Create ¶
func (c *FakeControlPlanes) Create(ctx context.Context, controlPlane *v1alpha1.ControlPlane, opts v1.CreateOptions) (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 ¶
func (c *FakeControlPlanes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the controlPlane and deletes it. Returns an error if one occurs.
func (*FakeControlPlanes) DeleteCollection ¶
func (c *FakeControlPlanes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControlPlanes) Get ¶
func (c *FakeControlPlanes) Get(ctx context.Context, 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 ¶
func (c *FakeControlPlanes) List(ctx context.Context, 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 ¶
func (c *FakeControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ControlPlane, err error)
Patch applies the patch and returns the patched controlPlane.
func (*FakeControlPlanes) Update ¶
func (c *FakeControlPlanes) Update(ctx context.Context, controlPlane *v1alpha1.ControlPlane, opts v1.UpdateOptions) (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 ¶
func (c *FakeControlPlanes) UpdateStatus(ctx context.Context, controlPlane *v1alpha1.ControlPlane, opts v1.UpdateOptions) (*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 ¶
func (c *FakeControlPlanes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controlPlanes.
type FakeDNSRecords ¶ added in v1.27.0
type FakeDNSRecords struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeDNSRecords implements DNSRecordInterface
func (*FakeDNSRecords) Create ¶ added in v1.27.0
func (c *FakeDNSRecords) Create(ctx context.Context, dNSRecord *v1alpha1.DNSRecord, opts v1.CreateOptions) (result *v1alpha1.DNSRecord, err error)
Create takes the representation of a dNSRecord and creates it. Returns the server's representation of the dNSRecord, and an error, if there is any.
func (*FakeDNSRecords) Delete ¶ added in v1.27.0
func (c *FakeDNSRecords) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dNSRecord and deletes it. Returns an error if one occurs.
func (*FakeDNSRecords) DeleteCollection ¶ added in v1.27.0
func (c *FakeDNSRecords) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSRecords) Get ¶ added in v1.27.0
func (c *FakeDNSRecords) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DNSRecord, err error)
Get takes name of the dNSRecord, and returns the corresponding dNSRecord object, and an error if there is any.
func (*FakeDNSRecords) List ¶ added in v1.27.0
func (c *FakeDNSRecords) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DNSRecordList, err error)
List takes label and field selectors, and returns the list of DNSRecords that match those selectors.
func (*FakeDNSRecords) Patch ¶ added in v1.27.0
func (c *FakeDNSRecords) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DNSRecord, err error)
Patch applies the patch and returns the patched dNSRecord.
func (*FakeDNSRecords) Update ¶ added in v1.27.0
func (c *FakeDNSRecords) Update(ctx context.Context, dNSRecord *v1alpha1.DNSRecord, opts v1.UpdateOptions) (result *v1alpha1.DNSRecord, err error)
Update takes the representation of a dNSRecord and updates it. Returns the server's representation of the dNSRecord, and an error, if there is any.
func (*FakeDNSRecords) UpdateStatus ¶ added in v1.27.0
func (c *FakeDNSRecords) UpdateStatus(ctx context.Context, dNSRecord *v1alpha1.DNSRecord, opts v1.UpdateOptions) (*v1alpha1.DNSRecord, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSRecords) Watch ¶ added in v1.27.0
func (c *FakeDNSRecords) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSRecords.
type FakeExtensions ¶
type FakeExtensions struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeExtensions implements ExtensionInterface
func (*FakeExtensions) Create ¶
func (c *FakeExtensions) Create(ctx context.Context, extension *v1alpha1.Extension, opts v1.CreateOptions) (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 ¶
func (c *FakeExtensions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the extension and deletes it. Returns an error if one occurs.
func (*FakeExtensions) DeleteCollection ¶
func (c *FakeExtensions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExtensions) Get ¶
func (c *FakeExtensions) Get(ctx context.Context, 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 ¶
func (c *FakeExtensions) List(ctx context.Context, 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 ¶
func (c *FakeExtensions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Extension, err error)
Patch applies the patch and returns the patched extension.
func (*FakeExtensions) Update ¶
func (c *FakeExtensions) Update(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (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 ¶
func (c *FakeExtensions) UpdateStatus(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (*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 ¶
func (c *FakeExtensions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested extensions.
type FakeExtensionsV1alpha1 ¶
func (*FakeExtensionsV1alpha1) BackupBuckets ¶
func (c *FakeExtensionsV1alpha1) BackupBuckets() v1alpha1.BackupBucketInterface
func (*FakeExtensionsV1alpha1) BackupEntries ¶
func (c *FakeExtensionsV1alpha1) BackupEntries() v1alpha1.BackupEntryInterface
func (*FakeExtensionsV1alpha1) Bastions ¶ added in v1.22.0
func (c *FakeExtensionsV1alpha1) Bastions(namespace string) v1alpha1.BastionInterface
func (*FakeExtensionsV1alpha1) Clusters ¶
func (c *FakeExtensionsV1alpha1) Clusters() v1alpha1.ClusterInterface
func (*FakeExtensionsV1alpha1) ContainerRuntimes ¶ added in v1.2.0
func (c *FakeExtensionsV1alpha1) ContainerRuntimes(namespace string) v1alpha1.ContainerRuntimeInterface
func (*FakeExtensionsV1alpha1) ControlPlanes ¶
func (c *FakeExtensionsV1alpha1) ControlPlanes(namespace string) v1alpha1.ControlPlaneInterface
func (*FakeExtensionsV1alpha1) DNSRecords ¶ added in v1.27.0
func (c *FakeExtensionsV1alpha1) DNSRecords(namespace string) v1alpha1.DNSRecordInterface
func (*FakeExtensionsV1alpha1) Extensions ¶
func (c *FakeExtensionsV1alpha1) Extensions(namespace string) v1alpha1.ExtensionInterface
func (*FakeExtensionsV1alpha1) Infrastructures ¶
func (c *FakeExtensionsV1alpha1) Infrastructures(namespace string) v1alpha1.InfrastructureInterface
func (*FakeExtensionsV1alpha1) Networks ¶
func (c *FakeExtensionsV1alpha1) Networks(namespace string) v1alpha1.NetworkInterface
func (*FakeExtensionsV1alpha1) OperatingSystemConfigs ¶
func (c *FakeExtensionsV1alpha1) OperatingSystemConfigs(namespace string) v1alpha1.OperatingSystemConfigInterface
func (*FakeExtensionsV1alpha1) RESTClient ¶
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 ¶
func (c *FakeExtensionsV1alpha1) Workers(namespace string) v1alpha1.WorkerInterface
type FakeInfrastructures ¶
type FakeInfrastructures struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeInfrastructures implements InfrastructureInterface
func (*FakeInfrastructures) Create ¶
func (c *FakeInfrastructures) Create(ctx context.Context, infrastructure *v1alpha1.Infrastructure, opts v1.CreateOptions) (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 ¶
func (c *FakeInfrastructures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the infrastructure and deletes it. Returns an error if one occurs.
func (*FakeInfrastructures) DeleteCollection ¶
func (c *FakeInfrastructures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInfrastructures) Get ¶
func (c *FakeInfrastructures) Get(ctx context.Context, 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 ¶
func (c *FakeInfrastructures) List(ctx context.Context, 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 ¶
func (c *FakeInfrastructures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Infrastructure, err error)
Patch applies the patch and returns the patched infrastructure.
func (*FakeInfrastructures) Update ¶
func (c *FakeInfrastructures) Update(ctx context.Context, infrastructure *v1alpha1.Infrastructure, opts v1.UpdateOptions) (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 ¶
func (c *FakeInfrastructures) UpdateStatus(ctx context.Context, infrastructure *v1alpha1.Infrastructure, opts v1.UpdateOptions) (*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 ¶
func (c *FakeInfrastructures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested infrastructures.
type FakeNetworks ¶
type FakeNetworks struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeNetworks implements NetworkInterface
func (*FakeNetworks) Create ¶
func (c *FakeNetworks) Create(ctx context.Context, network *v1alpha1.Network, opts v1.CreateOptions) (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 ¶
func (c *FakeNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the network and deletes it. Returns an error if one occurs.
func (*FakeNetworks) DeleteCollection ¶
func (c *FakeNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworks) Get ¶
func (c *FakeNetworks) Get(ctx context.Context, 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 ¶
func (c *FakeNetworks) List(ctx context.Context, 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 ¶
func (c *FakeNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Network, err error)
Patch applies the patch and returns the patched network.
func (*FakeNetworks) Update ¶
func (c *FakeNetworks) Update(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (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 ¶
func (c *FakeNetworks) UpdateStatus(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (*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 ¶
func (c *FakeNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networks.
type FakeOperatingSystemConfigs ¶
type FakeOperatingSystemConfigs struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeOperatingSystemConfigs implements OperatingSystemConfigInterface
func (*FakeOperatingSystemConfigs) Create ¶
func (c *FakeOperatingSystemConfigs) Create(ctx context.Context, operatingSystemConfig *v1alpha1.OperatingSystemConfig, opts v1.CreateOptions) (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 ¶
func (c *FakeOperatingSystemConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the operatingSystemConfig and deletes it. Returns an error if one occurs.
func (*FakeOperatingSystemConfigs) DeleteCollection ¶
func (c *FakeOperatingSystemConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOperatingSystemConfigs) Get ¶
func (c *FakeOperatingSystemConfigs) Get(ctx context.Context, 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 ¶
func (c *FakeOperatingSystemConfigs) List(ctx context.Context, 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 ¶
func (c *FakeOperatingSystemConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OperatingSystemConfig, err error)
Patch applies the patch and returns the patched operatingSystemConfig.
func (*FakeOperatingSystemConfigs) Update ¶
func (c *FakeOperatingSystemConfigs) Update(ctx context.Context, operatingSystemConfig *v1alpha1.OperatingSystemConfig, opts v1.UpdateOptions) (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 ¶
func (c *FakeOperatingSystemConfigs) UpdateStatus(ctx context.Context, operatingSystemConfig *v1alpha1.OperatingSystemConfig, opts v1.UpdateOptions) (*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 ¶
func (c *FakeOperatingSystemConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested operatingSystemConfigs.
type FakeWorkers ¶
type FakeWorkers struct { Fake *FakeExtensionsV1alpha1 // contains filtered or unexported fields }
FakeWorkers implements WorkerInterface
func (*FakeWorkers) Create ¶
func (c *FakeWorkers) Create(ctx context.Context, worker *v1alpha1.Worker, opts v1.CreateOptions) (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 ¶
func (c *FakeWorkers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the worker and deletes it. Returns an error if one occurs.
func (*FakeWorkers) DeleteCollection ¶
func (c *FakeWorkers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkers) Get ¶
func (c *FakeWorkers) Get(ctx context.Context, 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 ¶
func (c *FakeWorkers) List(ctx context.Context, 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 ¶
func (c *FakeWorkers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Worker, err error)
Patch applies the patch and returns the patched worker.
func (*FakeWorkers) Update ¶
func (c *FakeWorkers) Update(ctx context.Context, worker *v1alpha1.Worker, opts v1.UpdateOptions) (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 ¶
func (c *FakeWorkers) UpdateStatus(ctx context.Context, worker *v1alpha1.Worker, opts v1.UpdateOptions) (*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 ¶
func (c *FakeWorkers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workers.