Versions in this module Expand all Collapse all v0 v0.1.0 Jun 17, 2021 Changes in this version + const ExternalNetworkKey + const LBReadyKey + func EnsureDefaultForGameServer(gs *v1alpha1.GameServer) *v1alpha1.GameServer + func EnsureDefaultPortType(gsSpec *v1alpha1.GameServerSpec) + func EnsureDefaultsForGameServerSet(gsSet *v1alpha1.GameServerSet) *v1alpha1.GameServerSet + func EnsureDefaultsForSquad(squad *v1alpha1.Squad) *v1alpha1.Squad + func EnsurePod(pod *corev1.Pod, f func(*corev1.Pod), opts ...option) *corev1.Pod + func NewWebhookServer(config *SideCarConfig, kubeClient kubernetes.Interface, ...) *webhookServer + func ValidateGameServer(gs *carrierv1alpha1.GameServer) field.ErrorList + func ValidateGameServerSet(gsSet *carrierv1alpha1.GameServerSet) field.ErrorList + func ValidateGameServerSetUpdate(oldGSS, newGSS *carrierv1alpha1.GameServerSet) field.ErrorList + func ValidateGameServerUpdate(oldGS, newGS *carrierv1alpha1.GameServer) field.ErrorList + func ValidateSquad(squad *carrierv1alpha1.Squad) field.ErrorList + func ValidateSquadUpdate(oldSquad, newSquad *carrierv1alpha1.Squad) field.ErrorList + func WithArgs(httpPort, grpcPort int) option + func WithEnvs(pod *corev1.Pod) option + func WithHealthCheck() option + func WithImageName(sc *SideCarConfig) option + func WithResource(sc *SideCarConfig) option + type SideCarConfig struct + CPU resource.Quantity + GrpcPort int + HttpPort int + Image string + Memory resource.Quantity