Documentation ¶
Index ¶
- Variables
- type AMQOnline
- func (a *AMQOnline) GetBackupSchedule() string
- func (a *AMQOnline) GetBackupsSecretName() string
- func (a *AMQOnline) GetBlackboxTargetPath() string
- func (a *AMQOnline) GetHost() string
- func (a *AMQOnline) GetLabelSelector() string
- func (a *AMQOnline) GetNamespace() string
- func (a *AMQOnline) GetOperatorNamespace() string
- func (a *AMQOnline) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (a *AMQOnline) GetProductName() integreatlyv1alpha1.ProductName
- func (a *AMQOnline) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (a *AMQOnline) GetTemplateList() []string
- func (a *AMQOnline) GetWatchableCRDs() []runtime.Object
- func (a *AMQOnline) Read() ProductConfig
- func (a *AMQOnline) SetBlackboxTargetPath(newBlackboxTargetPath string)
- func (a *AMQOnline) SetHost(newHost string)
- func (a *AMQOnline) SetNamespace(newNamespace string)
- func (a *AMQOnline) SetOperatorNamespace(newNamespace string)
- func (a *AMQOnline) Validate() error
- type AMQStreams
- func (a *AMQStreams) GetHost() string
- func (a *AMQStreams) GetNamespace() string
- func (a *AMQStreams) GetOperatorNamespace() string
- func (a *AMQStreams) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (a *AMQStreams) GetProductName() integreatlyv1alpha1.ProductName
- func (a *AMQStreams) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (a *AMQStreams) GetWatchableCRDs() []runtime.Object
- func (a *AMQStreams) Read() ProductConfig
- func (a *AMQStreams) SetHost(newHost string)
- func (a *AMQStreams) SetNamespace(newNamespace string)
- func (a *AMQStreams) SetOperatorNamespace(newNamespace string)
- type Apicurito
- func (c *Apicurito) GetHost() string
- func (r *Apicurito) GetNamespace() string
- func (r *Apicurito) GetOperatorNamespace() string
- func (r *Apicurito) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (r *Apicurito) GetProductName() integreatlyv1alpha1.ProductName
- func (r *Apicurito) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (r *Apicurito) GetWatchableCRDs() []runtime.Object
- func (r *Apicurito) Read() ProductConfig
- func (c *Apicurito) SetHost(newHost string)
- func (r *Apicurito) SetNamespace(newNamespace string)
- func (r *Apicurito) SetOperatorVersion(operator string)
- func (r *Apicurito) SetProductVersion(version string)
- func (r *Apicurito) Validate() error
- type CloudResources
- func (c *CloudResources) GetHost() string
- func (c *CloudResources) GetNamespace() string
- func (c *CloudResources) GetOperatorNamespace() string
- func (c *CloudResources) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (c *CloudResources) GetProductName() integreatlyv1alpha1.ProductName
- func (c *CloudResources) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (c *CloudResources) GetWatchableCRDs() []runtime.Object
- func (c *CloudResources) Read() ProductConfig
- func (c *CloudResources) SetHost(newHost string)
- func (c *CloudResources) SetNamespace(newNamespace string)
- func (c *CloudResources) SetOperatorNamespace(newNamespace string)
- type CodeReady
- func (c *CodeReady) GetBackupSchedule() string
- func (c *CodeReady) GetBackupsSecretName() string
- func (c *CodeReady) GetHost() string
- func (c *CodeReady) GetLabelSelector() string
- func (c *CodeReady) GetNamespace() string
- func (c *CodeReady) GetOperatorNamespace() string
- func (c *CodeReady) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (c *CodeReady) GetPostgresBackupSecretName() string
- func (c *CodeReady) GetProductName() integreatlyv1alpha1.ProductName
- func (c *CodeReady) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (r *CodeReady) GetTemplateList() []string
- func (c *CodeReady) GetWatchableCRDs() []runtime.Object
- func (c *CodeReady) Read() ProductConfig
- func (c *CodeReady) SetHost(newHost string)
- func (c *CodeReady) SetNamespace(newNamespace string)
- func (c *CodeReady) SetOperatorNamespace(newNamespace string)
- type ConfigReadWriter
- type ConfigReadWriterMock
- func (mock *ConfigReadWriterMock) GetBackupsSecretName() string
- func (mock *ConfigReadWriterMock) GetBackupsSecretNameCalls() []struct{}
- func (mock *ConfigReadWriterMock) GetGHOauthClientsSecretName() string
- func (mock *ConfigReadWriterMock) GetGHOauthClientsSecretNameCalls() []struct{}
- func (mock *ConfigReadWriterMock) GetOauthClientsSecretName() string
- func (mock *ConfigReadWriterMock) GetOauthClientsSecretNameCalls() []struct{}
- func (mock *ConfigReadWriterMock) GetOperatorNamespace() string
- func (mock *ConfigReadWriterMock) GetOperatorNamespaceCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadAMQOnline() (*AMQOnline, error)
- func (mock *ConfigReadWriterMock) ReadAMQOnlineCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadAMQStreams() (*AMQStreams, error)
- func (mock *ConfigReadWriterMock) ReadAMQStreamsCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadApicurito() (*Apicurito, error)
- func (mock *ConfigReadWriterMock) ReadApicuritoCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadCloudResources() (*CloudResources, error)
- func (mock *ConfigReadWriterMock) ReadCloudResourcesCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadCodeReady() (*CodeReady, error)
- func (mock *ConfigReadWriterMock) ReadCodeReadyCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadDataSync() (*DataSync, error)
- func (mock *ConfigReadWriterMock) ReadDataSyncCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadFuse() (*Fuse, error)
- func (mock *ConfigReadWriterMock) ReadFuseCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadFuseOnOpenshift() (*FuseOnOpenshift, error)
- func (mock *ConfigReadWriterMock) ReadFuseOnOpenshiftCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadMonitoring() (*Monitoring, error)
- func (mock *ConfigReadWriterMock) ReadMonitoringCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadProduct(product v1alpha1.ProductName) (ConfigReadable, error)
- func (mock *ConfigReadWriterMock) ReadProductCalls() []struct{ ... }
- func (mock *ConfigReadWriterMock) ReadRHSSO() (*RHSSO, error)
- func (mock *ConfigReadWriterMock) ReadRHSSOCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadRHSSOUser() (*RHSSOUser, error)
- func (mock *ConfigReadWriterMock) ReadRHSSOUserCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadSolutionExplorer() (*SolutionExplorer, error)
- func (mock *ConfigReadWriterMock) ReadSolutionExplorerCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadThreeScale() (*ThreeScale, error)
- func (mock *ConfigReadWriterMock) ReadThreeScaleCalls() []struct{}
- func (mock *ConfigReadWriterMock) ReadUps() (*Ups, error)
- func (mock *ConfigReadWriterMock) ReadUpsCalls() []struct{}
- func (mock *ConfigReadWriterMock) WriteConfig(config ConfigReadable) error
- func (mock *ConfigReadWriterMock) WriteConfigCalls() []struct{ ... }
- type ConfigReadable
- type ConfigReadableMock
- func (mock *ConfigReadableMock) GetHost() string
- func (mock *ConfigReadableMock) GetHostCalls() []struct{}
- func (mock *ConfigReadableMock) GetNamespace() string
- func (mock *ConfigReadableMock) GetNamespaceCalls() []struct{}
- func (mock *ConfigReadableMock) GetOperatorVersion() v1alpha1.OperatorVersion
- func (mock *ConfigReadableMock) GetOperatorVersionCalls() []struct{}
- func (mock *ConfigReadableMock) GetProductName() v1alpha1.ProductName
- func (mock *ConfigReadableMock) GetProductNameCalls() []struct{}
- func (mock *ConfigReadableMock) GetProductVersion() v1alpha1.ProductVersion
- func (mock *ConfigReadableMock) GetProductVersionCalls() []struct{}
- func (mock *ConfigReadableMock) GetWatchableCRDs() []runtime.Object
- func (mock *ConfigReadableMock) GetWatchableCRDsCalls() []struct{}
- func (mock *ConfigReadableMock) Read() ProductConfig
- func (mock *ConfigReadableMock) ReadCalls() []struct{}
- type DataSync
- func (f *DataSync) GetHost() string
- func (f *DataSync) GetNamespace() string
- func (f *DataSync) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (f *DataSync) GetProductName() integreatlyv1alpha1.ProductName
- func (f *DataSync) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (f *DataSync) GetWatchableCRDs() []runtime.Object
- func (f *DataSync) Read() ProductConfig
- func (f *DataSync) SetNamespace(newNamespace string)
- func (f *DataSync) Validate() error
- type Fuse
- func (f *Fuse) GetHost() string
- func (f *Fuse) GetLabelSelector() string
- func (f *Fuse) GetNamespace() string
- func (f *Fuse) GetOperatorNamespace() string
- func (f *Fuse) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (f *Fuse) GetProductName() integreatlyv1alpha1.ProductName
- func (f *Fuse) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (r *Fuse) GetTemplateList() []string
- func (f *Fuse) GetWatchableCRDs() []runtime.Object
- func (f *Fuse) Read() ProductConfig
- func (f *Fuse) SetHost(newHost string)
- func (f *Fuse) SetNamespace(newNamespace string)
- func (f *Fuse) SetOperatorNamespace(newNamespace string)
- func (f *Fuse) Validate() error
- type FuseOnOpenshift
- func (f *FuseOnOpenshift) GetHost() string
- func (f *FuseOnOpenshift) GetNamespace() string
- func (f *FuseOnOpenshift) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (f *FuseOnOpenshift) GetProductName() integreatlyv1alpha1.ProductName
- func (f *FuseOnOpenshift) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (f *FuseOnOpenshift) GetWatchableCRDs() []runtime.Object
- func (f *FuseOnOpenshift) Read() ProductConfig
- func (f *FuseOnOpenshift) SetNamespace(newNamespace string)
- func (f *FuseOnOpenshift) Validate() error
- type Manager
- func (m *Manager) GetBackupsSecretName() string
- func (m *Manager) GetGHOauthClientsSecretName() string
- func (m *Manager) GetOauthClientsSecretName() string
- func (m *Manager) GetOperatorNamespace() string
- func (m *Manager) ReadAMQOnline() (*AMQOnline, error)
- func (m *Manager) ReadAMQStreams() (*AMQStreams, error)
- func (m *Manager) ReadApicurito() (*Apicurito, error)
- func (m *Manager) ReadCloudResources() (*CloudResources, error)
- func (m *Manager) ReadCodeReady() (*CodeReady, error)
- func (m *Manager) ReadDataSync() (*DataSync, error)
- func (m *Manager) ReadFuse() (*Fuse, error)
- func (m *Manager) ReadFuseOnOpenshift() (*FuseOnOpenshift, error)
- func (m *Manager) ReadMonitoring() (*Monitoring, error)
- func (m *Manager) ReadProduct(product integreatlyv1alpha1.ProductName) (ConfigReadable, error)
- func (m *Manager) ReadRHSSO() (*RHSSO, error)
- func (m *Manager) ReadRHSSOUser() (*RHSSOUser, error)
- func (m *Manager) ReadSolutionExplorer() (*SolutionExplorer, error)
- func (m *Manager) ReadThreeScale() (*ThreeScale, error)
- func (m *Manager) ReadUps() (*Ups, error)
- func (m *Manager) WriteConfig(config ConfigReadable) error
- type Monitoring
- func (m *Monitoring) GetAdditionalScrapeConfigSecretKey() string
- func (m *Monitoring) GetAdditionalScrapeConfigSecretName() string
- func (m *Monitoring) GetExtraParam(key string) string
- func (m *Monitoring) GetHost() string
- func (m *Monitoring) GetJobTemplates() []string
- func (m *Monitoring) GetLabelSelector() string
- func (m *Monitoring) GetLabelSelectorKey() string
- func (m *Monitoring) GetMonitoringConfigurationNamespace() string
- func (m *Monitoring) GetNamespace() string
- func (m *Monitoring) GetNamespacePrefix() string
- func (m *Monitoring) GetOperatorNamespace() string
- func (m *Monitoring) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (m *Monitoring) GetProductName() integreatlyv1alpha1.ProductName
- func (m *Monitoring) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (m *Monitoring) GetPrometheusRetention() string
- func (m *Monitoring) GetPrometheusStorageRequest() string
- func (m *Monitoring) GetTemplateList() []string
- func (m *Monitoring) GetWatchableCRDs() []runtime.Object
- func (m *Monitoring) Read() ProductConfig
- func (m *Monitoring) SetExtraParam(key string, val string)
- func (m *Monitoring) SetHost(newHost string)
- func (m *Monitoring) SetNamespace(newNamespace string)
- func (m *Monitoring) SetNamespacePrefix(newNamespacePrefix string)
- func (m *Monitoring) SetOperatorNamespace(newNamespace string)
- func (m *Monitoring) SetProductVersion(version string)
- func (m *Monitoring) Validate() error
- type ProductConfig
- type RHSSO
- func (r *RHSSO) GetHost() string
- func (r *RHSSO) GetLabelSelector() string
- func (r *RHSSO) GetNamespace() string
- func (r *RHSSO) GetOperatorNamespace() string
- func (r *RHSSO) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (r *RHSSO) GetProductName() integreatlyv1alpha1.ProductName
- func (r *RHSSO) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (r *RHSSO) GetRealm() string
- func (r *RHSSO) GetTemplateList() []string
- func (r *RHSSO) GetWatchableCRDs() []runtime.Object
- func (r *RHSSO) Read() ProductConfig
- func (r *RHSSO) SetHost(newHost string)
- func (r *RHSSO) SetNamespace(newNamespace string)
- func (r *RHSSO) SetOperatorNamespace(newNamespace string)
- func (r *RHSSO) SetOperatorVersion(operator string)
- func (r *RHSSO) SetProductVersion(version string)
- func (r *RHSSO) SetRealm(newRealm string)
- func (r *RHSSO) Validate() error
- type RHSSOUser
- func (r *RHSSOUser) GetHost() string
- func (r *RHSSOUser) GetNamespace() string
- func (r *RHSSOUser) GetOperatorNamespace() string
- func (r *RHSSOUser) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (r *RHSSOUser) GetProductName() integreatlyv1alpha1.ProductName
- func (r *RHSSOUser) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (r *RHSSOUser) GetRealm() string
- func (r *RHSSOUser) GetWatchableCRDs() []runtime.Object
- func (r *RHSSOUser) Read() ProductConfig
- func (r *RHSSOUser) SetHost(newHost string)
- func (r *RHSSOUser) SetNamespace(newNamespace string)
- func (r *RHSSOUser) SetOperatorNamespace(newNamespace string)
- func (r *RHSSOUser) SetOperatorVersion(operator string)
- func (r *RHSSOUser) SetProductVersion(version string)
- func (r *RHSSOUser) SetRealm(newRealm string)
- func (r *RHSSOUser) Validate() error
- type SolutionExplorer
- func (s *SolutionExplorer) GetHost() string
- func (s *SolutionExplorer) GetLabelSelector() string
- func (s *SolutionExplorer) GetNamespace() string
- func (s *SolutionExplorer) GetOperatorNamespace() string
- func (s *SolutionExplorer) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (s *SolutionExplorer) GetProductName() integreatlyv1alpha1.ProductName
- func (s *SolutionExplorer) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (s *SolutionExplorer) GetTemplateList() []string
- func (s *SolutionExplorer) GetWatchableCRDs() []runtime.Object
- func (s *SolutionExplorer) Read() ProductConfig
- func (s *SolutionExplorer) SetHost(newHost string)
- func (s *SolutionExplorer) SetNamespace(newNamespace string)
- func (s *SolutionExplorer) SetOperatorNamespace(newNamespace string)
- func (s *SolutionExplorer) SetProductVersion(newVersion string)
- func (s *SolutionExplorer) Validate() error
- type ThreeScale
- func (t *ThreeScale) GetBlackboxTargetPathForAdminUI() string
- func (t *ThreeScale) GetHost() string
- func (t *ThreeScale) GetLabelSelector() string
- func (t *ThreeScale) GetNamespace() string
- func (t *ThreeScale) GetOperatorNamespace() string
- func (t *ThreeScale) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (t *ThreeScale) GetProductName() integreatlyv1alpha1.ProductName
- func (t *ThreeScale) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (t *ThreeScale) GetTemplateList() []string
- func (t *ThreeScale) GetWatchableCRDs() []runtime.Object
- func (t *ThreeScale) Read() ProductConfig
- func (t *ThreeScale) SetBlackboxTargetPathForAdminUI(newBlackboxTargetPath string)
- func (t *ThreeScale) SetHost(newHost string)
- func (t *ThreeScale) SetNamespace(newNamespace string)
- func (t *ThreeScale) SetOperatorNamespace(newNamespace string)
- func (t *ThreeScale) SetOperatorVersion(operator string)
- func (t *ThreeScale) SetProductVersion(newVersion string)
- func (t *ThreeScale) Validate() error
- type Ups
- func (u *Ups) GetBlackboxTargetPath() string
- func (u *Ups) GetHost() string
- func (u *Ups) GetNamespace() string
- func (u *Ups) GetOperatorNamespace() string
- func (u *Ups) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
- func (u *Ups) GetProductName() integreatlyv1alpha1.ProductName
- func (u *Ups) GetProductVersion() integreatlyv1alpha1.ProductVersion
- func (u *Ups) GetWatchableCRDs() []runtime.Object
- func (u *Ups) Read() ProductConfig
- func (u *Ups) SetBlackboxTargetPath(newBlackboxTargetPath string)
- func (u *Ups) SetHost(newHost string)
- func (u *Ups) SetNamespace(newNamespace string)
- func (u *Ups) SetOperatorNamespace(newNamespace string)
- func (u *Ups) Validate() error
Constants ¶
This section is empty.
Variables ¶
var SubscriptionTimeout = time.Minute * 5
A little bit arbitary but it is to work around an issue that subscriptions can take a long time to be picked up and an install plan created deleting and recreating the subscription can speed up this process
Functions ¶
This section is empty.
Types ¶
type AMQOnline ¶
type AMQOnline struct {
// contains filtered or unexported fields
}
func NewAMQOnline ¶
func NewAMQOnline(config ProductConfig) *AMQOnline
func (*AMQOnline) GetBackupSchedule ¶
func (*AMQOnline) GetBackupsSecretName ¶
func (*AMQOnline) GetBlackboxTargetPath ¶
func (*AMQOnline) GetLabelSelector ¶
func (*AMQOnline) GetNamespace ¶
func (*AMQOnline) GetOperatorNamespace ¶
func (*AMQOnline) GetOperatorVersion ¶
func (a *AMQOnline) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*AMQOnline) GetProductName ¶
func (a *AMQOnline) GetProductName() integreatlyv1alpha1.ProductName
func (*AMQOnline) GetProductVersion ¶
func (a *AMQOnline) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*AMQOnline) GetTemplateList ¶
func (*AMQOnline) GetWatchableCRDs ¶
func (*AMQOnline) Read ¶
func (a *AMQOnline) Read() ProductConfig
func (*AMQOnline) SetBlackboxTargetPath ¶
func (*AMQOnline) SetNamespace ¶
func (*AMQOnline) SetOperatorNamespace ¶
type AMQStreams ¶
type AMQStreams struct {
// contains filtered or unexported fields
}
func NewAMQStreams ¶
func NewAMQStreams(config ProductConfig) *AMQStreams
func (*AMQStreams) GetHost ¶
func (a *AMQStreams) GetHost() string
func (*AMQStreams) GetNamespace ¶
func (a *AMQStreams) GetNamespace() string
func (*AMQStreams) GetOperatorNamespace ¶
func (a *AMQStreams) GetOperatorNamespace() string
func (*AMQStreams) GetOperatorVersion ¶
func (a *AMQStreams) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*AMQStreams) GetProductName ¶
func (a *AMQStreams) GetProductName() integreatlyv1alpha1.ProductName
func (*AMQStreams) GetProductVersion ¶
func (a *AMQStreams) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*AMQStreams) GetWatchableCRDs ¶
func (a *AMQStreams) GetWatchableCRDs() []runtime.Object
func (*AMQStreams) Read ¶
func (a *AMQStreams) Read() ProductConfig
func (*AMQStreams) SetHost ¶
func (a *AMQStreams) SetHost(newHost string)
func (*AMQStreams) SetNamespace ¶
func (a *AMQStreams) SetNamespace(newNamespace string)
func (*AMQStreams) SetOperatorNamespace ¶
func (a *AMQStreams) SetOperatorNamespace(newNamespace string)
type Apicurito ¶
type Apicurito struct {
Config ProductConfig
}
func NewApicurito ¶
func NewApicurito(config ProductConfig) *Apicurito
func (*Apicurito) GetNamespace ¶
func (*Apicurito) GetOperatorNamespace ¶
func (*Apicurito) GetOperatorVersion ¶
func (r *Apicurito) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*Apicurito) GetProductName ¶
func (r *Apicurito) GetProductName() integreatlyv1alpha1.ProductName
func (*Apicurito) GetProductVersion ¶
func (r *Apicurito) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*Apicurito) GetWatchableCRDs ¶
GetWatchableCRDs to trigger a reconcile of the integreatly installation when these are updated
func (*Apicurito) Read ¶
func (r *Apicurito) Read() ProductConfig
func (*Apicurito) SetNamespace ¶
func (*Apicurito) SetOperatorVersion ¶
func (*Apicurito) SetProductVersion ¶
type CloudResources ¶
type CloudResources struct {
Config ProductConfig
}
func NewCloudResources ¶
func NewCloudResources(config ProductConfig) *CloudResources
func (*CloudResources) GetHost ¶
func (c *CloudResources) GetHost() string
func (*CloudResources) GetNamespace ¶
func (c *CloudResources) GetNamespace() string
func (*CloudResources) GetOperatorNamespace ¶
func (c *CloudResources) GetOperatorNamespace() string
func (*CloudResources) GetOperatorVersion ¶
func (c *CloudResources) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*CloudResources) GetProductName ¶
func (c *CloudResources) GetProductName() integreatlyv1alpha1.ProductName
func (*CloudResources) GetProductVersion ¶
func (c *CloudResources) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*CloudResources) GetWatchableCRDs ¶
func (c *CloudResources) GetWatchableCRDs() []runtime.Object
func (*CloudResources) Read ¶
func (c *CloudResources) Read() ProductConfig
func (*CloudResources) SetHost ¶
func (c *CloudResources) SetHost(newHost string)
func (*CloudResources) SetNamespace ¶
func (c *CloudResources) SetNamespace(newNamespace string)
func (*CloudResources) SetOperatorNamespace ¶
func (c *CloudResources) SetOperatorNamespace(newNamespace string)
type CodeReady ¶
type CodeReady struct {
Config ProductConfig
}
func NewCodeReady ¶
func NewCodeReady(config ProductConfig) *CodeReady
func (*CodeReady) GetBackupSchedule ¶
func (*CodeReady) GetBackupsSecretName ¶
func (*CodeReady) GetLabelSelector ¶
func (*CodeReady) GetNamespace ¶
func (*CodeReady) GetOperatorNamespace ¶
func (*CodeReady) GetOperatorVersion ¶
func (c *CodeReady) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*CodeReady) GetPostgresBackupSecretName ¶
func (*CodeReady) GetProductName ¶
func (c *CodeReady) GetProductName() integreatlyv1alpha1.ProductName
func (*CodeReady) GetProductVersion ¶
func (c *CodeReady) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*CodeReady) GetTemplateList ¶
func (*CodeReady) GetWatchableCRDs ¶
func (*CodeReady) Read ¶
func (c *CodeReady) Read() ProductConfig
func (*CodeReady) SetNamespace ¶
func (*CodeReady) SetOperatorNamespace ¶
type ConfigReadWriter ¶
type ConfigReadWriter interface { GetOauthClientsSecretName() string GetGHOauthClientsSecretName() string GetBackupsSecretName() string WriteConfig(config ConfigReadable) error ReadAMQStreams() (*AMQStreams, error) ReadRHSSO() (*RHSSO, error) ReadRHSSOUser() (*RHSSOUser, error) ReadCodeReady() (*CodeReady, error) ReadThreeScale() (*ThreeScale, error) ReadFuse() (*Fuse, error) ReadFuseOnOpenshift() (*FuseOnOpenshift, error) ReadAMQOnline() (*AMQOnline, error) GetOperatorNamespace() string ReadSolutionExplorer() (*SolutionExplorer, error) ReadMonitoring() (*Monitoring, error) ReadProduct(product integreatlyv1alpha1.ProductName) (ConfigReadable, error) ReadUps() (*Ups, error) ReadApicurito() (*Apicurito, error) ReadCloudResources() (*CloudResources, error) ReadDataSync() (*DataSync, error) // contains filtered or unexported methods }
type ConfigReadWriterMock ¶
type ConfigReadWriterMock struct { // GetBackupsSecretNameFunc mocks the GetBackupsSecretName method. GetBackupsSecretNameFunc func() string // GetGHOauthClientsSecretNameFunc mocks the GetGHOauthClientsSecretName method. GetGHOauthClientsSecretNameFunc func() string // GetOauthClientsSecretNameFunc mocks the GetOauthClientsSecretName method. GetOauthClientsSecretNameFunc func() string // GetOperatorNamespaceFunc mocks the GetOperatorNamespace method. GetOperatorNamespaceFunc func() string // ReadAMQOnlineFunc mocks the ReadAMQOnline method. ReadAMQOnlineFunc func() (*AMQOnline, error) // ReadAMQStreamsFunc mocks the ReadAMQStreams method. ReadAMQStreamsFunc func() (*AMQStreams, error) // ReadApicuritoFunc mocks the ReadApicurito method. ReadApicuritoFunc func() (*Apicurito, error) // ReadCloudResourcesFunc mocks the ReadCloudResources method. ReadCloudResourcesFunc func() (*CloudResources, error) // ReadCodeReadyFunc mocks the ReadCodeReady method. ReadCodeReadyFunc func() (*CodeReady, error) // ReadDataSyncFunc mocks the ReadDataSync method. ReadDataSyncFunc func() (*DataSync, error) // ReadFuseFunc mocks the ReadFuse method. ReadFuseFunc func() (*Fuse, error) // ReadFuseOnOpenshiftFunc mocks the ReadFuseOnOpenshift method. ReadFuseOnOpenshiftFunc func() (*FuseOnOpenshift, error) // ReadMonitoringFunc mocks the ReadMonitoring method. ReadMonitoringFunc func() (*Monitoring, error) // ReadProductFunc mocks the ReadProduct method. ReadProductFunc func(product v1alpha1.ProductName) (ConfigReadable, error) // ReadRHSSOFunc mocks the ReadRHSSO method. ReadRHSSOFunc func() (*RHSSO, error) // ReadRHSSOUserFunc mocks the ReadRHSSOUser method. ReadRHSSOUserFunc func() (*RHSSOUser, error) // ReadSolutionExplorerFunc mocks the ReadSolutionExplorer method. ReadSolutionExplorerFunc func() (*SolutionExplorer, error) // ReadThreeScaleFunc mocks the ReadThreeScale method. ReadThreeScaleFunc func() (*ThreeScale, error) // ReadUpsFunc mocks the ReadUps method. ReadUpsFunc func() (*Ups, error) // WriteConfigFunc mocks the WriteConfig method. WriteConfigFunc func(config ConfigReadable) error // contains filtered or unexported fields }
ConfigReadWriterMock is a mock implementation of ConfigReadWriter.
func TestSomethingThatUsesConfigReadWriter(t *testing.T) { // make and configure a mocked ConfigReadWriter mockedConfigReadWriter := &ConfigReadWriterMock{ GetBackupsSecretNameFunc: func() string { panic("mock out the GetBackupsSecretName method") }, GetGHOauthClientsSecretNameFunc: func() string { panic("mock out the GetGHOauthClientsSecretName method") }, GetOauthClientsSecretNameFunc: func() string { panic("mock out the GetOauthClientsSecretName method") }, GetOperatorNamespaceFunc: func() string { panic("mock out the GetOperatorNamespace method") }, ReadAMQOnlineFunc: func() (*AMQOnline, error) { panic("mock out the ReadAMQOnline method") }, ReadAMQStreamsFunc: func() (*AMQStreams, error) { panic("mock out the ReadAMQStreams method") }, ReadApicuritoFunc: func() (*Apicurito, error) { panic("mock out the ReadApicurito method") }, ReadCloudResourcesFunc: func() (*CloudResources, error) { panic("mock out the ReadCloudResources method") }, ReadCodeReadyFunc: func() (*CodeReady, error) { panic("mock out the ReadCodeReady method") }, ReadDataSyncFunc: func() (*DataSync, error) { panic("mock out the ReadDataSync method") }, ReadFuseFunc: func() (*Fuse, error) { panic("mock out the ReadFuse method") }, ReadFuseOnOpenshiftFunc: func() (*FuseOnOpenshift, error) { panic("mock out the ReadFuseOnOpenshift method") }, ReadMonitoringFunc: func() (*Monitoring, error) { panic("mock out the ReadMonitoring method") }, ReadProductFunc: func(product v1alpha1.ProductName) (ConfigReadable, error) { panic("mock out the ReadProduct method") }, ReadRHSSOFunc: func() (*RHSSO, error) { panic("mock out the ReadRHSSO method") }, ReadRHSSOUserFunc: func() (*RHSSOUser, error) { panic("mock out the ReadRHSSOUser method") }, ReadSolutionExplorerFunc: func() (*SolutionExplorer, error) { panic("mock out the ReadSolutionExplorer method") }, ReadThreeScaleFunc: func() (*ThreeScale, error) { panic("mock out the ReadThreeScale method") }, ReadUpsFunc: func() (*Ups, error) { panic("mock out the ReadUps method") }, WriteConfigFunc: func(config ConfigReadable) error { panic("mock out the WriteConfig method") }, readConfigForProductFunc: func(product v1alpha1.ProductName) (ProductConfig, error) { panic("mock out the readConfigForProduct method") }, } // use mockedConfigReadWriter in code that requires ConfigReadWriter // and then make assertions. }
func (*ConfigReadWriterMock) GetBackupsSecretName ¶
func (mock *ConfigReadWriterMock) GetBackupsSecretName() string
GetBackupsSecretName calls GetBackupsSecretNameFunc.
func (*ConfigReadWriterMock) GetBackupsSecretNameCalls ¶
func (mock *ConfigReadWriterMock) GetBackupsSecretNameCalls() []struct { }
GetBackupsSecretNameCalls gets all the calls that were made to GetBackupsSecretName. Check the length with:
len(mockedConfigReadWriter.GetBackupsSecretNameCalls())
func (*ConfigReadWriterMock) GetGHOauthClientsSecretName ¶
func (mock *ConfigReadWriterMock) GetGHOauthClientsSecretName() string
GetGHOauthClientsSecretName calls GetGHOauthClientsSecretNameFunc.
func (*ConfigReadWriterMock) GetGHOauthClientsSecretNameCalls ¶
func (mock *ConfigReadWriterMock) GetGHOauthClientsSecretNameCalls() []struct { }
GetGHOauthClientsSecretNameCalls gets all the calls that were made to GetGHOauthClientsSecretName. Check the length with:
len(mockedConfigReadWriter.GetGHOauthClientsSecretNameCalls())
func (*ConfigReadWriterMock) GetOauthClientsSecretName ¶
func (mock *ConfigReadWriterMock) GetOauthClientsSecretName() string
GetOauthClientsSecretName calls GetOauthClientsSecretNameFunc.
func (*ConfigReadWriterMock) GetOauthClientsSecretNameCalls ¶
func (mock *ConfigReadWriterMock) GetOauthClientsSecretNameCalls() []struct { }
GetOauthClientsSecretNameCalls gets all the calls that were made to GetOauthClientsSecretName. Check the length with:
len(mockedConfigReadWriter.GetOauthClientsSecretNameCalls())
func (*ConfigReadWriterMock) GetOperatorNamespace ¶
func (mock *ConfigReadWriterMock) GetOperatorNamespace() string
GetOperatorNamespace calls GetOperatorNamespaceFunc.
func (*ConfigReadWriterMock) GetOperatorNamespaceCalls ¶
func (mock *ConfigReadWriterMock) GetOperatorNamespaceCalls() []struct { }
GetOperatorNamespaceCalls gets all the calls that were made to GetOperatorNamespace. Check the length with:
len(mockedConfigReadWriter.GetOperatorNamespaceCalls())
func (*ConfigReadWriterMock) ReadAMQOnline ¶
func (mock *ConfigReadWriterMock) ReadAMQOnline() (*AMQOnline, error)
ReadAMQOnline calls ReadAMQOnlineFunc.
func (*ConfigReadWriterMock) ReadAMQOnlineCalls ¶
func (mock *ConfigReadWriterMock) ReadAMQOnlineCalls() []struct { }
ReadAMQOnlineCalls gets all the calls that were made to ReadAMQOnline. Check the length with:
len(mockedConfigReadWriter.ReadAMQOnlineCalls())
func (*ConfigReadWriterMock) ReadAMQStreams ¶
func (mock *ConfigReadWriterMock) ReadAMQStreams() (*AMQStreams, error)
ReadAMQStreams calls ReadAMQStreamsFunc.
func (*ConfigReadWriterMock) ReadAMQStreamsCalls ¶
func (mock *ConfigReadWriterMock) ReadAMQStreamsCalls() []struct { }
ReadAMQStreamsCalls gets all the calls that were made to ReadAMQStreams. Check the length with:
len(mockedConfigReadWriter.ReadAMQStreamsCalls())
func (*ConfigReadWriterMock) ReadApicurito ¶
func (mock *ConfigReadWriterMock) ReadApicurito() (*Apicurito, error)
ReadApicurito calls ReadApicuritoFunc.
func (*ConfigReadWriterMock) ReadApicuritoCalls ¶
func (mock *ConfigReadWriterMock) ReadApicuritoCalls() []struct { }
ReadApicuritoCalls gets all the calls that were made to ReadApicurito. Check the length with:
len(mockedConfigReadWriter.ReadApicuritoCalls())
func (*ConfigReadWriterMock) ReadCloudResources ¶
func (mock *ConfigReadWriterMock) ReadCloudResources() (*CloudResources, error)
ReadCloudResources calls ReadCloudResourcesFunc.
func (*ConfigReadWriterMock) ReadCloudResourcesCalls ¶
func (mock *ConfigReadWriterMock) ReadCloudResourcesCalls() []struct { }
ReadCloudResourcesCalls gets all the calls that were made to ReadCloudResources. Check the length with:
len(mockedConfigReadWriter.ReadCloudResourcesCalls())
func (*ConfigReadWriterMock) ReadCodeReady ¶
func (mock *ConfigReadWriterMock) ReadCodeReady() (*CodeReady, error)
ReadCodeReady calls ReadCodeReadyFunc.
func (*ConfigReadWriterMock) ReadCodeReadyCalls ¶
func (mock *ConfigReadWriterMock) ReadCodeReadyCalls() []struct { }
ReadCodeReadyCalls gets all the calls that were made to ReadCodeReady. Check the length with:
len(mockedConfigReadWriter.ReadCodeReadyCalls())
func (*ConfigReadWriterMock) ReadDataSync ¶
func (mock *ConfigReadWriterMock) ReadDataSync() (*DataSync, error)
ReadDataSync calls ReadDataSyncFunc.
func (*ConfigReadWriterMock) ReadDataSyncCalls ¶
func (mock *ConfigReadWriterMock) ReadDataSyncCalls() []struct { }
ReadDataSyncCalls gets all the calls that were made to ReadDataSync. Check the length with:
len(mockedConfigReadWriter.ReadDataSyncCalls())
func (*ConfigReadWriterMock) ReadFuse ¶
func (mock *ConfigReadWriterMock) ReadFuse() (*Fuse, error)
ReadFuse calls ReadFuseFunc.
func (*ConfigReadWriterMock) ReadFuseCalls ¶
func (mock *ConfigReadWriterMock) ReadFuseCalls() []struct { }
ReadFuseCalls gets all the calls that were made to ReadFuse. Check the length with:
len(mockedConfigReadWriter.ReadFuseCalls())
func (*ConfigReadWriterMock) ReadFuseOnOpenshift ¶
func (mock *ConfigReadWriterMock) ReadFuseOnOpenshift() (*FuseOnOpenshift, error)
ReadFuseOnOpenshift calls ReadFuseOnOpenshiftFunc.
func (*ConfigReadWriterMock) ReadFuseOnOpenshiftCalls ¶
func (mock *ConfigReadWriterMock) ReadFuseOnOpenshiftCalls() []struct { }
ReadFuseOnOpenshiftCalls gets all the calls that were made to ReadFuseOnOpenshift. Check the length with:
len(mockedConfigReadWriter.ReadFuseOnOpenshiftCalls())
func (*ConfigReadWriterMock) ReadMonitoring ¶
func (mock *ConfigReadWriterMock) ReadMonitoring() (*Monitoring, error)
ReadMonitoring calls ReadMonitoringFunc.
func (*ConfigReadWriterMock) ReadMonitoringCalls ¶
func (mock *ConfigReadWriterMock) ReadMonitoringCalls() []struct { }
ReadMonitoringCalls gets all the calls that were made to ReadMonitoring. Check the length with:
len(mockedConfigReadWriter.ReadMonitoringCalls())
func (*ConfigReadWriterMock) ReadProduct ¶
func (mock *ConfigReadWriterMock) ReadProduct(product v1alpha1.ProductName) (ConfigReadable, error)
ReadProduct calls ReadProductFunc.
func (*ConfigReadWriterMock) ReadProductCalls ¶
func (mock *ConfigReadWriterMock) ReadProductCalls() []struct { Product v1alpha1.ProductName }
ReadProductCalls gets all the calls that were made to ReadProduct. Check the length with:
len(mockedConfigReadWriter.ReadProductCalls())
func (*ConfigReadWriterMock) ReadRHSSO ¶
func (mock *ConfigReadWriterMock) ReadRHSSO() (*RHSSO, error)
ReadRHSSO calls ReadRHSSOFunc.
func (*ConfigReadWriterMock) ReadRHSSOCalls ¶
func (mock *ConfigReadWriterMock) ReadRHSSOCalls() []struct { }
ReadRHSSOCalls gets all the calls that were made to ReadRHSSO. Check the length with:
len(mockedConfigReadWriter.ReadRHSSOCalls())
func (*ConfigReadWriterMock) ReadRHSSOUser ¶
func (mock *ConfigReadWriterMock) ReadRHSSOUser() (*RHSSOUser, error)
ReadRHSSOUser calls ReadRHSSOUserFunc.
func (*ConfigReadWriterMock) ReadRHSSOUserCalls ¶
func (mock *ConfigReadWriterMock) ReadRHSSOUserCalls() []struct { }
ReadRHSSOUserCalls gets all the calls that were made to ReadRHSSOUser. Check the length with:
len(mockedConfigReadWriter.ReadRHSSOUserCalls())
func (*ConfigReadWriterMock) ReadSolutionExplorer ¶
func (mock *ConfigReadWriterMock) ReadSolutionExplorer() (*SolutionExplorer, error)
ReadSolutionExplorer calls ReadSolutionExplorerFunc.
func (*ConfigReadWriterMock) ReadSolutionExplorerCalls ¶
func (mock *ConfigReadWriterMock) ReadSolutionExplorerCalls() []struct { }
ReadSolutionExplorerCalls gets all the calls that were made to ReadSolutionExplorer. Check the length with:
len(mockedConfigReadWriter.ReadSolutionExplorerCalls())
func (*ConfigReadWriterMock) ReadThreeScale ¶
func (mock *ConfigReadWriterMock) ReadThreeScale() (*ThreeScale, error)
ReadThreeScale calls ReadThreeScaleFunc.
func (*ConfigReadWriterMock) ReadThreeScaleCalls ¶
func (mock *ConfigReadWriterMock) ReadThreeScaleCalls() []struct { }
ReadThreeScaleCalls gets all the calls that were made to ReadThreeScale. Check the length with:
len(mockedConfigReadWriter.ReadThreeScaleCalls())
func (*ConfigReadWriterMock) ReadUps ¶
func (mock *ConfigReadWriterMock) ReadUps() (*Ups, error)
ReadUps calls ReadUpsFunc.
func (*ConfigReadWriterMock) ReadUpsCalls ¶
func (mock *ConfigReadWriterMock) ReadUpsCalls() []struct { }
ReadUpsCalls gets all the calls that were made to ReadUps. Check the length with:
len(mockedConfigReadWriter.ReadUpsCalls())
func (*ConfigReadWriterMock) WriteConfig ¶
func (mock *ConfigReadWriterMock) WriteConfig(config ConfigReadable) error
WriteConfig calls WriteConfigFunc.
func (*ConfigReadWriterMock) WriteConfigCalls ¶
func (mock *ConfigReadWriterMock) WriteConfigCalls() []struct { Config ConfigReadable }
WriteConfigCalls gets all the calls that were made to WriteConfig. Check the length with:
len(mockedConfigReadWriter.WriteConfigCalls())
type ConfigReadable ¶
type ConfigReadable interface { Read() ProductConfig GetProductName() integreatlyv1alpha1.ProductName GetProductVersion() integreatlyv1alpha1.ProductVersion GetOperatorVersion() integreatlyv1alpha1.OperatorVersion GetHost() string GetWatchableCRDs() []runtime.Object GetNamespace() string }
type ConfigReadableMock ¶
type ConfigReadableMock struct { // GetHostFunc mocks the GetHost method. GetHostFunc func() string // GetNamespaceFunc mocks the GetNamespace method. GetNamespaceFunc func() string // GetOperatorVersionFunc mocks the GetOperatorVersion method. GetOperatorVersionFunc func() v1alpha1.OperatorVersion // GetProductNameFunc mocks the GetProductName method. GetProductNameFunc func() v1alpha1.ProductName // GetProductVersionFunc mocks the GetProductVersion method. GetProductVersionFunc func() v1alpha1.ProductVersion // GetWatchableCRDsFunc mocks the GetWatchableCRDs method. GetWatchableCRDsFunc func() []runtime.Object // ReadFunc mocks the Read method. ReadFunc func() ProductConfig // contains filtered or unexported fields }
ConfigReadableMock is a mock implementation of ConfigReadable.
func TestSomethingThatUsesConfigReadable(t *testing.T) { // make and configure a mocked ConfigReadable mockedConfigReadable := &ConfigReadableMock{ GetHostFunc: func() string { panic("mock out the GetHost method") }, GetNamespaceFunc: func() string { panic("mock out the GetNamespace method") }, GetOperatorVersionFunc: func() v1alpha1.OperatorVersion { panic("mock out the GetOperatorVersion method") }, GetProductNameFunc: func() v1alpha1.ProductName { panic("mock out the GetProductName method") }, GetProductVersionFunc: func() v1alpha1.ProductVersion { panic("mock out the GetProductVersion method") }, GetWatchableCRDsFunc: func() []runtime.Object { panic("mock out the GetWatchableCRDs method") }, ReadFunc: func() ProductConfig { panic("mock out the Read method") }, } // use mockedConfigReadable in code that requires ConfigReadable // and then make assertions. }
func (*ConfigReadableMock) GetHost ¶
func (mock *ConfigReadableMock) GetHost() string
GetHost calls GetHostFunc.
func (*ConfigReadableMock) GetHostCalls ¶
func (mock *ConfigReadableMock) GetHostCalls() []struct { }
GetHostCalls gets all the calls that were made to GetHost. Check the length with:
len(mockedConfigReadable.GetHostCalls())
func (*ConfigReadableMock) GetNamespace ¶
func (mock *ConfigReadableMock) GetNamespace() string
GetNamespace calls GetNamespaceFunc.
func (*ConfigReadableMock) GetNamespaceCalls ¶
func (mock *ConfigReadableMock) GetNamespaceCalls() []struct { }
GetNamespaceCalls gets all the calls that were made to GetNamespace. Check the length with:
len(mockedConfigReadable.GetNamespaceCalls())
func (*ConfigReadableMock) GetOperatorVersion ¶
func (mock *ConfigReadableMock) GetOperatorVersion() v1alpha1.OperatorVersion
GetOperatorVersion calls GetOperatorVersionFunc.
func (*ConfigReadableMock) GetOperatorVersionCalls ¶
func (mock *ConfigReadableMock) GetOperatorVersionCalls() []struct { }
GetOperatorVersionCalls gets all the calls that were made to GetOperatorVersion. Check the length with:
len(mockedConfigReadable.GetOperatorVersionCalls())
func (*ConfigReadableMock) GetProductName ¶
func (mock *ConfigReadableMock) GetProductName() v1alpha1.ProductName
GetProductName calls GetProductNameFunc.
func (*ConfigReadableMock) GetProductNameCalls ¶
func (mock *ConfigReadableMock) GetProductNameCalls() []struct { }
GetProductNameCalls gets all the calls that were made to GetProductName. Check the length with:
len(mockedConfigReadable.GetProductNameCalls())
func (*ConfigReadableMock) GetProductVersion ¶
func (mock *ConfigReadableMock) GetProductVersion() v1alpha1.ProductVersion
GetProductVersion calls GetProductVersionFunc.
func (*ConfigReadableMock) GetProductVersionCalls ¶
func (mock *ConfigReadableMock) GetProductVersionCalls() []struct { }
GetProductVersionCalls gets all the calls that were made to GetProductVersion. Check the length with:
len(mockedConfigReadable.GetProductVersionCalls())
func (*ConfigReadableMock) GetWatchableCRDs ¶
func (mock *ConfigReadableMock) GetWatchableCRDs() []runtime.Object
GetWatchableCRDs calls GetWatchableCRDsFunc.
func (*ConfigReadableMock) GetWatchableCRDsCalls ¶
func (mock *ConfigReadableMock) GetWatchableCRDsCalls() []struct { }
GetWatchableCRDsCalls gets all the calls that were made to GetWatchableCRDs. Check the length with:
len(mockedConfigReadable.GetWatchableCRDsCalls())
func (*ConfigReadableMock) Read ¶
func (mock *ConfigReadableMock) Read() ProductConfig
Read calls ReadFunc.
func (*ConfigReadableMock) ReadCalls ¶
func (mock *ConfigReadableMock) ReadCalls() []struct { }
ReadCalls gets all the calls that were made to Read. Check the length with:
len(mockedConfigReadable.ReadCalls())
type DataSync ¶
type DataSync struct {
// contains filtered or unexported fields
}
func NewDataSync ¶
func NewDataSync(config ProductConfig) *DataSync
func (*DataSync) GetNamespace ¶
func (*DataSync) GetOperatorVersion ¶
func (f *DataSync) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*DataSync) GetProductName ¶
func (f *DataSync) GetProductName() integreatlyv1alpha1.ProductName
func (*DataSync) GetProductVersion ¶
func (f *DataSync) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*DataSync) GetWatchableCRDs ¶
func (*DataSync) Read ¶
func (f *DataSync) Read() ProductConfig
func (*DataSync) SetNamespace ¶
type Fuse ¶
type Fuse struct {
// contains filtered or unexported fields
}
func NewFuse ¶
func NewFuse(config ProductConfig) *Fuse
func (*Fuse) GetLabelSelector ¶
func (*Fuse) GetNamespace ¶
func (*Fuse) GetOperatorNamespace ¶
func (*Fuse) GetOperatorVersion ¶
func (f *Fuse) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*Fuse) GetProductName ¶
func (f *Fuse) GetProductName() integreatlyv1alpha1.ProductName
func (*Fuse) GetProductVersion ¶
func (f *Fuse) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*Fuse) GetTemplateList ¶
func (*Fuse) GetWatchableCRDs ¶
func (*Fuse) Read ¶
func (f *Fuse) Read() ProductConfig
func (*Fuse) SetNamespace ¶
func (*Fuse) SetOperatorNamespace ¶
type FuseOnOpenshift ¶
type FuseOnOpenshift struct {
// contains filtered or unexported fields
}
func NewFuseOnOpenshift ¶
func NewFuseOnOpenshift(config ProductConfig) *FuseOnOpenshift
func (*FuseOnOpenshift) GetHost ¶
func (f *FuseOnOpenshift) GetHost() string
func (*FuseOnOpenshift) GetNamespace ¶
func (f *FuseOnOpenshift) GetNamespace() string
func (*FuseOnOpenshift) GetOperatorVersion ¶
func (f *FuseOnOpenshift) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*FuseOnOpenshift) GetProductName ¶
func (f *FuseOnOpenshift) GetProductName() integreatlyv1alpha1.ProductName
func (*FuseOnOpenshift) GetProductVersion ¶
func (f *FuseOnOpenshift) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*FuseOnOpenshift) GetWatchableCRDs ¶
func (f *FuseOnOpenshift) GetWatchableCRDs() []runtime.Object
func (*FuseOnOpenshift) Read ¶
func (f *FuseOnOpenshift) Read() ProductConfig
func (*FuseOnOpenshift) SetNamespace ¶
func (f *FuseOnOpenshift) SetNamespace(newNamespace string)
func (*FuseOnOpenshift) Validate ¶
func (f *FuseOnOpenshift) Validate() error
type Manager ¶
type Manager struct { Client k8sclient.Client Namespace string // contains filtered or unexported fields }
func NewManager ¶
func (*Manager) GetBackupsSecretName ¶
func (*Manager) GetGHOauthClientsSecretName ¶
func (*Manager) GetOauthClientsSecretName ¶
func (*Manager) GetOperatorNamespace ¶
func (*Manager) ReadAMQOnline ¶
func (*Manager) ReadAMQStreams ¶
func (m *Manager) ReadAMQStreams() (*AMQStreams, error)
func (*Manager) ReadApicurito ¶
func (*Manager) ReadCloudResources ¶
func (m *Manager) ReadCloudResources() (*CloudResources, error)
func (*Manager) ReadCodeReady ¶
func (*Manager) ReadDataSync ¶
func (*Manager) ReadFuseOnOpenshift ¶
func (m *Manager) ReadFuseOnOpenshift() (*FuseOnOpenshift, error)
func (*Manager) ReadMonitoring ¶
func (m *Manager) ReadMonitoring() (*Monitoring, error)
func (*Manager) ReadProduct ¶
func (m *Manager) ReadProduct(product integreatlyv1alpha1.ProductName) (ConfigReadable, error)
func (*Manager) ReadRHSSOUser ¶
func (*Manager) ReadSolutionExplorer ¶
func (m *Manager) ReadSolutionExplorer() (*SolutionExplorer, error)
func (*Manager) ReadThreeScale ¶
func (m *Manager) ReadThreeScale() (*ThreeScale, error)
func (*Manager) WriteConfig ¶
func (m *Manager) WriteConfig(config ConfigReadable) error
type Monitoring ¶
type Monitoring struct {
Config ProductConfig
}
func NewMonitoring ¶
func NewMonitoring(config ProductConfig) *Monitoring
func (*Monitoring) GetAdditionalScrapeConfigSecretKey ¶
func (m *Monitoring) GetAdditionalScrapeConfigSecretKey() string
func (*Monitoring) GetAdditionalScrapeConfigSecretName ¶
func (m *Monitoring) GetAdditionalScrapeConfigSecretName() string
func (*Monitoring) GetExtraParam ¶
func (m *Monitoring) GetExtraParam(key string) string
func (*Monitoring) GetHost ¶
func (m *Monitoring) GetHost() string
func (*Monitoring) GetJobTemplates ¶
func (m *Monitoring) GetJobTemplates() []string
func (*Monitoring) GetLabelSelector ¶
func (m *Monitoring) GetLabelSelector() string
func (*Monitoring) GetLabelSelectorKey ¶
func (m *Monitoring) GetLabelSelectorKey() string
func (*Monitoring) GetMonitoringConfigurationNamespace ¶
func (m *Monitoring) GetMonitoringConfigurationNamespace() string
func (*Monitoring) GetNamespace ¶
func (m *Monitoring) GetNamespace() string
func (*Monitoring) GetNamespacePrefix ¶
func (m *Monitoring) GetNamespacePrefix() string
func (*Monitoring) GetOperatorNamespace ¶
func (m *Monitoring) GetOperatorNamespace() string
func (*Monitoring) GetOperatorVersion ¶
func (m *Monitoring) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*Monitoring) GetProductName ¶
func (m *Monitoring) GetProductName() integreatlyv1alpha1.ProductName
func (*Monitoring) GetProductVersion ¶
func (m *Monitoring) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*Monitoring) GetPrometheusRetention ¶
func (m *Monitoring) GetPrometheusRetention() string
func (*Monitoring) GetPrometheusStorageRequest ¶
func (m *Monitoring) GetPrometheusStorageRequest() string
func (*Monitoring) GetTemplateList ¶
func (m *Monitoring) GetTemplateList() []string
func (*Monitoring) GetWatchableCRDs ¶
func (m *Monitoring) GetWatchableCRDs() []runtime.Object
func (*Monitoring) Read ¶
func (m *Monitoring) Read() ProductConfig
func (*Monitoring) SetExtraParam ¶
func (m *Monitoring) SetExtraParam(key string, val string)
func (*Monitoring) SetHost ¶
func (m *Monitoring) SetHost(newHost string)
func (*Monitoring) SetNamespace ¶
func (m *Monitoring) SetNamespace(newNamespace string)
func (*Monitoring) SetNamespacePrefix ¶
func (m *Monitoring) SetNamespacePrefix(newNamespacePrefix string)
func (*Monitoring) SetOperatorNamespace ¶
func (m *Monitoring) SetOperatorNamespace(newNamespace string)
func (*Monitoring) SetProductVersion ¶
func (m *Monitoring) SetProductVersion(version string)
func (*Monitoring) Validate ¶
func (m *Monitoring) Validate() error
type ProductConfig ¶
type RHSSO ¶
type RHSSO struct {
Config ProductConfig
}
func NewRHSSO ¶
func NewRHSSO(config ProductConfig) *RHSSO
func (*RHSSO) GetLabelSelector ¶
func (*RHSSO) GetNamespace ¶
func (*RHSSO) GetOperatorNamespace ¶
func (*RHSSO) GetOperatorVersion ¶
func (r *RHSSO) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*RHSSO) GetProductName ¶
func (r *RHSSO) GetProductName() integreatlyv1alpha1.ProductName
func (*RHSSO) GetProductVersion ¶
func (r *RHSSO) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*RHSSO) GetTemplateList ¶
func (*RHSSO) GetWatchableCRDs ¶
GetWatchableCRDs to trigger a reconcile of the integreatly installation when these are updated
func (*RHSSO) Read ¶
func (r *RHSSO) Read() ProductConfig
func (*RHSSO) SetNamespace ¶
func (*RHSSO) SetOperatorNamespace ¶
func (*RHSSO) SetOperatorVersion ¶
func (*RHSSO) SetProductVersion ¶
type RHSSOUser ¶
type RHSSOUser struct {
Config ProductConfig
}
func NewRHSSOUser ¶
func NewRHSSOUser(config ProductConfig) *RHSSOUser
func (*RHSSOUser) GetNamespace ¶
func (*RHSSOUser) GetOperatorNamespace ¶
func (*RHSSOUser) GetOperatorVersion ¶
func (r *RHSSOUser) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*RHSSOUser) GetProductName ¶
func (r *RHSSOUser) GetProductName() integreatlyv1alpha1.ProductName
func (*RHSSOUser) GetProductVersion ¶
func (r *RHSSOUser) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*RHSSOUser) GetWatchableCRDs ¶
func (*RHSSOUser) Read ¶
func (r *RHSSOUser) Read() ProductConfig
func (*RHSSOUser) SetNamespace ¶
func (*RHSSOUser) SetOperatorNamespace ¶
func (*RHSSOUser) SetOperatorVersion ¶
func (*RHSSOUser) SetProductVersion ¶
type SolutionExplorer ¶
type SolutionExplorer struct {
// contains filtered or unexported fields
}
func NewSolutionExplorer ¶
func NewSolutionExplorer(config ProductConfig) *SolutionExplorer
func (*SolutionExplorer) GetHost ¶
func (s *SolutionExplorer) GetHost() string
func (*SolutionExplorer) GetLabelSelector ¶
func (s *SolutionExplorer) GetLabelSelector() string
func (*SolutionExplorer) GetNamespace ¶
func (s *SolutionExplorer) GetNamespace() string
func (*SolutionExplorer) GetOperatorNamespace ¶
func (s *SolutionExplorer) GetOperatorNamespace() string
func (*SolutionExplorer) GetOperatorVersion ¶
func (s *SolutionExplorer) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*SolutionExplorer) GetProductName ¶
func (s *SolutionExplorer) GetProductName() integreatlyv1alpha1.ProductName
func (*SolutionExplorer) GetProductVersion ¶
func (s *SolutionExplorer) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*SolutionExplorer) GetTemplateList ¶
func (s *SolutionExplorer) GetTemplateList() []string
func (*SolutionExplorer) GetWatchableCRDs ¶
func (s *SolutionExplorer) GetWatchableCRDs() []runtime.Object
func (*SolutionExplorer) Read ¶
func (s *SolutionExplorer) Read() ProductConfig
func (*SolutionExplorer) SetHost ¶
func (s *SolutionExplorer) SetHost(newHost string)
func (*SolutionExplorer) SetNamespace ¶
func (s *SolutionExplorer) SetNamespace(newNamespace string)
func (*SolutionExplorer) SetOperatorNamespace ¶
func (s *SolutionExplorer) SetOperatorNamespace(newNamespace string)
func (*SolutionExplorer) SetProductVersion ¶
func (s *SolutionExplorer) SetProductVersion(newVersion string)
func (*SolutionExplorer) Validate ¶
func (s *SolutionExplorer) Validate() error
type ThreeScale ¶
type ThreeScale struct {
// contains filtered or unexported fields
}
func NewThreeScale ¶
func NewThreeScale(config ProductConfig) *ThreeScale
func (*ThreeScale) GetBlackboxTargetPathForAdminUI ¶
func (t *ThreeScale) GetBlackboxTargetPathForAdminUI() string
func (*ThreeScale) GetHost ¶
func (t *ThreeScale) GetHost() string
func (*ThreeScale) GetLabelSelector ¶
func (t *ThreeScale) GetLabelSelector() string
func (*ThreeScale) GetNamespace ¶
func (t *ThreeScale) GetNamespace() string
func (*ThreeScale) GetOperatorNamespace ¶
func (t *ThreeScale) GetOperatorNamespace() string
func (*ThreeScale) GetOperatorVersion ¶
func (t *ThreeScale) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*ThreeScale) GetProductName ¶
func (t *ThreeScale) GetProductName() integreatlyv1alpha1.ProductName
func (*ThreeScale) GetProductVersion ¶
func (t *ThreeScale) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*ThreeScale) GetTemplateList ¶
func (t *ThreeScale) GetTemplateList() []string
func (*ThreeScale) GetWatchableCRDs ¶
func (t *ThreeScale) GetWatchableCRDs() []runtime.Object
func (*ThreeScale) Read ¶
func (t *ThreeScale) Read() ProductConfig
func (*ThreeScale) SetBlackboxTargetPathForAdminUI ¶
func (t *ThreeScale) SetBlackboxTargetPathForAdminUI(newBlackboxTargetPath string)
func (*ThreeScale) SetHost ¶
func (t *ThreeScale) SetHost(newHost string)
func (*ThreeScale) SetNamespace ¶
func (t *ThreeScale) SetNamespace(newNamespace string)
func (*ThreeScale) SetOperatorNamespace ¶
func (t *ThreeScale) SetOperatorNamespace(newNamespace string)
func (*ThreeScale) SetOperatorVersion ¶
func (t *ThreeScale) SetOperatorVersion(operator string)
func (*ThreeScale) SetProductVersion ¶
func (t *ThreeScale) SetProductVersion(newVersion string)
func (*ThreeScale) Validate ¶
func (t *ThreeScale) Validate() error
type Ups ¶
type Ups struct {
// contains filtered or unexported fields
}
func NewUps ¶
func NewUps(config ProductConfig) *Ups
func (*Ups) GetBlackboxTargetPath ¶
func (*Ups) GetNamespace ¶
func (*Ups) GetOperatorNamespace ¶
func (*Ups) GetOperatorVersion ¶
func (u *Ups) GetOperatorVersion() integreatlyv1alpha1.OperatorVersion
func (*Ups) GetProductName ¶
func (u *Ups) GetProductName() integreatlyv1alpha1.ProductName
func (*Ups) GetProductVersion ¶
func (u *Ups) GetProductVersion() integreatlyv1alpha1.ProductVersion
func (*Ups) GetWatchableCRDs ¶
func (*Ups) Read ¶
func (u *Ups) Read() ProductConfig