config

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAppWrapperConfig added in v0.7.3

func ValidateAppWrapperConfig(config *AppWrapperConfig) error

Types

type AppWrapperConfig

type AppWrapperConfig struct {
	ManageJobsWithoutQueueName bool                  `json:"manageJobsWithoutQueueName,omitempty"`
	EnableKueueIntegrations    bool                  `json:"enableKueueIntegrations,omitempty"`
	DisableChildAdmissionCtrl  bool                  `json:"disableChildAdmissionCtrl,omitempty"`
	UserRBACAdmissionCheck     bool                  `json:"userRBACAdmissionCheck,omitempty"`
	FaultTolerance             *FaultToleranceConfig `json:"faultTolerance,omitempty"`
	SchedulerName              string                `json:"schedulerName,omitempty"`
	QueueName                  string                `json:"queueName,omitempty"`
}

func NewAppWrapperConfig added in v0.7.3

func NewAppWrapperConfig() *AppWrapperConfig

NewAppWrapperConfig constructs an AppWrapperConfig and fills in default values

type CertManagementConfig added in v0.7.0

type CertManagementConfig struct {
	Namespace                   string `json:"namespace,omitempty"`
	CertificateDir              string `json:"certificateDir,omitempty"`
	CertificateName             string `json:"certificateName,omitempty"`
	CertificateOrg              string `json:"certificateOrg,omitempty"`
	MutatingWebhookConfigName   string `json:"mutatingWebhookConfigName,omitempty"`
	ValidatingWebhookConfigName string `json:"validatingWebhookConfigName,omitempty"`
	WebhookServiceName          string `json:"webhookServiceName,omitempty"`
	WebhookSecretName           string `json:"webhookSecretName,omitempty"`
}

func NewCertManagementConfig added in v0.7.3

func NewCertManagementConfig(namespace string) *CertManagementConfig

NewCertManagermentConfig constructs a CertManagementConfig and fills in default values

type ControllerManagerConfig added in v0.8.0

type ControllerManagerConfig struct {
	Metrics        MetricsConfiguration `json:"metrics,omitempty"`
	Health         HealthConfiguration  `json:"health,omitempty"`
	LeaderElection bool                 `json:"leaderElection,omitempty"`
	EnableHTTP2    bool                 `json:"enableHTTP2,omitempty"`
}

func NewControllerManagerConfig added in v0.8.0

func NewControllerManagerConfig() *ControllerManagerConfig

NewControllerRuntimeConfig constructs a ControllerRuntimeConfig and fills in default values

type FaultToleranceConfig added in v0.7.0

type FaultToleranceConfig struct {
	AdmissionGracePeriod        time.Duration `json:"admissionGracePeriod,omitempty"`
	WarmupGracePeriod           time.Duration `json:"warmupGracePeriod,omitempty"`
	FailureGracePeriod          time.Duration `json:"failureGracePeriod,omitempty"`
	RetryPausePeriod            time.Duration `json:"resetPause,omitempty"`
	RetryLimit                  int32         `json:"retryLimit,omitempty"`
	ForcefulDeletionGracePeriod time.Duration `json:"deletionGracePeriod,omitempty"`
	GracePeriodMaximum          time.Duration `json:"gracePeriodCeiling,omitempty"`
	SuccessTTL                  time.Duration `json:"successTTLCeiling,omitempty"`
}

type HealthConfiguration added in v0.8.0

type HealthConfiguration struct {
	BindAddress string `json:"bindAddress,omitempty"`
}

type MetricsConfiguration added in v0.8.0

type MetricsConfiguration struct {
	BindAddress   string `json:"bindAddress,omitempty"`
	SecureServing bool   `json:"secureServing,omitempty"`
}

type OperatorConfig added in v0.7.3

type OperatorConfig struct {
	AppWrapper        *AppWrapperConfig        `json:"appwrapper,omitempty"`
	CertManagement    *CertManagementConfig    `json:"certManagement,omitempty"`
	ControllerManager *ControllerManagerConfig `json:"controllerManager,omitempty"`
	WebhooksEnabled   *bool                    `json:"webhooksEnabled,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL