Documentation ¶
Overview ¶
Package v1 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v0.0.0-00010101000000-000000000000 DO NOT EDIT.
Package v1 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v0.0.0-00010101000000-000000000000 DO NOT EDIT.
Index ¶
- Constants
- Variables
- type SGCluster
- type SGClusterList
- type SGClusterSpec
- type SGClusterSpecConfigurations
- type SGClusterSpecConfigurationsBackupsItem
- type SGClusterSpecConfigurationsBackupsItemPerformance
- type SGClusterSpecDistributedLogs
- type SGClusterSpecInitialData
- type SGClusterSpecInitialDataRestore
- type SGClusterSpecInitialDataRestoreFromBackup
- type SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery
- type SGClusterSpecInitialDataScriptsItem
- type SGClusterSpecInitialDataScriptsItemScriptFrom
- type SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef
- type SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef
- type SGClusterSpecManagedSql
- type SGClusterSpecManagedSqlScriptsItem
- type SGClusterSpecMetadata
- type SGClusterSpecMetadataAnnotations
- type SGClusterSpecMetadataLabels
- type SGClusterSpecNonProductionOptions
- type SGClusterSpecPods
- type SGClusterSpecPodsCustomContainersItem
- type SGClusterSpecPodsCustomContainersItemEnvFromItem
- type SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef
- type SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef
- type SGClusterSpecPodsCustomContainersItemEnvItem
- type SGClusterSpecPodsCustomContainersItemEnvItemValueFrom
- type SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef)
- type SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef)
- type SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef)
- type SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef
- func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef)
- type SGClusterSpecPodsCustomContainersItemLifecycle
- type SGClusterSpecPodsCustomContainersItemLifecyclePostStart
- type SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec
- type SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet
- func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet
- func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet)
- type SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket
- func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket
- func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket)
- type SGClusterSpecPodsCustomContainersItemLifecyclePreStop
- type SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec
- type SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet
- type SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket
- func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket
- func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket)
- type SGClusterSpecPodsCustomContainersItemLivenessProbe
- type SGClusterSpecPodsCustomContainersItemLivenessProbeExec
- type SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet
- type SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem
- func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem
- func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem)
- type SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket
- type SGClusterSpecPodsCustomContainersItemPortsItem
- type SGClusterSpecPodsCustomContainersItemReadinessProbe
- type SGClusterSpecPodsCustomContainersItemReadinessProbeExec
- type SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet
- type SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem
- func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem
- func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem)
- type SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket
- type SGClusterSpecPodsCustomContainersItemResources
- type SGClusterSpecPodsCustomContainersItemSecurityContext
- type SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities)
- type SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions)
- type SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile)
- type SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions
- func (in *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions)
- type SGClusterSpecPodsCustomContainersItemStartupProbe
- type SGClusterSpecPodsCustomContainersItemStartupProbeExec
- type SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet
- type SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem
- func (in *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem
- func (in *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem)
- type SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket
- type SGClusterSpecPodsCustomContainersItemVolumeDevicesItem
- type SGClusterSpecPodsCustomContainersItemVolumeMountsItem
- type SGClusterSpecPodsCustomInitContainersItem
- type SGClusterSpecPodsCustomInitContainersItemEnvFromItem
- type SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef)
- type SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef)
- type SGClusterSpecPodsCustomInitContainersItemEnvItem
- type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom
- type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef)
- type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef)
- type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef)
- type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef
- func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef)
- type SGClusterSpecPodsCustomInitContainersItemLifecycle
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec)
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet)
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket)
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec)
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet)
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket)
- type SGClusterSpecPodsCustomInitContainersItemLivenessProbe
- type SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec
- type SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet)
- type SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket)
- type SGClusterSpecPodsCustomInitContainersItemPortsItem
- type SGClusterSpecPodsCustomInitContainersItemReadinessProbe
- type SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec
- type SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet
- func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet)
- type SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket)
- type SGClusterSpecPodsCustomInitContainersItemResources
- type SGClusterSpecPodsCustomInitContainersItemSecurityContext
- type SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities)
- type SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions)
- type SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile)
- type SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions
- func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions)
- type SGClusterSpecPodsCustomInitContainersItemStartupProbe
- type SGClusterSpecPodsCustomInitContainersItemStartupProbeExec
- type SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet
- type SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem
- type SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket
- func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket)
- type SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem
- type SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem
- type SGClusterSpecPodsCustomVolumesItem
- type SGClusterSpecPodsCustomVolumesItemConfigMap
- type SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem
- type SGClusterSpecPodsCustomVolumesItemDownwardAPI
- type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem
- type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef
- func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef) DeepCopy() *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef
- func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef)
- type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef
- func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef
- func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef)
- type SGClusterSpecPodsCustomVolumesItemEmptyDir
- type SGClusterSpecPodsCustomVolumesItemGitRepo
- type SGClusterSpecPodsCustomVolumesItemGlusterfs
- type SGClusterSpecPodsCustomVolumesItemHostPath
- type SGClusterSpecPodsCustomVolumesItemNfs
- type SGClusterSpecPodsCustomVolumesItemProjected
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap)
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem)
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI)
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem)
- type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken
- func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken)
- type SGClusterSpecPodsCustomVolumesItemSecret
- type SGClusterSpecPodsCustomVolumesItemSecretItemsItem
- type SGClusterSpecPodsPersistentVolume
- type SGClusterSpecPodsResources
- type SGClusterSpecPodsScheduling
- type SGClusterSpecPodsSchedulingBackup
- type SGClusterSpecPodsSchedulingBackupNodeAffinity
- type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference
- type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem
- type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
- type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem
- type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem
- func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAffinity
- type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
- type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
- type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
- type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinity
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
- type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingBackupTolerationsItem
- type SGClusterSpecPodsSchedulingNodeAffinity
- type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference
- type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem
- type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem
- type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
- type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem
- type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem
- type SGClusterSpecPodsSchedulingPodAffinity
- type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
- type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
- type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
- type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
- type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
- type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
- type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAntiAffinity
- type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
- type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
- type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
- type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
- type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
- type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGClusterSpecPodsSchedulingTolerationsItem
- type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem
- type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector
- func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector
- func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector)
- type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem
- type SGClusterSpecPostgres
- type SGClusterSpecPostgresExtensionsItem
- type SGClusterSpecPostgresServices
- type SGClusterSpecPostgresServicesPrimary
- type SGClusterSpecPostgresServicesPrimaryCustomPortsItem
- type SGClusterSpecPostgresServicesReplicas
- type SGClusterSpecPostgresServicesReplicasCustomPortsItem
- type SGClusterSpecPostgresSsl
- type SGClusterSpecPostgresSslCertificateSecretKeySelector
- type SGClusterSpecPostgresSslPrivateKeySecretKeySelector
- type SGClusterSpecReplicateFrom
- type SGClusterSpecReplicateFromInstance
- type SGClusterSpecReplicateFromInstanceExternal
- type SGClusterSpecReplicateFromStorage
- type SGClusterSpecReplicateFromStoragePerformance
- type SGClusterSpecReplicateFromUsers
- type SGClusterSpecReplicateFromUsersAuthenticator
- type SGClusterSpecReplicateFromUsersAuthenticatorPassword
- type SGClusterSpecReplicateFromUsersAuthenticatorUsername
- type SGClusterSpecReplicateFromUsersReplication
- type SGClusterSpecReplicateFromUsersReplicationPassword
- type SGClusterSpecReplicateFromUsersReplicationUsername
- type SGClusterSpecReplicateFromUsersSuperuser
- type SGClusterSpecReplicateFromUsersSuperuserPassword
- type SGClusterSpecReplicateFromUsersSuperuserUsername
- type SGClusterSpecReplication
- type SGClusterSpecReplicationGroupsItem
- type SGClusterSpecToInstallPostgresExtensionsItem
- type SGClusterStatus
- type SGClusterStatusConditionsItem
- type SGClusterStatusDbOps
- type SGClusterStatusDbOpsMajorVersionUpgrade
- type SGClusterStatusDbOpsMinorVersionUpgrade
- type SGClusterStatusDbOpsRestart
- type SGClusterStatusDbOpsSecurityUpgrade
- type SGClusterStatusManagedSql
- type SGClusterStatusManagedSqlScriptsItem
- type SGClusterStatusManagedSqlScriptsItemScriptsItem
- type SGClusterStatusPodStatusesItem
- type SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem
- func (in *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem) DeepCopy() *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem
- func (in *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem) DeepCopyInto(out *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem)
- type SGDbOps
- type SGDbOpsList
- type SGDbOpsSpec
- type SGDbOpsSpecBenchmark
- type SGDbOpsSpecBenchmarkPgbench
- type SGDbOpsSpecMajorVersionUpgrade
- type SGDbOpsSpecMinorVersionUpgrade
- type SGDbOpsSpecRepack
- type SGDbOpsSpecRepackDatabasesItem
- type SGDbOpsSpecRestart
- type SGDbOpsSpecScheduling
- type SGDbOpsSpecSchedulingNodeAffinity
- type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference
- type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem
- type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem
- type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
- type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem
- type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem
- type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem
- type SGDbOpsSpecSchedulingPodAffinity
- type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
- type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
- type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
- func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
- type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
- func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
- type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
- type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
- type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
- type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
- type SGDbOpsSpecSchedulingPodAntiAffinity
- type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
- type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
- type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
- type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
- func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
- type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
- func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
- type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
- type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
- type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
- type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
- func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() ...
- func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(...)
- type SGDbOpsSpecSchedulingTolerationsItem
- type SGDbOpsSpecSecurityUpgrade
- type SGDbOpsSpecVacuum
- type SGDbOpsSpecVacuumDatabasesItem
- type SGDbOpsStatus
- type SGDbOpsStatusBenchmark
- type SGDbOpsStatusBenchmarkPgbench
- type SGDbOpsStatusBenchmarkPgbenchLatency
- type SGDbOpsStatusBenchmarkPgbenchLatencyAverage
- type SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation
- type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond
- type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing
- type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing
- type SGDbOpsStatusConditionsItem
- type SGDbOpsStatusMajorVersionUpgrade
- type SGDbOpsStatusMinorVersionUpgrade
- type SGDbOpsStatusRestart
- type SGDbOpsStatusSecurityUpgrade
- type SGPostgesConfigList
- type SGPostgresConfig
- type SGPostgresConfigSpec
- type SGPostgresConfigStatus
Constants ¶
const SGClusterConditionTypePendingRestart = "PendingRestart"
const SGDbOpsOpRepack = "repack"
const SGDbOpsOpRestart = "restart"
const SGDbOpsRestartMethodInPlace = "InPlace"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "stackgres.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type SGCluster ¶
type SGCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of a VSHNPostgreSQL. Spec SGClusterSpec `json:"spec"` // Status reflects the observed state of a VSHNPostgreSQL. Status SGClusterStatus `json:"status,omitempty"` }
VSHNPostgreSQL is the API for creating Postgresql clusters.
func (*SGCluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGCluster.
func (*SGCluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGCluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGClusterList ¶
type SGClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SGCluster `json:"items"` }
func (*SGClusterList) DeepCopy ¶
func (in *SGClusterList) DeepCopy() *SGClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterList.
func (*SGClusterList) DeepCopyInto ¶
func (in *SGClusterList) DeepCopyInto(out *SGClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGClusterList) DeepCopyObject ¶
func (in *SGClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGClusterSpec ¶
type SGClusterSpec struct { // Cluster custom configurations. Configurations *SGClusterSpecConfigurations `json:"configurations,omitempty"` // StackGres features a functionality for all pods to send Postgres, Patroni and PgBouncer logs to a central (distributed) location, which is in turn another Postgres database. Logs can then be accessed via SQL interface or from the web UI. This section controls whether to enable this feature or not. If not enabled, logs are send to the pod's standard output. DistributedLogs *SGClusterSpecDistributedLogs `json:"distributedLogs,omitempty"` // Cluster initialization data options. Cluster may be initialized empty, or from a backup restoration. Specifying scripts to run on the database after cluster creation is also possible. InitialData *SGClusterSpecInitialData `json:"initialData,omitempty"` // Number of StackGres instances for the cluster. Each instance contains one Postgres server. // Out of all of the Postgres servers, one is elected as the primary, the rest remain as read-only replicas. Instances int `json:"instances"` // This section allows to reference SQL scripts that will be applied to the cluster live. ManagedSql *SGClusterSpecManagedSql `json:"managedSql,omitempty"` // Metadata information from cluster created resources. Metadata *SGClusterSpecMetadata `json:"metadata,omitempty"` NonProductionOptions *SGClusterSpecNonProductionOptions `json:"nonProductionOptions,omitempty"` // Cluster pod's configuration. Pods SGClusterSpecPods `json:"pods"` // This section allows to configure Postgres features Postgres SGClusterSpecPostgres `json:"postgres"` // Kubernetes [services](https://kubernetes.io/docs/concepts/services-networking/service/) created or managed by StackGres. PostgresServices *SGClusterSpecPostgresServices `json:"postgresServices,omitempty"` // If enabled, a ServiceMonitor is created for each Prometheus instance found in order to collect metrics. PrometheusAutobind *bool `json:"prometheusAutobind,omitempty"` // Make the cluster a read-only standby replica allowing to replicate from another PostgreSQL instance and acting as a rely. // // Changing this section is allowed to fix issues or to change the replication source. // // Removing this section convert the cluster in a normal cluster where the standby leader is converted into the a primary instance. ReplicateFrom *SGClusterSpecReplicateFrom `json:"replicateFrom,omitempty"` // This section allows to configure Postgres replication mode and HA roles groups. // // The main replication group is implicit and contains the total number of instances less the sum of all // instances in other replication groups. // // The total number of instances is always specified by `.spec.instances`. Replication *SGClusterSpecReplication `json:"replication,omitempty"` // Name of the [SGInstanceProfile](https://stackgres.io/doc/latest/04-postgres-cluster-management/03-resource-profiles/). A SGInstanceProfile defines CPU and memory limits. Must exist before creating a cluster. When no profile is set, a default (currently: 1 core, 2 GiB RAM) one is used. SgInstanceProfile *string `json:"sgInstanceProfile,omitempty"` // The list of Postgres extensions to install. This section is filled by the operator. ToInstallPostgresExtensions *[]SGClusterSpecToInstallPostgresExtensionsItem `json:"toInstallPostgresExtensions,omitempty"` }
SGClusterSpec defines model for SGClusterSpec.
func (*SGClusterSpec) DeepCopy ¶
func (in *SGClusterSpec) DeepCopy() *SGClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpec.
func (*SGClusterSpec) DeepCopyInto ¶
func (in *SGClusterSpec) DeepCopyInto(out *SGClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecConfigurations ¶
type SGClusterSpecConfigurations struct { // **Deprecated**: use instead .spec.configurations.backups[].path // // The path were the backup is stored. If not set this field is filled up by the operator. // // When provided will indicate were the backups and WAL files will be stored. BackupPath *string `json:"backupPath,omitempty"` // List of backups configurations for this SGCluster Backups *[]SGClusterSpecConfigurationsBackupsItem `json:"backups,omitempty"` // **Deprecated**: use instead .spec.configurations.backups with sgObjectStorage. // // Name of the [SGBackupConfig](https://stackgres.io/doc/latest/reference/crd/sgbackupconfig) to use for the cluster. It defines the backups policy, storage and retention, among others, applied to the cluster. When not set, backup configuration will not be used. SgBackupConfig *string `json:"sgBackupConfig,omitempty"` // Name of the [SGPoolingConfig](https://stackgres.io/doc/latest/reference/crd/sgpoolconfig) used for this cluster. Each pod contains a sidecar with a connection pooler (currently: [PgBouncer](https://www.pgbouncer.org/)). The connection pooler is implemented as a sidecar. // // If not set, a default configuration will be used. Disabling connection pooling altogether is possible if the disableConnectionPooling property of the pods object is set to true. SgPoolingConfig *string `json:"sgPoolingConfig,omitempty"` // Name of the [SGPostgresConfig](https://stackgres.io/doc/latest/reference/crd/sgpgconfig) used for the cluster. It must exist. When not set, a default Postgres config, for the major version selected, is used. SgPostgresConfig *string `json:"sgPostgresConfig,omitempty"` }
SGClusterSpecConfigurations defines model for SGClusterSpecConfigurations.
func (*SGClusterSpecConfigurations) DeepCopy ¶
func (in *SGClusterSpecConfigurations) DeepCopy() *SGClusterSpecConfigurations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecConfigurations.
func (*SGClusterSpecConfigurations) DeepCopyInto ¶
func (in *SGClusterSpecConfigurations) DeepCopyInto(out *SGClusterSpecConfigurations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecConfigurationsBackupsItem ¶
type SGClusterSpecConfigurationsBackupsItem struct { // Specifies the backup compression algorithm. Possible options are: lz4, lzma, brotli. The default method is `lz4`. LZ4 is the fastest method, but compression ratio is the worst. LZMA is way slower, but it compresses backups about 6 times better than LZ4. Brotli is a good trade-off between speed and compression ratio, being about 3 times better than LZ4. Compression *string `json:"compression,omitempty"` // Continuous Archiving backups are composed of periodic *base backups* and all the WAL segments produced in between those base backups. This parameter specifies at what time and with what frequency to start performing a new base backup. // // Use cron syntax (`m h dom mon dow`) for this parameter, i.e., 5 values separated by spaces: // * `m`: minute, 0 to 59. // * `h`: hour, 0 to 23. // * `dom`: day of month, 1 to 31 (recommended not to set it higher than 28). // * `mon`: month, 1 to 12. // * `dow`: day of week, 0 to 7 (0 and 7 both represent Sunday). // // Also ranges of values (`start-end`), the symbol `*` (meaning `first-last`) or even `*/N`, where `N` is a number, meaning ""every `N`, may be used. All times are UTC. It is recommended to avoid 00:00 as base backup time, to avoid overlapping with any other external operations happening at this time. // // If not set, full backups are performed each day at 05:00 UTC. CronSchedule *string `json:"cronSchedule,omitempty"` // The path were the backup is stored. If not set this field is filled up by the operator. // // When provided will indicate were the backups and WAL files will be stored. Path *string `json:"path,omitempty"` // Configuration that affects the backup network and disk usage performance. Performance *SGClusterSpecConfigurationsBackupsItemPerformance `json:"performance,omitempty"` // When an automatic retention policy is defined to delete old base backups, this parameter specifies the number of base backups to keep, in a sliding window. // // Consequently, the time range covered by backups is `periodicity*retention`, where `periodicity` is the separation between backups as specified by the `cronSchedule` property. // // Default is 5. Retention *int `json:"retention,omitempty"` // Name of the [SGObjectStorage](https://stackgres.io/doc/latest/reference/crd/sgobjectstorage) to use for the cluster. It defines the location in which the the backups will be stored. SgObjectStorage string `json:"sgObjectStorage"` }
SGClusterSpecConfigurationsBackupsItem defines model for SGClusterSpecConfigurationsBackupsItem.
func (*SGClusterSpecConfigurationsBackupsItem) DeepCopy ¶
func (in *SGClusterSpecConfigurationsBackupsItem) DeepCopy() *SGClusterSpecConfigurationsBackupsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecConfigurationsBackupsItem.
func (*SGClusterSpecConfigurationsBackupsItem) DeepCopyInto ¶
func (in *SGClusterSpecConfigurationsBackupsItem) DeepCopyInto(out *SGClusterSpecConfigurationsBackupsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecConfigurationsBackupsItemPerformance ¶
type SGClusterSpecConfigurationsBackupsItemPerformance struct { // Backup storage may use several concurrent streams to read the data. This parameter configures the number of parallel streams to use. By default, it's set to the minimum between the number of file to read and 10. DownloadConcurrency *int `json:"downloadConcurrency,omitempty"` // Maximum disk read I/O when performing a backup. In bytes (per second). MaxDiskBandwidth *int `json:"maxDiskBandwidth,omitempty"` // Maximum storage upload bandwidth used when storing a backup. In bytes (per second). MaxNetworkBandwidth *int `json:"maxNetworkBandwidth,omitempty"` // Backup storage may use several concurrent streams to store the data. This parameter configures the number of parallel streams to use. By default, it's set to 16. UploadConcurrency *int `json:"uploadConcurrency,omitempty"` // Backup storage may use several concurrent streams to store the data. This parameter configures the number of parallel streams to use to reading from disk. By default, it's set to 1. UploadDiskConcurrency *int `json:"uploadDiskConcurrency,omitempty"` }
SGClusterSpecConfigurationsBackupsItemPerformance defines model for SGClusterSpecConfigurationsBackupsItemPerformance.
func (*SGClusterSpecConfigurationsBackupsItemPerformance) DeepCopy ¶
func (in *SGClusterSpecConfigurationsBackupsItemPerformance) DeepCopy() *SGClusterSpecConfigurationsBackupsItemPerformance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecConfigurationsBackupsItemPerformance.
func (*SGClusterSpecConfigurationsBackupsItemPerformance) DeepCopyInto ¶
func (in *SGClusterSpecConfigurationsBackupsItemPerformance) DeepCopyInto(out *SGClusterSpecConfigurationsBackupsItemPerformance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecDistributedLogs ¶
type SGClusterSpecDistributedLogs struct { // Define a retention window with the syntax `<integer> (minutes|hours|days|months)` in which log entries are kept. // Log entries will be removed when they get older more than the double of the specified retention window. // // When this field is changed the retention will be applied only to log entries that are newer than the end of // the retention window previously specified. If no retention window was previously specified it is considered // to be of 7 days. This means that if previous retention window is of `7 days` new retention configuration will // apply after UTC timestamp calculated with: `SELECT date_trunc('days', now() at time zone 'UTC') - INTERVAL '7 days'`. Retention *string `json:"retention,omitempty"` // Name of the [SGDistributedLogs](https://stackgres.io/doc/latest/04-postgres-cluster-management/06-distributed-logs/) to use for this cluster. It must exist. SgDistributedLogs *string `json:"sgDistributedLogs,omitempty"` }
SGClusterSpecDistributedLogs defines model for SGClusterSpecDistributedLogs.
func (*SGClusterSpecDistributedLogs) DeepCopy ¶
func (in *SGClusterSpecDistributedLogs) DeepCopy() *SGClusterSpecDistributedLogs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecDistributedLogs.
func (*SGClusterSpecDistributedLogs) DeepCopyInto ¶
func (in *SGClusterSpecDistributedLogs) DeepCopyInto(out *SGClusterSpecDistributedLogs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialData ¶
type SGClusterSpecInitialData struct { Restore *SGClusterSpecInitialDataRestore `json:"restore,omitempty"` // **Deprecated** use instead .spec.managedSql with SGScript. // // A list of SQL scripts executed in sequence, exactly once, when the database is bootstrap and/or after restore is completed. Scripts *[]SGClusterSpecInitialDataScriptsItem `json:"scripts,omitempty"` }
SGClusterSpecInitialData defines model for SGClusterSpecInitialData.
func (*SGClusterSpecInitialData) DeepCopy ¶
func (in *SGClusterSpecInitialData) DeepCopy() *SGClusterSpecInitialData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialData.
func (*SGClusterSpecInitialData) DeepCopyInto ¶
func (in *SGClusterSpecInitialData) DeepCopyInto(out *SGClusterSpecInitialData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataRestore ¶
type SGClusterSpecInitialDataRestore struct { // The backup fetch process may fetch several streams in parallel. Parallel fetching is enabled when set to a value larger than one. // // If not specified it will be interpreted as latest. DownloadDiskConcurrency *int `json:"downloadDiskConcurrency,omitempty"` // From which backup to restore and how the process is configured FromBackup *SGClusterSpecInitialDataRestoreFromBackup `json:"fromBackup,omitempty"` }
SGClusterSpecInitialDataRestore defines model for SGClusterSpecInitialDataRestore.
func (*SGClusterSpecInitialDataRestore) DeepCopy ¶
func (in *SGClusterSpecInitialDataRestore) DeepCopy() *SGClusterSpecInitialDataRestore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataRestore.
func (*SGClusterSpecInitialDataRestore) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataRestore) DeepCopyInto(out *SGClusterSpecInitialDataRestore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataRestoreFromBackup ¶
type SGClusterSpecInitialDataRestoreFromBackup struct { // When set to the name of an existing [SGBackup](https://stackgres.io/doc/latest/reference/crd/sgbackup), the cluster is initialized by restoring the backup data to it. If not set, the cluster is initialized empty. The selected backup must be in the same namespace. Name *string `json:"name,omitempty"` // It is possible to restore the database to its state at any time since your backup was taken using Point-in-Time Recovery (PITR) as long as another backup newer than the PITR requested restoration date does not exists. // // Point In Time Recovery (PITR). PITR allow to restore the database state to an arbitrary point of time in the past, as long as you specify a backup older than the PITR requested restoration date and does not exists a backup newer than the same restoration date. // // See also: https://www.postgresql.org/docs/current/continuous-archiving.html PointInTimeRecovery *SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery `json:"pointInTimeRecovery,omitempty"` // Specify the [recovery_target](https://postgresqlco.nf/doc/en/param/recovery_target/) that specifies that recovery should end as soon as a consistent // state is reached, i.e., as early as possible. When restoring from an online backup, this means the point where taking the backup ended. // // Technically, this is a string parameter, but 'immediate' is currently the only allowed value. Target *string `json:"target,omitempty"` // Specify the [recovery_target_timeline](https://postgresqlco.nf/doc/en/param/recovery_target_timeline/) to recover into a particular timeline. // The default is to recover along the same timeline that was current when the base backup was taken. Setting this to latest recovers to the latest // timeline found in the archive, which is useful in a standby server. Other than that you only need to set this parameter in complex re-recovery // situations, where you need to return to a state that itself was reached after a point-in-time recovery. TargetTimeline *string `json:"targetTimeline,omitempty"` // When set to the UID of an existing [SGBackup](https://stackgres.io/doc/latest/reference/crd/sgbackup), the cluster is initialized by restoring the backup data to it. If not set, the cluster is initialized empty. This field is deprecated. Uid *string `json:"uid,omitempty"` }
SGClusterSpecInitialDataRestoreFromBackup defines model for SGClusterSpecInitialDataRestoreFromBackup.
func (*SGClusterSpecInitialDataRestoreFromBackup) DeepCopy ¶
func (in *SGClusterSpecInitialDataRestoreFromBackup) DeepCopy() *SGClusterSpecInitialDataRestoreFromBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataRestoreFromBackup.
func (*SGClusterSpecInitialDataRestoreFromBackup) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataRestoreFromBackup) DeepCopyInto(out *SGClusterSpecInitialDataRestoreFromBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery ¶
type SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery struct { // An ISO 8601 date, that holds UTC date indicating at which point-in-time the database have to be restored. RestoreToTimestamp *string `json:"restoreToTimestamp,omitempty"` }
SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery defines model for SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery.
func (*SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery) DeepCopy ¶
func (in *SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery) DeepCopy() *SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery.
func (*SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery) DeepCopyInto(out *SGClusterSpecInitialDataRestoreFromBackupPointInTimeRecovery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataScriptsItem ¶
type SGClusterSpecInitialDataScriptsItem struct { // Database where the script is executed. Defaults to the `postgres` database, if not specified. Database *string `json:"database,omitempty"` // Name of the script. Must be unique across this SGCluster. Name *string `json:"name,omitempty"` // Raw SQL script to execute. This field is mutually exclusive with `scriptFrom` field. Script *string `json:"script,omitempty"` // Reference to either a Kubernetes [Secret](https://kubernetes.io/docs/concepts/configuration/secret/) or a [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/) that contains the SQL script to execute. This field is mutually exclusive with `script` field. // // Fields `secretKeyRef` and `configMapKeyRef` are mutually exclusive, and one of them is required. ScriptFrom *SGClusterSpecInitialDataScriptsItemScriptFrom `json:"scriptFrom,omitempty"` }
SGClusterSpecInitialDataScriptsItem defines model for SGClusterSpecInitialDataScriptsItem.
func (*SGClusterSpecInitialDataScriptsItem) DeepCopy ¶
func (in *SGClusterSpecInitialDataScriptsItem) DeepCopy() *SGClusterSpecInitialDataScriptsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataScriptsItem.
func (*SGClusterSpecInitialDataScriptsItem) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataScriptsItem) DeepCopyInto(out *SGClusterSpecInitialDataScriptsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataScriptsItemScriptFrom ¶
type SGClusterSpecInitialDataScriptsItemScriptFrom struct { // A [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/) reference that contains the SQL script to execute. This field is mutually exclusive with `secretKeyRef` field. ConfigMapKeyRef *SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef `json:"configMapKeyRef,omitempty"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the SQL script to execute. This field is mutually exclusive with `configMapKeyRef` field. SecretKeyRef *SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef `json:"secretKeyRef,omitempty"` }
SGClusterSpecInitialDataScriptsItemScriptFrom defines model for SGClusterSpecInitialDataScriptsItemScriptFrom.
func (*SGClusterSpecInitialDataScriptsItemScriptFrom) DeepCopy ¶
func (in *SGClusterSpecInitialDataScriptsItemScriptFrom) DeepCopy() *SGClusterSpecInitialDataScriptsItemScriptFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataScriptsItemScriptFrom.
func (*SGClusterSpecInitialDataScriptsItemScriptFrom) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataScriptsItemScriptFrom) DeepCopyInto(out *SGClusterSpecInitialDataScriptsItemScriptFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef ¶
type SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef struct { // The key name within the ConfigMap that contains the SQL script to execute. Key *string `json:"key,omitempty"` // The name of the ConfigMap that contains the SQL script to execute. Name *string `json:"name,omitempty"` }
SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef defines model for SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef.
func (*SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef) DeepCopy ¶
func (in *SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef) DeepCopy() *SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef.
func (*SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef) DeepCopyInto(out *SGClusterSpecInitialDataScriptsItemScriptFromConfigMapKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef ¶
type SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef struct { // The key of the secret to select from. Must be a valid secret key. Key *string `json:"key,omitempty"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name *string `json:"name,omitempty"` }
SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef defines model for SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef.
func (*SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef) DeepCopy ¶
func (in *SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef) DeepCopy() *SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef.
func (*SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef) DeepCopyInto ¶
func (in *SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef) DeepCopyInto(out *SGClusterSpecInitialDataScriptsItemScriptFromSecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecManagedSql ¶
type SGClusterSpecManagedSql struct { // If true, when any entry of any `SGScript` fail will not prevent subsequent `SGScript` from being executed. By default is `false`. ContinueOnSGScriptError *bool `json:"continueOnSGScriptError,omitempty"` // A list of script references that will be executed in sequence. Scripts *[]SGClusterSpecManagedSqlScriptsItem `json:"scripts,omitempty"` }
SGClusterSpecManagedSql defines model for SGClusterSpecManagedSql.
func (*SGClusterSpecManagedSql) DeepCopy ¶
func (in *SGClusterSpecManagedSql) DeepCopy() *SGClusterSpecManagedSql
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecManagedSql.
func (*SGClusterSpecManagedSql) DeepCopyInto ¶
func (in *SGClusterSpecManagedSql) DeepCopyInto(out *SGClusterSpecManagedSql)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecManagedSqlScriptsItem ¶
type SGClusterSpecManagedSqlScriptsItem struct { // The id is immutable and must be unique across all the `SGScript` entries. It is replaced by the operator and is used to identify the `SGScript` entry. Id *int `json:"id,omitempty"` // A reference to an `SGScript` SgScript *string `json:"sgScript,omitempty"` }
SGClusterSpecManagedSqlScriptsItem defines model for SGClusterSpecManagedSqlScriptsItem.
func (*SGClusterSpecManagedSqlScriptsItem) DeepCopy ¶
func (in *SGClusterSpecManagedSqlScriptsItem) DeepCopy() *SGClusterSpecManagedSqlScriptsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecManagedSqlScriptsItem.
func (*SGClusterSpecManagedSqlScriptsItem) DeepCopyInto ¶
func (in *SGClusterSpecManagedSqlScriptsItem) DeepCopyInto(out *SGClusterSpecManagedSqlScriptsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecMetadata ¶
type SGClusterSpecMetadata struct { // Custom Kubernetes [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) to be passed to resources created and managed by StackGres. Annotations *SGClusterSpecMetadataAnnotations `json:"annotations,omitempty"` // Custom Kubernetes [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to be passed to resources created and managed by StackGres. Labels *SGClusterSpecMetadataLabels `json:"labels,omitempty"` }
SGClusterSpecMetadata defines model for SGClusterSpecMetadata.
func (*SGClusterSpecMetadata) DeepCopy ¶
func (in *SGClusterSpecMetadata) DeepCopy() *SGClusterSpecMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecMetadata.
func (*SGClusterSpecMetadata) DeepCopyInto ¶
func (in *SGClusterSpecMetadata) DeepCopyInto(out *SGClusterSpecMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecMetadataAnnotations ¶
type SGClusterSpecMetadataAnnotations struct { // Annotations to attach to any resource created or managed by StackGres. AllResources map[string]string `json:"allResources,omitempty"` // Annotations to attach to pods created or managed by StackGres. ClusterPods map[string]string `json:"clusterPods,omitempty"` // Custom Kubernetes [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) passed to the `-primary` service. PrimaryService map[string]string `json:"primaryService,omitempty"` // Custom Kubernetes [annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) passed to the `-replicas` service. ReplicasService map[string]string `json:"replicasService,omitempty"` // Annotations to attach to all services created or managed by StackGres. Services map[string]string `json:"services,omitempty"` }
SGClusterSpecMetadataAnnotations defines model for SGClusterSpecMetadataAnnotations.
func (*SGClusterSpecMetadataAnnotations) DeepCopy ¶
func (in *SGClusterSpecMetadataAnnotations) DeepCopy() *SGClusterSpecMetadataAnnotations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecMetadataAnnotations.
func (*SGClusterSpecMetadataAnnotations) DeepCopyInto ¶
func (in *SGClusterSpecMetadataAnnotations) DeepCopyInto(out *SGClusterSpecMetadataAnnotations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecMetadataLabels ¶
type SGClusterSpecMetadataLabels struct { // Labels to attach to pods created or managed by StackGres. ClusterPods map[string]string `json:"clusterPods,omitempty"` }
SGClusterSpecMetadataLabels defines model for SGClusterSpecMetadataLabels.
func (*SGClusterSpecMetadataLabels) DeepCopy ¶
func (in *SGClusterSpecMetadataLabels) DeepCopy() *SGClusterSpecMetadataLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecMetadataLabels.
func (*SGClusterSpecMetadataLabels) DeepCopyInto ¶
func (in *SGClusterSpecMetadataLabels) DeepCopyInto(out *SGClusterSpecMetadataLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecNonProductionOptions ¶
type SGClusterSpecNonProductionOptions struct { // It is a best practice, on non-containerized environments, when running production workloads, to run each database server on a different server (virtual or physical), i.e., not to co-locate more than one database server per host. // // The same best practice applies to databases on containers. By default, StackGres will not allow to run more than one StackGres pod on a given Kubernetes node. Set this property to true to allow more than one StackGres pod per node. DisableClusterPodAntiAffinity *bool `json:"disableClusterPodAntiAffinity,omitempty"` // It is a best practice, on containerized environments, when running production workloads, to enforce container's resources requirements. // // By default, StackGres will configure resource requirements for all the containers. Set this property to true to prevent StackGres from setting container's resources requirements (except for patroni container, see `disablePatroniResourceRequirements`). DisableClusterResourceRequirements *bool `json:"disableClusterResourceRequirements,omitempty"` // It is a best practice, on containerized environments, when running production workloads, to enforce container's resources requirements. // // The same best practice applies to databases on containers. By default, StackGres will configure resource requirements for patroni container. Set this property to true to prevent StackGres from setting patroni container's resources requirement. DisablePatroniResourceRequirements *bool `json:"disablePatroniResourceRequirements,omitempty"` // On containerized environments, when running production workloads, enforcing container's cpu requirements request to be equals to the limit allow to achieve the highest level of performance. Doing so, reduces the chances of leaving // the workload with less cpu than it requires. It also allow to set [static CPU management policy](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy) that allows to guarantee a pod the usage exclusive CPUs on the node. // // By default, StackGres will configure cpu requirements to have the same limit and request for all the containers. Set this property to true to prevent StackGres from setting container's cpu requirements request equals to the limit (except for patroni container, see `enablePatroniCpuRequests`) // when `.spec.requests.containers.<container name>.cpu` `.spec.requests.initContainers.<container name>.cpu` is configured in the referenced `SGInstanceProfile`. EnableSetClusterCpuRequests *bool `json:"enableSetClusterCpuRequests,omitempty"` // On containerized environments, when running production workloads, enforcing container's memory requirements request to be equals to the limit allow to achieve the highest level of performance. Doing so, reduces the chances of leaving // the workload with less memory than it requires. // // By default, StackGres will configure memory requirements to have the same limit and request for all the containers. Set this property to true to prevent StackGres from setting container's memory requirements request equals to the limit (except for patroni container, see `enablePatroniCpuRequests`) // when `.spec.requests.containers.<container name>.memory` `.spec.requests.initContainers.<container name>.memory` is configured in the referenced `SGInstanceProfile`. EnableSetClusterMemoryRequests *bool `json:"enableSetClusterMemoryRequests,omitempty"` // On containerized environments, when running production workloads, enforcing container's cpu requirements request to be equals to the limit allow to achieve the highest level of performance. Doing so, reduces the chances of leaving // the workload with less cpu than it requires. It also allow to set [static CPU management policy](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy) that allows to guarantee a pod the usage exclusive CPUs on the node. // // By default, StackGres will configure cpu requirements to have the same limit and request for the patroni container. Set this property to true to prevent StackGres from setting patroni container's cpu requirements request equals to the limit // when `.spec.requests.cpu` is configured in the referenced `SGInstanceProfile`. EnableSetPatroniCpuRequests *bool `json:"enableSetPatroniCpuRequests,omitempty"` // On containerized environments, when running production workloads, enforcing container's memory requirements request to be equals to the limit allow to achieve the highest level of performance. Doing so, reduces the chances of leaving // the workload with less memory than it requires. // // By default, StackGres will configure memory requirements to have the same limit and request for the patroni container. Set this property to true to prevent StackGres from setting patroni container's memory requirements request equals to the limit // when `.spec.requests.memory` is configured in the referenced `SGInstanceProfile`. EnableSetPatroniMemoryRequests *bool `json:"enableSetPatroniMemoryRequests,omitempty"` // A list of StackGres feature gates to enable (not suitable for a production environment). // // Available feature gates are: // * `babelfish-flavor`: Allow to use `babelfish` flavor. EnabledFeatureGates *[]string `json:"enabledFeatureGates,omitempty"` }
SGClusterSpecNonProductionOptions defines model for SGClusterSpecNonProductionOptions.
func (*SGClusterSpecNonProductionOptions) DeepCopy ¶
func (in *SGClusterSpecNonProductionOptions) DeepCopy() *SGClusterSpecNonProductionOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecNonProductionOptions.
func (*SGClusterSpecNonProductionOptions) DeepCopyInto ¶
func (in *SGClusterSpecNonProductionOptions) DeepCopyInto(out *SGClusterSpecNonProductionOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPods ¶
type SGClusterSpecPods struct { // A list of custom application containers that run within the cluster's Pods. // // The name used in this section will be prefixed with the string `custom-` so that when // referencing them in the .spec.containers section of SGInstanceProfile the name used // have to be prepended with the same prefix. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#container-v1-core CustomContainers *[]SGClusterSpecPodsCustomContainersItem `json:"customContainers,omitempty"` // A list of custom application init containers that run within the cluster's Pods. The // custom init containers will run following the defined sequence as the end of // cluster's Pods init containers. // // The name used in this section will be prefixed with the string `custom-` so that when // referencing them in the .spec.containers section of SGInstanceProfile the name used // have to be prepended with the same prefix. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#container-v1-core CustomInitContainers *[]SGClusterSpecPodsCustomInitContainersItem `json:"customInitContainers,omitempty"` // A list of custom volumes that may be used along with any container defined in // customInitContainers or customContainers sections. // // The name used in this section will be prefixed with the string `custom-` so that when // referencing them in the customInitContainers or customContainers sections the name used // have to be prepended with the same prefix. // // Only the following volume types are allowed: configMap, downwardAPI, emptyDir, // gitRepo, glusterfs, hostPath, nfs, projected and secret // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#volume-v1-core CustomVolumes *[]SGClusterSpecPodsCustomVolumesItem `json:"customVolumes,omitempty"` // If set to `true`, avoids creating a connection pooling (using [PgBouncer](https://www.pgbouncer.org/)) sidecar. DisableConnectionPooling *bool `json:"disableConnectionPooling,omitempty"` // If set to `true`, avoids creating the Prometheus exporter sidecar. Recommended when there's no intention to use Prometheus for monitoring. DisableMetricsExporter *bool `json:"disableMetricsExporter,omitempty"` // If set to `true`, avoids creating the `postgres-util` sidecar. This sidecar contains usual Postgres administration utilities *that are not present in the main (`patroni`) container*, like `psql`. Only disable if you know what you are doing. DisablePostgresUtil *bool `json:"disablePostgresUtil,omitempty"` // managementPolicy controls how pods are created during initial scale up, when replacing pods // on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created // in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is // ready before continuing. When scaling down, the pods are removed in the opposite order. // The alternative policy is `Parallel` which will create pods in parallel to match the desired // scale without waiting, and on scale down will delete all pods at once. ManagementPolicy *string `json:"managementPolicy,omitempty"` // Pod's persistent volume configuration. PersistentVolume SGClusterSpecPodsPersistentVolume `json:"persistentVolume"` // Pod custom resources configuration. Resources *SGClusterSpecPodsResources `json:"resources,omitempty"` // Pod custom scheduling, affinity and topology spread constratins configuration. Scheduling *SGClusterSpecPodsScheduling `json:"scheduling,omitempty"` }
SGClusterSpecPods defines model for SGClusterSpecPods.
func (*SGClusterSpecPods) DeepCopy ¶
func (in *SGClusterSpecPods) DeepCopy() *SGClusterSpecPods
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPods.
func (*SGClusterSpecPods) DeepCopyInto ¶
func (in *SGClusterSpecPods) DeepCopyInto(out *SGClusterSpecPods)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItem ¶
type SGClusterSpecPodsCustomContainersItem struct { // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell Args *[]string `json:"args,omitempty"` // Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell Command *[]string `json:"command,omitempty"` // List of environment variables to set in the container. Cannot be updated. Env *[]SGClusterSpecPodsCustomContainersItemEnvItem `json:"env,omitempty"` // List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. EnvFrom *[]SGClusterSpecPodsCustomContainersItemEnvFromItem `json:"envFrom,omitempty"` // Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. Image *string `json:"image,omitempty"` // Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images ImagePullPolicy *string `json:"imagePullPolicy,omitempty"` // Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. Lifecycle *SGClusterSpecPodsCustomContainersItemLifecycle `json:"lifecycle,omitempty"` // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. LivenessProbe *SGClusterSpecPodsCustomContainersItemLivenessProbe `json:"livenessProbe,omitempty"` // Name of the container specified as a DNS_LABEL. Each // container in a pod must have a unique name (DNS_LABEL). Cannot // be updated. // // The name will be prefixed with the string `custom-` so that when referencing it // in the .spec.containers section of SGInstanceProfile the name used have to be // prepended with the same prefix. Name string `json:"name"` // List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. Ports *[]SGClusterSpecPodsCustomContainersItemPortsItem `json:"ports,omitempty"` // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. ReadinessProbe *SGClusterSpecPodsCustomContainersItemReadinessProbe `json:"readinessProbe,omitempty"` // ResourceRequirements describes the compute resource requirements. Resources *SGClusterSpecPodsCustomContainersItemResources `json:"resources,omitempty"` // SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. SecurityContext *SGClusterSpecPodsCustomContainersItemSecurityContext `json:"securityContext,omitempty"` // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. StartupProbe *SGClusterSpecPodsCustomContainersItemStartupProbe `json:"startupProbe,omitempty"` // Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. Stdin *bool `json:"stdin,omitempty"` // Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false StdinOnce *bool `json:"stdinOnce,omitempty"` // Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. TerminationMessagePath *string `json:"terminationMessagePath,omitempty"` // Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. TerminationMessagePolicy *string `json:"terminationMessagePolicy,omitempty"` // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. Tty *bool `json:"tty,omitempty"` // volumeDevices is the list of block devices to be used by the container. VolumeDevices *[]SGClusterSpecPodsCustomContainersItemVolumeDevicesItem `json:"volumeDevices,omitempty"` // Pod volumes to mount into the container's filesystem. Cannot be updated. VolumeMounts *[]SGClusterSpecPodsCustomContainersItemVolumeMountsItem `json:"volumeMounts,omitempty"` // Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. WorkingDir *string `json:"workingDir,omitempty"` }
SGClusterSpecPodsCustomContainersItem defines model for SGClusterSpecPodsCustomContainersItem.
func (*SGClusterSpecPodsCustomContainersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItem.
func (*SGClusterSpecPodsCustomContainersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvFromItem ¶
type SGClusterSpecPodsCustomContainersItemEnvFromItem struct { // ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. // // The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. ConfigMapRef *SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef `json:"configMapRef,omitempty"` // An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. Prefix *string `json:"prefix,omitempty"` // SecretEnvSource selects a Secret to populate the environment variables with. // // The contents of the target Secret's Data field will represent the key-value pairs as environment variables. SecretRef *SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef `json:"secretRef,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvFromItem defines model for SGClusterSpecPodsCustomContainersItemEnvFromItem.
func (*SGClusterSpecPodsCustomContainersItemEnvFromItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvFromItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvFromItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvFromItem.
func (*SGClusterSpecPodsCustomContainersItemEnvFromItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvFromItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvFromItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef ¶
type SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef struct { // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the ConfigMap must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef defines model for SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef.
func (*SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef.
func (*SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvFromItemConfigMapRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef ¶
type SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef struct { // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the Secret must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef defines model for SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef.
func (*SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef.
func (*SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvFromItemSecretRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvItem ¶
type SGClusterSpecPodsCustomContainersItemEnvItem struct { // Name of the environment variable. Must be a C_IDENTIFIER. Name string `json:"name"` // Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". Value *string `json:"value,omitempty"` // EnvVarSource represents a source for the value of an EnvVar. ValueFrom *SGClusterSpecPodsCustomContainersItemEnvItemValueFrom `json:"valueFrom,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvItem defines model for SGClusterSpecPodsCustomContainersItemEnvItem.
func (*SGClusterSpecPodsCustomContainersItemEnvItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvItem.
func (*SGClusterSpecPodsCustomContainersItemEnvItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvItemValueFrom ¶
type SGClusterSpecPodsCustomContainersItemEnvItemValueFrom struct { // Selects a key from a ConfigMap. ConfigMapKeyRef *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef `json:"configMapKeyRef,omitempty"` // ObjectFieldSelector selects an APIVersioned field of an object. FieldRef *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef `json:"fieldRef,omitempty"` // ResourceFieldSelector represents container resources (cpu, memory) and their output format ResourceFieldRef *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef `json:"resourceFieldRef,omitempty"` // SecretKeySelector selects a key of a Secret. SecretKeyRef *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef `json:"secretKeyRef,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvItemValueFrom defines model for SGClusterSpecPodsCustomContainersItemEnvItemValueFrom.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFrom) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFrom) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvItemValueFrom.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFrom) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFrom) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef ¶
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef struct { // The key to select. Key string `json:"key"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the ConfigMap or its key must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef defines model for SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromConfigMapKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef ¶
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef struct { // Version of the schema the FieldPath is written in terms of, defaults to "v1". ApiVersion *string `json:"apiVersion,omitempty"` // Path of the field to select in the specified API version. FieldPath string `json:"fieldPath"` }
SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef defines model for SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef ¶
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef struct { // Container name: required for volumes, optional for env vars ContainerName *string `json:"containerName,omitempty"` // Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. // // The serialization format is: // // <quantity> ::= <signedNumber><suffix> // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei // (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) // <decimalSI> ::= m | "" | k | M | G | T | P | E // (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber> // // No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. // // Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: // a. No precision is lost // b. No fractional digits will be emitted // c. The exponent (or suffix) is as large as possible. // The sign will be omitted unless the number is negative. // // Examples: // 1.5 will be serialized as "1500m" // 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) // // This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. Divisor *string `json:"divisor,omitempty"` // Required: resource to select Resource string `json:"resource"` }
SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef defines model for SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef ¶
type SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the Secret or its key must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef defines model for SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef) DeepCopy() *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef.
func (*SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemEnvItemValueFromSecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecycle ¶
type SGClusterSpecPodsCustomContainersItemLifecycle struct { // Handler defines a specific action that should be taken PostStart *SGClusterSpecPodsCustomContainersItemLifecyclePostStart `json:"postStart,omitempty"` // Handler defines a specific action that should be taken PreStop *SGClusterSpecPodsCustomContainersItemLifecyclePreStop `json:"preStop,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecycle defines model for SGClusterSpecPodsCustomContainersItemLifecycle.
func (*SGClusterSpecPodsCustomContainersItemLifecycle) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecycle) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecycle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecycle.
func (*SGClusterSpecPodsCustomContainersItemLifecycle) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecycle) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecycle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePostStart ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePostStart struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec `json:"exec,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet `json:"httpGet,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket `json:"tcpSocket,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecyclePostStart defines model for SGClusterSpecPodsCustomContainersItemLifecyclePostStart.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStart) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStart) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePostStart.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStart) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStart) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec defines model for SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStartExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet defines model for SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStartHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket defines model for SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePostStartTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePreStop ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePreStop struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec `json:"exec,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet `json:"httpGet,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket `json:"tcpSocket,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecyclePreStop defines model for SGClusterSpecPodsCustomContainersItemLifecyclePreStop.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStop) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStop) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePreStop
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePreStop.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStop) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStop) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePreStop)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec defines model for SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePreStopExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet defines model for SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePreStopHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket ¶
type SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket defines model for SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLifecyclePreStopTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLivenessProbe ¶
type SGClusterSpecPodsCustomContainersItemLivenessProbe struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomContainersItemLivenessProbeExec `json:"exec,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold *int32 `json:"failureThreshold,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet `json:"httpGet,omitempty"` // Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"` // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds *int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. SuccessThreshold *int32 `json:"successThreshold,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket `json:"tcpSocket,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
SGClusterSpecPodsCustomContainersItemLivenessProbe defines model for SGClusterSpecPodsCustomContainersItemLivenessProbe.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbe) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbe) DeepCopy() *SGClusterSpecPodsCustomContainersItemLivenessProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLivenessProbe.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbe) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbe) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLivenessProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLivenessProbeExec ¶
type SGClusterSpecPodsCustomContainersItemLivenessProbeExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomContainersItemLivenessProbeExec defines model for SGClusterSpecPodsCustomContainersItemLivenessProbeExec.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeExec) DeepCopy() *SGClusterSpecPodsCustomContainersItemLivenessProbeExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLivenessProbeExec.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeExec) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLivenessProbeExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet ¶
type SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet defines model for SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLivenessProbeHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket ¶
type SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket defines model for SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemLivenessProbeTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemPortsItem ¶
type SGClusterSpecPodsCustomContainersItemPortsItem struct { // Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. ContainerPort int32 `json:"containerPort"` // What host IP to bind the external port to. HostIP *string `json:"hostIP,omitempty"` // Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. HostPort *int32 `json:"hostPort,omitempty"` // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. Name *string `json:"name,omitempty"` // Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP". Protocol *string `json:"protocol,omitempty"` }
SGClusterSpecPodsCustomContainersItemPortsItem defines model for SGClusterSpecPodsCustomContainersItemPortsItem.
func (*SGClusterSpecPodsCustomContainersItemPortsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemPortsItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemPortsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemPortsItem.
func (*SGClusterSpecPodsCustomContainersItemPortsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemPortsItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemPortsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemReadinessProbe ¶
type SGClusterSpecPodsCustomContainersItemReadinessProbe struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomContainersItemReadinessProbeExec `json:"exec,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold *int32 `json:"failureThreshold,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet `json:"httpGet,omitempty"` // Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"` // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds *int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. SuccessThreshold *int32 `json:"successThreshold,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket `json:"tcpSocket,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
SGClusterSpecPodsCustomContainersItemReadinessProbe defines model for SGClusterSpecPodsCustomContainersItemReadinessProbe.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbe) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbe) DeepCopy() *SGClusterSpecPodsCustomContainersItemReadinessProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemReadinessProbe.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbe) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbe) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemReadinessProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemReadinessProbeExec ¶
type SGClusterSpecPodsCustomContainersItemReadinessProbeExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomContainersItemReadinessProbeExec defines model for SGClusterSpecPodsCustomContainersItemReadinessProbeExec.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeExec) DeepCopy() *SGClusterSpecPodsCustomContainersItemReadinessProbeExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemReadinessProbeExec.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeExec) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemReadinessProbeExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet ¶
type SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet defines model for SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemReadinessProbeHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket ¶
type SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket defines model for SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemReadinessProbeTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemResources ¶
type SGClusterSpecPodsCustomContainersItemResources struct { // Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Limits map[string]string `json:"limits,omitempty"` // Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Requests map[string]string `json:"requests,omitempty"` }
SGClusterSpecPodsCustomContainersItemResources defines model for SGClusterSpecPodsCustomContainersItemResources.
func (*SGClusterSpecPodsCustomContainersItemResources) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemResources) DeepCopy() *SGClusterSpecPodsCustomContainersItemResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemResources.
func (*SGClusterSpecPodsCustomContainersItemResources) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemResources) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemSecurityContext ¶
type SGClusterSpecPodsCustomContainersItemSecurityContext struct { // AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty"` // Adds and removes POSIX capabilities from running containers. Capabilities *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities `json:"capabilities,omitempty"` // Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Privileged *bool `json:"privileged,omitempty"` // procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. ProcMount *string `json:"procMount,omitempty"` // Whether this container has a read-only root filesystem. Default is false. ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty"` // The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsGroup *int64 `json:"runAsGroup,omitempty"` // Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"` // The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsUser *int64 `json:"runAsUser,omitempty"` // SELinuxOptions are the labels to be applied to the container SeLinuxOptions *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions `json:"seLinuxOptions,omitempty"` // SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. SeccompProfile *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile `json:"seccompProfile,omitempty"` // WindowsSecurityContextOptions contain Windows-specific options and credentials. WindowsOptions *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions `json:"windowsOptions,omitempty"` }
SGClusterSpecPodsCustomContainersItemSecurityContext defines model for SGClusterSpecPodsCustomContainersItemSecurityContext.
func (*SGClusterSpecPodsCustomContainersItemSecurityContext) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContext) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemSecurityContext.
func (*SGClusterSpecPodsCustomContainersItemSecurityContext) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContext) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities ¶
type SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities struct { // Added capabilities Add *[]string `json:"add,omitempty"` // Removed capabilities Drop *[]string `json:"drop,omitempty"` }
SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities defines model for SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextCapabilities)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions ¶
type SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions struct { // Level is SELinux level label that applies to the container. Level *string `json:"level,omitempty"` // Role is a SELinux role label that applies to the container. Role *string `json:"role,omitempty"` // Type is a SELinux type label that applies to the container. Type *string `json:"type,omitempty"` // User is a SELinux user label that applies to the container. User *string `json:"user,omitempty"` }
SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions defines model for SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextSeLinuxOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile ¶
type SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile struct { // localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". LocalhostProfile *string `json:"localhostProfile,omitempty"` // type indicates which kind of seccomp profile will be applied. Valid options are: // // Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. Type string `json:"type"` }
SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile defines model for SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextSeccompProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions ¶
type SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions struct { // GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. GmsaCredentialSpec *string `json:"gmsaCredentialSpec,omitempty"` // GMSACredentialSpecName is the name of the GMSA credential spec to use. GmsaCredentialSpecName *string `json:"gmsaCredentialSpecName,omitempty"` // HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. HostProcess *bool `json:"hostProcess,omitempty"` // The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsUserName *string `json:"runAsUserName,omitempty"` }
SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions defines model for SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions) DeepCopy() *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions.
func (*SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemSecurityContextWindowsOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemStartupProbe ¶
type SGClusterSpecPodsCustomContainersItemStartupProbe struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomContainersItemStartupProbeExec `json:"exec,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold *int32 `json:"failureThreshold,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet `json:"httpGet,omitempty"` // Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"` // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds *int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. SuccessThreshold *int32 `json:"successThreshold,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket `json:"tcpSocket,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
SGClusterSpecPodsCustomContainersItemStartupProbe defines model for SGClusterSpecPodsCustomContainersItemStartupProbe.
func (*SGClusterSpecPodsCustomContainersItemStartupProbe) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbe) DeepCopy() *SGClusterSpecPodsCustomContainersItemStartupProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemStartupProbe.
func (*SGClusterSpecPodsCustomContainersItemStartupProbe) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbe) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemStartupProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemStartupProbeExec ¶
type SGClusterSpecPodsCustomContainersItemStartupProbeExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomContainersItemStartupProbeExec defines model for SGClusterSpecPodsCustomContainersItemStartupProbeExec.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeExec) DeepCopy() *SGClusterSpecPodsCustomContainersItemStartupProbeExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemStartupProbeExec.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeExec) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemStartupProbeExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet ¶
type SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet defines model for SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemStartupProbeHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket ¶
type SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket defines model for SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket.
func (*SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemStartupProbeTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemVolumeDevicesItem ¶
type SGClusterSpecPodsCustomContainersItemVolumeDevicesItem struct { // devicePath is the path inside of the container that the device will be mapped to. DevicePath string `json:"devicePath"` // name must match the name of a persistentVolumeClaim in the pod Name string `json:"name"` }
SGClusterSpecPodsCustomContainersItemVolumeDevicesItem defines model for SGClusterSpecPodsCustomContainersItemVolumeDevicesItem.
func (*SGClusterSpecPodsCustomContainersItemVolumeDevicesItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemVolumeDevicesItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemVolumeDevicesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemVolumeDevicesItem.
func (*SGClusterSpecPodsCustomContainersItemVolumeDevicesItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemVolumeDevicesItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemVolumeDevicesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomContainersItemVolumeMountsItem ¶
type SGClusterSpecPodsCustomContainersItemVolumeMountsItem struct { // Path within the container at which the volume should be mounted. Must not contain ':'. MountPath string `json:"mountPath"` // mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. MountPropagation *string `json:"mountPropagation,omitempty"` // This must match the Name of a Volume. Name string `json:"name"` // Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. ReadOnly *bool `json:"readOnly,omitempty"` // Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). SubPath *string `json:"subPath,omitempty"` // Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. SubPathExpr *string `json:"subPathExpr,omitempty"` }
SGClusterSpecPodsCustomContainersItemVolumeMountsItem defines model for SGClusterSpecPodsCustomContainersItemVolumeMountsItem.
func (*SGClusterSpecPodsCustomContainersItemVolumeMountsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomContainersItemVolumeMountsItem) DeepCopy() *SGClusterSpecPodsCustomContainersItemVolumeMountsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomContainersItemVolumeMountsItem.
func (*SGClusterSpecPodsCustomContainersItemVolumeMountsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomContainersItemVolumeMountsItem) DeepCopyInto(out *SGClusterSpecPodsCustomContainersItemVolumeMountsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItem ¶
type SGClusterSpecPodsCustomInitContainersItem struct { // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell Args *[]string `json:"args,omitempty"` // Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell Command *[]string `json:"command,omitempty"` // List of environment variables to set in the container. Cannot be updated. Env *[]SGClusterSpecPodsCustomInitContainersItemEnvItem `json:"env,omitempty"` // List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. EnvFrom *[]SGClusterSpecPodsCustomInitContainersItemEnvFromItem `json:"envFrom,omitempty"` // Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. Image *string `json:"image,omitempty"` // Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images ImagePullPolicy *string `json:"imagePullPolicy,omitempty"` // Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. Lifecycle *SGClusterSpecPodsCustomInitContainersItemLifecycle `json:"lifecycle,omitempty"` // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. LivenessProbe *SGClusterSpecPodsCustomInitContainersItemLivenessProbe `json:"livenessProbe,omitempty"` // Name of the container specified as a DNS_LABEL. Each // container in a pod must have a unique name (DNS_LABEL). Cannot // be updated. // // The name will be prefixed with the string `custom-` so that when referencing it // in the .spec.containers section of SGInstanceProfile the name used have to be // prepended with the same prefix. Name string `json:"name"` // List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Cannot be updated. Ports *[]SGClusterSpecPodsCustomInitContainersItemPortsItem `json:"ports,omitempty"` // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. ReadinessProbe *SGClusterSpecPodsCustomInitContainersItemReadinessProbe `json:"readinessProbe,omitempty"` // ResourceRequirements describes the compute resource requirements. Resources *SGClusterSpecPodsCustomInitContainersItemResources `json:"resources,omitempty"` // SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. SecurityContext *SGClusterSpecPodsCustomInitContainersItemSecurityContext `json:"securityContext,omitempty"` // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. StartupProbe *SGClusterSpecPodsCustomInitContainersItemStartupProbe `json:"startupProbe,omitempty"` // Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. Stdin *bool `json:"stdin,omitempty"` // Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false StdinOnce *bool `json:"stdinOnce,omitempty"` // Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. TerminationMessagePath *string `json:"terminationMessagePath,omitempty"` // Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. TerminationMessagePolicy *string `json:"terminationMessagePolicy,omitempty"` // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. Tty *bool `json:"tty,omitempty"` // volumeDevices is the list of block devices to be used by the container. VolumeDevices *[]SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem `json:"volumeDevices,omitempty"` // Pod volumes to mount into the container's filesystem. Cannot be updated. VolumeMounts *[]SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem `json:"volumeMounts,omitempty"` // Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. WorkingDir *string `json:"workingDir,omitempty"` }
SGClusterSpecPodsCustomInitContainersItem defines model for SGClusterSpecPodsCustomInitContainersItem.
func (*SGClusterSpecPodsCustomInitContainersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItem.
func (*SGClusterSpecPodsCustomInitContainersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvFromItem ¶
type SGClusterSpecPodsCustomInitContainersItemEnvFromItem struct { // ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. // // The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. ConfigMapRef *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef `json:"configMapRef,omitempty"` // An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. Prefix *string `json:"prefix,omitempty"` // SecretEnvSource selects a Secret to populate the environment variables with. // // The contents of the target Secret's Data field will represent the key-value pairs as environment variables. SecretRef *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef `json:"secretRef,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvFromItem defines model for SGClusterSpecPodsCustomInitContainersItemEnvFromItem.
func (*SGClusterSpecPodsCustomInitContainersItemEnvFromItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvFromItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvFromItem.
func (*SGClusterSpecPodsCustomInitContainersItemEnvFromItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvFromItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef ¶
type SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef struct { // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the ConfigMap must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef defines model for SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvFromItemConfigMapRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef ¶
type SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef struct { // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the Secret must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef defines model for SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvFromItemSecretRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvItem ¶
type SGClusterSpecPodsCustomInitContainersItemEnvItem struct { // Name of the environment variable. Must be a C_IDENTIFIER. Name string `json:"name"` // Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". Value *string `json:"value,omitempty"` // EnvVarSource represents a source for the value of an EnvVar. ValueFrom *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom `json:"valueFrom,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvItem defines model for SGClusterSpecPodsCustomInitContainersItemEnvItem.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvItem.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom ¶
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom struct { // Selects a key from a ConfigMap. ConfigMapKeyRef *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef `json:"configMapKeyRef,omitempty"` // ObjectFieldSelector selects an APIVersioned field of an object. FieldRef *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef `json:"fieldRef,omitempty"` // ResourceFieldSelector represents container resources (cpu, memory) and their output format ResourceFieldRef *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef `json:"resourceFieldRef,omitempty"` // SecretKeySelector selects a key of a Secret. SecretKeyRef *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef `json:"secretKeyRef,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom defines model for SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef ¶
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef struct { // The key to select. Key string `json:"key"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the ConfigMap or its key must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef defines model for SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromConfigMapKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef ¶
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef struct { // Version of the schema the FieldPath is written in terms of, defaults to "v1". ApiVersion *string `json:"apiVersion,omitempty"` // Path of the field to select in the specified API version. FieldPath string `json:"fieldPath"` }
SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef defines model for SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef ¶
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef struct { // Container name: required for volumes, optional for env vars ContainerName *string `json:"containerName,omitempty"` // Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. // // The serialization format is: // // <quantity> ::= <signedNumber><suffix> // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei // (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) // <decimalSI> ::= m | "" | k | M | G | T | P | E // (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber> // // No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. // // Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: // a. No precision is lost // b. No fractional digits will be emitted // c. The exponent (or suffix) is as large as possible. // The sign will be omitted unless the number is negative. // // Examples: // 1.5 will be serialized as "1500m" // 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) // // This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. Divisor *string `json:"divisor,omitempty"` // Required: resource to select Resource string `json:"resource"` }
SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef defines model for SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef ¶
type SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the Secret or its key must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef defines model for SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef.
func (*SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemEnvItemValueFromSecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecycle ¶
type SGClusterSpecPodsCustomInitContainersItemLifecycle struct { // Handler defines a specific action that should be taken PostStart *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart `json:"postStart,omitempty"` // Handler defines a specific action that should be taken PreStop *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop `json:"preStop,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecycle defines model for SGClusterSpecPodsCustomInitContainersItemLifecycle.
func (*SGClusterSpecPodsCustomInitContainersItemLifecycle) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecycle) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecycle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecycle.
func (*SGClusterSpecPodsCustomInitContainersItemLifecycle) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecycle) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecycle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec `json:"exec,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet `json:"httpGet,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket `json:"tcpSocket,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePostStartTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec `json:"exec,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet `json:"httpGet,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket `json:"tcpSocket,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStop)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket ¶
type SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket defines model for SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLifecyclePreStopTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLivenessProbe ¶
type SGClusterSpecPodsCustomInitContainersItemLivenessProbe struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec `json:"exec,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold *int32 `json:"failureThreshold,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet `json:"httpGet,omitempty"` // Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"` // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds *int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. SuccessThreshold *int32 `json:"successThreshold,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket `json:"tcpSocket,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLivenessProbe defines model for SGClusterSpecPodsCustomInitContainersItemLivenessProbe.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbe) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbe) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLivenessProbe.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbe) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbe) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec ¶
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec defines model for SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbeExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet ¶
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet defines model for SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbeHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket ¶
type SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket defines model for SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemLivenessProbeTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemPortsItem ¶
type SGClusterSpecPodsCustomInitContainersItemPortsItem struct { // Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. ContainerPort int32 `json:"containerPort"` // What host IP to bind the external port to. HostIP *string `json:"hostIP,omitempty"` // Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. HostPort *int32 `json:"hostPort,omitempty"` // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. Name *string `json:"name,omitempty"` // Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP". Protocol *string `json:"protocol,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemPortsItem defines model for SGClusterSpecPodsCustomInitContainersItemPortsItem.
func (*SGClusterSpecPodsCustomInitContainersItemPortsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemPortsItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemPortsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemPortsItem.
func (*SGClusterSpecPodsCustomInitContainersItemPortsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemPortsItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemPortsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemReadinessProbe ¶
type SGClusterSpecPodsCustomInitContainersItemReadinessProbe struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec `json:"exec,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold *int32 `json:"failureThreshold,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet `json:"httpGet,omitempty"` // Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"` // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds *int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. SuccessThreshold *int32 `json:"successThreshold,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket `json:"tcpSocket,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemReadinessProbe defines model for SGClusterSpecPodsCustomInitContainersItemReadinessProbe.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbe) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbe) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemReadinessProbe.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbe) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbe) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec ¶
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec defines model for SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbeExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet ¶
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet defines model for SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbeHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket ¶
type SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket defines model for SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemReadinessProbeTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemResources ¶
type SGClusterSpecPodsCustomInitContainersItemResources struct { // Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Limits map[string]string `json:"limits,omitempty"` // Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Requests map[string]string `json:"requests,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemResources defines model for SGClusterSpecPodsCustomInitContainersItemResources.
func (*SGClusterSpecPodsCustomInitContainersItemResources) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemResources) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemResources.
func (*SGClusterSpecPodsCustomInitContainersItemResources) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemResources) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemSecurityContext ¶
type SGClusterSpecPodsCustomInitContainersItemSecurityContext struct { // AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty"` // Adds and removes POSIX capabilities from running containers. Capabilities *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities `json:"capabilities,omitempty"` // Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Privileged *bool `json:"privileged,omitempty"` // procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. ProcMount *string `json:"procMount,omitempty"` // Whether this container has a read-only root filesystem. Default is false. ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem,omitempty"` // The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsGroup *int64 `json:"runAsGroup,omitempty"` // Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsNonRoot *bool `json:"runAsNonRoot,omitempty"` // The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsUser *int64 `json:"runAsUser,omitempty"` // SELinuxOptions are the labels to be applied to the container SeLinuxOptions *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions `json:"seLinuxOptions,omitempty"` // SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. SeccompProfile *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile `json:"seccompProfile,omitempty"` // WindowsSecurityContextOptions contain Windows-specific options and credentials. WindowsOptions *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions `json:"windowsOptions,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemSecurityContext defines model for SGClusterSpecPodsCustomInitContainersItemSecurityContext.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContext) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContext) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemSecurityContext.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContext) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContext) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities ¶
type SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities struct { // Added capabilities Add *[]string `json:"add,omitempty"` // Removed capabilities Drop *[]string `json:"drop,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities defines model for SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextCapabilities)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions ¶
type SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions struct { // Level is SELinux level label that applies to the container. Level *string `json:"level,omitempty"` // Role is a SELinux role label that applies to the container. Role *string `json:"role,omitempty"` // Type is a SELinux type label that applies to the container. Type *string `json:"type,omitempty"` // User is a SELinux user label that applies to the container. User *string `json:"user,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions defines model for SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeLinuxOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile ¶
type SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile struct { // localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost". LocalhostProfile *string `json:"localhostProfile,omitempty"` // type indicates which kind of seccomp profile will be applied. Valid options are: // // Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied. Type string `json:"type"` }
SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile defines model for SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextSeccompProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions ¶
type SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions struct { // GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. GmsaCredentialSpec *string `json:"gmsaCredentialSpec,omitempty"` // GMSACredentialSpecName is the name of the GMSA credential spec to use. GmsaCredentialSpecName *string `json:"gmsaCredentialSpecName,omitempty"` // HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. HostProcess *bool `json:"hostProcess,omitempty"` // The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. RunAsUserName *string `json:"runAsUserName,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions defines model for SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions.
func (*SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemSecurityContextWindowsOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemStartupProbe ¶
type SGClusterSpecPodsCustomInitContainersItemStartupProbe struct { // ExecAction describes a "run in container" action. Exec *SGClusterSpecPodsCustomInitContainersItemStartupProbeExec `json:"exec,omitempty"` // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold *int32 `json:"failureThreshold,omitempty"` // HTTPGetAction describes an action based on HTTP Get requests. HttpGet *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet `json:"httpGet,omitempty"` // Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"` // How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. PeriodSeconds *int32 `json:"periodSeconds,omitempty"` // Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. SuccessThreshold *int32 `json:"successThreshold,omitempty"` // TCPSocketAction describes an action based on opening a socket TcpSocket *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket `json:"tcpSocket,omitempty"` // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemStartupProbe defines model for SGClusterSpecPodsCustomInitContainersItemStartupProbe.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbe) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbe) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemStartupProbe
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemStartupProbe.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbe) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbe) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemStartupProbe)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemStartupProbeExec ¶
type SGClusterSpecPodsCustomInitContainersItemStartupProbeExec struct { // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Command *[]string `json:"command,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemStartupProbeExec defines model for SGClusterSpecPodsCustomInitContainersItemStartupProbeExec.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeExec) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeExec) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemStartupProbeExec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemStartupProbeExec.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeExec) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeExec) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemStartupProbeExec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet ¶
type SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet struct { // Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. Host *string `json:"host,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders *[]SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem `json:"httpHeaders,omitempty"` // Path to access on the HTTP server. Path *string `json:"path,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` // Scheme to use for connecting to the host. Defaults to HTTP. Scheme *string `json:"scheme,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet defines model for SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem ¶
type SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem struct { // The header field name Name string `json:"name"` // The header field value Value string `json:"value"` }
SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem defines model for SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemStartupProbeHttpGetHttpHeadersItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket ¶
type SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket struct { // Optional: Host name to connect to, defaults to the pod IP. Host *string `json:"host,omitempty"` // IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. Port string `json:"port"` }
SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket defines model for SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket.
func (*SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemStartupProbeTcpSocket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem ¶
type SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem struct { // devicePath is the path inside of the container that the device will be mapped to. DevicePath string `json:"devicePath"` // name must match the name of a persistentVolumeClaim in the pod Name string `json:"name"` }
SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem defines model for SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem.
func (*SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem.
func (*SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemVolumeDevicesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem ¶
type SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem struct { // Path within the container at which the volume should be mounted. Must not contain ':'. MountPath string `json:"mountPath"` // mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. MountPropagation *string `json:"mountPropagation,omitempty"` // This must match the Name of a Volume. Name string `json:"name"` // Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. ReadOnly *bool `json:"readOnly,omitempty"` // Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). SubPath *string `json:"subPath,omitempty"` // Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. SubPathExpr *string `json:"subPathExpr,omitempty"` }
SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem defines model for SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem.
func (*SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem) DeepCopy() *SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem.
func (*SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem) DeepCopyInto(out *SGClusterSpecPodsCustomInitContainersItemVolumeMountsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItem ¶
type SGClusterSpecPodsCustomVolumesItem struct { // Adapts a ConfigMap into a volume. // // The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. ConfigMap *SGClusterSpecPodsCustomVolumesItemConfigMap `json:"configMap,omitempty"` // DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. DownwardAPI *SGClusterSpecPodsCustomVolumesItemDownwardAPI `json:"downwardAPI,omitempty"` // Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. EmptyDir *SGClusterSpecPodsCustomVolumesItemEmptyDir `json:"emptyDir,omitempty"` // Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. // // DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. GitRepo *SGClusterSpecPodsCustomVolumesItemGitRepo `json:"gitRepo,omitempty"` // Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. Glusterfs *SGClusterSpecPodsCustomVolumesItemGlusterfs `json:"glusterfs,omitempty"` // Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. HostPath *SGClusterSpecPodsCustomVolumesItemHostPath `json:"hostPath,omitempty"` // Volumes name. Must be a DNS_LABEL and unique within the pod. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names // // The name will be prefixed with the string `custom-` so that when referencing them in the // customInitContainers or customContainers sections the name used have to be prepended with // the same prefix. Name *string `json:"name,omitempty"` // Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. Nfs *SGClusterSpecPodsCustomVolumesItemNfs `json:"nfs,omitempty"` // Represents a projected volume source Projected *SGClusterSpecPodsCustomVolumesItemProjected `json:"projected,omitempty"` // Adapts a Secret into a volume. // // The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. Secret *SGClusterSpecPodsCustomVolumesItemSecret `json:"secret,omitempty"` }
SGClusterSpecPodsCustomVolumesItem defines model for SGClusterSpecPodsCustomVolumesItem.
func (*SGClusterSpecPodsCustomVolumesItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItem.
func (*SGClusterSpecPodsCustomVolumesItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemConfigMap ¶
type SGClusterSpecPodsCustomVolumesItemConfigMap struct { // Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. DefaultMode *int32 `json:"defaultMode,omitempty"` // If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. Items *[]SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem `json:"items,omitempty"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the ConfigMap or its keys must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomVolumesItemConfigMap defines model for SGClusterSpecPodsCustomVolumesItemConfigMap.
func (*SGClusterSpecPodsCustomVolumesItemConfigMap) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemConfigMap) DeepCopy() *SGClusterSpecPodsCustomVolumesItemConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemConfigMap.
func (*SGClusterSpecPodsCustomVolumesItemConfigMap) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemConfigMap) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemConfigMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem ¶
type SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem struct { // The key to project. Key string `json:"key"` // Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode *int32 `json:"mode,omitempty"` // The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. Path string `json:"path"` }
SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem defines model for SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemConfigMapItemsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemDownwardAPI ¶
type SGClusterSpecPodsCustomVolumesItemDownwardAPI struct { // Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. DefaultMode *int32 `json:"defaultMode,omitempty"` // Items is a list of downward API volume file Items *[]SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem `json:"items,omitempty"` }
SGClusterSpecPodsCustomVolumesItemDownwardAPI defines model for SGClusterSpecPodsCustomVolumesItemDownwardAPI.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPI) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPI) DeepCopy() *SGClusterSpecPodsCustomVolumesItemDownwardAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemDownwardAPI.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPI) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPI) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemDownwardAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem ¶
type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem struct { // ObjectFieldSelector selects an APIVersioned field of an object. FieldRef *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef `json:"fieldRef,omitempty"` // Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode *int32 `json:"mode,omitempty"` // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' Path string `json:"path"` // ResourceFieldSelector represents container resources (cpu, memory) and their output format ResourceFieldRef *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef `json:"resourceFieldRef,omitempty"` }
SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem defines model for SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef ¶
type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef struct { // Version of the schema the FieldPath is written in terms of, defaults to "v1". ApiVersion *string `json:"apiVersion,omitempty"` // Path of the field to select in the specified API version. FieldPath string `json:"fieldPath"` }
SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef defines model for SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef) DeepCopy() *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef ¶
type SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef struct { // Container name: required for volumes, optional for env vars ContainerName *string `json:"containerName,omitempty"` // Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. // // The serialization format is: // // <quantity> ::= <signedNumber><suffix> // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei // (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) // <decimalSI> ::= m | "" | k | M | G | T | P | E // (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber> // // No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. // // Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: // a. No precision is lost // b. No fractional digits will be emitted // c. The exponent (or suffix) is as large as possible. // The sign will be omitted unless the number is negative. // // Examples: // 1.5 will be serialized as "1500m" // 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) // // This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. Divisor *string `json:"divisor,omitempty"` // Required: resource to select Resource string `json:"resource"` }
SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef defines model for SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemDownwardAPIItemsItemResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemEmptyDir ¶
type SGClusterSpecPodsCustomVolumesItemEmptyDir struct { // What type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir Medium *string `json:"medium,omitempty"` // Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. // // The serialization format is: // // <quantity> ::= <signedNumber><suffix> // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei // (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) // <decimalSI> ::= m | "" | k | M | G | T | P | E // (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber> // // No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. // // Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: // a. No precision is lost // b. No fractional digits will be emitted // c. The exponent (or suffix) is as large as possible. // The sign will be omitted unless the number is negative. // // Examples: // 1.5 will be serialized as "1500m" // 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) // // This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. SizeLimit *string `json:"sizeLimit,omitempty"` }
SGClusterSpecPodsCustomVolumesItemEmptyDir defines model for SGClusterSpecPodsCustomVolumesItemEmptyDir.
func (*SGClusterSpecPodsCustomVolumesItemEmptyDir) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemEmptyDir) DeepCopy() *SGClusterSpecPodsCustomVolumesItemEmptyDir
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemEmptyDir.
func (*SGClusterSpecPodsCustomVolumesItemEmptyDir) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemEmptyDir) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemEmptyDir)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemGitRepo ¶
type SGClusterSpecPodsCustomVolumesItemGitRepo struct { // Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. Directory *string `json:"directory,omitempty"` // Repository URL Repository string `json:"repository"` // Commit hash for the specified revision. Revision *string `json:"revision,omitempty"` }
SGClusterSpecPodsCustomVolumesItemGitRepo defines model for SGClusterSpecPodsCustomVolumesItemGitRepo.
func (*SGClusterSpecPodsCustomVolumesItemGitRepo) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemGitRepo) DeepCopy() *SGClusterSpecPodsCustomVolumesItemGitRepo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemGitRepo.
func (*SGClusterSpecPodsCustomVolumesItemGitRepo) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemGitRepo) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemGitRepo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemGlusterfs ¶
type SGClusterSpecPodsCustomVolumesItemGlusterfs struct { // EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod Endpoints string `json:"endpoints"` // Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod Path string `json:"path"` // ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod ReadOnly *bool `json:"readOnly,omitempty"` }
SGClusterSpecPodsCustomVolumesItemGlusterfs defines model for SGClusterSpecPodsCustomVolumesItemGlusterfs.
func (*SGClusterSpecPodsCustomVolumesItemGlusterfs) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemGlusterfs) DeepCopy() *SGClusterSpecPodsCustomVolumesItemGlusterfs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemGlusterfs.
func (*SGClusterSpecPodsCustomVolumesItemGlusterfs) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemGlusterfs) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemGlusterfs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemHostPath ¶
type SGClusterSpecPodsCustomVolumesItemHostPath struct { // Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath Path string `json:"path"` // Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath Type *string `json:"type,omitempty"` }
SGClusterSpecPodsCustomVolumesItemHostPath defines model for SGClusterSpecPodsCustomVolumesItemHostPath.
func (*SGClusterSpecPodsCustomVolumesItemHostPath) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemHostPath) DeepCopy() *SGClusterSpecPodsCustomVolumesItemHostPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemHostPath.
func (*SGClusterSpecPodsCustomVolumesItemHostPath) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemHostPath) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemHostPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemNfs ¶
type SGClusterSpecPodsCustomVolumesItemNfs struct { // Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs Path string `json:"path"` // ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs ReadOnly *bool `json:"readOnly,omitempty"` // Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs Server string `json:"server"` }
SGClusterSpecPodsCustomVolumesItemNfs defines model for SGClusterSpecPodsCustomVolumesItemNfs.
func (*SGClusterSpecPodsCustomVolumesItemNfs) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemNfs) DeepCopy() *SGClusterSpecPodsCustomVolumesItemNfs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemNfs.
func (*SGClusterSpecPodsCustomVolumesItemNfs) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemNfs) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemNfs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjected ¶
type SGClusterSpecPodsCustomVolumesItemProjected struct { // Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. DefaultMode *int32 `json:"defaultMode,omitempty"` // list of volume projections Sources *[]SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem `json:"sources,omitempty"` }
SGClusterSpecPodsCustomVolumesItemProjected defines model for SGClusterSpecPodsCustomVolumesItemProjected.
func (*SGClusterSpecPodsCustomVolumesItemProjected) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjected) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjected
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjected.
func (*SGClusterSpecPodsCustomVolumesItemProjected) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjected) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjected)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem struct { // Adapts a ConfigMap into a projected volume. // // The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. ConfigMap *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap `json:"configMap,omitempty"` // Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. DownwardAPI *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI `json:"downwardAPI,omitempty"` // Adapts a secret into a projected volume. // // The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. Secret *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret `json:"secret,omitempty"` // ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). ServiceAccountToken *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken `json:"serviceAccountToken,omitempty"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap struct { // If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. Items *[]SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem `json:"items,omitempty"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the ConfigMap or its keys must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem struct { // The key to project. Key string `json:"key"` // Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode *int32 `json:"mode,omitempty"` // The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. Path string `json:"path"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemConfigMapItemsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI struct { // Items is a list of DownwardAPIVolume file Items *[]SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem `json:"items,omitempty"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem struct { // ObjectFieldSelector selects an APIVersioned field of an object. FieldRef *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef `json:"fieldRef,omitempty"` // Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode *int32 `json:"mode,omitempty"` // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' Path string `json:"path"` // ResourceFieldSelector represents container resources (cpu, memory) and their output format ResourceFieldRef *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef `json:"resourceFieldRef,omitempty"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef struct { // Version of the schema the FieldPath is written in terms of, defaults to "v1". ApiVersion *string `json:"apiVersion,omitempty"` // Path of the field to select in the specified API version. FieldPath string `json:"fieldPath"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef struct { // Container name: required for volumes, optional for env vars ContainerName *string `json:"containerName,omitempty"` // Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. // // The serialization format is: // // <quantity> ::= <signedNumber><suffix> // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei // (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) // <decimalSI> ::= m | "" | k | M | G | T | P | E // (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber> // // No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. // // When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. // // Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: // a. No precision is lost // b. No fractional digits will be emitted // c. The exponent (or suffix) is as large as possible. // The sign will be omitted unless the number is negative. // // Examples: // 1.5 will be serialized as "1500m" // 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) // // This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. Divisor *string `json:"divisor,omitempty"` // Required: resource to select Resource string `json:"resource"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemDownwardAPIItemsItemResourceFieldRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret struct { // If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. Items *[]SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem `json:"items,omitempty"` // Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Name *string `json:"name,omitempty"` // Specify whether the Secret or its key must be defined Optional *bool `json:"optional,omitempty"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem struct { // The key to project. Key string `json:"key"` // Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode *int32 `json:"mode,omitempty"` // The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. Path string `json:"path"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemSecretItemsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken ¶
type SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken struct { // Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. Audience *string `json:"audience,omitempty"` // ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. ExpirationSeconds *int64 `json:"expirationSeconds,omitempty"` // Path is the path relative to the mount point of the file to project the token into. Path string `json:"path"` }
SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken defines model for SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken) DeepCopy() *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken.
func (*SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemProjectedSourcesItemServiceAccountToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemSecret ¶
type SGClusterSpecPodsCustomVolumesItemSecret struct { // Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. DefaultMode *int32 `json:"defaultMode,omitempty"` // If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. Items *[]SGClusterSpecPodsCustomVolumesItemSecretItemsItem `json:"items,omitempty"` // Specify whether the Secret or its keys must be defined Optional *bool `json:"optional,omitempty"` // Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret SecretName *string `json:"secretName,omitempty"` }
SGClusterSpecPodsCustomVolumesItemSecret defines model for SGClusterSpecPodsCustomVolumesItemSecret.
func (*SGClusterSpecPodsCustomVolumesItemSecret) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemSecret) DeepCopy() *SGClusterSpecPodsCustomVolumesItemSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemSecret.
func (*SGClusterSpecPodsCustomVolumesItemSecret) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemSecret) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsCustomVolumesItemSecretItemsItem ¶
type SGClusterSpecPodsCustomVolumesItemSecretItemsItem struct { // The key to project. Key string `json:"key"` // Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. Mode *int32 `json:"mode,omitempty"` // The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. Path string `json:"path"` }
SGClusterSpecPodsCustomVolumesItemSecretItemsItem defines model for SGClusterSpecPodsCustomVolumesItemSecretItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemSecretItemsItem) DeepCopy ¶
func (in *SGClusterSpecPodsCustomVolumesItemSecretItemsItem) DeepCopy() *SGClusterSpecPodsCustomVolumesItemSecretItemsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsCustomVolumesItemSecretItemsItem.
func (*SGClusterSpecPodsCustomVolumesItemSecretItemsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsCustomVolumesItemSecretItemsItem) DeepCopyInto(out *SGClusterSpecPodsCustomVolumesItemSecretItemsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsPersistentVolume ¶
type SGClusterSpecPodsPersistentVolume struct { // Size of the PersistentVolume set for each instance of the cluster. This size is specified either in Mebibytes, Gibibytes or Tebibytes (multiples of 2^20, 2^30 or 2^40, respectively). Size string `json:"size"` // Name of an existing StorageClass in the Kubernetes cluster, used to create the PersistentVolumes for the instances of the cluster. StorageClass *string `json:"storageClass,omitempty"` }
SGClusterSpecPodsPersistentVolume defines model for SGClusterSpecPodsPersistentVolume.
func (*SGClusterSpecPodsPersistentVolume) DeepCopy ¶
func (in *SGClusterSpecPodsPersistentVolume) DeepCopy() *SGClusterSpecPodsPersistentVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsPersistentVolume.
func (*SGClusterSpecPodsPersistentVolume) DeepCopyInto ¶
func (in *SGClusterSpecPodsPersistentVolume) DeepCopyInto(out *SGClusterSpecPodsPersistentVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsResources ¶
type SGClusterSpecPodsResources struct { // When enabled resource limits for containers other than the patroni container wil be set just like for patroni contianer as specified in the SGInstanceProfile. EnableClusterLimitsRequirements *bool `json:"enableClusterLimitsRequirements,omitempty"` }
SGClusterSpecPodsResources defines model for SGClusterSpecPodsResources.
func (*SGClusterSpecPodsResources) DeepCopy ¶
func (in *SGClusterSpecPodsResources) DeepCopy() *SGClusterSpecPodsResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsResources.
func (*SGClusterSpecPodsResources) DeepCopyInto ¶
func (in *SGClusterSpecPodsResources) DeepCopyInto(out *SGClusterSpecPodsResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsScheduling ¶
type SGClusterSpecPodsScheduling struct { // Backup Pod custom scheduling and affinity configuration. Backup *SGClusterSpecPodsSchedulingBackup `json:"backup,omitempty"` // Node affinity is a group of node affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#nodeaffinity-v1-core NodeAffinity *SGClusterSpecPodsSchedulingNodeAffinity `json:"nodeAffinity,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Pod affinity is a group of inter pod affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#podaffinity-v1-core PodAffinity *SGClusterSpecPodsSchedulingPodAffinity `json:"podAffinity,omitempty"` // Pod anti affinity is a group of inter pod anti affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#podantiaffinity-v1-core PodAntiAffinity *SGClusterSpecPodsSchedulingPodAntiAffinity `json:"podAntiAffinity,omitempty"` // If specified, the pod's tolerations. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#toleration-v1-core Tolerations *[]SGClusterSpecPodsSchedulingTolerationsItem `json:"tolerations,omitempty"` // TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed. TopologySpreadConstraints *[]SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem `json:"topologySpreadConstraints,omitempty"` }
SGClusterSpecPodsScheduling defines model for SGClusterSpecPodsScheduling.
func (*SGClusterSpecPodsScheduling) DeepCopy ¶
func (in *SGClusterSpecPodsScheduling) DeepCopy() *SGClusterSpecPodsScheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsScheduling.
func (*SGClusterSpecPodsScheduling) DeepCopyInto ¶
func (in *SGClusterSpecPodsScheduling) DeepCopyInto(out *SGClusterSpecPodsScheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackup ¶
type SGClusterSpecPodsSchedulingBackup struct { // Node affinity is a group of node affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#nodeaffinity-v1-core NodeAffinity *SGClusterSpecPodsSchedulingBackupNodeAffinity `json:"nodeAffinity,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Pod affinity is a group of inter pod affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#podaffinity-v1-core PodAffinity *SGClusterSpecPodsSchedulingBackupPodAffinity `json:"podAffinity,omitempty"` // Pod anti affinity is a group of inter pod anti affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#podantiaffinity-v1-core PodAntiAffinity *SGClusterSpecPodsSchedulingBackupPodAntiAffinity `json:"podAntiAffinity,omitempty"` // If specified, the pod's tolerations. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#toleration-v1-core Tolerations *[]SGClusterSpecPodsSchedulingBackupTolerationsItem `json:"tolerations,omitempty"` }
SGClusterSpecPodsSchedulingBackup defines model for SGClusterSpecPodsSchedulingBackup.
func (*SGClusterSpecPodsSchedulingBackup) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackup) DeepCopy() *SGClusterSpecPodsSchedulingBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackup.
func (*SGClusterSpecPodsSchedulingBackup) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackup) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinity ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. RequiredDuringSchedulingIgnoredDuringExecution *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinity defines model for SGClusterSpecPodsSchedulingBackupNodeAffinity.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinity) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinity) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinity.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinity) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinity) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. Preference SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference `json:"preference"` // Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference struct { // A list of node selector requirements by node's labels. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem `json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. MatchFields *[]SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem `json:"matchFields,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution struct { // Required. A list of node selector terms. The terms are ORed. NodeSelectorTerms []SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem `json:"nodeSelectorTerms"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem struct { // A list of node selector requirements by node's labels. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem `json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. MatchFields *[]SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem `json:"matchFields,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem ¶
type SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem defines model for SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinity ¶
type SGClusterSpecPodsSchedulingBackupPodAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinity defines model for SGClusterSpecPodsSchedulingBackupPodAffinity.
func (*SGClusterSpecPodsSchedulingBackupPodAffinity) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinity) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinity.
func (*SGClusterSpecPodsSchedulingBackupPodAffinity) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinity) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running PodAffinityTerm SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm `json:"podAffinityTerm"` // weight associated with matching the corresponding podAffinityTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm defines model for SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector defines model for SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector defines model for SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector defines model for SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector defines model for SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinity ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinity defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinity.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinity) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinity) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinity.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinity) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinity) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running PodAffinityTerm SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm `json:"podAffinityTerm"` // weight associated with matching the corresponding podAffinityTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingBackupTolerationsItem ¶
type SGClusterSpecPodsSchedulingBackupTolerationsItem struct { // Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. // Effect *string `json:"effect,omitempty"` // Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Key *string `json:"key,omitempty"` // Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. // Operator *string `json:"operator,omitempty"` // TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. TolerationSeconds *int64 `json:"tolerationSeconds,omitempty"` // Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. Value *string `json:"value,omitempty"` }
SGClusterSpecPodsSchedulingBackupTolerationsItem defines model for SGClusterSpecPodsSchedulingBackupTolerationsItem.
func (*SGClusterSpecPodsSchedulingBackupTolerationsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingBackupTolerationsItem) DeepCopy() *SGClusterSpecPodsSchedulingBackupTolerationsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingBackupTolerationsItem.
func (*SGClusterSpecPodsSchedulingBackupTolerationsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingBackupTolerationsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingBackupTolerationsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinity ¶
type SGClusterSpecPodsSchedulingNodeAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. RequiredDuringSchedulingIgnoredDuringExecution *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinity defines model for SGClusterSpecPodsSchedulingNodeAffinity.
func (*SGClusterSpecPodsSchedulingNodeAffinity) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinity) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinity.
func (*SGClusterSpecPodsSchedulingNodeAffinity) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinity) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. Preference SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference `json:"preference"` // Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference ¶
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference struct { // A list of node selector requirements by node's labels. MatchExpressions *[]SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem `json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. MatchFields *[]SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem `json:"matchFields,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference defines model for SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem ¶
type SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem defines model for SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution ¶
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution struct { // Required. A list of node selector terms. The terms are ORed. NodeSelectorTerms []SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem `json:"nodeSelectorTerms"` }
SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution defines model for SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem ¶
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem struct { // A list of node selector requirements by node's labels. MatchExpressions *[]SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem `json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. MatchFields *[]SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem `json:"matchFields,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem defines model for SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem ¶
type SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem defines model for SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy() *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem.
func (*SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinity ¶
type SGClusterSpecPodsSchedulingPodAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinity defines model for SGClusterSpecPodsSchedulingPodAffinity.
func (*SGClusterSpecPodsSchedulingPodAffinity) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinity) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinity.
func (*SGClusterSpecPodsSchedulingPodAffinity) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinity) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running PodAffinityTerm SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm `json:"podAffinityTerm"` // weight associated with matching the corresponding podAffinityTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm ¶
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm defines model for SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector ¶
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector defines model for SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector ¶
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector defines model for SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector ¶
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector defines model for SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector ¶
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector defines model for SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinity ¶
type SGClusterSpecPodsSchedulingPodAntiAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingIgnoredDuringExecution *[]SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinity defines model for SGClusterSpecPodsSchedulingPodAntiAffinity.
func (*SGClusterSpecPodsSchedulingPodAntiAffinity) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinity) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinity.
func (*SGClusterSpecPodsSchedulingPodAntiAffinity) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinity) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running PodAffinityTerm SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm `json:"podAffinityTerm"` // weight associated with matching the corresponding podAffinityTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm defines model for SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector defines model for SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector defines model for SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem defines model for SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector defines model for SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector defines model for SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingTolerationsItem ¶
type SGClusterSpecPodsSchedulingTolerationsItem struct { // Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. // Effect *string `json:"effect,omitempty"` // Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Key *string `json:"key,omitempty"` // Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. // Operator *string `json:"operator,omitempty"` // TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. TolerationSeconds *int64 `json:"tolerationSeconds,omitempty"` // Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. Value *string `json:"value,omitempty"` }
SGClusterSpecPodsSchedulingTolerationsItem defines model for SGClusterSpecPodsSchedulingTolerationsItem.
func (*SGClusterSpecPodsSchedulingTolerationsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingTolerationsItem) DeepCopy() *SGClusterSpecPodsSchedulingTolerationsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingTolerationsItem.
func (*SGClusterSpecPodsSchedulingTolerationsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingTolerationsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingTolerationsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem ¶
type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector `json:"labelSelector,omitempty"` // MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"` // MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. MaxSkew int32 `json:"maxSkew"` // MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule. // // For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew. // // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). MinDomains *int32 `json:"minDomains,omitempty"` // NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. // // If this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. NodeAffinityPolicy *string `json:"nodeAffinityPolicy,omitempty"` // NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. // // If this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. NodeTaintsPolicy *string `json:"nodeTaintsPolicy,omitempty"` // TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It's a required field. TopologyKey string `json:"topologyKey"` // WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location, // but giving higher precedence to topologies that would help reduce the // skew. // A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field. // WhenUnsatisfiable string `json:"whenUnsatisfiable"` }
SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem defines model for SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem.
func (*SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem) DeepCopy() *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem.
func (*SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector ¶
type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector defines model for SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector.
func (*SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector) DeepCopy() *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector.
func (*SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector) DeepCopyInto(out *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem ¶
type SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem defines model for SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem.
func (*SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGClusterSpecPodsSchedulingTopologySpreadConstraintsItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgres ¶
type SGClusterSpecPostgres struct { // StackGres support deploy of extensions at runtime by simply adding an entry to this array. A deployed extension still // requires the creation in a database using the [`CREATE EXTENSION`](https://www.postgresql.org/docs/current/sql-createextension.html) // statement. After an extension is deployed correctly it will be present until removed and the cluster restarted. // // A cluster restart is required for: // * Extensions that requires to add an entry to [`shared_preload_libraries`](https://postgresqlco.nf/en/doc/param/shared_preload_libraries/) configuration parameter. // * Upgrading extensions that overwrite any file that is not the extension”s control file or extension”s script file. // * Removing extensions. Until the cluster is not restarted a removed extension will still be available. // * Install of extensions that require extra mount. After installed the cluster will require to be restarted. Extensions *[]SGClusterSpecPostgresExtensionsItem `json:"extensions,omitempty"` // Postgres flavor used on the cluster. It is either of: // * `babelfish` will use the [Babelfish for Postgres](https://babelfish-for-postgresql.github.io/babelfish-for-postgresql/). // // If not specified then the vanilla Postgres will be used for the cluster. Flavor *string `json:"flavor,omitempty"` // This section allows to use SSL when connecting to Postgres Ssl *SGClusterSpecPostgresSsl `json:"ssl,omitempty"` // Postgres version used on the cluster. It is either of: // * The string 'latest', which automatically sets the latest major.minor Postgres version. // * A major version, like '14' or '13', which sets that major version and the latest minor version. // * A specific major.minor version, like '14.4'. Version string `json:"version"` }
SGClusterSpecPostgres defines model for SGClusterSpecPostgres.
func (*SGClusterSpecPostgres) DeepCopy ¶
func (in *SGClusterSpecPostgres) DeepCopy() *SGClusterSpecPostgres
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgres.
func (*SGClusterSpecPostgres) DeepCopyInto ¶
func (in *SGClusterSpecPostgres) DeepCopyInto(out *SGClusterSpecPostgres)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresExtensionsItem ¶
type SGClusterSpecPostgresExtensionsItem struct { // The name of the extension to deploy. Name string `json:"name"` // The id of the publisher of the extension to deploy. If not specified `com.ongres` will be used by default. Publisher *string `json:"publisher,omitempty"` // The repository base URL from where to obtain the extension to deploy. If not specified https://stackgres.io/downloads/postgres/extensions will be used by default (or the value specified during operator deployment). Repository *string `json:"repository,omitempty"` // The version of the extension to deploy. If not specified version of `stable` channel will be used by default. Version *string `json:"version,omitempty"` }
SGClusterSpecPostgresExtensionsItem defines model for SGClusterSpecPostgresExtensionsItem.
func (*SGClusterSpecPostgresExtensionsItem) DeepCopy ¶
func (in *SGClusterSpecPostgresExtensionsItem) DeepCopy() *SGClusterSpecPostgresExtensionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresExtensionsItem.
func (*SGClusterSpecPostgresExtensionsItem) DeepCopyInto ¶
func (in *SGClusterSpecPostgresExtensionsItem) DeepCopyInto(out *SGClusterSpecPostgresExtensionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresServices ¶
type SGClusterSpecPostgresServices struct { // Configuration for the `-primary` service. It provides a stable connection (regardless of primary failures or switchovers) to the read-write Postgres server of the cluster. Primary *SGClusterSpecPostgresServicesPrimary `json:"primary,omitempty"` // Configuration for the `-replicas` service. It provides a stable connection (regardless of replica node failures) to any read-only Postgres server of the cluster. Read-only servers are load-balanced via this service. Replicas *SGClusterSpecPostgresServicesReplicas `json:"replicas,omitempty"` }
SGClusterSpecPostgresServices defines model for SGClusterSpecPostgresServices.
func (*SGClusterSpecPostgresServices) DeepCopy ¶
func (in *SGClusterSpecPostgresServices) DeepCopy() *SGClusterSpecPostgresServices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresServices.
func (*SGClusterSpecPostgresServices) DeepCopyInto ¶
func (in *SGClusterSpecPostgresServices) DeepCopyInto(out *SGClusterSpecPostgresServices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresServicesPrimary ¶
type SGClusterSpecPostgresServicesPrimary struct { // The list of custom ports that will be exposed by the Postgres primary service. // // The names of custom ports will be prefixed with the string `custom-` so they do not // conflict with ports defined for the primary service. // // The names of target ports will be prefixed with the string `custom-` so that the ports // that can be referenced in this section will be only those defined under // .spec.pods.customContainers[].ports sections were names are also prepended with the same // prefix. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#serviceport-v1-core CustomPorts *[]SGClusterSpecPostgresServicesPrimaryCustomPortsItem `json:"customPorts,omitempty"` // Specify if the `-primary` service should be created or not. Enabled *bool `json:"enabled,omitempty"` // Specify custom external IPs for Postgres primary service ExternalIPs *[]string `json:"externalIPs,omitempty"` // Specify loadBalancer IP for Postgres primary service LoadBalancerIP *string `json:"loadBalancerIP,omitempty"` // Specifies the type of Kubernetes service. Type *string `json:"type,omitempty"` }
SGClusterSpecPostgresServicesPrimary defines model for SGClusterSpecPostgresServicesPrimary.
func (*SGClusterSpecPostgresServicesPrimary) DeepCopy ¶
func (in *SGClusterSpecPostgresServicesPrimary) DeepCopy() *SGClusterSpecPostgresServicesPrimary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresServicesPrimary.
func (*SGClusterSpecPostgresServicesPrimary) DeepCopyInto ¶
func (in *SGClusterSpecPostgresServicesPrimary) DeepCopyInto(out *SGClusterSpecPostgresServicesPrimary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresServicesPrimaryCustomPortsItem ¶
type SGClusterSpecPostgresServicesPrimaryCustomPortsItem struct { // The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. AppProtocol *string `json:"appProtocol,omitempty"` // The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. Name *string `json:"name,omitempty"` // The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport NodePort *int32 `json:"nodePort,omitempty"` // The port that will be exposed by this service. Port int32 `json:"port"` // The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP. Protocol *string `json:"protocol,omitempty"` // IntOrString is a type that can hold an int32 or a string. When // used in JSON or YAML marshalling and unmarshalling, it produces // or consumes the inner type. This allows you to have, for example, // a JSON field that can accept a name or number. // // The name will be prefixed with the string `custom-` so that the target port that can be // referenced will be only those defined under .spec.pods.customContainers[].ports sections // were names are also prepended with the same prefix. TargetPort *string `json:"targetPort,omitempty"` }
SGClusterSpecPostgresServicesPrimaryCustomPortsItem defines model for SGClusterSpecPostgresServicesPrimaryCustomPortsItem.
func (*SGClusterSpecPostgresServicesPrimaryCustomPortsItem) DeepCopy ¶
func (in *SGClusterSpecPostgresServicesPrimaryCustomPortsItem) DeepCopy() *SGClusterSpecPostgresServicesPrimaryCustomPortsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresServicesPrimaryCustomPortsItem.
func (*SGClusterSpecPostgresServicesPrimaryCustomPortsItem) DeepCopyInto ¶
func (in *SGClusterSpecPostgresServicesPrimaryCustomPortsItem) DeepCopyInto(out *SGClusterSpecPostgresServicesPrimaryCustomPortsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresServicesReplicas ¶
type SGClusterSpecPostgresServicesReplicas struct { // The list of custom ports that will be exposed by the Postgres replicas service. // // The names of custom ports will be prefixed with the string `custom-` so they do not // conflict with ports defined for the replicas service. // // The names of target ports will be prefixed with the string `custom-` so that the ports // that can be referenced in this section will be only those defined under // .spec.pods.customContainers[].ports sections were names are also prepended with the same // prefix. CustomPorts *[]SGClusterSpecPostgresServicesReplicasCustomPortsItem `json:"customPorts,omitempty"` // Specify if the `-replicas` service should be created or not. Enabled *bool `json:"enabled,omitempty"` // Specify the custom external IPs for Postgres replicas service ExternalIPs *[]string `json:"externalIPs,omitempty"` // Specify loadBalancer IP for Postgres replica service LoadBalancerIP *string `json:"loadBalancerIP,omitempty"` // Specifies the type of Kubernetes service. Type *string `json:"type,omitempty"` }
SGClusterSpecPostgresServicesReplicas defines model for SGClusterSpecPostgresServicesReplicas.
func (*SGClusterSpecPostgresServicesReplicas) DeepCopy ¶
func (in *SGClusterSpecPostgresServicesReplicas) DeepCopy() *SGClusterSpecPostgresServicesReplicas
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresServicesReplicas.
func (*SGClusterSpecPostgresServicesReplicas) DeepCopyInto ¶
func (in *SGClusterSpecPostgresServicesReplicas) DeepCopyInto(out *SGClusterSpecPostgresServicesReplicas)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresServicesReplicasCustomPortsItem ¶
type SGClusterSpecPostgresServicesReplicasCustomPortsItem struct { // The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. AppProtocol *string `json:"appProtocol,omitempty"` // The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. Name *string `json:"name,omitempty"` // The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport NodePort *int32 `json:"nodePort,omitempty"` // The port that will be exposed by this service. Port int32 `json:"port"` // The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP. Protocol *string `json:"protocol,omitempty"` // IntOrString is a type that can hold an int32 or a string. When // used in JSON or YAML marshalling and unmarshalling, it produces // or consumes the inner type. This allows you to have, for example, // a JSON field that can accept a name or number. // // The name will be prefixed with the string `custom-` so that the target port that can be // referenced will be only those defined under .spec.pods.customContainers[].ports sections // were names are also prepended with the same prefix. TargetPort *string `json:"targetPort,omitempty"` }
SGClusterSpecPostgresServicesReplicasCustomPortsItem defines model for SGClusterSpecPostgresServicesReplicasCustomPortsItem.
func (*SGClusterSpecPostgresServicesReplicasCustomPortsItem) DeepCopy ¶
func (in *SGClusterSpecPostgresServicesReplicasCustomPortsItem) DeepCopy() *SGClusterSpecPostgresServicesReplicasCustomPortsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresServicesReplicasCustomPortsItem.
func (*SGClusterSpecPostgresServicesReplicasCustomPortsItem) DeepCopyInto ¶
func (in *SGClusterSpecPostgresServicesReplicasCustomPortsItem) DeepCopyInto(out *SGClusterSpecPostgresServicesReplicasCustomPortsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresSsl ¶
type SGClusterSpecPostgresSsl struct { // Secret key selector for the certificate or certificate chain used for SSL connections. CertificateSecretKeySelector *SGClusterSpecPostgresSslCertificateSecretKeySelector `json:"certificateSecretKeySelector,omitempty"` // Allow to enable SSL for connections to Postgres. By default is `false`. // // If `true` fields `certificateSecretKeySelector` and `privateKeySecretKeySelector` will be required. Enabled *bool `json:"enabled,omitempty"` // Secret key selector for the private key used for SSL connections. PrivateKeySecretKeySelector *SGClusterSpecPostgresSslPrivateKeySecretKeySelector `json:"privateKeySecretKeySelector,omitempty"` }
SGClusterSpecPostgresSsl defines model for SGClusterSpecPostgresSsl.
func (*SGClusterSpecPostgresSsl) DeepCopy ¶
func (in *SGClusterSpecPostgresSsl) DeepCopy() *SGClusterSpecPostgresSsl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresSsl.
func (*SGClusterSpecPostgresSsl) DeepCopyInto ¶
func (in *SGClusterSpecPostgresSsl) DeepCopyInto(out *SGClusterSpecPostgresSsl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresSslCertificateSecretKeySelector ¶
type SGClusterSpecPostgresSslCertificateSecretKeySelector struct { // The key of Secret that contains the certificate or certificate chain for SSL connections Key string `json:"key"` // The name of Secret that contains the certificate or certificate chain for SSL connections Name string `json:"name"` }
SGClusterSpecPostgresSslCertificateSecretKeySelector defines model for SGClusterSpecPostgresSslCertificateSecretKeySelector.
func (*SGClusterSpecPostgresSslCertificateSecretKeySelector) DeepCopy ¶
func (in *SGClusterSpecPostgresSslCertificateSecretKeySelector) DeepCopy() *SGClusterSpecPostgresSslCertificateSecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresSslCertificateSecretKeySelector.
func (*SGClusterSpecPostgresSslCertificateSecretKeySelector) DeepCopyInto ¶
func (in *SGClusterSpecPostgresSslCertificateSecretKeySelector) DeepCopyInto(out *SGClusterSpecPostgresSslCertificateSecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecPostgresSslPrivateKeySecretKeySelector ¶
type SGClusterSpecPostgresSslPrivateKeySecretKeySelector struct { // The key of Secret that contains the private key for SSL connections Key string `json:"key"` // The name of Secret that contains the private key for SSL connections Name string `json:"name"` }
SGClusterSpecPostgresSslPrivateKeySecretKeySelector defines model for SGClusterSpecPostgresSslPrivateKeySecretKeySelector.
func (*SGClusterSpecPostgresSslPrivateKeySecretKeySelector) DeepCopy ¶
func (in *SGClusterSpecPostgresSslPrivateKeySecretKeySelector) DeepCopy() *SGClusterSpecPostgresSslPrivateKeySecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecPostgresSslPrivateKeySecretKeySelector.
func (*SGClusterSpecPostgresSslPrivateKeySecretKeySelector) DeepCopyInto ¶
func (in *SGClusterSpecPostgresSslPrivateKeySecretKeySelector) DeepCopyInto(out *SGClusterSpecPostgresSslPrivateKeySecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFrom ¶
type SGClusterSpecReplicateFrom struct { // Configure replication from a PostgreSQL instance. Instance *SGClusterSpecReplicateFromInstance `json:"instance,omitempty"` // Configure replication from an SGObjectStorage using WAL shipping. // // The file structure of the object storage must follow the // [WAL-G](https://github.com/wal-g/wal-g) file structure. Storage *SGClusterSpecReplicateFromStorage `json:"storage,omitempty"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the credentials of the users. Users *SGClusterSpecReplicateFromUsers `json:"users,omitempty"` }
SGClusterSpecReplicateFrom defines model for SGClusterSpecReplicateFrom.
func (*SGClusterSpecReplicateFrom) DeepCopy ¶
func (in *SGClusterSpecReplicateFrom) DeepCopy() *SGClusterSpecReplicateFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFrom.
func (*SGClusterSpecReplicateFrom) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFrom) DeepCopyInto(out *SGClusterSpecReplicateFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromInstance ¶
type SGClusterSpecReplicateFromInstance struct { // Configure replication from an external PostgreSQL instance. External *SGClusterSpecReplicateFromInstanceExternal `json:"external,omitempty"` // Configure replication from an SGCluster. SgCluster *string `json:"sgCluster,omitempty"` }
SGClusterSpecReplicateFromInstance defines model for SGClusterSpecReplicateFromInstance.
func (*SGClusterSpecReplicateFromInstance) DeepCopy ¶
func (in *SGClusterSpecReplicateFromInstance) DeepCopy() *SGClusterSpecReplicateFromInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromInstance.
func (*SGClusterSpecReplicateFromInstance) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromInstance) DeepCopyInto(out *SGClusterSpecReplicateFromInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromInstanceExternal ¶
type SGClusterSpecReplicateFromInstanceExternal struct { // The host of the PostgreSQL to replicate from. Host string `json:"host"` // The port of the PostgreSQL to replicate from. Port int `json:"port"` }
SGClusterSpecReplicateFromInstanceExternal defines model for SGClusterSpecReplicateFromInstanceExternal.
func (*SGClusterSpecReplicateFromInstanceExternal) DeepCopy ¶
func (in *SGClusterSpecReplicateFromInstanceExternal) DeepCopy() *SGClusterSpecReplicateFromInstanceExternal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromInstanceExternal.
func (*SGClusterSpecReplicateFromInstanceExternal) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromInstanceExternal) DeepCopyInto(out *SGClusterSpecReplicateFromInstanceExternal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromStorage ¶
type SGClusterSpecReplicateFromStorage struct { // The path in the SGObjectStorage to replicate from. Path string `json:"path"` // Configuration that affects the backup network and disk usage performance. Performance *SGClusterSpecReplicateFromStoragePerformance `json:"performance,omitempty"` // The SGObjectStorage name to replicate from. SgObjectStorage string `json:"sgObjectStorage"` }
SGClusterSpecReplicateFromStorage defines model for SGClusterSpecReplicateFromStorage.
func (*SGClusterSpecReplicateFromStorage) DeepCopy ¶
func (in *SGClusterSpecReplicateFromStorage) DeepCopy() *SGClusterSpecReplicateFromStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromStorage.
func (*SGClusterSpecReplicateFromStorage) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromStorage) DeepCopyInto(out *SGClusterSpecReplicateFromStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromStoragePerformance ¶
type SGClusterSpecReplicateFromStoragePerformance struct { // Backup storage may use several concurrent streams to read the data. This parameter configures the number of parallel streams to use. By default, it's set to the minimum between the number of file to read and 10. DownloadConcurrency *int `json:"downloadConcurrency,omitempty"` // Maximum disk read I/O when performing a backup. In bytes (per second). MaxDiskBandwidth *int `json:"maxDiskBandwidth,omitempty"` // Maximum storage upload bandwidth used when storing a backup. In bytes (per second). MaxNetworkBandwidth *int `json:"maxNetworkBandwidth,omitempty"` }
SGClusterSpecReplicateFromStoragePerformance defines model for SGClusterSpecReplicateFromStoragePerformance.
func (*SGClusterSpecReplicateFromStoragePerformance) DeepCopy ¶
func (in *SGClusterSpecReplicateFromStoragePerformance) DeepCopy() *SGClusterSpecReplicateFromStoragePerformance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromStoragePerformance.
func (*SGClusterSpecReplicateFromStoragePerformance) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromStoragePerformance) DeepCopyInto(out *SGClusterSpecReplicateFromStoragePerformance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsers ¶
type SGClusterSpecReplicateFromUsers struct { // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the credentials of the authenticator user used by pgbouncer to authenticate other users. Authenticator SGClusterSpecReplicateFromUsersAuthenticator `json:"authenticator"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the credentials of the replication user used to replicate from the primary cluster and from replicas of this cluster. Replication SGClusterSpecReplicateFromUsersReplication `json:"replication"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the credentials of the superuser (usually the postgres user). Superuser SGClusterSpecReplicateFromUsersSuperuser `json:"superuser"` }
SGClusterSpecReplicateFromUsers defines model for SGClusterSpecReplicateFromUsers.
func (*SGClusterSpecReplicateFromUsers) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsers) DeepCopy() *SGClusterSpecReplicateFromUsers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsers.
func (*SGClusterSpecReplicateFromUsers) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsers) DeepCopyInto(out *SGClusterSpecReplicateFromUsers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersAuthenticator ¶
type SGClusterSpecReplicateFromUsersAuthenticator struct { // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the password of the user. Password SGClusterSpecReplicateFromUsersAuthenticatorPassword `json:"password"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the username of the user. Username SGClusterSpecReplicateFromUsersAuthenticatorUsername `json:"username"` }
SGClusterSpecReplicateFromUsersAuthenticator defines model for SGClusterSpecReplicateFromUsersAuthenticator.
func (*SGClusterSpecReplicateFromUsersAuthenticator) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersAuthenticator) DeepCopy() *SGClusterSpecReplicateFromUsersAuthenticator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersAuthenticator.
func (*SGClusterSpecReplicateFromUsersAuthenticator) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersAuthenticator) DeepCopyInto(out *SGClusterSpecReplicateFromUsersAuthenticator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersAuthenticatorPassword ¶
type SGClusterSpecReplicateFromUsersAuthenticatorPassword struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name string `json:"name"` }
SGClusterSpecReplicateFromUsersAuthenticatorPassword defines model for SGClusterSpecReplicateFromUsersAuthenticatorPassword.
func (*SGClusterSpecReplicateFromUsersAuthenticatorPassword) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersAuthenticatorPassword) DeepCopy() *SGClusterSpecReplicateFromUsersAuthenticatorPassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersAuthenticatorPassword.
func (*SGClusterSpecReplicateFromUsersAuthenticatorPassword) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersAuthenticatorPassword) DeepCopyInto(out *SGClusterSpecReplicateFromUsersAuthenticatorPassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersAuthenticatorUsername ¶
type SGClusterSpecReplicateFromUsersAuthenticatorUsername struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name string `json:"name"` }
SGClusterSpecReplicateFromUsersAuthenticatorUsername defines model for SGClusterSpecReplicateFromUsersAuthenticatorUsername.
func (*SGClusterSpecReplicateFromUsersAuthenticatorUsername) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersAuthenticatorUsername) DeepCopy() *SGClusterSpecReplicateFromUsersAuthenticatorUsername
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersAuthenticatorUsername.
func (*SGClusterSpecReplicateFromUsersAuthenticatorUsername) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersAuthenticatorUsername) DeepCopyInto(out *SGClusterSpecReplicateFromUsersAuthenticatorUsername)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersReplication ¶
type SGClusterSpecReplicateFromUsersReplication struct { // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the password of the user. Password SGClusterSpecReplicateFromUsersReplicationPassword `json:"password"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the username of the user. Username SGClusterSpecReplicateFromUsersReplicationUsername `json:"username"` }
SGClusterSpecReplicateFromUsersReplication defines model for SGClusterSpecReplicateFromUsersReplication.
func (*SGClusterSpecReplicateFromUsersReplication) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersReplication) DeepCopy() *SGClusterSpecReplicateFromUsersReplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersReplication.
func (*SGClusterSpecReplicateFromUsersReplication) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersReplication) DeepCopyInto(out *SGClusterSpecReplicateFromUsersReplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersReplicationPassword ¶
type SGClusterSpecReplicateFromUsersReplicationPassword struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name string `json:"name"` }
SGClusterSpecReplicateFromUsersReplicationPassword defines model for SGClusterSpecReplicateFromUsersReplicationPassword.
func (*SGClusterSpecReplicateFromUsersReplicationPassword) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersReplicationPassword) DeepCopy() *SGClusterSpecReplicateFromUsersReplicationPassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersReplicationPassword.
func (*SGClusterSpecReplicateFromUsersReplicationPassword) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersReplicationPassword) DeepCopyInto(out *SGClusterSpecReplicateFromUsersReplicationPassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersReplicationUsername ¶
type SGClusterSpecReplicateFromUsersReplicationUsername struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name string `json:"name"` }
SGClusterSpecReplicateFromUsersReplicationUsername defines model for SGClusterSpecReplicateFromUsersReplicationUsername.
func (*SGClusterSpecReplicateFromUsersReplicationUsername) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersReplicationUsername) DeepCopy() *SGClusterSpecReplicateFromUsersReplicationUsername
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersReplicationUsername.
func (*SGClusterSpecReplicateFromUsersReplicationUsername) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersReplicationUsername) DeepCopyInto(out *SGClusterSpecReplicateFromUsersReplicationUsername)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersSuperuser ¶
type SGClusterSpecReplicateFromUsersSuperuser struct { // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the password of the user. Password SGClusterSpecReplicateFromUsersSuperuserPassword `json:"password"` // A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#secretkeyselector-v1-core) that contains the username of the user. Username SGClusterSpecReplicateFromUsersSuperuserUsername `json:"username"` }
SGClusterSpecReplicateFromUsersSuperuser defines model for SGClusterSpecReplicateFromUsersSuperuser.
func (*SGClusterSpecReplicateFromUsersSuperuser) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersSuperuser) DeepCopy() *SGClusterSpecReplicateFromUsersSuperuser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersSuperuser.
func (*SGClusterSpecReplicateFromUsersSuperuser) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersSuperuser) DeepCopyInto(out *SGClusterSpecReplicateFromUsersSuperuser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersSuperuserPassword ¶
type SGClusterSpecReplicateFromUsersSuperuserPassword struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name string `json:"name"` }
SGClusterSpecReplicateFromUsersSuperuserPassword defines model for SGClusterSpecReplicateFromUsersSuperuserPassword.
func (*SGClusterSpecReplicateFromUsersSuperuserPassword) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersSuperuserPassword) DeepCopy() *SGClusterSpecReplicateFromUsersSuperuserPassword
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersSuperuserPassword.
func (*SGClusterSpecReplicateFromUsersSuperuserPassword) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersSuperuserPassword) DeepCopyInto(out *SGClusterSpecReplicateFromUsersSuperuserPassword)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicateFromUsersSuperuserUsername ¶
type SGClusterSpecReplicateFromUsersSuperuserUsername struct { // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` // Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names). Name string `json:"name"` }
SGClusterSpecReplicateFromUsersSuperuserUsername defines model for SGClusterSpecReplicateFromUsersSuperuserUsername.
func (*SGClusterSpecReplicateFromUsersSuperuserUsername) DeepCopy ¶
func (in *SGClusterSpecReplicateFromUsersSuperuserUsername) DeepCopy() *SGClusterSpecReplicateFromUsersSuperuserUsername
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicateFromUsersSuperuserUsername.
func (*SGClusterSpecReplicateFromUsersSuperuserUsername) DeepCopyInto ¶
func (in *SGClusterSpecReplicateFromUsersSuperuserUsername) DeepCopyInto(out *SGClusterSpecReplicateFromUsersSuperuserUsername)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplication ¶
type SGClusterSpecReplication struct { // StackGres support replication groups where a replication group of a specified number of instances could have different // replication role. The main replication group is implicit and contains the total number of instances less the sum of all // instances in other replication groups. Groups *[]SGClusterSpecReplicationGroupsItem `json:"groups,omitempty"` // The replication mode applied to the whole cluster. // Possible values are: // * `async` (default) // * `sync` // * `strict-sync` // // ### `async` Mode // // When in asynchronous mode the cluster is allowed to lose some committed transactions. // When the primary server fails or becomes unavailable for any other reason a sufficiently healthy standby // will automatically be promoted to primary. Any transactions that have not been replicated to that standby // remain in a "forked timeline" on the primary, and are effectively unrecoverable (the data is still there, // but recovering it requires a manual recovery effort by data recovery specialists). // // ### `sync` Mode // // When in synchronous mode a standby will not be promoted unless it is certain that the standby contains all // transactions that may have returned a successful commit status to client (clients can change the behavior // per transaction using PostgreSQL’s `synchronous_commit` setting. Transactions with `synchronous_commit` // values of `off` and `local` may be lost on fail over, but will not be blocked by replication delays). This // means that the system may be unavailable for writes even though some servers are available. System // administrators can still use manual failover commands to promote a standby even if it results in transaction // loss. // // Synchronous mode does not guarantee multi node durability of commits under all circumstances. When no suitable // standby is available, primary server will still accept writes, but does not guarantee their replication. When // the primary fails in this mode no standby will be promoted. When the host that used to be the primary comes // back it will get promoted automatically, unless system administrator performed a manual failover. This behavior // makes synchronous mode usable with 2 node clusters. // // When synchronous mode is used and a standby crashes, commits will block until the primary is switched to standalone // mode. Manually shutting down or restarting a standby will not cause a commit service interruption. Standby will // signal the primary to release itself from synchronous standby duties before PostgreSQL shutdown is initiated. // // ### `strict-sync` Mode // // When it is absolutely necessary to guarantee that each write is stored durably on at least two nodes, use the strict // synchronous mode. This mode prevents synchronous replication to be switched off on the primary when no synchronous // standby candidates are available. As a downside, the primary will not be available for writes (unless the Postgres // transaction explicitly turns off `synchronous_mode` parameter), blocking all client write requests until at least one // synchronous replica comes up. // // **Note**: Because of the way synchronous replication is implemented in PostgreSQL it is still possible to lose // transactions even when using strict synchronous mode. If the PostgreSQL backend is cancelled while waiting to acknowledge // replication (as a result of packet cancellation due to client timeout or backend failure) transaction changes become // visible for other backends. Such changes are not yet replicated and may be lost in case of standby promotion. Mode *string `json:"mode,omitempty"` // This role is applied to the instances of the implicit replication group that is composed by `.spec.instances` number of instances. // Possible values are: // * `ha-read` (default) // * `ha` // The primary instance will be elected among all the replication groups that are either `ha` or `ha-read`. // Only if the role is set to `ha-read` instances of main replication group will be exposed via the replicas service. Role *string `json:"role,omitempty"` // Number of synchronous standby instances. Must be less than the total number of instances. It is set to 1 by default. // Only setteable if mode is `sync` or `strict-sync`. SyncInstances *int `json:"syncInstances,omitempty"` }
SGClusterSpecReplication defines model for SGClusterSpecReplication.
func (*SGClusterSpecReplication) DeepCopy ¶
func (in *SGClusterSpecReplication) DeepCopy() *SGClusterSpecReplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplication.
func (*SGClusterSpecReplication) DeepCopyInto ¶
func (in *SGClusterSpecReplication) DeepCopyInto(out *SGClusterSpecReplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecReplicationGroupsItem ¶
type SGClusterSpecReplicationGroupsItem struct { // Number of StackGres instances for this replication group. // // The total number of instance of a cluster is always `.spec.instances`. The sum of the instances in the replication group must be // less than the total number of instances. Instances int `json:"instances"` // The name of the replication group. If not set will default to the `group-<index>`. Name *string `json:"name,omitempty"` // This role is applied to the instances of this replication group. // Possible values are: // * `ha-read` // * `ha` // * `readonly` // * `none` // The primary instance will be elected among all the replication groups that are either `ha` or `ha-read`. // Only if the role is set to `readonly` or `ha-read` instances of such replication group will be exposed via the replicas service. Role string `json:"role"` }
SGClusterSpecReplicationGroupsItem defines model for SGClusterSpecReplicationGroupsItem.
func (*SGClusterSpecReplicationGroupsItem) DeepCopy ¶
func (in *SGClusterSpecReplicationGroupsItem) DeepCopy() *SGClusterSpecReplicationGroupsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecReplicationGroupsItem.
func (*SGClusterSpecReplicationGroupsItem) DeepCopyInto ¶
func (in *SGClusterSpecReplicationGroupsItem) DeepCopyInto(out *SGClusterSpecReplicationGroupsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterSpecToInstallPostgresExtensionsItem ¶
type SGClusterSpecToInstallPostgresExtensionsItem struct { // The build version of the extension to install. Build *string `json:"build,omitempty"` // The extra mounts of the extension to install. ExtraMounts *[]string `json:"extraMounts,omitempty"` // The name of the extension to install. Name string `json:"name"` // The postgres major version of the extension to install. PostgresVersion string `json:"postgresVersion"` // The id of the publisher of the extension to install. Publisher string `json:"publisher"` // The repository base URL from where the extension will be installed from. Repository string `json:"repository"` // The version of the extension to install. Version string `json:"version"` }
SGClusterSpecToInstallPostgresExtensionsItem defines model for SGClusterSpecToInstallPostgresExtensionsItem.
func (*SGClusterSpecToInstallPostgresExtensionsItem) DeepCopy ¶
func (in *SGClusterSpecToInstallPostgresExtensionsItem) DeepCopy() *SGClusterSpecToInstallPostgresExtensionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterSpecToInstallPostgresExtensionsItem.
func (*SGClusterSpecToInstallPostgresExtensionsItem) DeepCopyInto ¶
func (in *SGClusterSpecToInstallPostgresExtensionsItem) DeepCopyInto(out *SGClusterSpecToInstallPostgresExtensionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatus ¶
type SGClusterStatus struct { // The architecture on which the cluster has been initialized. Arch *string `json:"arch,omitempty"` Conditions *[]SGClusterStatusConditionsItem `json:"conditions,omitempty"` // Used by some [SGDbOps](https://stackgres.io/doc/latest/reference/crd/sgdbops) to indicate the operation configuration and status to the operator. DbOps *SGClusterStatusDbOps `json:"dbOps,omitempty"` // The custom prefix that is prepended to all labels. LabelPrefix *string `json:"labelPrefix,omitempty"` // This section stores the state of referenced SQL scripts that are applied to the cluster live. ManagedSql *SGClusterStatusManagedSql `json:"managedSql,omitempty"` // The operative system on which the cluster has been initialized. Os *string `json:"os,omitempty"` // The list of pod statuses. PodStatuses *[]SGClusterStatusPodStatusesItem `json:"podStatuses,omitempty"` }
SGClusterStatus defines model for SGClusterStatus.
func (*SGClusterStatus) DeepCopy ¶
func (in *SGClusterStatus) DeepCopy() *SGClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatus.
func (*SGClusterStatus) DeepCopyInto ¶
func (in *SGClusterStatus) DeepCopyInto(out *SGClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusConditionsItem ¶
type SGClusterStatusConditionsItem struct { // Last time the condition transitioned from one status to another. LastTransitionTime *string `json:"lastTransitionTime,omitempty"` // A human readable message indicating details about the transition. Message *string `json:"message,omitempty"` // The reason for the condition's last transition. Reason *string `json:"reason,omitempty"` // Status of the condition, one of True, False, Unknown. Status *string `json:"status,omitempty"` // Type of deployment condition. Type *string `json:"type,omitempty"` }
SGClusterStatusConditionsItem defines model for SGClusterStatusConditionsItem.
func (*SGClusterStatusConditionsItem) DeepCopy ¶
func (in *SGClusterStatusConditionsItem) DeepCopy() *SGClusterStatusConditionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusConditionsItem.
func (*SGClusterStatusConditionsItem) DeepCopyInto ¶
func (in *SGClusterStatusConditionsItem) DeepCopyInto(out *SGClusterStatusConditionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusDbOps ¶
type SGClusterStatusDbOps struct { // The major version upgrade configuration and status MajorVersionUpgrade *SGClusterStatusDbOpsMajorVersionUpgrade `json:"majorVersionUpgrade,omitempty"` // The minor version upgrade configuration and status MinorVersionUpgrade *SGClusterStatusDbOpsMinorVersionUpgrade `json:"minorVersionUpgrade,omitempty"` // The minor version upgrade configuration and status Restart *SGClusterStatusDbOpsRestart `json:"restart,omitempty"` // The minor version upgrade configuration and status SecurityUpgrade *SGClusterStatusDbOpsSecurityUpgrade `json:"securityUpgrade,omitempty"` }
SGClusterStatusDbOps defines model for SGClusterStatusDbOps.
func (*SGClusterStatusDbOps) DeepCopy ¶
func (in *SGClusterStatusDbOps) DeepCopy() *SGClusterStatusDbOps
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusDbOps.
func (*SGClusterStatusDbOps) DeepCopyInto ¶
func (in *SGClusterStatusDbOps) DeepCopyInto(out *SGClusterStatusDbOps)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusDbOpsMajorVersionUpgrade ¶
type SGClusterStatusDbOpsMajorVersionUpgrade struct { // Run `pg_upgrade` with check option instead of performing the real upgrade Check *bool `json:"check,omitempty"` // Use `--clone` option when running `pg_upgrade` Clone *bool `json:"clone,omitempty"` // Indicates if PostgreSQL data checksum is enabled DataChecksum *bool `json:"dataChecksum,omitempty"` // The PostgreSQL encoding Encoding *string `json:"encoding,omitempty"` // The instances that this operation is targetting InitialInstances *[]string `json:"initialInstances,omitempty"` // Use `--link` option when running `pg_upgrade` Link *bool `json:"link,omitempty"` // The PostgreSQL locale Locale *string `json:"locale,omitempty"` // The primary instance that this operation is targetting PrimaryInstance *string `json:"primaryInstance,omitempty"` // Indicates to rollback from a previous major version upgrade Rollback *bool `json:"rollback,omitempty"` // The source backup path SourceBackupPath *string `json:"sourceBackupPath,omitempty"` // The source PostgreSQL version SourcePostgresVersion *string `json:"sourcePostgresVersion,omitempty"` // The source SGPostgresConfig reference SourceSgPostgresConfig *string `json:"sourceSgPostgresConfig,omitempty"` // The target PostgreSQL version TargetPostgresVersion *string `json:"targetPostgresVersion,omitempty"` }
SGClusterStatusDbOpsMajorVersionUpgrade defines model for SGClusterStatusDbOpsMajorVersionUpgrade.
func (*SGClusterStatusDbOpsMajorVersionUpgrade) DeepCopy ¶
func (in *SGClusterStatusDbOpsMajorVersionUpgrade) DeepCopy() *SGClusterStatusDbOpsMajorVersionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusDbOpsMajorVersionUpgrade.
func (*SGClusterStatusDbOpsMajorVersionUpgrade) DeepCopyInto ¶
func (in *SGClusterStatusDbOpsMajorVersionUpgrade) DeepCopyInto(out *SGClusterStatusDbOpsMajorVersionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusDbOpsMinorVersionUpgrade ¶
type SGClusterStatusDbOpsMinorVersionUpgrade struct { // The instances that this operation is targetting InitialInstances *[]string `json:"initialInstances,omitempty"` // The primary instance that this operation is targetting PrimaryInstance *string `json:"primaryInstance,omitempty"` // Postgres version that is currently running on the cluster SourcePostgresVersion *string `json:"sourcePostgresVersion,omitempty"` // The desired Postgres version for the cluster TargetPostgresVersion *string `json:"targetPostgresVersion,omitempty"` }
SGClusterStatusDbOpsMinorVersionUpgrade defines model for SGClusterStatusDbOpsMinorVersionUpgrade.
func (*SGClusterStatusDbOpsMinorVersionUpgrade) DeepCopy ¶
func (in *SGClusterStatusDbOpsMinorVersionUpgrade) DeepCopy() *SGClusterStatusDbOpsMinorVersionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusDbOpsMinorVersionUpgrade.
func (*SGClusterStatusDbOpsMinorVersionUpgrade) DeepCopyInto ¶
func (in *SGClusterStatusDbOpsMinorVersionUpgrade) DeepCopyInto(out *SGClusterStatusDbOpsMinorVersionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusDbOpsRestart ¶
type SGClusterStatusDbOpsRestart struct { // The instances that this operation is targetting InitialInstances *[]string `json:"initialInstances,omitempty"` // The primary instance that this operation is targetting PrimaryInstance *string `json:"primaryInstance,omitempty"` }
SGClusterStatusDbOpsRestart defines model for SGClusterStatusDbOpsRestart.
func (*SGClusterStatusDbOpsRestart) DeepCopy ¶
func (in *SGClusterStatusDbOpsRestart) DeepCopy() *SGClusterStatusDbOpsRestart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusDbOpsRestart.
func (*SGClusterStatusDbOpsRestart) DeepCopyInto ¶
func (in *SGClusterStatusDbOpsRestart) DeepCopyInto(out *SGClusterStatusDbOpsRestart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusDbOpsSecurityUpgrade ¶
type SGClusterStatusDbOpsSecurityUpgrade struct { // The instances that this operation is targetting InitialInstances *[]string `json:"initialInstances,omitempty"` // The primary instance that this operation is targetting PrimaryInstance *string `json:"primaryInstance,omitempty"` }
SGClusterStatusDbOpsSecurityUpgrade defines model for SGClusterStatusDbOpsSecurityUpgrade.
func (*SGClusterStatusDbOpsSecurityUpgrade) DeepCopy ¶
func (in *SGClusterStatusDbOpsSecurityUpgrade) DeepCopy() *SGClusterStatusDbOpsSecurityUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusDbOpsSecurityUpgrade.
func (*SGClusterStatusDbOpsSecurityUpgrade) DeepCopyInto ¶
func (in *SGClusterStatusDbOpsSecurityUpgrade) DeepCopyInto(out *SGClusterStatusDbOpsSecurityUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusManagedSql ¶
type SGClusterStatusManagedSql struct { // A list of statuses for script references. Scripts *[]SGClusterStatusManagedSqlScriptsItem `json:"scripts,omitempty"` }
SGClusterStatusManagedSql defines model for SGClusterStatusManagedSql.
func (*SGClusterStatusManagedSql) DeepCopy ¶
func (in *SGClusterStatusManagedSql) DeepCopy() *SGClusterStatusManagedSql
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusManagedSql.
func (*SGClusterStatusManagedSql) DeepCopyInto ¶
func (in *SGClusterStatusManagedSql) DeepCopyInto(out *SGClusterStatusManagedSql)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusManagedSqlScriptsItem ¶
type SGClusterStatusManagedSqlScriptsItem struct { // ISO-8601 datetime of when the script execution had completed (mutually exclusive with `failedAt`). CompletedAt *string `json:"completedAt,omitempty"` // ISO-8601 datetime of when the script execution had failed (mutually exclusive with `completedAt`). FailedAt *string `json:"failedAt,omitempty"` // Identify the associated `SGScript` entry with the same value in the `id` field. Id *int `json:"id,omitempty"` // A list of statuses for script entries of referenced script. Scripts *[]SGClusterStatusManagedSqlScriptsItemScriptsItem `json:"scripts,omitempty"` // ISO-8601 datetime of when the script execution has been started. StartedAt *string `json:"startedAt,omitempty"` // ISO-8601 datetime of when the last script execution occurred. Will be reset each time the referenced `SGScripts` entry will be applied. UpdatedAt *string `json:"updatedAt,omitempty"` }
SGClusterStatusManagedSqlScriptsItem defines model for SGClusterStatusManagedSqlScriptsItem.
func (*SGClusterStatusManagedSqlScriptsItem) DeepCopy ¶
func (in *SGClusterStatusManagedSqlScriptsItem) DeepCopy() *SGClusterStatusManagedSqlScriptsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusManagedSqlScriptsItem.
func (*SGClusterStatusManagedSqlScriptsItem) DeepCopyInto ¶
func (in *SGClusterStatusManagedSqlScriptsItem) DeepCopyInto(out *SGClusterStatusManagedSqlScriptsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusManagedSqlScriptsItemScriptsItem ¶
type SGClusterStatusManagedSqlScriptsItemScriptsItem struct { // If failed, a message of the failure Failure *string `json:"failure,omitempty"` // If failed, the error code of the failure. See also https://www.postgresql.org/docs/current/errcodes-appendix.html FailureCode *string `json:"failureCode,omitempty"` // Identify the associated script entry with the same value in the `id` field. Id *int `json:"id,omitempty"` // Indicates the number of intents or failures occurred Intents *int `json:"intents,omitempty"` // The latest version applied Version *int `json:"version,omitempty"` }
SGClusterStatusManagedSqlScriptsItemScriptsItem defines model for SGClusterStatusManagedSqlScriptsItemScriptsItem.
func (*SGClusterStatusManagedSqlScriptsItemScriptsItem) DeepCopy ¶
func (in *SGClusterStatusManagedSqlScriptsItemScriptsItem) DeepCopy() *SGClusterStatusManagedSqlScriptsItemScriptsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusManagedSqlScriptsItemScriptsItem.
func (*SGClusterStatusManagedSqlScriptsItemScriptsItem) DeepCopyInto ¶
func (in *SGClusterStatusManagedSqlScriptsItemScriptsItem) DeepCopyInto(out *SGClusterStatusManagedSqlScriptsItemScriptsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusPodStatusesItem ¶
type SGClusterStatusPodStatusesItem struct { // The list of Postgres extensions currently installed. InstalledPostgresExtensions *[]SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem `json:"installedPostgresExtensions,omitempty"` // The name of the pod. Name string `json:"name"` // Indicates if the pod requires restart PendingRestart *bool `json:"pendingRestart,omitempty"` // Indicates if the pod is the elected primary Primary *bool `json:"primary,omitempty"` // Indicates the replication group this Pod belongs to. ReplicationGroup *int `json:"replicationGroup,omitempty"` }
SGClusterStatusPodStatusesItem defines model for SGClusterStatusPodStatusesItem.
func (*SGClusterStatusPodStatusesItem) DeepCopy ¶
func (in *SGClusterStatusPodStatusesItem) DeepCopy() *SGClusterStatusPodStatusesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusPodStatusesItem.
func (*SGClusterStatusPodStatusesItem) DeepCopyInto ¶
func (in *SGClusterStatusPodStatusesItem) DeepCopyInto(out *SGClusterStatusPodStatusesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem ¶
type SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem struct { // The build version of the installed extension. Build *string `json:"build,omitempty"` // The extra mounts of the installed extension. ExtraMounts *[]string `json:"extraMounts,omitempty"` // The name of the installed extension. Name string `json:"name"` // The postgres major version of the installed extension. PostgresVersion string `json:"postgresVersion"` // The id of the publisher of the installed extension. Publisher string `json:"publisher"` // The repository base URL from where the extension was installed from. Repository string `json:"repository"` // The version of the installed extension. Version string `json:"version"` }
SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem defines model for SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem.
func (*SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem) DeepCopy ¶
func (in *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem) DeepCopy() *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem.
func (*SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem) DeepCopyInto ¶
func (in *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem) DeepCopyInto(out *SGClusterStatusPodStatusesItemInstalledPostgresExtensionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOps ¶
type SGDbOps struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of a VSHNPostgreSQL. Spec SGDbOpsSpec `json:"spec"` // Status reflects the observed state of a VSHNPostgreSQL. Status SGDbOpsStatus `json:"status,omitempty"` }
VSHNPostgreSQL is the API for creating Postgresql clusters.
func (*SGDbOps) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOps.
func (*SGDbOps) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGDbOps) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGDbOpsList ¶
type SGDbOpsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SGDbOps `json:"items"` }
func (*SGDbOpsList) DeepCopy ¶
func (in *SGDbOpsList) DeepCopy() *SGDbOpsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsList.
func (*SGDbOpsList) DeepCopyInto ¶
func (in *SGDbOpsList) DeepCopyInto(out *SGDbOpsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGDbOpsList) DeepCopyObject ¶
func (in *SGDbOpsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGDbOpsSpec ¶
type SGDbOpsSpec struct { // Configuration of the benchmark Benchmark *SGDbOpsSpecBenchmark `json:"benchmark,omitempty"` // Configuration of major version upgrade (see also [`pg_upgrade`](https://www.postgresql.org/docs/current/pgupgrade.html) command) MajorVersionUpgrade *SGDbOpsSpecMajorVersionUpgrade `json:"majorVersionUpgrade,omitempty"` // The maximum number of retries the operation is allowed to do after a failure. // // A value of `0` (zero) means no retries are made. Can not be greater than `10`. Defaults to: `0`. MaxRetries *int `json:"maxRetries,omitempty"` // Configuration of minor version upgrade MinorVersionUpgrade *SGDbOpsSpecMinorVersionUpgrade `json:"minorVersionUpgrade,omitempty"` // The kind of operation that will be performed on the SGCluster. Available operations are: // // * `benchmark`: run a benchmark on the specified SGCluster and report the results in the status. // * `vacuum`: perform a [vacuum](https://www.postgresql.org/docs/current/sql-vacuum.html) operation on the specified SGCluster. // * `repack`: run [`pg_repack`](https://github.com/reorg/pg_repack) command on the specified SGCluster. // * `majorVersionUpgrade`: perform a major version upgrade of PostgreSQL using [`pg_upgrade`](https://www.postgresql.org/docs/current/pgupgrade.html) command. // * `restart`: perform a restart of the cluster. // * `minorVersionUpgrade`: perform a minor version upgrade of PostgreSQL. // * `securityUpgrade`: perform a security upgrade of the cluster. // * `upgrade`: perform a operator API upgrade of the cluster Op string `json:"op"` // Configuration of [`pg_repack`](https://github.com/reorg/pg_repack) command Repack *SGDbOpsSpecRepack `json:"repack,omitempty"` // Configuration of restart Restart *SGDbOpsSpecRestart `json:"restart,omitempty"` // An ISO 8601 date, that holds UTC scheduled date of the operation execution. // // If not specified or if the date it's in the past, it will be interpreted ASAP. RunAt *string `json:"runAt,omitempty"` // Pod custom node scheduling and affinity configuration Scheduling *SGDbOpsSpecScheduling `json:"scheduling,omitempty"` // Configuration of security upgrade SecurityUpgrade *SGDbOpsSpecSecurityUpgrade `json:"securityUpgrade,omitempty"` // The name of SGCluster on which the operation will be performed. SgCluster string `json:"sgCluster"` // An ISO 8601 duration in the format `PnDTnHnMn.nS`, that specifies a timeout after which the operation execution will be canceled. // // If the operation can not be performed due to timeout expiration, the condition `Failed` will have a status of `True` and the reason will be `OperationTimedOut`. // // If not specified the operation will never fail for timeout expiration. Timeout *string `json:"timeout,omitempty"` // Configuration of [vacuum](https://www.postgresql.org/docs/current/sql-vacuum.html) operation Vacuum *SGDbOpsSpecVacuum `json:"vacuum,omitempty"` }
SGDbOpsSpec defines model for SGDbOpsSpec.
func (*SGDbOpsSpec) DeepCopy ¶
func (in *SGDbOpsSpec) DeepCopy() *SGDbOpsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpec.
func (*SGDbOpsSpec) DeepCopyInto ¶
func (in *SGDbOpsSpec) DeepCopyInto(out *SGDbOpsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecBenchmark ¶
type SGDbOpsSpecBenchmark struct { // Specify the service where the benchmark will connect to: // // * `primary-service`: Connect to the primary service // * `replicas-service`: Connect to the replicas service ConnectionType *string `json:"connectionType,omitempty"` // Configuration of [pgbench](https://www.postgresql.org/docs/current/pgbench.html) benchmark Pgbench *SGDbOpsSpecBenchmarkPgbench `json:"pgbench,omitempty"` // The type of benchmark that will be performed on the SGCluster. Available benchmarks are: // // * `pgbench`: run [pgbench](https://www.postgresql.org/docs/current/pgbench.html) on the specified SGCluster and report the results in the status. Type string `json:"type"` }
SGDbOpsSpecBenchmark defines model for SGDbOpsSpecBenchmark.
func (*SGDbOpsSpecBenchmark) DeepCopy ¶
func (in *SGDbOpsSpecBenchmark) DeepCopy() *SGDbOpsSpecBenchmark
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecBenchmark.
func (*SGDbOpsSpecBenchmark) DeepCopyInto ¶
func (in *SGDbOpsSpecBenchmark) DeepCopyInto(out *SGDbOpsSpecBenchmark)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecBenchmarkPgbench ¶
type SGDbOpsSpecBenchmarkPgbench struct { // Number of clients simulated, that is, number of concurrent database sessions. Defaults to: `1`. ConcurrentClients *int `json:"concurrentClients,omitempty"` // Size of the database to generate. This size is specified either in Mebibytes, Gibibytes or Tebibytes (multiples of 2^20, 2^30 or 2^40, respectively). DatabaseSize string `json:"databaseSize"` // An ISO 8601 duration in the format `PnDTnHnMn.nS`, that specifies how long the benchmark will run. Duration string `json:"duration"` // Number of worker threads within pgbench. Using more than one thread can be helpful on multi-CPU machines. Clients are distributed as evenly as possible among available threads. Default is `1`. Threads *int `json:"threads,omitempty"` // Use extended query protocol with prepared statements. Defaults to: `false`. UsePreparedStatements *bool `json:"usePreparedStatements,omitempty"` }
SGDbOpsSpecBenchmarkPgbench defines model for SGDbOpsSpecBenchmarkPgbench.
func (*SGDbOpsSpecBenchmarkPgbench) DeepCopy ¶
func (in *SGDbOpsSpecBenchmarkPgbench) DeepCopy() *SGDbOpsSpecBenchmarkPgbench
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecBenchmarkPgbench.
func (*SGDbOpsSpecBenchmarkPgbench) DeepCopyInto ¶
func (in *SGDbOpsSpecBenchmarkPgbench) DeepCopyInto(out *SGDbOpsSpecBenchmarkPgbench)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecMajorVersionUpgrade ¶
type SGDbOpsSpecMajorVersionUpgrade struct { // The path were the backup is stored. If not set this field is filled up by the operator. // // When provided will indicate were the backups and WAL files will be stored. // // The path should be different from the current `.spec.configurations.backupPath` value for the target `SGCluster` // in order to avoid mixing WAL files of two distinct major versions of postgres. BackupPath *string `json:"backupPath,omitempty"` // If true does some checks to see if the cluster can perform a major version upgrade without changing any data. Defaults to: `false`. Check *bool `json:"check,omitempty"` // If true use efficient file cloning (also known as "reflinks" on some systems) instead of copying files to the new cluster. // This can result in near-instantaneous copying of the data files, giving the speed advantages of `link` while leaving the old // cluster untouched. This option is mutually exclusive with `link`. Defaults to: `false`. // // File cloning is only supported on some operating systems and file systems. If it is selected but not supported, the pg_upgrade // run will error. At present, it is supported on Linux (kernel 4.5 or later) with Btrfs and XFS (on file systems created with // reflink support), and on macOS with APFS. Clone *bool `json:"clone,omitempty"` // If true use hard links instead of copying files to the new cluster. This option is mutually exclusive with `clone`. Defaults to: `false`. Link *bool `json:"link,omitempty"` // The target postgres version that must have the same major version of the target SGCluster. PostgresVersion *string `json:"postgresVersion,omitempty"` // The postgres config that must have the same major version of the target postgres version. SgPostgresConfig *string `json:"sgPostgresConfig,omitempty"` }
SGDbOpsSpecMajorVersionUpgrade defines model for SGDbOpsSpecMajorVersionUpgrade.
func (*SGDbOpsSpecMajorVersionUpgrade) DeepCopy ¶
func (in *SGDbOpsSpecMajorVersionUpgrade) DeepCopy() *SGDbOpsSpecMajorVersionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecMajorVersionUpgrade.
func (*SGDbOpsSpecMajorVersionUpgrade) DeepCopyInto ¶
func (in *SGDbOpsSpecMajorVersionUpgrade) DeepCopyInto(out *SGDbOpsSpecMajorVersionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecMinorVersionUpgrade ¶
type SGDbOpsSpecMinorVersionUpgrade struct { // The method used to perform the minor version upgrade operation. Available methods are: // // * `InPlace`: the in-place method does not require more resources than those that are available. // In case only an instance of the StackGres cluster is present this mean the service disruption will // last longer so we encourage use the reduced impact restart and especially for a production environment. // * `ReducedImpact`: this procedure is the same as the in-place method but require additional // resources in order to spawn a new updated replica that will be removed when the procedure completes. Method *string `json:"method,omitempty"` // The target postgres version that must have the same major version of the target SGCluster. PostgresVersion *string `json:"postgresVersion,omitempty"` }
SGDbOpsSpecMinorVersionUpgrade defines model for SGDbOpsSpecMinorVersionUpgrade.
func (*SGDbOpsSpecMinorVersionUpgrade) DeepCopy ¶
func (in *SGDbOpsSpecMinorVersionUpgrade) DeepCopy() *SGDbOpsSpecMinorVersionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecMinorVersionUpgrade.
func (*SGDbOpsSpecMinorVersionUpgrade) DeepCopyInto ¶
func (in *SGDbOpsSpecMinorVersionUpgrade) DeepCopyInto(out *SGDbOpsSpecMinorVersionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecRepack ¶
type SGDbOpsSpecRepack struct { // List of database to vacuum or repack, don't specify to select all databases Databases *[]SGDbOpsSpecRepackDatabasesItem `json:"databases,omitempty"` // If true don't repack tables which belong to specific extension. Defaults to: `false`. ExcludeExtension *bool `json:"excludeExtension,omitempty"` // If true don't analyze at end. Defaults to: `false`. NoAnalyze *bool `json:"noAnalyze,omitempty"` // If true don't kill other backends when timed out. Defaults to: `false`. NoKillBackend *bool `json:"noKillBackend,omitempty"` // If true do vacuum full instead of cluster. Defaults to: `false`. NoOrder *bool `json:"noOrder,omitempty"` // If specified, an ISO 8601 duration format `PnDTnHnMn.nS` to set a timeout to cancel other backends on conflict. WaitTimeout *string `json:"waitTimeout,omitempty"` }
SGDbOpsSpecRepack defines model for SGDbOpsSpecRepack.
func (*SGDbOpsSpecRepack) DeepCopy ¶
func (in *SGDbOpsSpecRepack) DeepCopy() *SGDbOpsSpecRepack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecRepack.
func (*SGDbOpsSpecRepack) DeepCopyInto ¶
func (in *SGDbOpsSpecRepack) DeepCopyInto(out *SGDbOpsSpecRepack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecRepackDatabasesItem ¶
type SGDbOpsSpecRepackDatabasesItem struct { // If true don't repack tables which belong to specific extension. Defaults to: `false`. ExcludeExtension *bool `json:"excludeExtension,omitempty"` // the name of the database Name string `json:"name"` // If true don't analyze at end. Defaults to: `false`. NoAnalyze *bool `json:"noAnalyze,omitempty"` // If true don't kill other backends when timed out. Defaults to: `false`. NoKillBackend *bool `json:"noKillBackend,omitempty"` // If true do vacuum full instead of cluster. Defaults to: `false`. NoOrder *bool `json:"noOrder,omitempty"` // If specified, an ISO 8601 duration format `PnDTnHnMn.nS` to set a timeout to cancel other backends on conflict. WaitTimeout *string `json:"waitTimeout,omitempty"` }
SGDbOpsSpecRepackDatabasesItem defines model for SGDbOpsSpecRepackDatabasesItem.
func (*SGDbOpsSpecRepackDatabasesItem) DeepCopy ¶
func (in *SGDbOpsSpecRepackDatabasesItem) DeepCopy() *SGDbOpsSpecRepackDatabasesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecRepackDatabasesItem.
func (*SGDbOpsSpecRepackDatabasesItem) DeepCopyInto ¶
func (in *SGDbOpsSpecRepackDatabasesItem) DeepCopyInto(out *SGDbOpsSpecRepackDatabasesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecRestart ¶
type SGDbOpsSpecRestart struct { // The method used to perform the restart operation. Available methods are: // // * `InPlace`: the in-place method does not require more resources than those that are available. // In case only an instance of the StackGres cluster is present this mean the service disruption will // last longer so we encourage use the reduced impact restart and especially for a production environment. // * `ReducedImpact`: this procedure is the same as the in-place method but require additional // resources in order to spawn a new updated replica that will be removed when the procedure completes. Method *string `json:"method,omitempty"` // By default all Pods are restarted. Setting this option to `true` allow to restart only those Pods which // are in pending restart state as detected by the operation. Defaults to: `false`. OnlyPendingRestart *bool `json:"onlyPendingRestart,omitempty"` }
SGDbOpsSpecRestart defines model for SGDbOpsSpecRestart.
func (*SGDbOpsSpecRestart) DeepCopy ¶
func (in *SGDbOpsSpecRestart) DeepCopy() *SGDbOpsSpecRestart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecRestart.
func (*SGDbOpsSpecRestart) DeepCopyInto ¶
func (in *SGDbOpsSpecRestart) DeepCopyInto(out *SGDbOpsSpecRestart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecScheduling ¶
type SGDbOpsSpecScheduling struct { // Node affinity is a group of node affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#nodeaffinity-v1-core NodeAffinity *SGDbOpsSpecSchedulingNodeAffinity `json:"nodeAffinity,omitempty"` // NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Pod affinity is a group of inter pod affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#podaffinity-v1-core PodAffinity *SGDbOpsSpecSchedulingPodAffinity `json:"podAffinity,omitempty"` // Pod anti affinity is a group of inter pod anti affinity scheduling rules. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#podantiaffinity-v1-core PodAntiAffinity *SGDbOpsSpecSchedulingPodAntiAffinity `json:"podAntiAffinity,omitempty"` // If specified, the pod's tolerations. // // See: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#toleration-v1-core Tolerations *[]SGDbOpsSpecSchedulingTolerationsItem `json:"tolerations,omitempty"` }
SGDbOpsSpecScheduling defines model for SGDbOpsSpecScheduling.
func (*SGDbOpsSpecScheduling) DeepCopy ¶
func (in *SGDbOpsSpecScheduling) DeepCopy() *SGDbOpsSpecScheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecScheduling.
func (*SGDbOpsSpecScheduling) DeepCopyInto ¶
func (in *SGDbOpsSpecScheduling) DeepCopyInto(out *SGDbOpsSpecScheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinity ¶
type SGDbOpsSpecSchedulingNodeAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. RequiredDuringSchedulingIgnoredDuringExecution *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinity defines model for SGDbOpsSpecSchedulingNodeAffinity.
func (*SGDbOpsSpecSchedulingNodeAffinity) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinity) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinity.
func (*SGDbOpsSpecSchedulingNodeAffinity) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinity) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. Preference SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference `json:"preference"` // Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference ¶
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference struct { // A list of node selector requirements by node's labels. MatchExpressions *[]SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem `json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. MatchFields *[]SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem `json:"matchFields,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference defines model for SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem defines model for SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem ¶
type SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem defines model for SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPreferenceMatchFieldsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution ¶
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution struct { // Required. A list of node selector terms. The terms are ORed. NodeSelectorTerms []SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem `json:"nodeSelectorTerms"` }
SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution defines model for SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem ¶
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem struct { // A list of node selector requirements by node's labels. MatchExpressions *[]SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem `json:"matchExpressions,omitempty"` // A list of node selector requirements by node's fields. MatchFields *[]SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem `json:"matchFields,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem defines model for SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem defines model for SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem ¶
type SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem struct { // The label key that the selector applies to. Key string `json:"key"` // Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. // Operator string `json:"operator"` // An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem defines model for SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopy() *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem.
func (*SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingNodeAffinityRequiredDuringSchedulingIgnoredDuringExecutionNodeSelectorTermsItemMatchFieldsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinity ¶
type SGDbOpsSpecSchedulingPodAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingIgnoredDuringExecution *[]SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGDbOpsSpecSchedulingPodAffinity defines model for SGDbOpsSpecSchedulingPodAffinity.
func (*SGDbOpsSpecSchedulingPodAffinity) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinity) DeepCopy() *SGDbOpsSpecSchedulingPodAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinity.
func (*SGDbOpsSpecSchedulingPodAffinity) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinity) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running PodAffinityTerm SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm `json:"podAffinityTerm"` // weight associated with matching the corresponding podAffinityTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm ¶
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm defines model for SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector ¶
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector defines model for SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector ¶
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector defines model for SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem defines model for SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector ¶
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector defines model for SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector ¶
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector defines model for SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinity ¶
type SGDbOpsSpecSchedulingPodAntiAffinity struct { // The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. PreferredDuringSchedulingIgnoredDuringExecution *[]SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` // If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. RequiredDuringSchedulingIgnoredDuringExecution *[]SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinity defines model for SGDbOpsSpecSchedulingPodAntiAffinity.
func (*SGDbOpsSpecSchedulingPodAntiAffinity) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinity) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinity.
func (*SGDbOpsSpecSchedulingPodAntiAffinity) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinity) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem struct { // Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running PodAffinityTerm SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm `json:"podAffinityTerm"` // weight associated with matching the corresponding podAffinityTerm, in the range 1-100. Weight int32 `json:"weight"` }
SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem defines model for SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm ¶
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm defines model for SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTerm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector ¶
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector defines model for SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector ¶
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector defines model for SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionItemPodAffinityTermNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem ¶
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem struct { // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. LabelSelector *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector `json:"labelSelector,omitempty"` // A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. NamespaceSelector *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector `json:"namespaceSelector,omitempty"` // namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". Namespaces *[]string `json:"namespaces,omitempty"` // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. TopologyKey string `json:"topologyKey"` }
SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem defines model for SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector ¶
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector defines model for SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemLabelSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector ¶
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector struct { // matchExpressions is a list of label selector requirements. The requirements are ANDed. MatchExpressions *[]SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"` // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels map[string]string `json:"matchLabels,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector defines model for SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem ¶
type SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem struct { // key is the label key that the selector applies to. Key string `json:"key"` // operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. Operator string `json:"operator"` // values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. Values *[]string `json:"values,omitempty"` }
SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem defines model for SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopy() *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem.
func (*SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingPodAntiAffinityRequiredDuringSchedulingIgnoredDuringExecutionItemNamespaceSelectorMatchExpressionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSchedulingTolerationsItem ¶
type SGDbOpsSpecSchedulingTolerationsItem struct { // Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. // Effect *string `json:"effect,omitempty"` // Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Key *string `json:"key,omitempty"` // Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. // Operator *string `json:"operator,omitempty"` // TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. TolerationSeconds *int64 `json:"tolerationSeconds,omitempty"` // Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. Value *string `json:"value,omitempty"` }
SGDbOpsSpecSchedulingTolerationsItem defines model for SGDbOpsSpecSchedulingTolerationsItem.
func (*SGDbOpsSpecSchedulingTolerationsItem) DeepCopy ¶
func (in *SGDbOpsSpecSchedulingTolerationsItem) DeepCopy() *SGDbOpsSpecSchedulingTolerationsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSchedulingTolerationsItem.
func (*SGDbOpsSpecSchedulingTolerationsItem) DeepCopyInto ¶
func (in *SGDbOpsSpecSchedulingTolerationsItem) DeepCopyInto(out *SGDbOpsSpecSchedulingTolerationsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecSecurityUpgrade ¶
type SGDbOpsSpecSecurityUpgrade struct { // The method used to perform the security upgrade operation. Available methods are: // // * `InPlace`: the in-place method does not require more resources than those that are available. // In case only an instance of the StackGres cluster is present this mean the service disruption will // last longer so we encourage use the reduced impact restart and especially for a production environment. // * `ReducedImpact`: this procedure is the same as the in-place method but require additional // resources in order to spawn a new updated replica that will be removed when the procedure completes. Method *string `json:"method,omitempty"` }
SGDbOpsSpecSecurityUpgrade defines model for SGDbOpsSpecSecurityUpgrade.
func (*SGDbOpsSpecSecurityUpgrade) DeepCopy ¶
func (in *SGDbOpsSpecSecurityUpgrade) DeepCopy() *SGDbOpsSpecSecurityUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecSecurityUpgrade.
func (*SGDbOpsSpecSecurityUpgrade) DeepCopyInto ¶
func (in *SGDbOpsSpecSecurityUpgrade) DeepCopyInto(out *SGDbOpsSpecSecurityUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecVacuum ¶
type SGDbOpsSpecVacuum struct { // If true, updates statistics used by the planner to determine the most efficient way to execute a query. Defaults to: `true`. Analyze *bool `json:"analyze,omitempty"` // List of databases to vacuum or repack, don't specify to select all databases Databases *[]SGDbOpsSpecVacuumDatabasesItem `json:"databases,omitempty"` // Normally, VACUUM will skip pages based on the visibility map. Pages where all tuples are known to be frozen can always be // skipped, and those where all tuples are known to be visible to all transactions may be skipped except when performing an // aggressive vacuum. Furthermore, except when performing an aggressive vacuum, some pages may be skipped in order to avoid // waiting for other sessions to finish using them. This option disables all page-skipping behavior, and is intended to be // used only when the contents of the visibility map are suspect, which should happen only if there is a hardware or // software issue causing database corruption. Defaults to: `false`. DisablePageSkipping *bool `json:"disablePageSkipping,omitempty"` // If true selects aggressive "freezing" of tuples. Specifying FREEZE is equivalent to performing VACUUM with the // vacuum_freeze_min_age and vacuum_freeze_table_age parameters set to zero. Aggressive freezing is always performed // when the table is rewritten, so this option is redundant when FULL is specified. Defaults to: `false`. Freeze *bool `json:"freeze,omitempty"` // If true selects "full" vacuum, which can reclaim more space, but takes much longer and exclusively locks the table. // This method also requires extra disk space, since it writes a new copy of the table and doesn't release the old copy // until the operation is complete. Usually this should only be used when a significant amount of space needs to be // reclaimed from within the table. Defaults to: `false`. Full *bool `json:"full,omitempty"` }
SGDbOpsSpecVacuum defines model for SGDbOpsSpecVacuum.
func (*SGDbOpsSpecVacuum) DeepCopy ¶
func (in *SGDbOpsSpecVacuum) DeepCopy() *SGDbOpsSpecVacuum
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecVacuum.
func (*SGDbOpsSpecVacuum) DeepCopyInto ¶
func (in *SGDbOpsSpecVacuum) DeepCopyInto(out *SGDbOpsSpecVacuum)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsSpecVacuumDatabasesItem ¶
type SGDbOpsSpecVacuumDatabasesItem struct { // If true, updates statistics used by the planner to determine the most efficient way to execute a query. Defaults to: `true`. Analyze *bool `json:"analyze,omitempty"` // Normally, VACUUM will skip pages based on the visibility map. Pages where all tuples are known to be frozen can always be // skipped, and those where all tuples are known to be visible to all transactions may be skipped except when performing an // aggressive vacuum. Furthermore, except when performing an aggressive vacuum, some pages may be skipped in order to avoid // waiting for other sessions to finish using them. This option disables all page-skipping behavior, and is intended to be // used only when the contents of the visibility map are suspect, which should happen only if there is a hardware or // software issue causing database corruption. Defaults to: `false`. DisablePageSkipping *bool `json:"disablePageSkipping,omitempty"` // If true selects aggressive "freezing" of tuples. Specifying FREEZE is equivalent to performing VACUUM with the // vacuum_freeze_min_age and vacuum_freeze_table_age parameters set to zero. Aggressive freezing is always performed // when the table is rewritten, so this option is redundant when FULL is specified. Defaults to: `false`. Freeze *bool `json:"freeze,omitempty"` // If true selects "full" vacuum, which can reclaim more space, but takes much longer and exclusively locks the table. // This method also requires extra disk space, since it writes a new copy of the table and doesn't release the old copy // until the operation is complete. Usually this should only be used when a significant amount of space needs to be // reclaimed from within the table. Defaults to: `false`. Full *bool `json:"full,omitempty"` // the name of the database Name string `json:"name"` }
SGDbOpsSpecVacuumDatabasesItem defines model for SGDbOpsSpecVacuumDatabasesItem.
func (*SGDbOpsSpecVacuumDatabasesItem) DeepCopy ¶
func (in *SGDbOpsSpecVacuumDatabasesItem) DeepCopy() *SGDbOpsSpecVacuumDatabasesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsSpecVacuumDatabasesItem.
func (*SGDbOpsSpecVacuumDatabasesItem) DeepCopyInto ¶
func (in *SGDbOpsSpecVacuumDatabasesItem) DeepCopyInto(out *SGDbOpsSpecVacuumDatabasesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatus ¶
type SGDbOpsStatus struct { // The results of the benchmark Benchmark *SGDbOpsStatusBenchmark `json:"benchmark,omitempty"` // Possible conditions are: // // * Running: to indicate when the operation is actually running // * Completed: to indicate when the operation has completed successfully // * Failed: to indicate when the operation has failed Conditions *[]SGDbOpsStatusConditionsItem `json:"conditions,omitempty"` // The results of a major version upgrade MajorVersionUpgrade *SGDbOpsStatusMajorVersionUpgrade `json:"majorVersionUpgrade,omitempty"` // The results of a minor version upgrade MinorVersionUpgrade *SGDbOpsStatusMinorVersionUpgrade `json:"minorVersionUpgrade,omitempty"` // The number of retries performed by the operation OpRetries *int `json:"opRetries,omitempty"` // The ISO 8601 timestamp of when the operation started running OpStarted *string `json:"opStarted,omitempty"` // The results of a restart Restart *SGDbOpsStatusRestart `json:"restart,omitempty"` // The results of a security upgrade SecurityUpgrade *SGDbOpsStatusSecurityUpgrade `json:"securityUpgrade,omitempty"` }
SGDbOpsStatus defines model for SGDbOpsStatus.
func (*SGDbOpsStatus) DeepCopy ¶
func (in *SGDbOpsStatus) DeepCopy() *SGDbOpsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatus.
func (*SGDbOpsStatus) DeepCopyInto ¶
func (in *SGDbOpsStatus) DeepCopyInto(out *SGDbOpsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmark ¶
type SGDbOpsStatusBenchmark struct { // The results of the pgbench benchmark Pgbench *SGDbOpsStatusBenchmarkPgbench `json:"pgbench,omitempty"` }
SGDbOpsStatusBenchmark defines model for SGDbOpsStatusBenchmark.
func (*SGDbOpsStatusBenchmark) DeepCopy ¶
func (in *SGDbOpsStatusBenchmark) DeepCopy() *SGDbOpsStatusBenchmark
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmark.
func (*SGDbOpsStatusBenchmark) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmark) DeepCopyInto(out *SGDbOpsStatusBenchmark)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbench ¶
type SGDbOpsStatusBenchmarkPgbench struct { // The latency results of the pgbench benchmark Latency *SGDbOpsStatusBenchmarkPgbenchLatency `json:"latency,omitempty"` // The scale factor used to run pgbench (`--scale`). ScaleFactor *float32 `json:"scaleFactor"` // All the transactions per second results of the pgbench benchmark TransactionsPerSecond *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond `json:"transactionsPerSecond,omitempty"` // The number of transactions processed. TransactionsProcessed *int `json:"transactionsProcessed"` }
SGDbOpsStatusBenchmarkPgbench defines model for SGDbOpsStatusBenchmarkPgbench.
func (*SGDbOpsStatusBenchmarkPgbench) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbench) DeepCopy() *SGDbOpsStatusBenchmarkPgbench
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbench.
func (*SGDbOpsStatusBenchmarkPgbench) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbench) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbench)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbenchLatency ¶
type SGDbOpsStatusBenchmarkPgbenchLatency struct { // Average latency of transactions Average *SGDbOpsStatusBenchmarkPgbenchLatencyAverage `json:"average,omitempty"` // The latency standard deviation of transactions. StandardDeviation *SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation `json:"standardDeviation,omitempty"` }
SGDbOpsStatusBenchmarkPgbenchLatency defines model for SGDbOpsStatusBenchmarkPgbenchLatency.
func (*SGDbOpsStatusBenchmarkPgbenchLatency) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbenchLatency) DeepCopy() *SGDbOpsStatusBenchmarkPgbenchLatency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbenchLatency.
func (*SGDbOpsStatusBenchmarkPgbenchLatency) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbenchLatency) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbenchLatency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbenchLatencyAverage ¶
type SGDbOpsStatusBenchmarkPgbenchLatencyAverage struct { // The latency measure unit represented in milliseconds Unit *string `json:"unit,omitempty"` // The latency average value Value *float32 `json:"value"` }
SGDbOpsStatusBenchmarkPgbenchLatencyAverage defines model for SGDbOpsStatusBenchmarkPgbenchLatencyAverage.
func (*SGDbOpsStatusBenchmarkPgbenchLatencyAverage) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbenchLatencyAverage) DeepCopy() *SGDbOpsStatusBenchmarkPgbenchLatencyAverage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbenchLatencyAverage.
func (*SGDbOpsStatusBenchmarkPgbenchLatencyAverage) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbenchLatencyAverage) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbenchLatencyAverage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation ¶
type SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation struct { // The latency measure unit represented in milliseconds Unit *string `json:"unit,omitempty"` // The latency standard deviation value Value *float32 `json:"value"` }
SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation defines model for SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation.
func (*SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation) DeepCopy() *SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation.
func (*SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbenchLatencyStandardDeviation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond ¶
type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond struct { // Number of Transaction Per Second (tps) excluding connection establishing. ExcludingConnectionsEstablishing *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing `json:"excludingConnectionsEstablishing,omitempty"` // Number of Transaction Per Second (tps) including connection establishing. IncludingConnectionsEstablishing *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing `json:"includingConnectionsEstablishing,omitempty"` }
SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond defines model for SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond.
func (*SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond) DeepCopy() *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond.
func (*SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecond)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing ¶
type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing struct { // Transaction Per Second (tps) measure Unit *string `json:"unit,omitempty"` // The Transaction Per Second (tps) excluding connections establishing value Value *float32 `json:"value"` }
SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing defines model for SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing.
func (*SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing) DeepCopy() *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing.
func (*SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondExcludingConnectionsEstablishing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing ¶
type SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing struct { // Transaction Per Second (tps) measure Unit *string `json:"unit,omitempty"` // The Transaction Per Second (tps) including connections establishing value Value *float32 `json:"value"` }
SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing defines model for SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing.
func (*SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing) DeepCopy ¶
func (in *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing) DeepCopy() *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing.
func (*SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing) DeepCopyInto ¶
func (in *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing) DeepCopyInto(out *SGDbOpsStatusBenchmarkPgbenchTransactionsPerSecondIncludingConnectionsEstablishing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusConditionsItem ¶
type SGDbOpsStatusConditionsItem struct { // Last time the condition transitioned from one status to another. LastTransitionTime *string `json:"lastTransitionTime,omitempty"` // A human-readable message indicating details about the transition. Message *string `json:"message,omitempty"` // The reason for the condition last transition. Reason *string `json:"reason,omitempty"` // Status of the condition, one of `True`, `False` or `Unknown`. Status *string `json:"status,omitempty"` // Type of deployment condition. Type *string `json:"type,omitempty"` }
SGDbOpsStatusConditionsItem defines model for SGDbOpsStatusConditionsItem.
func (*SGDbOpsStatusConditionsItem) DeepCopy ¶
func (in *SGDbOpsStatusConditionsItem) DeepCopy() *SGDbOpsStatusConditionsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusConditionsItem.
func (*SGDbOpsStatusConditionsItem) DeepCopyInto ¶
func (in *SGDbOpsStatusConditionsItem) DeepCopyInto(out *SGDbOpsStatusConditionsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusMajorVersionUpgrade ¶
type SGDbOpsStatusMajorVersionUpgrade struct { // A failure message (when available) Failure *string `json:"failure,omitempty"` // The instances present when the operation started InitialInstances *[]string `json:"initialInstances,omitempty"` // The instances that are pending to be restarted PendingToRestartInstances *[]string `json:"pendingToRestartInstances,omitempty"` // The primary instance when the operation started PrimaryInstance *string `json:"primaryInstance,omitempty"` // The instances that have been restarted RestartedInstances *[]string `json:"restartedInstances,omitempty"` // The postgres version currently used by the primary instance SourcePostgresVersion *string `json:"sourcePostgresVersion,omitempty"` // The postgres version that the cluster will be upgraded to TargetPostgresVersion *string `json:"targetPostgresVersion,omitempty"` }
SGDbOpsStatusMajorVersionUpgrade defines model for SGDbOpsStatusMajorVersionUpgrade.
func (*SGDbOpsStatusMajorVersionUpgrade) DeepCopy ¶
func (in *SGDbOpsStatusMajorVersionUpgrade) DeepCopy() *SGDbOpsStatusMajorVersionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusMajorVersionUpgrade.
func (*SGDbOpsStatusMajorVersionUpgrade) DeepCopyInto ¶
func (in *SGDbOpsStatusMajorVersionUpgrade) DeepCopyInto(out *SGDbOpsStatusMajorVersionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusMinorVersionUpgrade ¶
type SGDbOpsStatusMinorVersionUpgrade struct { // A failure message (when available) Failure *string `json:"failure,omitempty"` // The instances present when the operation started InitialInstances *[]string `json:"initialInstances,omitempty"` // The instances that are pending to be restarted PendingToRestartInstances *[]string `json:"pendingToRestartInstances,omitempty"` // The primary instance when the operation started PrimaryInstance *string `json:"primaryInstance,omitempty"` // The instances that have been restarted RestartedInstances *[]string `json:"restartedInstances,omitempty"` // The postgres version currently used by the primary instance SourcePostgresVersion *string `json:"sourcePostgresVersion,omitempty"` // An ISO 8601 date indicating if and when the switchover finalized SwitchoverFinalized *string `json:"switchoverFinalized,omitempty"` // An ISO 8601 date indicating if and when the switchover initiated SwitchoverInitiated *string `json:"switchoverInitiated,omitempty"` // The postgres version that the cluster will be upgraded (or downgraded) to TargetPostgresVersion *string `json:"targetPostgresVersion,omitempty"` }
SGDbOpsStatusMinorVersionUpgrade defines model for SGDbOpsStatusMinorVersionUpgrade.
func (*SGDbOpsStatusMinorVersionUpgrade) DeepCopy ¶
func (in *SGDbOpsStatusMinorVersionUpgrade) DeepCopy() *SGDbOpsStatusMinorVersionUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusMinorVersionUpgrade.
func (*SGDbOpsStatusMinorVersionUpgrade) DeepCopyInto ¶
func (in *SGDbOpsStatusMinorVersionUpgrade) DeepCopyInto(out *SGDbOpsStatusMinorVersionUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusRestart ¶
type SGDbOpsStatusRestart struct { // A failure message (when available) Failure *string `json:"failure,omitempty"` // The instances present when the operation started InitialInstances *[]string `json:"initialInstances,omitempty"` // The instances that are pending to be restarted PendingToRestartInstances *[]string `json:"pendingToRestartInstances,omitempty"` // The primary instance when the operation started PrimaryInstance *string `json:"primaryInstance,omitempty"` // The instances that have been restarted RestartedInstances *[]string `json:"restartedInstances,omitempty"` // An ISO 8601 date indicating if and when the switchover finalized SwitchoverFinalized *string `json:"switchoverFinalized,omitempty"` // An ISO 8601 date indicating if and when the switchover initiated SwitchoverInitiated *string `json:"switchoverInitiated,omitempty"` }
SGDbOpsStatusRestart defines model for SGDbOpsStatusRestart.
func (*SGDbOpsStatusRestart) DeepCopy ¶
func (in *SGDbOpsStatusRestart) DeepCopy() *SGDbOpsStatusRestart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusRestart.
func (*SGDbOpsStatusRestart) DeepCopyInto ¶
func (in *SGDbOpsStatusRestart) DeepCopyInto(out *SGDbOpsStatusRestart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGDbOpsStatusSecurityUpgrade ¶
type SGDbOpsStatusSecurityUpgrade struct { // A failure message (when available) Failure *string `json:"failure,omitempty"` // The instances present when the operation started InitialInstances *[]string `json:"initialInstances,omitempty"` // The instances that are pending to be restarted PendingToRestartInstances *[]string `json:"pendingToRestartInstances,omitempty"` // The primary instance when the operation started PrimaryInstance *string `json:"primaryInstance,omitempty"` // The instances that have been restarted RestartedInstances *[]string `json:"restartedInstances,omitempty"` // An ISO 8601 date indicating if and when the switchover finalized SwitchoverFinalized *string `json:"switchoverFinalized,omitempty"` // An ISO 8601 date indicating if and when the switchover initiated SwitchoverInitiated *string `json:"switchoverInitiated,omitempty"` }
SGDbOpsStatusSecurityUpgrade defines model for SGDbOpsStatusSecurityUpgrade.
func (*SGDbOpsStatusSecurityUpgrade) DeepCopy ¶
func (in *SGDbOpsStatusSecurityUpgrade) DeepCopy() *SGDbOpsStatusSecurityUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGDbOpsStatusSecurityUpgrade.
func (*SGDbOpsStatusSecurityUpgrade) DeepCopyInto ¶
func (in *SGDbOpsStatusSecurityUpgrade) DeepCopyInto(out *SGDbOpsStatusSecurityUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGPostgesConfigList ¶
type SGPostgesConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SGPostgresConfig `json:"items"` }
func (*SGPostgesConfigList) DeepCopy ¶
func (in *SGPostgesConfigList) DeepCopy() *SGPostgesConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgesConfigList.
func (*SGPostgesConfigList) DeepCopyInto ¶
func (in *SGPostgesConfigList) DeepCopyInto(out *SGPostgesConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGPostgesConfigList) DeepCopyObject ¶
func (in *SGPostgesConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGPostgresConfig ¶
type SGPostgresConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of a SGPostgresConfig. Spec SGPostgresConfigSpec `json:"spec"` // Status reflects the observed state of a SGPostgresConfig. Status SGPostgresConfigStatus `json:"status,omitempty"` }
func (*SGPostgresConfig) DeepCopy ¶
func (in *SGPostgresConfig) DeepCopy() *SGPostgresConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgresConfig.
func (*SGPostgresConfig) DeepCopyInto ¶
func (in *SGPostgresConfig) DeepCopyInto(out *SGPostgresConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGPostgresConfig) DeepCopyObject ¶
func (in *SGPostgresConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGPostgresConfigSpec ¶
type SGPostgresConfigSpec struct { // The **major** Postgres version the configuration is for. Postgres major versions contain one number starting with version 10 (`10`, `11`, `12`, etc), and two numbers separated by a dot for previous versions (`9.6`, `9.5`, etc). // // Note that Postgres maintains full compatibility across minor versions, and hence a configuration for a given major version will work for any minor version of that same major version. // // Check [StackGres component versions](https://stackgres.io/doc/latest/intro/versions) to see the Postgres versions supported by this version of StackGres. PostgresVersion string `json:"postgresVersion"` // The `postgresql.conf` parameters the configuration contains, represented as an object where the keys are valid names for the `postgresql.conf` configuration file parameters of the given `postgresVersion`. You may check [postgresqlco.nf](https://postgresqlco.nf) as a reference on how to tune and find the valid parameters for a given major version. PostgresqlConf map[string]string `json:"postgresql.conf"` }
SGPostgresConfigSpec defines model for SGPostgresConfigSpec.
func (*SGPostgresConfigSpec) DeepCopy ¶
func (in *SGPostgresConfigSpec) DeepCopy() *SGPostgresConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgresConfigSpec.
func (*SGPostgresConfigSpec) DeepCopyInto ¶
func (in *SGPostgresConfigSpec) DeepCopyInto(out *SGPostgresConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGPostgresConfigStatus ¶
type SGPostgresConfigStatus struct { // The `postgresql.conf` default parameters which are used if not set. PostgresqlConf map[string]string `json:"postgresql.conf"` }
SGPostgresConfigStatus defines model for SGPostgresConfigStatus.
func (*SGPostgresConfigStatus) DeepCopy ¶
func (in *SGPostgresConfigStatus) DeepCopy() *SGPostgresConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGPostgresConfigStatus.
func (*SGPostgresConfigStatus) DeepCopyInto ¶
func (in *SGPostgresConfigStatus) DeepCopyInto(out *SGPostgresConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.