Documentation
¶
Index ¶
- func AutobindAliases(v *viper.Viper) error
- func AutobindAll(v *viper.Viper) error
- func AutobindEnvs(v *viper.Viper) error
- func EncodeConfig(cfg Config, extraConfigs ...Config) ([]byte, error)
- func NewViperDecoderConfig() viper.DecoderConfigOption
- type AgentConfig
- type AgentTimeConfig
- type AllowedExtraKubernetesTypeConfig
- type AuthzConfig
- type Config
- type Environment
- type InternalPersistentStorageConfig
- type MaintenanceMode
- type NVCFClusterConfig
- type OTELExporter
- type ResourceList
- type ResourceRequirements
- type SharedStorageConfig
- type SharedStorageServerConfig
- type SharedStorageTaskDataConfig
- type TracingConfig
- type ValidationPolicyConfig
- type WebhookConfig
- type WorkloadConfig
- type WorkloadTimeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutobindAliases ¶
AutobindAliases binds struct fields to aliases in v.
Tags supported: - `mapstructure`: key for unmarshalling and flag name if `flag` is not set
func AutobindAll ¶
AutobindAll binds struct fields to envs and aliases in v.
Tags supported: - `mapstructure`: key for unmarshalling and flag name if `flag` is not set
func AutobindEnvs ¶
AutobindEnvs binds struct fields to envs in v.
Tags supported: - `mapstructure`: key for unmarshalling and flag name if `flag` is not set
func NewViperDecoderConfig ¶
func NewViperDecoderConfig() viper.DecoderConfigOption
Types ¶
type AgentConfig ¶
type AgentConfig struct {
AgentTimeConfig `mapstructure:",squash" yaml:",inline"`
LogLevel string `yaml:",omitempty"`
FeatureFlags []string `yaml:",omitempty"`
InternalPersistentStorage InternalPersistentStorageConfig `yaml:",omitempty"`
ICMSURL string `yaml:",omitempty"`
KubeconfigPath string `yaml:",omitempty"`
SvcAddress string `yaml:",omitempty"`
AdminAddr string `yaml:",omitempty"`
DebugAddr string `yaml:",omitempty"`
SystemNamespace string `yaml:",omitempty"`
RequestsNamespace string `yaml:",omitempty"`
NamespaceLabels map[string]string `yaml:",omitempty"`
ComputeBackend string `yaml:",omitempty"`
StaticGPUCapacity uint64 `yaml:",omitempty"`
// MinHealthcheckRefreshWait forces the NVCA internal healthchecker
// to wait at least this long between refresh calls,
// in case the healthchecker is too chatty in specific instances.
MinHealthcheckRefreshWait time.Duration `yaml:",omitempty"`
// MaintenanceMode indicates the operational mode of NVCA
MaintenanceMode MaintenanceMode `yaml:",omitempty"`
// HelmRepository restriction
HelmRepositoryPrefix string `yaml:",omitempty"`
// ReVal service config
HelmReValServiceURL string `yaml:",omitempty"`
// ROS URL
RolloverServiceURL string `yaml:",omitempty"`
// CSIVolumeMountOptions for PVC provisioning
CSIVolumeMountOptions []string `yaml:",omitempty"`
// Function Deployment Stages service config
FunctionDeploymentStagesServiceURL string `yaml:",omitempty"`
// NVCA Operater version
OperatorVersion string `yaml:",omitempty"`
// Kubernetes version override
KubernetesVersionOverride string `yaml:",omitempty"`
// ImageCredentialHelperImage is the image tag for "nvcf-image-credential-helper",
// for third party registry cred updates.
//
// See https://github.com/NVIDIA/nvcf/nvcf-backend-cluster/image-credential-helper
ImageCredentialHelperImage string `yaml:",omitempty"`
// Skip self-destruct even if ICMS sends SELF_DESTRUCT
SkipSelfDestruct bool `yaml:",omitempty"`
// Force self-destruct mode for testing
ForceSelfDestruct bool `yaml:",omitempty"`
// Secret Mirror
SecretMirrorSourceNamespace string `yaml:",omitempty"`
SecretMirrorLabelSelector string `yaml:",omitempty"`
// Tolerations are applied to the NVCA agent pod.
Tolerations []corev1.Toleration `yaml:",omitempty"`
// UtilsResources contains resources required by the utils container.
// UtilsResources is subtracted from instance type resources
// when the agent calculates them for registration.
// Quantities must be strings.
UtilsResources ResourceList `yaml:",omitempty"`
// AdditionalResourceOverhead contains the collective resource overhead from
// cluster reserved capacity like DaemonSet containers.
// AdditionalResourceOverhead is subtracted from instance type resources
// when the agent calculates them for registration.
// Quantities must be strings.
AdditionalResourceOverhead ResourceList `yaml:",omitempty"`
// BYOOResources contains resources required by the BYOO (Bring Your Own Observability)
// OTel collector container. BYOOResources is subtracted from instance type resources
// when the agent calculates them for registration.
// Quantities must be strings.
BYOOResources ResourceRequirements `yaml:",omitempty"`
// BYOOFluentBitResources contains resources required by the BYOO (Bring Your Own Observability)
// FluentBit container. BYOOFluentBitResources is subtracted from instance type resources
// when the agent calculates them for registration.
// Quantities must be strings.
BYOOFluentBitResources ResourceRequirements `yaml:",omitempty"`
}
func (AgentConfig) Complete ¶
func (t AgentConfig) Complete(env Environment) AgentConfig
func (*AgentConfig) DeepCopy ¶
func (in *AgentConfig) DeepCopy() *AgentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentConfig.
func (*AgentConfig) DeepCopyInto ¶
func (in *AgentConfig) DeepCopyInto(out *AgentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentTimeConfig ¶
type AgentTimeConfig struct {
CredRenewInterval time.Duration `yaml:",omitempty"`
HeartbeatInterval time.Duration `yaml:",omitempty"`
SyncQueueInterval time.Duration `yaml:",omitempty"`
SyncRequestStatusInterval time.Duration `yaml:",omitempty"`
SyncAcknowledgeRequestInterval time.Duration `yaml:",omitempty"`
PeriodicInstanceStatusInterval time.Duration `yaml:",omitempty"`
RolloverServiceUpdateInterval time.Duration `yaml:",omitempty"`
ICMSRequestAckInterval time.Duration `yaml:",omitempty"`
ICMSRequestAckRetryTimeout time.Duration `yaml:",omitempty"`
}
func (AgentTimeConfig) Complete ¶
func (t AgentTimeConfig) Complete() AgentTimeConfig
func (*AgentTimeConfig) DeepCopy ¶
func (in *AgentTimeConfig) DeepCopy() *AgentTimeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentTimeConfig.
func (*AgentTimeConfig) DeepCopyInto ¶
func (in *AgentTimeConfig) DeepCopyInto(out *AgentTimeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AllowedExtraKubernetesTypeConfig ¶
type AllowedExtraKubernetesTypeConfig struct {
// Group of resource.
// https://kubernetes.io/docs/reference/using-api/#api-groups
Group string `json:"group"`
// Version of resource.
// https://kubernetes.io/docs/reference/using-api/#api-versioning
Version string `json:"version"`
// Kind of resource.
// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind string `json:"kind"`
// Resource name, used in API path.
// https://kubernetes.io/docs/reference/using-api/api-concepts/#standard-api-terminology
Resource string `json:"resource"`
}
AllowedExtraKubernetesTypeConfig is a Kubernetes group-version-kind + resource set that the cluster has resources defined for, and allows deploying objects of that type. Typically these map to a CRD installed in the cluster, managed by a controller.
func (*AllowedExtraKubernetesTypeConfig) DeepCopy ¶
func (in *AllowedExtraKubernetesTypeConfig) DeepCopy() *AllowedExtraKubernetesTypeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedExtraKubernetesTypeConfig.
func (*AllowedExtraKubernetesTypeConfig) DeepCopyInto ¶
func (in *AllowedExtraKubernetesTypeConfig) DeepCopyInto(out *AllowedExtraKubernetesTypeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthzConfig ¶
type AuthzConfig struct {
// ClientID must come from a secret and set in-memory.
// It will not be stored when the config is written.
ClientID string `mapstructure:"-" yaml:"-"`
// ClientSecretKey must come from a secret and set in-memory.
// It will not be stored when the config is written.
ClientSecretKey string `mapstructure:"-" yaml:"-"`
ClientSecretsEnvFile string `yaml:",omitempty"`
TokenFetchFailureThreshold uint64 `yaml:",omitempty"`
TokenURL string `yaml:",omitempty"`
TokenScope string `yaml:",omitempty"`
PublicKeysetEndpoint string `yaml:",omitempty"`
NGCServiceAPIKeyFile string `yaml:",omitempty"`
// NGCServiceAPIKey must come from a secret and set in-memory.
// It will not be stored when the config is written.
NGCServiceAPIKey string `mapstructure:"-" yaml:"-"`
// SelfManagedVaultSecretsJSONPath is the path to the secrets.json file created by Vault
// for self-managed environments.
SelfManagedVaultSecretsJSONPath string `yaml:",omitempty"`
}
func (AuthzConfig) Complete ¶
func (t AuthzConfig) Complete() AuthzConfig
func (*AuthzConfig) DeepCopy ¶
func (in *AuthzConfig) DeepCopy() *AuthzConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthzConfig.
func (*AuthzConfig) DeepCopyInto ¶
func (in *AuthzConfig) DeepCopyInto(out *AuthzConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
type Config struct {
Environment Environment `yaml:",omitempty"`
Cluster NVCFClusterConfig `yaml:",omitempty"`
Agent AgentConfig `yaml:",omitempty"`
Webhook WebhookConfig `yaml:",omitempty"`
Workload WorkloadConfig `yaml:",omitempty"`
Authz AuthzConfig `yaml:",omitempty"`
Tracing TracingConfig `yaml:",omitempty"`
}
func DecodeConfig ¶
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment string
const ( EnvironmentStaging Environment = "stg" EnvironmentProduction Environment = "prod" )
type InternalPersistentStorageConfig ¶
type InternalPersistentStorageConfig struct {
StorageClassName string `yaml:",omitempty"`
// The desired hard limit for storage in the IPS PVC.
// More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
HardResourceQuota ResourceList `yaml:",omitempty"`
}
func (*InternalPersistentStorageConfig) DeepCopy ¶
func (in *InternalPersistentStorageConfig) DeepCopy() *InternalPersistentStorageConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalPersistentStorageConfig.
func (*InternalPersistentStorageConfig) DeepCopyInto ¶
func (in *InternalPersistentStorageConfig) DeepCopyInto(out *InternalPersistentStorageConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceMode ¶
type MaintenanceMode string
MaintenanceMode represents the operational mode of NVCA
const ( // MaintenanceModeNone indicates normal operation mode MaintenanceModeNone MaintenanceMode = "None" // MaintenanceModeCordon indicates maintenance mode where creation tasks/functions are cordoned (paused) MaintenanceModeCordon MaintenanceMode = "CordonOnly" // MaintenanceModeCordonAndDrain indicates maintenance mode where creation is cordoned and existing workloads are drained MaintenanceModeCordonAndDrain MaintenanceMode = "CordonAndDrain" )
func (MaintenanceMode) String ¶
func (m MaintenanceMode) String() string
String returns the string representation of the MaintenanceMode
type NVCFClusterConfig ¶
type NVCFClusterConfig struct {
Name string `yaml:",omitempty"`
ID string `yaml:",omitempty"`
GroupName string `yaml:",omitempty"`
GroupID string `yaml:",omitempty"`
NCAID string `yaml:",omitempty"`
Region string `yaml:",omitempty"`
Attributes []string `yaml:",omitempty"`
CloudProvider string `yaml:",omitempty"`
// ValidationPolicy defines Helm ReVal validation policy data passed to ReVal when rendering a Helm chart.
ValidationPolicy *ValidationPolicyConfig `yaml:",omitempty"`
}
func (*NVCFClusterConfig) DeepCopy ¶
func (in *NVCFClusterConfig) DeepCopy() *NVCFClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NVCFClusterConfig.
func (*NVCFClusterConfig) DeepCopyInto ¶
func (in *NVCFClusterConfig) DeepCopyInto(out *NVCFClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OTELExporter ¶
type OTELExporter string
OTELExporter is a enum for which type of OTEL exporter we are using
const ( // NoExporter is the default and specifies no exporter should be setup NoExporter OTELExporter = "" // LightstepExporter is the exporter enum for lighstep LightstepExporter = "lightstep" )
type ResourceList ¶
type ResourceList corev1.ResourceList
func (ResourceList) DeepCopy ¶
func (in ResourceList) DeepCopy() ResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
func (ResourceList) DeepCopyInto ¶
func (in ResourceList) DeepCopyInto(out *ResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ResourceList) MarshalYAML ¶
func (l ResourceList) MarshalYAML() (any, error)
func (*ResourceList) UnmarshalMapstructure ¶
func (l *ResourceList) UnmarshalMapstructure(v any) (err error)
type ResourceRequirements ¶
type ResourceRequirements struct {
Limits ResourceList `yaml:",omitempty"`
Requests ResourceList `yaml:",omitempty"`
Claims []corev1.ResourceClaim `yaml:",omitempty"`
}
func (*ResourceRequirements) DeepCopy ¶
func (in *ResourceRequirements) DeepCopy() *ResourceRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
func (*ResourceRequirements) DeepCopyInto ¶
func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceRequirements) ToK8sResourceRequirements ¶
func (r *ResourceRequirements) ToK8sResourceRequirements() corev1.ResourceRequirements
type SharedStorageConfig ¶
type SharedStorageConfig struct {
}
func (*SharedStorageConfig) DeepCopy ¶
func (in *SharedStorageConfig) DeepCopy() *SharedStorageConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedStorageConfig.
func (*SharedStorageConfig) DeepCopyInto ¶
func (in *SharedStorageConfig) DeepCopyInto(out *SharedStorageConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SharedStorageServerConfig ¶
type SharedStorageServerConfig struct {
Image string `yaml:",omitempty"`
ContainerResources ResourceRequirements `yaml:",omitempty"`
}
func (*SharedStorageServerConfig) DeepCopy ¶
func (in *SharedStorageServerConfig) DeepCopy() *SharedStorageServerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedStorageServerConfig.
func (*SharedStorageServerConfig) DeepCopyInto ¶
func (in *SharedStorageServerConfig) DeepCopyInto(out *SharedStorageServerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SharedStorageTaskDataConfig ¶
type SharedStorageTaskDataConfig struct {
// if none specified ephemeral storage will be used
StorageClassName *string `yaml:",omitempty"`
PVMountOptions []string `yaml:",omitempty"`
StorageCapacity resource.Quantity `yaml:",omitempty"`
}
func (*SharedStorageTaskDataConfig) DeepCopy ¶
func (in *SharedStorageTaskDataConfig) DeepCopy() *SharedStorageTaskDataConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedStorageTaskDataConfig.
func (*SharedStorageTaskDataConfig) DeepCopyInto ¶
func (in *SharedStorageTaskDataConfig) DeepCopyInto(out *SharedStorageTaskDataConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TracingConfig ¶
type TracingConfig struct {
Exporter OTELExporter `yaml:",omitempty"`
LightstepServiceName string `yaml:",omitempty"`
// LightstepAccessToken must come from a secret and set in-memory.
// It will not be stored when the config is written.
LightstepAccessToken string `mapstructure:"-" yaml:"-"`
}
TracingConfig configures tracing
func (*TracingConfig) DeepCopy ¶
func (in *TracingConfig) DeepCopy() *TracingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfig.
func (*TracingConfig) DeepCopyInto ¶
func (in *TracingConfig) DeepCopyInto(out *TracingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidationPolicyConfig ¶
type ValidationPolicyConfig struct {
// Name of the policy. This maps to values enumerated by ReVal.
// Currently "Default" and "Unrestricted" are supported.
Name string `json:"name"`
// AllowedExtraKubernetesTypes are a list of Kubernetes group-version-kind + resource sets
// that the cluster has resources defined for, and allows deploying objects of that type.
AllowedExtraKubernetesTypes []AllowedExtraKubernetesTypeConfig `json:"allowedExtraKubernetesTypes,omitempty"`
}
ValidationPolicyConfig defines the Helm ReVal validation policy for Helm chart workloads deployed on the cluster.
func (*ValidationPolicyConfig) DeepCopy ¶
func (in *ValidationPolicyConfig) DeepCopy() *ValidationPolicyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationPolicyConfig.
func (*ValidationPolicyConfig) DeepCopyInto ¶
func (in *ValidationPolicyConfig) DeepCopyInto(out *ValidationPolicyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValidationPolicyConfig) Validate ¶
func (c *ValidationPolicyConfig) Validate() (errs []error)
Validate fields of a ValidationPolicyConfig, if not nil.
type WebhookConfig ¶
type WebhookConfig struct {
SvcAddress string `yaml:",omitempty"`
TLSKeyFile string `yaml:",omitempty"`
TLSCertFile string `yaml:",omitempty"`
TLSSecretName string `yaml:",omitempty"`
DCGMAnnotations map[string]string `yaml:",omitempty"`
}
func (*WebhookConfig) DeepCopy ¶
func (in *WebhookConfig) DeepCopy() *WebhookConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfig.
func (*WebhookConfig) DeepCopyInto ¶
func (in *WebhookConfig) DeepCopyInto(out *WebhookConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConfig ¶
type WorkloadConfig struct {
WorkloadTimeConfig `mapstructure:",squash" yaml:",inline"`
// Tolerations are applied to translated workload pod specs and related infra pods.
Tolerations []corev1.Toleration `yaml:",omitempty"`
// FunctionEnvOverrides is a map of environment variable overrides
// applied to function workloads before translation.
// Example keys: INIT_CONTAINER, UTILS_CONTAINER, OTEL_CONTAINER, ESS_AGENT_CONTAINER
FunctionEnvOverrides map[string]string `yaml:",omitempty"`
// TaskEnvOverrides is a map of environment variable overrides
// applied to task workloads before translation.
// Example keys: INIT_CONTAINER, UTILS_CONTAINER, ESS_AGENT_CONTAINER
TaskEnvOverrides map[string]string `yaml:",omitempty"`
}
func (WorkloadConfig) Complete ¶
func (t WorkloadConfig) Complete() WorkloadConfig
func (*WorkloadConfig) DeepCopy ¶
func (in *WorkloadConfig) DeepCopy() *WorkloadConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfig.
func (*WorkloadConfig) DeepCopyInto ¶
func (in *WorkloadConfig) DeepCopyInto(out *WorkloadConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadTimeConfig ¶
type WorkloadTimeConfig struct {
// MaxRunningTimeout is the max duration an operation (ex. Helm install, cache Job run) can run for before being considered failed.
MaxRunningTimeout time.Duration `yaml:",omitempty"`
// ModelCacheIdlePeriod is the max duration a model cache PV can exist while not in use.
ModelCacheIdlePeriod time.Duration `yaml:",omitempty"`
// ModelCacheIdleCleanupPeriod is the period of the model cache cleanup runner.
ModelCacheIdleCleanupPeriod time.Duration `yaml:",omitempty"`
// ModelCacheROPVCBindTimeGracePeriod is the max duration an RO PVC can be unbound during cache init.
ModelCacheROPVCBindTimeGracePeriod time.Duration `yaml:",omitempty"`
// ModelCacheVolumeDetachmentTimeout is the max duration to wait for PV detachment on cache cleanup.
ModelCacheVolumeDetachmentTimeout time.Duration `yaml:",omitempty"`
// defaultWorkerDegradationTimeout is the duration after which a Pod is considered degraded if its status indicates so.
WorkerDegradationTimeout time.Duration `yaml:",omitempty"`
// WorkerStartupTimeout is the duration after which a non-".status.phase=(Ready|Succeeded)" Pod is marked failed.
WorkerStartupTimeout time.Duration `yaml:",omitempty"`
// PodLaunchThresholdSecondsOnFailedRestarts is the duration after which a Pod with failed and restarting containers is marked failed.
PodLaunchThresholdSecondsOnFailedRestarts time.Duration `yaml:",omitempty"`
// PodLaunchThresholdMinutesOnInitFailure is the duration after which a Pod with failed init containers is marked failed.
PodLaunchThresholdMinutesOnInitFailure time.Duration `yaml:",omitempty"`
// PodLaunchThresholdMinutesOnInitFailure is the duration after which an un-scheduled Pod is marked failed.
PodScheduledThreshold time.Duration `yaml:",omitempty"`
// PodLaunchThresholdMinutesOnInitFailure is the duration after which an init cache Job with unsuccessful Pods is marked failed.
InitCacheJobFailureThreshold time.Duration `yaml:",omitempty"`
// PodLaunchThresholdMinutesOnInitFailure is the duration after which a Pod with container pull issues is marked failed.
MaxImagePullErrorThreshold time.Duration `yaml:",omitempty"`
// NamespaceStuckTimeout is the duration after which a terminating Namespace is considered stuck.
NamespaceStuckTimeout time.Duration `yaml:",omitempty"`
// FailingObjectsBackoffTimeout is the duration to retry transient events (FailedMount, FailedAttachVolume) before marking as failed.
FailingObjectsBackoffTimeout time.Duration `yaml:",omitempty"`
// FailingObjectsBackoffRequeueInterval is the interval to requeue reconciliation when objects are failing within the backoff period.
FailingObjectsBackoffRequeueInterval time.Duration `yaml:",omitempty"`
}
func (WorkloadTimeConfig) Complete ¶
func (t WorkloadTimeConfig) Complete() WorkloadTimeConfig
Complete sets defaults on WorkloadTimeConfig. It panics if some field is not set or defaulted.
func (*WorkloadTimeConfig) DeepCopy ¶
func (in *WorkloadTimeConfig) DeepCopy() *WorkloadTimeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadTimeConfig.
func (*WorkloadTimeConfig) DeepCopyInto ¶
func (in *WorkloadTimeConfig) DeepCopyInto(out *WorkloadTimeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.