dto

package
v0.0.0-...-4628a2c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonMachineSetAliasReq

type CommonMachineSetAliasReq struct {
	MachineSign string `json:"machineSign"`
	Alias       string `json:"alias"`
}

type DispatcherMachineSetTagsReq

type DispatcherMachineSetTagsReq struct {
	MachineSign string   `json:"machineSign"`
	TagKeys     []string `json:"tagKeys"`
}

type DispatcherTagSaveReq

type DispatcherTagSaveReq struct {
	TagKey  string `json:"tagKey"`
	TagName string `json:"tagName"`
}

type EnvironmentComponentReq

type EnvironmentComponentReq struct {
	EnvironmentComponentKey          string `json:"environmentComponentKey"`
	EnvironmentComponentName         string `json:"environmentComponentName"`
	EnvironmentComponentDescription  string `json:"environmentComponentDescription"`
	EnvironmentComponentVersionCount int    `json:"environmentComonentVersionCount`
	IconFileResourceKey              string `gorm:"size:64" json:"iconFileResourceKey"`
	IconFileResourceUrl              string `json:"iconFileResourceUrl"`
}

type EnvironmentComponentVersionReq

type EnvironmentComponentVersionReq struct {
	ECVersionKey                  string                  `gorm:"size:64;unique_index" json:"ecVersionKey"`
	BelongEnvironmentComponent    EnvironmentComponentReq `` /* 127-byte string literal not displayed */
	BelongEnvironmentComponentKey string                  `gorm:"primary_key;size:64" json:"belongEnvironmentComponentKey"`
	ECVersionTag                  string                  `gorm:"primary_key;size:64" json:"ecVersionTag"`
	ECVersionName                 string                  `gorm:"size:128" json:"ecVersionName"`
	ECVersionNumber               int                     `gorm:"size:8;auto_increment" json:"ecVersionNumber"`
	ECVersionDescription          string                  `gorm:"size:10240" json:"ecVersionDescription"`
	StateCheckScript              string                  `gorm:"type:longtext" json:"stateCheckScript"`
	InstallScript                 string                  `gorm:"type:longtext" json:"installScript"`
	UninstallScript               string                  `gorm:"type:longtext" json:"uninstallScript"`
	ProgramFileResource           FileResourceReq         `gorm:"ForeignKey:ProgramFileResourceKey;AssociationForeignKey:FileResourceKey" json:"programFileResource"`
	ProgramFileResourceKey        string                  `gorm:"size:64" json:"programFileResourceKey"`
	WhereToInstall                string                  `gorm:"size:32" json:"whereToInstall"`
	BindOperatePlatform           OperatePlatformReq      `gorm:"ForeignKey:BindOperatePlatformKey;AssociationForeignKey:OperatePlatformKey" json:"bindOperatePlatform"`
	BindOperatePlatformKey        string                  `gorm:"size:64" json:"bindOperatePlatformKey"`
}

type FileResourceReq

type FileResourceReq struct {
	FileResourceKey  string `gorm:"primary_key;size:64" json:"fileResourceKey"`
	SourceType       string `gorm:"size:128" json:"sourceType"`
	OriginalFileName string `gorm:"size:512" json:"originalFileName"`
	FileExtension    string `gorm:"size:512" json:"fileExtension"`
	FileSize         int64  `json:"fileSize"`
	FilePath         string `gorm:"size:4096" json:"filePath"`
	ContentType      string `gorm:"size:128" json:"contentType"`
}

type LrUserAuthReq

type LrUserAuthReq struct {
	Number   string `json:"number"`
	Password string `json:"password"`
}

type LrUserCreateReq

type LrUserCreateReq struct {
	Number   string `json:"number"`
	Password string `json:"password"`
}

type OperatePlatformReq

type OperatePlatformReq struct {
	OperatePlatformKey    string `gorm:"size:64;unique_index" json:"operatePlatformKey"`
	OperateSystemTag      string `gorm:"size:32;primary_key" json:"operateSystemTag"`
	CpuArchTag            string `gorm:"size:32;primary_key" json:"cpuArchTag"`
	OperatePlatformRemark string `gorm:"size:2048" json:"operatePlatformRemark"`
}

type ServerNodeResp

type ServerNodeResp struct {
	NodeInfo    entity.ServerNode `json:"nodeInfo"`
	ActiveState bool              `json:"activeState"`
}

type ServerNodeUpdateAliasReq

type ServerNodeUpdateAliasReq struct {
	MachineSign string `json:"machineSign"`
	Alias       string `json:"alias"`
}

Jump to

Keyboard shortcuts

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