runtime

package
v1.1.62 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 6

Documentation

Overview

Interface for configurable values used in entity registration and validation

Index

Constants

View Source
const KB = 1024
View Source
const MB = KB * KB

Variables

This section is empty.

Functions

func NewApplicationConfigurationProvider

func NewApplicationConfigurationProvider() interfaces.ApplicationConfiguration

func NewClusterConfigurationProvider

func NewClusterConfigurationProvider() interfaces.ClusterConfiguration

func NewClusterResourceConfigurationProvider added in v0.1.3

func NewClusterResourceConfigurationProvider() interfaces.ClusterResourceConfiguration

func NewConfigurationProvider

func NewConfigurationProvider() interfaces.Configuration

func NewNamespaceMappingConfigurationProvider added in v0.1.3

func NewNamespaceMappingConfigurationProvider() interfaces.NamespaceMappingConfiguration

func NewQualityOfServiceConfigProvider added in v0.3.38

func NewQualityOfServiceConfigProvider() interfaces.QualityOfServiceConfiguration

func NewQueueConfigurationProvider

func NewQueueConfigurationProvider() interfaces.QueueConfiguration

func NewTaskResourceProvider

func NewTaskResourceProvider() interfaces.TaskResourceConfiguration

func NewWhitelistConfigurationProvider

func NewWhitelistConfigurationProvider() interfaces.WhitelistConfiguration

Types

type ApplicationConfigurationProvider

type ApplicationConfigurationProvider struct{}

Implementation of an interfaces.ApplicationConfiguration

func (*ApplicationConfigurationProvider) GetCloudEventsConfig added in v0.6.135

func (*ApplicationConfigurationProvider) GetDbConfig

func (*ApplicationConfigurationProvider) GetDomainsConfig

func (*ApplicationConfigurationProvider) GetExternalEventsConfig added in v0.3.38

func (*ApplicationConfigurationProvider) GetNotificationsConfig

func (*ApplicationConfigurationProvider) GetRemoteDataConfig

func (*ApplicationConfigurationProvider) GetSchedulerConfig

func (*ApplicationConfigurationProvider) GetTopLevelConfig

type ClusterConfigurationProvider

type ClusterConfigurationProvider struct{}

Implementation of an interfaces.ClusterConfiguration

func (*ClusterConfigurationProvider) GetClusterConfigs

func (p *ClusterConfigurationProvider) GetClusterConfigs() []interfaces.ClusterConfig

func (*ClusterConfigurationProvider) GetDefaultExecutionLabel added in v1.1.47

func (p *ClusterConfigurationProvider) GetDefaultExecutionLabel() string

func (*ClusterConfigurationProvider) GetLabelClusterMap added in v0.3.38

func (p *ClusterConfigurationProvider) GetLabelClusterMap() map[string][]interfaces.ClusterEntity

type ClusterResourceConfigurationProvider

type ClusterResourceConfigurationProvider struct{}

Implementation of an interfaces.ClusterResourceConfiguration

func (*ClusterResourceConfigurationProvider) GetCustomTemplateData added in v0.1.4

func (*ClusterResourceConfigurationProvider) GetRefreshInterval

func (p *ClusterResourceConfigurationProvider) GetRefreshInterval() time.Duration

func (*ClusterResourceConfigurationProvider) GetTemplateData

func (*ClusterResourceConfigurationProvider) GetTemplatePath

func (p *ClusterResourceConfigurationProvider) GetTemplatePath() string

func (*ClusterResourceConfigurationProvider) IsStandaloneDeployment added in v0.6.85

func (p *ClusterResourceConfigurationProvider) IsStandaloneDeployment() bool

type ConfigurationProvider

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

Implementation of an interfaces.Configuration

func (*ConfigurationProvider) ApplicationConfiguration

func (p *ConfigurationProvider) ApplicationConfiguration() interfaces.ApplicationConfiguration

func (*ConfigurationProvider) ClusterConfiguration

