Documentation
¶
Index ¶
- func DescribeAccessMethods(d *descriptor.Descriptor, out common.Printer)
- func DescribeActions(reg api.ActionTypeRegistry, d *descriptor.Descriptor, out common.Printer)
- func DescribeCLIExtensions(d *descriptor.Descriptor, out common.Printer)
- func DescribeConfigTypes(d *descriptor.Descriptor, out common.Printer)
- func DescribeElements[E Element[C], C Stringer](elems []E) string
- func DescribeLabelMergeSpecifications(d *descriptor.Descriptor, out common.Printer)
- func DescribePluginDescriptor(reg api.ActionTypeRegistry, d *descriptor.Descriptor, out common.Printer)
- func DescribePluginDescriptorCapabilities(reg api.ActionTypeRegistry, d *descriptor.Descriptor, out common.Printer)
- func DescribeValueMergeHandlers(d *descriptor.Descriptor, out common.Printer)
- func DescribeValueSets(d *descriptor.Descriptor, out common.Printer)
- func GetAccessMethodInfo(methods []descriptor.AccessMethodDescriptor) map[string]*MethodInfo
- func GetActionInfo(reg api.ActionTypeRegistry, actions []descriptor.ActionDescriptor) map[string]*ActionInfo
- func GetTypeInfo(types []descriptor.ConfigTypeDescriptor) map[string]*TypeInfo
- func GetValueSetInfo(valuesets []descriptor.ValueSetDescriptor) map[string]*ValueSetInfo
- func ListElements[E DescribableElement[C], C Describable](msg string, elems []E, out common.Printer)
- type ActionInfo
- type Describable
- type DescribableElement
- type Element
- type MethodInfo
- type MethodVersion
- type Stringer
- type TypeInfo
- type TypeVersion
- type ValueSetInfo
- type ValueSetVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeAccessMethods ¶
func DescribeAccessMethods(d *descriptor.Descriptor, out common.Printer)
func DescribeActions ¶
func DescribeActions(reg api.ActionTypeRegistry, d *descriptor.Descriptor, out common.Printer)
func DescribeCLIExtensions ¶ added in v0.12.0
func DescribeCLIExtensions(d *descriptor.Descriptor, out common.Printer)
func DescribeConfigTypes ¶ added in v0.12.0
func DescribeConfigTypes(d *descriptor.Descriptor, out common.Printer)
func DescribeElements ¶
func DescribeLabelMergeSpecifications ¶ added in v0.4.1
func DescribeLabelMergeSpecifications(d *descriptor.Descriptor, out common.Printer)
func DescribePluginDescriptor ¶
func DescribePluginDescriptor(reg api.ActionTypeRegistry, d *descriptor.Descriptor, out common.Printer)
func DescribePluginDescriptorCapabilities ¶ added in v0.4.1
func DescribePluginDescriptorCapabilities(reg api.ActionTypeRegistry, d *descriptor.Descriptor, out common.Printer)
func DescribeValueMergeHandlers ¶ added in v0.4.1
func DescribeValueMergeHandlers(d *descriptor.Descriptor, out common.Printer)
func DescribeValueSets ¶ added in v0.4.1
func DescribeValueSets(d *descriptor.Descriptor, out common.Printer)
func GetAccessMethodInfo ¶
func GetAccessMethodInfo(methods []descriptor.AccessMethodDescriptor) map[string]*MethodInfo
func GetActionInfo ¶
func GetActionInfo(reg api.ActionTypeRegistry, actions []descriptor.ActionDescriptor) map[string]*ActionInfo
func GetTypeInfo ¶ added in v0.12.0
func GetTypeInfo(types []descriptor.ConfigTypeDescriptor) map[string]*TypeInfo
func GetValueSetInfo ¶ added in v0.4.1
func GetValueSetInfo(valuesets []descriptor.ValueSetDescriptor) map[string]*ValueSetInfo
func ListElements ¶
func ListElements[E DescribableElement[C], C Describable](msg string, elems []E, out common.Printer)
ListElements lists describable elements.
Types ¶
type ActionInfo ¶
type Describable ¶
type Describable interface {
Describe() string
}
type DescribableElement ¶
type DescribableElement[C Describable] interface { GetName() string GetDescription() string GetConstraints() []C }
type MethodInfo ¶
type MethodInfo struct { Name string Description string Versions map[string]*MethodVersion }
type MethodVersion ¶
type MethodVersion struct { Name string Format string Options map[string]options.OptionType }
type TypeInfo ¶ added in v0.12.0
type TypeInfo struct { Name string Description string Versions map[string]*TypeVersion }
type TypeVersion ¶ added in v0.12.0
type ValueSetInfo ¶ added in v0.4.1
type ValueSetVersion ¶ added in v0.4.1
type ValueSetVersion struct { Name string Format string Options map[string]options.OptionType }
Click to show internal directories.
Click to hide internal directories.