runtime

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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 NewClusterPoolAssignmentConfigurationProvider

func NewClusterPoolAssignmentConfigurationProvider() interfaces.ClusterPoolAssignmentConfiguration

func NewClusterResourceConfigurationProvider

func NewClusterResourceConfigurationProvider() interfaces.ClusterResourceConfiguration

func NewConfigurationProvider

func NewConfigurationProvider() interfaces.Configuration

func NewNamespaceMappingConfigurationProvider

func NewNamespaceMappingConfigurationProvider() interfaces.NamespaceMappingConfiguration

func NewQualityOfServiceConfigProvider

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

func (*ApplicationConfigurationProvider) GetDbConfig

func (*ApplicationConfigurationProvider) GetDomainsConfig

func (*ApplicationConfigurationProvider) GetExternalEventsConfig

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

func (p *ClusterConfigurationProvider) GetDefaultExecutionLabel() string

func (*ClusterConfigurationProvider) GetLabelClusterMap

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

type ClusterPoolAssignmentConfigurationProvider

type ClusterPoolAssignmentConfigurationProvider struct{}

Implementation of an interfaces.ClusterPoolAssignmentConfiguration

func (*ClusterPoolAssignmentConfigurationProvider) GetClusterPoolAssignments

type ClusterResourceConfigurationProvider

type ClusterResourceConfigurationProvider struct{}

Implementation of an interfaces.ClusterResourceConfiguration

func (*ClusterResourceConfigurationProvider) GetCustomTemplateData

func (*ClusterResourceConfigurationProvider) GetRefreshInterval

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

func (*ClusterResourceConfigurationProvider) GetTemplateData

func (*ClusterResourceConfigurationProvider) GetTemplatePath

func (p *ClusterResourceConfigurationProvider) GetTemplatePath() string

func (*ClusterResourceConfigurationProvider) IsStandaloneDeployment

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) ClusterPoolAssignmentConfiguration

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

func (*ConfigurationProvider) ClusterResourceConfiguration

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

func (*ConfigurationProvider) NamespaceMappingConfiguration

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

func (*ConfigurationProvider) QualityOfServiceConfiguration

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

type NamespaceMappingConfigurationProvider struct{}

func (*NamespaceMappingConfigurationProvider) GetNamespaceTemplate

func (p *NamespaceMappingConfigurationProvider) GetNamespaceTemplate() string

type QualityOfServiceConfigProvider

type QualityOfServiceConfigProvider struct {
}

Implementation of an interfaces.QualityOfServiceConfiguration

func (*QualityOfServiceConfigProvider) GetDefaultTiers

func (*QualityOfServiceConfigProvider) GetTierExecutionValues

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