Documentation ¶
Index ¶
- type AggregatedCounterStatusApplyConfiguration
- func (b *AggregatedCounterStatusApplyConfiguration) WithAllocatedCapacity(value int64) *AggregatedCounterStatusApplyConfiguration
- func (b *AggregatedCounterStatusApplyConfiguration) WithAllocatedCount(value int64) *AggregatedCounterStatusApplyConfiguration
- func (b *AggregatedCounterStatusApplyConfiguration) WithCapacity(value int64) *AggregatedCounterStatusApplyConfiguration
- func (b *AggregatedCounterStatusApplyConfiguration) WithCount(value int64) *AggregatedCounterStatusApplyConfiguration
- type AggregatedListStatusApplyConfiguration
- func (b *AggregatedListStatusApplyConfiguration) WithAllocatedCapacity(value int64) *AggregatedListStatusApplyConfiguration
- func (b *AggregatedListStatusApplyConfiguration) WithAllocatedCount(value int64) *AggregatedListStatusApplyConfiguration
- func (b *AggregatedListStatusApplyConfiguration) WithCapacity(value int64) *AggregatedListStatusApplyConfiguration
- func (b *AggregatedListStatusApplyConfiguration) WithCount(value int64) *AggregatedListStatusApplyConfiguration
- type AggregatedPlayerStatusApplyConfiguration
- type AllocationOverflowApplyConfiguration
- type CounterStatusApplyConfiguration
- type EvictionApplyConfiguration
- type FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithAPIVersion(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithAnnotations(entries map[string]string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithFinalizers(values ...string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithGenerateName(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithGeneration(value int64) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithKind(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithLabels(entries map[string]string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithName(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithNamespace(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithResourceVersion(value string) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithSpec(value *FleetSpecApplyConfiguration) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithStatus(value *FleetStatusApplyConfiguration) *FleetApplyConfiguration
- func (b *FleetApplyConfiguration) WithUID(value types.UID) *FleetApplyConfiguration
- type FleetSpecApplyConfiguration
- func (b *FleetSpecApplyConfiguration) WithAllocationOverflow(value *AllocationOverflowApplyConfiguration) *FleetSpecApplyConfiguration
- func (b *FleetSpecApplyConfiguration) WithPriorities(values ...*PriorityApplyConfiguration) *FleetSpecApplyConfiguration
- func (b *FleetSpecApplyConfiguration) WithReplicas(value int32) *FleetSpecApplyConfiguration
- func (b *FleetSpecApplyConfiguration) WithScheduling(value apis.SchedulingStrategy) *FleetSpecApplyConfiguration
- func (b *FleetSpecApplyConfiguration) WithStrategy(value appsv1.DeploymentStrategy) *FleetSpecApplyConfiguration
- func (b *FleetSpecApplyConfiguration) WithTemplate(value *GameServerTemplateSpecApplyConfiguration) *FleetSpecApplyConfiguration
- type FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithAllocatedReplicas(value int32) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithCounters(entries map[string]AggregatedCounterStatusApplyConfiguration) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithLists(entries map[string]AggregatedListStatusApplyConfiguration) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithPlayers(value *AggregatedPlayerStatusApplyConfiguration) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithReadyReplicas(value int32) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithReplicas(value int32) *FleetStatusApplyConfiguration
- func (b *FleetStatusApplyConfiguration) WithReservedReplicas(value int32) *FleetStatusApplyConfiguration
- type GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithAPIVersion(value string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithFinalizers(values ...string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithGenerateName(value string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithGeneration(value int64) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithKind(value string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithLabels(entries map[string]string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithName(value string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithNamespace(value string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithResourceVersion(value string) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithSpec(value *GameServerSpecApplyConfiguration) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithStatus(value *GameServerStatusApplyConfiguration) *GameServerApplyConfiguration
- func (b *GameServerApplyConfiguration) WithUID(value types.UID) *GameServerApplyConfiguration
- type GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithContainer(value string) *GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithContainerPort(value int32) *GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithHostPort(value int32) *GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithName(value string) *GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithPortPolicy(value v1.PortPolicy) *GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithProtocol(value corev1.Protocol) *GameServerPortApplyConfiguration
- func (b *GameServerPortApplyConfiguration) WithRange(value string) *GameServerPortApplyConfiguration
- type GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithAPIVersion(value string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithFinalizers(values ...string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithGenerateName(value string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithGeneration(value int64) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithKind(value string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithLabels(entries map[string]string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithName(value string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithNamespace(value string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithResourceVersion(value string) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithSpec(value *GameServerSetSpecApplyConfiguration) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithStatus(value *GameServerSetStatusApplyConfiguration) *GameServerSetApplyConfiguration
- func (b *GameServerSetApplyConfiguration) WithUID(value types.UID) *GameServerSetApplyConfiguration
- type GameServerSetSpecApplyConfiguration
- func (b *GameServerSetSpecApplyConfiguration) WithAllocationOverflow(value *AllocationOverflowApplyConfiguration) *GameServerSetSpecApplyConfiguration
- func (b *GameServerSetSpecApplyConfiguration) WithPriorities(values ...*PriorityApplyConfiguration) *GameServerSetSpecApplyConfiguration
- func (b *GameServerSetSpecApplyConfiguration) WithReplicas(value int32) *GameServerSetSpecApplyConfiguration
- func (b *GameServerSetSpecApplyConfiguration) WithScheduling(value apis.SchedulingStrategy) *GameServerSetSpecApplyConfiguration
- func (b *GameServerSetSpecApplyConfiguration) WithTemplate(value *GameServerTemplateSpecApplyConfiguration) *GameServerSetSpecApplyConfiguration
- type GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithAllocatedReplicas(value int32) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithCounters(entries map[string]AggregatedCounterStatusApplyConfiguration) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithLists(entries map[string]AggregatedListStatusApplyConfiguration) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithPlayers(value *AggregatedPlayerStatusApplyConfiguration) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithReadyReplicas(value int32) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithReplicas(value int32) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithReservedReplicas(value int32) *GameServerSetStatusApplyConfiguration
- func (b *GameServerSetStatusApplyConfiguration) WithShutdownReplicas(value int32) *GameServerSetStatusApplyConfiguration
- type GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithContainer(value string) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithCounters(entries map[string]CounterStatusApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithEviction(value *EvictionApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithHealth(value *HealthApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithLists(entries map[string]ListStatusApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithPlayers(value *PlayersSpecApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithPorts(values ...*GameServerPortApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithScheduling(value apis.SchedulingStrategy) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithSdkServer(value *SdkServerApplyConfiguration) *GameServerSpecApplyConfiguration
- func (b *GameServerSpecApplyConfiguration) WithTemplate(value corev1.PodTemplateSpec) *GameServerSpecApplyConfiguration
- type GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithAddress(value string) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithAddresses(values ...corev1.NodeAddress) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithCounters(entries map[string]CounterStatusApplyConfiguration) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithEviction(value *EvictionApplyConfiguration) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithLists(entries map[string]ListStatusApplyConfiguration) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithNodeName(value string) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithPlayers(value *PlayerStatusApplyConfiguration) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithPorts(values ...*GameServerStatusPortApplyConfiguration) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithReservedUntil(value metav1.Time) *GameServerStatusApplyConfiguration
- func (b *GameServerStatusApplyConfiguration) WithState(value v1.GameServerState) *GameServerStatusApplyConfiguration
- type GameServerStatusPortApplyConfiguration
- type GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithGenerateName(value string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithGeneration(value int64) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithName(value string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithNamespace(value string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithResourceVersion(value string) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithSpec(value *GameServerSpecApplyConfiguration) *GameServerTemplateSpecApplyConfiguration
- func (b *GameServerTemplateSpecApplyConfiguration) WithUID(value types.UID) *GameServerTemplateSpecApplyConfiguration
- type HealthApplyConfiguration
- func (b *HealthApplyConfiguration) WithDisabled(value bool) *HealthApplyConfiguration
- func (b *HealthApplyConfiguration) WithFailureThreshold(value int32) *HealthApplyConfiguration
- func (b *HealthApplyConfiguration) WithInitialDelaySeconds(value int32) *HealthApplyConfiguration
- func (b *HealthApplyConfiguration) WithPeriodSeconds(value int32) *HealthApplyConfiguration
- type ListStatusApplyConfiguration
- type PlayerStatusApplyConfiguration
- type PlayersSpecApplyConfiguration
- type PriorityApplyConfiguration
- type SdkServerApplyConfiguration
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 ¶
func (b *AggregatedCounterStatusApplyConfiguration) WithAllocatedCapacity(value int64) *AggregatedCounterStatusApplyConfiguration
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 ¶
func (b *AggregatedCounterStatusApplyConfiguration) WithAllocatedCount(value int64) *AggregatedCounterStatusApplyConfiguration
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 ¶
func (b *AggregatedCounterStatusApplyConfiguration) WithCapacity(value int64) *AggregatedCounterStatusApplyConfiguration
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 ¶
func (b *AggregatedCounterStatusApplyConfiguration) WithCount(value int64) *AggregatedCounterStatusApplyConfiguration
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 ¶
func (b *AggregatedListStatusApplyConfiguration) WithAllocatedCapacity(value int64) *AggregatedListStatusApplyConfiguration
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 ¶
func (b *AggregatedListStatusApplyConfiguration) WithAllocatedCount(value int64) *AggregatedListStatusApplyConfiguration
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 ¶
func (b *AggregatedListStatusApplyConfiguration) WithCapacity(value int64) *AggregatedListStatusApplyConfiguration
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 ¶
func (b *AggregatedListStatusApplyConfiguration) WithCount(value int64) *AggregatedListStatusApplyConfiguration
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 ¶
func (b *AggregatedPlayerStatusApplyConfiguration) WithCapacity(value int64) *AggregatedPlayerStatusApplyConfiguration
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 ¶
func (b *AggregatedPlayerStatusApplyConfiguration) WithCount(value int64) *AggregatedPlayerStatusApplyConfiguration
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 ¶
func (b *AllocationOverflowApplyConfiguration) WithAnnotations(entries map[string]string) *AllocationOverflowApplyConfiguration
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 ¶
func (b *AllocationOverflowApplyConfiguration) WithLabels(entries map[string]string) *AllocationOverflowApplyConfiguration
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 ¶
func (b *CounterStatusApplyConfiguration) WithCapacity(value int64) *CounterStatusApplyConfiguration
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 ¶
func (b *CounterStatusApplyConfiguration) WithCount(value int64) *CounterStatusApplyConfiguration
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 ¶
func (b *EvictionApplyConfiguration) WithSafe(value v1.EvictionSafe) *EvictionApplyConfiguration
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 ¶
func (b *FleetApplyConfiguration) WithKind(value string) *FleetApplyConfiguration
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 ¶
func (b *FleetApplyConfiguration) WithName(value string) *FleetApplyConfiguration
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 ¶
func (b *FleetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FleetApplyConfiguration
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 ¶
func (b *FleetApplyConfiguration) WithSpec(value *FleetSpecApplyConfiguration) *FleetApplyConfiguration
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 ¶
func (b *FleetApplyConfiguration) WithStatus(value *FleetStatusApplyConfiguration) *FleetApplyConfiguration
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 ¶
func (b *FleetApplyConfiguration) WithUID(value types.UID) *FleetApplyConfiguration
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 ¶
func (b *FleetSpecApplyConfiguration) WithAllocationOverflow(value *AllocationOverflowApplyConfiguration) *FleetSpecApplyConfiguration
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 ¶
func (b *FleetSpecApplyConfiguration) WithPriorities(values ...*PriorityApplyConfiguration) *FleetSpecApplyConfiguration
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 ¶
func (b *FleetSpecApplyConfiguration) WithReplicas(value int32) *FleetSpecApplyConfiguration
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 ¶
func (b *FleetSpecApplyConfiguration) WithScheduling(value apis.SchedulingStrategy) *FleetSpecApplyConfiguration
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 ¶
func (b *FleetSpecApplyConfiguration) WithStrategy(value appsv1.DeploymentStrategy) *FleetSpecApplyConfiguration
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 ¶
func (b *FleetSpecApplyConfiguration) WithTemplate(value *GameServerTemplateSpecApplyConfiguration) *FleetSpecApplyConfiguration
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 ¶
func (b *FleetStatusApplyConfiguration) WithCounters(entries map[string]AggregatedCounterStatusApplyConfiguration) *FleetStatusApplyConfiguration
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 ¶
func (b *FleetStatusApplyConfiguration) WithLists(entries map[string]AggregatedListStatusApplyConfiguration) *FleetStatusApplyConfiguration
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 ¶
func (b *FleetStatusApplyConfiguration) WithPlayers(value *AggregatedPlayerStatusApplyConfiguration) *FleetStatusApplyConfiguration
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 ¶
func (b *FleetStatusApplyConfiguration) WithReadyReplicas(value int32) *FleetStatusApplyConfiguration
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 ¶
func (b *FleetStatusApplyConfiguration) WithReplicas(value int32) *FleetStatusApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithAPIVersion(value string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithFinalizers(values ...string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithGenerateName(value string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithGeneration(value int64) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithKind(value string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithLabels(entries map[string]string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithName(value string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithNamespace(value string) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithSpec(value *GameServerSpecApplyConfiguration) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithStatus(value *GameServerStatusApplyConfiguration) *GameServerApplyConfiguration
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 ¶
func (b *GameServerApplyConfiguration) WithUID(value types.UID) *GameServerApplyConfiguration
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 ¶
func (b *GameServerPortApplyConfiguration) WithContainer(value string) *GameServerPortApplyConfiguration
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 ¶
func (b *GameServerPortApplyConfiguration) WithContainerPort(value int32) *GameServerPortApplyConfiguration
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 ¶
func (b *GameServerPortApplyConfiguration) WithHostPort(value int32) *GameServerPortApplyConfiguration
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 ¶
func (b *GameServerPortApplyConfiguration) WithName(value string) *GameServerPortApplyConfiguration
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 ¶
func (b *GameServerPortApplyConfiguration) WithPortPolicy(value v1.PortPolicy) *GameServerPortApplyConfiguration
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 ¶
func (b *GameServerPortApplyConfiguration) WithProtocol(value corev1.Protocol) *GameServerPortApplyConfiguration
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
func (b *GameServerPortApplyConfiguration) WithRange(value string) *GameServerPortApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithAPIVersion(value string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithFinalizers(values ...string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithGenerateName(value string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithGeneration(value int64) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithKind(value string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithLabels(entries map[string]string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithName(value string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithNamespace(value string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithResourceVersion(value string) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithSpec(value *GameServerSetSpecApplyConfiguration) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithStatus(value *GameServerSetStatusApplyConfiguration) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetApplyConfiguration) WithUID(value types.UID) *GameServerSetApplyConfiguration
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 ¶
func (b *GameServerSetSpecApplyConfiguration) WithAllocationOverflow(value *AllocationOverflowApplyConfiguration) *GameServerSetSpecApplyConfiguration
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 ¶
func (b *GameServerSetSpecApplyConfiguration) WithPriorities(values ...*PriorityApplyConfiguration) *GameServerSetSpecApplyConfiguration
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 ¶
func (b *GameServerSetSpecApplyConfiguration) WithReplicas(value int32) *GameServerSetSpecApplyConfiguration
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 ¶
func (b *GameServerSetSpecApplyConfiguration) WithScheduling(value apis.SchedulingStrategy) *GameServerSetSpecApplyConfiguration
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 ¶
func (b *GameServerSetSpecApplyConfiguration) WithTemplate(value *GameServerTemplateSpecApplyConfiguration) *GameServerSetSpecApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithAllocatedReplicas(value int32) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithCounters(entries map[string]AggregatedCounterStatusApplyConfiguration) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithLists(entries map[string]AggregatedListStatusApplyConfiguration) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithPlayers(value *AggregatedPlayerStatusApplyConfiguration) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithReadyReplicas(value int32) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithReplicas(value int32) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithReservedReplicas(value int32) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSetStatusApplyConfiguration) WithShutdownReplicas(value int32) *GameServerSetStatusApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithContainer(value string) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithCounters(entries map[string]CounterStatusApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithEviction(value *EvictionApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithHealth(value *HealthApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithLists(entries map[string]ListStatusApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithPlayers(value *PlayersSpecApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithPorts(values ...*GameServerPortApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithScheduling(value apis.SchedulingStrategy) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithSdkServer(value *SdkServerApplyConfiguration) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerSpecApplyConfiguration) WithTemplate(value corev1.PodTemplateSpec) *GameServerSpecApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithAddress(value string) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithAddresses(values ...corev1.NodeAddress) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithCounters(entries map[string]CounterStatusApplyConfiguration) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithEviction(value *EvictionApplyConfiguration) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithLists(entries map[string]ListStatusApplyConfiguration) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithNodeName(value string) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithPlayers(value *PlayerStatusApplyConfiguration) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithPorts(values ...*GameServerStatusPortApplyConfiguration) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithReservedUntil(value metav1.Time) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusApplyConfiguration) WithState(value v1.GameServerState) *GameServerStatusApplyConfiguration
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 ¶
func (b *GameServerStatusPortApplyConfiguration) WithName(value string) *GameServerStatusPortApplyConfiguration
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 ¶
func (b *GameServerStatusPortApplyConfiguration) WithPort(value int32) *GameServerStatusPortApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithGenerateName(value string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithGeneration(value int64) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithName(value string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithNamespace(value string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithResourceVersion(value string) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithSpec(value *GameServerSpecApplyConfiguration) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *GameServerTemplateSpecApplyConfiguration) WithUID(value types.UID) *GameServerTemplateSpecApplyConfiguration
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 ¶
func (b *ListStatusApplyConfiguration) WithCapacity(value int64) *ListStatusApplyConfiguration
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 ¶
func (b *ListStatusApplyConfiguration) WithValues(values ...string) *ListStatusApplyConfiguration
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 ¶
func (b *PlayerStatusApplyConfiguration) WithCapacity(value int64) *PlayerStatusApplyConfiguration
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 ¶
func (b *PlayerStatusApplyConfiguration) WithCount(value int64) *PlayerStatusApplyConfiguration
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 ¶
func (b *PlayerStatusApplyConfiguration) WithIDs(values ...string) *PlayerStatusApplyConfiguration
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 ¶
func (b *PriorityApplyConfiguration) WithKey(value string) *PriorityApplyConfiguration
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 ¶
func (b *PriorityApplyConfiguration) WithOrder(value string) *PriorityApplyConfiguration
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 ¶
func (b *PriorityApplyConfiguration) WithType(value string) *PriorityApplyConfiguration
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 ¶
func (b *SdkServerApplyConfiguration) WithGRPCPort(value int32) *SdkServerApplyConfiguration
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 ¶
func (b *SdkServerApplyConfiguration) WithHTTPPort(value int32) *SdkServerApplyConfiguration
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 ¶
func (b *SdkServerApplyConfiguration) WithLogLevel(value v1.SdkServerLogLevel) *SdkServerApplyConfiguration
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.
Source Files ¶
- aggregatedcounterstatus.go
- aggregatedliststatus.go
- aggregatedplayerstatus.go
- allocationoverflow.go
- counterstatus.go
- eviction.go
- fleet.go
- fleetspec.go
- fleetstatus.go
- gameserver.go
- gameserverport.go
- gameserverset.go
- gameserversetspec.go
- gameserversetstatus.go
- gameserverspec.go
- gameserverstatus.go
- gameserverstatusport.go
- gameservertemplatespec.go
- health.go
- liststatus.go
- playersspec.go
- playerstatus.go
- priority.go
- sdkserver.go