Versions in this module Expand all Collapse all v0 v0.1.0 Aug 31, 2021 Changes in this version + const HTTPTransportProtocol + const KeptnAuthTokenKey + const KeptnConfigFileName + const ShipyardFileName + var ErrEvaluationFailed = fmt.Errorf("evaluation result shows failure") + var ErrFailedDeleteProject = fmt.Errorf("failed to delete project") + type Config struct + Namespace string + Timeframe string + Token KeptnAPIToken + URL string + func (k *Config) Validate() error + type Git struct + Token string + URL string + User string + type Keptn struct + func New(url, namespace, secretName string, git *Git) (*Keptn, error) + func (k *Keptn) AddResourceToAllStages(service, project, resourceName, resourceContent string) error + func (k *Keptn) AddResourceToStage(service, project, stage, resourceURI, resourceContent string) error + func (k *Keptn) ConfigureMonitoring(project, service, monitoringType string) error + func (k *Keptn) CreateOrUpdateProject(project string, shipyard string) error + func (k *Keptn) CreateService(service, project string) error + func (k *Keptn) DeleteProject(project string) error + func (k *Keptn) GetEvents(service, project, keptnCtx string) error + func (k *Keptn) TriggerEvaluation(service, project, timeframe string) (string, error) + type KeptnAPIToken struct + SecretRef *corev1.ObjectReference