func (p *ConfigurationProvider) ClusterConfiguration() interfaces.ClusterConfiguration

func (*ConfigurationProvider) ClusterResourceConfiguration

func (p *ConfigurationProvider) ClusterResourceConfiguration() interfaces.ClusterResourceConfiguration

func (*ConfigurationProvider) NamespaceMappingConfiguration added in v0.1.3

func (p *ConfigurationProvider) NamespaceMappingConfiguration() interfaces.NamespaceMappingConfiguration

func (*ConfigurationProvider) QualityOfServiceConfiguration added in v0.3.38

func (p *ConfigurationProvider) QualityOfServiceConfiguration() interfaces.QualityOfServiceConfiguration

func (*ConfigurationProvider) QueueConfiguration

func (p *ConfigurationProvider) QueueConfiguration() interfaces.QueueConfiguration

func (*ConfigurationProvider) RegistrationValidationConfiguration

func (p *ConfigurationProvider) RegistrationValidationConfiguration() interfaces.RegistrationValidationConfiguration

func (*ConfigurationProvider) TaskResourceConfiguration

func (p *ConfigurationProvider) TaskResourceConfiguration() interfaces.TaskResourceConfiguration

func (*ConfigurationProvider) WhitelistConfiguration

func (p *ConfigurationProvider) WhitelistConfiguration() interfaces.WhitelistConfiguration

type NamespaceMappingConfigurationProvider added in v0.1.3

type NamespaceMappingConfigurationProvider struct{}

func (*NamespaceMappingConfigurationProvider) GetNamespaceTemplate added in v0.6.18

func (p *NamespaceMappingConfigurationProvider) GetNamespaceTemplate() string

type QualityOfServiceConfigProvider added in v0.3.38

type QualityOfServiceConfigProvider struct {
}

Implementation of an interfaces.QualityOfServiceConfiguration

func (*QualityOfServiceConfigProvider) GetDefaultTiers added in v0.3.38

func (*QualityOfServiceConfigProvider) GetTierExecutionValues added in v0.3.38

type QueueConfigurationProvider

type QueueConfigurationProvider struct{}

Implementation of an interfaces.QueueConfiguration

func (*QueueConfigurationProvider) GetExecutionQueues

func (p *QueueConfigurationProvider) GetExecutionQueues() []interfaces.ExecutionQueue

func (*QueueConfigurationProvider) GetWorkflowConfigs

func (p *QueueConfigurationProvider) GetWorkflowConfigs() []interfaces.WorkflowConfig

type RegistrationValidationProvider

type RegistrationValidationProvider struct{}

Implementation of an interfaces.TaskResourceConfiguration

func (*RegistrationValidationProvider) GetMaxAnnotationEntries

func (p *RegistrationValidationProvider) GetMaxAnnotationEntries() int

func (*RegistrationValidationProvider) GetMaxLabelEntries

func (p *RegistrationValidationProvider) GetMaxLabelEntries() int

func (*RegistrationValidationProvider) GetWorkflowNodeLimit

func (p *RegistrationValidationProvider) GetWorkflowNodeLimit() int

func (*RegistrationValidationProvider) GetWorkflowSizeLimit

func (p *RegistrationValidationProvider) GetWorkflowSizeLimit() string

type TaskResourceProvider

type TaskResourceProvider struct{}

Implementation of an interfaces.TaskResourceConfiguration

func (*TaskResourceProvider) GetDefaults

func (*TaskResourceProvider) GetLimits

type TaskResourceSpec

type TaskResourceSpec struct {
	Defaults interfaces.TaskResourceSet `json:"defaults"`
	Limits   interfaces.TaskResourceSet `json:"limits"`
}

type WhitelistConfigurationProvider

type WhitelistConfigurationProvider struct{}

Implementation of an interfaces.QueueConfiguration

func (*WhitelistConfigurationProvider) GetTaskTypeWhitelist

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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