fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 9 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 FakeCheckpoints

type FakeCheckpoints struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeCheckpoints implements CheckpointInterface

func (*FakeCheckpoints) Create

func (c *FakeCheckpoints) Create(checkpoint *hivev1.Checkpoint) (result *hivev1.Checkpoint, err error)

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

func (*FakeCheckpoints) Delete

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

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

func (*FakeCheckpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCheckpoints) Get

func (c *FakeCheckpoints) Get(name string, options v1.GetOptions) (result *hivev1.Checkpoint, err error)

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

func (*FakeCheckpoints) List

func (c *FakeCheckpoints) List(opts v1.ListOptions) (result *hivev1.CheckpointList, err error)

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

func (*FakeCheckpoints) Patch

func (c *FakeCheckpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.Checkpoint, err error)

Patch applies the patch and returns the patched checkpoint.

func (*FakeCheckpoints) Update

func (c *FakeCheckpoints) Update(checkpoint *hivev1.Checkpoint) (result *hivev1.Checkpoint, err error)

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

func (*FakeCheckpoints) UpdateStatus

func (c *FakeCheckpoints) UpdateStatus(checkpoint *hivev1.Checkpoint) (*hivev1.Checkpoint, error)

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

func (*FakeCheckpoints) Watch

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

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

type FakeClusterDeployments

type FakeClusterDeployments struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeClusterDeployments implements ClusterDeploymentInterface

func (*FakeClusterDeployments) Create

func (c *FakeClusterDeployments) Create(clusterDeployment *hivev1.ClusterDeployment) (result *hivev1.ClusterDeployment, err error)

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

func (*FakeClusterDeployments) Delete

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

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

func (*FakeClusterDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterDeployments) Get

func (c *FakeClusterDeployments) Get(name string, options v1.GetOptions) (result *hivev1.ClusterDeployment, err error)

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

func (*FakeClusterDeployments) List

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

func (*FakeClusterDeployments) Patch

func (c *FakeClusterDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.ClusterDeployment, err error)

Patch applies the patch and returns the patched clusterDeployment.

func (*FakeClusterDeployments) Update

func (c *FakeClusterDeployments) Update(clusterDeployment *hivev1.ClusterDeployment) (result *hivev1.ClusterDeployment, err error)

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

func (*FakeClusterDeployments) UpdateStatus

func (c *FakeClusterDeployments) UpdateStatus(clusterDeployment *hivev1.ClusterDeployment) (*hivev1.ClusterDeployment, error)

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

func (*FakeClusterDeployments) Watch

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

type FakeClusterDeprovisions

type FakeClusterDeprovisions struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeClusterDeprovisions implements ClusterDeprovisionInterface

func (*FakeClusterDeprovisions) Create

func (c *FakeClusterDeprovisions) Create(clusterDeprovision *hivev1.ClusterDeprovision) (result *hivev1.ClusterDeprovision, err error)

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

func (*FakeClusterDeprovisions) Delete

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

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

func (*FakeClusterDeprovisions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterDeprovisions) Get

func (c *FakeClusterDeprovisions) Get(name string, options v1.GetOptions) (result *hivev1.ClusterDeprovision, err error)

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

func (*FakeClusterDeprovisions) List

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

func (*FakeClusterDeprovisions) Patch

func (c *FakeClusterDeprovisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.ClusterDeprovision, err error)

Patch applies the patch and returns the patched clusterDeprovision.

func (*FakeClusterDeprovisions) Update

func (c *FakeClusterDeprovisions) Update(clusterDeprovision *hivev1.ClusterDeprovision) (result *hivev1.ClusterDeprovision, err error)

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

func (*FakeClusterDeprovisions) UpdateStatus

func (c *FakeClusterDeprovisions) UpdateStatus(clusterDeprovision *hivev1.ClusterDeprovision) (*hivev1.ClusterDeprovision, error)

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

func (*FakeClusterDeprovisions) Watch

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

type FakeClusterImageSets

type FakeClusterImageSets struct {
	Fake *FakeHiveV1
}

FakeClusterImageSets implements ClusterImageSetInterface

func (*FakeClusterImageSets) Create

func (c *FakeClusterImageSets) Create(clusterImageSet *hivev1.ClusterImageSet) (result *hivev1.ClusterImageSet, err error)

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

func (*FakeClusterImageSets) Delete

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

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

func (*FakeClusterImageSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterImageSets) Get

func (c *FakeClusterImageSets) Get(name string, options v1.GetOptions) (result *hivev1.ClusterImageSet, err error)

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

