mocks

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks to create the mocks run go generate to regenerate this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAWS

type MockAWS struct {
	// contains filtered or unexported fields
}

MockAWS is a mock of AWS interface

func NewMockAWS

func NewMockAWS(ctrl *gomock.Controller) *MockAWS

NewMockAWS creates a new mock instance

func (*MockAWS) AttachPolicyToRole added in v0.24.0

func (m *MockAWS) AttachPolicyToRole(roleName, policyName string, logger logrus.FieldLogger) error

AttachPolicyToRole mocks base method

func (*MockAWS) CreatePrivateCNAME

func (m *MockAWS) CreatePrivateCNAME(dnsName string, dnsEndpoints []string, logger logrus.FieldLogger) error

CreatePrivateCNAME mocks base method

func (*MockAWS) CreatePublicCNAME

func (m *MockAWS) CreatePublicCNAME(dnsName string, dnsEndpoints []string, logger logrus.FieldLogger) error

CreatePublicCNAME mocks base method

func (*MockAWS) DeletePrivateCNAME

func (m *MockAWS) DeletePrivateCNAME(dnsName string, logger logrus.FieldLogger) error

DeletePrivateCNAME mocks base method

func (*MockAWS) DeletePublicCNAME

func (m *MockAWS) DeletePublicCNAME(dnsName string, logger logrus.FieldLogger) error

DeletePublicCNAME mocks base method

func (*MockAWS) DetachPolicyFromRole added in v0.24.0

func (m *MockAWS) DetachPolicyFromRole(roleName, policyName string, logger logrus.FieldLogger) error

DetachPolicyFromRole mocks base method

func (*MockAWS) DynamoDBEnsureTableDeleted added in v0.24.0

func (m *MockAWS) DynamoDBEnsureTableDeleted(tableName string, logger logrus.FieldLogger) error

DynamoDBEnsureTableDeleted mocks base method

func (*MockAWS) EXPECT

func (m *MockAWS) EXPECT() *MockAWSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAWS) GetAccountAliases added in v0.21.0

func (m *MockAWS) GetAccountAliases() (*iam.ListAccountAliasesOutput, error)

GetAccountAliases mocks base method

func (*MockAWS) GetAndClaimVpcResources

func (m *MockAWS) GetAndClaimVpcResources(clusterID, owner string, logger logrus.FieldLogger) (aws.ClusterResources, error)

GetAndClaimVpcResources mocks base method

func (*MockAWS) GetCertificateSummaryByTag

func (m *MockAWS) GetCertificateSummaryByTag(key, value string, logger logrus.FieldLogger) (*acm.CertificateSummary, error)

GetCertificateSummaryByTag mocks base method

func (*MockAWS) GetCloudEnvironmentName added in v0.29.0

func (m *MockAWS) GetCloudEnvironmentName() (string, error)

GetCloudEnvironmentName mocks base method

func (*MockAWS) GetPrivateZoneDomainName

func (m *MockAWS) GetPrivateZoneDomainName(logger logrus.FieldLogger) (string, error)

GetPrivateZoneDomainName mocks base method

func (*MockAWS) GetPrivateZoneIDForDefaultTag added in v0.22.0

func (m *MockAWS) GetPrivateZoneIDForDefaultTag(logger logrus.FieldLogger) (string, error)

GetPrivateZoneIDForDefaultTag mocks base method

func (*MockAWS) GetTagByKeyAndZoneID added in v0.22.0

func (m *MockAWS) GetTagByKeyAndZoneID(key, id string, logger logrus.FieldLogger) (*aws.Tag, error)

GetTagByKeyAndZoneID mocks base method

func (*MockAWS) IsProvisionedPrivateCNAME added in v0.19.0

func (m *MockAWS) IsProvisionedPrivateCNAME(dnsName string, logger logrus.FieldLogger) bool

IsProvisionedPrivateCNAME mocks base method

func (*MockAWS) IsValidAMI

func (m *MockAWS) IsValidAMI(AMIImage string, logger logrus.FieldLogger) (bool, error)

IsValidAMI mocks base method

func (*MockAWS) ReleaseVpc

func (m *MockAWS) ReleaseVpc(clusterID string, logger logrus.FieldLogger) error

ReleaseVpc mocks base method

func (*MockAWS) S3EnsureBucketDeleted added in v0.24.0

func (m *MockAWS) S3EnsureBucketDeleted(bucketName string, logger logrus.FieldLogger) error

S3EnsureBucketDeleted mocks base method

func (*MockAWS) TagResource

func (m *MockAWS) TagResource(resourceID, key, value string, logger logrus.FieldLogger) error

TagResource mocks base method

func (*MockAWS) UntagResource

func (m *MockAWS) UntagResource(resourceID, key, value string, logger logrus.FieldLogger) error

UntagResource mocks base method

type MockAWSMockRecorder

type MockAWSMockRecorder struct {
	// contains filtered or unexported fields
}

MockAWSMockRecorder is the mock recorder for MockAWS

func (*MockAWSMockRecorder) AttachPolicyToRole added in v0.24.0

func (mr *MockAWSMockRecorder) AttachPolicyToRole(roleName, policyName, logger interface{}) *gomock.Call

AttachPolicyToRole indicates an expected call of AttachPolicyToRole

