Documentation ¶
Index ¶
- func CalculateWarnings(ctx context.Context, appName string, groups []*api.EnvironmentGroup) []*api.Warning
- func ValidateApplication(app string) error
- func ValidateDeployment(env string, app string) error
- func ValidateEnvironmentApplicationLock(actionType string, env string, app string, id string) error
- func ValidateEnvironmentLock(actionType string, env string, id string) error
- type BatchServer
- type OverviewServiceServer
- type Service
- type TagsServer
- type VersionServiceServer
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 ValidateDeployment ¶
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 (o *OverviewServiceServer) GetOverview( ctx context.Context, in *api.GetOverviewRequest) (*api.GetOverviewResponse, error)
func (*OverviewServiceServer) StreamOverview ¶
func (o *OverviewServiceServer) StreamOverview(in *api.GetOverviewRequest, stream api.OverviewService_StreamOverviewServer) error
type Service ¶
type Service struct {
Repository repository.Repository
}
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 (s *TagsServer) GetGitTags(ctx context.Context, in *api.GetGitTagsRequest) (*api.GetGitTagsResponse, error)
func (*TagsServer) GetProductSummary ¶ added in v1.16.0
func (s *TagsServer) GetProductSummary(ctx context.Context, in *api.GetProductSummaryRequest) (*api.GetProductSummaryResponse, error)
type VersionServiceServer ¶ added in v1.16.0
type VersionServiceServer struct {
Repository repository.Repository
}
func (*VersionServiceServer) GetVersion ¶ added in v1.16.0
func (o *VersionServiceServer) GetVersion( ctx context.Context, in *api.GetVersionRequest) (*api.GetVersionResponse, error)
Click to show internal directories.
Click to hide internal directories.