Help us shape the future of Go! Take the 2026 Go Developer Survey

resource

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceType

func GetResourceType(resourceFile string) (string, error)

func ReadAndDecodeResourceFile

func ReadAndDecodeResourceFile(resourceFile string) (*unstructured.Unstructured, error)

ReadAndDecodeResourceFile reads the informed file and decode contents using Tekton's Kubernetes schema, returning a Unstructured instance.

func Scanner

func Scanner(pattern string) ([]string, error)

Scanner scans files using the informed glob pattern, returns a slice with the files matching the expression.

Types

This section is empty.

Jump to

Keyboard shortcuts

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