customparams

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomParams

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

func NewCustomParams

func NewCustomParams(event *info.Event, repo *v1alpha1.Repository, run *params.Run, k8int kubeinteraction.Interface, eventEmitter *events.EventEmitter, prov provider.Interface) CustomParams

func (*CustomParams) GetParams

func (p *CustomParams) GetParams(ctx context.Context) (map[string]string, map[string]interface{}, error)

GetParams will process the parameters as set in the repo.Spec CR. value can come from a string or from a secretKeyRef or from a string value if both is set we pick the value and issue a warning in the user namespace we let the user specify a cel filter. If false then we skip the parameters. if multiple params name has a filter we pick up the first one that has matched true.

Jump to

Keyboard shortcuts

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