common

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestInspectResourcesRequest

type RestInspectResourcesRequest struct {
	ConnectionName string `json:"connectionName"`
	ResourceType   string `json:"resourceType"`
}

type RestRegisterCspNativeResourcesRequest

type RestRegisterCspNativeResourcesRequest struct {
	ConnectionName string `json:"connectionName"`
	McisName       string `json:"mcisName"`
	NsId           string `json:"nsId"`
}

type RestRegisterCspNativeResourcesRequestAll

type RestRegisterCspNativeResourcesRequestAll struct {
	McisName string `json:"mcisName"`
	NsId     string `json:"nsId"`
}

type TbConConfig

type TbConConfig struct {
	ConfigName     string        `json:"configName"`
	ProviderName   string        `json:"providerName"`
	CredentialName string        `json:"credentialName"`
	DriverName     string        `json:"driverName"`
	RegionName     string        `json:"regionName"`
	Location       TbGeoLocation `json:"location"`
}

TB의 common.ConfigInfo -> TBConfigInfo로 ConfigInfo가 spider에도 있으므로 common package는 모두 TB를 붙이도록 한다

type TbConConfigs

type TbConConfigs []TbConConfig

type TbConfigInfo

type TbConfigInfo struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Value string `json:"value"`
}

TB의 common.ConfigInfo -> TBConfigInfo로 ConfigInfo가 spider에도 있으므로 common package는 모두 TB를 붙이도록 한다

type TbConfigReq

type TbConfigReq struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

TB의 common.ConfigInfo -> TBConfigInfo로 ConfigInfo가 spider에도 있으므로 common package는 모두 TB를 붙이도록 한다

type TbConnectionName

type TbConnectionName struct {
	ConnectionName string `json:"connectionName"`
}

type TbGeoLocation

type TbGeoLocation struct {
	BriefAddr    string `json:"briefAddr"`
	CloudType    string `json:"cloudType"`
	Latitude     string `json:"latitude"`
	Longitude    string `json:"longitude"`
	NativeRegion string `json:"nativeRegion"`
}

type TbIID

type TbIID struct {
	NameID   string `json:"nameId"`
	SystemID string `json:"systemId"`
}

TB의 common.ConfigInfo -> TBConfigInfo로 ConfigInfo가 spider에도 있으므로 common package는 모두 TB를 붙이도록 한다

type TbIdList

type TbIdList struct {
	//IDList []string `json:"idList"`
	IDList []string `json:"output"`
}

type TbKeyValue

type TbKeyValue struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Tumblebug 에서 KeyValue 를 인자로 갖는 응답에서 사용

type TbKeyValues

type TbKeyValues []TbKeyValue

type TbNsInfo

type TbNsInfo struct {
	ID          string `json:"id"`
	Name        string `json:"name" validate:"required"`
	Description string `json:"description"`
}

type TbNsInfos

type TbNsInfos []TbNsInfo

type TbNsReq

type TbNsReq struct {
	Name        string `json:"name" validate:"required"`
	Description string `json:"description"`
}

type TbRegion

type TbRegion struct {
	ProviderName     string       `json:"providerName"`
	RegionName       string       `regionName:"regionName"`
	KeyValueInfoList []TbKeyValue `json:"keyValueInfoList"`
}

type TbRegions

type TbRegions []TbRegion

type TbRestGetAllConfigResponse

type TbRestGetAllConfigResponse struct {
	Name       string       `json:"name"`
	ConfigInfo TbConfigInfo `json:"configInfo"`
}

type TbSimpleMsg

type TbSimpleMsg struct {
	Message string `json:"message"`
}

TB의 common.ConfigInfo -> TBConfigInfo로 ConfigInfo가 spider에도 있으므로 common package는 모두 TB를 붙이도록 한다

Jump to

Keyboard shortcuts

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