cmd

package
v1.24.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer()

Types

type Auth added in v1.16.0

type Auth struct {
	HttpServer  http.Handler
	DefaultUser auth.User
	// KeyRing is as of now required because we do not have technical users yet. So we protect public endpoints by requiring a signature
	KeyRing openpgp.KeyRing
}

func (*Auth) ServeHTTP added in v1.16.0

func (p *Auth) ServeHTTP(w http.ResponseWriter, r *http.Request)

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 (*GrpcProxy) GetEnvironmentConfig added in v1.24.0

func (*GrpcProxy) GetGitTags added in v1.16.0

func (*GrpcProxy) GetOverview

func (*GrpcProxy) GetProductSummary added in v1.16.0

func (*GrpcProxy) GetStatus added in v1.16.0

func (*GrpcProxy) ProcessBatch

func (p *GrpcProxy) ProcessBatch(
	ctx context.Context,
	in *api.BatchRequest) (*api.BatchResponse, error)

func (*GrpcProxy) StreamOverview

func (*GrpcProxy) StreamStatus added in v1.16.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL