fake

package
v1.50.7 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT 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 FakeRadixAlerts added in v1.16.0

type FakeRadixAlerts struct {
	Fake *FakeRadixV1
	// contains filtered or unexported fields
}

FakeRadixAlerts implements RadixAlertInterface

func (*FakeRadixAlerts) Create added in v1.16.0

func (c *FakeRadixAlerts) Create(ctx context.Context, radixAlert *radixv1.RadixAlert, opts v1.CreateOptions) (result *radixv1.RadixAlert, err error)

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

func (*FakeRadixAlerts) Delete added in v1.16.0

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

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

func (*FakeRadixAlerts) DeleteCollection added in v1.16.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixAlerts) Get added in v1.16.0

func (c *FakeRadixAlerts) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixAlert, err error)

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

func (*FakeRadixAlerts) List added in v1.16.0

func (c *FakeRadixAlerts) List(ctx context.Context, opts v1.ListOptions) (result *radixv1.RadixAlertList, err error)

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

func (*FakeRadixAlerts) Patch added in v1.16.0

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

Patch applies the patch and returns the patched radixAlert.

func (*FakeRadixAlerts) Update added in v1.16.0

func (c *FakeRadixAlerts) Update(ctx context.Context, radixAlert *radixv1.RadixAlert, opts v1.UpdateOptions) (result *radixv1.RadixAlert, err error)

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

func (*FakeRadixAlerts) UpdateStatus added in v1.16.0

func (c *FakeRadixAlerts) UpdateStatus(ctx context.Context, radixAlert *radixv1.RadixAlert, opts v1.UpdateOptions) (*radixv1.RadixAlert, error)

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

func (*FakeRadixAlerts) Watch added in v1.16.0

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

type FakeRadixApplications

type FakeRadixApplications struct {
	Fake *FakeRadixV1
	// contains filtered or unexported fields
}

FakeRadixApplications implements RadixApplicationInterface

func (*FakeRadixApplications) Create

func (c *FakeRadixApplications) Create(ctx context.Context, radixApplication *radixv1.RadixApplication, opts v1.CreateOptions) (result *radixv1.RadixApplication, err error)

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

func (*FakeRadixApplications) Delete

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

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

func (*FakeRadixApplications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixApplications) Get

func (c *FakeRadixApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixApplication, err error)

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

func (*FakeRadixApplications) List

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

func (*FakeRadixApplications) Patch

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

Patch applies the patch and returns the patched radixApplication.

func (*FakeRadixApplications) Update

func (c *FakeRadixApplications) Update(ctx context.Context, radixApplication *radixv1.RadixApplication, opts v1.UpdateOptions) (result *radixv1.RadixApplication, err error)

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

func (*FakeRadixApplications) Watch

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

type FakeRadixBatches added in v1.32.0

type FakeRadixBatches struct {
	Fake *FakeRadixV1
	// contains filtered or unexported fields
}

FakeRadixBatches implements RadixBatchInterface

func (*FakeRadixBatches) Create added in v1.32.0

func (c *FakeRadixBatches) Create(ctx context.Context, radixBatch *radixv1.RadixBatch, opts v1.CreateOptions) (result *radixv1.RadixBatch, err error)

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

func (*FakeRadixBatches) Delete added in v1.32.0

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

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

func (*FakeRadixBatches) DeleteCollection added in v1.32.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixBatches) Get added in v1.32.0

func (c *FakeRadixBatches) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixBatch, err error)

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

func (*FakeRadixBatches) List added in v1.32.0

func (c *FakeRadixBatches) List(ctx context.Context, opts v1.ListOptions) (result *radixv1.RadixBatchList, err error)

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

func (*FakeRadixBatches) Patch added in v1.32.0

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

Patch applies the patch and returns the patched radixBatch.

func (*FakeRadixBatches) Update added in v1.32.0

func (c *FakeRadixBatches) Update(ctx context.Context, radixBatch *radixv1.RadixBatch, opts v1.UpdateOptions) (result *radixv1.RadixBatch, err error)

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

func (*FakeRadixBatches) UpdateStatus added in v1.32.0

func (c *FakeRadixBatches) UpdateStatus(ctx context.Context, radixBatch *radixv1.RadixBatch, opts v1.UpdateOptions) (*radixv1.RadixBatch, error)

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

func (*FakeRadixBatches) Watch added in v1.32.0

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

