Documentation ¶
Index ¶
- type ChartProvider
- type Commands
- func (_m *Commands) Apply(_a0 *service.ActionContext, _a1 bool) error
- func (_m *Commands) CreateCARootSecret(_a0 *service.ActionContext, _a1 connectivityclient.ConnectivityClient) error
- func (_m *Commands) CreateSecretCpSvcKey(ctx *service.ActionContext, ns string, secretName string, cpSvcKey string) error
- func (_m *Commands) CreateSecretMappingOperator(_a0 *service.ActionContext, _a1 string) ([]byte, error)
- func (_m *Commands) CreateServiceMappingConfigMap(ctx *service.ActionContext, ns string, configMapName string) error
- func (_m *Commands) FixConfiguration(ctx *service.ActionContext, ns string, name string, tunnelURL string) error
- func (_m *Commands) Remove(_a0 *service.ActionContext) error
- type Loader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartProvider ¶
ChartProvider is an autogenerated mock type for the ChartProvider type
func (*ChartProvider) RenderManifest ¶
RenderManifest provides a mock function with given fields: component
type Commands ¶
Commands is an autogenerated mock type for the Commands type
func NewCommands ¶
NewCommands creates a new instance of Commands. 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 (*Commands) Apply ¶
func (_m *Commands) Apply(_a0 *service.ActionContext, _a1 bool) error
Apply provides a mock function with given fields: _a0, _a1
func (*Commands) CreateCARootSecret ¶
func (_m *Commands) CreateCARootSecret(_a0 *service.ActionContext, _a1 connectivityclient.ConnectivityClient) error
CreateCARootSecret provides a mock function with given fields: _a0, _a1
func (*Commands) CreateSecretCpSvcKey ¶
func (_m *Commands) CreateSecretCpSvcKey(ctx *service.ActionContext, ns string, secretName string, cpSvcKey string) error
CreateSecretCpSvcKey provides a mock function with given fields: ctx, ns, secretName, cpSvcKey
func (*Commands) CreateSecretMappingOperator ¶
func (_m *Commands) CreateSecretMappingOperator(_a0 *service.ActionContext, _a1 string) ([]byte, error)
CreateSecretMappingOperator provides a mock function with given fields: _a0, _a1
func (*Commands) CreateServiceMappingConfigMap ¶
func (_m *Commands) CreateServiceMappingConfigMap(ctx *service.ActionContext, ns string, configMapName string) error
CreateServiceMappingConfigMap provides a mock function with given fields: ctx, ns, configMapName
func (*Commands) FixConfiguration ¶
func (_m *Commands) FixConfiguration(ctx *service.ActionContext, ns string, name string, tunnelURL string) error
FixConfiguration provides a mock function with given fields: ctx, ns, name, tunnelURL
type Loader ¶
Loader is an autogenerated mock type for the Loader type
func NewLoader ¶
func NewLoader(t mockConstructorTestingTNewLoader) *Loader
NewLoader creates a new instance of Loader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Loader) FindBindingOperator ¶
func (_m *Loader) FindBindingOperator(context *service.ActionContext) (*unstructured.Unstructured, error)
FindBindingOperator provides a mock function with given fields: context
func (*Loader) FindSecret ¶
func (_m *Loader) FindSecret(_a0 *service.ActionContext, _a1 *unstructured.Unstructured) (*v1.Secret, error)
FindSecret provides a mock function with given fields: _a0, _a1
func (*Loader) HasServiceMappings ¶
func (_m *Loader) HasServiceMappings(_a0 *service.ActionContext) (bool, error)
HasServiceMappings provides a mock function with given fields: _a0