func (*FakeClusterImageSets) List

func (c *FakeClusterImageSets) List(opts v1.ListOptions) (result *hivev1.ClusterImageSetList, err error)

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

func (*FakeClusterImageSets) Patch

func (c *FakeClusterImageSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.ClusterImageSet, err error)

Patch applies the patch and returns the patched clusterImageSet.

func (*FakeClusterImageSets) Update

func (c *FakeClusterImageSets) Update(clusterImageSet *hivev1.ClusterImageSet) (result *hivev1.ClusterImageSet, err error)

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

func (*FakeClusterImageSets) UpdateStatus

func (c *FakeClusterImageSets) UpdateStatus(clusterImageSet *hivev1.ClusterImageSet) (*hivev1.ClusterImageSet, error)

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

func (*FakeClusterImageSets) Watch

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

type FakeClusterProvisions

type FakeClusterProvisions struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeClusterProvisions implements ClusterProvisionInterface

func (*FakeClusterProvisions) Create

func (c *FakeClusterProvisions) Create(clusterProvision *hivev1.ClusterProvision) (result *hivev1.ClusterProvision, err error)

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

func (*FakeClusterProvisions) Delete

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

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

func (*FakeClusterProvisions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterProvisions) Get

func (c *FakeClusterProvisions) Get(name string, options v1.GetOptions) (result *hivev1.ClusterProvision, err error)

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

func (*FakeClusterProvisions) List

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

func (*FakeClusterProvisions) Patch

func (c *FakeClusterProvisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.ClusterProvision, err error)

Patch applies the patch and returns the patched clusterProvision.

func (*FakeClusterProvisions) Update

func (c *FakeClusterProvisions) Update(clusterProvision *hivev1.ClusterProvision) (result *hivev1.ClusterProvision, err error)

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

func (*FakeClusterProvisions) UpdateStatus

func (c *FakeClusterProvisions) UpdateStatus(clusterProvision *hivev1.ClusterProvision) (*hivev1.ClusterProvision, error)

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

func (*FakeClusterProvisions) Watch

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

type FakeClusterStates

type FakeClusterStates struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeClusterStates implements ClusterStateInterface

func (*FakeClusterStates) Create

func (c *FakeClusterStates) Create(clusterState *hivev1.ClusterState) (result *hivev1.ClusterState, err error)

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

func (*FakeClusterStates) Delete

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

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

func (*FakeClusterStates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterStates) Get

func (c *FakeClusterStates) Get(name string, options v1.GetOptions) (result *hivev1.ClusterState, err error)

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

func (*FakeClusterStates) List

func (c *FakeClusterStates) List(opts v1.ListOptions) (result *hivev1.ClusterStateList, err error)

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

func (*FakeClusterStates) Patch

func (c *FakeClusterStates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.ClusterState, err error)

Patch applies the patch and returns the patched clusterState.

func (*FakeClusterStates) Update

func (c *FakeClusterStates) Update(clusterState *hivev1.ClusterState) (result *hivev1.ClusterState, err error)

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

func (*FakeClusterStates) UpdateStatus

func (c *FakeClusterStates) UpdateStatus(clusterState *hivev1.ClusterState) (*hivev1.ClusterState, error)

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

func (*FakeClusterStates) Watch

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

type FakeDNSZones

type FakeDNSZones struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeDNSZones implements DNSZoneInterface

func (*FakeDNSZones) Create

func (c *FakeDNSZones) Create(dNSZone *hivev1.DNSZone) (result *hivev1.DNSZone, err error)

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

func (*FakeDNSZones) Delete

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

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

func (*FakeDNSZones) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDNSZones) Get

func (c *FakeDNSZones) Get(name string, options v1.GetOptions) (result *hivev1.DNSZone, err error)

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

func (*FakeDNSZones) List

func (c *FakeDNSZones) List(opts v1.ListOptions) (result *hivev1.DNSZoneList, err error)

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

func (*FakeDNSZones) Patch

func (c *FakeDNSZones) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.DNSZone, err error)

Patch applies the patch and returns the patched dNSZone.

func (*FakeDNSZones) Update

func (c *FakeDNSZones) Update(dNSZone *hivev1.DNSZone) (result *hivev1.DNSZone, err error)

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

func (*FakeDNSZones) UpdateStatus

func (c *FakeDNSZones) UpdateStatus(dNSZone *hivev1.DNSZone) (*hivev1.DNSZone, error)

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