type FakeRadixDNSAliases added in v1.47.0

type FakeRadixDNSAliases struct {
	Fake *FakeRadixV1
}

FakeRadixDNSAliases implements RadixDNSAliasInterface

func (*FakeRadixDNSAliases) Create added in v1.47.0

func (c *FakeRadixDNSAliases) Create(ctx context.Context, radixDNSAlias *radixv1.RadixDNSAlias, opts v1.CreateOptions) (result *radixv1.RadixDNSAlias, err error)

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

func (*FakeRadixDNSAliases) Delete added in v1.47.0

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

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

func (*FakeRadixDNSAliases) DeleteCollection added in v1.47.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixDNSAliases) Get added in v1.47.0

func (c *FakeRadixDNSAliases) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixDNSAlias, err error)

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

func (*FakeRadixDNSAliases) List added in v1.47.0

func (c *FakeRadixDNSAliases) List(ctx context.Context, opts v1.ListOptions) (result *radixv1.RadixDNSAliasList, err error)

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

func (*FakeRadixDNSAliases) Patch added in v1.47.0

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

Patch applies the patch and returns the patched radixDNSAlias.

func (*FakeRadixDNSAliases) Update added in v1.47.0

func (c *FakeRadixDNSAliases) Update(ctx context.Context, radixDNSAlias *radixv1.RadixDNSAlias, opts v1.UpdateOptions) (result *radixv1.RadixDNSAlias, err error)

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

func (*FakeRadixDNSAliases) UpdateStatus added in v1.47.0

func (c *FakeRadixDNSAliases) UpdateStatus(ctx context.Context, radixDNSAlias *radixv1.RadixDNSAlias, opts v1.UpdateOptions) (*radixv1.RadixDNSAlias, error)

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

func (*FakeRadixDNSAliases) Watch added in v1.47.0

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

type FakeRadixDeployments

type FakeRadixDeployments struct {
	Fake *FakeRadixV1
	// contains filtered or unexported fields
}

FakeRadixDeployments implements RadixDeploymentInterface

func (*FakeRadixDeployments) Create

func (c *FakeRadixDeployments) Create(ctx context.Context, radixDeployment *radixv1.RadixDeployment, opts v1.CreateOptions) (result *radixv1.RadixDeployment, err error)

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

func (*FakeRadixDeployments) Delete

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

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

func (*FakeRadixDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixDeployments) Get

func (c *FakeRadixDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixDeployment, err error)

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

func (*FakeRadixDeployments) List

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

func (*FakeRadixDeployments) Patch

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

Patch applies the patch and returns the patched radixDeployment.

func (*FakeRadixDeployments) Update

func (c *FakeRadixDeployments) Update(ctx context.Context, radixDeployment *radixv1.RadixDeployment, opts v1.UpdateOptions) (result *radixv1.RadixDeployment, err error)

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

func (*FakeRadixDeployments) UpdateStatus

func (c *FakeRadixDeployments) UpdateStatus(ctx context.Context, radixDeployment *radixv1.RadixDeployment, opts v1.UpdateOptions) (*radixv1.RadixDeployment, error)

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

func (*FakeRadixDeployments) Watch

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

type FakeRadixEnvironments added in v1.5.1

type FakeRadixEnvironments struct {
	Fake *FakeRadixV1
}

FakeRadixEnvironments implements RadixEnvironmentInterface

func (*FakeRadixEnvironments) Create added in v1.5.1

func (c *FakeRadixEnvironments) Create(ctx context.Context, radixEnvironment *radixv1.RadixEnvironment, opts v1.CreateOptions) (result *radixv1.RadixEnvironment, err error)

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

func (*FakeRadixEnvironments) Delete added in v1.5.1

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

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

func (*FakeRadixEnvironments) DeleteCollection added in v1.5.1

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixEnvironments) Get added in v1.5.1

func (c *FakeRadixEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixEnvironment, err error)

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

func (*FakeRadixEnvironments) List added in v1.5.1

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

func (*FakeRadixEnvironments) Patch added in v1.5.1

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

Patch applies the patch and returns the patched radixEnvironment.

func (*FakeRadixEnvironments) Update added in v1.5.1

func (c *FakeRadixEnvironments) Update(ctx context.Context, radixEnvironment *radixv1.RadixEnvironment, opts v1.UpdateOptions) (result *radixv1.RadixEnvironment, err error)

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

