fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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 FakeGameV1alpha1

type FakeGameV1alpha1 struct {
	*testing.Fake
}

func (*FakeGameV1alpha1) RESTClient

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

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

func (*FakeGameV1alpha1) ServicesGameServerClusters

func (c *FakeGameV1alpha1) ServicesGameServerClusters(namespace string) v1alpha1.ServicesGameServerClusterInterface

func (*FakeGameV1alpha1) ServicesGameServerConfigs

func (c *FakeGameV1alpha1) ServicesGameServerConfigs(namespace string) v1alpha1.ServicesGameServerConfigInterface

func (*FakeGameV1alpha1) ServicesGameServerDeploymentRollouts

func (c *FakeGameV1alpha1) ServicesGameServerDeploymentRollouts(namespace string) v1alpha1.ServicesGameServerDeploymentRolloutInterface

func (*FakeGameV1alpha1) ServicesGameServerDeployments

func (c *FakeGameV1alpha1) ServicesGameServerDeployments(namespace string) v1alpha1.ServicesGameServerDeploymentInterface

func (*FakeGameV1alpha1) ServicesRealms

func (c *FakeGameV1alpha1) ServicesRealms(namespace string) v1alpha1.ServicesRealmInterface

type FakeServicesGameServerClusters

type FakeServicesGameServerClusters struct {
	Fake *FakeGameV1alpha1
	// contains filtered or unexported fields
}

FakeServicesGameServerClusters implements ServicesGameServerClusterInterface

func (*FakeServicesGameServerClusters) Create

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

func (*FakeServicesGameServerClusters) Delete

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

func (*FakeServicesGameServerClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServicesGameServerClusters) Get

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

func (*FakeServicesGameServerClusters) List

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

func (*FakeServicesGameServerClusters) Patch

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

Patch applies the patch and returns the patched servicesGameServerCluster.

func (*FakeServicesGameServerClusters) Update

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

func (*FakeServicesGameServerClusters) UpdateStatus

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

func (*FakeServicesGameServerClusters) Watch

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

type FakeServicesGameServerConfigs

type FakeServicesGameServerConfigs struct {
	Fake *FakeGameV1alpha1
	// contains filtered or unexported fields
}

FakeServicesGameServerConfigs implements ServicesGameServerConfigInterface

func (*FakeServicesGameServerConfigs) Create

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

func (*FakeServicesGameServerConfigs) Delete

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

func (*FakeServicesGameServerConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServicesGameServerConfigs) Get

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

func (*FakeServicesGameServerConfigs) List

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

func (*FakeServicesGameServerConfigs) Patch

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

Patch applies the patch and returns the patched servicesGameServerConfig.

func (*FakeServicesGameServerConfigs) Update

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

func (*FakeServicesGameServerConfigs) UpdateStatus

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

func (*FakeServicesGameServerConfigs) Watch

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

type FakeServicesGameServerDeploymentRollouts

type FakeServicesGameServerDeploymentRollouts struct {
	Fake *FakeGameV1alpha1
	// contains filtered or unexported fields
}

FakeServicesGameServerDeploymentRollouts implements ServicesGameServerDeploymentRolloutInterface

func (*FakeServicesGameServerDeploymentRollouts) Create

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

func (*FakeServicesGameServerDeploymentRollouts) Delete

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

func (*FakeServicesGameServerDeploymentRollouts) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeServicesGameServerDeploymentRollouts) Get

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

func (*FakeServicesGameServerDeploymentRollouts) List

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

func (*FakeServicesGameServerDeploymentRollouts) Patch

Patch applies the patch and returns the patched servicesGameServerDeploymentRollout.

func (*FakeServicesGameServerDeploymentRollouts) Update

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

func (*FakeServicesGameServerDeploymentRollouts) UpdateStatus

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

func (*FakeServicesGameServerDeploymentRollouts) Watch

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

type FakeServicesGameServerDeployments

type FakeServicesGameServerDeployments struct {
	Fake *FakeGameV1alpha1
	// contains filtered or unexported fields
}

FakeServicesGameServerDeployments implements ServicesGameServerDeploymentInterface

func (*FakeServicesGameServerDeployments) Create

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

func (*FakeServicesGameServerDeployments) Delete

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

func (*FakeServicesGameServerDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServicesGameServerDeployments) Get

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

func (*FakeServicesGameServerDeployments) List

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

func (*FakeServicesGameServerDeployments) Patch

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

Patch applies the patch and returns the patched servicesGameServerDeployment.

func (*FakeServicesGameServerDeployments) Update

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

func (*FakeServicesGameServerDeployments) UpdateStatus

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

func (*FakeServicesGameServerDeployments) Watch

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

type FakeServicesRealms

type FakeServicesRealms struct {
	Fake *FakeGameV1alpha1
	// contains filtered or unexported fields
}

FakeServicesRealms implements ServicesRealmInterface

func (*FakeServicesRealms) Create

func (c *FakeServicesRealms) Create(ctx context.Context, servicesRealm *v1alpha1.ServicesRealm, opts v1.CreateOptions) (result *v1alpha1.ServicesRealm, err error)

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

func (*FakeServicesRealms) Delete

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

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

func (*FakeServicesRealms) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServicesRealms) Get

func (c *FakeServicesRealms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServicesRealm, err error)

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

func (*FakeServicesRealms) List

func (c *FakeServicesRealms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServicesRealmList, err error)

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

func (*FakeServicesRealms) Patch

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

Patch applies the patch and returns the patched servicesRealm.

func (*FakeServicesRealms) Update

func (c *FakeServicesRealms) Update(ctx context.Context, servicesRealm *v1alpha1.ServicesRealm, opts v1.UpdateOptions) (result *v1alpha1.ServicesRealm, err error)

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

func (*FakeServicesRealms) UpdateStatus

func (c *FakeServicesRealms) UpdateStatus(ctx context.Context, servicesRealm *v1alpha1.ServicesRealm, opts v1.UpdateOptions) (*v1alpha1.ServicesRealm, error)

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

func (*FakeServicesRealms) Watch

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

Jump to

Keyboard shortcuts

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