v1

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedCounterStatusApplyConfiguration

type AggregatedCounterStatusApplyConfiguration struct {
	AllocatedCount    *int64 `json:"allocatedCount,omitempty"`
	AllocatedCapacity *int64 `json:"allocatedCapacity,omitempty"`
	Count             *int64 `json:"count,omitempty"`
	Capacity          *int64 `json:"capacity,omitempty"`
}

AggregatedCounterStatusApplyConfiguration represents an declarative configuration of the AggregatedCounterStatus type for use with apply.

func AggregatedCounterStatus

func AggregatedCounterStatus() *AggregatedCounterStatusApplyConfiguration

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

func (*AggregatedCounterStatusApplyConfiguration) WithAllocatedCapacity

WithAllocatedCapacity sets the AllocatedCapacity 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 AllocatedCapacity field is set to the value of the last call.

func (*AggregatedCounterStatusApplyConfiguration) WithAllocatedCount

WithAllocatedCount sets the AllocatedCount 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 AllocatedCount field is set to the value of the last call.

func (*AggregatedCounterStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*AggregatedCounterStatusApplyConfiguration) WithCount

WithCount sets the Count 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 Count field is set to the value of the last call.

type AggregatedListStatusApplyConfiguration

type AggregatedListStatusApplyConfiguration struct {
	AllocatedCount    *int64 `json:"allocatedCount,omitempty"`
	AllocatedCapacity *int64 `json:"allocatedCapacity,omitempty"`
	Count             *int64 `json:"count,omitempty"`
	Capacity          *int64 `json:"capacity,omitempty"`
}

AggregatedListStatusApplyConfiguration represents an declarative configuration of the AggregatedListStatus type for use with apply.

func AggregatedListStatus

func AggregatedListStatus() *AggregatedListStatusApplyConfiguration

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

func (*AggregatedListStatusApplyConfiguration) WithAllocatedCapacity

WithAllocatedCapacity sets the AllocatedCapacity 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 AllocatedCapacity field is set to the value of the last call.

func (*AggregatedListStatusApplyConfiguration) WithAllocatedCount

WithAllocatedCount sets the AllocatedCount 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 AllocatedCount field is set to the value of the last call.

func (*AggregatedListStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*AggregatedListStatusApplyConfiguration) WithCount

WithCount sets the Count 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 Count field is set to the value of the last call.

type AggregatedPlayerStatusApplyConfiguration

type AggregatedPlayerStatusApplyConfiguration struct {
	Count    *int64 `json:"count,omitempty"`
	Capacity *int64 `json:"capacity,omitempty"`
}

AggregatedPlayerStatusApplyConfiguration represents an declarative configuration of the AggregatedPlayerStatus type for use with apply.

func AggregatedPlayerStatus

func AggregatedPlayerStatus() *AggregatedPlayerStatusApplyConfiguration

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

func (*AggregatedPlayerStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*AggregatedPlayerStatusApplyConfiguration) WithCount

WithCount sets the Count 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 Count field is set to the value of the last call.

type AllocationOverflowApplyConfiguration

type AllocationOverflowApplyConfiguration struct {
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

AllocationOverflowApplyConfiguration represents an declarative configuration of the AllocationOverflow type for use with apply.

func AllocationOverflow

func AllocationOverflow() *AllocationOverflowApplyConfiguration

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

func (*AllocationOverflowApplyConfiguration) 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 (*AllocationOverflowApplyConfiguration) 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.

type CounterStatusApplyConfiguration

type CounterStatusApplyConfiguration struct {
	Count    *int64 `json:"count,omitempty"`
	Capacity *int64 `json:"capacity,omitempty"`
}

CounterStatusApplyConfiguration represents an declarative configuration of the CounterStatus type for use with apply.

func CounterStatus

func CounterStatus() *CounterStatusApplyConfiguration

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

func (*CounterStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*CounterStatusApplyConfiguration) WithCount

WithCount sets the Count 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 Count field is set to the value of the last call.

type EvictionApplyConfiguration

type EvictionApplyConfiguration struct {
	Safe *v1.EvictionSafe `json:"safe,omitempty"`
}

EvictionApplyConfiguration represents an declarative configuration of the Eviction type for use with apply.

func Eviction

func Eviction() *EvictionApplyConfiguration

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

func (*EvictionApplyConfiguration) WithSafe

WithSafe sets the Safe 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 Safe field is set to the value of the last call.

type FleetApplyConfiguration

type FleetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *FleetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *FleetStatusApplyConfiguration `json:"status,omitempty"`
}

