loader

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDir

func IsDir(path string) (bool, error)

IsDir Returns true if the given path is a directory

Types

type Loader

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

Loader implements the functions used to load YAML files

func NewLoader

func NewLoader(catalogEndpoint string, projectName string) *Loader

NewLoader returns an initialized loader

func (*Loader) LoadResources

func (l *Loader) LoadResources(ctx context.Context, accessToken string, paths []string) error

LoadResources loads the specified files or directories as catalog resources using the upload API

Jump to

Keyboard shortcuts

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