mocks

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalComponentAuthenticator

type ExternalComponentAuthenticator struct {
	mock.Mock
}

ExternalComponentAuthenticator is an autogenerated mock type for the ExternalComponentAuthenticator type

func NewExternalComponentAuthenticator

func NewExternalComponentAuthenticator(t mockConstructorTestingTNewExternalComponentAuthenticator) *ExternalComponentAuthenticator

NewExternalComponentAuthenticator creates a new instance of ExternalComponentAuthenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ExternalComponentAuthenticator) Do

Do provides a mock function with given fields: r

type Factory

type Factory struct {
	mock.Mock
}

Factory is an autogenerated mock type for the Factory type

func (*Factory) Delete

func (_m *Factory) Delete(version string) error

Delete provides a mock function with given fields: version

func (*Factory) Get

func (_m *Factory) Get(version string) (*chart.KymaWorkspace, error)

Get provides a mock function with given fields: version

func (*Factory) GetExternalComponent

func (_m *Factory) GetExternalComponent(component *chart.Component) (*chart.Workspace, error)

GetExternalComponent provides a mock function with given fields: component

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider

func NewProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *Provider

NewProvider creates a new instance of Provider. 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 (*Provider) Configuration

func (_m *Provider) Configuration(component *chart.Component) (map[string]interface{}, error)

Configuration provides a mock function with given fields: component

func (*Provider) RenderCRD

func (_m *Provider) RenderCRD(version string) ([]*chart.Manifest, error)

RenderCRD provides a mock function with given fields: version

func (*Provider) RenderCRDFiltered

func (_m *Provider) RenderCRDFiltered(version string, exclude []string) ([]*chart.Manifest, error)

RenderCRDFiltered provides a mock function with given fields: version, exclude

func (*Provider) RenderManifest

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

RenderManifest provides a mock function with given fields: component

func (*Provider) WithFilter

func (_m *Provider) WithFilter(filter chart.Filter) chart.Provider

WithFilter provides a mock function with given fields: filter

Jump to

Keyboard shortcuts

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