func (*FakeRadixEnvironments) UpdateStatus added in v1.5.1

func (c *FakeRadixEnvironments) UpdateStatus(ctx context.Context, radixEnvironment *radixv1.RadixEnvironment, opts v1.UpdateOptions) (*radixv1.RadixEnvironment, error)

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

func (*FakeRadixEnvironments) Watch added in v1.5.1

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

type FakeRadixJobs

type FakeRadixJobs struct {
	Fake *FakeRadixV1
	// contains filtered or unexported fields
}

FakeRadixJobs implements RadixJobInterface

func (*FakeRadixJobs) Create

func (c *FakeRadixJobs) Create(ctx context.Context, radixJob *radixv1.RadixJob, opts v1.CreateOptions) (result *radixv1.RadixJob, err error)

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

func (*FakeRadixJobs) Delete

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

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

func (*FakeRadixJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixJobs) Get

func (c *FakeRadixJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixJob, err error)

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

func (*FakeRadixJobs) List

func (c *FakeRadixJobs) List(ctx context.Context, opts v1.ListOptions) (result *radixv1.RadixJobList, err error)

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

func (*FakeRadixJobs) Patch

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

Patch applies the patch and returns the patched radixJob.

func (*FakeRadixJobs) Update

func (c *FakeRadixJobs) Update(ctx context.Context, radixJob *radixv1.RadixJob, opts v1.UpdateOptions) (result *radixv1.RadixJob, err error)

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

func (*FakeRadixJobs) UpdateStatus

func (c *FakeRadixJobs) UpdateStatus(ctx context.Context, radixJob *radixv1.RadixJob, opts v1.UpdateOptions) (*radixv1.RadixJob, error)

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

func (*FakeRadixJobs) Watch

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

type FakeRadixRegistrations

type FakeRadixRegistrations struct {
	Fake *FakeRadixV1
}

FakeRadixRegistrations implements RadixRegistrationInterface

func (*FakeRadixRegistrations) Create

func (c *FakeRadixRegistrations) Create(ctx context.Context, radixRegistration *radixv1.RadixRegistration, opts v1.CreateOptions) (result *radixv1.RadixRegistration, err error)

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

func (*FakeRadixRegistrations) Delete

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

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

func (*FakeRadixRegistrations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRadixRegistrations) Get

func (c *FakeRadixRegistrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *radixv1.RadixRegistration, err error)

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

func (*FakeRadixRegistrations) List

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

func (*FakeRadixRegistrations) Patch

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

Patch applies the patch and returns the patched radixRegistration.

func (*FakeRadixRegistrations) Update

func (c *FakeRadixRegistrations) Update(ctx context.Context, radixRegistration *radixv1.RadixRegistration, opts v1.UpdateOptions) (result *radixv1.RadixRegistration, err error)

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

func (*FakeRadixRegistrations) UpdateStatus added in v1.4.1

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

func (*FakeRadixRegistrations) Watch

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

type FakeRadixV1

type FakeRadixV1 struct {
	*testing.Fake
}

func (*FakeRadixV1) RESTClient

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

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

func (*FakeRadixV1) RadixAlerts added in v1.16.0

func (c *FakeRadixV1) RadixAlerts(namespace string) v1.RadixAlertInterface

func (*FakeRadixV1) RadixApplications

func (c *FakeRadixV1) RadixApplications(namespace string) v1.RadixApplicationInterface

func (*FakeRadixV1) RadixBatches added in v1.32.0

func (c *FakeRadixV1) RadixBatches(namespace string) v1.RadixBatchInterface

func (*FakeRadixV1) RadixDNSAliases added in v1.47.0

func (c *FakeRadixV1) RadixDNSAliases() v1.RadixDNSAliasInterface

func (*FakeRadixV1) RadixDeployments

func (c *FakeRadixV1) RadixDeployments(namespace string) v1.RadixDeploymentInterface

func (*FakeRadixV1) RadixEnvironments added in v1.5.1

func (c *FakeRadixV1) RadixEnvironments() v1.RadixEnvironmentInterface

func (*FakeRadixV1) RadixJobs

func (c *FakeRadixV1) RadixJobs(namespace string) v1.RadixJobInterface

func (*FakeRadixV1) RadixRegistrations

func (c *FakeRadixV1) RadixRegistrations() v1.RadixRegistrationInterface

Jump to

Keyboard shortcuts

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