metadata

package
v2.123.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisplayInfo

type DisplayInfo struct {
	ConnectivityCheck     *core.ConnectivityCheck `json:"ConnectivityCheck,omitempty"`
	Description           string                  `json:"Description,omitempty"`
	Label                 string                  `json:"Label,omitempty"`
	ListAPI               *ListAPIMetadata        `json:"ListApi,omitempty"`
	Options               *OptionsMetadata        `json:"Options,omitempty"`
	PropertyApplicability *PropertyApplicability  `json:"PropertyApplicability,omitempty"`
	ReadOnly              bool                    `json:"ReadOnly"`
	Required              bool                    `json:"Required"`
	ShowCopyToClipboard   bool                    `json:"ShowCopyToClipboard"`
}

func NewDisplayInfo

func NewDisplayInfo() *DisplayInfo

type ListAPIMetadata

type ListAPIMetadata struct {
	APIEndpoint string `json:"ApiEndpoint,omitempty"`
	SelectMode  string `json:"SelectMode,omitempty"`
}

func NewListAPIMetadata

func NewListAPIMetadata() *ListAPIMetadata

type Metadata

type Metadata struct {
	Description string          `json:"Description,omitempty"`
	Types       []*TypeMetadata `json:"Types"`
}

func NewMetadata

func NewMetadata() *Metadata

type OptionsMetadata

type OptionsMetadata struct {
	SelectMode string            `json:"SelectMode,omitempty"`
	Values     map[string]string `json:"Values,omitempty"`
}

func NewOptionsMetadata

func NewOptionsMetadata() *OptionsMetadata

type PropertyApplicability

type PropertyApplicability struct {
	DependsOnPropertyName  string      `json:"DependsOnPropertyName,omitempty"`
	DependsOnPropertyValue interface{} `json:"DependsOnPropertyValue,omitempty"`
	Mode                   string      `` /* 149-byte string literal not displayed */
}

func NewPropertyApplicability

func NewPropertyApplicability() *PropertyApplicability

func (PropertyApplicability) Validate

func (p PropertyApplicability) Validate() error

Validate checks the state of the property applicability and returns an error if invalid.

type PropertyMetadata

type PropertyMetadata struct {
	DisplayInfo *DisplayInfo `json:"DisplayInfo,omitempty"`
	Name        string       `json:"Name,omitempty"`
	Type        string       `json:"Type,omitempty"`
}

func NewPropertyMetadata

func NewPropertyMetadata() *PropertyMetadata

type TypeMetadata

type TypeMetadata struct {
	Name       string              `json:"Name,omitempty"`
	Properties []*PropertyMetadata `json:"Properties"`
}

func NewTypeMetadata

func NewTypeMetadata() *TypeMetadata

Jump to

Keyboard shortcuts

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