pipelineascode

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentNSWebhookSecret

func GetCurrentNSWebhookSecret(ctx context.Context, k8int kubeinteraction.Interface) (string, error)

GetCurrentNSWebhookSecret get secret from current namespace if it exists

func SecretFromRepository

func SecretFromRepository(ctx context.Context, cs *params.Run, k8int kubeinteraction.Interface, config *info.ProviderConfig, event *info.Event, repo *apipac.Repository, logger *zap.SugaredLogger) error

SecretFromRepository grab the secret from the repository CRD

Types

type PacRun

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

func NewPacs

func NewPacs(event *info.Event, vcx provider.Interface, run *params.Run, k8int kubeinteraction.Interface, logger *zap.SugaredLogger) PacRun

func (*PacRun) Run

func (p *PacRun) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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