connectivityproxymocks

package
v0.0.0-...-54d0854 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartProvider

type ChartProvider struct {
	mock.Mock
}

ChartProvider is an autogenerated mock type for the ChartProvider type

func (*ChartProvider) RenderManifest

func (_m *ChartProvider) RenderManifest(component *chart.Component) (*chart.Manifest, error)

RenderManifest provides a mock function with given fields: component

type Commands

type Commands struct {
	mock.Mock
}

Commands is an autogenerated mock type for the Commands type

func NewCommands

func NewCommands(t interface {
	mock.TestingT
	Cleanup(func())
}) *Commands

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

func (*Commands) Remove

func (_m *Commands) Remove(_a0 *service.ActionContext) error

Remove provides a mock function with given fields: _a0

type Loader

type Loader struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL