Documentation
¶
Index ¶
- type CCMApi
- func (ccm *CCMApi) AddSubnet(doc string) (string, error)
- func (ccm *CCMApi) AddSubnetByParam(req *SubnetReq) (string, error)
- func (ccm *CCMApi) Close()
- func (ccm *CCMApi) ControlVM(doc string) (string, error)
- func (ccm *CCMApi) ControlVMByParam(connectionName string, name string, action string) (string, error)
- func (ccm *CCMApi) CreateImage(doc string) (string, error)
- func (ccm *CCMApi) CreateImageByParam(req *ImageReq) (string, error)
- func (ccm *CCMApi) CreateKey(doc string) (string, error)
- func (ccm *CCMApi) CreateKeyByParam(req *KeyReq) (string, error)
- func (ccm *CCMApi) CreateSecurity(doc string) (string, error)
- func (ccm *CCMApi) CreateSecurityByParam(req *SecurityReq) (string, error)
- func (ccm *CCMApi) CreateVPC(doc string) (string, error)
- func (ccm *CCMApi) CreateVPCByParam(req *VPCReq) (string, error)
- func (ccm *CCMApi) DeleteCSPKey(doc string) (string, error)
- func (ccm *CCMApi) DeleteCSPKeyByParam(connectionName string, id string) (string, error)
- func (ccm *CCMApi) DeleteCSPSecurity(doc string) (string, error)
- func (ccm *CCMApi) DeleteCSPSecurityByParam(connectionName string, id string) (string, error)
- func (ccm *CCMApi) DeleteCSPVPC(doc string) (string, error)
- func (ccm *CCMApi) DeleteCSPVPCByParam(connectionName string, id string) (string, error)
- func (ccm *CCMApi) DeleteImage(doc string) (string, error)
- func (ccm *CCMApi) DeleteImageByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) DeleteKey(doc string) (string, error)
- func (ccm *CCMApi) DeleteKeyByParam(connectionName string, name string, force string) (string, error)
- func (ccm *CCMApi) DeleteSecurity(doc string) (string, error)
- func (ccm *CCMApi) DeleteSecurityByParam(connectionName string, name string, force string) (string, error)
- func (ccm *CCMApi) DeleteVPC(doc string) (string, error)
- func (ccm *CCMApi) DeleteVPCByParam(connectionName string, name string, force string) (string, error)
- func (ccm *CCMApi) GetImage(doc string) (string, error)
- func (ccm *CCMApi) GetImageByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetInType() (string, error)
- func (ccm *CCMApi) GetJWTToken() (string, error)
- func (ccm *CCMApi) GetKey(doc string) (string, error)
- func (ccm *CCMApi) GetKeyByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetOrgVMSpec(doc string) (string, error)
- func (ccm *CCMApi) GetOrgVMSpecByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetOutType() (string, error)
- func (ccm *CCMApi) GetSecurity(doc string) (string, error)
- func (ccm *CCMApi) GetSecurityByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetServerAddr() (string, error)
- func (ccm *CCMApi) GetTLSCA() (string, error)
- func (ccm *CCMApi) GetTimeout() (time.Duration, error)
- func (ccm *CCMApi) GetVM(doc string) (string, error)
- func (ccm *CCMApi) GetVMByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetVMSpec(doc string) (string, error)
- func (ccm *CCMApi) GetVMSpecByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetVMStatus(doc string) (string, error)
- func (ccm *CCMApi) GetVMStatusByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) GetVPC(doc string) (string, error)
- func (ccm *CCMApi) GetVPCByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) ListAllKey(doc string) (string, error)
- func (ccm *CCMApi) ListAllKeyByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListAllSecurity(doc string) (string, error)
- func (ccm *CCMApi) ListAllSecurityByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListAllVM(doc string) (string, error)
- func (ccm *CCMApi) ListAllVMByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListAllVPC(doc string) (string, error)
- func (ccm *CCMApi) ListAllVPCByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListImage(doc string) (string, error)
- func (ccm *CCMApi) ListImageByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListImageInfo(connectionName string) ([]*cres.ImageInfo, error)
- func (ccm *CCMApi) ListKey(doc string) (string, error)
- func (ccm *CCMApi) ListKeyByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListOrgVMSpec(doc string) (string, error)
- func (ccm *CCMApi) ListOrgVMSpecByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListSecurity(doc string) (string, error)
- func (ccm *CCMApi) ListSecurityByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListVM(doc string) (string, error)
- func (ccm *CCMApi) ListVMByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListVMSpec(doc string) (string, error)
- func (ccm *CCMApi) ListVMSpecByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListVMStatus(doc string) (string, error)
- func (ccm *CCMApi) ListVMStatusByParam(connectionName string) (string, error)
- func (ccm *CCMApi) ListVPC(doc string) (string, error)
- func (ccm *CCMApi) ListVPCByParam(connectionName string) (string, error)
- func (ccm *CCMApi) Open() error
- func (ccm *CCMApi) RegisterKey(doc string) (string, error)
- func (ccm *CCMApi) RegisterKeyByParam(req *KeyRegisterReq) (string, error)
- func (ccm *CCMApi) RegisterSecurity(doc string) (string, error)
- func (ccm *CCMApi) RegisterSecurityByParam(req *SecurityRegisterReq) (string, error)
- func (ccm *CCMApi) RegisterVM(doc string) (string, error)
- func (ccm *CCMApi) RegisterVMByParam(req *VMRegisterReq) (string, error)
- func (ccm *CCMApi) RegisterVPC(doc string) (string, error)
- func (ccm *CCMApi) RegisterVPCByParam(req *VPCRegisterReq) (string, error)
- func (ccm *CCMApi) RemoveCSPSubnet(doc string) (string, error)
- func (ccm *CCMApi) RemoveCSPSubnetByParam(connectionName string, vpcName string, id string) (string, error)
- func (ccm *CCMApi) RemoveSubnet(doc string) (string, error)
- func (ccm *CCMApi) RemoveSubnetByParam(connectionName string, vpcName string, subnetName string, force string) (string, error)
- func (ccm *CCMApi) SSHRun(doc string) (string, error)
- func (ccm *CCMApi) SSHRunByParam(req *SSHRUNReq) (string, error)
- func (ccm *CCMApi) SetConfigPath(configFile string) error
- func (ccm *CCMApi) SetInType(in string) error
- func (ccm *CCMApi) SetJWTToken(token string) error
- func (ccm *CCMApi) SetOutType(out string) error
- func (ccm *CCMApi) SetServerAddr(addr string) error
- func (ccm *CCMApi) SetTLSCA(tlsCAFile string) error
- func (ccm *CCMApi) SetTimeout(timeout time.Duration) error
- func (ccm *CCMApi) StartVM(doc string) (string, error)
- func (ccm *CCMApi) StartVMByParam(req *VMReq) (string, error)
- func (ccm *CCMApi) TerminateCSPVM(doc string) (string, error)
- func (ccm *CCMApi) TerminateCSPVMByParam(connectionName string, id string) (string, error)
- func (ccm *CCMApi) TerminateVM(doc string) (string, error)
- func (ccm *CCMApi) TerminateVMByParam(connectionName string, name string, force string) (string, error)
- func (ccm *CCMApi) UnregisterKey(doc string) (string, error)
- func (ccm *CCMApi) UnregisterKeyByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) UnregisterSecurity(doc string) (string, error)
- func (ccm *CCMApi) UnregisterSecurityByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) UnregisterVM(doc string) (string, error)
- func (ccm *CCMApi) UnregisterVMByParam(connectionName string, name string) (string, error)
- func (ccm *CCMApi) UnregisterVPC(doc string) (string, error)
- func (ccm *CCMApi) UnregisterVPCByParam(connectionName string, name string) (string, error)
- type CIMApi
- func (cim *CIMApi) Close()
- func (cim *CIMApi) CreateCloudDriver(doc string) (string, error)
- func (cim *CIMApi) CreateCloudDriverByParam(req *CloudDriverReq) (string, error)
- func (cim *CIMApi) CreateConnectionConfig(doc string) (string, error)
- func (cim *CIMApi) CreateConnectionConfigByParam(req *ConnectionConfigReq) (string, error)
- func (cim *CIMApi) CreateCredential(doc string) (string, error)
- func (cim *CIMApi) CreateCredentialByParam(req *CredentialReq) (string, error)
- func (cim *CIMApi) CreateRegion(doc string) (string, error)
- func (cim *CIMApi) CreateRegionByParam(req *RegionReq) (string, error)
- func (cim *CIMApi) DeleteCloudDriver(doc string) (string, error)
- func (cim *CIMApi) DeleteCloudDriverByParam(driverName string) (string, error)
- func (cim *CIMApi) DeleteConnectionConfig(doc string) (string, error)
- func (cim *CIMApi) DeleteConnectionConfigByParam(configName string) (string, error)
- func (cim *CIMApi) DeleteCredential(doc string) (string, error)
- func (cim *CIMApi) DeleteCredentialByParam(credentialName string) (string, error)
- func (cim *CIMApi) DeleteRegion(doc string) (string, error)
- func (cim *CIMApi) DeleteRegionByParam(regionName string) (string, error)
- func (cim *CIMApi) GetCloudDriver(doc string) (string, error)
- func (cim *CIMApi) GetCloudDriverByParam(driverName string) (string, error)
- func (cim *CIMApi) GetConnectionConfig(doc string) (string, error)
- func (cim *CIMApi) GetConnectionConfigByParam(configName string) (string, error)
- func (cim *CIMApi) GetCredential(doc string) (string, error)
- func (cim *CIMApi) GetCredentialByParam(credentialName string) (string, error)
- func (cim *CIMApi) GetInType() (string, error)
- func (cim *CIMApi) GetJWTToken() (string, error)
- func (cim *CIMApi) GetOutType() (string, error)
- func (cim *CIMApi) GetRegion(doc string) (string, error)
- func (cim *CIMApi) GetRegionByParam(regionName string) (string, error)
- func (cim *CIMApi) GetServerAddr() (string, error)
- func (cim *CIMApi) GetTLSCA() (string, error)
- func (cim *CIMApi) GetTimeout() (time.Duration, error)
- func (cim *CIMApi) ListCloudDriver() (string, error)
- func (cim *CIMApi) ListCloudOS() (string, error)
- func (cim *CIMApi) ListConnectionConfig() (string, error)
- func (cim *CIMApi) ListCredential() (string, error)
- func (cim *CIMApi) ListRegion() (string, error)
- func (cim *CIMApi) Open() error
- func (cim *CIMApi) SetConfigPath(configFile string) error
- func (cim *CIMApi) SetInType(in string) error
- func (cim *CIMApi) SetJWTToken(token string) error
- func (cim *CIMApi) SetOutType(out string) error
- func (cim *CIMApi) SetServerAddr(addr string) error
- func (cim *CIMApi) SetTLSCA(tlsCAFile string) error
- func (cim *CIMApi) SetTimeout(timeout time.Duration) error
- type CloudDriverReq
- type ConnectionConfigReq
- type CredentialReq
- type ImageInfo
- type ImageReq
- type KeyInfo
- type KeyRegisterInfo
- type KeyRegisterReq
- type KeyReq
- type KeyValue
- type RegionReq
- type SSHRUNReq
- type SecurityInfo
- type SecurityRegisterInfo
- type SecurityRegisterReq
- type SecurityReq
- type SecurityRuleInfo
- type SubnetInfo
- type SubnetReq
- type VMInfo
- type VMRegisterInfo
- type VMRegisterReq
- type VMReq
- type VPCInfo
- type VPCRegisterInfo
- type VPCRegisterReq
- type VPCReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCMApi ¶
type CCMApi struct {
// contains filtered or unexported fields
}
CCMApi - CCM API 구조 정의
func NewCloudResourceHandler ¶
func NewCloudResourceHandler() (ccm *CCMApi)
NewCloudResourceHandler - CCM API 객체 생성
func (*CCMApi) AddSubnetByParam ¶ added in v0.3.1
AddSubnetByParam - Subnet 추가
func (*CCMApi) ControlVMByParam ¶
func (ccm *CCMApi) ControlVMByParam(connectionName string, name string, action string) (string, error)
ControlVMByParam - VM 제어
func (*CCMApi) CreateImage ¶
CreateImage - Image 생성
func (*CCMApi) CreateImageByParam ¶
CreateImageByParam - Image 생성
func (*CCMApi) CreateKeyByParam ¶
CreateKeyByParam - Key Pair 생성
func (*CCMApi) CreateSecurity ¶
CreateSecurity - Security 생성
func (*CCMApi) CreateSecurityByParam ¶
func (ccm *CCMApi) CreateSecurityByParam(req *SecurityReq) (string, error)
CreateSecurityByParam - Security 생성
func (*CCMApi) CreateVPCByParam ¶
CreateVPCByParam - VPC 생성
func (*CCMApi) DeleteCSPKey ¶
DeleteCSPKey - 관리 Key Pair 삭제
func (*CCMApi) DeleteCSPKeyByParam ¶
DeleteCSPKeyByParam - 관리 Key Pair 삭제
func (*CCMApi) DeleteCSPSecurity ¶
DeleteCSPSecurity - 관리 Security 삭제
func (*CCMApi) DeleteCSPSecurityByParam ¶
DeleteCSPSecurityByParam - 관리 Security 삭제
func (*CCMApi) DeleteCSPVPC ¶
DeleteCSPVPC - 관리 VPC 삭제
func (*CCMApi) DeleteCSPVPCByParam ¶
DeleteCSPVPCByParam - 관리 VPC 삭제
func (*CCMApi) DeleteImage ¶
DeleteImage - Image 삭제
func (*CCMApi) DeleteImageByParam ¶
DeleteImageByParam - Image 삭제
func (*CCMApi) DeleteKeyByParam ¶
func (ccm *CCMApi) DeleteKeyByParam(connectionName string, name string, force string) (string, error)
DeleteKeyByParam - Key Pair 삭제
func (*CCMApi) DeleteSecurity ¶
DeleteSecurity - Security 삭제
func (*CCMApi) DeleteSecurityByParam ¶
func (ccm *CCMApi) DeleteSecurityByParam(connectionName string, name string, force string) (string, error)
DeleteSecurityByParam - Security 삭제
func (*CCMApi) DeleteVPCByParam ¶
func (ccm *CCMApi) DeleteVPCByParam(connectionName string, name string, force string) (string, error)
DeleteVPCByParam - VPC 삭제
func (*CCMApi) GetImageByParam ¶
GetImageByParam - Image 조회
func (*CCMApi) GetJWTToken ¶
GetJWTToken - JWT 인증 토큰 값 조회
func (*CCMApi) GetKeyByParam ¶
GetKeyByParam - Key Pair 조회
func (*CCMApi) GetOrgVMSpec ¶
GetOrgVMSpec - 클라우드의 원래 VM Spec 조회
func (*CCMApi) GetOrgVMSpecByParam ¶
GetOrgVMSpecByParam - 클라우드의 원래 VM Spec 조회
func (*CCMApi) GetOutType ¶
GetOutType - 출력 문서 타입 값 조회
func (*CCMApi) GetSecurity ¶
GetSecurity - Security 조회
func (*CCMApi) GetSecurityByParam ¶
GetSecurityByParam - Security 조회
func (*CCMApi) GetServerAddr ¶
GetServerAddr - Spider 서버 주소 값 조회
func (*CCMApi) GetTimeout ¶
GetTimeout - Timeout 값 조회
func (*CCMApi) GetVMByParam ¶
GetVMByParam - VM 조회
func (*CCMApi) GetVMSpecByParam ¶
GetVMSpecByParam - VM Spec 조회
func (*CCMApi) GetVMStatus ¶
GetVMStatus - VM 상태 조회
func (*CCMApi) GetVMStatusByParam ¶
GetVMStatusByParam - VM 상태 조회
func (*CCMApi) GetVPCByParam ¶
GetVPCByParam - VPC 조회
func (*CCMApi) ListAllKey ¶
ListAllKey - 관리 Key Pair 목록
func (*CCMApi) ListAllKeyByParam ¶
ListAllKeyByParam - 관리 Key Pair 목록
func (*CCMApi) ListAllSecurity ¶
ListAllSecurity - 관리 Security 목록
func (*CCMApi) ListAllSecurityByParam ¶
ListAllSecurityByParam - 관리 Security 목록
func (*CCMApi) ListAllVMByParam ¶
ListAllVMByParam - 관리 VM 목록
func (*CCMApi) ListAllVPC ¶
ListAllVPC - 관리 VPC 목록
func (*CCMApi) ListAllVPCByParam ¶
ListAllVPCByParam - 관리 VPC 목록
func (*CCMApi) ListImageByParam ¶
ListImageByParam - Image 목록
func (*CCMApi) ListImageInfo ¶ added in v0.5.1
for Mini, by powerkim. 2021.11.
func (*CCMApi) ListKeyByParam ¶
ListKeyByParam - Key Pair 목록
func (*CCMApi) ListOrgVMSpec ¶
ListOrgVMSpec - 클라우드의 원래 VM Spec 목록
func (*CCMApi) ListOrgVMSpecByParam ¶
ListOrgVMSpecByParam - 클라우드의 원래 VM Spec 목록
func (*CCMApi) ListSecurity ¶
ListSecurity - Security 목록
func (*CCMApi) ListSecurityByParam ¶
ListSecurityByParam - Security 목록
func (*CCMApi) ListVMByParam ¶
ListVMByParam - VM 목록
func (*CCMApi) ListVMSpec ¶
ListVMSpec - VM Spec 목록
func (*CCMApi) ListVMSpecByParam ¶
ListVMSpecByParam - VM Spec 목록
func (*CCMApi) ListVMStatus ¶
ListVMStatus - VM 상태 목록
func (*CCMApi) ListVMStatusByParam ¶
ListVMStatusByParam - VM 상태 목록
func (*CCMApi) ListVPCByParam ¶
ListVPCByParam - VPC 목록
func (*CCMApi) RegisterKey ¶ added in v0.4.15
RegisterKey - KeyPair 등록
func (*CCMApi) RegisterKeyByParam ¶ added in v0.4.15
func (ccm *CCMApi) RegisterKeyByParam(req *KeyRegisterReq) (string, error)
RegisterKeyByParam - KeyPair 등록
func (*CCMApi) RegisterSecurity ¶ added in v0.4.15
RegisterSecurity - Security 등록
func (*CCMApi) RegisterSecurityByParam ¶ added in v0.4.15
func (ccm *CCMApi) RegisterSecurityByParam(req *SecurityRegisterReq) (string, error)
RegisterSecurityByParam - Security 등록
func (*CCMApi) RegisterVM ¶ added in v0.4.15
RegisterVM - VM 등록
func (*CCMApi) RegisterVMByParam ¶ added in v0.4.15
func (ccm *CCMApi) RegisterVMByParam(req *VMRegisterReq) (string, error)
RegisterVMByParam - VM 등록
func (*CCMApi) RegisterVPC ¶ added in v0.4.15
RegisterVPC - VPC 등록
func (*CCMApi) RegisterVPCByParam ¶ added in v0.4.15
func (ccm *CCMApi) RegisterVPCByParam(req *VPCRegisterReq) (string, error)
RegisterVPCByParam - VPC 등록
func (*CCMApi) RemoveCSPSubnet ¶ added in v0.3.1
RemoveCSPSubnet - CSP Subnet 삭제
func (*CCMApi) RemoveCSPSubnetByParam ¶ added in v0.3.1
func (ccm *CCMApi) RemoveCSPSubnetByParam(connectionName string, vpcName string, id string) (string, error)
RemoveCSPSubnetByParam - CSP Subnet 삭제
func (*CCMApi) RemoveSubnet ¶ added in v0.3.1
RemoveSubnet - Subnet 삭제
func (*CCMApi) RemoveSubnetByParam ¶ added in v0.3.1
func (ccm *CCMApi) RemoveSubnetByParam(connectionName string, vpcName string, subnetName string, force string) (string, error)
RemoveSubnetByParam - Subnet 삭제
func (*CCMApi) SSHRunByParam ¶
SSHRunByParam - SSH 실행
func (*CCMApi) SetConfigPath ¶
SetConfigPath - 환경설정 파일 설정
func (*CCMApi) SetJWTToken ¶
SetJWTToken - JWT 인증 토큰 설정
func (*CCMApi) SetOutType ¶
SetOutType - 출력 문서 타입 설정 (json/yaml)
func (*CCMApi) SetServerAddr ¶
SetServerAddr - Spider 서버 주소 설정
func (*CCMApi) SetTimeout ¶
SetTimeout - Timeout 설정
func (*CCMApi) StartVMByParam ¶
StartVMByParam - VM 시작
func (*CCMApi) TerminateCSPVM ¶
TerminateCSPVM - 관리 VM 삭제
func (*CCMApi) TerminateCSPVMByParam ¶
TerminateCSPVMByParam - 관리 VM 삭제
func (*CCMApi) TerminateVM ¶
TerminateVM - VM 삭제
func (*CCMApi) TerminateVMByParam ¶
func (ccm *CCMApi) TerminateVMByParam(connectionName string, name string, force string) (string, error)
TerminateVMByParam - VM 삭제
func (*CCMApi) UnregisterKey ¶ added in v0.4.15
UnregisterKey - KeyPair 제거
func (*CCMApi) UnregisterKeyByParam ¶ added in v0.4.15
UnregisterKeyByParam - KeyPair 제거
func (*CCMApi) UnregisterSecurity ¶ added in v0.4.15
UnregisterSecurity - Security 제거
func (*CCMApi) UnregisterSecurityByParam ¶ added in v0.4.15
UnregisterSecurityByParam - Security 제거
func (*CCMApi) UnregisterVM ¶ added in v0.4.15
UnregisterVM - VM 제거
func (*CCMApi) UnregisterVMByParam ¶ added in v0.4.15
UnregisterVMByParam - VM 제거
func (*CCMApi) UnregisterVPC ¶ added in v0.4.15
UnregisterVPC - VPC 제거
type CIMApi ¶
type CIMApi struct {
// contains filtered or unexported fields
}
CIMApi - CIM API 구조 정의
func NewCloudInfoManager ¶
func NewCloudInfoManager() (cim *CIMApi)
NewCloudInfoManager - CIM API 객체 생성
func (*CIMApi) CreateCloudDriver ¶
CreateCloudDriver - Cloud Driver 생성
func (*CIMApi) CreateCloudDriverByParam ¶
func (cim *CIMApi) CreateCloudDriverByParam(req *CloudDriverReq) (string, error)
CreateCloudDriverByParam - Cloud Driver 생성
func (*CIMApi) CreateConnectionConfig ¶
CreateConnectionConfig - Connection Config 생성
func (*CIMApi) CreateConnectionConfigByParam ¶
func (cim *CIMApi) CreateConnectionConfigByParam(req *ConnectionConfigReq) (string, error)
CreateConnectionConfigByParam - Connection Config 생성
func (*CIMApi) CreateCredential ¶
CreateCredential - Credential 생성
func (*CIMApi) CreateCredentialByParam ¶
func (cim *CIMApi) CreateCredentialByParam(req *CredentialReq) (string, error)
CreateCredentialByParam - Credential 생성
func (*CIMApi) CreateRegion ¶
CreateRegion - Region 생성
func (*CIMApi) CreateRegionByParam ¶
CreateRegionByParam - Region 생성
func (*CIMApi) DeleteCloudDriver ¶
DeleteCloudDriver - Cloud Driver 삭제
func (*CIMApi) DeleteCloudDriverByParam ¶
DeleteCloudDriverByParam - Cloud Driver 삭제
func (*CIMApi) DeleteConnectionConfig ¶
DeleteConnectionConfig - Connection Config 삭제
func (*CIMApi) DeleteConnectionConfigByParam ¶
DeleteConnectionConfigByParam - Connection Config 삭제
func (*CIMApi) DeleteCredential ¶
DeleteCredential - Credential 삭제
func (*CIMApi) DeleteCredentialByParam ¶
DeleteCredentialByParam - Credential 삭제
func (*CIMApi) DeleteRegion ¶
DeleteRegion - Region 삭제
func (*CIMApi) DeleteRegionByParam ¶
DeleteRegionByParam - Region 삭제
func (*CIMApi) GetCloudDriver ¶
GetCloudDriver - Cloud Driver 조회
func (*CIMApi) GetCloudDriverByParam ¶
GetCloudDriverByParam - Cloud Driver 조회
func (*CIMApi) GetConnectionConfig ¶
GetConnectionConfig - Connection Config 조회
func (*CIMApi) GetConnectionConfigByParam ¶
GetConnectionConfigByParam - Connection Config 조회
func (*CIMApi) GetCredential ¶
GetCredential - Credential 조회
func (*CIMApi) GetCredentialByParam ¶
GetCredentialByParam - Credential 조회
func (*CIMApi) GetJWTToken ¶
GetJWTToken - JWT 인증 토큰 값 조회
func (*CIMApi) GetOutType ¶
GetOutType - 출력 문서 타입 값 조회
func (*CIMApi) GetRegionByParam ¶
GetRegionByParam - Region 조회
func (*CIMApi) GetServerAddr ¶
GetServerAddr - Spider 서버 주소 값 조회
func (*CIMApi) GetTimeout ¶
GetTimeout - Timeout 값 조회
func (*CIMApi) ListCloudDriver ¶
ListCloudDriver -Cloud Driver 목록
func (*CIMApi) ListCloudOS ¶
ListCloudOS -Cloud OS 목록
func (*CIMApi) ListConnectionConfig ¶
ListConnectionConfig - Connection Config 목록
func (*CIMApi) ListCredential ¶
ListCredential -Credential 목록
func (*CIMApi) SetConfigPath ¶
SetConfigPath - 환경설정 파일 설정
func (*CIMApi) SetJWTToken ¶
SetJWTToken - JWT 인증 토큰 설정
func (*CIMApi) SetOutType ¶
SetOutType - 출력 문서 타입 설정 (json/yaml)
func (*CIMApi) SetServerAddr ¶
SetServerAddr - Spider 서버 주소 설정
type CloudDriverReq ¶
type CloudDriverReq struct { DriverName string `yaml:"DriverName" json:"DriverName"` ProviderName string `yaml:"ProviderName" json:"ProviderName"` DriverLibFileName string `yaml:"DriverLibFileName" json:"DriverLibFileName"` }
CloudDriverReq - Cloud Driver 정보 생성 요청 구조 정의
type ConnectionConfigReq ¶
type ConnectionConfigReq struct { ConfigName string `yaml:"ConfigName" json:"ConfigName"` ProviderName string `yaml:"ProviderName" json:"ProviderName"` DriverName string `yaml:"DriverName" json:"DriverName"` CredentialName string `yaml:"CredentialName" json:"CredentialName"` RegionName string `yaml:"RegionName" json:"RegionName"` }
ConnectionConfigReq - Connection Config 정보 생성 요청 구조 정의
type CredentialReq ¶
type CredentialReq struct { CredentialName string `yaml:"CredentialName" json:"CredentialName"` ProviderName string `yaml:"ProviderName" json:"ProviderName"` KeyValueInfoList []KeyValue `yaml:"KeyValueInfoList" json:"KeyValueInfoList"` }
CredentialReq - Credential 정보 생성 요청 구조 정의
type ImageInfo ¶
type ImageInfo struct {
Name string `yaml:"Name" json:"Name"`
}
ImageInfo - Image 정보 구조 정의
type ImageReq ¶
type ImageReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo ImageInfo `yaml:"ReqInfo" json:"ReqInfo"` }
ImageReq - Image 정보 생성 요청 구조 정의
type KeyRegisterInfo ¶ added in v0.4.15
type KeyRegisterInfo struct { Name string `yaml:"Name" json:"Name"` CSPId string `yaml:"CSPId" json:"CSPId"` }
KeyRegisterInfo - Key Register 정보 구조 정의
type KeyRegisterReq ¶ added in v0.4.15
type KeyRegisterReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo KeyRegisterInfo `yaml:"ReqInfo" json:"ReqInfo"` }
KeyRegisterReq - Key Register 정보 생성 요청 구조 정의
type KeyReq ¶
type KeyReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo KeyInfo `yaml:"ReqInfo" json:"ReqInfo"` }
KeyReq - Key Pair 정보 생성 요청 구조 정의
type KeyValue ¶
type KeyValue struct { Key string `yaml:"Key" json:"Key"` Value string `yaml:"Value" json:"Value"` }
KeyValue - Key / Value 구조 정의
type RegionReq ¶
type RegionReq struct { RegionName string `yaml:"RegionName" json:"RegionName"` ProviderName string `yaml:"ProviderName" json:"ProviderName"` KeyValueInfoList []KeyValue `yaml:"KeyValueInfoList" json:"KeyValueInfoList"` }
RegionReq - Region 정보 생성 요청 구조 정의
type SSHRUNReq ¶
type SSHRUNReq struct { UserName string `yaml:"UserName" json:"UserName"` PrivateKey []string `yaml:"PrivateKey" json:"PrivateKey"` ServerPort string `yaml:"ServerPort" json:"ServerPort"` Command string `yaml:"Command" json:"Command"` }
SSHRUNReq - SSH 실행 요청 구조 정의
type SecurityInfo ¶
type SecurityInfo struct { Name string `yaml:"Name" json:"Name"` VPCName string `yaml:"VPCName" json:"VPCName"` Direction string `yaml:"Direction" json:"Direction"` SecurityRules *[]SecurityRuleInfo `yaml:"SecurityRules" json:"SecurityRules"` }
SecurityInfo - Security 정보 구조 정의
type SecurityRegisterInfo ¶ added in v0.4.15
type SecurityRegisterInfo struct { VPCName string `yaml:"VPCName" json:"VPCName"` Name string `yaml:"Name" json:"Name"` CSPId string `yaml:"CSPId" json:"CSPId"` }
SecurityRegisterInfo - Security Register 정보 구조 정의
type SecurityRegisterReq ¶ added in v0.4.15
type SecurityRegisterReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo SecurityRegisterInfo `yaml:"ReqInfo" json:"ReqInfo"` }
SecurityRegisterReq - Security Register 정보 생성 요청 구조 정의
type SecurityReq ¶
type SecurityReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo SecurityInfo `yaml:"ReqInfo" json:"ReqInfo"` }
SecurityReq - Security 정보 생성 요청 구조 정의
type SecurityRuleInfo ¶
type SecurityRuleInfo struct { FromPort string `yaml:"FromPort" json:"FromPort"` ToPort string `yaml:"ToPort" json:"ToPort"` IPProtocol string `yaml:"IPProtocol" json:"IPProtocol"` Direction string `yaml:"Direction" json:"Direction"` CIDR string `yaml:"CIDR" json:"CIDR"` }
SecurityRuleInfo - Security Rule 정보 구조 정의
type SubnetInfo ¶
type SubnetInfo struct { Name string `yaml:"Name" json:"Name"` IPv4_CIDR string `yaml:"IPv4_CIDR" json:"IPv4_CIDR"` }
SubnetInfo - Subnet 정보 구조 정의
type SubnetReq ¶ added in v0.3.1
type SubnetReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` VPCName string `yaml:"VPCName" json:"VPCName"` ReqInfo SubnetInfo `yaml:"ReqInfo" json:"ReqInfo"` }
type VMInfo ¶
type VMInfo struct { Name string `yaml:"Name" json:"Name"` ImageName string `yaml:"ImageName" json:"ImageName"` VPCName string `yaml:"VPCName" json:"VPCName"` SubnetName string `yaml:"SubnetName" json:"SubnetName"` SecurityGroupNames []string `yaml:"SecurityGroupNames" json:"SecurityGroupNames"` VMSpecName string `yaml:"VMSpecName" json:"VMSpecName"` KeyPairName string `yaml:"KeyPairName" json:"KeyPairName"` RootDiskType string `yaml:"RootDiskType" json:"RootDiskType"` RootDiskSize string `yaml:"RootDiskSize" json:"RootDiskSize"` VMUserId string `yaml:"VMUserId" json:"VMUserId"` VMUserPasswd string `yaml:"VMUserPasswd" json:"VMUserPasswd"` }
VMInfo - VM 정보 구조 정의
type VMRegisterInfo ¶ added in v0.4.15
type VMRegisterInfo struct { Name string `yaml:"Name" json:"Name"` CSPId string `yaml:"CSPId" json:"CSPId"` }
VMRegisterInfo - VM Register 정보 구조 정의
type VMRegisterReq ¶ added in v0.4.15
type VMRegisterReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo VMRegisterInfo `yaml:"ReqInfo" json:"ReqInfo"` }
VMRegisterReq - VM Register 정보 생성 요청 구조 정의
type VMReq ¶
type VMReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo VMInfo `yaml:"ReqInfo" json:"ReqInfo"` }
VMReq - VM 정보 생성 요청 구조 정의
type VPCInfo ¶
type VPCInfo struct { Name string `yaml:"Name" json:"Name"` IPv4_CIDR string `yaml:"IPv4_CIDR" json:"IPv4_CIDR"` SubnetInfoList *[]SubnetInfo `yaml:"SubnetInfoList" json:"SubnetInfoList"` }
VPCInfo - VPC 정보 구조 정의
type VPCRegisterInfo ¶ added in v0.4.15
type VPCRegisterInfo struct { Name string `yaml:"Name" json:"Name"` CSPId string `yaml:"CSPId" json:"CSPId"` }
VPCRegisterInfo - VPC Register 정보 구조 정의
type VPCRegisterReq ¶ added in v0.4.15
type VPCRegisterReq struct { ConnectionName string `yaml:"ConnectionName" json:"ConnectionName"` ReqInfo VPCRegisterInfo `yaml:"ReqInfo" json:"ReqInfo"` }
VPCRegisterReq - VPC Register 정보 생성 요청 구조 정의