composite

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Composite

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

func NewComposite

func NewComposite(opts ...CompositeOption) *Composite

func (*Composite) Load

type CompositeOption

type CompositeOption func(*Composite)

func WithLoaders

func WithLoaders(loaders map[string]Loader) CompositeOption

type Loader

type Loader interface {
	Load(context.Context, url.URL) (*apiextensionsv1.CustomResourceDefinition, error)
}

Jump to

Keyboard shortcuts

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