resources

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupServerEndpoint

func LookupServerEndpoint(resources *Parsed, serverRef, service string) (string, error)

func ReadSecret

func ReadSecret(r *Parsed, resource string) ([]byte, error)

Types

type Parsed

type Parsed struct {
	// contains filtered or unexported fields
}

func LoadResources

func LoadResources() (*Parsed, error)

func ParseResourceData

func ParseResourceData(data []byte) (*Parsed, error)

func (*Parsed) Unmarshal

func (p *Parsed) Unmarshal(resource string, out any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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