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.
Click to show internal directories.
Click to hide internal directories.