Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) GetBaseDomain(baseDomainName string) (*route53.HostedZone, error)
- func (m *MockAPI) GetHostedZone(hostedZone string, cfg *aws.Config) (*route53.GetHostedZoneOutput, error)
- func (m *MockAPI) GetSubDomainDNSRecords(hostedZone *route53.HostedZone, ic *types.InstallConfig, cfg *aws.Config) ([]string, error)
- func (m *MockAPI) ValidateZoneRecords(zone *route53.HostedZone, zoneName string, zonePath *field.Path, ...) field.ErrorList
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) GetBaseDomain(baseDomainName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetHostedZone(hostedZone, cfg interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetSubDomainDNSRecords(hostedZone, ic, cfg interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ValidateZoneRecords(zone, zoneName, zonePath, ic, cfg interface{}) *gomock.Call
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.