mocks

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment added in v0.0.64

type Environment struct {
	mock.Mock
}

Environment is an autogenerated mock type for the Environment type

func NewEnvironment added in v0.0.64

func NewEnvironment(t mockConstructorTestingTNewEnvironment) *Environment

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

func (*Environment) Base added in v0.0.64

func (_m *Environment) Base() string

Base provides a mock function with given fields:

func (*Environment) BaseDomain added in v0.0.64

func (_m *Environment) BaseDomain() string

BaseDomain provides a mock function with given fields:

func (*Environment) DefaultCluster added in v0.0.64

func (_m *Environment) DefaultCluster() terra.Cluster

DefaultCluster provides a mock function with given fields:

func (*Environment) IsCluster added in v0.0.64

func (_m *Environment) IsCluster() bool

IsCluster provides a mock function with given fields:

func (*Environment) IsEnvironment added in v0.0.64

func (_m *Environment) IsEnvironment() bool

IsEnvironment provides a mock function with given fields:

func (*Environment) Lifecycle added in v0.0.64

func (_m *Environment) Lifecycle() terra.Lifecycle

Lifecycle provides a mock function with given fields:

func (*Environment) Name added in v0.0.64

func (_m *Environment) Name() string

Name provides a mock function with given fields:

func (*Environment) NamePrefixesDomain added in v0.0.64

func (_m *Environment) NamePrefixesDomain() bool

NamePrefixesDomain provides a mock function with given fields:

func (*Environment) Namespace added in v0.0.64

func (_m *Environment) Namespace() string

Namespace provides a mock function with given fields:

func (*Environment) ReleaseType added in v0.0.64

func (_m *Environment) ReleaseType() terra.ReleaseType

ReleaseType provides a mock function with given fields:

func (*Environment) Releases added in v0.0.64

func (_m *Environment) Releases() []terra.Release

Releases provides a mock function with given fields:

func (*Environment) RequireSuitable added in v0.0.64

func (_m *Environment) RequireSuitable() bool

RequireSuitable provides a mock function with given fields:

func (*Environment) Template added in v0.0.64

func (_m *Environment) Template() string

Template provides a mock function with given fields:

func (*Environment) TerraHelmfileRef added in v0.0.64

func (_m *Environment) TerraHelmfileRef() string

TerraHelmfileRef provides a mock function with given fields:

func (*Environment) Type added in v0.0.64

func (_m *Environment) Type() terra.DestinationType

Type provides a mock function with given fields:

func (*Environment) UniqueResourcePrefix added in v0.0.64

func (_m *Environment) UniqueResourcePrefix() string

UniqueResourcePrefix provides a mock function with given fields:

type Release

type Release struct {
	mock.Mock
}

Release is an autogenerated mock type for the Release type

func NewRelease added in v0.0.58

func NewRelease(t mockConstructorTestingTNewRelease) *Release

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

func (*Release) ChartName

func (_m *Release) ChartName() string

ChartName provides a mock function with given fields:

func (*Release) ChartVersion

func (_m *Release) ChartVersion() string

ChartVersion provides a mock function with given fields:

func (*Release) Cluster added in v0.0.58

func (_m *Release) Cluster() terra.Cluster

Cluster provides a mock function with given fields:

func (*Release) ClusterAddress

func (_m *Release) ClusterAddress() string

ClusterAddress provides a mock function with given fields:

func (*Release) ClusterName

func (_m *Release) ClusterName() string

ClusterName provides a mock function with given fields:

func (*Release) Destination

func (_m *Release) Destination() terra.Destination

Destination provides a mock function with given fields:

func (*Release) FirecloudDevelopRef

func (_m *Release) FirecloudDevelopRef() string

FirecloudDevelopRef provides a mock function with given fields:

func (*Release) IsAppRelease

func (_m *Release) IsAppRelease() bool

IsAppRelease provides a mock function with given fields:

func (*Release) IsClusterRelease

func (_m *Release) IsClusterRelease() bool

IsClusterRelease provides a mock function with given fields:

func (*Release) Name

func (_m *Release) Name() string

Name provides a mock function with given fields:

func (*Release) Namespace

func (_m *Release) Namespace() string

Namespace provides a mock function with given fields:

func (*Release) Repo

func (_m *Release) Repo() string

Repo provides a mock function with given fields:

func (*Release) TerraHelmfileRef

func (_m *Release) TerraHelmfileRef() string

TerraHelmfileRef provides a mock function with given fields:

func (*Release) Type

func (_m *Release) Type() terra.ReleaseType

Type provides a mock function with given fields:

type StateWriter added in v0.0.63

type StateWriter struct {
	mock.Mock
}

StateWriter is an autogenerated mock type for the StateWriter type

func NewStateWriter added in v0.0.63

func NewStateWriter(t mockConstructorTestingTNewStateWriter) *StateWriter

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

func (*StateWriter) DeleteEnvironments added in v0.0.64

func (_m *StateWriter) DeleteEnvironments(_a0 []terra.Environment) ([]string, error)

DeleteEnvironments provides a mock function with given fields: _a0

func (*StateWriter) DisableRelease added in v0.0.64

func (_m *StateWriter) DisableRelease(_a0 string, _a1 string) error

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

func (*StateWriter) EnableRelease added in v0.0.64

func (_m *StateWriter) EnableRelease(_a0 terra.Environment, _a1 string) error

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

func (*StateWriter) WriteClusters added in v0.0.63

func (_m *StateWriter) WriteClusters(_a0 []terra.Cluster) error

WriteClusters provides a mock function with given fields: _a0

func (*StateWriter) WriteEnvironments added in v0.0.63

func (_m *StateWriter) WriteEnvironments(_a0 []terra.Environment) ([]string, error)

WriteEnvironments 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