func (*FakeDNSZones) Watch

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

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

type FakeHiveConfigs

type FakeHiveConfigs struct {
	Fake *FakeHiveV1
}

FakeHiveConfigs implements HiveConfigInterface

func (*FakeHiveConfigs) Create

func (c *FakeHiveConfigs) Create(hiveConfig *hivev1.HiveConfig) (result *hivev1.HiveConfig, err error)

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

func (*FakeHiveConfigs) Delete

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

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

func (*FakeHiveConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHiveConfigs) Get

func (c *FakeHiveConfigs) Get(name string, options v1.GetOptions) (result *hivev1.HiveConfig, err error)

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

func (*FakeHiveConfigs) List

func (c *FakeHiveConfigs) List(opts v1.ListOptions) (result *hivev1.HiveConfigList, err error)

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

func (*FakeHiveConfigs) Patch

func (c *FakeHiveConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.HiveConfig, err error)

Patch applies the patch and returns the patched hiveConfig.

func (*FakeHiveConfigs) Update

func (c *FakeHiveConfigs) Update(hiveConfig *hivev1.HiveConfig) (result *hivev1.HiveConfig, err error)

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

func (*FakeHiveConfigs) UpdateStatus

func (c *FakeHiveConfigs) UpdateStatus(hiveConfig *hivev1.HiveConfig) (*hivev1.HiveConfig, error)

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

func (*FakeHiveConfigs) Watch

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

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

type FakeHiveV1

type FakeHiveV1 struct {
	*testing.Fake
}

func (*FakeHiveV1) Checkpoints

func (c *FakeHiveV1) Checkpoints(namespace string) v1.CheckpointInterface

func (*FakeHiveV1) ClusterDeployments

func (c *FakeHiveV1) ClusterDeployments(namespace string) v1.ClusterDeploymentInterface

func (*FakeHiveV1) ClusterDeprovisions

func (c *FakeHiveV1) ClusterDeprovisions(namespace string) v1.ClusterDeprovisionInterface

func (*FakeHiveV1) ClusterImageSets

func (c *FakeHiveV1) ClusterImageSets() v1.ClusterImageSetInterface

func (*FakeHiveV1) ClusterProvisions

func (c *FakeHiveV1) ClusterProvisions(namespace string) v1.ClusterProvisionInterface

func (*FakeHiveV1) ClusterStates

func (c *FakeHiveV1) ClusterStates(namespace string) v1.ClusterStateInterface

func (*FakeHiveV1) DNSZones

func (c *FakeHiveV1) DNSZones(namespace string) v1.DNSZoneInterface

func (*FakeHiveV1) HiveConfigs

func (c *FakeHiveV1) HiveConfigs() v1.HiveConfigInterface

func (*FakeHiveV1) MachinePoolNameLeases

func (c *FakeHiveV1) MachinePoolNameLeases(namespace string) v1.MachinePoolNameLeaseInterface

func (*FakeHiveV1) MachinePools

func (c *FakeHiveV1) MachinePools(namespace string) v1.MachinePoolInterface

func (*FakeHiveV1) RESTClient

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

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

func (*FakeHiveV1) SelectorSyncIdentityProviders

func (c *FakeHiveV1) SelectorSyncIdentityProviders() v1.SelectorSyncIdentityProviderInterface

func (*FakeHiveV1) SelectorSyncSets

func (c *FakeHiveV1) SelectorSyncSets() v1.SelectorSyncSetInterface

func (*FakeHiveV1) SyncIdentityProviders

func (c *FakeHiveV1) SyncIdentityProviders(namespace string) v1.SyncIdentityProviderInterface

func (*FakeHiveV1) SyncSetInstances

func (c *FakeHiveV1) SyncSetInstances(namespace string) v1.SyncSetInstanceInterface

func (*FakeHiveV1) SyncSets

func (c *FakeHiveV1) SyncSets(namespace string) v1.SyncSetInterface

type FakeMachinePoolNameLeases

type FakeMachinePoolNameLeases struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeMachinePoolNameLeases implements MachinePoolNameLeaseInterface

func (*FakeMachinePoolNameLeases) Create

func (c *FakeMachinePoolNameLeases) Create(machinePoolNameLease *hivev1.MachinePoolNameLease) (result *hivev1.MachinePoolNameLease, err error)

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

func (*FakeMachinePoolNameLeases) Delete

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

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

func (*FakeMachinePoolNameLeases) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachinePoolNameLeases) Get

