spider

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConnectionConfigInfo

type CloudConnectionConfigInfo struct {
	//user(username, password, email)
	ConfigName     string `json:"ConfigName"`
	ProviderName   string `json:"ProviderName"`
	DriverName     string `json:"DriverName"`
	CredentialName string `json:"CredentialName"`
	RegionName     string `json:"RegionName"`
}

ConnectionConfigData -> CloudConnectionConfigInfo 로 변경

type CloudConnectionConfigInfos

type CloudConnectionConfigInfos []CloudConnectionConfigInfo

type ClusterInfo added in v0.6.1

type ClusterInfo struct {
	Name               string          `json:"Name"`
	Version            string          `json:"Version"`
	VPCName            string          `json:"VPCName"`
	SubnetNames        []string        `json:"SubnetNames"`
	SecurityGroupNames []string        `json:"SecurityGroupNames"`
	NodeGroupList      []NodeGroupInfo `json:"NodeGroupList"`
}

type ClusterReqInfo added in v0.6.1

type ClusterReqInfo struct {
	NameSpace      string      `json:"Namespace"`
	ConnectionName string      `json:"ConnectionName"`
	ReqInfo        ClusterInfo `json:"ReqInfo"`
}

type ConfigInfo

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

type ConfigInfos

type ConfigInfos []ConfigInfo

type CredentialInfo

type CredentialInfo struct {
	//user(username, password, email)
	CredentialName   string         `json:"CredentialName"`
	ProviderName     string         `json:"ProviderName"`
	KeyValueInfoList SpKeyValueList `json:"KeyValueInfoList"`
}

type CredentialInfos

type CredentialInfos []CredentialInfo

type DriverInfo

type DriverInfo struct {
	//user(username, password, email)
	DriverName        string `json:"DriverName"`
	ProviderName      string `json:"ProviderName"`
	DriverLibFileName string `json:"DriverLibFileName"`
}

type DriverInfos

type DriverInfos []DriverInfo

type NodeGroupInfo added in v0.6.1

type NodeGroupInfo struct {
	Name            string `json:"Name"`
	ImageName       string `json:"ImageName"`
	VMSpecName      string `json:"VMSpecName"`
	KeyPairName     string `json:"KeyPairName"`
	OnAutoScaling   string `json:"OnAutoScaling"`
	DesiredNodeSize string `json:"DesiredNodeSize"`
	MinNodeSize     string `json:"MinNodeSize"`
	MaxNodeSize     string `json:"MaxNodeSize"`
	RootDiskType    string `json:"RootDiskType"`
	RootDiskSize    string `json:"RootDiskSize"`
}

type NodeGroupReqInfo added in v0.6.1

type NodeGroupReqInfo struct {
	NameSpace      string        `json:"NameSpace"`
	ConnectionName string        `json:"ConnectionName"`
	ReqInfo        NodeGroupInfo `json:"ReqInfo"`
}

type RegionInfo

type RegionInfo struct {
	RegionName       string         `json:"RegionName"`
	ProviderName     string         `json:"ProviderName"`
	KeyValueInfoList SpKeyValueList `json:"KeyValueInfoList"`
}

type RegionInfos

type RegionInfos []RegionInfo

type RespClusterInfo added in v0.6.1

type RespClusterInfo struct {
	ClusterInfo SpClusterInfo `json:"ClusterInfo"`
}

type SpAllClusterInfoList added in v0.6.1

type SpAllClusterInfoList struct {
	Connection string `json:"Connection"`
	Provider   string `json:"Provider"`

	ClusterList SpClusterInfoList `json:"ClusterList"`
}

Connection이 다른 namespace내 모든 Cluster의 List

type SpClusterAccessInfo added in v0.6.1

type SpClusterAccessInfo struct {
	Endpoint   string `json:"Endpoint"` //ex)https://1.2.3.4:56
	Kubeconfig string `json:"Kubeconfig"`
}

type SpClusterInfo added in v0.6.1

