Documentation ¶
Index ¶
- type MockBrowseClient
- func (m *MockBrowseClient) ListOrganization(ctx context.Context, in *services.ListOrganizationRequest, ...) (*services.ListOrganizationResponse, error)
- func (m *MockBrowseClient) ListReleaseTypes(ctx context.Context, in *services.ListReleaseTypesRequest, ...) (*services.ListReleaseTypesResponse, error)
- func (m *MockBrowseClient) ListReleases(ctx context.Context, in *services.ListReleasesRequest, opts ...grpc.CallOption) (*services.ListReleasesResponse, error)
- type MockPublisherClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBrowseClient ¶
type MockBrowseClient struct { services.BrowseClient ListReleaseTypesInvocations int ListReleaseTypesResponse *services.ListReleaseTypesResponse ListReleaseTypesError error ListOrganizationInvocations int ListOrganizationResponse *services.ListOrganizationResponse ListOrganizationError error ListReleasesInvocations int ListReleasesResponse *services.ListReleasesResponse ListReleasesError error }
func (*MockBrowseClient) ListOrganization ¶
func (m *MockBrowseClient) ListOrganization(ctx context.Context, in *services.ListOrganizationRequest, opts ...grpc.CallOption) (*services.ListOrganizationResponse, error)
func (*MockBrowseClient) ListReleaseTypes ¶
func (m *MockBrowseClient) ListReleaseTypes(ctx context.Context, in *services.ListReleaseTypesRequest, opts ...grpc.CallOption) (*services.ListReleaseTypesResponse, error)
func (*MockBrowseClient) ListReleases ¶
func (m *MockBrowseClient) ListReleases(ctx context.Context, in *services.ListReleasesRequest, opts ...grpc.CallOption) (*services.ListReleasesResponse, error)
type MockPublisherClient ¶
type MockPublisherClient struct { services.PublisherClient PublishInvocations int PublishResponse *release.PublishResponse PublishError error }
func (*MockPublisherClient) Publish ¶
func (m *MockPublisherClient) Publish(ctx context.Context, in *release.PublishRequest, opts ...grpc.CallOption) (*release.PublishResponse, error)
Click to show internal directories.
Click to hide internal directories.