srcs

package
v0.19.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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 ResourceSpec

type ResourceSpec struct {
	compdescv2.SourceMeta `json:",inline"`

	addhdlrs.ResourceInput `json:",inline"`
}

func (*ResourceSpec) GetRawIdentity

func (r *ResourceSpec) GetRawIdentity() metav1.Identity

func (*ResourceSpec) Info

func (r *ResourceSpec) Info() string

func (*ResourceSpec) Validate

func (r *ResourceSpec) Validate(ctx clictx.Context, input *addhdlrs.ResourceInput) error

type ResourceSpecHandler

type ResourceSpecHandler struct {
	addhdlrs.ResourceSpecHandlerBase
}

func New

func New(opts ...options.Options) *ResourceSpecHandler

func (*ResourceSpecHandler) Decode

func (*ResourceSpecHandler) Decode(data []byte) (addhdlrs.ElementSpec, error)

func (*ResourceSpecHandler) Key

func (*ResourceSpecHandler) Key() string

func (*ResourceSpecHandler) RequireInputs

func (*ResourceSpecHandler) RequireInputs() bool

func (*ResourceSpecHandler) Set

func (*ResourceSpecHandler) WithCLIOptions

func (h *ResourceSpecHandler) WithCLIOptions(opts ...options.Options) *ResourceSpecHandler

Jump to

Keyboard shortcuts

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