agones: agones.dev/agones/pkg/client/clientset/versioned/typed/agones/v1 Index | Files | Directories

package v1

import "agones.dev/agones/pkg/client/clientset/versioned/typed/agones/v1"

This package has the automatically generated typed clients.

Index

Package Files

agones_client.go doc.go fleet.go gameserver.go gameserverset.go generated_expansion.go

type AgonesV1Client Uses

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

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

func New Uses

func New(c rest.Interface) *AgonesV1Client

New creates a new AgonesV1Client for the given RESTClient.

func NewForConfig Uses

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

NewForConfig creates a new AgonesV1Client for the given config.

func NewForConfigOrDie Uses

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 Uses

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

func (*AgonesV1Client) GameServerSets Uses

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

func (*AgonesV1Client) GameServers Uses

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

func (*AgonesV1Client) RESTClient Uses

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

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

type AgonesV1Interface Uses

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

type FleetExpansion Uses

type FleetExpansion interface{}

type FleetInterface Uses

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 Uses

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 Uses

type GameServerExpansion interface{}

type GameServerInterface Uses

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 Uses

type GameServerSetExpansion interface{}

type GameServerSetInterface Uses

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 Uses

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 Uses

type GameServersGetter interface {
    GameServers(namespace string) GameServerInterface
}

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

Directories

PathSynopsis
fakePackage fake has the automatically generated clients.

Package v1 imports 8 packages (graph) and is imported by 15 packages. Updated 2019-08-05. Refresh now. Tools for package owners.