Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetCluster(ctx context.Context, uuid string) (*v3.ClusterIntentResponse, error)
- func (m *MockClient) GetCurrentLoggedInUser(ctx context.Context) (*v3.UserIntentResponse, error)
- func (m *MockClient) GetImage(ctx context.Context, uuid string) (*v3.ImageIntentResponse, error)
- func (m *MockClient) GetSubnet(ctx context.Context, uuid string) (*v3.SubnetIntentResponse, error)
- func (m *MockClient) ListCluster(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ClusterListIntentResponse, error)
- func (m *MockClient) ListImage(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ImageListIntentResponse, error)
- func (m *MockClient) ListSubnet(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.SubnetListIntentResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetCluster(ctx, uuid interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCurrentLoggedInUser(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetImage(ctx, uuid interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSubnet(ctx, uuid interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListCluster(ctx, getEntitiesRequest interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListImage(ctx, getEntitiesRequest interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListSubnet(ctx, getEntitiesRequest interface{}) *gomock.Call
- type MockRoundTripper
- type MockRoundTripperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetCluster ¶
func (m *MockClient) GetCluster(ctx context.Context, uuid string) (*v3.ClusterIntentResponse, error)
GetCluster mocks base method.
func (*MockClient) GetCurrentLoggedInUser ¶
func (m *MockClient) GetCurrentLoggedInUser(ctx context.Context) (*v3.UserIntentResponse, error)
GetCurrentLoggedInUser mocks base method.
func (*MockClient) GetImage ¶
func (m *MockClient) GetImage(ctx context.Context, uuid string) (*v3.ImageIntentResponse, error)
GetImage mocks base method.
func (*MockClient) GetSubnet ¶
func (m *MockClient) GetSubnet(ctx context.Context, uuid string) (*v3.SubnetIntentResponse, error)
GetSubnet mocks base method.
func (*MockClient) ListCluster ¶
func (m *MockClient) ListCluster(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ClusterListIntentResponse, error)
ListCluster mocks base method.
func (*MockClient) ListImage ¶
func (m *MockClient) ListImage(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.ImageListIntentResponse, error)
ListImage mocks base method.
func (*MockClient) ListSubnet ¶
func (m *MockClient) ListSubnet(ctx context.Context, getEntitiesRequest *v3.DSMetadata) (*v3.SubnetListIntentResponse, error)
ListSubnet mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetCluster ¶
func (mr *MockClientMockRecorder) GetCluster(ctx, uuid interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockClientMockRecorder) GetCurrentLoggedInUser ¶
func (mr *MockClientMockRecorder) GetCurrentLoggedInUser(ctx interface{}) *gomock.Call
GetCurrentLoggedInUser indicates an expected call of GetCurrentLoggedInUser.
func (*MockClientMockRecorder) GetImage ¶
func (mr *MockClientMockRecorder) GetImage(ctx, uuid interface{}) *gomock.Call
GetImage indicates an expected call of GetImage.
func (*MockClientMockRecorder) GetSubnet ¶
func (mr *MockClientMockRecorder) GetSubnet(ctx, uuid interface{}) *gomock.Call
GetSubnet indicates an expected call of GetSubnet.
func (*MockClientMockRecorder) ListCluster ¶
func (mr *MockClientMockRecorder) ListCluster(ctx, getEntitiesRequest interface{}) *gomock.Call
ListCluster indicates an expected call of ListCluster.
func (*MockClientMockRecorder) ListImage ¶
func (mr *MockClientMockRecorder) ListImage(ctx, getEntitiesRequest interface{}) *gomock.Call
ListImage indicates an expected call of ListImage.
func (*MockClientMockRecorder) ListSubnet ¶
func (mr *MockClientMockRecorder) ListSubnet(ctx, getEntitiesRequest interface{}) *gomock.Call
ListSubnet indicates an expected call of ListSubnet.
type MockRoundTripper ¶
type MockRoundTripper struct {
// contains filtered or unexported fields
}
MockRoundTripper is a mock of RoundTripper interface.
func NewMockRoundTripper ¶
func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper
NewMockRoundTripper creates a new mock instance.
func (*MockRoundTripper) EXPECT ¶
func (m *MockRoundTripper) EXPECT() *MockRoundTripperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRoundTripperMockRecorder ¶
type MockRoundTripperMockRecorder struct {
// contains filtered or unexported fields
}
MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper.
func (*MockRoundTripperMockRecorder) RoundTrip ¶
func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call
RoundTrip indicates an expected call of RoundTrip.