FleetApplyConfiguration represents an declarative configuration of the Fleet type for use with apply.

func Fleet

func Fleet(name, namespace string) *FleetApplyConfiguration

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

func (*FleetApplyConfiguration) WithAPIVersion

func (b *FleetApplyConfiguration) WithAPIVersion(value string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithAnnotations

func (b *FleetApplyConfiguration) WithAnnotations(entries map[string]string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithCreationTimestamp

func (b *FleetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *FleetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithDeletionTimestamp

func (b *FleetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithFinalizers

func (b *FleetApplyConfiguration) WithFinalizers(values ...string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithGenerateName

func (b *FleetApplyConfiguration) WithGenerateName(value string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) WithGeneration

func (b *FleetApplyConfiguration) WithGeneration(value int64) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) 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 (*FleetApplyConfiguration) WithLabels

func (b *FleetApplyConfiguration) WithLabels(entries map[string]string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) 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 (*FleetApplyConfiguration) WithNamespace

func (b *FleetApplyConfiguration) WithNamespace(value string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) 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 (*FleetApplyConfiguration) WithResourceVersion

func (b *FleetApplyConfiguration) WithResourceVersion(value string) *FleetApplyConfiguration

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 (*FleetApplyConfiguration) 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 (*FleetApplyConfiguration) WithStatus

WithStatus sets the Status 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 Status field is set to the value of the last call.

func (*FleetApplyConfiguration) 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 FleetSpecApplyConfiguration

type FleetSpecApplyConfiguration struct {
	Replicas           *int32                                    `json:"replicas,omitempty"`
	AllocationOverflow *AllocationOverflowApplyConfiguration     `json:"allocationOverflow,omitempty"`
	Strategy           *appsv1.DeploymentStrategy                `json:"strategy,omitempty"`
	Scheduling         *apis.SchedulingStrategy                  `json:"scheduling,omitempty"`
	Priorities         []PriorityApplyConfiguration              `json:"priorities,omitempty"`
	Template           *GameServerTemplateSpecApplyConfiguration `json:"template,omitempty"`
}

FleetSpecApplyConfiguration represents an declarative configuration of the FleetSpec type for use with apply.

func FleetSpec

func FleetSpec() *FleetSpecApplyConfiguration

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

func (*FleetSpecApplyConfiguration) WithAllocationOverflow

WithAllocationOverflow sets the AllocationOverflow 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 AllocationOverflow field is set to the value of the last call.

func (*FleetSpecApplyConfiguration) WithPriorities

WithPriorities adds the given value to the Priorities 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 Priorities field.

func (*FleetSpecApplyConfiguration) WithReplicas

WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.

func (*FleetSpecApplyConfiguration) WithScheduling

WithScheduling sets the Scheduling 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 Scheduling field is set to the value of the last call.

func (*FleetSpecApplyConfiguration) WithStrategy

WithStrategy sets the Strategy 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 Strategy field is set to the value of the last call.

func (*FleetSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

type FleetStatusApplyConfiguration

type FleetStatusApplyConfiguration struct {
	Replicas          *int32                                               `json:"replicas,omitempty"`
	ReadyReplicas     *int32                                               `json:"readyReplicas,omitempty"`
	ReservedReplicas  *int32                                               `json:"reservedReplicas,omitempty"`
	AllocatedReplicas *int32                                               `json:"allocatedReplicas,omitempty"`
	Players           *AggregatedPlayerStatusApplyConfiguration            `json:"players,omitempty"`
	Counters          map[string]AggregatedCounterStatusApplyConfiguration `json:"counters,omitempty"`
	Lists             map[string]AggregatedListStatusApplyConfiguration    `json:"lists,omitempty"`
}

FleetStatusApplyConfiguration represents an declarative configuration of the FleetStatus type for use with apply.

func FleetStatus

func FleetStatus() *FleetStatusApplyConfiguration

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

func (*FleetStatusApplyConfiguration) WithAllocatedReplicas

func (b *FleetStatusApplyConfiguration) WithAllocatedReplicas(value int32) *FleetStatusApplyConfiguration

WithAllocatedReplicas sets the AllocatedReplicas 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 AllocatedReplicas field is set to the value of the last call.

func (*FleetStatusApplyConfiguration) WithCounters

WithCounters puts the entries into the Counters 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 Counters field, overwriting an existing map entries in Counters field with the same key.

func (*FleetStatusApplyConfiguration) WithLists

WithLists puts the entries into the Lists 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 Lists field, overwriting an existing map entries in Lists field with the same key.

func (*FleetStatusApplyConfiguration) WithPlayers

WithPlayers sets the Players 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 Players field is set to the value of the last call.

func (*FleetStatusApplyConfiguration) WithReadyReplicas

WithReadyReplicas sets the ReadyReplicas 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 ReadyReplicas field is set to the value of the last call.

func (*FleetStatusApplyConfiguration) WithReplicas

WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.

func (*FleetStatusApplyConfiguration) WithReservedReplicas

func (b *FleetStatusApplyConfiguration) WithReservedReplicas(value int32) *FleetStatusApplyConfiguration

WithReservedReplicas sets the ReservedReplicas 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 ReservedReplicas field is set to the value of the last call.

type GameServerApplyConfiguration

type GameServerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GameServerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *GameServerStatusApplyConfiguration `json:"status,omitempty"`
}

GameServerApplyConfiguration represents an declarative configuration of the GameServer type for use with apply.

func GameServer

func GameServer(name, namespace string) *GameServerApplyConfiguration

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

func (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) WithCreationTimestamp

func (b *GameServerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerApplyConfiguration

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 (*GameServerApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *GameServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerApplyConfiguration

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 (*GameServerApplyConfiguration) WithDeletionTimestamp

func (b *GameServerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerApplyConfiguration

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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) WithResourceVersion

func (b *GameServerApplyConfiguration) WithResourceVersion(value string) *GameServerApplyConfiguration

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 (*GameServerApplyConfiguration) 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 (*GameServerApplyConfiguration) WithStatus

WithStatus sets the Status 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 Status field is set to the value of the last call.

func (*GameServerApplyConfiguration) 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 GameServerPortApplyConfiguration

type GameServerPortApplyConfiguration struct {
	Name          *string          `json:"name,omitempty"`
	Range         *string          `json:"range,omitempty"`
	PortPolicy    *v1.PortPolicy   `json:"portPolicy,omitempty"`
	Container     *string          `json:"container,omitempty"`
	ContainerPort *int32           `json:"containerPort,omitempty"`
	HostPort      *int32           `json:"hostPort,omitempty"`
	Protocol      *corev1.Protocol `json:"protocol,omitempty"`
}

GameServerPortApplyConfiguration represents an declarative configuration of the GameServerPort type for use with apply.

func GameServerPort

func GameServerPort() *GameServerPortApplyConfiguration

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

func (*GameServerPortApplyConfiguration) WithContainer

WithContainer sets the Container 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 Container field is set to the value of the last call.

func (*GameServerPortApplyConfiguration) WithContainerPort

WithContainerPort sets the ContainerPort 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 ContainerPort field is set to the value of the last call.

func (*GameServerPortApplyConfiguration) WithHostPort

WithHostPort sets the HostPort 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 HostPort field is set to the value of the last call.

func (*GameServerPortApplyConfiguration) 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 (*GameServerPortApplyConfiguration) WithPortPolicy

WithPortPolicy sets the PortPolicy 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 PortPolicy field is set to the value of the last call.

func (*GameServerPortApplyConfiguration) WithProtocol

WithProtocol sets the Protocol 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 Protocol field is set to the value of the last call.

func (*GameServerPortApplyConfiguration) WithRange added in v1.41.0

WithRange sets the Range 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 Range field is set to the value of the last call.

type GameServerSetApplyConfiguration

type GameServerSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GameServerSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *GameServerSetStatusApplyConfiguration `json:"status,omitempty"`
}

GameServerSetApplyConfiguration represents an declarative configuration of the GameServerSet type for use with apply.

func GameServerSet

func GameServerSet(name, namespace string) *GameServerSetApplyConfiguration

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

func (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *GameServerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerSetApplyConfiguration

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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) 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 (*GameServerSetApplyConfiguration) WithStatus

WithStatus sets the Status 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 Status field is set to the value of the last call.

func (*GameServerSetApplyConfiguration) 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 GameServerSetSpecApplyConfiguration

type GameServerSetSpecApplyConfiguration struct {
	Replicas           *int32                                    `json:"replicas,omitempty"`
	AllocationOverflow *AllocationOverflowApplyConfiguration     `json:"allocationOverflow,omitempty"`
	Scheduling         *apis.SchedulingStrategy                  `json:"scheduling,omitempty"`
	Priorities         []PriorityApplyConfiguration              `json:"priorities,omitempty"`
	Template           *GameServerTemplateSpecApplyConfiguration `json:"template,omitempty"`
}

GameServerSetSpecApplyConfiguration represents an declarative configuration of the GameServerSetSpec type for use with apply.

func GameServerSetSpec

func GameServerSetSpec() *GameServerSetSpecApplyConfiguration

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

func (*GameServerSetSpecApplyConfiguration) WithAllocationOverflow

WithAllocationOverflow sets the AllocationOverflow 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 AllocationOverflow field is set to the value of the last call.

func (*GameServerSetSpecApplyConfiguration) WithPriorities

WithPriorities adds the given value to the Priorities 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 Priorities field.

func (*GameServerSetSpecApplyConfiguration) WithReplicas

WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.

func (*GameServerSetSpecApplyConfiguration) WithScheduling

WithScheduling sets the Scheduling 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 Scheduling field is set to the value of the last call.

func (*GameServerSetSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

type GameServerSetStatusApplyConfiguration

type GameServerSetStatusApplyConfiguration struct {
	Replicas          *int32                                               `json:"replicas,omitempty"`
	ReadyReplicas     *int32                                               `json:"readyReplicas,omitempty"`
	ReservedReplicas  *int32                                               `json:"reservedReplicas,omitempty"`
	AllocatedReplicas *int32                                               `json:"allocatedReplicas,omitempty"`
	ShutdownReplicas  *int32                                               `json:"shutdownReplicas,omitempty"`
	Players           *AggregatedPlayerStatusApplyConfiguration            `json:"players,omitempty"`
	Counters          map[string]AggregatedCounterStatusApplyConfiguration `json:"counters,omitempty"`
	Lists             map[string]AggregatedListStatusApplyConfiguration    `json:"lists,omitempty"`
}

GameServerSetStatusApplyConfiguration represents an declarative configuration of the GameServerSetStatus type for use with apply.

func GameServerSetStatus

func GameServerSetStatus() *GameServerSetStatusApplyConfiguration

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

func (*GameServerSetStatusApplyConfiguration) WithAllocatedReplicas

WithAllocatedReplicas sets the AllocatedReplicas 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 AllocatedReplicas field is set to the value of the last call.

func (*GameServerSetStatusApplyConfiguration) WithCounters

WithCounters puts the entries into the Counters 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 Counters field, overwriting an existing map entries in Counters field with the same key.

func (*GameServerSetStatusApplyConfiguration) WithLists

WithLists puts the entries into the Lists 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 Lists field, overwriting an existing map entries in Lists field with the same key.

func (*GameServerSetStatusApplyConfiguration) WithPlayers

WithPlayers sets the Players 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 Players field is set to the value of the last call.

func (*GameServerSetStatusApplyConfiguration) WithReadyReplicas

WithReadyReplicas sets the ReadyReplicas 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 ReadyReplicas field is set to the value of the last call.

func (*GameServerSetStatusApplyConfiguration) WithReplicas

WithReplicas sets the Replicas 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 Replicas field is set to the value of the last call.

func (*GameServerSetStatusApplyConfiguration) WithReservedReplicas

WithReservedReplicas sets the ReservedReplicas 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 ReservedReplicas field is set to the value of the last call.

func (*GameServerSetStatusApplyConfiguration) WithShutdownReplicas

WithShutdownReplicas sets the ShutdownReplicas 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 ShutdownReplicas field is set to the value of the last call.

type GameServerSpecApplyConfiguration

type GameServerSpecApplyConfiguration struct {
	Container  *string                                    `json:"container,omitempty"`
	Ports      []GameServerPortApplyConfiguration         `json:"ports,omitempty"`
	Health     *HealthApplyConfiguration                  `json:"health,omitempty"`
	Scheduling *apis.SchedulingStrategy                   `json:"scheduling,omitempty"`
	SdkServer  *SdkServerApplyConfiguration               `json:"sdkServer,omitempty"`
	Template   *corev1.PodTemplateSpec                    `json:"template,omitempty"`
	Players    *PlayersSpecApplyConfiguration             `json:"players,omitempty"`
	Counters   map[string]CounterStatusApplyConfiguration `json:"counters,omitempty"`
	Lists      map[string]ListStatusApplyConfiguration    `json:"lists,omitempty"`
	Eviction   *EvictionApplyConfiguration                `json:"eviction,omitempty"`
}

GameServerSpecApplyConfiguration represents an declarative configuration of the GameServerSpec type for use with apply.

func GameServerSpec

func GameServerSpec() *GameServerSpecApplyConfiguration

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

func (*GameServerSpecApplyConfiguration) WithContainer

WithContainer sets the Container 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 Container field is set to the value of the last call.

func (*GameServerSpecApplyConfiguration) WithCounters

WithCounters puts the entries into the Counters 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 Counters field, overwriting an existing map entries in Counters field with the same key.

func (*GameServerSpecApplyConfiguration) WithEviction

WithEviction sets the Eviction 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 Eviction field is set to the value of the last call.

func (*GameServerSpecApplyConfiguration) WithHealth

WithHealth sets the Health 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 Health field is set to the value of the last call.

func (*GameServerSpecApplyConfiguration) WithLists

WithLists puts the entries into the Lists 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 Lists field, overwriting an existing map entries in Lists field with the same key.

func (*GameServerSpecApplyConfiguration) WithPlayers

WithPlayers sets the Players 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 Players field is set to the value of the last call.

func (*GameServerSpecApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports 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 Ports field.

func (*GameServerSpecApplyConfiguration) WithScheduling

WithScheduling sets the Scheduling 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 Scheduling field is set to the value of the last call.

func (*GameServerSpecApplyConfiguration) WithSdkServer

WithSdkServer sets the SdkServer 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 SdkServer field is set to the value of the last call.

func (*GameServerSpecApplyConfiguration) WithTemplate

WithTemplate sets the Template 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 Template field is set to the value of the last call.

type GameServerStatusApplyConfiguration

type GameServerStatusApplyConfiguration struct {
	State         *v1.GameServerState                        `json:"state,omitempty"`
	Ports         []GameServerStatusPortApplyConfiguration   `json:"ports,omitempty"`
	Address       *string                                    `json:"address,omitempty"`
	Addresses     []corev1.NodeAddress                       `json:"addresses,omitempty"`
	NodeName      *string                                    `json:"nodeName,omitempty"`
	ReservedUntil *metav1.Time                               `json:"reservedUntil,omitempty"`
	Players       *PlayerStatusApplyConfiguration            `json:"players,omitempty"`
	Counters      map[string]CounterStatusApplyConfiguration `json:"counters,omitempty"`
	Lists         map[string]ListStatusApplyConfiguration    `json:"lists,omitempty"`
	Eviction      *EvictionApplyConfiguration                `json:"eviction,omitempty"`
}

GameServerStatusApplyConfiguration represents an declarative configuration of the GameServerStatus type for use with apply.

func GameServerStatus

func GameServerStatus() *GameServerStatusApplyConfiguration

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

func (*GameServerStatusApplyConfiguration) WithAddress

WithAddress sets the Address 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 Address field is set to the value of the last call.

func (*GameServerStatusApplyConfiguration) WithAddresses

WithAddresses adds the given value to the Addresses 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 Addresses field.

func (*GameServerStatusApplyConfiguration) WithCounters

WithCounters puts the entries into the Counters 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 Counters field, overwriting an existing map entries in Counters field with the same key.

func (*GameServerStatusApplyConfiguration) WithEviction

WithEviction sets the Eviction 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 Eviction field is set to the value of the last call.

func (*GameServerStatusApplyConfiguration) WithLists

WithLists puts the entries into the Lists 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 Lists field, overwriting an existing map entries in Lists field with the same key.

func (*GameServerStatusApplyConfiguration) WithNodeName

WithNodeName sets the NodeName 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 NodeName field is set to the value of the last call.

func (*GameServerStatusApplyConfiguration) WithPlayers

WithPlayers sets the Players 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 Players field is set to the value of the last call.

func (*GameServerStatusApplyConfiguration) WithPorts

WithPorts adds the given value to the Ports 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 Ports field.

func (*GameServerStatusApplyConfiguration) WithReservedUntil

WithReservedUntil sets the ReservedUntil 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 ReservedUntil field is set to the value of the last call.

func (*GameServerStatusApplyConfiguration) WithState

WithState sets the State 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 State field is set to the value of the last call.

type GameServerStatusPortApplyConfiguration

type GameServerStatusPortApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
	Port *int32  `json:"port,omitempty"`
}

GameServerStatusPortApplyConfiguration represents an declarative configuration of the GameServerStatusPort type for use with apply.

func GameServerStatusPort

func GameServerStatusPort() *GameServerStatusPortApplyConfiguration

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

func (*GameServerStatusPortApplyConfiguration) 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 (*GameServerStatusPortApplyConfiguration) WithPort

WithPort sets the Port 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 Port field is set to the value of the last call.

type GameServerTemplateSpecApplyConfiguration

type GameServerTemplateSpecApplyConfiguration struct {
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GameServerSpecApplyConfiguration `json:"spec,omitempty"`
}

GameServerTemplateSpecApplyConfiguration represents an declarative configuration of the GameServerTemplateSpec type for use with apply.

func GameServerTemplateSpec

func GameServerTemplateSpec() *GameServerTemplateSpecApplyConfiguration

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

func (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 (*GameServerTemplateSpecApplyConfiguration) 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 HealthApplyConfiguration

type HealthApplyConfiguration struct {
	Disabled            *bool  `json:"disabled,omitempty"`
	PeriodSeconds       *int32 `json:"periodSeconds,omitempty"`
	FailureThreshold    *int32 `json:"failureThreshold,omitempty"`
	InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
}

HealthApplyConfiguration represents an declarative configuration of the Health type for use with apply.

func Health

func Health() *HealthApplyConfiguration

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

func (*HealthApplyConfiguration) WithDisabled

func (b *HealthApplyConfiguration) WithDisabled(value bool) *HealthApplyConfiguration

WithDisabled sets the Disabled 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 Disabled field is set to the value of the last call.

func (*HealthApplyConfiguration) WithFailureThreshold

func (b *HealthApplyConfiguration) WithFailureThreshold(value int32) *HealthApplyConfiguration

WithFailureThreshold sets the FailureThreshold 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 FailureThreshold field is set to the value of the last call.

func (*HealthApplyConfiguration) WithInitialDelaySeconds

func (b *HealthApplyConfiguration) WithInitialDelaySeconds(value int32) *HealthApplyConfiguration

WithInitialDelaySeconds sets the InitialDelaySeconds 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 InitialDelaySeconds field is set to the value of the last call.

func (*HealthApplyConfiguration) WithPeriodSeconds

func (b *HealthApplyConfiguration) WithPeriodSeconds(value int32) *HealthApplyConfiguration

WithPeriodSeconds sets the PeriodSeconds 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 PeriodSeconds field is set to the value of the last call.

type ListStatusApplyConfiguration

type ListStatusApplyConfiguration struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Values   []string `json:"values,omitempty"`
}

ListStatusApplyConfiguration represents an declarative configuration of the ListStatus type for use with apply.

func ListStatus

func ListStatus() *ListStatusApplyConfiguration

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

func (*ListStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*ListStatusApplyConfiguration) WithValues

WithValues adds the given value to the Values 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 Values field.

type PlayerStatusApplyConfiguration

type PlayerStatusApplyConfiguration struct {
	Count    *int64   `json:"count,omitempty"`
	Capacity *int64   `json:"capacity,omitempty"`
	IDs      []string `json:"ids,omitempty"`
}

PlayerStatusApplyConfiguration represents an declarative configuration of the PlayerStatus type for use with apply.

func PlayerStatus

func PlayerStatus() *PlayerStatusApplyConfiguration

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

func (*PlayerStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*PlayerStatusApplyConfiguration) WithCount

WithCount sets the Count 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 Count field is set to the value of the last call.

func (*PlayerStatusApplyConfiguration) WithIDs

WithIDs adds the given value to the IDs 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 IDs field.

type PlayersSpecApplyConfiguration

type PlayersSpecApplyConfiguration struct {
	InitialCapacity *int64 `json:"initialCapacity,omitempty"`
}

PlayersSpecApplyConfiguration represents an declarative configuration of the PlayersSpec type for use with apply.

func PlayersSpec

func PlayersSpec() *PlayersSpecApplyConfiguration

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

func (*PlayersSpecApplyConfiguration) WithInitialCapacity

func (b *PlayersSpecApplyConfiguration) WithInitialCapacity(value int64) *PlayersSpecApplyConfiguration

WithInitialCapacity sets the InitialCapacity 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 InitialCapacity field is set to the value of the last call.

type PriorityApplyConfiguration

type PriorityApplyConfiguration struct {
	Type  *string `json:"type,omitempty"`
	Key   *string `json:"key,omitempty"`
	Order *string `json:"order,omitempty"`
}

PriorityApplyConfiguration represents an declarative configuration of the Priority type for use with apply.

func Priority

func Priority() *PriorityApplyConfiguration

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

func (*PriorityApplyConfiguration) WithKey

WithKey sets the Key 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 Key field is set to the value of the last call.

func (*PriorityApplyConfiguration) WithOrder

WithOrder sets the Order 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 Order field is set to the value of the last call.

func (*PriorityApplyConfiguration) WithType

WithType sets the Type 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 Type field is set to the value of the last call.

type SdkServerApplyConfiguration

type SdkServerApplyConfiguration struct {
	LogLevel *v1.SdkServerLogLevel `json:"logLevel,omitempty"`
	GRPCPort *int32                `json:"grpcPort,omitempty"`
	HTTPPort *int32                `json:"httpPort,omitempty"`
}

SdkServerApplyConfiguration represents an declarative configuration of the SdkServer type for use with apply.

func SdkServer

func SdkServer() *SdkServerApplyConfiguration

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

func (*SdkServerApplyConfiguration) WithGRPCPort

WithGRPCPort sets the GRPCPort 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 GRPCPort field is set to the value of the last call.

func (*SdkServerApplyConfiguration) WithHTTPPort

WithHTTPPort sets the HTTPPort 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 HTTPPort field is set to the value of the last call.

func (*SdkServerApplyConfiguration) WithLogLevel

WithLogLevel sets the LogLevel 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 LogLevel 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