Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) GenerateNewDeployment(companion *v1alpha1.Companion, backendImage string) (*v1.Deployment, error)
- func (_m *Manager) GenerateNewSecret(companion *v1alpha1.Companion, config backendmanager.Config) (*corev1.Secret, error)
- func (_m *Manager) GetBackendConfig(ctx context.Context) (*backendmanager.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Manager) GenerateNewDeployment ¶
func (_m *Manager) GenerateNewDeployment(companion *v1alpha1.Companion, backendImage string) (*v1.Deployment, error)
GenerateNewDeployment provides a mock function with given fields: companion, backendImage
func (*Manager) GenerateNewSecret ¶
func (_m *Manager) GenerateNewSecret(companion *v1alpha1.Companion, config backendmanager.Config) (*corev1.Secret, error)
GenerateNewSecret provides a mock function with given fields: companion, config
func (*Manager) GetBackendConfig ¶
GetBackendConfig provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.