gameserver

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IngressRoutingModeDomain IngressRoutingMode = "domain"
	IngressRoutingModePath   IngressRoutingMode = "path"

	OctopsAnnotationIngressMode            = "octops.io/gameserver-ingress-mode"
	OctopsAnnotationIngressDomain          = "octops.io/gameserver-ingress-domain"
	OctopsAnnotationIngressFQDN            = "octops.io/gameserver-ingress-fqdn"
	OctopsAnnotationTerminateTLS           = "octops.io/terminate-tls"
	OctopsAnnotationsTLSSecretName         = "octops.io/tls-secret-name"
	OctopsAnnotationIssuerName             = "octops.io/issuer-tls-name"
	OctopsAnnotationCustomPrefix           = "octops-"
	OctopsAnnotationCustomServicePrefix    = "octops.service-"
	OctopsAnnotationGameServerIngressReady = "octops.io/ingress-ready"

	CertManagerAnnotationIssuer = "cert-manager.io/cluster-issuer"
	AgonesGameServerNameLabel   = "agones.dev/gameserver"

	ErrGameServerAnnotationMissing = "gameserver %s/%s is missing annotation %s"
	ErrGameServerAnnotationEmpty   = "gameserver %s/%s has annotation %s but it is empty"
	ErrIngressRoutingModeEmpty     = "ingress routing mode %s requires the annotation %s to be set on gameserver %s/%s"
)

Variables

This section is empty.

Functions

func FromObject

func FromObject(obj interface{}) *agonesv1.GameServer

func GetGameServerContainerPort

func GetGameServerContainerPort(gs *agonesv1.GameServer) int32

func GetTLSCertIssuer added in v0.1.2

func GetTLSCertIssuer(gs *agonesv1.GameServer) string

func HasAnnotation

func HasAnnotation(gs *agonesv1.GameServer, annotation string) (string, bool)

func IsShutdown added in v0.1.8

func IsShutdown(gs *agonesv1.GameServer) bool

func MustReconcile added in v0.1.8

func MustReconcile(gs *agonesv1.GameServer) bool

Types

type IngressRoutingMode added in v0.1.2

type IngressRoutingMode string

func GetIngressRoutingMode added in v0.1.2

func GetIngressRoutingMode(gs *agonesv1.GameServer) IngressRoutingMode

func (IngressRoutingMode) String added in v0.1.2

func (m IngressRoutingMode) String() string

Jump to

Keyboard shortcuts

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