capability

package
v0.0.0-...-fa17801 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package capability provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability struct {
	// Description A written representation of the purpose and characteristics of the capability.
	Description string `json:"description" yaml:"description"`

	// DisplayName Name of the capability in human-readible format.
	DisplayName string `json:"displayName" yaml:"displayName"`

	// EntityState State of the entity in which the capability is applicable.
	EntityState *[]CapabiliyEntityState `json:"entityState,omitempty" yaml:"entityState"`

	// Key Key that backs the capability.
	Key string `json:"key" yaml:"key"`

	// Kind Top-level categorization of the capability
	Kind string `json:"kind" yaml:"kind"`

	// Metadata Metadata contains additional information associated with the capability. Extension point.
	Metadata *map[string]interface{} `json:"metadata" yaml:"metadata"`

	// SchemaVersion Specifies the version of the schema to which the capability definition conforms.
	SchemaVersion string `json:"schemaVersion" yaml:"schemaVersion"`

	// Status Status of the capability
	Status CapabiliyStatus `json:"status" yaml:"status"`

	// SubType Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability.
	SubType string `json:"subType" yaml:"subType"`

	// Type Classification of capabilities. Used to group capabilities similar in nature.
	Type string `json:"type" yaml:"type"`

	// Version Version of the capability definition.
	Version string `json:"version" yaml:"version"`
}

Capabiliy Meshplay manages entities in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. Entities may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshplay for full lifecycle management.

type CapabiliyEntityState

type CapabiliyEntityState string

CapabiliyEntityState defines model for Capabiliy.EntityState.

const (
	Declaration CapabiliyEntityState = "declaration"
	Instance    CapabiliyEntityState = "instance"
)

Defines values for CapabiliyEntityState.

type CapabiliyStatus

type CapabiliyStatus string

CapabiliyStatus Status of the capability

const (
	Disabled CapabiliyStatus = "disabled"
	Enabled  CapabiliyStatus = "enabled"
)

Defines values for CapabiliyStatus.

Jump to

Keyboard shortcuts

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