fake

package
v0.0.0-...-af0835f Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 9 Imported by: 1

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 FakeAzuregamingV1alpha1

type FakeAzuregamingV1alpha1 struct {
	*testing.Fake
}

func (*FakeAzuregamingV1alpha1) DedicatedGameServerCollections

func (c *FakeAzuregamingV1alpha1) DedicatedGameServerCollections(namespace string) v1alpha1.DedicatedGameServerCollectionInterface

func (*FakeAzuregamingV1alpha1) DedicatedGameServers

func (c *FakeAzuregamingV1alpha1) DedicatedGameServers(namespace string) v1alpha1.DedicatedGameServerInterface

func (*FakeAzuregamingV1alpha1) RESTClient

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

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

type FakeDedicatedGameServerCollections

type FakeDedicatedGameServerCollections struct {
	Fake *FakeAzuregamingV1alpha1
	// contains filtered or unexported fields
}

FakeDedicatedGameServerCollections implements DedicatedGameServerCollectionInterface

func (*FakeDedicatedGameServerCollections) Create

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

func (*FakeDedicatedGameServerCollections) Delete

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

func (*FakeDedicatedGameServerCollections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDedicatedGameServerCollections) Get

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

func (*FakeDedicatedGameServerCollections) List

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

func (*FakeDedicatedGameServerCollections) Patch

func (c *FakeDedicatedGameServerCollections) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DedicatedGameServerCollection, err error)

Patch applies the patch and returns the patched dedicatedGameServerCollection.

func (*FakeDedicatedGameServerCollections) Update

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

func (*FakeDedicatedGameServerCollections) Watch

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

type FakeDedicatedGameServers

type FakeDedicatedGameServers struct {
	Fake *FakeAzuregamingV1alpha1
	// contains filtered or unexported fields
}

FakeDedicatedGameServers implements DedicatedGameServerInterface

func (*FakeDedicatedGameServers) Create

func (c *FakeDedicatedGameServers) Create(dedicatedGameServer *v1alpha1.DedicatedGameServer) (result *v1alpha1.DedicatedGameServer, err error)

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

func (*FakeDedicatedGameServers) Delete

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

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

func (*FakeDedicatedGameServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDedicatedGameServers) Get

func (c *FakeDedicatedGameServers) Get(name string, options v1.GetOptions) (result *v1alpha1.DedicatedGameServer, err error)

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

func (*FakeDedicatedGameServers) List

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

func (*FakeDedicatedGameServers) Patch

func (c *FakeDedicatedGameServers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DedicatedGameServer, err error)

Patch applies the patch and returns the patched dedicatedGameServer.

func (*FakeDedicatedGameServers) Update

func (c *FakeDedicatedGameServers) Update(dedicatedGameServer *v1alpha1.DedicatedGameServer) (result *v1alpha1.DedicatedGameServer, err error)

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

func (*FakeDedicatedGameServers) Watch

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

Jump to

Keyboard shortcuts

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