func (*MockAWSMockRecorder) CreatePrivateCNAME

func (mr *MockAWSMockRecorder) CreatePrivateCNAME(dnsName, dnsEndpoints, logger interface{}) *gomock.Call

CreatePrivateCNAME indicates an expected call of CreatePrivateCNAME

func (*MockAWSMockRecorder) CreatePublicCNAME

func (mr *MockAWSMockRecorder) CreatePublicCNAME(dnsName, dnsEndpoints, logger interface{}) *gomock.Call

CreatePublicCNAME indicates an expected call of CreatePublicCNAME

func (*MockAWSMockRecorder) DeletePrivateCNAME

func (mr *MockAWSMockRecorder) DeletePrivateCNAME(dnsName, logger interface{}) *gomock.Call

DeletePrivateCNAME indicates an expected call of DeletePrivateCNAME

func (*MockAWSMockRecorder) DeletePublicCNAME

func (mr *MockAWSMockRecorder) DeletePublicCNAME(dnsName, logger interface{}) *gomock.Call

DeletePublicCNAME indicates an expected call of DeletePublicCNAME

func (*MockAWSMockRecorder) DetachPolicyFromRole added in v0.24.0

func (mr *MockAWSMockRecorder) DetachPolicyFromRole(roleName, policyName, logger interface{}) *gomock.Call

DetachPolicyFromRole indicates an expected call of DetachPolicyFromRole

func (*MockAWSMockRecorder) DynamoDBEnsureTableDeleted added in v0.24.0

func (mr *MockAWSMockRecorder) DynamoDBEnsureTableDeleted(tableName, logger interface{}) *gomock.Call

DynamoDBEnsureTableDeleted indicates an expected call of DynamoDBEnsureTableDeleted

func (*MockAWSMockRecorder) GetAccountAliases added in v0.21.0

func (mr *MockAWSMockRecorder) GetAccountAliases() *gomock.Call

GetAccountAliases indicates an expected call of GetAccountAliases

func (*MockAWSMockRecorder) GetAndClaimVpcResources

func (mr *MockAWSMockRecorder) GetAndClaimVpcResources(clusterID, owner, logger interface{}) *gomock.Call

GetAndClaimVpcResources indicates an expected call of GetAndClaimVpcResources

func (*MockAWSMockRecorder) GetCertificateSummaryByTag

func (mr *MockAWSMockRecorder) GetCertificateSummaryByTag(key, value, logger interface{}) *gomock.Call

GetCertificateSummaryByTag indicates an expected call of GetCertificateSummaryByTag

func (*MockAWSMockRecorder) GetCloudEnvironmentName added in v0.29.0

func (mr *MockAWSMockRecorder) GetCloudEnvironmentName() *gomock.Call

GetCloudEnvironmentName indicates an expected call of GetCloudEnvironmentName

func (*MockAWSMockRecorder) GetPrivateZoneDomainName

func (mr *MockAWSMockRecorder) GetPrivateZoneDomainName(logger interface{}) *gomock.Call

GetPrivateZoneDomainName indicates an expected call of GetPrivateZoneDomainName

func (*MockAWSMockRecorder) GetPrivateZoneIDForDefaultTag added in v0.22.0

func (mr *MockAWSMockRecorder) GetPrivateZoneIDForDefaultTag(logger interface{}) *gomock.Call

GetPrivateZoneIDForDefaultTag indicates an expected call of GetPrivateZoneIDForDefaultTag

func (*MockAWSMockRecorder) GetTagByKeyAndZoneID added in v0.22.0

func (mr *MockAWSMockRecorder) GetTagByKeyAndZoneID(key, id, logger interface{}) *gomock.Call

GetTagByKeyAndZoneID indicates an expected call of GetTagByKeyAndZoneID

func (*MockAWSMockRecorder) IsProvisionedPrivateCNAME added in v0.19.0

func (mr *MockAWSMockRecorder) IsProvisionedPrivateCNAME(dnsName, logger interface{}) *gomock.Call

IsProvisionedPrivateCNAME indicates an expected call of IsProvisionedPrivateCNAME

func (*MockAWSMockRecorder) IsValidAMI

func (mr *MockAWSMockRecorder) IsValidAMI(AMIImage, logger interface{}) *gomock.Call

IsValidAMI indicates an expected call of IsValidAMI

func (*MockAWSMockRecorder) ReleaseVpc

func (mr *MockAWSMockRecorder) ReleaseVpc(clusterID, logger interface{}) *gomock.Call

ReleaseVpc indicates an expected call of ReleaseVpc

func (*MockAWSMockRecorder) S3EnsureBucketDeleted added in v0.24.0

func (mr *MockAWSMockRecorder) S3EnsureBucketDeleted(bucketName, logger interface{}) *gomock.Call

S3EnsureBucketDeleted indicates an expected call of S3EnsureBucketDeleted

func (*MockAWSMockRecorder) TagResource

func (mr *MockAWSMockRecorder) TagResource(resourceID, key, value, logger interface{}) *gomock.Call

TagResource indicates an expected call of TagResource

func (*MockAWSMockRecorder) UntagResource

func (mr *MockAWSMockRecorder) UntagResource(resourceID, key, value, logger interface{}) *gomock.Call

UntagResource indicates an expected call of UntagResource

Jump to

Keyboard shortcuts

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