Documentation ¶
Index ¶
- type CertificateSecretConfigurator
- type CompassConfigurator
- type CompassConnectionConfigurator
- type ConfigurationSecretConfigurator
- type DeploymentConfigurator
- type DirectorClient
- func (_m *DirectorClient) AssignRuntimeToFormation(runtimeId string, formationName string) error
- func (_m *DirectorClient) GetConnectionToken(runtimeID string) (string, string, error)
- func (_m *DirectorClient) RegisterFormation(formationName string) error
- func (_m *DirectorClient) RegisterRuntime(runtimeName string) (string, error)
- func (_m *DirectorClient) UnregisterFormation(formationName string) error
- func (_m *DirectorClient) UnregisterRuntime(id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateSecretConfigurator ¶
CertificateSecretConfigurator is an autogenerated mock type for the CertificateSecretConfigurator type
func NewCertificateSecretConfigurator ¶
func NewCertificateSecretConfigurator(t mockConstructorTestingTNewCertificateSecretConfigurator) *CertificateSecretConfigurator
NewCertificateSecretConfigurator creates a new instance of CertificateSecretConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CertificateSecretConfigurator) Do ¶
func (_m *CertificateSecretConfigurator) Do(caSecretName string, clusterCertSecretName string) (types.RollbackFunc, error)
Do provides a mock function with given fields: caSecretName, clusterCertSecretName
type CompassConfigurator ¶
CompassConfigurator is an autogenerated mock type for the CompassConfigurator type
func NewCompassConfigurator ¶
func NewCompassConfigurator(t mockConstructorTestingTNewCompassConfigurator) *CompassConfigurator
NewCompassConfigurator creates a new instance of CompassConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CompassConfigurator) Do ¶
func (_m *CompassConfigurator) Do(runtimeName string, formationName string) (types.CompassRuntimeAgentConfig, types.RollbackFunc, error)
Do provides a mock function with given fields: runtimeName, formationName
type CompassConnectionConfigurator ¶
CompassConnectionConfigurator is an autogenerated mock type for the CompassConnectionConfigurator type
func NewCompassConnectionConfigurator ¶
func NewCompassConnectionConfigurator(t mockConstructorTestingTNewCompassConnectionConfigurator) *CompassConnectionConfigurator
NewCompassConnectionConfigurator creates a new instance of CompassConnectionConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CompassConnectionConfigurator) Do ¶
func (_m *CompassConnectionConfigurator) Do() (types.RollbackFunc, error)
Do provides a mock function with given fields:
type ConfigurationSecretConfigurator ¶
ConfigurationSecretConfigurator is an autogenerated mock type for the ConfigurationSecretConfigurator type
func NewConfigurationSecretConfigurator ¶
func NewConfigurationSecretConfigurator(t mockConstructorTestingTNewConfigurationSecretConfigurator) *ConfigurationSecretConfigurator
NewConfigurationSecretConfigurator creates a new instance of ConfigurationSecretConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfigurationSecretConfigurator) Do ¶
func (_m *ConfigurationSecretConfigurator) Do(configurationSecretName string, config types.CompassRuntimeAgentConfig) (types.RollbackFunc, error)
Do provides a mock function with given fields: configurationSecretName, config
type DeploymentConfigurator ¶
DeploymentConfigurator is an autogenerated mock type for the DeploymentConfigurator type
func NewDeploymentConfigurator ¶
func NewDeploymentConfigurator(t mockConstructorTestingTNewDeploymentConfigurator) *DeploymentConfigurator
NewDeploymentConfigurator creates a new instance of DeploymentConfigurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DeploymentConfigurator) Do ¶
func (_m *DeploymentConfigurator) Do(caSecretName string, clusterCertSecretName string, runtimeAgentConfigSecretName string, controllerSyncPeriodTime string) (types.RollbackFunc, error)
Do provides a mock function with given fields: caSecretName, clusterCertSecretName, runtimeAgentConfigSecretName, controllerSyncPeriodTime
type DirectorClient ¶
DirectorClient is an autogenerated mock type for the DirectorClient type
func NewDirectorClient ¶
func NewDirectorClient(t mockConstructorTestingTNewDirectorClient) *DirectorClient
NewDirectorClient creates a new instance of DirectorClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DirectorClient) AssignRuntimeToFormation ¶
func (_m *DirectorClient) AssignRuntimeToFormation(runtimeId string, formationName string) error
AssignRuntimeToFormation provides a mock function with given fields: runtimeId, formationName
func (*DirectorClient) GetConnectionToken ¶
func (_m *DirectorClient) GetConnectionToken(runtimeID string) (string, string, error)
GetConnectionToken provides a mock function with given fields: runtimeID
func (*DirectorClient) RegisterFormation ¶
func (_m *DirectorClient) RegisterFormation(formationName string) error
RegisterFormation provides a mock function with given fields: formationName
func (*DirectorClient) RegisterRuntime ¶
func (_m *DirectorClient) RegisterRuntime(runtimeName string) (string, error)
RegisterRuntime provides a mock function with given fields: runtimeName
func (*DirectorClient) UnregisterFormation ¶
func (_m *DirectorClient) UnregisterFormation(formationName string) error
UnregisterFormation provides a mock function with given fields: formationName
func (*DirectorClient) UnregisterRuntime ¶
func (_m *DirectorClient) UnregisterRuntime(id string) error
UnregisterRuntime provides a mock function with given fields: id