gameserver

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 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-"

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

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

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 IsReady

func IsReady(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