automock

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectorClient

type DirectorClient struct {
	mock.Mock
}

DirectorClient is an autogenerated mock type for the DirectorClient type

func NewDirectorClient

func NewDirectorClient(t mockConstructorTestingTNewDirectorClient) *DirectorClient

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

func (*DirectorClient) SetLabel

func (_m *DirectorClient) SetLabel(accountID string, runtimeID string, key string, value string) error

SetLabel provides a mock function with given fields: accountID, runtimeID, key, value

type EDPClient

type EDPClient struct {
	mock.Mock
}

EDPClient is an autogenerated mock type for the EDPClient type

func NewEDPClient

func NewEDPClient(t mockConstructorTestingTNewEDPClient) *EDPClient

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

func (*EDPClient) CreateDataTenant

func (_m *EDPClient) CreateDataTenant(data edp.DataTenantPayload) error

CreateDataTenant provides a mock function with given fields: data

func (*EDPClient) CreateMetadataTenant

func (_m *EDPClient) CreateMetadataTenant(name string, env string, data edp.MetadataTenantPayload) error

CreateMetadataTenant provides a mock function with given fields: name, env, data

func (*EDPClient) DeleteDataTenant

func (_m *EDPClient) DeleteDataTenant(name string, env string) error

DeleteDataTenant provides a mock function with given fields: name, env

func (*EDPClient) DeleteMetadataTenant

func (_m *EDPClient) DeleteMetadataTenant(name string, env string, key string) error

DeleteMetadataTenant provides a mock function with given fields: name, env, key

type ProvisionerInputCreator

type ProvisionerInputCreator struct {
	mock.Mock
}

ProvisionerInputCreator is an autogenerated mock type for the ProvisionerInputCreator type

func (*ProvisionerInputCreator) AppendGlobalOverrides

func (_m *ProvisionerInputCreator) AppendGlobalOverrides(overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator

AppendGlobalOverrides provides a mock function with given fields: overrides

func (*ProvisionerInputCreator) AppendOverrides

func (_m *ProvisionerInputCreator) AppendOverrides(component string, overrides []*gqlschema.ConfigEntryInput) internal.ProvisionerInputCreator

AppendOverrides provides a mock function with given fields: component, overrides

func (*ProvisionerInputCreator) Configuration

func (_m *ProvisionerInputCreator) Configuration() *internal.ConfigForPlan

Configuration provides a mock function with given fields:

func (*ProvisionerInputCreator) CreateClusterConfiguration

func (_m *ProvisionerInputCreator) CreateClusterConfiguration() (keb.Cluster, error)

CreateClusterConfiguration provides a mock function with given fields:

func (*ProvisionerInputCreator) CreateProvisionClusterInput

func (_m *ProvisionerInputCreator) CreateProvisionClusterInput() (gqlschema.ProvisionRuntimeInput, error)

CreateProvisionClusterInput provides a mock function with given fields:

func (*ProvisionerInputCreator) CreateProvisionRuntimeInput

func (_m *ProvisionerInputCreator) CreateProvisionRuntimeInput() (gqlschema.ProvisionRuntimeInput, error)

CreateProvisionRuntimeInput provides a mock function with given fields:

func (*ProvisionerInputCreator) CreateUpgradeRuntimeInput

func (_m *ProvisionerInputCreator) CreateUpgradeRuntimeInput() (gqlschema.UpgradeRuntimeInput, error)

CreateUpgradeRuntimeInput provides a mock function with given fields:

func (*ProvisionerInputCreator) CreateUpgradeShootInput

func (_m *ProvisionerInputCreator) CreateUpgradeShootInput() (gqlschema.UpgradeShootInput, error)

CreateUpgradeShootInput provides a mock function with given fields:

func (*ProvisionerInputCreator) DisableOptionalComponent

func (_m *ProvisionerInputCreator) DisableOptionalComponent(componentName string) internal.ProvisionerInputCreator

DisableOptionalComponent provides a mock function with given fields: componentName

func (*ProvisionerInputCreator) EnableOptionalComponent

func (_m *ProvisionerInputCreator) EnableOptionalComponent(componentName string) internal.ProvisionerInputCreator

EnableOptionalComponent provides a mock function with given fields: componentName

func (*ProvisionerInputCreator) Provider

Provider provides a mock function with given fields:

func (*ProvisionerInputCreator) SetClusterName

SetClusterName provides a mock function with given fields: name

func (*ProvisionerInputCreator) SetInstanceID

func (_m *ProvisionerInputCreator) SetInstanceID(instanceID string) internal.ProvisionerInputCreator

SetInstanceID provides a mock function with given fields: instanceID

func (*ProvisionerInputCreator) SetKubeconfig

SetKubeconfig provides a mock function with given fields: kcfg

func (*ProvisionerInputCreator) SetLabel

SetLabel provides a mock function with given fields: key, value

func (*ProvisionerInputCreator) SetOIDCLastValues

SetOIDCLastValues provides a mock function with given fields: oidcConfig

func (*ProvisionerInputCreator) SetOverrides

SetOverrides provides a mock function with given fields: component, overrides

func (*ProvisionerInputCreator) SetProvisioningParameters

SetProvisioningParameters provides a mock function with given fields: params

func (*ProvisionerInputCreator) SetRuntimeID

func (_m *ProvisionerInputCreator) SetRuntimeID(runtimeID string) internal.ProvisionerInputCreator

SetRuntimeID provides a mock function with given fields: runtimeID

func (*ProvisionerInputCreator) SetShootDNSProviders

func (_m *ProvisionerInputCreator) SetShootDNSProviders(dnsProviders gardener.DNSProvidersData) internal.ProvisionerInputCreator

SetShootDNSProviders provides a mock function with given fields: dnsProviders

func (*ProvisionerInputCreator) SetShootDomain

func (_m *ProvisionerInputCreator) SetShootDomain(shootDomain string) internal.ProvisionerInputCreator

SetShootDomain provides a mock function with given fields: shootDomain

func (*ProvisionerInputCreator) SetShootName

SetShootName provides a mock function with given fields: _a0

type RuntimeOverridesAppender

type RuntimeOverridesAppender struct {
	mock.Mock
}

RuntimeOverridesAppender is an autogenerated mock type for the RuntimeOverridesAppender type

func (*RuntimeOverridesAppender) Append

func (_m *RuntimeOverridesAppender) Append(input runtimeoverrides.InputAppender, planName string, kymaVersion string) error

Append provides a mock function with given fields: input, planName, kymaVersion

type RuntimeVersionConfiguratorForProvisioning

type RuntimeVersionConfiguratorForProvisioning struct {
	mock.Mock
}

RuntimeVersionConfiguratorForProvisioning is an autogenerated mock type for the RuntimeVersionConfiguratorForProvisioning type

func NewRuntimeVersionConfiguratorForProvisioning

func NewRuntimeVersionConfiguratorForProvisioning(t mockConstructorTestingTNewRuntimeVersionConfiguratorForProvisioning) *RuntimeVersionConfiguratorForProvisioning

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

func (*RuntimeVersionConfiguratorForProvisioning) ForProvisioning

ForProvisioning provides a mock function with given fields: op

type Step

type Step struct {
	mock.Mock
}

Step is an autogenerated mock type for the Step type

func (*Step) Name

func (_m *Step) Name() string

Name provides a mock function with given fields:

func (*Step) Run

func (_m *Step) Run(operation internal.Operation, logger logrus.FieldLogger) (internal.Operation, time.Duration, error)

Run provides a mock function with given fields: operation, logger

Jump to

Keyboard shortcuts

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