execute

package
v0.0.0-...-318a3d5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEndpointNotDefined = errors.New("endpoint not defined")
View Source
var ErrTaskFailed = errors.New("task failed")

Functions

func NewKeptnEndpointProviderFromEnv

func NewKeptnEndpointProviderFromEnv() *configurableKeptnEndpointProvider

func NewKeptnIntegrationIdRetriever

func NewKeptnIntegrationIdRetriever(provider KeptnControlPlaneEndpointProvider) *keptnIntegrationIdRetriever

func NewWebhookSubscriptionHandler

func NewWebhookSubscriptionHandler(retriever integrationIdRetriever) *webhookSubscriptionHandler

Types

type KeptnAPIExecutor

type KeptnAPIExecutor struct {
	// contains filtered or unexported fields
}

func NewKeptnExecutor

func NewKeptnExecutor(kep KeptnEndpointProvider) *KeptnAPIExecutor

func (*KeptnAPIExecutor) ActionSupported

func (kae *KeptnAPIExecutor) ActionSupported(actionName string) bool

func (*KeptnAPIExecutor) ExecuteAPI

func (kae *KeptnAPIExecutor) ExecuteAPI(ate model.APITaskExecution) (any, error)

func (*KeptnAPIExecutor) PushResource

func (kae *KeptnAPIExecutor) PushResource(rp model.ResourcePush) (any, error)

type KeptnConfigurationServiceEndpointProvider

type KeptnConfigurationServiceEndpointProvider interface {
	GetConfigurationServiceEndpoint() string
}

type KeptnControlPlaneEndpointProvider

type KeptnControlPlaneEndpointProvider interface {
	GetControlPlaneEndpoint() string
}

type KeptnResourcePusher

type KeptnResourcePusher struct {
	// contains filtered or unexported fields
}

func (*KeptnResourcePusher) PushToService

func (p *KeptnResourcePusher) PushToService(
	project string, stage string, service string, content io.ReadCloser, resourceURI string,
) (any, error)

func (*KeptnResourcePusher) PushToStage

func (p *KeptnResourcePusher) PushToStage(
	project string, stage string, content io.ReadCloser, resourceURI string,
) (any, error)

type KeptnSecretsEndpointProvider

type KeptnSecretsEndpointProvider interface {
	GetSecretsServiceEndpoint() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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