filesystem

package
v0.0.0-...-4e25ed8 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidRelease

func IsInvalidRelease(err error) bool

IsInvalidRelease asserts invalidReleaseError.

func IsReleaseNotFound

func IsReleaseNotFound(err error) bool

IsReleaseNotFound asserts releaseNotFoundError.

Types

type Filesystem

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

func New

func New(root string) Filesystem

func (Filesystem) FindRelease

func (f Filesystem) FindRelease(provider string, name string, archived bool) (v1alpha1.Release, error)

func (Filesystem) FindReleases

func (f Filesystem) FindReleases(provider string, archived bool) ([]v1alpha1.Release, error)

func (Filesystem) ReadFile

func (f Filesystem) ReadFile(path string) ([]byte, error)

Jump to

Keyboard shortcuts

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