Documentation ¶
Index ¶
- func NewMockClusterResourceConfiguration() interfaces.ClusterResourceConfiguration
- func NewMockConfigurationProvider(applicationConfiguration interfaces.ApplicationConfiguration, ...) interfaces.Configuration
- func NewMockQueueConfigurationProvider(executionQueues []interfaces.ExecutionQueue, ...) interfaces.QueueConfiguration
- func NewMockRegistrationValidationProvider() interfaces.RegistrationValidationConfiguration
- func NewMockTaskResourceConfiguration(defaults, limits interfaces.TaskResourceSet) interfaces.TaskResourceConfiguration
- func NewMockWhitelistConfiguration() interfaces.WhitelistConfiguration
- type ClusterConfiguration
- func (_m *ClusterConfiguration) GetClusterConfigs() []interfaces.ClusterConfig
- func (_m *ClusterConfiguration) GetDefaultExecutionLabel() string
- func (_m *ClusterConfiguration) GetLabelClusterMap() map[string][]interfaces.ClusterEntity
- func (_m *ClusterConfiguration) OnGetClusterConfigs() *ClusterConfiguration_GetClusterConfigs
- func (_m *ClusterConfiguration) OnGetClusterConfigsMatch(matchers ...interface{}) *ClusterConfiguration_GetClusterConfigs
- func (_m *ClusterConfiguration) OnGetDefaultExecutionLabel() *ClusterConfiguration_GetDefaultExecutionLabel
- func (_m *ClusterConfiguration) OnGetDefaultExecutionLabelMatch(matchers ...interface{}) *ClusterConfiguration_GetDefaultExecutionLabel
- func (_m *ClusterConfiguration) OnGetLabelClusterMap() *ClusterConfiguration_GetLabelClusterMap
- func (_m *ClusterConfiguration) OnGetLabelClusterMapMatch(matchers ...interface{}) *ClusterConfiguration_GetLabelClusterMap
- type ClusterConfiguration_GetClusterConfigs
- type ClusterConfiguration_GetDefaultExecutionLabel
- type ClusterConfiguration_GetLabelClusterMap
- type MockApplicationProvider
- func (p *MockApplicationProvider) GetCloudEventsConfig() *interfaces.CloudEventsConfig
- func (p *MockApplicationProvider) GetDbConfig() *database.DbConfig
- func (p *MockApplicationProvider) GetDomainsConfig() *interfaces.DomainsConfig
- func (p *MockApplicationProvider) GetExternalEventsConfig() *interfaces.ExternalEventsConfig
- func (p *MockApplicationProvider) GetNotificationsConfig() *interfaces.NotificationsConfig
- func (p *MockApplicationProvider) GetRemoteDataConfig() *interfaces.RemoteDataConfig
- func (p *MockApplicationProvider) GetSchedulerConfig() *interfaces.SchedulerConfig
- func (p *MockApplicationProvider) GetTopLevelConfig() *interfaces.ApplicationConfig
- func (p *MockApplicationProvider) SetCloudEventsConfig(cloudEventConfig interfaces.CloudEventsConfig)
- func (p *MockApplicationProvider) SetDbConfig(dbConfig database.DbConfig)
- func (p *MockApplicationProvider) SetDomainsConfig(domainsConfig interfaces.DomainsConfig)
- func (p *MockApplicationProvider) SetExternalEventsConfig(externalEventsConfig interfaces.ExternalEventsConfig)
- func (p *MockApplicationProvider) SetNotificationsConfig(notificationsConfig interfaces.NotificationsConfig)
- func (p *MockApplicationProvider) SetRemoteDataConfig(remoteDataConfig interfaces.RemoteDataConfig)
- func (p *MockApplicationProvider) SetSchedulerConfig(schedulerConfig interfaces.SchedulerConfig)
- func (p *MockApplicationProvider) SetTopLevelConfig(topLevelConfig interfaces.ApplicationConfig)
- type MockClusterResourceConfiguration
- func (c MockClusterResourceConfiguration) GetCustomTemplateData() map[interfaces.DomainName]interfaces.TemplateData
- func (c MockClusterResourceConfiguration) GetRefreshInterval() time.Duration
- func (c MockClusterResourceConfiguration) GetTemplateData() interfaces.TemplateData
- func (c MockClusterResourceConfiguration) GetTemplatePath() string
- func (c MockClusterResourceConfiguration) IsStandaloneDeployment() bool
- type MockConfigurationProvider
- func (p *MockConfigurationProvider) AddClusterPoolAssignmentConfiguration(cfg interfaces.ClusterPoolAssignmentConfiguration)
- func (p *MockConfigurationProvider) AddClusterResourceConfiguration(config interfaces.ClusterResourceConfiguration)
- func (p *MockConfigurationProvider) AddNamespaceMappingConfiguration(config interfaces.NamespaceMappingConfiguration)
- func (p *MockConfigurationProvider) AddQualityOfServiceConfiguration(config interfaces.QualityOfServiceConfiguration)
- func (p *MockConfigurationProvider) AddRegistrationValidationConfiguration(config interfaces.RegistrationValidationConfiguration)
- func (p *MockConfigurationProvider) ApplicationConfiguration() interfaces.ApplicationConfiguration
- func (p *MockConfigurationProvider) ClusterConfiguration() interfaces.ClusterConfiguration
- func (p *MockConfigurationProvider) ClusterPoolAssignmentConfiguration() interfaces.ClusterPoolAssignmentConfiguration
- func (p *MockConfigurationProvider) ClusterResourceConfiguration() interfaces.ClusterResourceConfiguration
- func (p *MockConfigurationProvider) NamespaceMappingConfiguration() interfaces.NamespaceMappingConfiguration
- func (p *MockConfigurationProvider) QualityOfServiceConfiguration() interfaces.QualityOfServiceConfiguration
- func (p *MockConfigurationProvider) QueueConfiguration() interfaces.QueueConfiguration
- func (p *MockConfigurationProvider) RegistrationValidationConfiguration() interfaces.RegistrationValidationConfiguration
- func (p *MockConfigurationProvider) TaskResourceConfiguration() interfaces.TaskResourceConfiguration
- func (p *MockConfigurationProvider) WhitelistConfiguration() interfaces.WhitelistConfiguration
- type MockQueueConfigurationProvider
- type MockRegistrationValidationProvider
- type MockTaskResourceConfiguration
- type MockWhitelistConfiguration
- type NamespaceMappingConfiguration
- func (_m *NamespaceMappingConfiguration) GetNamespaceTemplate() string
- func (_m *NamespaceMappingConfiguration) OnGetNamespaceTemplate() *NamespaceMappingConfiguration_GetNamespaceTemplate
- func (_m *NamespaceMappingConfiguration) OnGetNamespaceTemplateMatch(matchers ...interface{}) *NamespaceMappingConfiguration_GetNamespaceTemplate
- type NamespaceMappingConfiguration_GetNamespaceTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockClusterResourceConfiguration ¶
func NewMockClusterResourceConfiguration() interfaces.ClusterResourceConfiguration
func NewMockConfigurationProvider ¶
func NewMockConfigurationProvider( applicationConfiguration interfaces.ApplicationConfiguration, queueConfiguration interfaces.QueueConfiguration, clusterConfiguration interfaces.ClusterConfiguration, taskResourceConfiguration interfaces.TaskResourceConfiguration, whitelistConfiguration interfaces.WhitelistConfiguration, namespaceMappingConfiguration interfaces.NamespaceMappingConfiguration) interfaces.Configuration
func NewMockQueueConfigurationProvider ¶
func NewMockQueueConfigurationProvider( executionQueues []interfaces.ExecutionQueue, workflowConfigs []interfaces.WorkflowConfig) interfaces.QueueConfiguration
func NewMockRegistrationValidationProvider ¶
func NewMockRegistrationValidationProvider() interfaces.RegistrationValidationConfiguration
func NewMockTaskResourceConfiguration ¶
func NewMockTaskResourceConfiguration(defaults, limits interfaces.TaskResourceSet) interfaces.TaskResourceConfiguration
func NewMockWhitelistConfiguration ¶
func NewMockWhitelistConfiguration() interfaces.WhitelistConfiguration
Types ¶
type ClusterConfiguration ¶
ClusterConfiguration is an autogenerated mock type for the ClusterConfiguration type
func (*ClusterConfiguration) GetClusterConfigs ¶
func (_m *ClusterConfiguration) GetClusterConfigs() []interfaces.ClusterConfig
GetClusterConfigs provides a mock function with given fields:
func (*ClusterConfiguration) GetDefaultExecutionLabel ¶
func (_m *ClusterConfiguration) GetDefaultExecutionLabel() string
GetDefaultExecutionLabel provides a mock function with given fields:
func (*ClusterConfiguration) GetLabelClusterMap ¶
func (_m *ClusterConfiguration) GetLabelClusterMap() map[string][]interfaces.ClusterEntity
GetLabelClusterMap provides a mock function with given fields:
func (*ClusterConfiguration) OnGetClusterConfigs ¶
func (_m *ClusterConfiguration) OnGetClusterConfigs() *ClusterConfiguration_GetClusterConfigs
func (*ClusterConfiguration) OnGetClusterConfigsMatch ¶
func (_m *ClusterConfiguration) OnGetClusterConfigsMatch(matchers ...interface{}) *ClusterConfiguration_GetClusterConfigs
func (*ClusterConfiguration) OnGetDefaultExecutionLabel ¶
func (_m *ClusterConfiguration) OnGetDefaultExecutionLabel() *ClusterConfiguration_GetDefaultExecutionLabel
func (*ClusterConfiguration) OnGetDefaultExecutionLabelMatch ¶
func (_m *ClusterConfiguration) OnGetDefaultExecutionLabelMatch(matchers ...interface{}) *ClusterConfiguration_GetDefaultExecutionLabel
func (*ClusterConfiguration) OnGetLabelClusterMap ¶
func (_m *ClusterConfiguration) OnGetLabelClusterMap() *ClusterConfiguration_GetLabelClusterMap
func (*ClusterConfiguration) OnGetLabelClusterMapMatch ¶
func (_m *ClusterConfiguration) OnGetLabelClusterMapMatch(matchers ...interface{}) *ClusterConfiguration_GetLabelClusterMap
type ClusterConfiguration_GetClusterConfigs ¶
func (ClusterConfiguration_GetClusterConfigs) Return ¶
func (_m ClusterConfiguration_GetClusterConfigs) Return(_a0 []interfaces.ClusterConfig) *ClusterConfiguration_GetClusterConfigs
type ClusterConfiguration_GetDefaultExecutionLabel ¶
func (ClusterConfiguration_GetDefaultExecutionLabel) Return ¶
func (_m ClusterConfiguration_GetDefaultExecutionLabel) Return(_a0 string) *ClusterConfiguration_GetDefaultExecutionLabel
type ClusterConfiguration_GetLabelClusterMap ¶
func (ClusterConfiguration_GetLabelClusterMap) Return ¶
func (_m ClusterConfiguration_GetLabelClusterMap) Return(_a0 map[string][]interfaces.ClusterEntity) *ClusterConfiguration_GetLabelClusterMap
type MockApplicationProvider ¶
type MockApplicationProvider struct {
// contains filtered or unexported fields
}
func (*MockApplicationProvider) GetCloudEventsConfig ¶
func (p *MockApplicationProvider) GetCloudEventsConfig() *interfaces.CloudEventsConfig
func (*MockApplicationProvider) GetDbConfig ¶
func (p *MockApplicationProvider) GetDbConfig() *database.DbConfig
func (*MockApplicationProvider) GetDomainsConfig ¶
func (p *MockApplicationProvider) GetDomainsConfig() *interfaces.DomainsConfig
func (*MockApplicationProvider) GetExternalEventsConfig ¶
func (p *MockApplicationProvider) GetExternalEventsConfig() *interfaces.ExternalEventsConfig
func (*MockApplicationProvider) GetNotificationsConfig ¶
func (p *MockApplicationProvider) GetNotificationsConfig() *interfaces.NotificationsConfig
func (*MockApplicationProvider) GetRemoteDataConfig ¶
func (p *MockApplicationProvider) GetRemoteDataConfig() *interfaces.RemoteDataConfig
func (*MockApplicationProvider) GetSchedulerConfig ¶
func (p *MockApplicationProvider) GetSchedulerConfig() *interfaces.SchedulerConfig
func (*MockApplicationProvider) GetTopLevelConfig ¶
func (p *MockApplicationProvider) GetTopLevelConfig() *interfaces.ApplicationConfig
func (*MockApplicationProvider) SetCloudEventsConfig ¶
func (p *MockApplicationProvider) SetCloudEventsConfig(cloudEventConfig interfaces.CloudEventsConfig)
func (*MockApplicationProvider) SetDbConfig ¶
func (p *MockApplicationProvider) SetDbConfig(dbConfig database.DbConfig)
func (*MockApplicationProvider) SetDomainsConfig ¶
func (p *MockApplicationProvider) SetDomainsConfig(domainsConfig interfaces.DomainsConfig)
func (*MockApplicationProvider) SetExternalEventsConfig ¶
func (p *MockApplicationProvider) SetExternalEventsConfig(externalEventsConfig interfaces.ExternalEventsConfig)
func (*MockApplicationProvider) SetNotificationsConfig ¶
func (p *MockApplicationProvider) SetNotificationsConfig(notificationsConfig interfaces.NotificationsConfig)
func (*MockApplicationProvider) SetRemoteDataConfig ¶
func (p *MockApplicationProvider) SetRemoteDataConfig(remoteDataConfig interfaces.RemoteDataConfig)
func (*MockApplicationProvider) SetSchedulerConfig ¶
func (p *MockApplicationProvider) SetSchedulerConfig(schedulerConfig interfaces.SchedulerConfig)
func (*MockApplicationProvider) SetTopLevelConfig ¶
func (p *MockApplicationProvider) SetTopLevelConfig(topLevelConfig interfaces.ApplicationConfig)
type MockClusterResourceConfiguration ¶
type MockClusterResourceConfiguration struct { TemplatePath string TemplateData interfaces.TemplateData RefreshInterval time.Duration CustomTemplateData map[interfaces.DomainName]interfaces.TemplateData StandaloneDeployment bool }
func (MockClusterResourceConfiguration) GetCustomTemplateData ¶
func (c MockClusterResourceConfiguration) GetCustomTemplateData() map[interfaces.DomainName]interfaces.TemplateData
func (MockClusterResourceConfiguration) GetRefreshInterval ¶
func (c MockClusterResourceConfiguration) GetRefreshInterval() time.Duration
func (MockClusterResourceConfiguration) GetTemplateData ¶
func (c MockClusterResourceConfiguration) GetTemplateData() interfaces.TemplateData
func (MockClusterResourceConfiguration) GetTemplatePath ¶
func (c MockClusterResourceConfiguration) GetTemplatePath() string
func (MockClusterResourceConfiguration) IsStandaloneDeployment ¶
func (c MockClusterResourceConfiguration) IsStandaloneDeployment() bool
type MockConfigurationProvider ¶
type MockConfigurationProvider struct {
// contains filtered or unexported fields
}
func (*MockConfigurationProvider) AddClusterPoolAssignmentConfiguration ¶
func (p *MockConfigurationProvider) AddClusterPoolAssignmentConfiguration(cfg interfaces.ClusterPoolAssignmentConfiguration)
func (*MockConfigurationProvider) AddClusterResourceConfiguration ¶
func (p *MockConfigurationProvider) AddClusterResourceConfiguration(config interfaces.ClusterResourceConfiguration)
func (*MockConfigurationProvider) AddNamespaceMappingConfiguration ¶
func (p *MockConfigurationProvider) AddNamespaceMappingConfiguration(config interfaces.NamespaceMappingConfiguration)
func (*MockConfigurationProvider) AddQualityOfServiceConfiguration ¶
func (p *MockConfigurationProvider) AddQualityOfServiceConfiguration(config interfaces.QualityOfServiceConfiguration)
func (*MockConfigurationProvider) AddRegistrationValidationConfiguration ¶
func (p *MockConfigurationProvider) AddRegistrationValidationConfiguration(config interfaces.RegistrationValidationConfiguration)
func (*MockConfigurationProvider) ApplicationConfiguration ¶
func (p *MockConfigurationProvider) ApplicationConfiguration() interfaces.ApplicationConfiguration
func (*MockConfigurationProvider) ClusterConfiguration ¶
func (p *MockConfigurationProvider) ClusterConfiguration() interfaces.ClusterConfiguration
func (*MockConfigurationProvider) ClusterPoolAssignmentConfiguration ¶
func (p *MockConfigurationProvider) ClusterPoolAssignmentConfiguration() interfaces.ClusterPoolAssignmentConfiguration
func (*MockConfigurationProvider) ClusterResourceConfiguration ¶
func (p *MockConfigurationProvider) ClusterResourceConfiguration() interfaces.ClusterResourceConfiguration
func (*MockConfigurationProvider) NamespaceMappingConfiguration ¶
func (p *MockConfigurationProvider) NamespaceMappingConfiguration() interfaces.NamespaceMappingConfiguration
func (*MockConfigurationProvider) QualityOfServiceConfiguration ¶
func (p *MockConfigurationProvider) QualityOfServiceConfiguration() interfaces.QualityOfServiceConfiguration
func (*MockConfigurationProvider) QueueConfiguration ¶
func (p *MockConfigurationProvider) QueueConfiguration() interfaces.QueueConfiguration
func (*MockConfigurationProvider) RegistrationValidationConfiguration ¶
func (p *MockConfigurationProvider) RegistrationValidationConfiguration() interfaces.RegistrationValidationConfiguration
func (*MockConfigurationProvider) TaskResourceConfiguration ¶
func (p *MockConfigurationProvider) TaskResourceConfiguration() interfaces.TaskResourceConfiguration
func (*MockConfigurationProvider) WhitelistConfiguration ¶
func (p *MockConfigurationProvider) WhitelistConfiguration() interfaces.WhitelistConfiguration
type MockQueueConfigurationProvider ¶
type MockQueueConfigurationProvider struct {
// contains filtered or unexported fields
}
func (*MockQueueConfigurationProvider) GetExecutionQueues ¶
func (p *MockQueueConfigurationProvider) GetExecutionQueues() []interfaces.ExecutionQueue
func (*MockQueueConfigurationProvider) GetWorkflowConfigs ¶
func (p *MockQueueConfigurationProvider) GetWorkflowConfigs() []interfaces.WorkflowConfig
type MockRegistrationValidationProvider ¶
type MockRegistrationValidationProvider struct { WorkflowNodeLimit int MaxLabelEntries int MaxAnnotationEntries int WorkflowSizeLimit string }
func (*MockRegistrationValidationProvider) GetMaxAnnotationEntries ¶
func (c *MockRegistrationValidationProvider) GetMaxAnnotationEntries() int
func (*MockRegistrationValidationProvider) GetMaxLabelEntries ¶
func (c *MockRegistrationValidationProvider) GetMaxLabelEntries() int
func (*MockRegistrationValidationProvider) GetWorkflowNodeLimit ¶
func (c *MockRegistrationValidationProvider) GetWorkflowNodeLimit() int
func (*MockRegistrationValidationProvider) GetWorkflowSizeLimit ¶
func (c *MockRegistrationValidationProvider) GetWorkflowSizeLimit() string
type MockTaskResourceConfiguration ¶
type MockTaskResourceConfiguration struct { Defaults interfaces.TaskResourceSet Limits interfaces.TaskResourceSet }
func (*MockTaskResourceConfiguration) GetDefaults ¶
func (c *MockTaskResourceConfiguration) GetDefaults() interfaces.TaskResourceSet
func (*MockTaskResourceConfiguration) GetLimits ¶
func (c *MockTaskResourceConfiguration) GetLimits() interfaces.TaskResourceSet
type MockWhitelistConfiguration ¶
type MockWhitelistConfiguration struct {
TaskTypeWhitelist interfaces.TaskTypeWhitelist
}
func (*MockWhitelistConfiguration) GetTaskTypeWhitelist ¶
func (c *MockWhitelistConfiguration) GetTaskTypeWhitelist() interfaces.TaskTypeWhitelist
type NamespaceMappingConfiguration ¶
NamespaceMappingConfiguration is an autogenerated mock type for the NamespaceMappingConfiguration type
func (*NamespaceMappingConfiguration) GetNamespaceTemplate ¶
func (_m *NamespaceMappingConfiguration) GetNamespaceTemplate() string
GetNamespaceTemplate provides a mock function with given fields:
func (*NamespaceMappingConfiguration) OnGetNamespaceTemplate ¶
func (_m *NamespaceMappingConfiguration) OnGetNamespaceTemplate() *NamespaceMappingConfiguration_GetNamespaceTemplate
func (*NamespaceMappingConfiguration) OnGetNamespaceTemplateMatch ¶
func (_m *NamespaceMappingConfiguration) OnGetNamespaceTemplateMatch(matchers ...interface{}) *NamespaceMappingConfiguration_GetNamespaceTemplate
type NamespaceMappingConfiguration_GetNamespaceTemplate ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.