Documentation ¶
Index ¶
- Constants
- type ResolvedWrapperResource
- type Resolver
- func (r *Resolver) GetConfigName(context.Context) string
- func (r *Resolver) GetName(context.Context) string
- func (r *Resolver) GetSelector(context.Context) map[string]string
- func (r *Resolver) Initialize(ctx context.Context) error
- func (r *Resolver) Resolve(ctx context.Context, origParams []v1beta1.Param) (framework.ResolvedResource, error)
- func (r *Resolver) ValidateParams(ctx context.Context, params []v1beta1.Param) error
Constants ¶
const ( PipelineRefParam = "pipelineref" WorkspacesParam = "workspaces" TargetParam = "target" FilesParam = "files" WrapperParam = "wrapper" DefaultBaseImage = "ghcr.io/openshift-pipelines/tekton-wrap-pipeline/base:latest" )
const LabelValueWrapResolverType string = "wrap.cache"
LabelValueWrapResolverType is the value to use for the resolution.tekton.dev/type label on resource requests
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolvedWrapperResource ¶
func (*ResolvedWrapperResource) Annotations ¶
func (r *ResolvedWrapperResource) Annotations() map[string]string
Annotations returns the metadata that accompanies the resource fetched from the cluster.
func (*ResolvedWrapperResource) Data ¶
func (r *ResolvedWrapperResource) Data() []byte
Data returns the bytes of the file resolved from git.
func (*ResolvedWrapperResource) Source ¶
func (r *ResolvedWrapperResource) Source() *v1beta1.ConfigSource
Source is the source reference of the remote data that records where the remote file came from including the url, digest and the entrypoint.
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver implements a framework.Resolver that can "wrap" a Pipeline for not using a PVC for workspaces
func (*Resolver) GetConfigName ¶
GetConfigName returns the name of the wrap resolver's configmap.
func (*Resolver) GetSelector ¶
GetSelector returns a map of labels to match requests to this Resolver.
func (*Resolver) Initialize ¶
Initialize sets up any dependencies needed by the Resolver. None atm.