Documentation ¶
Index ¶
- type ResourceSpec
- type ResourceSpecHandler
- func (*ResourceSpecHandler) Decode(data []byte) (addhdlrs.ElementSpec, error)
- func (*ResourceSpecHandler) Key() string
- func (h *ResourceSpecHandler) Set(v ocm.ComponentVersionAccess, r addhdlrs.Element, acc compdesc.AccessSpec) error
- func (h *ResourceSpecHandler) WithCLIOptions(opts ...options.Options) *ResourceSpecHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceSpec ¶
type ResourceSpec struct { compdescv2.ElementMeta `json:",inline"` // ComponentName describes the remote name of the referenced object ComponentName string `json:"componentName"` }
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) Set ¶
func (h *ResourceSpecHandler) Set(v ocm.ComponentVersionAccess, r addhdlrs.Element, acc compdesc.AccessSpec) error
func (*ResourceSpecHandler) WithCLIOptions ¶
func (h *ResourceSpecHandler) WithCLIOptions(opts ...options.Options) *ResourceSpecHandler
Click to show internal directories.
Click to hide internal directories.