v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=game.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: game.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ServicesGameServerCluster

type ServicesGameServerCluster struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicesGameServerClusterSpec   `json:"spec,omitempty"`
	Status            ServicesGameServerClusterStatus `json:"status,omitempty"`
}

func (*ServicesGameServerCluster) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerCluster.

func (*ServicesGameServerCluster) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerCluster) DeepCopyObject

func (in *ServicesGameServerCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServicesGameServerCluster) SetupWebhookWithManager

func (r *ServicesGameServerCluster) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServicesGameServerCluster) ValidateCreate

func (r *ServicesGameServerCluster) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerCluster) ValidateDelete

func (r *ServicesGameServerCluster) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerCluster) ValidateUpdate

func (r *ServicesGameServerCluster) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServicesGameServerClusterList

type ServicesGameServerClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ServicesGameServerCluster CRD objects
	Items []ServicesGameServerCluster `json:"items,omitempty"`
}

ServicesGameServerClusterList is a list of ServicesGameServerClusters

func (*ServicesGameServerClusterList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerClusterList.

func (*ServicesGameServerClusterList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerClusterList) DeepCopyObject

func (in *ServicesGameServerClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServicesGameServerClusterSpec

type ServicesGameServerClusterSpec struct {
	State *ServicesGameServerClusterSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicesGameServerClusterSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServicesGameServerClusterSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerClusterSpec.

func (*ServicesGameServerClusterSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerClusterSpecConnectionInfo

type ServicesGameServerClusterSpecConnectionInfo struct {
	// Reference of the GKE cluster where the game servers are installed.
	GkeClusterReference *ServicesGameServerClusterSpecConnectionInfoGkeClusterReference `json:"gkeClusterReference" tf:"gke_cluster_reference"`
	// Namespace designated on the game server cluster where the game server
	// instances will be created. The namespace existence will be validated
	// during creation.
	Namespace *string `json:"namespace" tf:"namespace"`
}

func (*ServicesGameServerClusterSpecConnectionInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerClusterSpecConnectionInfo.

func (*ServicesGameServerClusterSpecConnectionInfo) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerClusterSpecConnectionInfoCodec

type ServicesGameServerClusterSpecConnectionInfoCodec struct {
}

+k8s:deepcopy-gen=false

func (ServicesGameServerClusterSpecConnectionInfoCodec) Decode

func (ServicesGameServerClusterSpecConnectionInfoCodec) Encode

func (ServicesGameServerClusterSpecConnectionInfoCodec) IsEmpty

type ServicesGameServerClusterSpecConnectionInfoGkeClusterReference

type ServicesGameServerClusterSpecConnectionInfoGkeClusterReference struct {
	// The full or partial name of a GKE cluster, using one of the following
	// forms:
	//
	// * 'projects/{project_id}/locations/{location}/clusters/{cluster_id}'
	// * 'locations/{location}/clusters/{cluster_id}'
	// * '{cluster_id}'
	//
	// If project and location are not specified, the project and location of the
	// GameServerCluster resource are used to generate the full name of the
	// GKE cluster.
	Cluster *string `json:"cluster" tf:"cluster"`
}

func (*ServicesGameServerClusterSpecConnectionInfoGkeClusterReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerClusterSpecConnectionInfoGkeClusterReference.

func (*ServicesGameServerClusterSpecConnectionInfoGkeClusterReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerClusterSpecConnectionInfoGkeClusterReferenceCodec

type ServicesGameServerClusterSpecConnectionInfoGkeClusterReferenceCodec struct {
}

+k8s:deepcopy-gen=false

func (ServicesGameServerClusterSpecConnectionInfoGkeClusterReferenceCodec) Decode

func (ServicesGameServerClusterSpecConnectionInfoGkeClusterReferenceCodec) Encode

func (ServicesGameServerClusterSpecConnectionInfoGkeClusterReferenceCodec) IsEmpty

type ServicesGameServerClusterSpecResource

type ServicesGameServerClusterSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Required. The resource name of the game server cluster
	ClusterID *string `json:"clusterID" tf:"cluster_id"`
	// Game server cluster connection information. This information is used to
	// manage game server clusters.
	ConnectionInfo *ServicesGameServerClusterSpecConnectionInfo `json:"connectionInfo" tf:"connection_info"`
	// Human readable description of the cluster.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The labels associated with this game server cluster. Each label is a
	// key-value pair.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// Location of the Cluster.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// The resource id of the game server cluster, eg:
	//
	// 'projects/{project_id}/locations/{location}/realms/{realm_id}/gameServerClusters/{cluster_id}'.
	// For example,
	//
	// 'projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster'.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// The realm id of the game server realm.
	RealmID *string `json:"realmID" tf:"realm_id"`
}

func (*ServicesGameServerClusterSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerClusterSpecResource.

func (*ServicesGameServerClusterSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerClusterStatus

type ServicesGameServerClusterStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServicesGameServerClusterStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerClusterStatus.

func (*ServicesGameServerClusterStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfig

type ServicesGameServerConfig struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicesGameServerConfigSpec   `json:"spec,omitempty"`
	Status            ServicesGameServerConfigStatus `json:"status,omitempty"`
}

func (*ServicesGameServerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfig.

func (*ServicesGameServerConfig) DeepCopyInto

func (in *ServicesGameServerConfig) DeepCopyInto(out *ServicesGameServerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerConfig) DeepCopyObject

func (in *ServicesGameServerConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServicesGameServerConfig) SetupWebhookWithManager

func (r *ServicesGameServerConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServicesGameServerConfig) ValidateCreate

func (r *ServicesGameServerConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerConfig) ValidateDelete

func (r *ServicesGameServerConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerConfig) ValidateUpdate

func (r *ServicesGameServerConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServicesGameServerConfigList

type ServicesGameServerConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ServicesGameServerConfig CRD objects
	Items []ServicesGameServerConfig `json:"items,omitempty"`
}

ServicesGameServerConfigList is a list of ServicesGameServerConfigs

func (*ServicesGameServerConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigList.

func (*ServicesGameServerConfigList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerConfigList) DeepCopyObject

func (in *ServicesGameServerConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServicesGameServerConfigSpec

type ServicesGameServerConfigSpec struct {
	State *ServicesGameServerConfigSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicesGameServerConfigSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServicesGameServerConfigSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigSpec.

func (*ServicesGameServerConfigSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfigSpecFleetConfigs

type ServicesGameServerConfigSpecFleetConfigs struct {
	// The fleet spec, which is sent to Agones to configure fleet.
	// The spec can be passed as inline json but it is recommended to use a file reference
	// instead. File references can contain the json or yaml format of the fleet spec. Eg:
	//
	// * fleet_spec = jsonencode(yamldecode(file("fleet_configs.yaml")))
	// * fleet_spec = file("fleet_configs.json")
	//
	// The format of the spec can be found :
	// 'https://agones.dev/site/docs/reference/fleet/'.
	FleetSpec *string `json:"fleetSpec" tf:"fleet_spec"`
	// The name of the FleetConfig.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*ServicesGameServerConfigSpecFleetConfigs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigSpecFleetConfigs.

func (*ServicesGameServerConfigSpecFleetConfigs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfigSpecResource

type ServicesGameServerConfigSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique id for the deployment config.
	ConfigID *string `json:"configID" tf:"config_id"`
	// A unique id for the deployment.
	DeploymentID *string `json:"deploymentID" tf:"deployment_id"`
	// The description of the game server config.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The fleet config contains list of fleet specs. In the Single Cloud, there
	// will be only one.
	FleetConfigs []ServicesGameServerConfigSpecFleetConfigs `json:"fleetConfigs" tf:"fleet_configs"`
	// The labels associated with this game server config. Each label is a
	// key-value pair.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// Location of the Deployment.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// The resource name of the game server config, in the form:
	//
	// 'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}'.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// Optional. This contains the autoscaling settings.
	// +optional
	ScalingConfigs []ServicesGameServerConfigSpecScalingConfigs `json:"scalingConfigs,omitempty" tf:"scaling_configs"`
}

func (*ServicesGameServerConfigSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigSpecResource.

func (*ServicesGameServerConfigSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfigSpecScalingConfigs

type ServicesGameServerConfigSpecScalingConfigs struct {
	// Fleet autoscaler spec, which is sent to Agones.
	// Example spec can be found :
	// https://agones.dev/site/docs/reference/fleetautoscaler/
	FleetAutoscalerSpec *string `json:"fleetAutoscalerSpec" tf:"fleet_autoscaler_spec"`
	// The name of the ScalingConfig
	Name *string `json:"name" tf:"name"`
	// The schedules to which this scaling config applies.
	// +optional
	Schedules []ServicesGameServerConfigSpecScalingConfigsSchedules `json:"schedules,omitempty" tf:"schedules"`
	// Labels used to identify the clusters to which this scaling config
	// applies. A cluster is subject to this scaling config if its labels match
	// any of the selector entries.
	// +optional
	Selectors []ServicesGameServerConfigSpecScalingConfigsSelectors `json:"selectors,omitempty" tf:"selectors"`
}

func (*ServicesGameServerConfigSpecScalingConfigs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigSpecScalingConfigs.

func (*ServicesGameServerConfigSpecScalingConfigs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfigSpecScalingConfigsSchedules

type ServicesGameServerConfigSpecScalingConfigsSchedules struct {
	// The duration for the cron job event. The duration of the event is effective
	// after the cron job's start time.
	//
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	// +optional
	CronJobDuration *string `json:"cronJobDuration,omitempty" tf:"cron_job_duration"`
	// The cron definition of the scheduled event. See
	// https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
	// defined by the realm.
	// +optional
	CronSpec *string `json:"cronSpec,omitempty" tf:"cron_spec"`
	// The end time of the event.
	//
	// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
	// +optional
	EndTime *string `json:"endTime,omitempty" tf:"end_time"`
	// The start time of the event.
	//
	// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
	// +optional
	StartTime *string `json:"startTime,omitempty" tf:"start_time"`
}

func (*ServicesGameServerConfigSpecScalingConfigsSchedules) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigSpecScalingConfigsSchedules.

func (*ServicesGameServerConfigSpecScalingConfigsSchedules) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfigSpecScalingConfigsSelectors

type ServicesGameServerConfigSpecScalingConfigsSelectors struct {
	// Set of labels to group by.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
}

func (*ServicesGameServerConfigSpecScalingConfigsSelectors) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigSpecScalingConfigsSelectors.

func (*ServicesGameServerConfigSpecScalingConfigsSelectors) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerConfigStatus

type ServicesGameServerConfigStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServicesGameServerConfigStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerConfigStatus.

func (*ServicesGameServerConfigStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeployment

type ServicesGameServerDeployment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicesGameServerDeploymentSpec   `json:"spec,omitempty"`
	Status            ServicesGameServerDeploymentStatus `json:"status,omitempty"`
}

func (*ServicesGameServerDeployment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeployment.

func (*ServicesGameServerDeployment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerDeployment) DeepCopyObject

func (in *ServicesGameServerDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServicesGameServerDeployment) SetupWebhookWithManager

func (r *ServicesGameServerDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServicesGameServerDeployment) ValidateCreate

func (r *ServicesGameServerDeployment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerDeployment) ValidateDelete

func (r *ServicesGameServerDeployment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerDeployment) ValidateUpdate

func (r *ServicesGameServerDeployment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServicesGameServerDeploymentList

type ServicesGameServerDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ServicesGameServerDeployment CRD objects
	Items []ServicesGameServerDeployment `json:"items,omitempty"`
}

ServicesGameServerDeploymentList is a list of ServicesGameServerDeployments

func (*ServicesGameServerDeploymentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentList.

func (*ServicesGameServerDeploymentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerDeploymentList) DeepCopyObject

func (in *ServicesGameServerDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServicesGameServerDeploymentRollout

type ServicesGameServerDeploymentRollout struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicesGameServerDeploymentRolloutSpec   `json:"spec,omitempty"`
	Status            ServicesGameServerDeploymentRolloutStatus `json:"status,omitempty"`
}

func (*ServicesGameServerDeploymentRollout) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRollout.

func (*ServicesGameServerDeploymentRollout) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerDeploymentRollout) DeepCopyObject

func (in *ServicesGameServerDeploymentRollout) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServicesGameServerDeploymentRollout) SetupWebhookWithManager

func (r *ServicesGameServerDeploymentRollout) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServicesGameServerDeploymentRollout) ValidateCreate

func (r *ServicesGameServerDeploymentRollout) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerDeploymentRollout) ValidateDelete

func (r *ServicesGameServerDeploymentRollout) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServicesGameServerDeploymentRollout) ValidateUpdate

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServicesGameServerDeploymentRolloutList

type ServicesGameServerDeploymentRolloutList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ServicesGameServerDeploymentRollout CRD objects
	Items []ServicesGameServerDeploymentRollout `json:"items,omitempty"`
}

ServicesGameServerDeploymentRolloutList is a list of ServicesGameServerDeploymentRollouts

func (*ServicesGameServerDeploymentRolloutList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRolloutList.

func (*ServicesGameServerDeploymentRolloutList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesGameServerDeploymentRolloutList) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServicesGameServerDeploymentRolloutSpec

type ServicesGameServerDeploymentRolloutSpec struct {
	State *ServicesGameServerDeploymentRolloutSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicesGameServerDeploymentRolloutSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServicesGameServerDeploymentRolloutSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRolloutSpec.

func (*ServicesGameServerDeploymentRolloutSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentRolloutSpecGameServerConfigOverrides

type ServicesGameServerDeploymentRolloutSpecGameServerConfigOverrides struct {
	// Version of the configuration.
	// +optional
	ConfigVersion *string `json:"configVersion,omitempty" tf:"config_version"`
	// Selection by realms.
	// +optional
	RealmsSelector *ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelector `json:"realmsSelector,omitempty" tf:"realms_selector"`
}

func (*ServicesGameServerDeploymentRolloutSpecGameServerConfigOverrides) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRolloutSpecGameServerConfigOverrides.

func (*ServicesGameServerDeploymentRolloutSpecGameServerConfigOverrides) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelector

type ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelector struct {
	// List of realms to match against.
	// +optional
	Realms []string `json:"realms,omitempty" tf:"realms"`
}

func (*ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelector) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelector.

func (*ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelector) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelectorCodec

type ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelectorCodec struct {
}

+k8s:deepcopy-gen=false

func (ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelectorCodec) Decode

func (ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelectorCodec) Encode

func (ServicesGameServerDeploymentRolloutSpecGameServerConfigOverridesRealmsSelectorCodec) IsEmpty

type ServicesGameServerDeploymentRolloutSpecResource

type ServicesGameServerDeploymentRolloutSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// This field points to the game server config that is
	// applied by default to all realms and clusters. For example,
	//
	// 'projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config'.
	DefaultGameServerConfig *string `json:"defaultGameServerConfig" tf:"default_game_server_config"`
	// The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.
	DeploymentID *string `json:"deploymentID" tf:"deployment_id"`
	// The game_server_config_overrides contains the per game server config
	// overrides. The overrides are processed in the order they are listed. As
	// soon as a match is found for a cluster, the rest of the list is not
	// processed.
	// +optional
	GameServerConfigOverrides []ServicesGameServerDeploymentRolloutSpecGameServerConfigOverrides `json:"gameServerConfigOverrides,omitempty" tf:"game_server_config_overrides"`
	// The resource id of the game server deployment
	//
	// eg: 'projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout'.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*ServicesGameServerDeploymentRolloutSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRolloutSpecResource.

func (*ServicesGameServerDeploymentRolloutSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentRolloutStatus

type ServicesGameServerDeploymentRolloutStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServicesGameServerDeploymentRolloutStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentRolloutStatus.

func (*ServicesGameServerDeploymentRolloutStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentSpec

type ServicesGameServerDeploymentSpec struct {
	State *ServicesGameServerDeploymentSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicesGameServerDeploymentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServicesGameServerDeploymentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentSpec.

func (*ServicesGameServerDeploymentSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentSpecResource

type ServicesGameServerDeploymentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// A unique id for the deployment.
	DeploymentID *string `json:"deploymentID" tf:"deployment_id"`
	// Human readable description of the game server deployment.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The labels associated with this game server deployment. Each label is a
	// key-value pair.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// Location of the Deployment.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// The resource id of the game server deployment, eg:
	//
	// 'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'.
	// For example,
	//
	// 'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*ServicesGameServerDeploymentSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentSpecResource.

func (*ServicesGameServerDeploymentSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesGameServerDeploymentStatus

type ServicesGameServerDeploymentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServicesGameServerDeploymentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesGameServerDeploymentStatus.

func (*ServicesGameServerDeploymentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesRealm

type ServicesRealm struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicesRealmSpec   `json:"spec,omitempty"`
	Status            ServicesRealmStatus `json:"status,omitempty"`
}

func (*ServicesRealm) DeepCopy

func (in *ServicesRealm) DeepCopy() *ServicesRealm

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesRealm.

func (*ServicesRealm) DeepCopyInto

func (in *ServicesRealm) DeepCopyInto(out *ServicesRealm)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesRealm) DeepCopyObject

func (in *ServicesRealm) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServicesRealm) SetupWebhookWithManager

func (r *ServicesRealm) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServicesRealm) ValidateCreate

func (r *ServicesRealm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServicesRealm) ValidateDelete

func (r *ServicesRealm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServicesRealm) ValidateUpdate

func (r *ServicesRealm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServicesRealmList

type ServicesRealmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ServicesRealm CRD objects
	Items []ServicesRealm `json:"items,omitempty"`
}

ServicesRealmList is a list of ServicesRealms

func (*ServicesRealmList) DeepCopy

func (in *ServicesRealmList) DeepCopy() *ServicesRealmList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesRealmList.

func (*ServicesRealmList) DeepCopyInto

func (in *ServicesRealmList) DeepCopyInto(out *ServicesRealmList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServicesRealmList) DeepCopyObject

func (in *ServicesRealmList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServicesRealmSpec

type ServicesRealmSpec struct {
	State *ServicesRealmSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicesRealmSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServicesRealmSpec) DeepCopy

func (in *ServicesRealmSpec) DeepCopy() *ServicesRealmSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesRealmSpec.

func (*ServicesRealmSpec) DeepCopyInto

func (in *ServicesRealmSpec) DeepCopyInto(out *ServicesRealmSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesRealmSpecResource

type ServicesRealmSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Human readable description of the realm.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// ETag of the resource.
	// +optional
	Etag *string `json:"etag,omitempty" tf:"etag"`
	// The labels associated with this realm. Each label is a key-value pair.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// Location of the Realm.
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// The resource id of the realm, of the form:
	// 'projects/{project_id}/locations/{location}/realms/{realm_id}'. For
	// example, 'projects/my-project/locations/{location}/realms/my-realm'.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// GCP region of the Realm.
	RealmID *string `json:"realmID" tf:"realm_id"`
	// Required. Time zone where all realm-specific policies are evaluated. The value of
	// this field must be from the IANA time zone database:
	// https://www.iana.org/time-zones.
	TimeZone *string `json:"timeZone" tf:"time_zone"`
}

func (*ServicesRealmSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesRealmSpecResource.

func (*ServicesRealmSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServicesRealmStatus

type ServicesRealmStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServicesRealmStatus) DeepCopy

func (in *ServicesRealmStatus) DeepCopy() *ServicesRealmStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesRealmStatus.

func (*ServicesRealmStatus) DeepCopyInto

func (in *ServicesRealmStatus) DeepCopyInto(out *ServicesRealmStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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