version

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtlasOperatorVersionProvider

type AtlasOperatorVersionProvider interface {
	GetLatest() (string, error)
	IsSupported(version string) (bool, error)
	DownloadResource(ctx context.Context, version, path string) (io.ReadCloser, error)
}

type OperatorVersion

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

func NewOperatorVersion

func NewOperatorVersion(ghClient *github.Client) *OperatorVersion

func (*OperatorVersion) DownloadResource

func (v *OperatorVersion) DownloadResource(ctx context.Context, version, path string) (io.ReadCloser, error)

func (*OperatorVersion) GetLatest

func (v *OperatorVersion) GetLatest() (string, error)

func (*OperatorVersion) IsSupported

func (v *OperatorVersion) IsSupported(version string) (bool, error)

Jump to

Keyboard shortcuts

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