config

package
v0.0.0-...-9d026b8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerConfig

type ControllerConfig struct {
	// contains filtered or unexported fields
}

func Instance

func Instance() *ControllerConfig

func (*ControllerConfig) GetBlockDeployment

func (o *ControllerConfig) GetBlockDeployment() bool

func (*ControllerConfig) GetCloudEventsEndpoint

func (o *ControllerConfig) GetCloudEventsEndpoint() string

func (*ControllerConfig) GetCreationRequestTimeout

func (o *ControllerConfig) GetCreationRequestTimeout() time.Duration

func (*ControllerConfig) GetDefaultNamespace

func (o *ControllerConfig) GetDefaultNamespace() string

func (*ControllerConfig) GetObservabilityTimeout

func (o *ControllerConfig) GetObservabilityTimeout() metav1.Duration

func (*ControllerConfig) GetRestApiEnabled

func (o *ControllerConfig) GetRestApiEnabled() bool

func (*ControllerConfig) SetBlockDeployment

func (o *ControllerConfig) SetBlockDeployment(value bool)

func (*ControllerConfig) SetCloudEventsEndpoint

func (o *ControllerConfig) SetCloudEventsEndpoint(endpoint string)

func (*ControllerConfig) SetCreationRequestTimeout

func (o *ControllerConfig) SetCreationRequestTimeout(value time.Duration)

func (*ControllerConfig) SetDefaultNamespace

func (o *ControllerConfig) SetDefaultNamespace(ns string)

func (*ControllerConfig) SetObservabilityTimeout

func (o *ControllerConfig) SetObservabilityTimeout(timeout metav1.Duration)

func (*ControllerConfig) SetRestApiEnabled

func (o *ControllerConfig) SetRestApiEnabled(value bool)

type IConfig

type IConfig interface {
	SetCreationRequestTimeout(value time.Duration)
	GetCreationRequestTimeout() time.Duration
	SetCloudEventsEndpoint(endpoint string)
	GetCloudEventsEndpoint() string
	SetDefaultNamespace(namespace string)
	GetDefaultNamespace() string
	SetBlockDeployment(value bool)
	GetBlockDeployment() bool
	SetObservabilityTimeout(timeout metav1.Duration)
	GetObservabilityTimeout() metav1.Duration
	SetRestApiEnabled(value bool)
	GetRestApiEnabled() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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