Documentation
¶
Index ¶
- func PersistentVolumeClaimRegistration[In PersistentVolumeClaimResource, Out *PersistentVolumeClaimResourceOutput, ...](base runtime.ResourceRegistration, ...) persistentVolumeClaimRegistration[P]
- func PersistentVolumeRegistration[In PersistentVolumeResource, Out *PersistentVolumeResourceOutput, P any](base runtime.ResourceRegistration, ...) persistentVolumeRegistration[P]
- func PodRegistration[In PodResource, Out *PodResourceOutput, P any](base runtime.ResourceRegistration, ...) podRegistration[P]
- func ReplicationControllerRegistration[In ReplicationControllerResource, Out *ReplicationControllerResourceOutput, ...](base runtime.ResourceRegistration, ...) replicationControllerRegistration[P]
- type ConfigMapDataMetadata
- type ConfigMapDataMetadataOutput
- type ConfigMapDataObject
- type ConfigMapDataObjectOutput
- type ConfigMapDataResource
- func (r ConfigMapDataResource) Constraints() []constraint.Constraint
- func (r *ConfigMapDataResource) Create(ctx context.Context, c *config.Configuration) (*ConfigMapDataResourceOutput, error)
- func (r ConfigMapDataResource) Defaults() []defaults.Default
- func (r *ConfigMapDataResource) Delete(ctx context.Context, c *config.Configuration, p configMapDataPrior) error
- func (r *ConfigMapDataResource) Read(ctx context.Context, c *config.Configuration, p configMapDataPrior) (*ConfigMapDataResourceOutput, error)
- func (r *ConfigMapDataResource) ResourceDefinition() ...
- func (r *ConfigMapDataResource) Update(ctx context.Context, c *config.Configuration, p configMapDataPrior) (*ConfigMapDataResourceOutput, error)
- type ConfigMapDataResourceOutput
- type ConfigMapDataSource
- type ConfigMapDataSourceOutput
- type ConfigMapLookupMetadata
- type ConfigMapLookupMetadataOutput
- type ConfigMapMetadata
- type ConfigMapMetadataOutput
- type ConfigMapObject
- type ConfigMapObjectOutput
- type ConfigMapResource
- func (r ConfigMapResource) Constraints() []constraint.Constraint
- func (r *ConfigMapResource) Create(ctx context.Context, c *config.Configuration) (*ConfigMapResourceOutput, error)
- func (r *ConfigMapResource) Delete(ctx context.Context, c *config.Configuration, p configMapPrior) error
- func (r *ConfigMapResource) Read(ctx context.Context, c *config.Configuration, p configMapPrior) (*ConfigMapResourceOutput, error)
- func (r *ConfigMapResource) ResourceDefinition() ...
- func (r *ConfigMapResource) Update(ctx context.Context, c *config.Configuration, p configMapPrior) (*ConfigMapResourceOutput, error)
- type ConfigMapResourceOutput
- type CordonNodeAction
- type CordonNodeActionOutput
- type DefaultServiceAccountMetadata
- type DefaultServiceAccountMetadataOutput
- type DefaultServiceAccountObject
- type DefaultServiceAccountObjectOutput
- type DefaultServiceAccountResource
- func (r DefaultServiceAccountResource) Constraints() []constraint.Constraint
- func (r *DefaultServiceAccountResource) Create(ctx context.Context, c *config.Configuration) (*DefaultServiceAccountResourceOutput, error)
- func (r DefaultServiceAccountResource) Defaults() []defaults.Default
- func (r *DefaultServiceAccountResource) Delete(ctx context.Context, c *config.Configuration, prior defaultServiceAccountPrior) error
- func (r *DefaultServiceAccountResource) Read(ctx context.Context, c *config.Configuration, prior defaultServiceAccountPrior) (*DefaultServiceAccountResourceOutput, error)
- func (r *DefaultServiceAccountResource) ResourceDefinition() ...
- func (r *DefaultServiceAccountResource) Update(ctx context.Context, c *config.Configuration, prior defaultServiceAccountPrior) (*DefaultServiceAccountResourceOutput, error)
- type DefaultServiceAccountResourceOutput
- type DrainNodeAction
- type DrainNodeActionOutput
- type DrainPodIdentity
- type DrainSkippedPod
- type EndpointsAddress
- type EndpointsAddressOutput
- type EndpointsDataSource
- type EndpointsDataSourceOutput
- type EndpointsLookupAddress
- type EndpointsLookupAddressOutput
- type EndpointsLookupMetadata
- type EndpointsLookupMetadataOutput
- type EndpointsLookupPort
- type EndpointsLookupPortOutput
- type EndpointsLookupSubset
- type EndpointsLookupSubsetOutput
- type EndpointsMetadata
- type EndpointsMetadataOutput
- type EndpointsPort
- type EndpointsPortOutput
- type EndpointsResource
- func (r EndpointsResource) Constraints() []constraint.Constraint
- func (r *EndpointsResource) Create(ctx context.Context, c *config.Configuration) (*EndpointsResourceOutput, error)
- func (*EndpointsResource) Delete(ctx context.Context, c *config.Configuration, p endpointsPrior) error
- func (r *EndpointsResource) Read(ctx context.Context, c *config.Configuration, p endpointsPrior) (*EndpointsResourceOutput, error)
- func (*EndpointsResource) ResourceDefinition() ...
- func (r *EndpointsResource) Update(ctx context.Context, c *config.Configuration, p endpointsPrior) (*EndpointsResourceOutput, error)
- type EndpointsResourceOutput
- type EndpointsSubset
- type EndpointsSubsetOutput
- type LimitRangeItem
- type LimitRangeItemOutput
- type LimitRangeObject
- type LimitRangeObjectOutput
- type LimitRangeResource
- func (r LimitRangeResource) Constraints() []constraint.Constraint
- func (r *LimitRangeResource) Create(ctx context.Context, c *config.Configuration) (*LimitRangeResourceOutput, error)
- func (r *LimitRangeResource) Delete(ctx context.Context, c *config.Configuration, p limitRangePrior) error
- func (r *LimitRangeResource) Read(ctx context.Context, c *config.Configuration, p limitRangePrior) (*LimitRangeResourceOutput, error)
- func (r *LimitRangeResource) ResourceDefinition() ...
- func (r *LimitRangeResource) Update(ctx context.Context, c *config.Configuration, p limitRangePrior) (*LimitRangeResourceOutput, error)
- type LimitRangeResourceOutput
- type LimitRangeSpec
- type LimitRangeSpecOutput
- type NamespaceDataSource
- type NamespaceDataSourceOutput
- type NamespaceLookupMetadata
- type NamespaceLookupMetadataOutput
- type NamespaceLookupSpec
- type NamespaceMetadata
- type NamespaceMetadataOutput
- type NamespaceObject
- type NamespaceObjectOutput
- type NamespaceResource
- func (r NamespaceResource) Constraints() []constraint.Constraint
- func (r *NamespaceResource) Create(ctx context.Context, c *config.Configuration) (*NamespaceResourceOutput, error)
- func (r *NamespaceResource) Delete(ctx context.Context, c *config.Configuration, p namespacePrior) error
- func (r *NamespaceResource) Read(ctx context.Context, c *config.Configuration, p namespacePrior) (*NamespaceResourceOutput, error)
- func (r *NamespaceResource) ResourceDefinition() ...
- func (r *NamespaceResource) Update(ctx context.Context, c *config.Configuration, p namespacePrior) (*NamespaceResourceOutput, error)
- type NamespaceResourceOutput
- type NamespacesDataSource
- type NamespacesDataSourceOutput
- type NodeConditionOutput
- type NodeConfigMapOutput
- type NodeConfigSourceOutput
- type NodeConfigStatusOutput
- type NodeDaemonEndpointsOutput
- type NodeDataSource
- type NodeDataSourceOutput
- type NodeEndpointOutput
- type NodeFeaturesOutput
- type NodeIdentity
- type NodeImageOutput
- type NodeLookupAddress
- type NodeLookupCondition
- type NodeLookupMetadata
- type NodeLookupResult
- type NodeLookupSpec
- type NodeLookupStatus
- type NodeLookupSystemInfo
- type NodeLookupTaint
- type NodeMetadataOutput
- type NodeRuntimeFeaturesOutput
- type NodeRuntimeHandlerOutput
- type NodeSpecOutput
- type NodeStatusOutput
- type NodeSwapOutput
- type NodeSystemInfoOutput
- type NodeTaint
- type NodeTaintMetadata
- type NodeTaintMetadataOutput
- type NodeTaintObject
- type NodeTaintObjectOutput
- type NodeTaintOutput
- type NodeTaintResource
- func (r NodeTaintResource) Constraints() []constraint.Constraint
- func (r *NodeTaintResource) Create(ctx context.Context, c *config.Configuration) (*NodeTaintResourceOutput, error)
- func (r NodeTaintResource) Defaults() []defaults.Default
- func (r *NodeTaintResource) Delete(ctx context.Context, c *config.Configuration, p nodeTaintPrior) error
- func (r *NodeTaintResource) Read(ctx context.Context, c *config.Configuration, p nodeTaintPrior) (*NodeTaintResourceOutput, error)
- func (r *NodeTaintResource) ResourceDefinition() ...
- func (r *NodeTaintResource) Update(ctx context.Context, c *config.Configuration, p nodeTaintPrior) (*NodeTaintResourceOutput, error)
- type NodeTaintResourceOutput
- type NodeTaintSpec
- type NodeVolumeOutput
- type NodesDataSource
- type NodesDataSourceOutput
- type NodesLookupMetadata
- type PersistentVolumeAWSElasticBlockStore
- type PersistentVolumeAzureDisk
- type PersistentVolumeAzureFile
- type PersistentVolumeCSI
- type PersistentVolumeCephFS
- type PersistentVolumeCinder
- type PersistentVolumeClaimDataSource
- type PersistentVolumeClaimDataSourceOutput
- type PersistentVolumeClaimExpression
- type PersistentVolumeClaimLookupMetadata
- type PersistentVolumeClaimLookupMetadataOutput
- type PersistentVolumeClaimObject
- type PersistentVolumeClaimObjectOutput
- type PersistentVolumeClaimReference
- type PersistentVolumeClaimResource
- func (r PersistentVolumeClaimResource) Constraints() []constraint.Constraint
- func (r *PersistentVolumeClaimResource) Create(ctx context.Context, c *config.Configuration) (*PersistentVolumeClaimResourceOutput, error)
- func (r *PersistentVolumeClaimResource) Delete(ctx context.Context, c *config.Configuration, p persistentVolumeClaimPrior) error
- func (r *PersistentVolumeClaimResource) Read(ctx context.Context, c *config.Configuration, p persistentVolumeClaimPrior) (*PersistentVolumeClaimResourceOutput, error)
- func (r *PersistentVolumeClaimResource) ResourceDefinition() ...
- func (r *PersistentVolumeClaimResource) Update(ctx context.Context, c *config.Configuration, p persistentVolumeClaimPrior) (*PersistentVolumeClaimResourceOutput, error)
- type PersistentVolumeClaimResourceOutput
- type PersistentVolumeClaimResources
- type PersistentVolumeClaimResourcesOutput
- type PersistentVolumeClaimSelector
- type PersistentVolumeClaimSpec
- type PersistentVolumeClaimSpecOutput
- type PersistentVolumeDataSource
- type PersistentVolumeDataSourceOutput
- type PersistentVolumeFC
- type PersistentVolumeFlexVolume
- type PersistentVolumeFlocker
- type PersistentVolumeGCEPersistentDisk
- type PersistentVolumeGlusterfs
- type PersistentVolumeHostPath
- type PersistentVolumeISCSI
- type PersistentVolumeLocal
- type PersistentVolumeLookupMetadata
- type PersistentVolumeLookupMetadataOutput
- type PersistentVolumeNFS
- type PersistentVolumeNodeAffinity
- type PersistentVolumeNodeSelector
- type PersistentVolumeNodeSelectorRequirement
- type PersistentVolumeNodeSelectorTerm
- type PersistentVolumeObject
- type PersistentVolumeObjectOutput
- type PersistentVolumePhotonPersistentDisk
- type PersistentVolumeQuobyte
- type PersistentVolumeRBD
- type PersistentVolumeResource
- func (r PersistentVolumeResource) Constraints() []constraint.Constraint
- func (r *PersistentVolumeResource) Create(ctx context.Context, c *config.Configuration) (*PersistentVolumeResourceOutput, error)
- func (r *PersistentVolumeResource) Delete(ctx context.Context, c *config.Configuration, p persistentVolumePrior) error
- func (r *PersistentVolumeResource) Read(ctx context.Context, c *config.Configuration, p persistentVolumePrior) (*PersistentVolumeResourceOutput, error)
- func (r *PersistentVolumeResource) ResourceDefinition() ...
- func (r *PersistentVolumeResource) Update(ctx context.Context, c *config.Configuration, p persistentVolumePrior) (*PersistentVolumeResourceOutput, error)
- type PersistentVolumeResourceOutput
- type PersistentVolumeSecretReference
- type PersistentVolumeSource
- type PersistentVolumeSpec
- type PersistentVolumeSpecOutput
- type PersistentVolumeVsphereVolume
- type PodAWSElasticBlockStoreVolume
- type PodAffinity
- type PodAffinityTerm
- type PodAzureDiskVolume
- type PodAzureFileVolume
- type PodAzureFileVolumeOutput
- type PodCSILocalSecretRef
- type PodCSIVolume
- type PodCapabilities
- type PodCephFSVolume
- type PodCinderVolume
- type PodClaimMetadata
- type PodClaimResources
- type PodClaimSpec
- type PodConfigMapProjection
- type PodConfigMapProjectionOutput
- type PodConfigMapVolume
- type PodContainer
- type PodContainerSecurityContext
- type PodDNSConfig
- type PodDNSOption
- type PodDataSource
- type PodDataSourceOutput
- type PodDownwardAPIProjection
- type PodDownwardAPIVolume
- type PodDownwardAPIVolumeOutput
- type PodDownwardItem
- type PodDownwardResourceRef
- type PodEmptyDirVolume
- type PodEnv
- type PodEnvFieldRef
- type PodEnvFrom
- type PodEnvFromRef
- type PodEnvValueFrom
- type PodEphemeralVolume
- type PodExec
- type PodFCVolume
- type PodFieldRef
- type PodFlexVolume
- type PodFlexVolumeOutput
- type PodFlockerVolume
- type PodGCEPersistentDiskVolume
- type PodGRPC
- type PodGitRepoVolume
- type PodGlusterfsVolume
- type PodHTTPGet
- type PodHTTPHeader
- type PodHandler
- type PodHostAlias
- type PodHostPathVolume
- type PodISCSIVolume
- type PodKeyPath
- type PodKeyRef
- type PodLifecycle
- type PodLocalSecretRef
- type PodLocalVolume
- type PodLookupAWSElasticBlockStoreVolume
- type PodLookupAffinity
- type PodLookupAffinityTerm
- type PodLookupAzureDiskVolume
- type PodLookupAzureFileVolume
- type PodLookupCSILocalSecretRef
- type PodLookupCSIVolume
- type PodLookupCapabilities
- type PodLookupCinderVolume
- type PodLookupClaimMetadata
- type PodLookupClaimSpec
- type PodLookupConfigMapProjection
- type PodLookupConfigMapVolume
- type PodLookupContainer
- type PodLookupContainerSecurityContext
- type PodLookupDNSConfig
- type PodLookupDNSOption
- type PodLookupDownwardAPIProjection
- type PodLookupDownwardAPIVolume
- type PodLookupEmptyDirVolume
- type PodLookupEnv
- type PodLookupEnvFrom
- type PodLookupEnvFromRef
- type PodLookupEnvValueFrom
- type PodLookupEphemeralVolume
- type PodLookupExec
- type PodLookupFCVolume
- type PodLookupFieldRef
- type PodLookupFlexVolume
- type PodLookupFlockerVolume
- type PodLookupGCEPersistentDiskVolume
- type PodLookupGRPC
- type PodLookupGitRepoVolume
- type PodLookupGlusterfsVolume
- type PodLookupHTTPGet
- type PodLookupHTTPHeader
- type PodLookupHandler
- type PodLookupHostPathVolume
- type PodLookupISCSIVolume
- type PodLookupKeyPath
- type PodLookupKeyRef
- type PodLookupLifecycle
- type PodLookupMetadata
- type PodLookupMetadataOutput
- type PodLookupMount
- type PodLookupNFSVolume
- type PodLookupNodeAffinity
- type PodLookupNodeExpression
- type PodLookupNodeSelector
- type PodLookupNodeTerm
- type PodLookupPersistentVolumeClaimVolume
- type PodLookupPhotonPersistentDiskVolume
- type PodLookupPort
- type PodLookupPreferredSchedulingTerm
- type PodLookupProbe
- type PodLookupProjectedDownwardItem
- type PodLookupProjectedVolume
- type PodLookupProjection
- type PodLookupQuobyteVolume
- type PodLookupRBDVolume
- type PodLookupResourceRef
- type PodLookupResources
- type PodLookupSELinuxOptions
- type PodLookupSchedulingAffinity
- type PodLookupSeccompProfile
- type PodLookupSecretProjection
- type PodLookupSecretVolume
- type PodLookupSecurityContext
- type PodLookupSelector
- type PodLookupSelectorRequirement
- type PodLookupServiceAccountTokenProjection
- type PodLookupSpec
- type PodLookupToleration
- type PodLookupTopologySpreadConstraint
- type PodLookupVolume
- type PodLookupVolumeClaimTemplate
- type PodLookupVsphereVolume
- type PodLookupWeightedPodAffinityTerm
- type PodLookupWindowsOptions
- type PodMount
- type PodNFSVolume
- type PodNamedReference
- type PodNodeAffinity
- type PodNodeExpression
- type PodNodeField
- type PodNodeSelector
- type PodNodeTerm
- type PodOS
- type PodPersistentVolumeClaimVolume
- type PodPhotonPersistentDiskVolume
- type PodPort
- type PodPreferredSchedulingTerm
- type PodProbe
- type PodProjectedDownwardItem
- type PodProjectedVolume
- type PodProjectedVolumeOutput
- type PodProjectionGroup
- type PodProjectionGroupOutput
- type PodQuobyteVolume
- type PodRBDVolume
- type PodRBDVolumeOutput
- type PodReadinessGate
- type PodResource
- func (r PodResource) Constraints() []constraint.Constraint
- func (r *PodResource) Create(ctx context.Context, c *config.Configuration) (*PodResourceOutput, error)
- func (r PodResource) Defaults() []defaults.Default
- func (r *PodResource) Delete(ctx context.Context, c *config.Configuration, prior podPrior) error
- func (r *PodResource) Read(ctx context.Context, c *config.Configuration, prior podPrior) (*PodResourceOutput, error)
- func (r *PodResource) ResourceDefinition() ...
- func (r *PodResource) Update(ctx context.Context, c *config.Configuration, prior podPrior) (*PodResourceOutput, error)
- type PodResourceOutput
- type PodResourceRef
- type PodResources
- type PodSELinuxOptions
- type PodSchedulingAffinity
- type PodSeccompProfile
- type PodSecretProjection
- type PodSecretVolume
- type PodSecurityContext
- type PodSelector
- type PodSelectorRequirement
- type PodServiceAccountTokenProjection
- type PodSpec
- type PodSpecOutput
- type PodSysctl
- type PodTCPSocket
- type PodToleration
- type PodTopologySpreadConstraint
- type PodVolume
- type PodVolumeClaimTemplate
- type PodVolumeDevice
- type PodVolumeOutput
- type PodVsphereVolume
- type PodWeightedPodAffinityTerm
- type PodWindowsOptions
- type ReplicationControllerPodSpec
- type ReplicationControllerResource
- func (r ReplicationControllerResource) Constraints() []constraint.Constraint
- func (r *ReplicationControllerResource) Create(ctx context.Context, c *config.Configuration) (*ReplicationControllerResourceOutput, error)
- func (r ReplicationControllerResource) Defaults() []defaults.Default
- func (r *ReplicationControllerResource) Delete(ctx context.Context, c *config.Configuration, prior replicationControllerPrior) error
- func (r *ReplicationControllerResource) Read(ctx context.Context, c *config.Configuration, prior replicationControllerPrior) (*ReplicationControllerResourceOutput, error)
- func (r *ReplicationControllerResource) ResourceDefinition() ...
- func (r *ReplicationControllerResource) Update(ctx context.Context, c *config.Configuration, prior replicationControllerPrior) (*ReplicationControllerResourceOutput, error)
- type ReplicationControllerResourceOutput
- type ReplicationControllerSpec
- type ReplicationControllerSpecOutput
- type ReplicationControllerTemplate
- type ReplicationControllerTemplateMetadata
- type ReplicationControllerTemplateOutput
- type ResourceQuotaResource
- func (r ResourceQuotaResource) Constraints() []constraint.Constraint
- func (r *ResourceQuotaResource) Create(ctx context.Context, c *config.Configuration) (*ResourceQuotaResourceOutput, error)
- func (r *ResourceQuotaResource) Delete(ctx context.Context, c *config.Configuration, p resourceQuotaPrior) error
- func (r *ResourceQuotaResource) Read(ctx context.Context, c *config.Configuration, p resourceQuotaPrior) (*ResourceQuotaResourceOutput, error)
- func (r *ResourceQuotaResource) ResourceDefinition() ...
- func (r *ResourceQuotaResource) Update(ctx context.Context, c *config.Configuration, p resourceQuotaPrior) (*ResourceQuotaResourceOutput, error)
- type ResourceQuotaResourceOutput
- type ResourceQuotaScopeExpression
- type ResourceQuotaScopeSelector
- type ResourceQuotaScopeSelectorOutput
- type ResourceQuotaSpec
- type ResourceQuotaSpecOutput
- type SecretDataMetadata
- type SecretDataMetadataOutput
- type SecretDataObject
- type SecretDataObjectOutput
- type SecretDataResource
- func (r SecretDataResource) Constraints() []constraint.Constraint
- func (r *SecretDataResource) Create(ctx context.Context, c *config.Configuration) (*SecretDataResourceOutput, error)
- func (r SecretDataResource) Defaults() []defaults.Default
- func (r *SecretDataResource) Delete(ctx context.Context, c *config.Configuration, p secretDataPrior) error
- func (r *SecretDataResource) Read(ctx context.Context, c *config.Configuration, p secretDataPrior) (*SecretDataResourceOutput, error)
- func (r *SecretDataResource) ResourceDefinition() ...
- func (r *SecretDataResource) Update(ctx context.Context, c *config.Configuration, p secretDataPrior) (*SecretDataResourceOutput, error)
- type SecretDataResourceOutput
- type SecretDataSource
- type SecretDataSourceOutput
- type SecretLookupMetadata
- type SecretLookupMetadataOutput
- type SecretMetadata
- type SecretMetadataOutput
- type SecretObject
- type SecretObjectOutput
- type SecretResource
- func (r SecretResource) Constraints() []constraint.Constraint
- func (r *SecretResource) Create(ctx context.Context, c *config.Configuration) (*SecretResourceOutput, error)
- func (r *SecretResource) Delete(ctx context.Context, c *config.Configuration, p secretPrior) error
- func (r *SecretResource) Read(ctx context.Context, c *config.Configuration, p secretPrior) (*SecretResourceOutput, error)
- func (r *SecretResource) ResourceDefinition() ...
- func (r *SecretResource) Update(ctx context.Context, c *config.Configuration, p secretPrior) (*SecretResourceOutput, error)
- type SecretResourceOutput
- type ServerVersionDataSource
- type ServerVersionDataSourceOutput
- type ServiceAccountDataSource
- type ServiceAccountDataSourceOutput
- type ServiceAccountLookupMetadata
- type ServiceAccountMetadata
- type ServiceAccountObject
- type ServiceAccountObjectOutput
- type ServiceAccountReference
- type ServiceAccountReferenceOutput
- type ServiceAccountResource
- func (r ServiceAccountResource) Constraints() []constraint.Constraint
- func (r *ServiceAccountResource) Create(ctx context.Context, c *config.Configuration) (*ServiceAccountResourceOutput, error)
- func (r *ServiceAccountResource) Delete(ctx context.Context, c *config.Configuration, p serviceAccountPrior) error
- func (r *ServiceAccountResource) Read(ctx context.Context, c *config.Configuration, p serviceAccountPrior) (*ServiceAccountResourceOutput, error)
- func (r *ServiceAccountResource) ResourceDefinition() ...
- func (r *ServiceAccountResource) Update(ctx context.Context, c *config.Configuration, p serviceAccountPrior) (*ServiceAccountResourceOutput, error)
- type ServiceAccountResourceOutput
- type ServiceAffinityConfig
- type ServiceAffinityConfigOutput
- type ServiceClientIP
- type ServiceClientIPOutput
- type ServiceDataSource
- type ServiceDataSourceOutput
- type ServiceIngress
- type ServiceLoadBalancer
- type ServiceLookupAffinityConfig
- type ServiceLookupClientIP
- type ServiceLookupIngress
- type ServiceLookupLoadBalancer
- type ServiceLookupMetadata
- type ServiceLookupMetadataOutput
- type ServiceLookupSpec
- type ServiceLookupStatus
- type ServiceMetadata
- type ServiceMetadataOutput
- type ServicePort
- type ServicePortOutput
- type ServiceResource
- func (r ServiceResource) Constraints() []constraint.Constraint
- func (r *ServiceResource) Create(ctx context.Context, c *config.Configuration) (*ServiceResourceOutput, error)
- func (r *ServiceResource) Delete(ctx context.Context, c *config.Configuration, p servicePrior) error
- func (r *ServiceResource) Read(ctx context.Context, c *config.Configuration, p servicePrior) (*ServiceResourceOutput, error)
- func (r *ServiceResource) ResourceDefinition() ...
- func (r *ServiceResource) Update(ctx context.Context, c *config.Configuration, p servicePrior) (*ServiceResourceOutput, error)
- type ServiceResourceOutput
- type ServiceSpec
- type ServiceSpecOutput
- type ServiceStatus
- type UncordonNodeAction
- type UncordonNodeActionOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PersistentVolumeClaimRegistration ¶
func PersistentVolumeClaimRegistration[ In PersistentVolumeClaimResource, Out *PersistentVolumeClaimResourceOutput, P any, ](base runtime.ResourceRegistration, read func(context.Context, any, any, P) (any, error), known func(any, any, P, map[string][]string, bool) ([]string, error), ) persistentVolumeClaimRegistration[P]
PersistentVolumeClaimRegistration preserves explicit input/output types for schema extraction.
func PersistentVolumeRegistration ¶
func PersistentVolumeRegistration[ In PersistentVolumeResource, Out *PersistentVolumeResourceOutput, P any, ](base runtime.ResourceRegistration, read func(context.Context, any, any, P) (any, error), known func(any, any, P, map[string][]string, bool) ([]string, error), ) persistentVolumeRegistration[P]
PersistentVolumeRegistration exposes schema types and uses the observed PV during planning.
func PodRegistration ¶
func PodRegistration[In PodResource, Out *PodResourceOutput, P any]( base runtime.ResourceRegistration, read func(context.Context, any, any, P) (any, error), known func(any, any, P, map[string][]string, bool) ([]string, error), ) podRegistration[P]
PodRegistration uses saved and observed values to classify immutable changes.
func ReplicationControllerRegistration ¶ added in v0.2.0
func ReplicationControllerRegistration[ In ReplicationControllerResource, Out *ReplicationControllerResourceOutput, P any, ]( base runtime.ResourceRegistration, read func(context.Context, any, any, P) (any, error), known func(any, any, P, map[string][]string, bool) ([]string, error), ) replicationControllerRegistration[P]
ReplicationControllerRegistration uses saved and observed values to classify immutable changes.
Types ¶
type ConfigMapDataMetadata ¶
type ConfigMapDataObject ¶
type ConfigMapDataObject struct {
Metadata ConfigMapDataMetadata
Data map[string]string
}
type ConfigMapDataObjectOutput ¶
type ConfigMapDataObjectOutput struct {
Metadata ConfigMapDataMetadataOutput
Data map[string]string
}
type ConfigMapDataResource ¶
type ConfigMapDataResource struct {
Object ConfigMapDataObject
FieldManager *string
Force *bool
}
func (ConfigMapDataResource) Constraints ¶
func (r ConfigMapDataResource) Constraints() []constraint.Constraint
func (*ConfigMapDataResource) Create ¶
func (r *ConfigMapDataResource) Create( ctx context.Context, c *config.Configuration, ) (*ConfigMapDataResourceOutput, error)
func (ConfigMapDataResource) Defaults ¶
func (r ConfigMapDataResource) Defaults() []defaults.Default
func (*ConfigMapDataResource) Delete ¶
func (r *ConfigMapDataResource) Delete( ctx context.Context, c *config.Configuration, p configMapDataPrior, ) error
func (*ConfigMapDataResource) Read ¶
func (r *ConfigMapDataResource) Read( ctx context.Context, c *config.Configuration, p configMapDataPrior, ) (*ConfigMapDataResourceOutput, error)
func (*ConfigMapDataResource) ResourceDefinition ¶
func (r *ConfigMapDataResource) ResourceDefinition() runtime.ResourceDefinition[ ConfigMapDataResource, *ConfigMapDataResourceOutput, *config.Configuration, ]
func (*ConfigMapDataResource) Update ¶
func (r *ConfigMapDataResource) Update( ctx context.Context, c *config.Configuration, p configMapDataPrior, ) (*ConfigMapDataResourceOutput, error)
type ConfigMapDataResourceOutput ¶
type ConfigMapDataResourceOutput struct {
Server string
APIVersion string
Kind string
Object ConfigMapDataObjectOutput
}
type ConfigMapDataSource ¶
type ConfigMapDataSource struct {
// Metadata selects only by namespace and name. Namespace defaults to default;
// name is optional. Annotation and label maps do not select objects.
Metadata ConfigMapLookupMetadata
// Immutable does not affect the lookup; it is returned only for missing objects.
Immutable *bool
}
ConfigMapDataSource reads one ConfigMap without changing it. Missing objects return lookup metadata, empty data maps, and the configured immutable value.
func (ConfigMapDataSource) Constraints ¶
func (r ConfigMapDataSource) Constraints() []constraint.Constraint
func (ConfigMapDataSource) Defaults ¶
func (r ConfigMapDataSource) Defaults() []defaults.Default
func (*ConfigMapDataSource) Read ¶
func (r *ConfigMapDataSource) Read( ctx context.Context, c *config.Configuration, ) (*ConfigMapDataSourceOutput, error)
type ConfigMapDataSourceOutput ¶
type ConfigMapDataSourceOutput struct {
Metadata ConfigMapLookupMetadataOutput
Data map[string]string
// BinaryData contains standard padded-base64 encodings of remote bytes.
BinaryData map[string]string
Immutable bool
}
ConfigMapDataSourceOutput contains live, unfiltered values. Changes between plan and apply require a new plan. Data and BinaryData are not sensitive.
type ConfigMapLookupMetadata ¶
type ConfigMapMetadata ¶
type ConfigMapMetadataOutput ¶
type ConfigMapObject ¶
type ConfigMapObjectOutput ¶
type ConfigMapResource ¶
type ConfigMapResource struct {
Object ConfigMapObject
IgnoreAnnotations *[]string
IgnoreLabels *[]string
}
func (ConfigMapResource) Constraints ¶
func (r ConfigMapResource) Constraints() []constraint.Constraint
func (*ConfigMapResource) Create ¶
func (r *ConfigMapResource) Create( ctx context.Context, c *config.Configuration, ) (*ConfigMapResourceOutput, error)
func (*ConfigMapResource) Delete ¶
func (r *ConfigMapResource) Delete( ctx context.Context, c *config.Configuration, p configMapPrior, ) error
func (*ConfigMapResource) Read ¶
func (r *ConfigMapResource) Read( ctx context.Context, c *config.Configuration, p configMapPrior, ) (*ConfigMapResourceOutput, error)
func (*ConfigMapResource) ResourceDefinition ¶
func (r *ConfigMapResource) ResourceDefinition() runtime.ResourceDefinition[ ConfigMapResource, *ConfigMapResourceOutput, *config.Configuration, ]
func (*ConfigMapResource) Update ¶
func (r *ConfigMapResource) Update( ctx context.Context, c *config.Configuration, p configMapPrior, ) (*ConfigMapResourceOutput, error)
type ConfigMapResourceOutput ¶
type ConfigMapResourceOutput struct {
Server string
APIVersion string
Kind string
Object ConfigMapObjectOutput
}
type CordonNodeAction ¶ added in v0.2.0
type CordonNodeAction struct {
// Name identifies the existing cluster-scoped Node by its DNS subdomain name.
Name string
// ExpectedUID prevents changing a replacement Node with the same name.
ExpectedUID string
// Timeout bounds Kubernetes requests together and defaults to 10m.
Timeout *string
}
CordonNodeAction marks one existing Node unschedulable. It does not evict Pods or wait for readiness. An unchanged action skips and retains its last result. Change @trigger to invoke it again. Removal does not undo the cordon.
func (CordonNodeAction) Constraints ¶ added in v0.2.0
func (a CordonNodeAction) Constraints() []constraint.Constraint
func (CordonNodeAction) Defaults ¶ added in v0.2.0
func (a CordonNodeAction) Defaults() []defaults.Default
func (*CordonNodeAction) Run ¶ added in v0.2.0
func (a *CordonNodeAction) Run( ctx context.Context, c *config.Configuration, ) (out *CordonNodeActionOutput, err error)
type CordonNodeActionOutput ¶ added in v0.2.0
type CordonNodeActionOutput struct {
Server string
APIVersion string
Kind string
Name string
UID string
ResourceVersion string
Unschedulable bool
}
CordonNodeActionOutput describes the last successful invocation, including after Skip.
type DefaultServiceAccountObject ¶
type DefaultServiceAccountObject struct {
Metadata DefaultServiceAccountMetadata
ImagePullSecrets *[]ServiceAccountReference
Secrets *[]ServiceAccountReference
AutomountServiceAccountToken *bool
}
type DefaultServiceAccountObjectOutput ¶
type DefaultServiceAccountObjectOutput struct {
Metadata DefaultServiceAccountMetadataOutput
ImagePullSecrets []ServiceAccountReferenceOutput
Secrets []ServiceAccountReferenceOutput
AutomountServiceAccountToken bool
}
type DefaultServiceAccountResource ¶
type DefaultServiceAccountResource struct {
// Object contains the account identity, metadata, and Secret settings.
Object DefaultServiceAccountObject
// CreateTimeout limits adoption and defaults to 30s.
CreateTimeout *string
// IgnoreAnnotations filters untracked annotation keys that match these regular expressions.
IgnoreAnnotations *[]string
// IgnoreLabels filters untracked label keys that match these regular expressions.
IgnoreLabels *[]string
}
DefaultServiceAccountResource adopts the controller-created default ServiceAccount.
func (DefaultServiceAccountResource) Constraints ¶
func (r DefaultServiceAccountResource) Constraints() []constraint.Constraint
func (*DefaultServiceAccountResource) Create ¶
func (r *DefaultServiceAccountResource) Create( ctx context.Context, c *config.Configuration, ) (*DefaultServiceAccountResourceOutput, error)
func (DefaultServiceAccountResource) Defaults ¶
func (r DefaultServiceAccountResource) Defaults() []defaults.Default
func (*DefaultServiceAccountResource) Delete ¶
func (r *DefaultServiceAccountResource) Delete( ctx context.Context, c *config.Configuration, prior defaultServiceAccountPrior, ) error
func (*DefaultServiceAccountResource) Read ¶
func (r *DefaultServiceAccountResource) Read( ctx context.Context, c *config.Configuration, prior defaultServiceAccountPrior, ) (*DefaultServiceAccountResourceOutput, error)
func (*DefaultServiceAccountResource) ResourceDefinition ¶
func (r *DefaultServiceAccountResource) ResourceDefinition() runtime.ResourceDefinition[ DefaultServiceAccountResource, *DefaultServiceAccountResourceOutput, *config.Configuration, ]
func (*DefaultServiceAccountResource) Update ¶
func (r *DefaultServiceAccountResource) Update( ctx context.Context, c *config.Configuration, prior defaultServiceAccountPrior, ) (*DefaultServiceAccountResourceOutput, error)
type DefaultServiceAccountResourceOutput ¶
type DefaultServiceAccountResourceOutput struct {
Server string
APIVersion string
Kind string
DefaultSecretName string
Object DefaultServiceAccountObjectOutput
}
type DrainNodeAction ¶ added in v0.2.0
type DrainNodeAction struct {
// Name identifies the existing cluster-scoped Node.
Name string
// ExpectedUID prevents adopting a replacement Node with the same name.
ExpectedUID string
// Timeout defaults to 10m for requests, retries and original-UID waits together.
Timeout *string
}
DrainNodeAction cordons an expected Node and drains one complete Pod snapshot. Active unmanaged and emptyDir Pods block eviction. Mirror and live DaemonSet Pods remain. Failure never undoes cordon or earlier evictions. An unchanged action skips and retains its last result; removal does not uncordon the Node.
func (DrainNodeAction) Constraints ¶ added in v0.2.0
func (a DrainNodeAction) Constraints() []constraint.Constraint
func (DrainNodeAction) Defaults ¶ added in v0.2.0
func (a DrainNodeAction) Defaults() []defaults.Default
func (*DrainNodeAction) Run ¶ added in v0.2.0
func (a *DrainNodeAction) Run( ctx context.Context, c *config.Configuration, ) (out *DrainNodeActionOutput, err error)
type DrainNodeActionOutput ¶ added in v0.2.0
type DrainNodeActionOutput struct {
Server string
APIVersion string
Kind string
Name string
UID string
Unschedulable bool
Drained bool
DrainedPods []DrainPodIdentity
SkippedPods []DrainSkippedPod
}
DrainNodeActionOutput describes original UIDs from one post-cordon snapshot. Drained does not imply continuous emptiness or replacement workload readiness.
type DrainPodIdentity ¶ added in v0.2.0
type DrainSkippedPod ¶ added in v0.2.0
type EndpointsAddress ¶
type EndpointsAddressOutput ¶
type EndpointsDataSource ¶
type EndpointsDataSource struct {
Metadata EndpointsLookupMetadata
Subset *[]EndpointsLookupSubset
}
EndpointsDataSource reads one named Endpoints object.
func (EndpointsDataSource) Constraints ¶
func (r EndpointsDataSource) Constraints() []constraint.Constraint
func (EndpointsDataSource) Defaults ¶
func (r EndpointsDataSource) Defaults() []defaults.Default
func (*EndpointsDataSource) Read ¶
func (r *EndpointsDataSource) Read( ctx context.Context, c *config.Configuration, ) (*EndpointsDataSourceOutput, error)
type EndpointsDataSourceOutput ¶
type EndpointsDataSourceOutput struct {
Metadata EndpointsLookupMetadataOutput
Subset []EndpointsLookupSubsetOutput
}
type EndpointsLookupAddress ¶
type EndpointsLookupMetadata ¶
type EndpointsLookupPort ¶
type EndpointsLookupSubset ¶
type EndpointsLookupSubset struct {
Address *[]EndpointsLookupAddress
NotReadyAddress *[]EndpointsLookupAddress
Port *[]EndpointsLookupPort
}
type EndpointsLookupSubsetOutput ¶
type EndpointsLookupSubsetOutput struct {
Address []EndpointsLookupAddressOutput
NotReadyAddress []EndpointsLookupAddressOutput
Port []EndpointsLookupPortOutput
}
type EndpointsMetadata ¶
type EndpointsMetadataOutput ¶
type EndpointsPort ¶
type EndpointsPortOutput ¶
type EndpointsResource ¶
type EndpointsResource struct {
Metadata EndpointsMetadata
Subset *[]EndpointsSubset
IgnoreAnnotations *[]string
IgnoreLabels *[]string
}
func (EndpointsResource) Constraints ¶
func (r EndpointsResource) Constraints() []constraint.Constraint
func (*EndpointsResource) Create ¶
func (r *EndpointsResource) Create(ctx context.Context, c *config.Configuration) ( *EndpointsResourceOutput, error, )
func (*EndpointsResource) Delete ¶
func (*EndpointsResource) Delete( ctx context.Context, c *config.Configuration, p endpointsPrior, ) error
func (*EndpointsResource) Read ¶
func (r *EndpointsResource) Read(ctx context.Context, c *config.Configuration, p endpointsPrior) ( *EndpointsResourceOutput, error, )
func (*EndpointsResource) ResourceDefinition ¶
func (*EndpointsResource) ResourceDefinition() runtime.ResourceDefinition[ EndpointsResource, *EndpointsResourceOutput, *config.Configuration, ]
func (*EndpointsResource) Update ¶
func (r *EndpointsResource) Update(ctx context.Context, c *config.Configuration, p endpointsPrior) ( *EndpointsResourceOutput, error, )
type EndpointsResourceOutput ¶
type EndpointsResourceOutput struct {
Server string
APIVersion string
Kind string
Name string
Namespace string
UID string
Metadata EndpointsMetadataOutput
Subset []EndpointsSubsetOutput
}
type EndpointsSubset ¶
type EndpointsSubset struct {
Address *[]EndpointsAddress
NotReadyAddress *[]EndpointsAddress
Port *[]EndpointsPort
}
type EndpointsSubsetOutput ¶
type EndpointsSubsetOutput struct {
Address []EndpointsAddressOutput
NotReadyAddress []EndpointsAddressOutput
Port []EndpointsPortOutput
}
type LimitRangeItem ¶
type LimitRangeItemOutput ¶
type LimitRangeObject ¶
type LimitRangeObject struct {
Metadata ConfigMapMetadata
Spec *LimitRangeSpec
}
type LimitRangeObjectOutput ¶
type LimitRangeObjectOutput struct {
Metadata ConfigMapMetadataOutput
Spec *LimitRangeSpecOutput
}
type LimitRangeResource ¶
type LimitRangeResource struct {
Object LimitRangeObject
IgnoreAnnotations *[]string
IgnoreLabels *[]string
}
func (LimitRangeResource) Constraints ¶
func (r LimitRangeResource) Constraints() []constraint.Constraint
func (*LimitRangeResource) Create ¶
func (r *LimitRangeResource) Create( ctx context.Context, c *config.Configuration, ) (*LimitRangeResourceOutput, error)
func (*LimitRangeResource) Delete ¶
func (r *LimitRangeResource) Delete( ctx context.Context, c *config.Configuration, p limitRangePrior, ) error
func (*LimitRangeResource) Read ¶
func (r *LimitRangeResource) Read( ctx context.Context, c *config.Configuration, p limitRangePrior, ) (*LimitRangeResourceOutput, error)
func (*LimitRangeResource) ResourceDefinition ¶
func (r *LimitRangeResource) ResourceDefinition() runtime.ResourceDefinition[ LimitRangeResource, *LimitRangeResourceOutput, *config.Configuration, ]
func (*LimitRangeResource) Update ¶
func (r *LimitRangeResource) Update( ctx context.Context, c *config.Configuration, p limitRangePrior, ) (*LimitRangeResourceOutput, error)
type LimitRangeResourceOutput ¶
type LimitRangeResourceOutput struct {
Server string
APIVersion string
Kind string
Object LimitRangeObjectOutput
}
type LimitRangeSpec ¶
type LimitRangeSpec struct {
Limit *[]LimitRangeItem
}
type LimitRangeSpecOutput ¶
type LimitRangeSpecOutput struct {
Limit []LimitRangeItemOutput
}
type NamespaceDataSource ¶
type NamespaceDataSource struct{ Metadata NamespaceLookupMetadata }
NamespaceDataSource reads one cluster-scoped Namespace without changing it. A missing Namespace returns lookup metadata and null spec.
func (NamespaceDataSource) Constraints ¶
func (r NamespaceDataSource) Constraints() []constraint.Constraint
func (*NamespaceDataSource) Read ¶
func (r *NamespaceDataSource) Read( ctx context.Context, c *config.Configuration, ) (*NamespaceDataSourceOutput, error)
type NamespaceDataSourceOutput ¶
type NamespaceDataSourceOutput struct {
Metadata NamespaceLookupMetadataOutput
Spec *NamespaceLookupSpec
}
NamespaceDataSourceOutput contains live metadata and ordered finalizers. Existing Namespaces have a non-null spec, including when finalizers is empty.
type NamespaceLookupMetadata ¶
type NamespaceLookupMetadata struct {
Name string
Annotations *map[string]*string
Labels *map[string]*string
}
NamespaceLookupMetadata selects only by name. Configured maps are returned on absence, with null entries omitted; successful reads return all remote keys.
type NamespaceLookupSpec ¶
type NamespaceLookupSpec struct{ Finalizers []string }
type NamespaceMetadata ¶
type NamespaceMetadataOutput ¶
type NamespaceObject ¶
type NamespaceObject struct {
Metadata NamespaceMetadata
}
type NamespaceObjectOutput ¶
type NamespaceObjectOutput struct {
Metadata NamespaceMetadataOutput
}
type NamespaceResource ¶
type NamespaceResource struct {
// Object contains the required metadata object. Its writable fields are
// name, generate-name, annotations, and labels. Exactly one nonempty name
// or generate-name is required. Changing either configured identity field replaces the
// Namespace. A generated actual name is returned in object.metadata.name.
//
// Annotations and labels accept string values, including empty strings.
// Omitted and empty maps are equivalent. Updates use the latest observed
// maps, or saved outputs when no observation exists. If that baseline map
// is empty, adding its first key replaces the entire remote map, including
// hidden keys. With a nonempty baseline, updates change individual keys and
// preserve unrelated remote keys.
//
// Successful create and update outputs preserve the requested maps. Later
// reads return API values, filter internal Kubernetes keys and ignore
// patterns, and retain keys from prior outputs with their current values.
// Other nonignored remote keys remain visible; missing API keys disappear.
Object NamespaceObject
// WaitForDefaultServiceAccount defaults to false. When true, create waits
// for the default ServiceAccount in the actual created Namespace. It retries
// only not-found responses and completes when the account exists; it does
// not create an account or wait for a token. Read and update do not wait.
//
// Create, including this wait, has a 20-minute budget bounded by caller
// cancellation. If the wait fails, create returns an error and the Namespace
// can remain. The resource does not roll back or adopt it on retry. Manual
// cleanup can be required before retrying.
WaitForDefaultServiceAccount *bool
// DeleteTimeout is a positive Go duration, such as 5m or 30s, and defaults
// to 5m. Deletion uses the prior input's timeout, bounded by caller
// cancellation, for both the delete request and the wait for removal.
DeleteTimeout *string
// IgnoreAnnotations lists regular expressions matched anywhere in
// annotation keys during reads. Keys present in prior outputs remain
// visible with their actual API values even when a pattern matches. These
// patterns do not prevent explicitly configured annotations from being
// created or updated. Invalid expressions fail validation before mutation.
IgnoreAnnotations *[]string
// IgnoreLabels applies the same regular-expression and prior-output rules
// as ignore-annotations to label keys. It does not prevent explicitly
// configured labels from being created or updated.
IgnoreLabels *[]string
}
NamespaceResource manages a cluster-scoped Kubernetes Namespace. The library's namespace configuration has no effect on this resource. Kubernetes controls Namespace status and finalizers.
Reads, updates, and deletion use the saved server, name, and UID with current credentials. A Namespace with the same name and a different UID is never adopted. Updates change annotations and labels with JSON Patch and do not wait for the Namespace to become Active.
Deletion uses a UID precondition and waits for removal. A different UID means that the managed instance is gone. Only the Terminating phase is pending; other phases and API errors fail deletion. The resource does not clear finalizers or force finalization.
func (NamespaceResource) Constraints ¶
func (r NamespaceResource) Constraints() []constraint.Constraint
func (*NamespaceResource) Create ¶
func (r *NamespaceResource) Create( ctx context.Context, c *config.Configuration, ) (*NamespaceResourceOutput, error)
func (*NamespaceResource) Delete ¶
func (r *NamespaceResource) Delete( ctx context.Context, c *config.Configuration, p namespacePrior, ) error
func (*NamespaceResource) Read ¶
func (r *NamespaceResource) Read( ctx context.Context, c *config.Configuration, p namespacePrior, ) (*NamespaceResourceOutput, error)
func (*NamespaceResource) ResourceDefinition ¶
func (r *NamespaceResource) ResourceDefinition() runtime.ResourceDefinition[ NamespaceResource, *NamespaceResourceOutput, *config.Configuration, ]
func (*NamespaceResource) Update ¶
func (r *NamespaceResource) Update( ctx context.Context, c *config.Configuration, p namespacePrior, ) (*NamespaceResourceOutput, error)
type NamespaceResourceOutput ¶
type NamespaceResourceOutput struct {
Server string
APIVersion string
Kind string
Object NamespaceObjectOutput
}
type NamespacesDataSource ¶
type NamespacesDataSource struct{}
NamespacesDataSource lists the names of cluster-scoped Namespaces.
func (*NamespacesDataSource) Read ¶
func (r *NamespacesDataSource) Read( ctx context.Context, c *config.Configuration, ) (*NamespacesDataSourceOutput, error)
type NamespacesDataSourceOutput ¶
type NamespacesDataSourceOutput struct {
Namespaces []string
}
type NodeConditionOutput ¶ added in v0.2.0
type NodeConfigMapOutput ¶ added in v0.2.0
type NodeConfigSourceOutput ¶ added in v0.2.0
type NodeConfigSourceOutput struct{ ConfigMap *NodeConfigMapOutput }
type NodeConfigStatusOutput ¶ added in v0.2.0
type NodeConfigStatusOutput struct {
Assigned *NodeConfigSourceOutput
Active *NodeConfigSourceOutput
LastKnownGood *NodeConfigSourceOutput
Error string
}
type NodeDaemonEndpointsOutput ¶ added in v0.2.0
type NodeDaemonEndpointsOutput struct{ KubeletEndpoint NodeEndpointOutput }
type NodeDataSource ¶ added in v0.2.0
type NodeDataSource struct{ Metadata NodeIdentity }
func (NodeDataSource) Constraints ¶ added in v0.2.0
func (r NodeDataSource) Constraints() []constraint.Constraint
func (*NodeDataSource) Read ¶ added in v0.2.0
func (r *NodeDataSource) Read( ctx context.Context, c *config.Configuration, ) (*NodeDataSourceOutput, error)
type NodeDataSourceOutput ¶ added in v0.2.0
type NodeDataSourceOutput struct {
Metadata NodeMetadataOutput
Spec *NodeSpecOutput
Status *NodeStatusOutput
}
type NodeEndpointOutput ¶ added in v0.2.0
type NodeEndpointOutput struct{ Port int64 }
type NodeFeaturesOutput ¶ added in v0.2.0
type NodeFeaturesOutput struct{ SupplementalGroupsPolicy *bool }
type NodeIdentity ¶ added in v0.2.0
type NodeIdentity struct{ Name string }
type NodeImageOutput ¶ added in v0.2.0
type NodeLookupAddress ¶
type NodeLookupCondition ¶
type NodeLookupMetadata ¶
type NodeLookupResult ¶
type NodeLookupResult struct {
Metadata NodeLookupMetadata
Spec NodeLookupSpec
Status NodeLookupStatus
}
type NodeLookupSpec ¶
type NodeLookupSpec struct {
PodCIDR string
PodCidrs []string
ProviderID string
Unschedulable bool
Taints []NodeLookupTaint
}
type NodeLookupStatus ¶
type NodeLookupStatus struct {
Allocatable map[string]string
Capacity map[string]string
Addresses []NodeLookupAddress
Conditions []NodeLookupCondition
NodeInfo NodeLookupSystemInfo
}
type NodeLookupSystemInfo ¶
type NodeLookupTaint ¶
type NodeMetadataOutput ¶ added in v0.2.0
type NodeRuntimeFeaturesOutput ¶ added in v0.2.0
type NodeRuntimeHandlerOutput ¶ added in v0.2.0
type NodeRuntimeHandlerOutput struct {
Name string
Features *NodeRuntimeFeaturesOutput
}
type NodeSpecOutput ¶ added in v0.2.0
type NodeSpecOutput struct {
PodCIDR string
PodCidrs []string
ProviderID string
Unschedulable bool
Taints []NodeTaintOutput
ConfigSource *NodeConfigSourceOutput
ExternalID string
}
type NodeStatusOutput ¶ added in v0.2.0
type NodeStatusOutput struct {
Capacity map[string]string
Allocatable map[string]string
Phase string
Conditions []NodeConditionOutput
Addresses []NodeLookupAddress
DaemonEndpoints NodeDaemonEndpointsOutput
NodeInfo NodeSystemInfoOutput
Images []NodeImageOutput
VolumesInUse []string
VolumesAttached []NodeVolumeOutput
Config *NodeConfigStatusOutput
RuntimeHandlers []NodeRuntimeHandlerOutput
Features *NodeFeaturesOutput
}
type NodeSwapOutput ¶ added in v0.2.0
type NodeSwapOutput struct{ Capacity *int64 }
type NodeSystemInfoOutput ¶ added in v0.2.0
type NodeTaintMetadata ¶
type NodeTaintMetadata struct {
Name string
}
type NodeTaintMetadataOutput ¶
type NodeTaintObject ¶
type NodeTaintObject struct {
Metadata NodeTaintMetadata
Spec NodeTaintSpec
}
type NodeTaintObjectOutput ¶
type NodeTaintObjectOutput struct {
Metadata NodeTaintMetadataOutput
Spec NodeTaintSpec
}
type NodeTaintOutput ¶ added in v0.2.0
type NodeTaintResource ¶
type NodeTaintResource struct {
Object NodeTaintObject
FieldManager *string
Force *bool
}
func (NodeTaintResource) Constraints ¶
func (r NodeTaintResource) Constraints() []constraint.Constraint
func (*NodeTaintResource) Create ¶
func (r *NodeTaintResource) Create( ctx context.Context, c *config.Configuration, ) (*NodeTaintResourceOutput, error)
func (NodeTaintResource) Defaults ¶
func (r NodeTaintResource) Defaults() []defaults.Default
func (*NodeTaintResource) Delete ¶
func (r *NodeTaintResource) Delete( ctx context.Context, c *config.Configuration, p nodeTaintPrior, ) error
func (*NodeTaintResource) Read ¶
func (r *NodeTaintResource) Read( ctx context.Context, c *config.Configuration, p nodeTaintPrior, ) (*NodeTaintResourceOutput, error)
func (*NodeTaintResource) ResourceDefinition ¶
func (r *NodeTaintResource) ResourceDefinition() runtime.ResourceDefinition[ NodeTaintResource, *NodeTaintResourceOutput, *config.Configuration, ]
func (*NodeTaintResource) Update ¶
func (r *NodeTaintResource) Update( ctx context.Context, c *config.Configuration, p nodeTaintPrior, ) (*NodeTaintResourceOutput, error)
type NodeTaintResourceOutput ¶
type NodeTaintResourceOutput struct {
Server string
APIVersion string
Kind string
Object NodeTaintObjectOutput
}
type NodeTaintSpec ¶
type NodeTaintSpec struct {
Taints []NodeTaint
}
type NodeVolumeOutput ¶ added in v0.2.0
type NodeVolumeOutput struct{ Name, DevicePath string }
type NodesDataSource ¶
type NodesDataSource struct {
Metadata *NodesLookupMetadata
}
NodesDataSource lists cluster-scoped Nodes that match all supplied labels.
func (NodesDataSource) Constraints ¶
func (r NodesDataSource) Constraints() []constraint.Constraint
func (*NodesDataSource) Read ¶
func (r *NodesDataSource) Read( ctx context.Context, c *config.Configuration, ) (*NodesDataSourceOutput, error)
type NodesDataSourceOutput ¶
type NodesDataSourceOutput struct {
// Nodes is null when the API returns NotFound and empty when no Nodes match.
Nodes *[]NodeLookupResult
}
type NodesLookupMetadata ¶
type PersistentVolumeCSI ¶
type PersistentVolumeCSI struct {
Driver string
VolumeHandle string
FSType *string
VolumeAttributes *map[string]string
ReadOnly *bool
ControllerPublishSecretRef *PersistentVolumeSecretReference
NodeStageSecretRef *PersistentVolumeSecretReference
NodePublishSecretRef *PersistentVolumeSecretReference
ControllerExpandSecretRef *PersistentVolumeSecretReference
}
type PersistentVolumeCephFS ¶
type PersistentVolumeCinder ¶
type PersistentVolumeClaimDataSource ¶
type PersistentVolumeClaimDataSource struct {
Metadata PersistentVolumeClaimLookupMetadata
}
PersistentVolumeClaimDataSource reads a namespaced claim by its exact name.
func (PersistentVolumeClaimDataSource) Constraints ¶
func (r PersistentVolumeClaimDataSource) Constraints() []constraint.Constraint
func (*PersistentVolumeClaimDataSource) Read ¶
func (r *PersistentVolumeClaimDataSource) Read( ctx context.Context, c *config.Configuration, ) (*PersistentVolumeClaimDataSourceOutput, error)
type PersistentVolumeClaimDataSourceOutput ¶
type PersistentVolumeClaimDataSourceOutput struct {
Metadata PersistentVolumeClaimLookupMetadataOutput
Spec *PersistentVolumeClaimSpecOutput
}
PersistentVolumeClaimDataSourceOutput contains live claim data. A missing claim returns lookup metadata and a null spec.
type PersistentVolumeClaimObject ¶
type PersistentVolumeClaimObject struct {
Metadata ConfigMapMetadata
Spec PersistentVolumeClaimSpec
}
type PersistentVolumeClaimObjectOutput ¶
type PersistentVolumeClaimObjectOutput struct {
Metadata ConfigMapMetadataOutput
Spec PersistentVolumeClaimSpecOutput
}
type PersistentVolumeClaimResource ¶
type PersistentVolumeClaimResource struct {
// Object contains required metadata and spec. Exactly one nonempty name or generate-name is
// required. Namespace defaults to default. Spec quantities use Kubernetes quantity syntax.
// Access modes and selector values are sets. Immutable spec edits and storage decreases replace.
// Omitted volume-name, storage-class-name and volume-mode retain API assigned values.
Object PersistentVolumeClaimObject
// WaitUntilBound defaults to true and affects create only. Only Pending is retried.
WaitUntilBound *bool
// CreateTimeout is a Go duration, defaults to 5m, and bounds the entire create operation.
// Zero and negative durations expire immediately. Caller cancellation always takes precedence.
CreateTimeout *string
// IgnoreAnnotations contains unanchored key regexes used during reads. Tracked keys override
// internal-key and regex filters. Updates still write explicitly configured keys.
IgnoreAnnotations *[]string
// IgnoreLabels applies the annotation filtering rules independently to label keys.
IgnoreLabels *[]string
// contains filtered or unexported fields
}
PersistentVolumeClaimResource manages a PVC, with JSON Patch updates and saved UID identity. Create waits for Bound by default. A failed create can leave a PVC requiring manual cleanup. Deletion waits for removal and never clears finalizers or deletes a backing volume.
func (PersistentVolumeClaimResource) Constraints ¶
func (r PersistentVolumeClaimResource) Constraints() []constraint.Constraint
func (*PersistentVolumeClaimResource) Create ¶
func (r *PersistentVolumeClaimResource) Create( ctx context.Context, c *config.Configuration, ) (*PersistentVolumeClaimResourceOutput, error)
func (*PersistentVolumeClaimResource) Delete ¶
func (r *PersistentVolumeClaimResource) Delete( ctx context.Context, c *config.Configuration, p persistentVolumeClaimPrior, ) error
func (*PersistentVolumeClaimResource) Read ¶
func (r *PersistentVolumeClaimResource) Read( ctx context.Context, c *config.Configuration, p persistentVolumeClaimPrior, ) (*PersistentVolumeClaimResourceOutput, error)
func (*PersistentVolumeClaimResource) ResourceDefinition ¶
func (r *PersistentVolumeClaimResource) ResourceDefinition() runtime.ResourceDefinition[ PersistentVolumeClaimResource, *PersistentVolumeClaimResourceOutput, *config.Configuration, ]
func (*PersistentVolumeClaimResource) Update ¶
func (r *PersistentVolumeClaimResource) Update( ctx context.Context, c *config.Configuration, p persistentVolumeClaimPrior, ) (*PersistentVolumeClaimResourceOutput, error)
type PersistentVolumeClaimResourceOutput ¶
type PersistentVolumeClaimResourceOutput struct {
Server string
APIVersion string
Kind string
Object PersistentVolumeClaimObjectOutput
}
type PersistentVolumeClaimSelector ¶
type PersistentVolumeClaimSelector struct {
MatchLabels *map[string]string
MatchExpressions *[]PersistentVolumeClaimExpression
}
type PersistentVolumeClaimSpec ¶
type PersistentVolumeClaimSpec struct {
AccessModes []string
Resources PersistentVolumeClaimResources
Selector *PersistentVolumeClaimSelector
VolumeName *string
StorageClassName *string
VolumeMode *string
}
type PersistentVolumeClaimSpecOutput ¶
type PersistentVolumeClaimSpecOutput struct {
AccessModes []string
Resources PersistentVolumeClaimResourcesOutput
Selector *PersistentVolumeClaimSelector
VolumeName string
StorageClassName string
VolumeMode string
}
type PersistentVolumeDataSource ¶
type PersistentVolumeDataSource struct {
Metadata PersistentVolumeLookupMetadata
}
func (PersistentVolumeDataSource) Constraints ¶
func (r PersistentVolumeDataSource) Constraints() []constraint.Constraint
func (*PersistentVolumeDataSource) Read ¶
func (r *PersistentVolumeDataSource) Read( ctx context.Context, c *config.Configuration, ) (*PersistentVolumeDataSourceOutput, error)
type PersistentVolumeDataSourceOutput ¶
type PersistentVolumeDataSourceOutput struct {
Metadata PersistentVolumeLookupMetadataOutput
Spec PersistentVolumeSpecOutput
}
type PersistentVolumeFC ¶
type PersistentVolumeFlocker ¶
type PersistentVolumeISCSI ¶
type PersistentVolumeLocal ¶
type PersistentVolumeLocal struct {
Path *string
}
type PersistentVolumeNFS ¶
type PersistentVolumeNodeAffinity ¶
type PersistentVolumeNodeAffinity struct {
Required *PersistentVolumeNodeSelector
}
type PersistentVolumeNodeSelector ¶
type PersistentVolumeNodeSelector struct {
NodeSelectorTerms []PersistentVolumeNodeSelectorTerm
}
type PersistentVolumeNodeSelectorTerm ¶
type PersistentVolumeNodeSelectorTerm struct {
MatchExpressions *[]PersistentVolumeNodeSelectorRequirement
MatchFields *[]PersistentVolumeNodeSelectorRequirement
}
type PersistentVolumeObject ¶
type PersistentVolumeObject struct {
Metadata NamespaceMetadata
Spec PersistentVolumeSpec
}
type PersistentVolumeObjectOutput ¶
type PersistentVolumeObjectOutput struct {
Metadata NamespaceMetadataOutput
Spec PersistentVolumeSpecOutput
}
type PersistentVolumeQuobyte ¶
type PersistentVolumeRBD ¶
type PersistentVolumeResource ¶
type PersistentVolumeResource struct {
Object PersistentVolumeObject
// CreateTimeout is a Go duration and defaults to 5m.
CreateTimeout *string
// IgnoreAnnotations and IgnoreLabels match untracked metadata keys.
IgnoreAnnotations *[]string
IgnoreLabels *[]string
// contains filtered or unexported fields
}
PersistentVolumeResource manages a cluster-scoped PersistentVolume. Create waits for Available or Bound. Backing-source edits replace the PV.
func (PersistentVolumeResource) Constraints ¶
func (r PersistentVolumeResource) Constraints() []constraint.Constraint
func (*PersistentVolumeResource) Create ¶
func (r *PersistentVolumeResource) Create( ctx context.Context, c *config.Configuration, ) (*PersistentVolumeResourceOutput, error)
func (*PersistentVolumeResource) Delete ¶
func (r *PersistentVolumeResource) Delete( ctx context.Context, c *config.Configuration, p persistentVolumePrior, ) error
func (*PersistentVolumeResource) Read ¶
func (r *PersistentVolumeResource) Read( ctx context.Context, c *config.Configuration, p persistentVolumePrior, ) (*PersistentVolumeResourceOutput, error)
func (*PersistentVolumeResource) ResourceDefinition ¶
func (r *PersistentVolumeResource) ResourceDefinition() runtime.ResourceDefinition[ PersistentVolumeResource, *PersistentVolumeResourceOutput, *config.Configuration, ]
func (*PersistentVolumeResource) Update ¶
func (r *PersistentVolumeResource) Update( ctx context.Context, c *config.Configuration, p persistentVolumePrior, ) (*PersistentVolumeResourceOutput, error)
type PersistentVolumeResourceOutput ¶
type PersistentVolumeResourceOutput struct {
Server string
APIVersion string
Kind string
Object PersistentVolumeObjectOutput
}
type PersistentVolumeSource ¶
type PersistentVolumeSource struct {
AWSElasticBlockStore *PersistentVolumeAWSElasticBlockStore
AzureDisk *PersistentVolumeAzureDisk
AzureFile *PersistentVolumeAzureFile
CephFS *PersistentVolumeCephFS
Cinder *PersistentVolumeCinder
CSI *PersistentVolumeCSI
FC *PersistentVolumeFC
FlexVolume *PersistentVolumeFlexVolume
Flocker *PersistentVolumeFlocker
GCEPersistentDisk *PersistentVolumeGCEPersistentDisk
Glusterfs *PersistentVolumeGlusterfs
HostPath *PersistentVolumeHostPath
ISCSI *PersistentVolumeISCSI
Local *PersistentVolumeLocal
NFS *PersistentVolumeNFS
PhotonPersistentDisk *PersistentVolumePhotonPersistentDisk
Quobyte *PersistentVolumeQuobyte
RBD *PersistentVolumeRBD
VsphereVolume *PersistentVolumeVsphereVolume
}
type PersistentVolumeSpec ¶
type PersistentVolumeSpec struct {
AccessModes []string
Capacity map[string]string
PersistentVolumeSource PersistentVolumeSource
PersistentVolumeReclaimPolicy *string
VolumeMode *string
StorageClassName *string
MountOptions *[]string
ClaimRef *PersistentVolumeClaimReference
NodeAffinity *PersistentVolumeNodeAffinity
}
type PersistentVolumeSpecOutput ¶
type PersistentVolumeSpecOutput struct {
AccessModes []string
Capacity map[string]string
PersistentVolumeSource PersistentVolumeSource
PersistentVolumeReclaimPolicy string
VolumeMode string
StorageClassName string
MountOptions []string
ClaimRef *PersistentVolumeClaimReference
NodeAffinity *PersistentVolumeNodeAffinity
}
type PodAffinity ¶
type PodAffinity struct {
RequiredDuringSchedulingIgnoredDuringExecution *[]PodAffinityTerm
PreferredDuringSchedulingIgnoredDuringExecution *[]PodWeightedPodAffinityTerm
}
type PodAffinityTerm ¶
type PodAffinityTerm struct {
LabelSelector *PodSelector `json:"labelSelector"`
NamespaceSelector *PodSelector `json:"namespaceSelector"`
Namespaces *[]string `json:"namespaces" set:"true"`
TopologyKey string `json:"topologyKey"`
}
type PodAzureDiskVolume ¶
type PodAzureFileVolume ¶
type PodCSILocalSecretRef ¶
type PodCSILocalSecretRef struct {
Name *string `json:"name"`
}
type PodCSIVolume ¶
type PodCapabilities ¶
type PodCephFSVolume ¶
type PodCinderVolume ¶
type PodClaimMetadata ¶
type PodClaimResources ¶
type PodClaimSpec ¶
type PodClaimSpec struct {
AccessModes []string `json:"accessModes" set:"true" replace:"true"`
Resources PodClaimResources `json:"resources"`
Selector *PodSelector `json:"selector" replace:"true"`
VolumeName *string `json:"volumeName" computed:"true" replace:"true"`
StorageClassName *string `computed:"true" omit:"true" replace:"true" preserve-live-empty:"true"`
VolumeMode *string `json:"volumeMode" computed:"true" omit:"true" replace:"true"`
}
type PodConfigMapProjection ¶
type PodConfigMapProjection struct {
Name *string `json:"name"`
Items *[]PodKeyPath `json:"items"`
Optional *bool `json:"optional"`
}
type PodConfigMapProjectionOutput ¶
type PodConfigMapProjectionOutput struct {
Name *string `json:"name"`
Items *[]PodKeyPath `json:"items"`
}
type PodConfigMapVolume ¶
type PodConfigMapVolume struct {
Name *string `json:"name"`
Optional *bool `json:"optional"`
DefaultMode *string `json:"defaultMode" default:"0644" format:"mode"`
Items *[]PodKeyPath `json:"items"`
}
type PodContainer ¶
type PodContainer struct {
Name string `json:"name" replace:"true"`
Image *string `json:"image" replace:"true"`
Args *[]string `json:"args" replace:"true"`
Command *[]string `json:"command" replace:"true"`
Env *[]PodEnv `json:"env"`
EnvFrom *[]PodEnvFrom `json:"envFrom"`
ImagePullPolicy *string `computed:"true" replace:"true"`
Lifecycle *PodLifecycle `json:"lifecycle"`
LivenessProbe *PodProbe `json:"livenessProbe" replace:"count"`
ReadinessProbe *PodProbe `json:"readinessProbe" replace:"count"`
StartupProbe *PodProbe `json:"startupProbe" replace:"count"`
Port *[]PodPort `json:"ports"`
Resources *PodResources `json:"resources" computed:"true" replace:"count"`
SecurityContext *PodContainerSecurityContext `json:"securityContext" replace:"count"`
RestartPolicy *string `computed:"true" replace:"true"`
Stdin *bool `json:"stdin" replace:"true"`
StdinOnce *bool `json:"stdinOnce" replace:"true"`
TTY *bool `json:"tty" replace:"true"`
TerminationMessagePath *string `default:"/dev/termination-log" replace:"true"`
TerminationMessagePolicy *string `computed:"true" replace:"true"`
VolumeMount *[]PodMount `json:"volumeMounts" replace:"count"`
VolumeDevice *[]PodVolumeDevice `json:"volumeDevices" replace:"count"`
WorkingDir *string `json:"workingDir" replace:"true"`
}
type PodContainerSecurityContext ¶
type PodContainerSecurityContext struct {
AllowPrivilegeEscalation *bool `default:"true" replace:"true"`
Capabilities *PodCapabilities `json:"capabilities"`
Privileged *bool `json:"privileged" replace:"true"`
ReadOnlyRootFilesystem *bool `json:"readOnlyRootFilesystem" replace:"true"`
RunAsGroup *string `json:"runAsGroup" format:"int64" replace:"true"`
RunAsNonRoot *bool `json:"runAsNonRoot" replace:"true"`
RunAsUser *string `json:"runAsUser" format:"int64" replace:"true"`
SeccompProfile *PodSeccompProfile `json:"seccompProfile"`
SELinuxOptions *PodSELinuxOptions `json:"seLinuxOptions"`
}
type PodDNSConfig ¶
type PodDNSConfig struct {
Nameservers *[]string `json:"nameservers" replace:"true"`
Searches *[]string `json:"searches"`
Option *[]PodDNSOption `json:"options"`
}
type PodDNSOption ¶
type PodDataSource ¶
type PodDataSource struct{ Metadata PodLookupMetadata }
PodDataSource reads the spec, phase and metadata of one named Pod.
func (PodDataSource) Constraints ¶
func (r PodDataSource) Constraints() []constraint.Constraint
func (PodDataSource) Defaults ¶
func (r PodDataSource) Defaults() []defaults.Default
func (*PodDataSource) Read ¶
func (r *PodDataSource) Read( ctx context.Context, c *config.Configuration, ) (*PodDataSourceOutput, error)
type PodDataSourceOutput ¶
type PodDataSourceOutput struct {
Metadata PodLookupMetadataOutput
Spec *PodLookupSpec
Status *string
}
type PodDownwardAPIProjection ¶
type PodDownwardAPIProjection struct {
Items *[]PodProjectedDownwardItem `json:"items"`
}
type PodDownwardAPIVolume ¶
type PodDownwardAPIVolume struct {
DefaultMode *string `json:"defaultMode" default:"0644" format:"mode"`
Items *[]PodDownwardItem `json:"items"`
}
type PodDownwardAPIVolumeOutput ¶
type PodDownwardAPIVolumeOutput struct {
DefaultMode *string `json:"defaultMode" format:"mode"`
Items *[]PodProjectedDownwardItem `json:"items"`
}
type PodDownwardItem ¶
type PodDownwardItem struct {
FieldRef PodFieldRef `json:"fieldRef"`
Path string `json:"path"`
Mode *string `json:"mode" format:"mode"`
ResourceFieldRef *PodDownwardResourceRef `json:"resourceFieldRef"`
}
type PodDownwardResourceRef ¶
type PodEmptyDirVolume ¶
type PodEnv ¶
type PodEnv struct {
Name string `json:"name" replace:"true"`
Value *string `json:"value" replace:"true"`
ValueFrom *PodEnvValueFrom `json:"valueFrom"`
}
type PodEnvFieldRef ¶
type PodEnvFrom ¶
type PodEnvFrom struct {
Prefix *string `json:"prefix" replace:"true"`
ConfigMapRef *PodEnvFromRef `json:"configMapRef"`
SecretRef *PodEnvFromRef `json:"secretRef"`
}
type PodEnvFromRef ¶
type PodEnvValueFrom ¶
type PodEnvValueFrom struct {
ConfigMapKeyRef *PodKeyRef `json:"configMapKeyRef"`
SecretKeyRef *PodKeyRef `json:"secretKeyRef"`
FieldRef *PodEnvFieldRef `json:"fieldRef"`
ResourceFieldRef *PodResourceRef `json:"resourceFieldRef"`
}
type PodEphemeralVolume ¶
type PodEphemeralVolume struct {
VolumeClaimTemplate PodVolumeClaimTemplate `json:"volumeClaimTemplate"`
}
type PodFCVolume ¶
type PodFieldRef ¶
type PodFlexVolume ¶
type PodFlexVolumeOutput ¶
type PodFlockerVolume ¶
type PodGitRepoVolume ¶
type PodGlusterfsVolume ¶
type PodHTTPGet ¶
type PodHTTPGet struct {
Host *string `json:"host"`
Path *string `json:"path"`
Scheme *string `json:"scheme" default:"HTTP"`
Port *string `json:"port" format:"port"`
HTTPHeader *[]PodHTTPHeader `json:"httpHeaders"`
}
type PodHTTPHeader ¶
type PodHandler ¶
type PodHandler struct {
Exec *PodExec `json:"exec"`
HTTPGet *PodHTTPGet `json:"httpGet"`
TCPSocket *PodTCPSocket `json:"tcpSocket"`
}
type PodHostAlias ¶
type PodHostPathVolume ¶
type PodISCSIVolume ¶
type PodKeyPath ¶
type PodLifecycle ¶
type PodLifecycle struct {
PostStart *PodHandler `json:"postStart" replace:"count"`
PreStop *PodHandler `json:"preStop" replace:"count"`
}
type PodLocalSecretRef ¶
type PodLocalVolume ¶
type PodLocalVolume struct {
Path *string `json:"path"`
}
type PodLookupAffinity ¶
type PodLookupAffinity struct {
RequiredDuringSchedulingIgnoredDuringExecution []PodLookupAffinityTerm
PreferredDuringSchedulingIgnoredDuringExecution []PodLookupWeightedPodAffinityTerm
}
type PodLookupAffinityTerm ¶
type PodLookupAffinityTerm struct {
LabelSelector *PodLookupSelector `json:"labelSelector"`
NamespaceSelector *PodLookupSelector `json:"namespaceSelector"`
Namespaces []string `json:"namespaces" set:"true"`
TopologyKey string `json:"topologyKey"`
}
type PodLookupCSILocalSecretRef ¶
type PodLookupCSILocalSecretRef struct {
Name string `json:"name"`
}
type PodLookupCSIVolume ¶
type PodLookupCapabilities ¶
type PodLookupCinderVolume ¶
type PodLookupClaimMetadata ¶
type PodLookupClaimSpec ¶
type PodLookupClaimSpec struct {
AccessModes []string `json:"accessModes" set:"true"`
Resources PodLookupResources `json:"resources"`
Selector *PodLookupSelector `json:"selector"`
VolumeName string `json:"volumeName"`
StorageClassName string
VolumeMode string `json:"volumeMode"`
}
type PodLookupConfigMapProjection ¶
type PodLookupConfigMapProjection struct {
Name string `json:"name"`
Items []PodLookupKeyPath `json:"items"`
Optional bool `json:"-"`
}
type PodLookupConfigMapVolume ¶
type PodLookupConfigMapVolume struct {
Name string `json:"name"`
Optional bool `json:"optional"`
DefaultMode string `json:"defaultMode" format:"mode"`
Items []PodLookupKeyPath `json:"items"`
}
type PodLookupContainer ¶
type PodLookupContainer struct {
Name string `json:"name"`
Image string `json:"image"`
Args []string `json:"args"`
Command []string `json:"command"`
Env []PodLookupEnv `json:"env"`
EnvFrom []PodLookupEnvFrom `json:"envFrom"`
ImagePullPolicy string
Lifecycle *PodLookupLifecycle `json:"lifecycle"`
LivenessProbe *PodLookupProbe `json:"livenessProbe"`
ReadinessProbe *PodLookupProbe `json:"readinessProbe"`
StartupProbe *PodLookupProbe `json:"startupProbe"`
Port []PodLookupPort `json:"ports"`
Resources PodLookupResources `json:"resources"`
SecurityContext *PodLookupContainerSecurityContext `json:"securityContext"`
RestartPolicy string
Stdin bool `json:"stdin"`
StdinOnce bool `json:"stdinOnce"`
TTY bool `json:"tty"`
TerminationMessagePath string
TerminationMessagePolicy string
VolumeMount []PodLookupMount `json:"volumeMounts"`
VolumeDevice []PodVolumeDevice `json:"volumeDevices"`
WorkingDir string `json:"workingDir"`
}
type PodLookupContainerSecurityContext ¶
type PodLookupContainerSecurityContext struct {
AllowPrivilegeEscalation bool
Capabilities *PodLookupCapabilities `json:"capabilities"`
Privileged bool `json:"privileged"`
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem"`
RunAsGroup string `json:"runAsGroup" format:"int64"`
RunAsNonRoot bool `json:"runAsNonRoot"`
RunAsUser string `json:"runAsUser" format:"int64"`
SeccompProfile *PodLookupSeccompProfile `json:"seccompProfile"`
SELinuxOptions *PodLookupSELinuxOptions `json:"seLinuxOptions"`
}
type PodLookupDNSConfig ¶
type PodLookupDNSConfig struct {
Nameservers []string `json:"nameservers"`
Searches []string `json:"searches"`
Option []PodLookupDNSOption `json:"options"`
}
type PodLookupDNSOption ¶
type PodLookupDownwardAPIProjection ¶
type PodLookupDownwardAPIProjection struct {
Items []PodLookupProjectedDownwardItem `json:"items"`
}
type PodLookupDownwardAPIVolume ¶
type PodLookupDownwardAPIVolume struct {
DefaultMode string `json:"defaultMode" format:"mode"`
Items []PodLookupProjectedDownwardItem `json:"items"`
}
type PodLookupEmptyDirVolume ¶
type PodLookupEnv ¶
type PodLookupEnv struct {
Name string `json:"name"`
Value string `json:"value"`
ValueFrom *PodLookupEnvValueFrom `json:"valueFrom"`
}
type PodLookupEnvFrom ¶
type PodLookupEnvFrom struct {
Prefix string `json:"prefix"`
ConfigMapRef *PodLookupEnvFromRef `json:"configMapRef"`
SecretRef *PodLookupEnvFromRef `json:"secretRef"`
}
type PodLookupEnvFromRef ¶
type PodLookupEnvValueFrom ¶
type PodLookupEnvValueFrom struct {
ConfigMapKeyRef *PodLookupKeyRef `json:"configMapKeyRef"`
SecretKeyRef *PodLookupKeyRef `json:"secretKeyRef"`
FieldRef *PodLookupFieldRef `json:"fieldRef"`
ResourceFieldRef *PodLookupResourceRef `json:"resourceFieldRef"`
}
type PodLookupEphemeralVolume ¶
type PodLookupEphemeralVolume struct {
VolumeClaimTemplate PodLookupVolumeClaimTemplate `json:"volumeClaimTemplate"`
}
type PodLookupExec ¶
type PodLookupExec struct {
Command []string `json:"command"`
}
type PodLookupFCVolume ¶
type PodLookupFieldRef ¶
type PodLookupFlexVolume ¶
type PodLookupFlockerVolume ¶
type PodLookupGRPC ¶
type PodLookupGitRepoVolume ¶
type PodLookupHTTPGet ¶
type PodLookupHTTPGet struct {
Host string `json:"host"`
Path string `json:"path"`
Scheme string `json:"scheme"`
Port string `json:"port"`
HTTPHeader []PodLookupHTTPHeader `json:"httpHeaders"`
}
type PodLookupHTTPHeader ¶
type PodLookupHandler ¶
type PodLookupHandler struct {
Exec *PodLookupExec `json:"exec"`
HTTPGet *PodLookupHTTPGet `json:"httpGet"`
TCPSocket *PodTCPSocket `json:"tcpSocket"`
}
type PodLookupHostPathVolume ¶
type PodLookupISCSIVolume ¶
type PodLookupKeyPath ¶
type PodLookupKeyRef ¶
type PodLookupLifecycle ¶
type PodLookupLifecycle struct {
PostStart *PodLookupHandler `json:"postStart"`
PreStop *PodLookupHandler `json:"preStop"`
}
type PodLookupMetadata ¶
type PodLookupMetadataOutput ¶
type PodLookupMount ¶
type PodLookupNFSVolume ¶
type PodLookupNodeAffinity ¶
type PodLookupNodeAffinity struct {
RequiredDuringSchedulingIgnoredDuringExecution *PodLookupNodeSelector
PreferredDuringSchedulingIgnoredDuringExecution []PodLookupPreferredSchedulingTerm
}
type PodLookupNodeExpression ¶
type PodLookupNodeSelector ¶
type PodLookupNodeSelector struct {
NodeSelectorTerm []PodLookupNodeTerm `json:"nodeSelectorTerms"`
}
type PodLookupNodeTerm ¶
type PodLookupNodeTerm struct {
MatchExpressions []PodLookupNodeExpression `json:"matchExpressions"`
MatchFields []PodLookupNodeExpression `json:"matchFields"`
}
type PodLookupPort ¶
type PodLookupPreferredSchedulingTerm ¶
type PodLookupPreferredSchedulingTerm struct {
Weight int64 `json:"weight"`
Preference PodLookupNodeTerm `json:"preference"`
}
type PodLookupProbe ¶
type PodLookupProbe struct {
Exec *PodLookupExec `json:"exec"`
HTTPGet *PodLookupHTTPGet `json:"httpGet"`
TCPSocket *PodTCPSocket `json:"tcpSocket"`
GRPC *PodLookupGRPC `json:"grpc"`
FailureThreshold int64 `json:"failureThreshold"`
InitialDelaySeconds int64 `json:"initialDelaySeconds"`
PeriodSeconds int64 `json:"periodSeconds"`
SuccessThreshold int64 `json:"successThreshold"`
TimeoutSeconds int64 `json:"timeoutSeconds"`
}
type PodLookupProjectedDownwardItem ¶
type PodLookupProjectedDownwardItem struct {
FieldRef *PodLookupFieldRef `json:"fieldRef"`
Path string `json:"path"`
Mode string `json:"mode" format:"mode"`
ResourceFieldRef *PodLookupResourceRef `json:"resourceFieldRef"`
}
type PodLookupProjectedVolume ¶
type PodLookupProjectedVolume struct {
DefaultMode string `json:"defaultMode" format:"mode"`
Sources []PodLookupProjection `json:"sources"`
}
type PodLookupProjection ¶
type PodLookupProjection struct {
Secret *PodLookupSecretProjection `json:"secret"`
ConfigMap *PodLookupConfigMapProjection `json:"configMap"`
DownwardAPI *PodLookupDownwardAPIProjection `json:"downwardAPI"`
ServiceAccountToken *PodLookupServiceAccountTokenProjection `json:"serviceAccountToken"`
}
type PodLookupQuobyteVolume ¶
type PodLookupRBDVolume ¶
type PodLookupRBDVolume struct {
CephMonitors []string `json:"monitors" set:"true"`
RBDImage string `json:"image"`
FSType string `json:"fsType"`
Keyring string `json:"keyring"`
RadosUser string `json:"user"`
RBDPool string `json:"pool"`
ReadOnly bool `json:"readOnly"`
SecretRef *PodLookupCSILocalSecretRef `json:"secretRef"`
}
type PodLookupResourceRef ¶
type PodLookupResources ¶
type PodLookupSELinuxOptions ¶
type PodLookupSchedulingAffinity ¶
type PodLookupSchedulingAffinity struct {
NodeAffinity *PodLookupNodeAffinity `json:"nodeAffinity"`
PodAffinity *PodLookupAffinity `json:"podAffinity"`
PodAntiAffinity *PodLookupAffinity `json:"podAntiAffinity"`
}
type PodLookupSeccompProfile ¶
type PodLookupSecretProjection ¶
type PodLookupSecretProjection struct {
Name string `json:"name"`
Items []PodLookupKeyPath `json:"items"`
Optional bool `json:"optional"`
}
type PodLookupSecretVolume ¶
type PodLookupSecretVolume struct {
SecretName string `json:"secretName"`
Optional bool `json:"optional"`
DefaultMode string `json:"defaultMode" format:"mode"`
Items []PodLookupKeyPath `json:"items"`
}
type PodLookupSecurityContext ¶
type PodLookupSecurityContext struct {
FSGroup string `json:"fsGroup" format:"int64"`
RunAsGroup string `json:"runAsGroup" format:"int64"`
RunAsNonRoot bool `json:"runAsNonRoot"`
RunAsUser string `json:"runAsUser" format:"int64"`
SeccompProfile *PodLookupSeccompProfile `json:"seccompProfile"`
SELinuxOptions *PodLookupSELinuxOptions `json:"seLinuxOptions"`
FSGroupChangePolicy string `json:"fsGroupChangePolicy"`
SupplementalGroups []int64 `json:"supplementalGroups" set:"true"`
WindowsOptions *PodLookupWindowsOptions `json:"windowsOptions"`
Sysctl []PodSysctl `json:"sysctls"`
}
type PodLookupSelector ¶
type PodLookupSelector struct {
MatchLabels map[string]string `json:"matchLabels"`
MatchExpressions []PodLookupSelectorRequirement `json:"matchExpressions"`
}
type PodLookupSpec ¶
type PodLookupSpec struct {
ActiveDeadlineSeconds int64 `json:"activeDeadlineSeconds"`
AutomountServiceAccountToken bool
DNSPolicy string `json:"dnsPolicy"`
EnableServiceLinks bool
HostIPC bool `json:"hostIPC"`
HostNetwork bool `json:"hostNetwork"`
HostPID bool `json:"hostPID"`
Hostname string `json:"hostname"`
NodeName string `json:"nodeName"`
NodeSelector map[string]string `json:"nodeSelector"`
RuntimeClassName string
PriorityClassName string
RestartPolicy string
SchedulerName string
ServiceAccountName string
Subdomain string `json:"subdomain"`
TerminationGracePeriodSeconds int64
Container []PodLookupContainer `json:"containers"`
InitContainer []PodLookupContainer `json:"initContainers"`
ReadinessGate []PodReadinessGate `json:"readinessGates"`
ImagePullSecrets []PodNamedReference
HostAliases []PodHostAlias `json:"hostAliases"`
DNSConfig *PodLookupDNSConfig `json:"dnsConfig"`
SecurityContext *PodLookupSecurityContext `json:"securityContext"`
OS *PodOS `json:"os"`
Toleration []PodLookupToleration `json:"tolerations"`
TopologySpreadConstraint []PodLookupTopologySpreadConstraint `json:"topologySpreadConstraints"`
Affinity *PodLookupSchedulingAffinity `json:"affinity"`
Volume []PodLookupVolume `json:"volumes"`
}
type PodLookupToleration ¶
type PodLookupTopologySpreadConstraint ¶
type PodLookupTopologySpreadConstraint struct {
MatchLabelKeys []string `json:"matchLabelKeys" set:"true"`
MaxSkew int64 `json:"maxSkew"`
MinDomains int64 `json:"minDomains"`
NodeAffinityPolicy string `json:"nodeAffinityPolicy"`
NodeTaintsPolicy string `json:"nodeTaintsPolicy"`
TopologyKey string `json:"topologyKey"`
WhenUnsatisfiable string `json:"whenUnsatisfiable"`
LabelSelector *PodLookupSelector `json:"labelSelector"`
}
type PodLookupVolume ¶
type PodLookupVolume struct {
Name string `json:"name"`
ConfigMap *PodLookupConfigMapVolume `json:"configMap"`
Secret *PodLookupSecretVolume `json:"secret"`
DownwardAPI *PodLookupDownwardAPIVolume `json:"downwardAPI"`
EmptyDir *PodLookupEmptyDirVolume `json:"emptyDir"`
GitRepo *PodLookupGitRepoVolume `json:"gitRepo"`
PersistentVolumeClaim *PodLookupPersistentVolumeClaimVolume `json:"persistentVolumeClaim"`
Projected *PodLookupProjectedVolume `json:"projected"`
CSI *PodLookupCSIVolume `json:"csi"`
Ephemeral *PodLookupEphemeralVolume `json:"ephemeral"`
HostPath *PodLookupHostPathVolume `json:"hostPath"`
AWSElasticBlockStore *PodLookupAWSElasticBlockStoreVolume `json:"awsElasticBlockStore"`
AzureDisk *PodLookupAzureDiskVolume `json:"azureDisk"`
AzureFile *PodLookupAzureFileVolume `json:"azureFile"`
Cinder *PodLookupCinderVolume `json:"cinder"`
FC *PodLookupFCVolume `json:"fc"`
FlexVolume *PodLookupFlexVolume `json:"flexVolume"`
Flocker *PodLookupFlockerVolume `json:"flocker"`
GCEPersistentDisk *PodLookupGCEPersistentDiskVolume `json:"gcePersistentDisk"`
Glusterfs *PodLookupGlusterfsVolume `json:"glusterfs"`
ISCSI *PodLookupISCSIVolume `json:"iscsi"`
NFS *PodLookupNFSVolume `json:"nfs"`
PhotonPersistentDisk *PodLookupPhotonPersistentDiskVolume `json:"photonPersistentDisk"`
Quobyte *PodLookupQuobyteVolume `json:"quobyte"`
RBD *PodLookupRBDVolume `json:"rbd"`
VsphereVolume *PodLookupVsphereVolume `json:"vsphereVolume"`
}
type PodLookupVolumeClaimTemplate ¶
type PodLookupVolumeClaimTemplate struct {
Metadata *PodLookupClaimMetadata `json:"metadata"`
Spec PodLookupClaimSpec `json:"spec"`
}
type PodLookupVsphereVolume ¶
type PodLookupWeightedPodAffinityTerm ¶
type PodLookupWeightedPodAffinityTerm struct {
Weight int64 `json:"weight"`
PodAffinityTerm PodLookupAffinityTerm `json:"podAffinityTerm"`
}
type PodLookupWindowsOptions ¶
type PodNFSVolume ¶
type PodNamedReference ¶
type PodNamedReference struct {
Name string `json:"name"`
}
type PodNodeAffinity ¶
type PodNodeAffinity struct {
RequiredDuringSchedulingIgnoredDuringExecution *PodNodeSelector
PreferredDuringSchedulingIgnoredDuringExecution *[]PodPreferredSchedulingTerm
}
type PodNodeExpression ¶
type PodNodeField ¶
type PodNodeSelector ¶
type PodNodeSelector struct {
NodeSelectorTerm *[]PodNodeTerm `json:"nodeSelectorTerms"`
}
type PodNodeTerm ¶
type PodNodeTerm struct {
MatchExpressions *[]PodNodeExpression `json:"matchExpressions"`
MatchFields *[]PodNodeField `json:"matchFields" replace:"true"`
}
type PodPort ¶
type PodPort struct {
ContainerPort int64 `json:"containerPort" cast:"int32" replace:"true"`
HostIP *string `json:"hostIP" replace:"true"`
HostPort *int64 `json:"hostPort" cast:"int32" omit:"true" replace:"true"`
Name *string `json:"name" replace:"true"`
Protocol *string `json:"protocol" default:"TCP" replace:"true"`
}
type PodPreferredSchedulingTerm ¶
type PodPreferredSchedulingTerm struct {
Weight int64 `json:"weight" format:"int32-cast"`
Preference PodNodeTerm `json:"preference"`
}
type PodProbe ¶
type PodProbe struct {
Exec *PodExec `json:"exec"`
HTTPGet *PodHTTPGet `json:"httpGet"`
TCPSocket *PodTCPSocket `json:"tcpSocket"`
GRPC *PodGRPC `json:"grpc"`
FailureThreshold *int64 `json:"failureThreshold" default:"3" format:"int32-cast"`
InitialDelaySeconds *int64 `json:"initialDelaySeconds" default:"0" format:"int32-cast"`
PeriodSeconds *int64 `json:"periodSeconds" default:"10" format:"int32-cast"`
SuccessThreshold *int64 `json:"successThreshold" default:"1" format:"int32-cast"`
TimeoutSeconds *int64 `json:"timeoutSeconds" default:"1" format:"int32-cast"`
}
type PodProjectedDownwardItem ¶
type PodProjectedDownwardItem struct {
FieldRef *PodFieldRef `json:"fieldRef"`
Path string `json:"path"`
Mode *string `json:"mode" format:"mode"`
ResourceFieldRef *PodDownwardResourceRef `json:"resourceFieldRef"`
}
type PodProjectedVolume ¶
type PodProjectedVolume struct {
DefaultMode *string `json:"defaultMode" default:"0644" format:"mode"`
Sources []PodProjectionGroup `json:"sources"`
}
type PodProjectedVolumeOutput ¶
type PodProjectedVolumeOutput struct {
DefaultMode *string `json:"defaultMode" default:"0644" format:"mode"`
Sources []PodProjectionGroupOutput `json:"sources"`
}
type PodProjectionGroup ¶
type PodProjectionGroup struct {
Secret *[]PodSecretProjection `json:"secret"`
ConfigMap *[]PodConfigMapProjection `json:"configMap"`
DownwardAPI *PodDownwardAPIProjection `json:"downwardAPI"`
ServiceAccountToken *PodServiceAccountTokenProjection `json:"serviceAccountToken"`
}
type PodProjectionGroupOutput ¶
type PodProjectionGroupOutput struct {
Secret *[]PodSecretProjection `json:"secret"`
ConfigMap *[]PodConfigMapProjectionOutput `json:"configMap"`
DownwardAPI *PodDownwardAPIProjection `json:"downwardAPI"`
ServiceAccountToken *PodServiceAccountTokenProjection `json:"serviceAccountToken"`
}
type PodQuobyteVolume ¶
type PodRBDVolume ¶
type PodRBDVolume struct {
CephMonitors []string `json:"monitors" set:"true"`
RBDImage string `json:"image"`
FSType *string `json:"fsType"`
Keyring *string `json:"keyring" computed:"true"`
RadosUser *string `json:"user" default:"admin"`
RBDPool *string `json:"pool" default:"rbd"`
ReadOnly *bool `json:"readOnly"`
SecretRef *PodLocalSecretRef `json:"secretRef"`
}
type PodRBDVolumeOutput ¶
type PodRBDVolumeOutput struct {
CephMonitors []string `json:"monitors" set:"true"`
RBDImage string `json:"image"`
FSType *string `json:"fsType"`
Keyring *string `json:"keyring" computed:"true"`
RadosUser *string `json:"user" default:"admin"`
RBDPool *string `json:"pool" default:"rbd"`
ReadOnly *bool `json:"readOnly"`
SecretRef *PodCSILocalSecretRef `json:"secretRef"`
}
type PodReadinessGate ¶
type PodReadinessGate struct {
ConditionType string `json:"conditionType"`
}
type PodResource ¶
type PodResource struct {
Metadata ServiceMetadata
Spec PodSpec
TargetState *[]string
CreateTimeout *string
DeleteTimeout *string
IgnoreAnnotations *[]string
IgnoreLabels *[]string
// contains filtered or unexported fields
}
PodResource manages a namespaced Pod and waits for a requested phase on creation.
func (PodResource) Constraints ¶
func (r PodResource) Constraints() []constraint.Constraint
func (*PodResource) Create ¶
func (r *PodResource) Create( ctx context.Context, c *config.Configuration, ) (*PodResourceOutput, error)
func (PodResource) Defaults ¶
func (r PodResource) Defaults() []defaults.Default
func (*PodResource) Delete ¶
func (r *PodResource) Delete(ctx context.Context, c *config.Configuration, prior podPrior) error
func (*PodResource) Read ¶
func (r *PodResource) Read( ctx context.Context, c *config.Configuration, prior podPrior, ) (*PodResourceOutput, error)
func (*PodResource) ResourceDefinition ¶
func (r *PodResource) ResourceDefinition() runtime.ResourceDefinition[ PodResource, *PodResourceOutput, *config.Configuration, ]
func (*PodResource) Update ¶
func (r *PodResource) Update( ctx context.Context, c *config.Configuration, prior podPrior, ) (*PodResourceOutput, error)
type PodResourceOutput ¶
type PodResourceOutput struct {
Server string
APIVersion string
Kind string
Namespace string
Name string
UID string
Metadata ServiceMetadataOutput
Spec PodSpecOutput
}
type PodResourceRef ¶
type PodResources ¶
type PodSELinuxOptions ¶
type PodSchedulingAffinity ¶
type PodSchedulingAffinity struct {
NodeAffinity *PodNodeAffinity `json:"nodeAffinity"`
PodAffinity *PodAffinity `json:"podAffinity"`
PodAntiAffinity *PodAffinity `json:"podAntiAffinity"`
}
type PodSeccompProfile ¶
type PodSecretProjection ¶
type PodSecretProjection struct {
Name *string `json:"name"`
Items *[]PodKeyPath `json:"items"`
Optional *bool `json:"optional"`
}
type PodSecretVolume ¶
type PodSecretVolume struct {
SecretName *string `json:"secretName"`
Optional *bool `json:"optional"`
DefaultMode *string `json:"defaultMode" default:"0644" format:"mode"`
Items *[]PodKeyPath `json:"items"`
}
type PodSecurityContext ¶
type PodSecurityContext struct {
FSGroup *string `json:"fsGroup" format:"int64" replace:"true"`
RunAsGroup *string `json:"runAsGroup" format:"int64" replace:"true"`
RunAsNonRoot *bool `json:"runAsNonRoot" replace:"true"`
RunAsUser *string `json:"runAsUser" format:"int64" replace:"true"`
SeccompProfile *PodSeccompProfile `json:"seccompProfile"`
SELinuxOptions *PodSELinuxOptions `json:"seLinuxOptions"`
FSGroupChangePolicy *string `json:"fsGroupChangePolicy" omit:"true" replace:"true"`
SupplementalGroups *[]int64 `json:"supplementalGroups" set:"true" replace:"true"`
WindowsOptions *PodWindowsOptions `json:"windowsOptions"`
Sysctl *[]PodSysctl `json:"sysctls"`
}
type PodSelector ¶
type PodSelector struct {
MatchLabels *map[string]string `json:"matchLabels"`
MatchExpressions *[]PodSelectorRequirement `json:"matchExpressions"`
}
type PodSelectorRequirement ¶
type PodSpec ¶
type PodSpec struct {
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds" omit:"true"`
AutomountServiceAccountToken *bool `default:"true" replace:"true"`
DNSPolicy *string `json:"dnsPolicy" default:"ClusterFirst" replace:"true"`
EnableServiceLinks *bool `default:"true" replace:"true"`
HostIPC *bool `json:"hostIPC" replace:"true"`
HostNetwork *bool `json:"hostNetwork" replace:"true"`
HostPID *bool `json:"hostPID" replace:"true"`
Hostname *string `json:"hostname" computed:"true" replace:"true"`
NodeName *string `json:"nodeName" computed:"true" replace:"true"`
NodeSelector *map[string]string `json:"nodeSelector" replace:"true"`
RuntimeClassName *string `omit:"true" replace:"true"`
PriorityClassName *string `replace:"true"`
RestartPolicy *string `default:"Always" replace:"true"`
SchedulerName *string `computed:"true" replace:"true"`
ServiceAccountName *string `computed:"true" replace:"true"`
Subdomain *string `json:"subdomain" replace:"true"`
TerminationGracePeriodSeconds *int64 `default:"30" replace:"true"`
Container *[]PodContainer `json:"containers"`
InitContainer *[]PodContainer `json:"initContainers" replace:"count"`
ReadinessGate *[]PodReadinessGate `json:"readinessGates" computed:"true" replace:"true"`
ImagePullSecrets *[]PodNamedReference `computed:"true" replace:"true"`
HostAliases *[]PodHostAlias `json:"hostAliases" replace:"true"`
DNSConfig *PodDNSConfig `json:"dnsConfig"`
SecurityContext *PodSecurityContext `json:"securityContext"`
OS *PodOS `json:"os"`
Toleration *[]PodToleration `json:"tolerations"`
TopologySpreadConstraint *[]PodTopologySpreadConstraint `json:"topologySpreadConstraints"`
Affinity *PodSchedulingAffinity `json:"affinity" replace:"count"`
Volume *[]PodVolume `json:"volumes"`
}
type PodSpecOutput ¶
type PodSpecOutput struct {
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds"`
AutomountServiceAccountToken *bool
DNSPolicy *string `json:"dnsPolicy"`
EnableServiceLinks *bool
HostIPC *bool `json:"hostIPC"`
HostNetwork *bool `json:"hostNetwork"`
HostPID *bool `json:"hostPID"`
Hostname *string `json:"hostname" computed:"true"`
NodeName *string `json:"nodeName" computed:"true"`
NodeSelector *map[string]string `json:"nodeSelector"`
RuntimeClassName *string `omit:"true"`
PriorityClassName *string
RestartPolicy *string
SchedulerName *string `computed:"true"`
ServiceAccountName *string `computed:"true"`
Subdomain *string `json:"subdomain"`
TerminationGracePeriodSeconds *int64
Container *[]PodContainer `json:"containers"`
InitContainer *[]PodContainer `json:"initContainers"`
ReadinessGate *[]PodReadinessGate `json:"readinessGates" computed:"true"`
ImagePullSecrets *[]PodNamedReference `computed:"true"`
HostAliases *[]PodHostAlias `json:"hostAliases"`
DNSConfig *PodDNSConfig `json:"dnsConfig"`
SecurityContext *PodSecurityContext `json:"securityContext"`
OS *PodOS `json:"os"`
Toleration *[]PodToleration `json:"tolerations"`
TopologySpreadConstraint *[]PodTopologySpreadConstraint `json:"topologySpreadConstraints"`
Affinity *PodSchedulingAffinity `json:"affinity"`
Volume *[]PodVolumeOutput `json:"volumes"`
}
type PodTCPSocket ¶
type PodTCPSocket struct {
Port string `json:"port" format:"port"`
}
type PodToleration ¶
type PodToleration struct {
Effect *string `json:"effect" replace:"true"`
Key *string `json:"key" replace:"true"`
Operator *string `json:"operator" default:"Equal" replace:"true"`
TolerationSeconds *string `json:"tolerationSeconds" format:"int64" replace:"true"`
Value *string `json:"value" replace:"true"`
}
type PodTopologySpreadConstraint ¶
type PodTopologySpreadConstraint struct {
MatchLabelKeys *[]string `json:"matchLabelKeys" set:"true" replace:"true"`
MaxSkew *int64 `json:"maxSkew" default:"1" format:"int32-cast"`
MinDomains *int64 `json:"minDomains" omit:"true" format:"int32-cast" replace:"true"`
NodeAffinityPolicy *string `json:"nodeAffinityPolicy" omit:"true" replace:"true"`
NodeTaintsPolicy *string `json:"nodeTaintsPolicy" omit:"true" replace:"true"`
TopologyKey *string `json:"topologyKey"`
WhenUnsatisfiable *string `json:"whenUnsatisfiable" default:"DoNotSchedule"`
LabelSelector *PodSelector `json:"labelSelector"`
}
type PodVolume ¶
type PodVolume struct {
Name *string `json:"name"`
ConfigMap *PodConfigMapVolume `json:"configMap"`
Secret *PodSecretVolume `json:"secret"`
DownwardAPI *PodDownwardAPIVolume `json:"downwardAPI"`
EmptyDir *PodEmptyDirVolume `json:"emptyDir"`
GitRepo *PodGitRepoVolume `json:"gitRepo"`
PersistentVolumeClaim *PodPersistentVolumeClaimVolume `json:"persistentVolumeClaim"`
Projected *PodProjectedVolume `json:"projected"`
CSI *PodCSIVolume `json:"csi"`
Ephemeral *PodEphemeralVolume `json:"ephemeral"`
HostPath *PodHostPathVolume `json:"hostPath"`
AWSElasticBlockStore *PodAWSElasticBlockStoreVolume `json:"awsElasticBlockStore"`
AzureDisk *PodAzureDiskVolume `json:"azureDisk"`
AzureFile *PodAzureFileVolume `json:"azureFile"`
Cinder *PodCinderVolume `json:"cinder"`
FC *PodFCVolume `json:"fc"`
FlexVolume *PodFlexVolume `json:"flexVolume"`
Flocker *PodFlockerVolume `json:"flocker"`
GCEPersistentDisk *PodGCEPersistentDiskVolume `json:"gcePersistentDisk"`
Glusterfs *PodGlusterfsVolume `json:"glusterfs"`
ISCSI *PodISCSIVolume `json:"iscsi"`
NFS *PodNFSVolume `json:"nfs"`
PhotonPersistentDisk *PodPhotonPersistentDiskVolume `json:"photonPersistentDisk"`
Quobyte *PodQuobyteVolume `json:"quobyte"`
RBD *PodRBDVolume `json:"rbd"`
VsphereVolume *PodVsphereVolume `json:"vsphereVolume"`
Local *PodLocalVolume `json:"-"`
CephFS *PodCephFSVolume `json:"-"`
}
type PodVolumeClaimTemplate ¶
type PodVolumeClaimTemplate struct {
Metadata *PodClaimMetadata `json:"metadata"`
Spec PodClaimSpec `json:"spec"`
}
type PodVolumeDevice ¶
type PodVolumeOutput ¶
type PodVolumeOutput struct {
Name *string `json:"name"`
ConfigMap *PodConfigMapVolume `json:"configMap"`
Secret *PodSecretVolume `json:"secret"`
DownwardAPI *PodDownwardAPIVolumeOutput `json:"downwardAPI"`
EmptyDir *PodEmptyDirVolume `json:"emptyDir"`
GitRepo *PodGitRepoVolume `json:"gitRepo"`
PersistentVolumeClaim *PodPersistentVolumeClaimVolume `json:"persistentVolumeClaim"`
Projected *PodProjectedVolumeOutput `json:"projected"`
CSI *PodCSIVolume `json:"csi"`
Ephemeral *PodEphemeralVolume `json:"ephemeral"`
HostPath *PodHostPathVolume `json:"hostPath"`
AWSElasticBlockStore *PodAWSElasticBlockStoreVolume `json:"awsElasticBlockStore"`
AzureDisk *PodAzureDiskVolume `json:"azureDisk"`
AzureFile *PodAzureFileVolumeOutput `json:"azureFile"`
Cinder *PodCinderVolume `json:"cinder"`
FC *PodFCVolume `json:"fc"`
FlexVolume *PodFlexVolumeOutput `json:"flexVolume"`
Flocker *PodFlockerVolume `json:"flocker"`
GCEPersistentDisk *PodGCEPersistentDiskVolume `json:"gcePersistentDisk"`
Glusterfs *PodGlusterfsVolume `json:"glusterfs"`
ISCSI *PodISCSIVolume `json:"iscsi"`
NFS *PodNFSVolume `json:"nfs"`
PhotonPersistentDisk *PodPhotonPersistentDiskVolume `json:"photonPersistentDisk"`
Quobyte *PodQuobyteVolume `json:"quobyte"`
RBD *PodRBDVolumeOutput `json:"rbd"`
VsphereVolume *PodVsphereVolume `json:"vsphereVolume"`
}
type PodVsphereVolume ¶
type PodWeightedPodAffinityTerm ¶
type PodWeightedPodAffinityTerm struct {
Weight int64 `json:"weight" format:"int32-cast"`
PodAffinityTerm PodAffinityTerm `json:"podAffinityTerm"`
}
type PodWindowsOptions ¶
type ReplicationControllerPodSpec ¶ added in v0.2.0
type ReplicationControllerPodSpec struct {
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds" computed:"true"`
AutomountServiceAccountToken *bool `default:"true" replace:"true"`
DNSPolicy *string `json:"dnsPolicy" replace:"true" computed:"true"`
EnableServiceLinks *bool `default:"true" replace:"true"`
HostIPC *bool `json:"hostIPC" replace:"true" computed:"true"`
HostNetwork *bool `json:"hostNetwork" replace:"true" computed:"true"`
HostPID *bool `json:"hostPID" replace:"true" computed:"true"`
Hostname *string `json:"hostname" computed:"true" replace:"true"`
NodeName *string `json:"nodeName" computed:"true" replace:"true"`
NodeSelector *map[string]string `json:"nodeSelector" replace:"true" computed:"true"`
RuntimeClassName *string `replace:"true" computed:"true" omit:"true"`
PriorityClassName *string `replace:"true" computed:"true"`
RestartPolicy *string `replace:"true" computed:"true"`
SchedulerName *string `computed:"true" replace:"true"`
ServiceAccountName *string `computed:"true" replace:"true"`
Subdomain *string `json:"subdomain" replace:"true" computed:"true"`
TerminationGracePeriodSeconds *int64 `replace:"true" computed:"true"`
Container *[]PodContainer `json:"containers"`
InitContainer *[]PodContainer `json:"initContainers" replace:"true"`
ReadinessGate *[]PodReadinessGate `json:"readinessGates" computed:"true" replace:"true"`
ImagePullSecrets *[]PodNamedReference `computed:"true" replace:"true"`
HostAliases *[]PodHostAlias `json:"hostAliases" replace:"true" computed:"true"`
DNSConfig *PodDNSConfig `json:"dnsConfig"`
SecurityContext *PodSecurityContext `json:"securityContext" computed:"true"`
OS *PodOS `json:"os"`
Toleration *[]PodToleration `json:"tolerations"`
TopologySpreadConstraint *[]PodTopologySpreadConstraint `json:"topologySpreadConstraints"`
Affinity *PodSchedulingAffinity `json:"affinity" replace:"true"`
Volume *[]PodVolume `json:"volumes"`
}
type ReplicationControllerResource ¶ added in v0.2.0
type ReplicationControllerResource struct {
Metadata ServiceMetadata
Spec ReplicationControllerSpec
CreateTimeout *string
UpdateTimeout *string
DeleteTimeout *string
IgnoreLabels *[]string
IgnoreAnnotations *[]string
// contains filtered or unexported fields
}
func (ReplicationControllerResource) Constraints ¶ added in v0.2.0
func (r ReplicationControllerResource) Constraints() []constraint.Constraint
func (*ReplicationControllerResource) Create ¶ added in v0.2.0
func (r *ReplicationControllerResource) Create( ctx context.Context, c *config.Configuration, ) (*ReplicationControllerResourceOutput, error)
func (ReplicationControllerResource) Defaults ¶ added in v0.2.0
func (r ReplicationControllerResource) Defaults() []defaults.Default
func (*ReplicationControllerResource) Delete ¶ added in v0.2.0
func (r *ReplicationControllerResource) Delete( ctx context.Context, c *config.Configuration, prior replicationControllerPrior, ) error
func (*ReplicationControllerResource) Read ¶ added in v0.2.0
func (r *ReplicationControllerResource) Read( ctx context.Context, c *config.Configuration, prior replicationControllerPrior, ) (*ReplicationControllerResourceOutput, error)
func (*ReplicationControllerResource) ResourceDefinition ¶ added in v0.2.0
func (r *ReplicationControllerResource) ResourceDefinition() runtime.ResourceDefinition[ ReplicationControllerResource, *ReplicationControllerResourceOutput, *config.Configuration, ]
func (*ReplicationControllerResource) Update ¶ added in v0.2.0
func (r *ReplicationControllerResource) Update( ctx context.Context, c *config.Configuration, prior replicationControllerPrior, ) (*ReplicationControllerResourceOutput, error)
type ReplicationControllerResourceOutput ¶ added in v0.2.0
type ReplicationControllerResourceOutput struct {
Server string
APIVersion string
Kind string
Namespace string
Name string
UID string
Metadata ServiceMetadataOutput
Spec ReplicationControllerSpecOutput
}
type ReplicationControllerSpec ¶ added in v0.2.0
type ReplicationControllerSpec struct {
MinReadySeconds *int64 `json:"minReadySeconds" default:"0" format:"int32-cast"`
Replicas *int64 `json:"replicas" default:"1" format:"int32-cast"`
Selector map[string]string `json:"selector"`
Template ReplicationControllerTemplate `json:"template"`
}
type ReplicationControllerSpecOutput ¶ added in v0.2.0
type ReplicationControllerSpecOutput struct {
MinReadySeconds int64 `json:"minReadySeconds"`
Replicas *int64 `json:"replicas"`
Selector map[string]string `json:"selector"`
Template ReplicationControllerTemplateOutput `json:"template"`
}
type ReplicationControllerTemplate ¶ added in v0.2.0
type ReplicationControllerTemplate struct {
Metadata ReplicationControllerTemplateMetadata `json:"metadata"`
Spec ReplicationControllerPodSpec `json:"spec"`
}
type ReplicationControllerTemplateMetadata ¶ added in v0.2.0
type ReplicationControllerTemplateOutput ¶ added in v0.2.0
type ReplicationControllerTemplateOutput struct {
Metadata ServiceMetadataOutput `json:"metadata"`
Spec PodSpecOutput `json:"spec"`
}
type ResourceQuotaResource ¶
type ResourceQuotaResource struct {
Metadata ServiceMetadata
Spec *ResourceQuotaSpec
IgnoreAnnotations *[]string
IgnoreLabels *[]string
CreateTimeout *string
UpdateTimeout *string
}
ResourceQuotaResource manages a namespaced quota and waits for hard limits on create and spec updates. A change to identity, cluster, or scopes replaces it.
func (ResourceQuotaResource) Constraints ¶
func (r ResourceQuotaResource) Constraints() []constraint.Constraint
func (*ResourceQuotaResource) Create ¶
func (r *ResourceQuotaResource) Create( ctx context.Context, c *config.Configuration, ) (*ResourceQuotaResourceOutput, error)
func (*ResourceQuotaResource) Delete ¶
func (r *ResourceQuotaResource) Delete( ctx context.Context, c *config.Configuration, p resourceQuotaPrior, ) error
func (*ResourceQuotaResource) Read ¶
func (r *ResourceQuotaResource) Read( ctx context.Context, c *config.Configuration, p resourceQuotaPrior, ) (*ResourceQuotaResourceOutput, error)
func (*ResourceQuotaResource) ResourceDefinition ¶
func (r *ResourceQuotaResource) ResourceDefinition() runtime.ResourceDefinition[ ResourceQuotaResource, *ResourceQuotaResourceOutput, *config.Configuration, ]
func (*ResourceQuotaResource) Update ¶
func (r *ResourceQuotaResource) Update( ctx context.Context, c *config.Configuration, p resourceQuotaPrior, ) (*ResourceQuotaResourceOutput, error)
type ResourceQuotaResourceOutput ¶
type ResourceQuotaResourceOutput struct {
Server string
APIVersion string
Kind string
Name string
Namespace string
UID string
Metadata ServiceMetadataOutput
Spec ResourceQuotaSpecOutput
}
type ResourceQuotaScopeSelector ¶
type ResourceQuotaScopeSelector struct {
MatchExpressions *[]ResourceQuotaScopeExpression
}
type ResourceQuotaScopeSelectorOutput ¶
type ResourceQuotaScopeSelectorOutput struct {
MatchExpressions []ResourceQuotaScopeExpression
}
type ResourceQuotaSpec ¶
type ResourceQuotaSpec struct {
Hard *map[string]string
Scopes *[]string
ScopeSelector *ResourceQuotaScopeSelector
}
type ResourceQuotaSpecOutput ¶
type ResourceQuotaSpecOutput struct {
Hard map[string]string
Scopes []string
ScopeSelector *ResourceQuotaScopeSelectorOutput
}
type SecretDataMetadata ¶
type SecretDataObject ¶
type SecretDataObject struct {
Metadata SecretDataMetadata
Data map[string]string
}
type SecretDataObjectOutput ¶
type SecretDataObjectOutput struct {
Metadata SecretDataMetadataOutput
Data map[string]string
}
type SecretDataResource ¶
type SecretDataResource struct {
Object SecretDataObject `ub:",sensitive"`
FieldManager *string
Force *bool
}
func (SecretDataResource) Constraints ¶
func (r SecretDataResource) Constraints() []constraint.Constraint
func (*SecretDataResource) Create ¶
func (r *SecretDataResource) Create( ctx context.Context, c *config.Configuration, ) (*SecretDataResourceOutput, error)
func (SecretDataResource) Defaults ¶
func (r SecretDataResource) Defaults() []defaults.Default
func (*SecretDataResource) Delete ¶
func (r *SecretDataResource) Delete( ctx context.Context, c *config.Configuration, p secretDataPrior, ) error
func (*SecretDataResource) Read ¶
func (r *SecretDataResource) Read( ctx context.Context, c *config.Configuration, p secretDataPrior, ) (*SecretDataResourceOutput, error)
func (*SecretDataResource) ResourceDefinition ¶
func (r *SecretDataResource) ResourceDefinition() runtime.ResourceDefinition[ SecretDataResource, *SecretDataResourceOutput, *config.Configuration, ]
func (*SecretDataResource) Update ¶
func (r *SecretDataResource) Update( ctx context.Context, c *config.Configuration, p secretDataPrior, ) (*SecretDataResourceOutput, error)
type SecretDataResourceOutput ¶
type SecretDataResourceOutput struct {
Server string
APIVersion string
Kind string
Object SecretDataObjectOutput `ub:",sensitive"`
}
type SecretDataSource ¶
type SecretDataSource struct {
Metadata SecretLookupMetadata
// BinaryData selects live keys by presence of a non-null value.
BinaryData *map[string]*string `ub:",sensitive"`
}
SecretDataSource reads one named Secret and partitions its payload by key.
func (SecretDataSource) Constraints ¶
func (r SecretDataSource) Constraints() []constraint.Constraint
func (SecretDataSource) Defaults ¶
func (r SecretDataSource) Defaults() []defaults.Default
func (*SecretDataSource) Read ¶
func (r *SecretDataSource) Read( ctx context.Context, c *config.Configuration, ) (*SecretDataSourceOutput, error)
type SecretDataSourceOutput ¶
type SecretLookupMetadata ¶
type SecretMetadata ¶
type SecretMetadata struct {
Name *string
GenerateName *string
Namespace *string
Annotations *map[string]string
Labels *map[string]string
}
SecretMetadata contains writable Secret metadata.
type SecretMetadataOutput ¶
type SecretMetadataOutput struct {
Name string
GenerateName string
Namespace string
UID string
Annotations map[string]string
Labels map[string]string
}
SecretMetadataOutput contains stable identity and filtered metadata.
type SecretObject ¶
type SecretObject struct {
Metadata SecretMetadata
Data *map[string]string
BinaryData *map[string]string
Immutable *bool
Type *string
}
SecretObject contains the desired metadata and payload partitions.
type SecretObjectOutput ¶
type SecretObjectOutput struct {
Metadata SecretMetadataOutput
Data map[string]string
BinaryData map[string]string
Immutable bool
Type string
}
SecretObjectOutput contains the observed stable Secret fields.
type SecretResource ¶
type SecretResource struct {
// Object contains required metadata, optional text data, base64 binary-data,
// immutable, and type. Metadata accepts name or generate-name, namespace,
// annotations, and labels; name conflicts with generate-name. The server
// returns the generated name. Omitted namespace defaults to default and type
// to Opaque. Omitted data preserves computed text; explicit empty data clears
// it. Selected binary keys form a separate read partition. Create sends text
// through stringData, which wins overlaps; complete data updates favor binary
// values. Sensitivity masks this object; ordinary values persist in state.
// Mark outputs that select nested values with @sensitive in the factory.
Object SecretObject `ub:",sensitive"`
// WaitForServiceAccountToken defaults to true and waits only during creation
// of a returned service-account-token Secret until its token key exists.
WaitForServiceAccountToken *bool
// CreateTimeout is a positive Go duration, default 1m, for the entire create.
CreateTimeout *string
// IgnoreAnnotations filters untracked annotation keys with regular expressions.
IgnoreAnnotations *[]string
// IgnoreLabels filters untracked label keys with regular expressions.
IgnoreLabels *[]string
}
SecretResource manages a namespaced Secret with sensitive ordinary state values. Name, namespace, generate-name, and type changes replace the object. Changes to payloads or immutability also replace a previously immutable Secret.
func (SecretResource) Constraints ¶
func (r SecretResource) Constraints() []constraint.Constraint
func (*SecretResource) Create ¶
func (r *SecretResource) Create( ctx context.Context, c *config.Configuration, ) (*SecretResourceOutput, error)
func (*SecretResource) Delete ¶
func (r *SecretResource) Delete( ctx context.Context, c *config.Configuration, p secretPrior, ) error
func (*SecretResource) Read ¶
func (r *SecretResource) Read( ctx context.Context, c *config.Configuration, p secretPrior, ) (*SecretResourceOutput, error)
func (*SecretResource) ResourceDefinition ¶
func (r *SecretResource) ResourceDefinition() runtime.ResourceDefinition[ SecretResource, *SecretResourceOutput, *config.Configuration, ]
func (*SecretResource) Update ¶
func (r *SecretResource) Update( ctx context.Context, c *config.Configuration, p secretPrior, ) (*SecretResourceOutput, error)
type SecretResourceOutput ¶
type SecretResourceOutput struct {
// Server is the saved API server used with current credentials.
Server string
// APIVersion is v1.
APIVersion string
// Kind is Secret.
Kind string
// Object contains saved metadata, observed type and immutability, selected
// binary-data in standard base64, and remaining data as text. The entire
// object is masked as sensitive and persists normally in state.
Object SecretObjectOutput `ub:",sensitive"`
}
SecretResourceOutput contains saved identity and stable observed Secret values.
type ServerVersionDataSource ¶
type ServerVersionDataSource struct{}
func (*ServerVersionDataSource) Read ¶
func (*ServerVersionDataSource) Read( ctx context.Context, c *config.Configuration, ) (*ServerVersionDataSourceOutput, error)
type ServiceAccountDataSource ¶
type ServiceAccountDataSource struct {
Metadata ServiceAccountLookupMetadata
}
ServiceAccountDataSource reads one ServiceAccount and its Secret references.
func (ServiceAccountDataSource) Constraints ¶
func (r ServiceAccountDataSource) Constraints() []constraint.Constraint
func (ServiceAccountDataSource) Defaults ¶
func (r ServiceAccountDataSource) Defaults() []defaults.Default
func (*ServiceAccountDataSource) Read ¶
func (r *ServiceAccountDataSource) Read( ctx context.Context, c *config.Configuration, ) (*ServiceAccountDataSourceOutput, error)
type ServiceAccountDataSourceOutput ¶
type ServiceAccountDataSourceOutput struct {
Metadata ConfigMapLookupMetadataOutput
ImagePullSecrets []ServiceAccountReferenceOutput
Secrets []ServiceAccountReferenceOutput
AutomountServiceAccountToken bool
DefaultSecretName string
}
type ServiceAccountMetadata ¶
type ServiceAccountMetadata = ConfigMapMetadata
ServiceAccountMetadata contains writable namespaced object metadata.
type ServiceAccountObject ¶
type ServiceAccountObject struct {
// Metadata selects the object identity and managed labels and annotations.
Metadata ServiceAccountMetadata
// ImagePullSecrets is a set of image-pull Secret names in the same namespace.
ImagePullSecrets *[]ServiceAccountReference
// Secrets is a set of Secret names; the discovered default token is managed separately.
Secrets *[]ServiceAccountReference
// AutomountServiceAccountToken defaults to true, including when unset during an update.
AutomountServiceAccountToken *bool
}
ServiceAccountObject contains the writable ServiceAccount fields.
type ServiceAccountObjectOutput ¶
type ServiceAccountObjectOutput struct {
Metadata ConfigMapMetadataOutput
ImagePullSecrets []ServiceAccountReferenceOutput
Secrets []ServiceAccountReferenceOutput
AutomountServiceAccountToken bool
}
ServiceAccountObjectOutput contains metadata, Secret references, and the observed automount value.
type ServiceAccountReference ¶
type ServiceAccountReference struct {
// Name defaults to an empty string when omitted.
Name *string
}
ServiceAccountReference names a Secret in the ServiceAccount namespace.
type ServiceAccountReferenceOutput ¶
type ServiceAccountReferenceOutput struct {
Name string
}
ServiceAccountReferenceOutput contains only a referenced Secret name.
type ServiceAccountResource ¶
type ServiceAccountResource struct {
// Object contains metadata, Secret references, and the token automount setting.
Object ServiceAccountObject
// CreateTimeout is a positive Go duration, defaulting to 30s, for creation and token discovery.
CreateTimeout *string
// IgnoreAnnotations excludes untracked annotation keys that match these regular expressions.
IgnoreAnnotations *[]string
// IgnoreLabels excludes untracked label keys that match these regular expressions.
IgnoreLabels *[]string
}
ServiceAccountResource manages a namespaced Kubernetes ServiceAccount.
func (ServiceAccountResource) Constraints ¶
func (r ServiceAccountResource) Constraints() []constraint.Constraint
func (*ServiceAccountResource) Create ¶
func (r *ServiceAccountResource) Create( ctx context.Context, c *config.Configuration, ) (*ServiceAccountResourceOutput, error)
func (*ServiceAccountResource) Delete ¶
func (r *ServiceAccountResource) Delete( ctx context.Context, c *config.Configuration, p serviceAccountPrior, ) error
func (*ServiceAccountResource) Read ¶
func (r *ServiceAccountResource) Read( ctx context.Context, c *config.Configuration, p serviceAccountPrior, ) (*ServiceAccountResourceOutput, error)
func (*ServiceAccountResource) ResourceDefinition ¶
func (r *ServiceAccountResource) ResourceDefinition() runtime.ResourceDefinition[ ServiceAccountResource, *ServiceAccountResourceOutput, *config.Configuration, ]
func (*ServiceAccountResource) Update ¶
func (r *ServiceAccountResource) Update( ctx context.Context, c *config.Configuration, p serviceAccountPrior, ) (*ServiceAccountResourceOutput, error)
type ServiceAccountResourceOutput ¶
type ServiceAccountResourceOutput struct {
// Server is the saved API server used for subsequent operations.
Server string
// APIVersion is v1.
APIVersion string
// Kind is ServiceAccount.
Kind string
// DefaultSecretName is the legacy controller token name, or empty on current servers.
DefaultSecretName string
// Object contains stable metadata and the current mutable values.
Object ServiceAccountObjectOutput
}
ServiceAccountResourceOutput contains stable identity and current managed values.
type ServiceAffinityConfig ¶
type ServiceAffinityConfig struct{ ClientIP *ServiceClientIP }
type ServiceAffinityConfigOutput ¶
type ServiceAffinityConfigOutput struct{ ClientIP *ServiceClientIPOutput }
type ServiceClientIP ¶
type ServiceClientIP struct{ TimeoutSeconds *int64 }
type ServiceClientIPOutput ¶
type ServiceClientIPOutput struct{ TimeoutSeconds *int32 }
type ServiceDataSource ¶
type ServiceDataSource struct {
// Metadata selects the Service. Namespace defaults to default independently
// of configuration. Optional annotations and labels are validated metadata,
// not selectors. An omitted name reaches the native empty-name error.
Metadata ServiceLookupMetadata
}
ServiceDataSource reads one Service by name without changing it. A missing Service returns lookup metadata with absent spec and status.
func (ServiceDataSource) Constraints ¶
func (r ServiceDataSource) Constraints() []constraint.Constraint
func (*ServiceDataSource) Read ¶
func (r *ServiceDataSource) Read( ctx context.Context, c *config.Configuration, ) (*ServiceDataSourceOutput, error)
type ServiceDataSourceOutput ¶
type ServiceDataSourceOutput struct {
// Metadata uses the API response on success and lookup values on NotFound.
Metadata ServiceLookupMetadataOutput
// Spec is absent on NotFound. Ordered lists retain response order; external
// addresses and source ranges are sorted unique strings. Allocation defaults
// to true unless a LoadBalancer explicitly returns false.
Spec *ServiceLookupSpec
// Status is absent on NotFound. Empty ingress succeeds without a wait.
Status *ServiceLookupStatus
}
ServiceDataSourceOutput contains live, unfiltered metadata, spec, and ingress. Changes to these values between plan and apply require a new plan.
type ServiceIngress ¶
type ServiceLoadBalancer ¶
type ServiceLoadBalancer struct{ Ingress []ServiceIngress }
type ServiceLookupAffinityConfig ¶
type ServiceLookupAffinityConfig struct{ ClientIP *ServiceLookupClientIP }
type ServiceLookupClientIP ¶
type ServiceLookupClientIP struct{ TimeoutSeconds int32 }
type ServiceLookupIngress ¶
type ServiceLookupLoadBalancer ¶
type ServiceLookupLoadBalancer struct{ Ingress []ServiceLookupIngress }
type ServiceLookupMetadata ¶
type ServiceLookupSpec ¶
type ServiceLookupSpec struct {
Type string
AllocateLoadBalancerNodePorts bool
ClusterIP string
ClusterIps []string
ExternalIps []string
ExternalName string
ExternalTrafficPolicy string
InternalTrafficPolicy string
IPFamilies []string
IPFamilyPolicy string
LoadBalancerClass string
LoadBalancerIP string
LoadBalancerSourceRanges []string
HealthCheckNodePort int32
PublishNotReadyAddresses bool
Selector map[string]string
SessionAffinity string
SessionAffinityConfig *ServiceLookupAffinityConfig
Port []ServicePortOutput
}
type ServiceLookupStatus ¶
type ServiceLookupStatus struct{ LoadBalancer ServiceLookupLoadBalancer }
type ServiceMetadata ¶
type ServiceMetadataOutput ¶
type ServicePort ¶
type ServicePortOutput ¶
type ServiceResource ¶
type ServiceResource struct {
// Metadata is required. Exactly one nonempty name or generate-name is required.
// Namespace defaults to default. Changes to name, generate-name,
// or effective namespace replace the Service. Generated names come from the
// API response. Annotation and label maps contain strings. Tracked keys use
// actual API values even when an internal-key or ignore filter matches.
// Updates from a nonempty projected map change individual keys and preserve
// hidden keys. The first insertion into an empty projected map replaces the
// whole map, including hidden keys.
Metadata ServiceMetadata
// Spec is required. Type defaults to ClusterIP, protocol to TCP, affinity to
// None, allocation to true, and publish-not-ready-addresses to false.
// Cluster addresses, traffic policies, IP families and policy, target ports,
// node ports, and affinity timeout are computed after omission. Ordered
// port, cluster-ips, and ip-families lists retain order. External-ips and
// load-balancer-source-ranges are sets. Omitted or empty port lists create
// no ports and clear old ports on update; each entry requires port 1–65535.
// Target-port is a string: int32 text becomes a number in Kubernetes JSON.
// Protocol is case-sensitive TCP, UDP, or SCTP. Node-port accepts 0–65535;
// configured health-check-node-port accepts 1–65535. Cluster-ip and each
// cluster-ips member accept an IP or None. Cluster-ips and ip-families have
// at most two ordered entries. Families are IPv4 or IPv6. Family policy is
// SingleStack, PreferDualStack, or RequireDualStack. Traffic policies are
// Cluster or Local. External IPs and source CIDRs are validated locally.
// Explicit node-port zero requests allocation. Omitted computed port values
// survive list updates. Empty app-protocol is omitted.
// Configured cluster-ip, cluster-ips, load-balancer-class, and
// health-check-node-port changes replace the Service. Omitted computed
// values retain allocations. Allocation and class are sent on creation only
// for LoadBalancer. IP-family changes remain subject to API validation.
// Affinity configuration preserves absent and explicit nested objects;
// an explicit empty client-ip requests timeout zero, while configured
// timeout-seconds must be 1–86400. Kubernetes applies its remote default.
Spec ServiceSpec
// WaitForLoadBalancer defaults to true. Only creation of a returned
// LoadBalancer waits, until its ingress list has at least one entry. Update
// never waits. Wait API errors are terminal. Failure returns an error and
// the latest three unique Service Warning messages, without rollback.
WaitForLoadBalancer *bool
// CreateTimeout is a positive Go duration and defaults to 10m. Read, update,
// and deletion use 20m. Earlier caller cancellation bounds every operation.
// Deletion waits until the managed UID disappears and preserves finalizers.
CreateTimeout *string
// IgnoreAnnotations contains regexes matched against untracked annotation
// keys. Tracked keys retain their actual remote values. Internal Kubernetes
// keys are hidden except the app.kubernetes.io and
// service.beta.kubernetes.io hosts; ignore regexes still apply to them.
IgnoreAnnotations *[]string
// IgnoreLabels applies the same rules as ignore-annotations to label keys.
IgnoreLabels *[]string
}
ServiceResource manages a namespaced Kubernetes Service. It creates with POST, updates individual fields with JSON Patch, and deletes with a UID precondition. Reads, updates, and deletion use the saved server and identity with current credentials. Kubernetes validates cross-field restrictions and port names. Live load-balancer endpoints remain available in status. Endpoint changes can cause reconciliation, which refreshes outputs without a mutation.
func (ServiceResource) Constraints ¶
func (r ServiceResource) Constraints() []constraint.Constraint
func (*ServiceResource) Create ¶
func (r *ServiceResource) Create( ctx context.Context, c *config.Configuration, ) (*ServiceResourceOutput, error)
func (*ServiceResource) Delete ¶
func (r *ServiceResource) Delete( ctx context.Context, c *config.Configuration, p servicePrior, ) error
func (*ServiceResource) Read ¶
func (r *ServiceResource) Read( ctx context.Context, c *config.Configuration, p servicePrior, ) (*ServiceResourceOutput, error)
func (*ServiceResource) ResourceDefinition ¶
func (r *ServiceResource) ResourceDefinition() runtime.ResourceDefinition[ ServiceResource, *ServiceResourceOutput, *config.Configuration, ]
func (*ServiceResource) Update ¶
func (r *ServiceResource) Update( ctx context.Context, c *config.Configuration, p servicePrior, ) (*ServiceResourceOutput, error)
type ServiceResourceOutput ¶
type ServiceResourceOutput struct {
Server string
APIVersion string
Kind string
Name string
Namespace string
UID string
Metadata ServiceMetadataOutput
Spec ServiceSpecOutput
// Status exposes ordered ingress IPs, hostnames, and optional IP modes.
// Reconciliation of endpoint changes refreshes outputs without mutation.
Status ServiceStatus
}
ServiceResourceOutput contains the saved target, resolved specification, and current load-balancer ingress. It excludes volatile server metadata.
type ServiceSpec ¶
type ServiceSpec struct {
Type *string
AllocateLoadBalancerNodePorts *bool
ClusterIP *string
ClusterIps *[]string
ExternalIps *[]string
ExternalName *string
ExternalTrafficPolicy *string
InternalTrafficPolicy *string
IPFamilies *[]string
IPFamilyPolicy *string
LoadBalancerClass *string
LoadBalancerIP *string
LoadBalancerSourceRanges *[]string
HealthCheckNodePort *int64
PublishNotReadyAddresses *bool
Selector *map[string]string
SessionAffinity *string
SessionAffinityConfig *ServiceAffinityConfig
Port *[]ServicePort
}
type ServiceSpecOutput ¶
type ServiceSpecOutput struct {
Type string
AllocateLoadBalancerNodePorts bool
ClusterIP string
ClusterIps []string
ExternalIps []string
ExternalName string
ExternalTrafficPolicy string
InternalTrafficPolicy string
IPFamilies []string
IPFamilyPolicy string
LoadBalancerClass string
LoadBalancerIP string
LoadBalancerSourceRanges []string
HealthCheckNodePort int32
PublishNotReadyAddresses bool
Selector map[string]string
SessionAffinity string
SessionAffinityConfig *ServiceAffinityConfigOutput
Port []ServicePortOutput
}
type ServiceStatus ¶
type ServiceStatus struct{ LoadBalancer ServiceLoadBalancer }
type UncordonNodeAction ¶ added in v0.2.0
type UncordonNodeAction struct {
// Name identifies the existing cluster-scoped Node by its DNS subdomain name.
Name string
// ExpectedUID prevents changing a replacement Node with the same name.
ExpectedUID string
// Timeout bounds Kubernetes requests together and defaults to 10m.
Timeout *string
}
UncordonNodeAction marks one existing Node schedulable. It does not evict Pods or wait for readiness. An unchanged action skips and retains its last result. Change @trigger to invoke it again. Removal does not re-cordon the Node.
func (UncordonNodeAction) Constraints ¶ added in v0.2.0
func (a UncordonNodeAction) Constraints() []constraint.Constraint
func (UncordonNodeAction) Defaults ¶ added in v0.2.0
func (a UncordonNodeAction) Defaults() []defaults.Default
func (*UncordonNodeAction) Run ¶ added in v0.2.0
func (a *UncordonNodeAction) Run( ctx context.Context, c *config.Configuration, ) (out *UncordonNodeActionOutput, err error)
Source Files
¶
- config_map_data_rsrc.go
- config_map_definition.go
- config_map_dsrc.go
- config_map_patch.go
- config_map_projection.go
- config_map_rsrc.go
- cordon_node_action.go
- default_service_account_definition.go
- default_service_account_rsrc.go
- drain_node_action.go
- endpoints_conversion.go
- endpoints_definition.go
- endpoints_dsrc.go
- endpoints_rsrc.go
- limit_range_definition.go
- limit_range_rsrc.go
- limit_range_values.go
- namespace_definition.go
- namespace_dsrc.go
- namespace_metadata.go
- namespace_rsrc.go
- namespaces_dsrc.go
- node_dsrc.go
- node_taint_rsrc.go
- nodes_dsrc.go
- persistent_volume_claim_definition.go
- persistent_volume_claim_dsrc.go
- persistent_volume_claim_registration.go
- persistent_volume_claim_rsrc.go
- persistent_volume_claim_values.go
- persistent_volume_dsrc.go
- persistent_volume_patch.go
- persistent_volume_registration.go
- persistent_volume_rsrc.go
- persistent_volume_sources.go
- persistent_volume_values.go
- pod_conversion.go
- pod_definition.go
- pod_dsrc.go
- pod_lookup_projection.go
- pod_lookup_spec.go
- pod_projection.go
- pod_rsrc.go
- pod_spec.go
- replication_controller_conversion.go
- replication_controller_definition.go
- replication_controller_rsrc.go
- replication_controller_spec.go
- resource_quota_definition.go
- resource_quota_rsrc.go
- resource_quota_values.go
- secret_data_rsrc.go
- secret_definition.go
- secret_dsrc.go
- secret_projection.go
- secret_rsrc.go
- secret_wait.go
- server_version_dsrc.go
- service_account_definition.go
- service_account_dsrc.go
- service_account_rsrc.go
- service_conversion.go
- service_definition.go
- service_dsrc.go
- service_patch.go
- service_rsrc.go
- service_types.go
- uncordon_node_action.go