Documentation ¶
Index ¶
- Variables
- func LoadK8sManifest(ctx context.Context, configurationDir, pathOrURI, targetFile string) (runtime.Object, *schema.GroupVersionKind, error)
- func LoadTektonV1Beta1Pipeline(ctx context.Context, configurationDir, pathOrURI string) (*tektonv1beta1.Pipeline, error)
- func LoadTektonV1Beta1Task(ctx context.Context, configurationDir, pathOrURI string) (*tektonv1beta1.Task, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BatchV1ObjEncoder runtime.Encoder
View Source
var CodecFactory serializer.CodecFactory
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.
Click to show internal directories.
Click to hide internal directories.