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 ¶
func (c *Composite) Load(ctx context.Context, location url.URL) (*apiextensionsv1.CustomResourceDefinition, error)
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)
}
Click to show internal directories.
Click to hide internal directories.