v1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgonesV1Client

type AgonesV1Client struct {
	// contains filtered or unexported fields
}

AgonesV1Client is used to interact with features provided by the agones.dev group.

func New

New creates a new AgonesV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*AgonesV1Client, error)

NewForConfig creates a new AgonesV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AgonesV1Client

NewForConfigOrDie creates a new AgonesV1Client for the given config and panics if there is an error in the config.

func (*AgonesV1Client) Fleets

func (c *AgonesV1Client) Fleets(namespace string) FleetInterface

func (*AgonesV1Client) GameServerSets

func (c *AgonesV1Client) GameServerSets(namespace string) GameServerSetInterface

func (*AgonesV1Client) GameServers

func (c *AgonesV1Client) GameServers(namespace string) GameServerInterface

func (*AgonesV1Client) RESTClient

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

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

type AgonesV1Interface

type AgonesV1Interface interface {
	RESTClient() rest.Interface
	FleetsGetter
	GameServersGetter
	GameServerSetsGetter
}

type FleetExpansion

type FleetExpansion interface{}

type FleetInterface

type FleetInterface interface {
	Create(*v1.Fleet) (*v1.Fleet, error)
	Update(*v1.Fleet) (*v1.Fleet, error)
	UpdateStatus(*v1.Fleet) (*v1.Fleet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Fleet, error)
	List(opts metav1.ListOptions) (*v1.FleetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Fleet, err error)
	GetScale(fleetName string, options metav1.GetOptions) (*v1beta1.Scale, error)
	UpdateScale(fleetName string, scale *v1beta1.Scale) (*v1beta1.Scale, error)

	FleetExpansion
}

FleetInterface has methods to work with Fleet resources.

type FleetsGetter

type FleetsGetter interface {
	Fleets(namespace string) FleetInterface
}

FleetsGetter has a method to return a FleetInterface. A group's client should implement this interface.

type GameServerExpansion

type GameServerExpansion interface{}

type GameServerInterface

type GameServerInterface interface {
	Create(*v1.GameServer) (*v1.GameServer, error)
	Update(*v1.GameServer) (*v1.GameServer, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.GameServer, error)
	List(opts metav1.ListOptions) (*v1.GameServerList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.GameServer, err error)
	GameServerExpansion
}

GameServerInterface has methods to work with GameServer resources.

type GameServerSetExpansion

type GameServerSetExpansion interface{}

type GameServerSetInterface

type GameServerSetInterface interface {
	Create(*v1.GameServerSet) (*v1.GameServerSet, error)
	Update(*v1.GameServerSet) (*v1.GameServerSet, error)
	UpdateStatus(*v1.GameServerSet) (*v1.GameServerSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.GameServerSet, error)
	List(opts metav1.ListOptions) (*v1.GameServerSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.GameServerSet, err error)
	GetScale(gameServerSetName string, options metav1.GetOptions) (*v1beta1.Scale, error)
	UpdateScale(gameServerSetName string, scale *v1beta1.Scale) (*v1beta1.Scale, error)

	GameServerSetExpansion
}

GameServerSetInterface has methods to work with GameServerSet resources.

type GameServerSetsGetter

type GameServerSetsGetter interface {
	GameServerSets(namespace string) GameServerSetInterface
}

GameServerSetsGetter has a method to return a GameServerSetInterface. A group's client should implement this interface.

type GameServersGetter

type GameServersGetter interface {
	GameServers(namespace string) GameServerInterface
}

GameServersGetter has a method to return a GameServerInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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