mock

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

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

MockAPI is a mock of API interface.

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance.

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) GetBaseDomain

func (m *MockAPI) GetBaseDomain(baseDomainName string) (*route53.HostedZone, error)

GetBaseDomain mocks base method.

func (*MockAPI) GetHostedZone

func (m *MockAPI) GetHostedZone(hostedZone string, cfg *aws.Config) (*route53.GetHostedZoneOutput, error)

GetHostedZone mocks base method.

func (*MockAPI) GetSubDomainDNSRecords

func (m *MockAPI) GetSubDomainDNSRecords(hostedZone *route53.HostedZone, ic *types.InstallConfig, cfg *aws.Config) ([]string, error)

GetSubDomainDNSRecords mocks base method.

func (*MockAPI) ValidateZoneRecords

func (m *MockAPI) ValidateZoneRecords(zone *route53.HostedZone, zoneName string, zonePath *field.Path, ic *types.InstallConfig, cfg *aws.Config) field.ErrorList

ValidateZoneRecords mocks base method.

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI.

func (*MockAPIMockRecorder) GetBaseDomain

func (mr *MockAPIMockRecorder) GetBaseDomain(baseDomainName interface{}) *gomock.Call

GetBaseDomain indicates an expected call of GetBaseDomain.

func (*MockAPIMockRecorder) GetHostedZone

func (mr *MockAPIMockRecorder) GetHostedZone(hostedZone, cfg interface{}) *gomock.Call

GetHostedZone indicates an expected call of GetHostedZone.

func (*MockAPIMockRecorder) GetSubDomainDNSRecords

func (mr *MockAPIMockRecorder) GetSubDomainDNSRecords(hostedZone, ic, cfg interface{}) *gomock.Call

GetSubDomainDNSRecords indicates an expected call of GetSubDomainDNSRecords.

func (*MockAPIMockRecorder) ValidateZoneRecords

func (mr *MockAPIMockRecorder) ValidateZoneRecords(zone, zoneName, zonePath, ic, cfg interface{}) *gomock.Call

ValidateZoneRecords indicates an expected call of ValidateZoneRecords.

Jump to

Keyboard shortcuts

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