Documentation
¶
Overview ¶
Copyright 2022 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func NewSubCmd() *cobra.Command
- type ComponentDef
- type ErrorItem
- type Errors
- type FmmAssociationTypesTypeDef
- type FmmAttributeDefinitionsTypeDef
- type FmmAttributeTypeDef
- type FmmEntity
- type FmmLifecycleConfigTypeDef
- type FmmMetric
- type FmmMetricCategory
- type FmmMetricContentType
- type FmmMetricType
- type FmmNamespace
- type FmmNamespaceAssignTypeDef
- type FmmTemporality
- type FmmTypeDef
- type IdGenerationDef
- type KnowledgeDef
- type Manifest
- type Result
- type ServiceDef
- type SolutionDef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComponentDef ¶
type FmmAssociationTypesTypeDef ¶
type FmmAssociationTypesTypeDef struct {
Aggregates_of []string `json:"common:aggregates_of,omitempty"`
Consists_of []string `json:"common:consists_of,omitempty"`
Is_a []string `json:"common:is_a,omitempty"`
Has []string `json:"common:has,omitempty"`
Relates_to []string `json:"common:relates_to,omitempty"`
Uses []string `json:"common:uses,omitempty"`
}
type FmmAttributeDefinitionsTypeDef ¶
type FmmAttributeDefinitionsTypeDef struct {
Required []string `json:"required"`
Optimized []string `json:"optimized"`
Attributes map[string]*FmmAttributeTypeDef `json:"attributes"`
}
type FmmAttributeTypeDef ¶
type FmmEntity ¶
type FmmEntity struct {
*FmmTypeDef
LifecycleConfiguration FmmLifecycleConfigTypeDef `json:"lifecycleConfiguration"`
AttributeDefinitions *FmmAttributeDefinitionsTypeDef `json:"attributeDefinitions"`
MetricTypes []string `json:"metricTypes"`
EventTypes []string `json:"eventTypes"`
AssociationTypes *FmmAssociationTypesTypeDef `json:"associationTypes"`
}
type FmmMetric ¶
type FmmMetric struct {
*FmmTypeDef
Category FmmMetricCategory `json:"category"`
ContentType FmmMetricContentType `json:"contentType"`
AggregationTemporality string `json:"aggregationTemporality"`
IsMonotonic bool `json:"isMonotonic"`
Type FmmMetricType `json:"type"`
Unit string `json:"unit"`
}
type FmmMetricCategory ¶
type FmmMetricCategory string
const ( Category_Sum FmmMetricCategory = "sum" Category_Average FmmMetricCategory = "average" Category_Rate FmmMetricCategory = "rate" )
type FmmMetricContentType ¶
type FmmMetricContentType string
const ( ContentType_Sum FmmMetricContentType = "sum" ContentType_Gauge FmmMetricContentType = "gauge" ContentType_Distribution FmmMetricContentType = "distribution" )
type FmmMetricType ¶
type FmmMetricType string
const ( Type_Long FmmMetricType = "long" Type_Double FmmMetricType = "double" )
type FmmNamespace ¶
type FmmNamespace struct {
Name string `json:"name"`
}
type FmmTemporality ¶
type FmmTemporality string
const ( Temp_Delta FmmTemporality = "delta" Temp_False FmmTemporality = "unspecified" )
type FmmTypeDef ¶
type FmmTypeDef struct {
Namespace FmmNamespaceAssignTypeDef `json:"namespace"`
Kind string `json:"kind"`
Name string `json:"name"`
DisplayName string `json:"displayName,omitempty"`
}
type IdGenerationDef ¶
type KnowledgeDef ¶
type KnowledgeDef struct {
Name string `json:"name,omitempty"`
AllowedLayers []string `json:"allowedLayers,omitempty"`
IdGeneration *IdGenerationDef `json:"idGeneration,omitempty"`
SecureProperties []string `json:"secureProperties,omitempty"`
JsonSchema map[string]interface{} `json:"jsonSchema,omitempty"`
}
type Manifest ¶
type Manifest struct {
ManifestVersion string `json:"manifestVersion,omitempty"`
Name string `json:"name,omitempty"`
SolutionVersion string `json:"solutionVersion,omitempty"`
Dependencies []string `json:"dependencies"`
Description string `json:"description,omitempty"`
Contact string `json:"contact,omitempty"`
HomePage string `json:"homepage,omitempty"`
GitRepoUrl string `json:"gitRepoUrl,omitempty"`
Readme string `json:"readme,omitempty"`
Objects []ComponentDef `json:"objects,omitempty"`
Types []string `json:"types,omitempty"`
}
type ServiceDef ¶
Click to show internal directories.
Click to hide internal directories.