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 Fetch(path string, httpOptions *api.Options) map[string]interface{}
- func GetSolutionForkCommand() *cobra.Command
- func NewSubCmd() *cobra.Command
- type ComponentDef
- type ErrorItem
- type Errors
- type FmmAssociationTypesTypeDef
- type FmmAttributeDefinitionsTypeDef
- type FmmAttributeTypeDef
- type FmmEntity
- type FmmEvent
- type FmmLifecycleConfigTypeDef
- type FmmMapAndTransform
- type FmmMetric
- type FmmMetricCategory
- type FmmMetricContentType
- type FmmMetricType
- type FmmNameMappings
- type FmmNamespace
- type FmmNamespaceAssignTypeDef
- type FmmResourceMapping
- type FmmTemporality
- type FmmTypeDef
- type IdGenerationDef
- type KnowledgeDef
- type Manifest
- type ResponseBlob
- type Result
- type ServiceDef
- type Solution
- type SolutionDef
- type StatusData
- type StatusItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSolutionForkCommand ¶
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 AttributeDefinitions *FmmAttributeDefinitionsTypeDef `json:"attributeDefinitions"` LifecyleConfiguration *FmmLifecycleConfigTypeDef `json:"lifecycleConfiguration"` MetricTypes []string `json:"metricTypes,omitempty"` EventTypes []string `json:"eventTypes,omitempty"` AssociationTypes *FmmAssociationTypesTypeDef `json:"associationTypes,omitempty"` }
type FmmEvent ¶ added in v0.28.0
type FmmEvent struct { *FmmTypeDef AttributeDefinitions *FmmAttributeDefinitionsTypeDef `json:"attributeDefinitions"` }
type FmmMapAndTransform ¶
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 FmmNameMappings ¶
type FmmNamespace ¶
type FmmNamespace struct {
Name string `json:"name"`
}
type FmmResourceMapping ¶
type FmmResourceMapping struct { *FmmTypeDef EntityType string `json:"entityType"` ScopeFilter string `json:"scopeFilter"` Mappings []FmmMapAndTransform `json:"mappings,omitempty"` AttributeNameMappings FmmNameMappings `json:"attributeNameMappings,omitempty"` }
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 ResponseBlob ¶
type ResponseBlob struct {
Items []StatusItem `json:"items"`
}
type ServiceDef ¶
type Solution ¶ added in v0.28.0
type Solution struct { ID string `json:"id"` LayerID string `json:"layerId"` LayerType string `json:"layerType"` ObjectMimeType string `json:"objectMimeType"` TargetObjectId string `json:"targetObjectId"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` DisplayName string `json:"displayName"` }
type SolutionDef ¶
type StatusData ¶
type StatusItem ¶
type StatusItem struct { StatusData StatusData `json:"data"` CreatedAt string `json:"createdAt"` }
Click to show internal directories.
Click to hide internal directories.