Documentation ¶
Overview ¶
Package isolationgroupapi is a generated GoMock package.
Index ¶
- func MapAllIsolationGroupsResponse(in []interface{}) ([]string, error)
- func MapDynamicConfigResponse(in []interface{}) (out types.IsolationGroupConfiguration, err error)
- func MapUpdateGlobalIsolationGroupsRequest(in types.IsolationGroupConfiguration) ([]*types.DynamicConfigValue, error)
- type Handler
- type MockHandler
- func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
- func (m *MockHandler) GetDomainState(ctx context.Context, request types.GetDomainIsolationGroupsRequest) (*types.GetDomainIsolationGroupsResponse, error)
- func (m *MockHandler) GetGlobalState(ctx context.Context) (*types.GetGlobalIsolationGroupsResponse, error)
- func (m *MockHandler) UpdateDomainState(ctx context.Context, state types.UpdateDomainIsolationGroupsRequest) error
- func (m *MockHandler) UpdateGlobalState(ctx context.Context, state types.UpdateGlobalIsolationGroupsRequest) error
- type MockHandlerMockRecorder
- func (mr *MockHandlerMockRecorder) GetDomainState(ctx, request interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetGlobalState(ctx interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) UpdateDomainState(ctx, state interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) UpdateGlobalState(ctx, state interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapDynamicConfigResponse ¶
func MapDynamicConfigResponse(in []interface{}) (out types.IsolationGroupConfiguration, err error)
func MapUpdateGlobalIsolationGroupsRequest ¶
func MapUpdateGlobalIsolationGroupsRequest(in types.IsolationGroupConfiguration) ([]*types.DynamicConfigValue, error)
Types ¶
type Handler ¶
type Handler interface { // GetGlobalState returns the current configuration of isolation-groups which apply to all domains GetGlobalState(ctx context.Context) (*types.GetGlobalIsolationGroupsResponse, error) // UpdateGlobalState updates isolation-groups which apply to all domains UpdateGlobalState(ctx context.Context, state types.UpdateGlobalIsolationGroupsRequest) error // GetDomainState is the read operation for getting the current state of a domain's isolation-groups GetDomainState(ctx context.Context, request types.GetDomainIsolationGroupsRequest) (*types.GetDomainIsolationGroupsResponse, error) // UpdateDomainState is the read operation for updating a domain's isolation-groups UpdateDomainState(ctx context.Context, state types.UpdateDomainIsolationGroupsRequest) error }
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHandler) GetDomainState ¶
func (m *MockHandler) GetDomainState(ctx context.Context, request types.GetDomainIsolationGroupsRequest) (*types.GetDomainIsolationGroupsResponse, error)
GetDomainState mocks base method.
func (*MockHandler) GetGlobalState ¶
func (m *MockHandler) GetGlobalState(ctx context.Context) (*types.GetGlobalIsolationGroupsResponse, error)
GetGlobalState mocks base method.
func (*MockHandler) UpdateDomainState ¶
func (m *MockHandler) UpdateDomainState(ctx context.Context, state types.UpdateDomainIsolationGroupsRequest) error
UpdateDomainState mocks base method.
func (*MockHandler) UpdateGlobalState ¶
func (m *MockHandler) UpdateGlobalState(ctx context.Context, state types.UpdateGlobalIsolationGroupsRequest) error
UpdateGlobalState mocks base method.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) GetDomainState ¶
func (mr *MockHandlerMockRecorder) GetDomainState(ctx, request interface{}) *gomock.Call
GetDomainState indicates an expected call of GetDomainState.
func (*MockHandlerMockRecorder) GetGlobalState ¶
func (mr *MockHandlerMockRecorder) GetGlobalState(ctx interface{}) *gomock.Call
GetGlobalState indicates an expected call of GetGlobalState.
func (*MockHandlerMockRecorder) UpdateDomainState ¶
func (mr *MockHandlerMockRecorder) UpdateDomainState(ctx, state interface{}) *gomock.Call
UpdateDomainState indicates an expected call of UpdateDomainState.
func (*MockHandlerMockRecorder) UpdateGlobalState ¶
func (mr *MockHandlerMockRecorder) UpdateGlobalState(ctx, state interface{}) *gomock.Call
UpdateGlobalState indicates an expected call of UpdateGlobalState.