fake

package
Version: v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 7 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 FakeAllocationV1

type FakeAllocationV1 struct {
	*testing.Fake
}

func (*FakeAllocationV1) GameServerAllocations

func (c *FakeAllocationV1) GameServerAllocations(namespace string) v1.GameServerAllocationInterface

func (*FakeAllocationV1) RESTClient

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

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

type FakeGameServerAllocations

type FakeGameServerAllocations struct {
	Fake *FakeAllocationV1
	// contains filtered or unexported fields
}

FakeGameServerAllocations implements GameServerAllocationInterface

func (*FakeGameServerAllocations) Create

func (c *FakeGameServerAllocations) Create(ctx context.Context, gameServerAllocation *v1.GameServerAllocation, opts metav1.CreateOptions) (result *v1.GameServerAllocation, err error)

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

Jump to

Keyboard shortcuts

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