Documentation ¶
Index ¶
- Constants
- func GetDisplayMetaInstanceColumnTags() []string
- func ValidateDisplayMetaInstanceColumnTags(tags []string) error
- type DisplayMetaInstance
- func (n *DisplayMetaInstance) GetDeploymentID() printer.DisplayField
- func (n *DisplayMetaInstance) GetDeploymentPlanName() printer.DisplayField
- func (n *DisplayMetaInstance) GetDisplayFieldFromColumnTag(columnTag string) (printer.DisplayField, error)
- func (n *DisplayMetaInstance) GetName() printer.DisplayField
- type DisplayMetaInstanceStatus
- type DisplayMetadata
- type DisplayOperation
- type DisplayOperationStatus
- type DisplayRuntimeInstance
- type DisplayRuntimeInstanceStatus
Constants ¶
View Source
const ( ColumnId = "id" ColumnVersion = "version" ColumnIsDeleted = "is_deleted" ColumnName = "name" ColumnState = "state" ColumnMessage = "message" ColumnDeploymentPlanName = "deployment_plan_name" ColumnDeploymentId = "deployment_id" )
Variables ¶
This section is empty.
Functions ¶
func GetDisplayMetaInstanceColumnTags ¶
func GetDisplayMetaInstanceColumnTags() []string
Types ¶
type DisplayMetaInstance ¶
type DisplayMetaInstance struct { Metadata DisplayMetadata `json:"metadata,omitempty"` Name string `json:"name,omitempty" displayName:"Meta Instance Name" columnTag:"name"` Status DisplayMetaInstanceStatus `json:"status,omitempty"` DeploymentPlanName string `json:"deployment_plan_name,omitempty" displayName:"Deployment Plan Name" columnTag:"deployment_plan_name"` DeploymentID string `json:"deployment_id,omitempty" displayName:"Deployment ID" columnTag:"deployment_id"` RuntimeInstances []DisplayRuntimeInstance `json:"runtime_instances,omitempty"` Operations []DisplayOperation `json:"operations,omitempty"` }
DisplayMetaInstance represents the display version of the MetaInstanceRecord.
func (*DisplayMetaInstance) GetDeploymentID ¶
func (n *DisplayMetaInstance) GetDeploymentID() printer.DisplayField
func (*DisplayMetaInstance) GetDeploymentPlanName ¶
func (n *DisplayMetaInstance) GetDeploymentPlanName() printer.DisplayField
func (*DisplayMetaInstance) GetDisplayFieldFromColumnTag ¶
func (n *DisplayMetaInstance) GetDisplayFieldFromColumnTag(columnTag string) (printer.DisplayField, error)
func (*DisplayMetaInstance) GetName ¶
func (n *DisplayMetaInstance) GetName() printer.DisplayField
type DisplayMetaInstanceStatus ¶
type DisplayMetaInstanceStatus struct { State string `` /* 176-byte string literal not displayed */ Message string `json:"message,omitempty" displayName:"Status Message" columnTag:"message"` }
DisplayMetaInstanceStatus represents the display version of MetaInstanceStatus.
func (*DisplayMetaInstanceStatus) GetMessage ¶
func (n *DisplayMetaInstanceStatus) GetMessage() printer.DisplayField
func (*DisplayMetaInstanceStatus) GetState ¶
func (n *DisplayMetaInstanceStatus) GetState() printer.DisplayField
type DisplayMetadata ¶
type DisplayMetadata struct { ID string `json:"id,omitempty" displayName:"ID" columnTag:"id"` Version int `json:"version,omitempty" displayName:"Version" columnTag:"version"` IsDeleted bool `json:"is_deleted,omitempty" displayName:"Is Deleted" columnTag:"is_deleted" redTexts:"true" greenTexts:"false"` }
DisplayMetadata is the display version of core.Metadata in MetaInstanceRecord.
func (*DisplayMetadata) GetID ¶
func (n *DisplayMetadata) GetID() printer.DisplayField
func (*DisplayMetadata) GetIsDeleted ¶
func (n *DisplayMetadata) GetIsDeleted() printer.DisplayField
func (*DisplayMetadata) GetVersion ¶
func (n *DisplayMetadata) GetVersion() printer.DisplayField
type DisplayOperation ¶
type DisplayOperation struct { ID string `json:"id,omitempty" displayName:"Operation ID"` Type string `json:"type,omitempty" displayName:"Operation Type"` IntentID string `json:"intent_id,omitempty" displayName:"Intent ID"` Status DisplayOperationStatus `json:"status,omitempty"` }
DisplayOperation represents the display version of Operation.
func (*DisplayOperation) GetID ¶
func (n *DisplayOperation) GetID() printer.DisplayField
func (*DisplayOperation) GetIntentID ¶
func (n *DisplayOperation) GetIntentID() printer.DisplayField
func (*DisplayOperation) GetType ¶
func (n *DisplayOperation) GetType() printer.DisplayField
type DisplayOperationStatus ¶
type DisplayOperationStatus struct { State string `` /* 218-byte string literal not displayed */ Message string `json:"message,omitempty" displayName:"Status Message"` }
DisplayOperationStatus represents the display version of OperationStatus.
func (*DisplayOperationStatus) GetMessage ¶
func (n *DisplayOperationStatus) GetMessage() printer.DisplayField
func (*DisplayOperationStatus) GetState ¶
func (n *DisplayOperationStatus) GetState() printer.DisplayField
type DisplayRuntimeInstance ¶
type DisplayRuntimeInstance struct { ID string `json:"id,omitempty" displayName:"Instance ID"` NodeName string `json:"node_name,omitempty" displayName:"Node Name"` IsActive bool `json:"is_active,omitempty" displayName:"Is Active" redTexts:"false" greenTexts:"true"` Status DisplayRuntimeInstanceStatus `json:"status,omitempty"` }
DisplayRuntimeInstance represents the display version of RuntimeInstance.
func (*DisplayRuntimeInstance) GetID ¶
func (n *DisplayRuntimeInstance) GetID() printer.DisplayField
func (*DisplayRuntimeInstance) GetIsActive ¶
func (n *DisplayRuntimeInstance) GetIsActive() printer.DisplayField
func (*DisplayRuntimeInstance) GetNodeName ¶
func (n *DisplayRuntimeInstance) GetNodeName() printer.DisplayField
type DisplayRuntimeInstanceStatus ¶
type DisplayRuntimeInstanceStatus struct { State string `` /* 243-byte string literal not displayed */ Message string `json:"message,omitempty" displayName:"Status Message"` }
DisplayRuntimeInstanceStatus represents the display version of RuntimeInstanceStatus.
func (*DisplayRuntimeInstanceStatus) GetMessage ¶
func (n *DisplayRuntimeInstanceStatus) GetMessage() printer.DisplayField
func (*DisplayRuntimeInstanceStatus) GetState ¶
func (n *DisplayRuntimeInstanceStatus) GetState() printer.DisplayField
Click to show internal directories.
Click to hide internal directories.