releases

package
v13.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsTooManyCRsError

func IsTooManyCRsError(err error) bool

IsTooManyCRsError asserts tooManyCRsError.

Types

type Config

type Config struct {
	K8sClient k8sclient.Interface
}

type Interface

type Interface interface {
	// Release returns the release object from a certain version
	Release(ctx context.Context, version string) (releasev1alpha1.Release, error)
}

type Releases

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

func New

func New(c Config) (*Releases, error)

func (*Releases) Release

func (r *Releases) Release(ctx context.Context, version string) (releasev1alpha1.Release, error)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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