Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ArchiveEnvironmentV2(ctx context.Context, in *environment.ArchiveEnvironmentV2Request, ...) (*environment.ArchiveEnvironmentV2Response, error)
- func (m *MockClient) ArchiveOrganization(ctx context.Context, in *environment.ArchiveOrganizationRequest, ...) (*environment.ArchiveOrganizationResponse, error)
- func (m *MockClient) Close()
- func (m *MockClient) ConvertTrialOrganization(ctx context.Context, in *environment.ConvertTrialOrganizationRequest, ...) (*environment.ConvertTrialOrganizationResponse, error)
- func (m *MockClient) ConvertTrialProject(ctx context.Context, in *environment.ConvertTrialProjectRequest, ...) (*environment.ConvertTrialProjectResponse, error)
- func (m *MockClient) CreateEnvironmentV2(ctx context.Context, in *environment.CreateEnvironmentV2Request, ...) (*environment.CreateEnvironmentV2Response, error)
- func (m *MockClient) CreateOrganization(ctx context.Context, in *environment.CreateOrganizationRequest, ...) (*environment.CreateOrganizationResponse, error)
- func (m *MockClient) CreateProject(ctx context.Context, in *environment.CreateProjectRequest, ...) (*environment.CreateProjectResponse, error)
- func (m *MockClient) CreateTrialProject(ctx context.Context, in *environment.CreateTrialProjectRequest, ...) (*environment.CreateTrialProjectResponse, error)
- func (m *MockClient) DisableOrganization(ctx context.Context, in *environment.DisableOrganizationRequest, ...) (*environment.DisableOrganizationResponse, error)
- func (m *MockClient) DisableProject(ctx context.Context, in *environment.DisableProjectRequest, ...) (*environment.DisableProjectResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EnableOrganization(ctx context.Context, in *environment.EnableOrganizationRequest, ...) (*environment.EnableOrganizationResponse, error)
- func (m *MockClient) EnableProject(ctx context.Context, in *environment.EnableProjectRequest, ...) (*environment.EnableProjectResponse, error)
- func (m *MockClient) GetEnvironmentV2(ctx context.Context, in *environment.GetEnvironmentV2Request, ...) (*environment.GetEnvironmentV2Response, error)
- func (m *MockClient) GetOrganization(ctx context.Context, in *environment.GetOrganizationRequest, ...) (*environment.GetOrganizationResponse, error)
- func (m *MockClient) GetProject(ctx context.Context, in *environment.GetProjectRequest, ...) (*environment.GetProjectResponse, error)
- func (m *MockClient) ListEnvironmentsV2(ctx context.Context, in *environment.ListEnvironmentsV2Request, ...) (*environment.ListEnvironmentsV2Response, error)
- func (m *MockClient) ListOrganizations(ctx context.Context, in *environment.ListOrganizationsRequest, ...) (*environment.ListOrganizationsResponse, error)
- func (m *MockClient) ListProjects(ctx context.Context, in *environment.ListProjectsRequest, ...) (*environment.ListProjectsResponse, error)
- func (m *MockClient) UnarchiveEnvironmentV2(ctx context.Context, in *environment.UnarchiveEnvironmentV2Request, ...) (*environment.UnarchiveEnvironmentV2Response, error)
- func (m *MockClient) UnarchiveOrganization(ctx context.Context, in *environment.UnarchiveOrganizationRequest, ...) (*environment.UnarchiveOrganizationResponse, error)
- func (m *MockClient) UpdateEnvironmentV2(ctx context.Context, in *environment.UpdateEnvironmentV2Request, ...) (*environment.UpdateEnvironmentV2Response, error)
- func (m *MockClient) UpdateOrganization(ctx context.Context, in *environment.UpdateOrganizationRequest, ...) (*environment.UpdateOrganizationResponse, error)
- func (m *MockClient) UpdateProject(ctx context.Context, in *environment.UpdateProjectRequest, ...) (*environment.UpdateProjectResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ArchiveEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ArchiveOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) ConvertTrialOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ConvertTrialProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateTrialProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DisableOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DisableProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EnableOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) EnableProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListEnvironmentsV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListOrganizations(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UnarchiveEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UnarchiveOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
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) ArchiveEnvironmentV2 ¶ added in v0.4.0
func (m *MockClient) ArchiveEnvironmentV2(ctx context.Context, in *environment.ArchiveEnvironmentV2Request, opts ...grpc.CallOption) (*environment.ArchiveEnvironmentV2Response, error)
ArchiveEnvironmentV2 mocks base method.
func (*MockClient) ArchiveOrganization ¶ added in v0.4.0
func (m *MockClient) ArchiveOrganization(ctx context.Context, in *environment.ArchiveOrganizationRequest, opts ...grpc.CallOption) (*environment.ArchiveOrganizationResponse, error)
ArchiveOrganization mocks base method.
func (*MockClient) ConvertTrialOrganization ¶ added in v0.4.0
func (m *MockClient) ConvertTrialOrganization(ctx context.Context, in *environment.ConvertTrialOrganizationRequest, opts ...grpc.CallOption) (*environment.ConvertTrialOrganizationResponse, error)
ConvertTrialOrganization mocks base method.
func (*MockClient) ConvertTrialProject ¶
func (m *MockClient) ConvertTrialProject(ctx context.Context, in *environment.ConvertTrialProjectRequest, opts ...grpc.CallOption) (*environment.ConvertTrialProjectResponse, error)
ConvertTrialProject mocks base method.
func (*MockClient) CreateEnvironmentV2 ¶ added in v0.4.0
func (m *MockClient) CreateEnvironmentV2(ctx context.Context, in *environment.CreateEnvironmentV2Request, opts ...grpc.CallOption) (*environment.CreateEnvironmentV2Response, error)
CreateEnvironmentV2 mocks base method.
func (*MockClient) CreateOrganization ¶ added in v0.4.0
func (m *MockClient) CreateOrganization(ctx context.Context, in *environment.CreateOrganizationRequest, opts ...grpc.CallOption) (*environment.CreateOrganizationResponse, error)
CreateOrganization mocks base method.
func (*MockClient) CreateProject ¶
func (m *MockClient) CreateProject(ctx context.Context, in *environment.CreateProjectRequest, opts ...grpc.CallOption) (*environment.CreateProjectResponse, error)
CreateProject mocks base method.
func (*MockClient) CreateTrialProject ¶
func (m *MockClient) CreateTrialProject(ctx context.Context, in *environment.CreateTrialProjectRequest, opts ...grpc.CallOption) (*environment.CreateTrialProjectResponse, error)
CreateTrialProject mocks base method.
func (*MockClient) DisableOrganization ¶ added in v0.4.0
func (m *MockClient) DisableOrganization(ctx context.Context, in *environment.DisableOrganizationRequest, opts ...grpc.CallOption) (*environment.DisableOrganizationResponse, error)
DisableOrganization mocks base method.
func (*MockClient) DisableProject ¶
func (m *MockClient) DisableProject(ctx context.Context, in *environment.DisableProjectRequest, opts ...grpc.CallOption) (*environment.DisableProjectResponse, error)
DisableProject mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) EnableOrganization ¶ added in v0.4.0
func (m *MockClient) EnableOrganization(ctx context.Context, in *environment.EnableOrganizationRequest, opts ...grpc.CallOption) (*environment.EnableOrganizationResponse, error)
EnableOrganization mocks base method.
func (*MockClient) EnableProject ¶
func (m *MockClient) EnableProject(ctx context.Context, in *environment.EnableProjectRequest, opts ...grpc.CallOption) (*environment.EnableProjectResponse, error)
EnableProject mocks base method.
func (*MockClient) GetEnvironmentV2 ¶ added in v0.4.0
func (m *MockClient) GetEnvironmentV2(ctx context.Context, in *environment.GetEnvironmentV2Request, opts ...grpc.CallOption) (*environment.GetEnvironmentV2Response, error)
GetEnvironmentV2 mocks base method.
func (*MockClient) GetOrganization ¶ added in v0.4.0
func (m *MockClient) GetOrganization(ctx context.Context, in *environment.GetOrganizationRequest, opts ...grpc.CallOption) (*environment.GetOrganizationResponse, error)
GetOrganization mocks base method.
func (*MockClient) GetProject ¶
func (m *MockClient) GetProject(ctx context.Context, in *environment.GetProjectRequest, opts ...grpc.CallOption) (*environment.GetProjectResponse, error)
GetProject mocks base method.
func (*MockClient) ListEnvironmentsV2 ¶ added in v0.4.0
func (m *MockClient) ListEnvironmentsV2(ctx context.Context, in *environment.ListEnvironmentsV2Request, opts ...grpc.CallOption) (*environment.ListEnvironmentsV2Response, error)
ListEnvironmentsV2 mocks base method.
func (*MockClient) ListOrganizations ¶ added in v0.4.0
func (m *MockClient) ListOrganizations(ctx context.Context, in *environment.ListOrganizationsRequest, opts ...grpc.CallOption) (*environment.ListOrganizationsResponse, error)
ListOrganizations mocks base method.
func (*MockClient) ListProjects ¶
func (m *MockClient) ListProjects(ctx context.Context, in *environment.ListProjectsRequest, opts ...grpc.CallOption) (*environment.ListProjectsResponse, error)
ListProjects mocks base method.
func (*MockClient) UnarchiveEnvironmentV2 ¶ added in v0.4.0
func (m *MockClient) UnarchiveEnvironmentV2(ctx context.Context, in *environment.UnarchiveEnvironmentV2Request, opts ...grpc.CallOption) (*environment.UnarchiveEnvironmentV2Response, error)
UnarchiveEnvironmentV2 mocks base method.
func (*MockClient) UnarchiveOrganization ¶ added in v0.4.0
func (m *MockClient) UnarchiveOrganization(ctx context.Context, in *environment.UnarchiveOrganizationRequest, opts ...grpc.CallOption) (*environment.UnarchiveOrganizationResponse, error)
UnarchiveOrganization mocks base method.
func (*MockClient) UpdateEnvironmentV2 ¶ added in v0.4.0
func (m *MockClient) UpdateEnvironmentV2(ctx context.Context, in *environment.UpdateEnvironmentV2Request, opts ...grpc.CallOption) (*environment.UpdateEnvironmentV2Response, error)
UpdateEnvironmentV2 mocks base method.
func (*MockClient) UpdateOrganization ¶ added in v0.4.0
func (m *MockClient) UpdateOrganization(ctx context.Context, in *environment.UpdateOrganizationRequest, opts ...grpc.CallOption) (*environment.UpdateOrganizationResponse, error)
UpdateOrganization mocks base method.
func (*MockClient) UpdateProject ¶
func (m *MockClient) UpdateProject(ctx context.Context, in *environment.UpdateProjectRequest, opts ...grpc.CallOption) (*environment.UpdateProjectResponse, error)
UpdateProject mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) ArchiveEnvironmentV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ArchiveEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
ArchiveEnvironmentV2 indicates an expected call of ArchiveEnvironmentV2.
func (*MockClientMockRecorder) ArchiveOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ArchiveOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
ArchiveOrganization indicates an expected call of ArchiveOrganization.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) ConvertTrialOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ConvertTrialOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
ConvertTrialOrganization indicates an expected call of ConvertTrialOrganization.
func (*MockClientMockRecorder) ConvertTrialProject ¶
func (mr *MockClientMockRecorder) ConvertTrialProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
ConvertTrialProject indicates an expected call of ConvertTrialProject.
func (*MockClientMockRecorder) CreateEnvironmentV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) CreateEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateEnvironmentV2 indicates an expected call of CreateEnvironmentV2.
func (*MockClientMockRecorder) CreateOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) CreateOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateOrganization indicates an expected call of CreateOrganization.
func (*MockClientMockRecorder) CreateProject ¶
func (mr *MockClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockClientMockRecorder) CreateTrialProject ¶
func (mr *MockClientMockRecorder) CreateTrialProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateTrialProject indicates an expected call of CreateTrialProject.
func (*MockClientMockRecorder) DisableOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) DisableOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
DisableOrganization indicates an expected call of DisableOrganization.
func (*MockClientMockRecorder) DisableProject ¶
func (mr *MockClientMockRecorder) DisableProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
DisableProject indicates an expected call of DisableProject.
func (*MockClientMockRecorder) EnableOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) EnableOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
EnableOrganization indicates an expected call of EnableOrganization.
func (*MockClientMockRecorder) EnableProject ¶
func (mr *MockClientMockRecorder) EnableProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
EnableProject indicates an expected call of EnableProject.
func (*MockClientMockRecorder) GetEnvironmentV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEnvironmentV2 indicates an expected call of GetEnvironmentV2.
func (*MockClientMockRecorder) GetOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) GetOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetOrganization indicates an expected call of GetOrganization.
func (*MockClientMockRecorder) GetProject ¶
func (mr *MockClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockClientMockRecorder) ListEnvironmentsV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ListEnvironmentsV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListEnvironmentsV2 indicates an expected call of ListEnvironmentsV2.
func (*MockClientMockRecorder) ListOrganizations ¶ added in v0.4.0
func (mr *MockClientMockRecorder) ListOrganizations(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListOrganizations indicates an expected call of ListOrganizations.
func (*MockClientMockRecorder) ListProjects ¶
func (mr *MockClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockClientMockRecorder) UnarchiveEnvironmentV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) UnarchiveEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
UnarchiveEnvironmentV2 indicates an expected call of UnarchiveEnvironmentV2.
func (*MockClientMockRecorder) UnarchiveOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) UnarchiveOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
UnarchiveOrganization indicates an expected call of UnarchiveOrganization.
func (*MockClientMockRecorder) UpdateEnvironmentV2 ¶ added in v0.4.0
func (mr *MockClientMockRecorder) UpdateEnvironmentV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateEnvironmentV2 indicates an expected call of UpdateEnvironmentV2.
func (*MockClientMockRecorder) UpdateOrganization ¶ added in v0.4.0
func (mr *MockClientMockRecorder) UpdateOrganization(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateOrganization indicates an expected call of UpdateOrganization.
func (*MockClientMockRecorder) UpdateProject ¶
func (mr *MockClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject.