Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
GetConfig is forked out of sharedmain because linking knative.dev/pkg/metrics spews logs.
func Run ¶
func Run(ctx context.Context, image string, tr *tknv1beta1.TaskRun, opt *options.LogOptions, opts ...CancelableOption) (name.Digest, error)
Types ¶
type CancelableOption ¶
type CancelableOption func(context.Context, *tknv1beta1.TaskRun) (context.CancelFunc, error)
func WithServiceAccount ¶
func WithServiceAccount(sa string, tag name.Tag) CancelableOption
Click to show internal directories.
Click to hide internal directories.