manifests

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BatchV1ObjEncoder runtime.Encoder
View Source
var K8sObjDecoder runtime.Decoder
View Source
var TektonV1Beta1ObjEncoder runtime.Encoder

Functions

func LoadK8sManifest

func LoadK8sManifest(ctx context.Context, configurationDir, pathOrURI, targetFile string) (runtime.Object, *schema.GroupVersionKind, error)

LoadK8sManifest resolves the path or the URI, fetches the bytes stored in it and then attempts to deserializer the bytes into a known K8s object struct.

func LoadTektonV1Beta1Pipeline

func LoadTektonV1Beta1Pipeline(ctx context.Context, configurationDir, pathOrURI string) (*tektonv1beta1.Pipeline, error)

LoadTektonV1Beta1Pipeline loads a tektonV1Beta1 Pipeline object from a path

func LoadTektonV1Beta1Task

func LoadTektonV1Beta1Task(ctx context.Context, configurationDir, pathOrURI string) (*tektonv1beta1.Task, error)

LoadTektonV1Beta1Task loads a tektonV1Beta1 Task object from a path

Types

This section is empty.

Jump to

Keyboard shortcuts

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