dto

package
v1.3.1-beta Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Define

type Define struct {
	Name    string                  `json:"name"`
	Cname   string                  `json:"cname"`
	Extend  string                  `json:"extend"`
	Desc    string                  `json:"desc"`
	Render  plugin_model.Render     `json:"render"`
	Default plugin_model.ConfigType `json:"default"`
}

type Item

type Item struct {
	Name     string          `json:"name"`
	Cname    string          `json:"cname"`
	Extend   string          `json:"extend"`
	Desc     string          `json:"desc"`
	Operator *auto.Label     `json:"operator,omitempty" aolabel:"operator"`
	Update   *auto.TimeLabel `json:"update,omitempty"`
	Create   *auto.TimeLabel `json:"create,omitempty"`
}

type PluginOption

type PluginOption struct {
	Name    string                  `json:"name"`
	Cname   string                  `json:"cname"`
	Desc    string                  `json:"desc"`
	Default plugin_model.ConfigType `json:"default"`
	Render  plugin_model.Render     `json:"render"`
}

type PluginOutput

type PluginOutput struct {
	//Cluster auto.Label              `json:"partition,omitempty" aolabel:"partition"`
	Name     string                  `json:"name"`
	Cname    string                  `json:"cname"`
	Extend   string                  `json:"extend"`
	Desc     string                  `json:"desc"`
	Status   plugin_model.Status     `json:"status"`
	Config   plugin_model.ConfigType `json:"config"`
	Operator *auto.Label             `json:"operator,omitempty" aolabel:"operator"`
	Update   *auto.TimeLabel         `json:"update,omitempty"`
	Create   *auto.TimeLabel         `json:"create,omitempty"`
}

type PluginSetting

type PluginSetting struct {
	Status plugin_model.Status     `json:"status"`
	Config plugin_model.ConfigType `json:"config"`
}

Jump to

Keyboard shortcuts

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