Documentation ¶
Index ¶
- type ClusterConnectionInfoApplyConfiguration
- func (b *ClusterConnectionInfoApplyConfiguration) WithAllocationEndpoints(values ...string) *ClusterConnectionInfoApplyConfiguration
- func (b *ClusterConnectionInfoApplyConfiguration) WithClusterName(value string) *ClusterConnectionInfoApplyConfiguration
- func (b *ClusterConnectionInfoApplyConfiguration) WithNamespace(value string) *ClusterConnectionInfoApplyConfiguration
- func (b *ClusterConnectionInfoApplyConfiguration) WithSecretName(value string) *ClusterConnectionInfoApplyConfiguration
- func (b *ClusterConnectionInfoApplyConfiguration) WithServerCA(values ...byte) *ClusterConnectionInfoApplyConfiguration
- type GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithAPIVersion(value string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithFinalizers(values ...string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithGenerateName(value string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithGeneration(value int64) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithKind(value string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithLabels(entries map[string]string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithName(value string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithNamespace(value string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithResourceVersion(value string) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithSpec(value *GameServerAllocationPolicySpecApplyConfiguration) *GameServerAllocationPolicyApplyConfiguration
- func (b *GameServerAllocationPolicyApplyConfiguration) WithUID(value types.UID) *GameServerAllocationPolicyApplyConfiguration
- type GameServerAllocationPolicySpecApplyConfiguration
- func (b *GameServerAllocationPolicySpecApplyConfiguration) WithConnectionInfo(value *ClusterConnectionInfoApplyConfiguration) *GameServerAllocationPolicySpecApplyConfiguration
- func (b *GameServerAllocationPolicySpecApplyConfiguration) WithPriority(value int32) *GameServerAllocationPolicySpecApplyConfiguration
- func (b *GameServerAllocationPolicySpecApplyConfiguration) WithWeight(value int) *GameServerAllocationPolicySpecApplyConfiguration
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 ¶
func (b *ClusterConnectionInfoApplyConfiguration) WithAllocationEndpoints(values ...string) *ClusterConnectionInfoApplyConfiguration
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 ¶
func (b *ClusterConnectionInfoApplyConfiguration) WithClusterName(value string) *ClusterConnectionInfoApplyConfiguration
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 ¶
func (b *ClusterConnectionInfoApplyConfiguration) WithNamespace(value string) *ClusterConnectionInfoApplyConfiguration
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 ¶
func (b *ClusterConnectionInfoApplyConfiguration) WithSecretName(value string) *ClusterConnectionInfoApplyConfiguration
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 ¶
func (b *ClusterConnectionInfoApplyConfiguration) WithServerCA(values ...byte) *ClusterConnectionInfoApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithAPIVersion(value string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithFinalizers(values ...string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithGenerateName(value string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithGeneration(value int64) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithKind(value string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithLabels(entries map[string]string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithName(value string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithNamespace(value string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithResourceVersion(value string) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithSpec(value *GameServerAllocationPolicySpecApplyConfiguration) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicyApplyConfiguration) WithUID(value types.UID) *GameServerAllocationPolicyApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicySpecApplyConfiguration) WithConnectionInfo(value *ClusterConnectionInfoApplyConfiguration) *GameServerAllocationPolicySpecApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicySpecApplyConfiguration) WithPriority(value int32) *GameServerAllocationPolicySpecApplyConfiguration
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 ¶
func (b *GameServerAllocationPolicySpecApplyConfiguration) WithWeight(value int) *GameServerAllocationPolicySpecApplyConfiguration
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.