Documentation ¶
Index ¶
- Constants
- func FromObject(obj interface{}) *agonesv1.GameServer
- func GetGameServerContainerPort(gs *agonesv1.GameServer) int32
- func GetGameServerPort(gs *agonesv1.GameServer) agonesv1.GameServerStatusPort
- func GetTLSCertIssuer(gs *agonesv1.GameServer) string
- func HasAnnotation(gs *agonesv1.GameServer, annotation string) (string, bool)
- func IsShutdown(gs *agonesv1.GameServer) bool
- func MustReconcile(gs *agonesv1.GameServer) bool
- type IngressRoutingMode
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" 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 GetGameServerPort ¶
func GetGameServerPort(gs *agonesv1.GameServer) agonesv1.GameServerStatusPort
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
Click to show internal directories.
Click to hide internal directories.