Documentation ¶
Index ¶
- type Clientset
- type RepoServerServiceClient
- func (_m *RepoServerServiceClient) GenerateManifest(ctx context.Context, in *apiclient.ManifestRequest, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error)
- func (_m *RepoServerServiceClient) GenerateManifestWithFiles(ctx context.Context, opts ...grpc.CallOption) (apiclient.RepoServerService_GenerateManifestWithFilesClient, error)
- func (_m *RepoServerServiceClient) GetAppDetails(ctx context.Context, in *apiclient.RepoServerAppDetailsQuery, ...) (*apiclient.RepoAppDetailsResponse, error)
- func (_m *RepoServerServiceClient) GetGitDirectories(ctx context.Context, in *apiclient.GitDirectoriesRequest, ...) (*apiclient.GitDirectoriesResponse, error)
- func (_m *RepoServerServiceClient) GetGitFiles(ctx context.Context, in *apiclient.GitFilesRequest, opts ...grpc.CallOption) (*apiclient.GitFilesResponse, error)
- func (_m *RepoServerServiceClient) GetHelmCharts(ctx context.Context, in *apiclient.HelmChartsRequest, opts ...grpc.CallOption) (*apiclient.HelmChartsResponse, error)
- func (_m *RepoServerServiceClient) GetRevisionChartDetails(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, ...) (*v1alpha1.ChartDetails, error)
- func (_m *RepoServerServiceClient) GetRevisionMetadata(ctx context.Context, in *apiclient.RepoServerRevisionMetadataRequest, ...) (*v1alpha1.RevisionMetadata, error)
- func (_m *RepoServerServiceClient) ListApps(ctx context.Context, in *apiclient.ListAppsRequest, opts ...grpc.CallOption) (*apiclient.AppList, error)
- func (_m *RepoServerServiceClient) ListPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*apiclient.PluginList, error)
- func (_m *RepoServerServiceClient) ListRefs(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption) (*apiclient.Refs, error)
- func (_m *RepoServerServiceClient) ResolveRevision(ctx context.Context, in *apiclient.ResolveRevisionRequest, ...) (*apiclient.ResolveRevisionResponse, error)
- func (_m *RepoServerServiceClient) TestRepository(ctx context.Context, in *apiclient.TestRepositoryRequest, ...) (*apiclient.TestRepositoryResponse, error)
- func (_m *RepoServerServiceClient) UpdateRevisionForPaths(ctx context.Context, in *apiclient.UpdateRevisionForPathsRequest, ...) (*apiclient.UpdateRevisionForPathsResponse, error)
- type RepoServerService_GenerateManifestWithFilesClient
- func (_m *RepoServerService_GenerateManifestWithFilesClient) CloseAndRecv() (*apiclient.ManifestResponse, error)
- func (_m *RepoServerService_GenerateManifestWithFilesClient) CloseSend() error
- func (_m *RepoServerService_GenerateManifestWithFilesClient) Context() context.Context
- func (_m *RepoServerService_GenerateManifestWithFilesClient) Header() (metadata.MD, error)
- func (_m *RepoServerService_GenerateManifestWithFilesClient) RecvMsg(m interface{}) error
- func (_m *RepoServerService_GenerateManifestWithFilesClient) Send(_a0 *apiclient.ManifestRequestWithFiles) error
- func (_m *RepoServerService_GenerateManifestWithFilesClient) SendMsg(m interface{}) error
- func (_m *RepoServerService_GenerateManifestWithFilesClient) Trailer() metadata.MD
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct {
RepoServerServiceClient apiclient.RepoServerServiceClient
}
func (*Clientset) NewRepoServerClient ¶
type RepoServerServiceClient ¶
RepoServerServiceClient is an autogenerated mock type for the RepoServerServiceClient type
func NewRepoServerServiceClient ¶ added in v2.5.0
func NewRepoServerServiceClient(t interface { mock.TestingT Cleanup(func()) }) *RepoServerServiceClient
NewRepoServerServiceClient creates a new instance of RepoServerServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RepoServerServiceClient) GenerateManifest ¶
func (_m *RepoServerServiceClient) GenerateManifest(ctx context.Context, in *apiclient.ManifestRequest, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error)
GenerateManifest provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) GenerateManifestWithFiles ¶ added in v2.5.0
func (_m *RepoServerServiceClient) GenerateManifestWithFiles(ctx context.Context, opts ...grpc.CallOption) (apiclient.RepoServerService_GenerateManifestWithFilesClient, error)
GenerateManifestWithFiles provides a mock function with given fields: ctx, opts
func (*RepoServerServiceClient) GetAppDetails ¶
func (_m *RepoServerServiceClient) GetAppDetails(ctx context.Context, in *apiclient.RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*apiclient.RepoAppDetailsResponse, error)
GetAppDetails provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) GetGitDirectories ¶ added in v2.8.0
func (_m *RepoServerServiceClient) GetGitDirectories(ctx context.Context, in *apiclient.GitDirectoriesRequest, opts ...grpc.CallOption) (*apiclient.GitDirectoriesResponse, error)
GetGitDirectories provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) GetGitFiles ¶ added in v2.8.0
func (_m *RepoServerServiceClient) GetGitFiles(ctx context.Context, in *apiclient.GitFilesRequest, opts ...grpc.CallOption) (*apiclient.GitFilesResponse, error)
GetGitFiles provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) GetHelmCharts ¶
func (_m *RepoServerServiceClient) GetHelmCharts(ctx context.Context, in *apiclient.HelmChartsRequest, opts ...grpc.CallOption) (*apiclient.HelmChartsResponse, error)
GetHelmCharts provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) GetRevisionChartDetails ¶ added in v2.8.0
func (_m *RepoServerServiceClient) GetRevisionChartDetails(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error)
GetRevisionChartDetails provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) GetRevisionMetadata ¶
func (_m *RepoServerServiceClient) GetRevisionMetadata(ctx context.Context, in *apiclient.RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error)
GetRevisionMetadata provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) ListApps ¶
func (_m *RepoServerServiceClient) ListApps(ctx context.Context, in *apiclient.ListAppsRequest, opts ...grpc.CallOption) (*apiclient.AppList, error)
ListApps provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) ListPlugins ¶ added in v2.6.0
func (_m *RepoServerServiceClient) ListPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*apiclient.PluginList, error)
ListPlugins provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) ListRefs ¶
func (_m *RepoServerServiceClient) ListRefs(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption) (*apiclient.Refs, error)
ListRefs provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) ResolveRevision ¶ added in v2.3.0
func (_m *RepoServerServiceClient) ResolveRevision(ctx context.Context, in *apiclient.ResolveRevisionRequest, opts ...grpc.CallOption) (*apiclient.ResolveRevisionResponse, error)
ResolveRevision provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) TestRepository ¶ added in v2.1.0
func (_m *RepoServerServiceClient) TestRepository(ctx context.Context, in *apiclient.TestRepositoryRequest, opts ...grpc.CallOption) (*apiclient.TestRepositoryResponse, error)
TestRepository provides a mock function with given fields: ctx, in, opts
func (*RepoServerServiceClient) UpdateRevisionForPaths ¶ added in v2.11.0
func (_m *RepoServerServiceClient) UpdateRevisionForPaths(ctx context.Context, in *apiclient.UpdateRevisionForPathsRequest, opts ...grpc.CallOption) (*apiclient.UpdateRevisionForPathsResponse, error)
UpdateRevisionForPaths provides a mock function with given fields: ctx, in, opts
type RepoServerService_GenerateManifestWithFilesClient ¶ added in v2.5.16
RepoServerService_GenerateManifestWithFilesClient is an autogenerated mock type for the RepoServerService_GenerateManifestWithFilesClient type
func NewRepoServerService_GenerateManifestWithFilesClient ¶ added in v2.5.16
func NewRepoServerService_GenerateManifestWithFilesClient(t mockConstructorTestingTNewRepoServerService_GenerateManifestWithFilesClient) *RepoServerService_GenerateManifestWithFilesClient
NewRepoServerService_GenerateManifestWithFilesClient creates a new instance of RepoServerService_GenerateManifestWithFilesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RepoServerService_GenerateManifestWithFilesClient) CloseAndRecv ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) CloseAndRecv() (*apiclient.ManifestResponse, error)
CloseAndRecv provides a mock function with given fields:
func (*RepoServerService_GenerateManifestWithFilesClient) CloseSend ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*RepoServerService_GenerateManifestWithFilesClient) Context ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) Context() context.Context
Context provides a mock function with given fields:
func (*RepoServerService_GenerateManifestWithFilesClient) Header ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*RepoServerService_GenerateManifestWithFilesClient) RecvMsg ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*RepoServerService_GenerateManifestWithFilesClient) Send ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) Send(_a0 *apiclient.ManifestRequestWithFiles) error
Send provides a mock function with given fields: _a0
func (*RepoServerService_GenerateManifestWithFilesClient) SendMsg ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*RepoServerService_GenerateManifestWithFilesClient) Trailer ¶ added in v2.5.16
func (_m *RepoServerService_GenerateManifestWithFilesClient) Trailer() metadata.MD
Trailer provides a mock function with given fields: