Documentation ¶
Index ¶
- func RunServer()
- type Auth
- type GrpcProxy
- func (p *GrpcProxy) GetCommitInfo(ctx context.Context, in *api.GetCommitInfoRequest) (*api.GetCommitInfoResponse, error)
- func (p *GrpcProxy) GetEnvironmentConfig(ctx context.Context, in *api.GetEnvironmentConfigRequest) (*api.GetEnvironmentConfigResponse, error)
- func (p *GrpcProxy) GetGitTags(ctx context.Context, in *api.GetGitTagsRequest) (*api.GetGitTagsResponse, error)
- func (p *GrpcProxy) GetOverview(ctx context.Context, in *api.GetOverviewRequest) (*api.GetOverviewResponse, error)
- func (p *GrpcProxy) GetProductSummary(ctx context.Context, in *api.GetProductSummaryRequest) (*api.GetProductSummaryResponse, error)
- func (p *GrpcProxy) GetStatus(ctx context.Context, in *api.GetStatusRequest) (*api.GetStatusResponse, error)
- func (p *GrpcProxy) ProcessBatch(ctx context.Context, in *api.BatchRequest) (*api.BatchResponse, error)
- func (p *GrpcProxy) StreamOverview(in *api.GetOverviewRequest, stream api.OverviewService_StreamOverviewServer) error
- func (p *GrpcProxy) StreamStatus(in *api.StreamStatusRequest, stream api.RolloutService_StreamStatusServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶ added in v1.16.0
type GrpcProxy ¶
type GrpcProxy struct { OverviewClient api.OverviewServiceClient BatchClient api.BatchServiceClient RolloutServiceClient api.RolloutServiceClient GitClient api.GitServiceClient EnvironmentServiceClient api.EnvironmentServiceClient }
GrpcProxy passes through gRPC messages to another server. An alternative to the more generic methods proposed in https://github.com/grpc/grpc-go/issues/2297
func (*GrpcProxy) GetCommitInfo ¶ added in v1.22.0
func (p *GrpcProxy) GetCommitInfo( ctx context.Context, in *api.GetCommitInfoRequest) (*api.GetCommitInfoResponse, error)
func (*GrpcProxy) GetEnvironmentConfig ¶ added in v1.24.0
func (p *GrpcProxy) GetEnvironmentConfig( ctx context.Context, in *api.GetEnvironmentConfigRequest) (*api.GetEnvironmentConfigResponse, error)
func (*GrpcProxy) GetGitTags ¶ added in v1.16.0
func (p *GrpcProxy) GetGitTags( ctx context.Context, in *api.GetGitTagsRequest) (*api.GetGitTagsResponse, error)
func (*GrpcProxy) GetOverview ¶
func (p *GrpcProxy) GetOverview( ctx context.Context, in *api.GetOverviewRequest) (*api.GetOverviewResponse, error)
func (*GrpcProxy) GetProductSummary ¶ added in v1.16.0
func (p *GrpcProxy) GetProductSummary( ctx context.Context, in *api.GetProductSummaryRequest) (*api.GetProductSummaryResponse, error)
func (*GrpcProxy) GetStatus ¶ added in v1.16.0
func (p *GrpcProxy) GetStatus(ctx context.Context, in *api.GetStatusRequest) (*api.GetStatusResponse, error)
func (*GrpcProxy) ProcessBatch ¶
func (p *GrpcProxy) ProcessBatch( ctx context.Context, in *api.BatchRequest) (*api.BatchResponse, error)
func (*GrpcProxy) StreamOverview ¶
func (p *GrpcProxy) StreamOverview( in *api.GetOverviewRequest, stream api.OverviewService_StreamOverviewServer) error
func (*GrpcProxy) StreamStatus ¶ added in v1.16.0
func (p *GrpcProxy) StreamStatus(in *api.StreamStatusRequest, stream api.RolloutService_StreamStatusServer) error
Click to show internal directories.
Click to hide internal directories.