mocks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock 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) 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) EXPECT

func (m *MockAWS) EXPECT() *MockAWSMockRecorder

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

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) GetPrivateZoneDomainName

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

GetPrivateZoneDomainName 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) 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) 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) 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) GetPrivateZoneDomainName

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

GetPrivateZoneDomainName indicates an expected call of GetPrivateZoneDomainName

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) 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