resource

package
v0.0.0-...-9bda2b5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	Json     []byte
	Kind     string
	Name     string
	Version  string
	Metadata map[string]interface{} `json:"-"`
}

func FromByte

func FromByte(data []byte) ([]Resource, error)

func FromFile

func FromFile(path string) ([]Resource, error)

func FromFolder

func FromFolder(path string) ([]Resource, error)

func (Resource) String

func (r Resource) String() string

func (Resource) StringFromMetadata

func (r Resource) StringFromMetadata(key string) (string, error)

Jump to

Keyboard shortcuts

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