type SpClusterInfo struct {
	Addons        SpKeyValueList       `json:"Addons"`
	CreatedTime   string               `json:"CreatedTime"`
	IId           SpIID                `json:"IId"`
	Status        string               `json:"Status"`
	Version       string               `json:"Version"`
	KeyValueList  SpKeyValueList       `json:"KeyValueList"`
	Network       SpClusterNetworkInfo `json:"Network"`
	NodeGroupList SpNodeGroupList      `json:"NodeGroupList"`
	AccessInfo    SpClusterAccessInfo  `json:"AccessInfo"`

	ConnectionName string `json:"ConnectionName"` // Spider 미제공으로 추가한 항목.
	ProviderName   string `json:"ProviderName"`   // Spider 미제공으로 추가한 항목.
}

type SpClusterInfoList added in v0.6.1

type SpClusterInfoList []SpClusterInfo

type SpClusterNetworkInfo added in v0.6.1

type SpClusterNetworkInfo struct {
	VpcIID            SpIID     `json:"VpcIID"`
	SubnetIIDs        SpIIDList `json:"SubnetIIDs"`
	SecurityGroupIIDs SpIIDList `json:"SecurityGroupIIDs"`

	KeyValueList SpKeyValueList `json:"KeyValueList"`
}

type SpError added in v0.6.1

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

type SpErrorDetail added in v0.6.1

type SpErrorDetail struct {
	Message   string `json:"message"`
	RequestId string `json:"requestId"`
	Status    string `json:"status"`
}

type SpIID added in v0.6.1

type SpIID struct {
	NameId   string `json:"NameId"`
	SystemId string `json:"SystemId"`
}

type SpIIDList added in v0.6.1

type SpIIDList []SpIID

type SpKeyValueInfo added in v0.6.1

type SpKeyValueInfo struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

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

type SpKeyValueList added in v0.6.1

type SpKeyValueList []SpKeyValueInfo

type SpNodeGroupInfo added in v0.6.1

type SpNodeGroupInfo struct {
	IId        SpIID `json:"IId"`
	ImageIID   SpIID `json:"ImageIID"`
	KeyPairIID SpIID `json:"KeyPairIID"`

	DesiredNodeSize int       `json:"DesiredNodeSize"`
	MaxNodeSize     int       `json:"MaxNodeSize"`
	MinNodeSize     int       `json:"MinNodeSize"`
	Nodes           SpIIDList `json:"Nodes"`

	OnAutoScaling bool   `json:"OnAutoScaling"`
	RootDiskSize  int    `json:"RootDiskSize"`
	RootDiskType  string `json:"RootDiskType"`
	Status        string `json:"Status"`
	VMSpecName    string `json:"VMSpecName"`
}

type SpNodeGroupList added in v0.6.1

type SpNodeGroupList []SpNodeGroupInfo

type SpSecurityGroupInfo added in v0.6.1

type SpSecurityGroupInfo struct {
	IId           SpIID              `json:"IId"`
	VpcIID        SpIID              `json:"VpcIId"`
	Direction     string             `json:"Direction"`
	SecurityRules SpSecurityRuleList `json:"SecurityRules"`
	KeyValueList  []SpKeyValueInfo   `json:"KeyValueList"`
}

type SpSecurityGroupList added in v0.6.1

type SpSecurityGroupList []SpSecurityGroupInfo

type SpSecurityRule added in v0.6.1

type SpSecurityRule struct {
	FromPort   string `json:"FromPort"`
	ToPort     string `json:"ToPort"`
	IPProtocol string `json:"IPProtocol"`
	Direction  string `json:"Direction"`
}

type SpSecurityRuleList added in v0.6.1

type SpSecurityRuleList []SpSecurityRule

type SpSubnetInfo added in v0.6.1

type SpSubnetInfo struct {
	IId          SpIID            `json:"IId"`
	IPv4_CIDR    string           `json:"IPv4_CIDR"`
	KeyValueList []SpKeyValueInfo `json:"KeyValueList"`
}

type SpSubnetList added in v0.6.1

type SpSubnetList []SpSubnetInfo

type SpTotalClusterInfoList added in v0.6.1

type SpTotalClusterInfoList struct {
	AllClusterList []SpAllClusterInfoList `json:"AllClusterList"`
}

type SpVpcInfo added in v0.6.1

type SpVpcInfo struct {
	IId            SpIID        `json:"IId"`
	IPv4_CIDR      string       `json:"IPv4_CIDR"`
	SubnetInfoList SpSubnetList `json:"SubnetInfoList"`
}

Jump to

Keyboard shortcuts

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