fake

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCheckpoints

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

FakeCheckpoints implements CheckpointInterface

func (*FakeCheckpoints) Create

func (c *FakeCheckpoints) Create(ctx context.Context, checkpoint *hivev1.Checkpoint, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCheckpoints) Get

func (c *FakeCheckpoints) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.Checkpoint, err error)

Patch applies the patch and returns the patched checkpoint.

func (*FakeCheckpoints) Update

func (c *FakeCheckpoints) Update(ctx context.Context, checkpoint *hivev1.Checkpoint, opts v1.UpdateOptions) (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(ctx context.Context, checkpoint *hivev1.Checkpoint, opts v1.UpdateOptions) (*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

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

type FakeClusterClaims added in v1.0.7

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

FakeClusterClaims implements ClusterClaimInterface

func (*FakeClusterClaims) Create added in v1.0.7

func (c *FakeClusterClaims) Create(ctx context.Context, clusterClaim *hivev1.ClusterClaim, opts v1.CreateOptions) (result *hivev1.ClusterClaim, err error)

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

func (*FakeClusterClaims) Delete added in v1.0.7

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

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

func (*FakeClusterClaims) DeleteCollection added in v1.0.7

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterClaims) Get added in v1.0.7

func (c *FakeClusterClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *hivev1.ClusterClaim, err error)

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

func (*FakeClusterClaims) List added in v1.0.7

func (c *FakeClusterClaims) List(ctx context.Context, opts v1.ListOptions) (result *hivev1.ClusterClaimList, err error)

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

func (*FakeClusterClaims) Patch added in v1.0.7

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

Patch applies the patch and returns the patched clusterClaim.

func (*FakeClusterClaims) Update added in v1.0.7

func (c *FakeClusterClaims) Update(ctx context.Context, clusterClaim *hivev1.ClusterClaim, opts v1.UpdateOptions) (result *hivev1.ClusterClaim, err error)

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

func (*FakeClusterClaims) UpdateStatus added in v1.0.7

func (c *FakeClusterClaims) UpdateStatus(ctx context.Context, clusterClaim *hivev1.ClusterClaim, opts v1.UpdateOptions) (*hivev1.ClusterClaim, error)

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

func (*FakeClusterClaims) Watch added in v1.0.7

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

type FakeClusterDeployments

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

FakeClusterDeployments implements ClusterDeploymentInterface

func (*FakeClusterDeployments) Create

func (c *FakeClusterDeployments) Create(ctx context.Context, clusterDeployment *hivev1.ClusterDeployment, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterDeployments) Get

func (c *FakeClusterDeployments) Get(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.ClusterDeployment, err error)

Patch applies the patch and returns the patched clusterDeployment.

func (*FakeClusterDeployments) Update

func (c *FakeClusterDeployments) Update(ctx context.Context, clusterDeployment *hivev1.ClusterDeployment, opts v1.UpdateOptions) (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(ctx context.Context, clusterDeployment *hivev1.ClusterDeployment, opts v1.UpdateOptions) (*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(ctx context.Context, clusterDeprovision *hivev1.ClusterDeprovision, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterDeprovisions) Get

func (c *FakeClusterDeprovisions) Get(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.ClusterDeprovision, err error)

Patch applies the patch and returns the patched clusterDeprovision.

func (*FakeClusterDeprovisions) Update

func (c *FakeClusterDeprovisions) Update(ctx context.Context, clusterDeprovision *hivev1.ClusterDeprovision, opts v1.UpdateOptions) (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(ctx context.Context, clusterDeprovision *hivev1.ClusterDeprovision, opts v1.UpdateOptions) (*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(ctx context.Context, clusterImageSet *hivev1.ClusterImageSet, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterImageSets) Get

func (c *FakeClusterImageSets) Get(ctx context.Context, 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

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

func (*FakeClusterImageSets) Patch

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

Patch applies the patch and returns the patched clusterImageSet.

func (*FakeClusterImageSets) Update

func (c *FakeClusterImageSets) Update(ctx context.Context, clusterImageSet *hivev1.ClusterImageSet, opts v1.UpdateOptions) (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(ctx context.Context, clusterImageSet *hivev1.ClusterImageSet, opts v1.UpdateOptions) (*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 FakeClusterPools added in v1.0.6

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

FakeClusterPools implements ClusterPoolInterface

func (*FakeClusterPools) Create added in v1.0.6

func (c *FakeClusterPools) Create(ctx context.Context, clusterPool *hivev1.ClusterPool, opts v1.CreateOptions) (result *hivev1.ClusterPool, err error)

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

func (*FakeClusterPools) Delete added in v1.0.6

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

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

func (*FakeClusterPools) DeleteCollection added in v1.0.6

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterPools) Get added in v1.0.6

func (c *FakeClusterPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *hivev1.ClusterPool, err error)

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

func (*FakeClusterPools) List added in v1.0.6

func (c *FakeClusterPools) List(ctx context.Context, opts v1.ListOptions) (result *hivev1.ClusterPoolList, err error)

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

func (*FakeClusterPools) Patch added in v1.0.6

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

Patch applies the patch and returns the patched clusterPool.

func (*FakeClusterPools) Update added in v1.0.6

func (c *FakeClusterPools) Update(ctx context.Context, clusterPool *hivev1.ClusterPool, opts v1.UpdateOptions) (result *hivev1.ClusterPool, err error)

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

func (*FakeClusterPools) UpdateStatus added in v1.0.6

func (c *FakeClusterPools) UpdateStatus(ctx context.Context, clusterPool *hivev1.ClusterPool, opts v1.UpdateOptions) (*hivev1.ClusterPool, error)

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

func (*FakeClusterPools) Watch added in v1.0.6

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

type FakeClusterProvisions

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

FakeClusterProvisions implements ClusterProvisionInterface

func (*FakeClusterProvisions) Create

func (c *FakeClusterProvisions) Create(ctx context.Context, clusterProvision *hivev1.ClusterProvision, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterProvisions) Get

func (c *FakeClusterProvisions) Get(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.ClusterProvision, err error)

Patch applies the patch and returns the patched clusterProvision.

func (*FakeClusterProvisions) Update

func (c *FakeClusterProvisions) Update(ctx context.Context, clusterProvision *hivev1.ClusterProvision, opts v1.UpdateOptions) (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(ctx context.Context, clusterProvision *hivev1.ClusterProvision, opts v1.UpdateOptions) (*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 FakeClusterRelocates added in v1.0.5

type FakeClusterRelocates struct {
	Fake *FakeHiveV1
}

FakeClusterRelocates implements ClusterRelocateInterface

func (*FakeClusterRelocates) Create added in v1.0.5

func (c *FakeClusterRelocates) Create(ctx context.Context, clusterRelocate *hivev1.ClusterRelocate, opts v1.CreateOptions) (result *hivev1.ClusterRelocate, err error)

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

func (*FakeClusterRelocates) Delete added in v1.0.5

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

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

func (*FakeClusterRelocates) DeleteCollection added in v1.0.5

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterRelocates) Get added in v1.0.5

func (c *FakeClusterRelocates) Get(ctx context.Context, name string, options v1.GetOptions) (result *hivev1.ClusterRelocate, err error)

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

func (*FakeClusterRelocates) List added in v1.0.5

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

func (*FakeClusterRelocates) Patch added in v1.0.5

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

Patch applies the patch and returns the patched clusterRelocate.

func (*FakeClusterRelocates) Update added in v1.0.5

func (c *FakeClusterRelocates) Update(ctx context.Context, clusterRelocate *hivev1.ClusterRelocate, opts v1.UpdateOptions) (result *hivev1.ClusterRelocate, err error)

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

func (*FakeClusterRelocates) UpdateStatus added in v1.0.5

func (c *FakeClusterRelocates) UpdateStatus(ctx context.Context, clusterRelocate *hivev1.ClusterRelocate, opts v1.UpdateOptions) (*hivev1.ClusterRelocate, error)

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

func (*FakeClusterRelocates) Watch added in v1.0.5

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

type FakeClusterStates

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

FakeClusterStates implements ClusterStateInterface

func (*FakeClusterStates) Create

func (c *FakeClusterStates) Create(ctx context.Context, clusterState *hivev1.ClusterState, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterStates) Get

func (c *FakeClusterStates) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.ClusterState, err error)

Patch applies the patch and returns the patched clusterState.

func (*FakeClusterStates) Update

func (c *FakeClusterStates) Update(ctx context.Context, clusterState *hivev1.ClusterState, opts v1.UpdateOptions) (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(ctx context.Context, clusterState *hivev1.ClusterState, opts v1.UpdateOptions) (*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(ctx context.Context, dNSZone *hivev1.DNSZone, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSZones) Get

func (c *FakeDNSZones) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.DNSZone, err error)

Patch applies the patch and returns the patched dNSZone.

func (*FakeDNSZones) Update

func (c *FakeDNSZones) Update(ctx context.Context, dNSZone *hivev1.DNSZone, opts v1.UpdateOptions) (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(ctx context.Context, dNSZone *hivev1.DNSZone, opts v1.UpdateOptions) (*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(ctx context.Context, 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(ctx context.Context, hiveConfig *hivev1.HiveConfig, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHiveConfigs) Get

func (c *FakeHiveConfigs) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.HiveConfig, err error)

Patch applies the patch and returns the patched hiveConfig.

func (*FakeHiveConfigs) Update

func (c *FakeHiveConfigs) Update(ctx context.Context, hiveConfig *hivev1.HiveConfig, opts v1.UpdateOptions) (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(ctx context.Context, hiveConfig *hivev1.HiveConfig, opts v1.UpdateOptions) (*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

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) ClusterClaims added in v1.0.7

func (c *FakeHiveV1) ClusterClaims(namespace string) v1.ClusterClaimInterface

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) ClusterPools added in v1.0.6

func (c *FakeHiveV1) ClusterPools(namespace string) v1.ClusterPoolInterface

func (*FakeHiveV1) ClusterProvisions

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

func (*FakeHiveV1) ClusterRelocates added in v1.0.5

func (c *FakeHiveV1) ClusterRelocates() v1.ClusterRelocateInterface

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) 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(ctx context.Context, machinePoolNameLease *hivev1.MachinePoolNameLease, opts v1.CreateOptions) (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

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

func (*FakeMachinePoolNameLeases) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMachinePoolNameLeases) Get

func (c *FakeMachinePoolNameLeases) Get(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.MachinePoolNameLease, err error)

Patch applies the patch and returns the patched machinePoolNameLease.

func (*FakeMachinePoolNameLeases) Update

func (c *FakeMachinePoolNameLeases) Update(ctx context.Context, machinePoolNameLease *hivev1.MachinePoolNameLease, opts v1.UpdateOptions) (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

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(ctx context.Context, machinePool *hivev1.MachinePool, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMachinePools) Get

func (c *FakeMachinePools) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.MachinePool, err error)

Patch applies the patch and returns the patched machinePool.

func (*FakeMachinePools) Update

func (c *FakeMachinePools) Update(ctx context.Context, machinePool *hivev1.MachinePool, opts v1.UpdateOptions) (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(ctx context.Context, machinePool *hivev1.MachinePool, opts v1.UpdateOptions) (*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

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(ctx context.Context, opts v1.DeleteOptions, listOpts 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, selectorSyncSet *hivev1.SelectorSyncSet, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSelectorSyncSets) Get

func (c *FakeSelectorSyncSets) Get(ctx context.Context, 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

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

func (*FakeSelectorSyncSets) Patch

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

Patch applies the patch and returns the patched selectorSyncSet.

func (*FakeSelectorSyncSets) Update

func (c *FakeSelectorSyncSets) Update(ctx context.Context, selectorSyncSet *hivev1.SelectorSyncSet, opts v1.UpdateOptions) (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(ctx context.Context, selectorSyncSet *hivev1.SelectorSyncSet, opts v1.UpdateOptions) (*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(ctx context.Context, syncIdentityProvider *hivev1.SyncIdentityProvider, opts v1.CreateOptions) (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

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

func (*FakeSyncIdentityProviders) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSyncIdentityProviders) Get

func (c *FakeSyncIdentityProviders) Get(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.SyncIdentityProvider, err error)

Patch applies the patch and returns the patched syncIdentityProvider.

func (*FakeSyncIdentityProviders) Update

func (c *FakeSyncIdentityProviders) Update(ctx context.Context, syncIdentityProvider *hivev1.SyncIdentityProvider, opts v1.UpdateOptions) (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

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 FakeSyncSets

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

FakeSyncSets implements SyncSetInterface

func (*FakeSyncSets) Create

func (c *FakeSyncSets) Create(ctx context.Context, syncSet *hivev1.SyncSet, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSyncSets) Get

func (c *FakeSyncSets) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *hivev1.SyncSet, err error)

Patch applies the patch and returns the patched syncSet.

func (*FakeSyncSets) Update

func (c *FakeSyncSets) Update(ctx context.Context, syncSet *hivev1.SyncSet, opts v1.UpdateOptions) (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(ctx context.Context, syncSet *hivev1.SyncSet, opts v1.UpdateOptions) (*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(ctx context.Context, 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