Documentation ¶
Overview ¶
Package mock_frontend is a generated GoMock package.
Package mock_frontend is a generated GoMock package.
Package mock_frontend is a generated GoMock package.
Package mock_frontend is a generated GoMock package.
Index ¶
- type MockProvidersValidator
- type MockProvidersValidatorMockRecorder
- type MockQuotaValidator
- type MockQuotaValidatorMockRecorder
- type MockSkuValidator
- type MockSkuValidatorMockRecorder
- type MockStreamResponder
- func (m *MockStreamResponder) AdminReplyStream(log *logrus.Entry, w http.ResponseWriter, header http.Header, reader io.Reader, ...)
- func (m *MockStreamResponder) EXPECT() *MockStreamResponderMockRecorder
- func (m *MockStreamResponder) ReplyStream(log *logrus.Entry, w http.ResponseWriter, header http.Header, reader io.Reader, ...)
- type MockStreamResponderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvidersValidator ¶
type MockProvidersValidator struct {
// contains filtered or unexported fields
}
MockProvidersValidator is a mock of ProvidersValidator interface.
func NewMockProvidersValidator ¶
func NewMockProvidersValidator(ctrl *gomock.Controller) *MockProvidersValidator
NewMockProvidersValidator creates a new mock instance.
func (*MockProvidersValidator) EXPECT ¶
func (m *MockProvidersValidator) EXPECT() *MockProvidersValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvidersValidator) ValidateProviders ¶
func (m *MockProvidersValidator) ValidateProviders(ctx context.Context, azEnv *azureclient.AROEnvironment, environment env.Interface, subscriptionID, tenantID string) error
ValidateProviders mocks base method.
type MockProvidersValidatorMockRecorder ¶
type MockProvidersValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockProvidersValidatorMockRecorder is the mock recorder for MockProvidersValidator.
func (*MockProvidersValidatorMockRecorder) ValidateProviders ¶
func (mr *MockProvidersValidatorMockRecorder) ValidateProviders(ctx, azEnv, environment, subscriptionID, tenantID any) *gomock.Call
ValidateProviders indicates an expected call of ValidateProviders.
type MockQuotaValidator ¶
type MockQuotaValidator struct {
// contains filtered or unexported fields
}
MockQuotaValidator is a mock of QuotaValidator interface.
func NewMockQuotaValidator ¶
func NewMockQuotaValidator(ctrl *gomock.Controller) *MockQuotaValidator
NewMockQuotaValidator creates a new mock instance.
func (*MockQuotaValidator) EXPECT ¶
func (m *MockQuotaValidator) EXPECT() *MockQuotaValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQuotaValidator) ValidateQuota ¶
func (m *MockQuotaValidator) ValidateQuota(ctx context.Context, azEnv *azureclient.AROEnvironment, environment env.Interface, subscriptionID, tenantID string, oc *api.OpenShiftCluster) error
ValidateQuota mocks base method.
type MockQuotaValidatorMockRecorder ¶
type MockQuotaValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockQuotaValidatorMockRecorder is the mock recorder for MockQuotaValidator.
func (*MockQuotaValidatorMockRecorder) ValidateQuota ¶
func (mr *MockQuotaValidatorMockRecorder) ValidateQuota(ctx, azEnv, environment, subscriptionID, tenantID, oc any) *gomock.Call
ValidateQuota indicates an expected call of ValidateQuota.
type MockSkuValidator ¶
type MockSkuValidator struct {
// contains filtered or unexported fields
}
MockSkuValidator is a mock of SkuValidator interface.
func NewMockSkuValidator ¶
func NewMockSkuValidator(ctrl *gomock.Controller) *MockSkuValidator
NewMockSkuValidator creates a new mock instance.
func (*MockSkuValidator) EXPECT ¶
func (m *MockSkuValidator) EXPECT() *MockSkuValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSkuValidator) ValidateVMSku ¶
func (m *MockSkuValidator) ValidateVMSku(ctx context.Context, azEnv *azureclient.AROEnvironment, environment env.Interface, subscriptionID, tenantID string, oc *api.OpenShiftCluster) error
ValidateVMSku mocks base method.
type MockSkuValidatorMockRecorder ¶
type MockSkuValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockSkuValidatorMockRecorder is the mock recorder for MockSkuValidator.
func (*MockSkuValidatorMockRecorder) ValidateVMSku ¶
func (mr *MockSkuValidatorMockRecorder) ValidateVMSku(ctx, azEnv, environment, subscriptionID, tenantID, oc any) *gomock.Call
ValidateVMSku indicates an expected call of ValidateVMSku.
type MockStreamResponder ¶
type MockStreamResponder struct {
// contains filtered or unexported fields
}
MockStreamResponder is a mock of StreamResponder interface.
func NewMockStreamResponder ¶
func NewMockStreamResponder(ctrl *gomock.Controller) *MockStreamResponder
NewMockStreamResponder creates a new mock instance.
func (*MockStreamResponder) AdminReplyStream ¶
func (m *MockStreamResponder) AdminReplyStream(log *logrus.Entry, w http.ResponseWriter, header http.Header, reader io.Reader, err error)
AdminReplyStream mocks base method.
func (*MockStreamResponder) EXPECT ¶
func (m *MockStreamResponder) EXPECT() *MockStreamResponderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamResponder) ReplyStream ¶
func (m *MockStreamResponder) ReplyStream(log *logrus.Entry, w http.ResponseWriter, header http.Header, reader io.Reader, err error)
ReplyStream mocks base method.
type MockStreamResponderMockRecorder ¶
type MockStreamResponderMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamResponderMockRecorder is the mock recorder for MockStreamResponder.
func (*MockStreamResponderMockRecorder) AdminReplyStream ¶
func (mr *MockStreamResponderMockRecorder) AdminReplyStream(log, w, header, reader, err any) *gomock.Call
AdminReplyStream indicates an expected call of AdminReplyStream.
func (*MockStreamResponderMockRecorder) ReplyStream ¶
func (mr *MockStreamResponderMockRecorder) ReplyStream(log, w, header, reader, err any) *gomock.Call
ReplyStream indicates an expected call of ReplyStream.