func (c *FakeMachinePoolNameLeases) Get(name string, options v1.GetOptions) (result *hivev1.MachinePoolNameLease, err error)

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

func (*FakeMachinePoolNameLeases) List

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

func (*FakeMachinePoolNameLeases) Patch

func (c *FakeMachinePoolNameLeases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.MachinePoolNameLease, err error)

Patch applies the patch and returns the patched machinePoolNameLease.

func (*FakeMachinePoolNameLeases) Update

func (c *FakeMachinePoolNameLeases) Update(machinePoolNameLease *hivev1.MachinePoolNameLease) (result *hivev1.MachinePoolNameLease, err error)

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

func (*FakeMachinePoolNameLeases) UpdateStatus

func (c *FakeMachinePoolNameLeases) UpdateStatus(machinePoolNameLease *hivev1.MachinePoolNameLease) (*hivev1.MachinePoolNameLease, error)

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

func (*FakeMachinePoolNameLeases) Watch

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

type FakeMachinePools

type FakeMachinePools struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeMachinePools implements MachinePoolInterface

func (*FakeMachinePools) Create

func (c *FakeMachinePools) Create(machinePool *hivev1.MachinePool) (result *hivev1.MachinePool, err error)

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

func (*FakeMachinePools) Delete

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

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

func (*FakeMachinePools) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachinePools) Get

func (c *FakeMachinePools) Get(name string, options v1.GetOptions) (result *hivev1.MachinePool, err error)

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

func (*FakeMachinePools) List

func (c *FakeMachinePools) List(opts v1.ListOptions) (result *hivev1.MachinePoolList, err error)

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

func (*FakeMachinePools) Patch

func (c *FakeMachinePools) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.MachinePool, err error)

Patch applies the patch and returns the patched machinePool.

func (*FakeMachinePools) Update

func (c *FakeMachinePools) Update(machinePool *hivev1.MachinePool) (result *hivev1.MachinePool, err error)

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

func (*FakeMachinePools) UpdateStatus

func (c *FakeMachinePools) UpdateStatus(machinePool *hivev1.MachinePool) (*hivev1.MachinePool, error)

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

func (*FakeMachinePools) Watch

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

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

type FakeSelectorSyncIdentityProviders

type FakeSelectorSyncIdentityProviders struct {
	Fake *FakeHiveV1
}

FakeSelectorSyncIdentityProviders implements SelectorSyncIdentityProviderInterface

func (*FakeSelectorSyncIdentityProviders) Create

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

func (*FakeSelectorSyncIdentityProviders) Delete

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

func (*FakeSelectorSyncIdentityProviders) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSelectorSyncIdentityProviders) Get

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

func (*FakeSelectorSyncIdentityProviders) List

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

func (*FakeSelectorSyncIdentityProviders) Patch

func (c *FakeSelectorSyncIdentityProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.SelectorSyncIdentityProvider, err error)

Patch applies the patch and returns the patched selectorSyncIdentityProvider.

func (*FakeSelectorSyncIdentityProviders) Update

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

func (*FakeSelectorSyncIdentityProviders) UpdateStatus

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

func (*FakeSelectorSyncIdentityProviders) Watch

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

type FakeSelectorSyncSets

type FakeSelectorSyncSets struct {
	Fake *FakeHiveV1
}

FakeSelectorSyncSets implements SelectorSyncSetInterface

func (*FakeSelectorSyncSets) Create

func (c *FakeSelectorSyncSets) Create(selectorSyncSet *hivev1.SelectorSyncSet) (result *hivev1.SelectorSyncSet, err error)

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

func (*FakeSelectorSyncSets) Delete

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

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

func (*FakeSelectorSyncSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSelectorSyncSets) Get

func (c *FakeSelectorSyncSets) Get(name string, options v1.GetOptions) (result *hivev1.SelectorSyncSet, err error)

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

func (*FakeSelectorSyncSets) List

func (c *FakeSelectorSyncSets) List(opts v1.ListOptions) (result *hivev1.SelectorSyncSetList, err error)

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

func (*FakeSelectorSyncSets) Patch

func (c *FakeSelectorSyncSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.SelectorSyncSet, err error)

Patch applies the patch and returns the patched selectorSyncSet.

func (*FakeSelectorSyncSets) Update

func (c *FakeSelectorSyncSets) Update(selectorSyncSet *hivev1.SelectorSyncSet) (result *hivev1.SelectorSyncSet, err error)

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

func (*FakeSelectorSyncSets) UpdateStatus

