mocks

package
v0.5.61 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider

func NewProvider(t mockConstructorTestingTNewProvider) *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.

func (*Provider) Changed

func (_m *Provider) Changed() (bool, error)

Changed provides a mock function with given fields:

func (*Provider) Create

func (_m *Provider) Create() error

Create provides a mock function with given fields:

func (*Provider) Destroy

func (_m *Provider) Destroy() error

Destroy provides a mock function with given fields:

func (*Provider) Init

func (_m *Provider) Init(_a0 types.Resource, _a1 sdk.Logger) error

Init provides a mock function with given fields: _a0, _a1

func (*Provider) Lookup

func (_m *Provider) Lookup() ([]string, error)

Lookup provides a mock function with given fields:

func (*Provider) Refresh

func (_m *Provider) Refresh() error

Refresh provides a mock function with given fields:

type Providers

type Providers struct {
	mock.Mock
	Providers []*Provider
	// contains filtered or unexported fields
}

Providers is an autogenerated mock type for the Providers type

func NewProviders

func NewProviders(returnVals map[string]error) *Providers

func (*Providers) GetProvider

func (_m *Providers) GetProvider(c types.Resource) config.Provider

GetProvider provides a mock function with given fields: c

Jump to

Keyboard shortcuts

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