clusterstore

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildpackageUploader

type BuildpackageUploader interface {
	UploadBuildpackage(keychain authn.Keychain, buildPackage, repository string) (string, error)
}

type Factory

type Factory struct {
	Uploader BuildpackageUploader
	Printer  Printer
}

func NewFactory

func NewFactory(printer Printer, relocator registry.Relocator, fetcher registry.Fetcher) *Factory

func (*Factory) AddToStore

func (f *Factory) AddToStore(keychain authn.Keychain, store *v1alpha2.ClusterStore, kpConfig config.KpConfig, buildpackages ...string) (*v1alpha2.ClusterStore, error)

func (*Factory) MakeStore

func (f *Factory) MakeStore(keychain authn.Keychain, name string, kpConfig config.KpConfig, buildpackages ...string) (*v1alpha2.ClusterStore, error)

func (*Factory) RemoveFromStore added in v0.5.0

func (f *Factory) RemoveFromStore(store *v1alpha2.ClusterStore, buildpackages ...string) (*v1alpha2.ClusterStore, error)

type Printer

type Printer interface {
	Printlnf(format string, args ...interface{}) error
}

Jump to

Keyboard shortcuts

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