v1

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConnectionInfoApplyConfiguration

type ClusterConnectionInfoApplyConfiguration struct {
	ClusterName         *string  `json:"clusterName,omitempty"`
	AllocationEndpoints []string `json:"allocationEndpoints,omitempty"`
	SecretName          *string  `json:"secretName,omitempty"`
	Namespace           *string  `json:"namespace,omitempty"`
	ServerCA            []byte   `json:"serverCa,omitempty"`
}

ClusterConnectionInfoApplyConfiguration represents an declarative configuration of the ClusterConnectionInfo type for use with apply.

func ClusterConnectionInfo

func ClusterConnectionInfo() *ClusterConnectionInfoApplyConfiguration

ClusterConnectionInfoApplyConfiguration constructs an declarative configuration of the ClusterConnectionInfo type for use with apply.

func (*ClusterConnectionInfoApplyConfiguration) WithAllocationEndpoints

WithAllocationEndpoints adds the given value to the AllocationEndpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllocationEndpoints field.

func (*ClusterConnectionInfoApplyConfiguration) WithClusterName

WithClusterName sets the ClusterName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterName field is set to the value of the last call.

func (*ClusterConnectionInfoApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ClusterConnectionInfoApplyConfiguration) WithSecretName

WithSecretName sets the SecretName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretName field is set to the value of the last call.

func (*ClusterConnectionInfoApplyConfiguration) WithServerCA

WithServerCA adds the given value to the ServerCA field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ServerCA field.

type GameServerAllocationPolicyApplyConfiguration

type GameServerAllocationPolicyApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GameServerAllocationPolicySpecApplyConfiguration `json:"spec,omitempty"`
}

GameServerAllocationPolicyApplyConfiguration represents an declarative configuration of the GameServerAllocationPolicy type for use with apply.

func GameServerAllocationPolicy

func GameServerAllocationPolicy(name, namespace string) *GameServerAllocationPolicyApplyConfiguration

GameServerAllocationPolicy constructs an declarative configuration of the GameServerAllocationPolicy type for use with apply.

func (*GameServerAllocationPolicyApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*GameServerAllocationPolicyApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*GameServerAllocationPolicyApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*GameServerAllocationPolicyApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*GameServerAllocationPolicyApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*GameServerAllocationPolicyApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type GameServerAllocationPolicySpecApplyConfiguration

type GameServerAllocationPolicySpecApplyConfiguration struct {
	Priority       *int32                                   `json:"priority,omitempty"`
	Weight         *int                                     `json:"weight,omitempty"`
	ConnectionInfo *ClusterConnectionInfoApplyConfiguration `json:"connectionInfo,omitempty"`
}

GameServerAllocationPolicySpecApplyConfiguration represents an declarative configuration of the GameServerAllocationPolicySpec type for use with apply.

func GameServerAllocationPolicySpec

func GameServerAllocationPolicySpec() *GameServerAllocationPolicySpecApplyConfiguration

GameServerAllocationPolicySpecApplyConfiguration constructs an declarative configuration of the GameServerAllocationPolicySpec type for use with apply.

func (*GameServerAllocationPolicySpecApplyConfiguration) WithConnectionInfo

WithConnectionInfo sets the ConnectionInfo field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConnectionInfo field is set to the value of the last call.

func (*GameServerAllocationPolicySpecApplyConfiguration) WithPriority

WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.

func (*GameServerAllocationPolicySpecApplyConfiguration) WithWeight

WithWeight sets the Weight field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Weight field is set to the value of the last call.

Jump to

Keyboard shortcuts

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