func (c *FakeSelectorSyncSets) UpdateStatus(selectorSyncSet *hivev1.SelectorSyncSet) (*hivev1.SelectorSyncSet, error)

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

func (*FakeSelectorSyncSets) Watch

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

type FakeSyncIdentityProviders

type FakeSyncIdentityProviders struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeSyncIdentityProviders implements SyncIdentityProviderInterface

func (*FakeSyncIdentityProviders) Create

func (c *FakeSyncIdentityProviders) Create(syncIdentityProvider *hivev1.SyncIdentityProvider) (result *hivev1.SyncIdentityProvider, err error)

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

func (*FakeSyncIdentityProviders) Delete

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

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

func (*FakeSyncIdentityProviders) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncIdentityProviders) Get

func (c *FakeSyncIdentityProviders) Get(name string, options v1.GetOptions) (result *hivev1.SyncIdentityProvider, err error)

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

func (*FakeSyncIdentityProviders) List

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

func (*FakeSyncIdentityProviders) Patch

func (c *FakeSyncIdentityProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.SyncIdentityProvider, err error)

Patch applies the patch and returns the patched syncIdentityProvider.

func (*FakeSyncIdentityProviders) Update

func (c *FakeSyncIdentityProviders) Update(syncIdentityProvider *hivev1.SyncIdentityProvider) (result *hivev1.SyncIdentityProvider, err error)

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

func (*FakeSyncIdentityProviders) UpdateStatus

func (c *FakeSyncIdentityProviders) UpdateStatus(syncIdentityProvider *hivev1.SyncIdentityProvider) (*hivev1.SyncIdentityProvider, error)

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

func (*FakeSyncIdentityProviders) Watch

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

type FakeSyncSetInstances

type FakeSyncSetInstances struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeSyncSetInstances implements SyncSetInstanceInterface

func (*FakeSyncSetInstances) Create

func (c *FakeSyncSetInstances) Create(syncSetInstance *hivev1.SyncSetInstance) (result *hivev1.SyncSetInstance, err error)

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

func (*FakeSyncSetInstances) Delete

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

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

func (*FakeSyncSetInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncSetInstances) Get

func (c *FakeSyncSetInstances) Get(name string, options v1.GetOptions) (result *hivev1.SyncSetInstance, err error)

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

func (*FakeSyncSetInstances) List

func (c *FakeSyncSetInstances) List(opts v1.ListOptions) (result *hivev1.SyncSetInstanceList, err error)

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

func (*FakeSyncSetInstances) Patch

func (c *FakeSyncSetInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.SyncSetInstance, err error)

Patch applies the patch and returns the patched syncSetInstance.

func (*FakeSyncSetInstances) Update

func (c *FakeSyncSetInstances) Update(syncSetInstance *hivev1.SyncSetInstance) (result *hivev1.SyncSetInstance, err error)

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

func (*FakeSyncSetInstances) UpdateStatus

func (c *FakeSyncSetInstances) UpdateStatus(syncSetInstance *hivev1.SyncSetInstance) (*hivev1.SyncSetInstance, error)

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

func (*FakeSyncSetInstances) Watch

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

type FakeSyncSets

type FakeSyncSets struct {
	Fake *FakeHiveV1
	// contains filtered or unexported fields
}

FakeSyncSets implements SyncSetInterface

func (*FakeSyncSets) Create

func (c *FakeSyncSets) Create(syncSet *hivev1.SyncSet) (result *hivev1.SyncSet, err error)

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

func (*FakeSyncSets) Delete

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

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

func (*FakeSyncSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncSets) Get

func (c *FakeSyncSets) Get(name string, options v1.GetOptions) (result *hivev1.SyncSet, err error)

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

func (*FakeSyncSets) List

func (c *FakeSyncSets) List(opts v1.ListOptions) (result *hivev1.SyncSetList, err error)

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

func (*FakeSyncSets) Patch

func (c *FakeSyncSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *hivev1.SyncSet, err error)

Patch applies the patch and returns the patched syncSet.

func (*FakeSyncSets) Update

func (c *FakeSyncSets) Update(syncSet *hivev1.SyncSet) (result *hivev1.SyncSet, err error)

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

func (*FakeSyncSets) UpdateStatus

func (c *FakeSyncSets) UpdateStatus(syncSet *hivev1.SyncSet) (*hivev1.SyncSet, error)

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

func (*FakeSyncSets) Watch

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

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

Jump to

Keyboard shortcuts

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