provider

package
v0.0.0-...-314c5d9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTypeAssert    = errors.New("failed to convert to v1beta2.Descriptor")
	ErrDecode        = errors.New("failed to decode to descriptor target")
	ErrTemplateNil   = errors.New("module template is nil")
	ErrDescriptorNil = errors.New("module template contains nil descriptor")
)

Functions

This section is empty.

Types

type CachedDescriptorProvider

type CachedDescriptorProvider struct {
	DescriptorCache *cache.DescriptorCache
}

func NewCachedDescriptorProvider

func NewCachedDescriptorProvider() *CachedDescriptorProvider

func (*CachedDescriptorProvider) Add

func (*CachedDescriptorProvider) GetDescriptor

func (c *CachedDescriptorProvider) GetDescriptor(template *v1beta2.ModuleTemplate) (*types.Descriptor, error)

Jump to

Keyboard shortcuts

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