service

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateWarnings added in v1.16.0

func CalculateWarnings(ctx context.Context, appName string, groups []*api.EnvironmentGroup) []*api.Warning

CalculateWarnings returns warnings for the User to be displayed in the UI. For really unusual configurations, these will be logged and not returned.

func ValidateApplication added in v1.16.0

func ValidateApplication(
	app string,
) error

func ValidateDeployment

func ValidateDeployment(
	env string,
	app string,
) error

func ValidateEnvironmentApplicationLock

func ValidateEnvironmentApplicationLock(
	actionType string,
	env string,
	app string,
	id string,
) error

func ValidateEnvironmentLock

func ValidateEnvironmentLock(
	actionType string,
	env string,
	id string,
) error

Types

type BatchServer

type BatchServer struct {
	Repository repository.Repository
	RBACConfig auth.RBACConfig
}

func (*BatchServer) ProcessBatch

func (d *BatchServer) ProcessBatch(
	ctx context.Context,
	in *api.BatchRequest,
) (*api.BatchResponse, error)

type OverviewServiceServer

type OverviewServiceServer struct {
	Repository repository.Repository
	Shutdown   <-chan struct{}
	// contains filtered or unexported fields
}

func (*OverviewServiceServer) GetOverview

func (*OverviewServiceServer) StreamOverview

type Service

type Service struct {
	Repository repository.Repository
}

func (*Service) ServeHTTP

func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Service) ServeHTTPHealth

func (s *Service) ServeHTTPHealth(w http.ResponseWriter, r *http.Request)

type TagsServer added in v1.16.0

type TagsServer struct {
	Config          repository.RepositoryConfig
	OverviewService *OverviewServiceServer
}

func (*TagsServer) GetGitTags added in v1.16.0

func (*TagsServer) GetProductSummary added in v1.16.0

type VersionServiceServer added in v1.16.0

type VersionServiceServer struct {
	Repository repository.Repository
}

func (*VersionServiceServer) GetVersion added in v1.16.0

Jump to

Keyboard shortcuts

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