config

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LifecycleConfigName = "lifecycle-image"
	LifecycleConfigKey  = "image"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LifecycleProvider

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

func NewLifecycleProvider

func NewLifecycleProvider(client RegistryClient, keychainFactory registry.KeychainFactory) *LifecycleProvider

func (*LifecycleProvider) AddEventHandler

func (l *LifecycleProvider) AddEventHandler(handler func())

func (*LifecycleProvider) LayerForOS

func (l *LifecycleProvider) LayerForOS(os string) (v1.Layer, cnb.LifecycleMetadata, error)

func (*LifecycleProvider) UpdateImage

func (l *LifecycleProvider) UpdateImage(cm *corev1.ConfigMap) error

type RegistryClient

type RegistryClient interface {
	Fetch(keychain authn.Keychain, repoName string) (v1.Image, string, error)
}

Jump to

Keyboard shortcuts

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