mockawstools

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mockawstools is a generated GoMock package.

Package mockawstools 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, dnsIdentifier 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) GenerateBifrostUtilitySecret added in v0.33.0

func (m *MockAWS) GenerateBifrostUtilitySecret(clusterID string, logger logrus.FieldLogger) (*v1.Secret, error)

GenerateBifrostUtilitySecret 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) GetCIDRByVPCTag added in v0.36.0

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

GetCIDRByVPCTag 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

GetCloudEnvironmentName mocks base method

func (*MockAWS) GetMultitenantBucketNameForInstallation added in v0.45.0

func (m *MockAWS) GetMultitenantBucketNameForInstallation(installationID string, store model.InstallationDatabaseStoreInterface) (string, error)

GetMultitenantBucketNameForInstallation mocks base method

func (*MockAWS) GetPrivateHostedZoneID added in v0.41.0

func (m *MockAWS) GetPrivateHostedZoneID() string

GetPrivateHostedZoneID mocks base method

func (*MockAWS) GetPrivateZoneDomainName

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

GetPrivateZoneDomainName mocks base method

func (*MockAWS) GetPublicHostedZoneNames added in v0.54.1

func (m *MockAWS) GetPublicHostedZoneNames() []string

GetPublicHostedZoneNames 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) GetVpcResources added in v0.38.0

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

GetVpcResources mocks base method

func (*MockAWS) GetVpcResourcesByVpcID added in v0.45.0

func (m *MockAWS) GetVpcResourcesByVpcID(vpcID string, logger logrus.FieldLogger) (aws.ClusterResources, error)

GetVpcResourcesByVpcID 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) S3EnsureObjectDeleted added in v0.44.0

func (m *MockAWS) S3EnsureObjectDeleted(bucketName, path string) error

S3EnsureObjectDeleted mocks base method

func (*MockAWS) S3LargeCopy added in v0.45.0

func (m *MockAWS) S3LargeCopy(srcBucketName, srcKey, destBucketName, destKey *string) error

S3LargeCopy mocks base method

func (*MockAWS) SecretsManagerGetPGBouncerAuthUserPassword added in v0.46.1

func (m *MockAWS) SecretsManagerGetPGBouncerAuthUserPassword(vpcID string) (string, error)

SecretsManagerGetPGBouncerAuthUserPassword mocks base method

func (*MockAWS) SwitchClusterTags added in v0.46.1

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

SwitchClusterTags mocks base method

func (*MockAWS) TagResource

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

TagResource mocks base method

func (*MockAWS) TagResourcesByCluster added in v0.45.0

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

TagResourcesByCluster mocks base method

func (*MockAWS) UntagResource

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

UntagResource mocks base method

func (*MockAWS) UpdatePublicRecordIDForCNAME added in v0.40.0

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

UpdatePublicRecordIDForCNAME mocks base method

func (*MockAWS) UpsertPublicCNAMEs added in v0.54.1

func (m *MockAWS) UpsertPublicCNAMEs(dnsNames, recordIDs, endpoints []string, logger logrus.FieldLogger) error

UpsertPublicCNAMEs 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, dnsIdentifier, 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) GenerateBifrostUtilitySecret added in v0.33.0

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

GenerateBifrostUtilitySecret indicates an expected call of GenerateBifrostUtilitySecret

func (*MockAWSMockRecorder) GetAndClaimVpcResources

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

GetAndClaimVpcResources indicates an expected call of GetAndClaimVpcResources

func (*MockAWSMockRecorder) GetCIDRByVPCTag added in v0.36.0

func (mr *MockAWSMockRecorder) GetCIDRByVPCTag(vpcTagName, logger interface{}) *gomock.Call

GetCIDRByVPCTag indicates an expected call of GetCIDRByVPCTag

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) GetMultitenantBucketNameForInstallation added in v0.45.0

func (mr *MockAWSMockRecorder) GetMultitenantBucketNameForInstallation(installationID, store interface{}) *gomock.Call

GetMultitenantBucketNameForInstallation indicates an expected call of GetMultitenantBucketNameForInstallation

func (*MockAWSMockRecorder) GetPrivateHostedZoneID added in v0.41.0

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

GetPrivateHostedZoneID indicates an expected call of GetPrivateHostedZoneID

func (*MockAWSMockRecorder) GetPrivateZoneDomainName

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

GetPrivateZoneDomainName indicates an expected call of GetPrivateZoneDomainName

func (*MockAWSMockRecorder) GetPublicHostedZoneNames added in v0.54.1

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

GetPublicHostedZoneNames indicates an expected call of GetPublicHostedZoneNames

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) GetVpcResources added in v0.38.0

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

GetVpcResources indicates an expected call of GetVpcResources

func (*MockAWSMockRecorder) GetVpcResourcesByVpcID added in v0.45.0

func (mr *MockAWSMockRecorder) GetVpcResourcesByVpcID(vpcID, logger interface{}) *gomock.Call

GetVpcResourcesByVpcID indicates an expected call of GetVpcResourcesByVpcID

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) S3EnsureObjectDeleted added in v0.44.0

func (mr *MockAWSMockRecorder) S3EnsureObjectDeleted(bucketName, path interface{}) *gomock.Call

S3EnsureObjectDeleted indicates an expected call of S3EnsureObjectDeleted

func (*MockAWSMockRecorder) S3LargeCopy added in v0.45.0

func (mr *MockAWSMockRecorder) S3LargeCopy(srcBucketName, srcKey, destBucketName, destKey interface{}) *gomock.Call

S3LargeCopy indicates an expected call of S3LargeCopy

func (*MockAWSMockRecorder) SecretsManagerGetPGBouncerAuthUserPassword added in v0.46.1

func (mr *MockAWSMockRecorder) SecretsManagerGetPGBouncerAuthUserPassword(vpcID interface{}) *gomock.Call

SecretsManagerGetPGBouncerAuthUserPassword indicates an expected call of SecretsManagerGetPGBouncerAuthUserPassword

func (*MockAWSMockRecorder) SwitchClusterTags added in v0.46.1

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

SwitchClusterTags indicates an expected call of SwitchClusterTags

func (*MockAWSMockRecorder) TagResource

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

TagResource indicates an expected call of TagResource

func (*MockAWSMockRecorder) TagResourcesByCluster added in v0.45.0

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

TagResourcesByCluster indicates an expected call of TagResourcesByCluster

func (*MockAWSMockRecorder) UntagResource

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

UntagResource indicates an expected call of UntagResource

func (*MockAWSMockRecorder) UpdatePublicRecordIDForCNAME added in v0.40.0

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

UpdatePublicRecordIDForCNAME indicates an expected call of UpdatePublicRecordIDForCNAME

func (*MockAWSMockRecorder) UpsertPublicCNAMEs added in v0.54.1

func (mr *MockAWSMockRecorder) UpsertPublicCNAMEs(dnsNames, recordIDs, endpoints, logger interface{}) *gomock.Call

UpsertPublicCNAMEs indicates an expected call of UpsertPublicCNAMEs

Jump to

Keyboard shortcuts

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