Documentation
¶
Index ¶
- type IID
- type KeyValue
- type MCIRApi
- func (m *MCIRApi) CheckResource(doc string) (string, error)
- func (m *MCIRApi) CheckResourceByParam(nameSpaceID string, resourceID string, resourceType string) (string, error)
- func (m *MCIRApi) Close()
- func (m *MCIRApi) CreateImageWithID(doc string) (string, error)
- func (m *MCIRApi) CreateImageWithIDByParam(req *TbImageCreateRequest) (string, error)
- func (m *MCIRApi) CreateImageWithInfo(doc string) (string, error)
- func (m *MCIRApi) CreateImageWithInfoByParam(req *TbImageInfoRequest) (string, error)
- func (m *MCIRApi) CreateSecurityGroup(doc string) (string, error)
- func (m *MCIRApi) CreateSecurityGroupByParam(req *TbSecurityGroupCreateRequest) (string, error)
- func (m *MCIRApi) CreateSpecWithInfo(doc string) (string, error)
- func (m *MCIRApi) CreateSpecWithInfoByParam(req *TbSpecInfoRequest) (string, error)
- func (m *MCIRApi) CreateSpecWithSpecName(doc string) (string, error)
- func (m *MCIRApi) CreateSpecWithSpecNameByParam(req *TbSpecCreateRequest) (string, error)
- func (m *MCIRApi) CreateSshKey(doc string) (string, error)
- func (m *MCIRApi) CreateSshKeyByParam(req *TbSshKeyCreateRequest) (string, error)
- func (m *MCIRApi) CreateVNet(doc string) (string, error)
- func (m *MCIRApi) CreateVNetByParam(req *TbVNetCreateRequest) (string, error)
- func (m *MCIRApi) DeleteAllImage(doc string) (string, error)
- func (m *MCIRApi) DeleteAllImageByParam(nameSpaceID string, force string) (string, error)
- func (m *MCIRApi) DeleteAllSecurityGroup(doc string) (string, error)
- func (m *MCIRApi) DeleteAllSecurityGroupByParam(nameSpaceID string, force string) (string, error)
- func (m *MCIRApi) DeleteAllSpec(doc string) (string, error)
- func (m *MCIRApi) DeleteAllSpecByParam(nameSpaceID string, force string) (string, error)
- func (m *MCIRApi) DeleteAllSshKey(doc string) (string, error)
- func (m *MCIRApi) DeleteAllSshKeyByParam(nameSpaceID string, force string) (string, error)
- func (m *MCIRApi) DeleteAllVNet(doc string) (string, error)
- func (m *MCIRApi) DeleteAllVNetByParam(nameSpaceID string, force string) (string, error)
- func (m *MCIRApi) DeleteImage(doc string) (string, error)
- func (m *MCIRApi) DeleteImageByParam(nameSpaceID string, resourceID string, force string) (string, error)
- func (m *MCIRApi) DeleteSecurityGroup(doc string) (string, error)
- func (m *MCIRApi) DeleteSecurityGroupByParam(nameSpaceID string, resourceID string, force string) (string, error)
- func (m *MCIRApi) DeleteSpec(doc string) (string, error)
- func (m *MCIRApi) DeleteSpecByParam(nameSpaceID string, resourceID string, force string) (string, error)
- func (m *MCIRApi) DeleteSshKey(doc string) (string, error)
- func (m *MCIRApi) DeleteSshKeyByParam(nameSpaceID string, resourceID string, force string) (string, error)
- func (m *MCIRApi) DeleteVNet(doc string) (string, error)
- func (m *MCIRApi) DeleteVNetByParam(nameSpaceID string, resourceID string, force string) (string, error)
- func (m *MCIRApi) FetchImage(doc string) (string, error)
- func (m *MCIRApi) FetchImageByParam(connConfigName string, nameSpaceID string) (string, error)
- func (m *MCIRApi) FetchSpec(doc string) (string, error)
- func (m *MCIRApi) FetchSpecByParam(connConfigName string, nameSpaceID string) (string, error)
- func (m *MCIRApi) FilterSpec(doc string) (string, error)
- func (m *MCIRApi) FilterSpecsByRange(doc string) (string, error)
- func (m *MCIRApi) GetImage(doc string) (string, error)
- func (m *MCIRApi) GetImageByParam(nameSpaceID string, resourceID string) (string, error)
- func (m *MCIRApi) GetInType() (string, error)
- func (m *MCIRApi) GetJWTToken() (string, error)
- func (m *MCIRApi) GetLookupImage(doc string) (string, error)
- func (m *MCIRApi) GetLookupImageByParam(connConfigName string, cspImageId string) (string, error)
- func (m *MCIRApi) GetLookupSpec(doc string) (string, error)
- func (m *MCIRApi) GetLookupSpecByParam(connConfigName string, cspSpecName string) (string, error)
- func (m *MCIRApi) GetOutType() (string, error)
- func (m *MCIRApi) GetSecurityGroup(doc string) (string, error)
- func (m *MCIRApi) GetSecurityGroupByParam(nameSpaceID string, resourceID string) (string, error)
- func (m *MCIRApi) GetServerAddr() (string, error)
- func (m *MCIRApi) GetSpec(doc string) (string, error)
- func (m *MCIRApi) GetSpecByParam(nameSpaceID string, resourceID string) (string, error)
- func (m *MCIRApi) GetSshKey(doc string) (string, error)
- func (m *MCIRApi) GetSshKeyByParam(nameSpaceID string, resourceID string) (string, error)
- func (m *MCIRApi) GetTLSCA() (string, error)
- func (m *MCIRApi) GetTimeout() (time.Duration, error)
- func (m *MCIRApi) GetVNet(doc string) (string, error)
- func (m *MCIRApi) GetVNetByParam(nameSpaceID string, resourceID string) (string, error)
- func (m *MCIRApi) ListImage(doc string) (string, error)
- func (m *MCIRApi) ListImageByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListImageId(doc string) (string, error)
- func (m *MCIRApi) ListImageIdByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListLookupImage(doc string) (string, error)
- func (m *MCIRApi) ListLookupImageByParam(connConfigName string) (string, error)
- func (m *MCIRApi) ListLookupSpec(doc string) (string, error)
- func (m *MCIRApi) ListLookupSpecByParam(connConfigName string) (string, error)
- func (m *MCIRApi) ListSecurityGroup(doc string) (string, error)
- func (m *MCIRApi) ListSecurityGroupByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListSecurityGroupId(doc string) (string, error)
- func (m *MCIRApi) ListSecurityGroupIdByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListSpec(doc string) (string, error)
- func (m *MCIRApi) ListSpecByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListSpecId(doc string) (string, error)
- func (m *MCIRApi) ListSpecIdByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListSshKey(doc string) (string, error)
- func (m *MCIRApi) ListSshKeyByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListSshKeyId(doc string) (string, error)
- func (m *MCIRApi) ListSshKeyIdByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListVNet(doc string) (string, error)
- func (m *MCIRApi) ListVNetByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) ListVNetId(doc string) (string, error)
- func (m *MCIRApi) ListVNetIdByParam(nameSpaceID string) (string, error)
- func (m *MCIRApi) LoadCommonResource() (string, error)
- func (m *MCIRApi) LoadDefaultResource(doc string) (string, error)
- func (m *MCIRApi) LoadDefaultResourceByParam(nameSpaceID string, resourceType string, connectionName string) (string, error)
- func (m *MCIRApi) Open() error
- func (m *MCIRApi) SearchImage(doc string) (string, error)
- func (m *MCIRApi) SearchImageByParam(req *SearchImageQryRequest) (string, error)
- func (m *MCIRApi) SetConfigPath(configFile string) error
- func (m *MCIRApi) SetInType(in string) error
- func (m *MCIRApi) SetJWTToken(token string) error
- func (m *MCIRApi) SetOutType(out string) error
- func (m *MCIRApi) SetServerAddr(addr string) error
- func (m *MCIRApi) SetTLSCA(tlsCAFile string) error
- func (m *MCIRApi) SetTimeout(timeout time.Duration) error
- func (m *MCIRApi) SortSpecs(doc string) (string, error)
- func (m *MCIRApi) UpdateImage(doc string) (string, error)
- func (m *MCIRApi) UpdateSpec(doc string) (string, error)
- type MCISApi
- func (m *MCISApi) CheckMcis(doc string) (string, error)
- func (m *MCISApi) CheckMcisByParam(nameSpaceID string, mcisID string) (string, error)
- func (m *MCISApi) CheckVm(doc string) (string, error)
- func (m *MCISApi) CheckVmByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
- func (m *MCISApi) Close()
- func (m *MCISApi) CmdMcis(doc string) (string, error)
- func (m *MCISApi) CmdMcisByParam(req *McisCmdCreateRequest) (string, error)
- func (m *MCISApi) CmdMcisVm(doc string) (string, error)
- func (m *MCISApi) CmdMcisVmByParam(req *McisCmdVmCreateRequest) (string, error)
- func (m *MCISApi) ControlMcis(doc string) (string, error)
- func (m *MCISApi) ControlMcisByParam(nameSpaceID string, mcisID string, action string) (string, error)
- func (m *MCISApi) ControlMcisVM(doc string) (string, error)
- func (m *MCISApi) ControlMcisVMByParam(nameSpaceID string, mcisID string, vmID string, action string) (string, error)
- func (m *MCISApi) CreateMcis(doc string) (string, error)
- func (m *MCISApi) CreateMcisByParam(req *TbMcisCreateRequest) (string, error)
- func (m *MCISApi) CreateMcisPolicy(doc string) (string, error)
- func (m *MCISApi) CreateMcisPolicyByParam(req *McisPolicyCreateRequest) (string, error)
- func (m *MCISApi) CreateMcisVM(doc string) (string, error)
- func (m *MCISApi) CreateMcisVMByParam(req *TbVmCreateRequest) (string, error)
- func (m *MCISApi) CreateMcisVMGroup(doc string) (string, error)
- func (m *MCISApi) CreateMcisVMGroupByParam(req *TbVmGroupCreateRequest) (string, error)
- func (m *MCISApi) DeleteAllMcis(doc string) (string, error)
- func (m *MCISApi) DeleteAllMcisByParam(nameSpaceID string) (string, error)
- func (m *MCISApi) DeleteAllMcisPolicy(doc string) (string, error)
- func (m *MCISApi) DeleteAllMcisPolicyByParam(nameSpaceID string) (string, error)
- func (m *MCISApi) DeleteMcis(doc string) (string, error)
- func (m *MCISApi) DeleteMcisByParam(nameSpaceID string, mcisID string, option string) (string, error)
- func (m *MCISApi) DeleteMcisPolicy(doc string) (string, error)
- func (m *MCISApi) DeleteMcisPolicyByParam(nameSpaceID string, mcisID string) (string, error)
- func (m *MCISApi) DeleteMcisVM(doc string) (string, error)
- func (m *MCISApi) DeleteMcisVMByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
- func (m *MCISApi) GetAllBenchmark(doc string) (string, error)
- func (m *MCISApi) GetAllBenchmarkByParam(nameSpaceID string, mcisID string, host string) (string, error)
- func (m *MCISApi) GetBenchmark(doc string) (string, error)
- func (m *MCISApi) GetBenchmarkByParam(nameSpaceID string, mcisID string, action string, host string) (string, error)
- func (m *MCISApi) GetInType() (string, error)
- func (m *MCISApi) GetJWTToken() (string, error)
- func (m *MCISApi) GetMcisInfo(doc string) (string, error)
- func (m *MCISApi) GetMcisInfoByParam(nameSpaceID string, mcisID string) (string, error)
- func (m *MCISApi) GetMcisPolicy(doc string) (string, error)
- func (m *MCISApi) GetMcisPolicyByParam(nameSpaceID string, mcisID string) (string, error)
- func (m *MCISApi) GetMcisStatus(doc string) (string, error)
- func (m *MCISApi) GetMcisStatusByParam(nameSpaceID string, mcisID string) (string, error)
- func (m *MCISApi) GetMcisVMInfo(doc string) (string, error)
- func (m *MCISApi) GetMcisVMInfoByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
- func (m *MCISApi) GetMcisVMStatus(doc string) (string, error)
- func (m *MCISApi) GetMcisVMStatusByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
- func (m *MCISApi) GetMonitorData(doc string) (string, error)
- func (m *MCISApi) GetMonitorDataByParam(nameSpaceID string, mcisID string, metric string) (string, error)
- func (m *MCISApi) GetOutType() (string, error)
- func (m *MCISApi) GetServerAddr() (string, error)
- func (m *MCISApi) GetTLSCA() (string, error)
- func (m *MCISApi) GetTimeout() (time.Duration, error)
- func (m *MCISApi) InstallBenchmarkAgentToMcis(doc string) (string, error)
- func (m *MCISApi) InstallBenchmarkAgentToMcisByParam(req *McisCmdCreateRequest) (string, error)
- func (m *MCISApi) InstallMonitorAgentToMcis(doc string) (string, error)
- func (m *MCISApi) InstallMonitorAgentToMcisByParam(req *McisCmdCreateRequest) (string, error)
- func (m *MCISApi) ListMcis(doc string) (string, error)
- func (m *MCISApi) ListMcisByParam(nameSpaceID string) (string, error)
- func (m *MCISApi) ListMcisId(doc string) (string, error)
- func (m *MCISApi) ListMcisIdByParam(nameSpaceID string) (string, error)
- func (m *MCISApi) ListMcisPolicy(doc string) (string, error)
- func (m *MCISApi) ListMcisPolicyByParam(nameSpaceID string) (string, error)
- func (m *MCISApi) ListMcisStatus(doc string) (string, error)
- func (m *MCISApi) ListMcisStatusByParam(nameSpaceID string) (string, error)
- func (m *MCISApi) ListMcisVmId(doc string) (string, error)
- func (m *MCISApi) ListMcisVmIdByParam(nameSpaceID string, mcisID string) (string, error)
- func (m *MCISApi) Open() error
- func (m *MCISApi) RecommendMcis(doc string) (string, error)
- func (m *MCISApi) RecommendMcisByParam(req *McisRecommendCreateRequest) (string, error)
- func (m *MCISApi) RecommendVM(doc string) (string, error)
- func (m *MCISApi) RecommendVMByParam(req *McisRecommendVmCreateRequest) (string, error)
- func (m *MCISApi) SetConfigPath(configFile string) error
- func (m *MCISApi) SetInType(in string) error
- func (m *MCISApi) SetJWTToken(token string) error
- func (m *MCISApi) SetOutType(out string) error
- func (m *MCISApi) SetServerAddr(addr string) error
- func (m *MCISApi) SetTLSCA(tlsCAFile string) error
- func (m *MCISApi) SetTimeout(timeout time.Duration) error
- type McisCmdCreateRequest
- type McisCmdVmCreateRequest
- type McisPolicyCreateRequest
- type McisRecommendCreateRequest
- type McisRecommendVmCreateRequest
- type NSApi
- func (ns *NSApi) CheckNS(doc string) (string, error)
- func (ns *NSApi) CheckNSByParam(nameSpaceID string) (string, error)
- func (ns *NSApi) Close()
- func (ns *NSApi) CreateNS(doc string) (string, error)
- func (ns *NSApi) CreateNSByParam(req *core_common.NsReq) (string, error)
- func (ns *NSApi) DeleteAllNS() (string, error)
- func (ns *NSApi) DeleteNS(doc string) (string, error)
- func (ns *NSApi) DeleteNSByParam(nameSpaceID string) (string, error)
- func (ns *NSApi) GetInType() (string, error)
- func (ns *NSApi) GetJWTToken() (string, error)
- func (ns *NSApi) GetNS(doc string) (string, error)
- func (ns *NSApi) GetNSByParam(nameSpaceID string) (string, error)
- func (ns *NSApi) GetOutType() (string, error)
- func (ns *NSApi) GetServerAddr() (string, error)
- func (ns *NSApi) GetTLSCA() (string, error)
- func (ns *NSApi) GetTimeout() (time.Duration, error)
- func (ns *NSApi) ListNS() (string, error)
- func (ns *NSApi) ListNSId() (string, error)
- func (ns *NSApi) Open() error
- func (ns *NSApi) SetConfigPath(configFile string) error
- func (ns *NSApi) SetInType(in string) error
- func (ns *NSApi) SetJWTToken(token string) error
- func (ns *NSApi) SetOutType(out string) error
- func (ns *NSApi) SetServerAddr(addr string) error
- func (ns *NSApi) SetTLSCA(tlsCAFile string) error
- func (ns *NSApi) SetTimeout(timeout time.Duration) error
- type SearchImageQryRequest
- type TbImageCreateRequest
- type TbImageInfoRequest
- type TbMcisCreateRequest
- type TbSecurityGroupCreateRequest
- type TbSpecCreateRequest
- type TbSpecInfoRequest
- type TbSshKeyCreateRequest
- type TbVNetCreateRequest
- type TbVmCreateRequest
- type TbVmGroupCreateRequest
- type TbVmInfo
- type UtilityApi
- func (u *UtilityApi) Close()
- func (u *UtilityApi) CreateConfig(doc string) (string, error)
- func (u *UtilityApi) CreateConfigByParam(req *core_common.ConfigReq) (string, error)
- func (u *UtilityApi) DeleteAllObject(doc string) (string, error)
- func (u *UtilityApi) DeleteAllObjectByParam(key string) (string, error)
- func (u *UtilityApi) DeleteObject(doc string) (string, error)
- func (u *UtilityApi) DeleteObjectByParam(key string) (string, error)
- func (u *UtilityApi) GetConfig(doc string) (string, error)
- func (u *UtilityApi) GetConfigByParam(configId string) (string, error)
- func (u *UtilityApi) GetConnConfig(doc string) (string, error)
- func (u *UtilityApi) GetConnConfigByParam(connConfigName string) (string, error)
- func (u *UtilityApi) GetInType() (string, error)
- func (u *UtilityApi) GetJWTToken() (string, error)
- func (u *UtilityApi) GetObject(doc string) (string, error)
- func (u *UtilityApi) GetObjectByParam(key string) (string, error)
- func (u *UtilityApi) GetOutType() (string, error)
- func (u *UtilityApi) GetRegion(doc string) (string, error)
- func (u *UtilityApi) GetRegionByParam(regionName string) (string, error)
- func (u *UtilityApi) GetServerAddr() (string, error)
- func (u *UtilityApi) GetTLSCA() (string, error)
- func (u *UtilityApi) GetTimeout() (time.Duration, error)
- func (u *UtilityApi) InitAllConfig() (string, error)
- func (u *UtilityApi) InitConfig(doc string) (string, error)
- func (u *UtilityApi) InitConfigByParam(configId string) (string, error)
- func (u *UtilityApi) InspectMcirResources(doc string) (string, error)
- func (u *UtilityApi) InspectMcirResourcesByParam(connectionName string, mcirType string) (string, error)
- func (u *UtilityApi) InspectVmResources(doc string) (string, error)
- func (u *UtilityApi) InspectVmResourcesByParam(connectionName string) (string, error)
- func (u *UtilityApi) ListConfig() (string, error)
- func (u *UtilityApi) ListConnConfig() (string, error)
- func (u *UtilityApi) ListObject(doc string) (string, error)
- func (u *UtilityApi) ListObjectByParam(key string) (string, error)
- func (u *UtilityApi) ListRegion() (string, error)
- func (u *UtilityApi) Open() error
- func (u *UtilityApi) SetConfigPath(configFile string) error
- func (u *UtilityApi) SetInType(in string) error
- func (u *UtilityApi) SetJWTToken(token string) error
- func (u *UtilityApi) SetOutType(out string) error
- func (u *UtilityApi) SetServerAddr(addr string) error
- func (u *UtilityApi) SetTLSCA(tlsCAFile string) error
- func (u *UtilityApi) SetTimeout(timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IID ¶
type IID struct { NameId string `yaml:"NameId" json:"NameId"` SystemId string `yaml:"SystemId" json:"SystemId"` }
IID is for Defined by & used for CB-Spider
type KeyValue ¶
type KeyValue struct { Key string `yaml:"Key" json:"Key"` Value string `yaml:"Value" json:"Value"` }
KeyValue is ...
type MCIRApi ¶
type MCIRApi struct {
// contains filtered or unexported fields
}
MCIRApi is ...
func NewMCIRManager ¶
func NewMCIRManager() (m *MCIRApi)
NewMCIRManager is to Create new MCIR API object
func (*MCIRApi) CheckResource ¶
CheckResource is to Check whether Resource exists or not
func (*MCIRApi) CheckResourceByParam ¶
func (m *MCIRApi) CheckResourceByParam(nameSpaceID string, resourceID string, resourceType string) (string, error)
CheckResourceByParam is to Check whether Resource exists or not
func (*MCIRApi) CreateImageWithID ¶
CreateImageWithID is to create image with ID
func (*MCIRApi) CreateImageWithIDByParam ¶
func (m *MCIRApi) CreateImageWithIDByParam(req *TbImageCreateRequest) (string, error)
CreateImageWithIDByParam is to create image with ID by parameters
func (*MCIRApi) CreateImageWithInfo ¶
CreateImageWithInfo is to create image with information
func (*MCIRApi) CreateImageWithInfoByParam ¶
func (m *MCIRApi) CreateImageWithInfoByParam(req *TbImageInfoRequest) (string, error)
CreateImageWithInfoByParam is to create image by parameters
func (*MCIRApi) CreateSecurityGroup ¶
CreateSecurityGroup is to create securityGroup
func (*MCIRApi) CreateSecurityGroupByParam ¶
func (m *MCIRApi) CreateSecurityGroupByParam(req *TbSecurityGroupCreateRequest) (string, error)
CreateSecurityGroupByParam is to create securityGroup by parameters
func (*MCIRApi) CreateSpecWithInfo ¶
CreateSpecWithInfo is to create spec with information
func (*MCIRApi) CreateSpecWithInfoByParam ¶
func (m *MCIRApi) CreateSpecWithInfoByParam(req *TbSpecInfoRequest) (string, error)
CreateSpecWithInfoByParam is to create spec with information by parameters
func (*MCIRApi) CreateSpecWithSpecName ¶
CreateSpecWithSpecName is to create spec with name
func (*MCIRApi) CreateSpecWithSpecNameByParam ¶
func (m *MCIRApi) CreateSpecWithSpecNameByParam(req *TbSpecCreateRequest) (string, error)
CreateSpecWithSpecNameByParam is to create spec with name by parameters
func (*MCIRApi) CreateSshKey ¶
CreateSshKey is to create sshKey
func (*MCIRApi) CreateSshKeyByParam ¶
func (m *MCIRApi) CreateSshKeyByParam(req *TbSshKeyCreateRequest) (string, error)
CreateSshKeyByParam is to create sshKey by parameters
func (*MCIRApi) CreateVNet ¶
CreateVNet is to create vNet
func (*MCIRApi) CreateVNetByParam ¶
func (m *MCIRApi) CreateVNetByParam(req *TbVNetCreateRequest) (string, error)
CreateVNetByParam is to create vNet by parameters
func (*MCIRApi) DeleteAllImage ¶
DeleteAllImage is to delete all images
func (*MCIRApi) DeleteAllImageByParam ¶
DeleteAllImageByParam is to delete all images by parameters
func (*MCIRApi) DeleteAllSecurityGroup ¶
DeleteAllSecurityGroup is to delete all securityGroups
func (*MCIRApi) DeleteAllSecurityGroupByParam ¶
DeleteAllSecurityGroupByParam is to delete all securityGroups by parameters
func (*MCIRApi) DeleteAllSpec ¶
DeleteAllSpec is to delete all specs
func (*MCIRApi) DeleteAllSpecByParam ¶
DeleteAllSpecByParam is to delete specs by parameters
func (*MCIRApi) DeleteAllSshKey ¶
DeleteAllSshKey is to delete all sshKeys
func (*MCIRApi) DeleteAllSshKeyByParam ¶
DeleteAllSshKeyByParam is to delete all sshKeys by parameters
func (*MCIRApi) DeleteAllVNet ¶
DeleteAllVNet is to delete all vNets
func (*MCIRApi) DeleteAllVNetByParam ¶
DeleteAllVNetByParam is to delete vNets by parameters
func (*MCIRApi) DeleteImage ¶
DeleteImage is to delete image
func (*MCIRApi) DeleteImageByParam ¶
func (m *MCIRApi) DeleteImageByParam(nameSpaceID string, resourceID string, force string) (string, error)
DeleteImageByParam is to Delete Image By Param
func (*MCIRApi) DeleteSecurityGroup ¶
DeleteSecurityGroup is to delete securityGroup
func (*MCIRApi) DeleteSecurityGroupByParam ¶
func (m *MCIRApi) DeleteSecurityGroupByParam(nameSpaceID string, resourceID string, force string) (string, error)
DeleteSecurityGroupByParam is to delete securityGroup by parameters
func (*MCIRApi) DeleteSpec ¶
DeleteSpec is to delete spec
func (*MCIRApi) DeleteSpecByParam ¶
func (m *MCIRApi) DeleteSpecByParam(nameSpaceID string, resourceID string, force string) (string, error)
DeleteSpecByParam is to delete spec by parameters
func (*MCIRApi) DeleteSshKey ¶
DeleteSshKey is to delete sshKey
func (*MCIRApi) DeleteSshKeyByParam ¶
func (m *MCIRApi) DeleteSshKeyByParam(nameSpaceID string, resourceID string, force string) (string, error)
DeleteSshKeyByParam is to delete sshKey by parameters
func (*MCIRApi) DeleteVNet ¶
DeleteVNet is to delete vNet
func (*MCIRApi) DeleteVNetByParam ¶
func (m *MCIRApi) DeleteVNetByParam(nameSpaceID string, resourceID string, force string) (string, error)
DeleteVNetByParam is to delete vNet by parameters
func (*MCIRApi) FetchImage ¶
FetchImage is to fetch images
func (*MCIRApi) FetchImageByParam ¶
FetchImageByParam is to fetch images by parameters
func (*MCIRApi) FetchSpecByParam ¶
FetchSpecByParam is to fetch specs by parameters
func (*MCIRApi) FilterSpec ¶ added in v0.2.8
FilterSpec is to filter specs
func (*MCIRApi) FilterSpecsByRange ¶ added in v0.3.1
FilterSpecsByRange is to filter by parameters
func (*MCIRApi) GetImageByParam ¶
GetImageByParam is to get image by parameters
func (*MCIRApi) GetJWTToken ¶
GetJWTToken is to Get JWT auth token
func (*MCIRApi) GetLookupImage ¶
GetLookupImage is to LookupImage
func (*MCIRApi) GetLookupImageByParam ¶
GetLookupImageByParam is to LookupImage
func (*MCIRApi) GetLookupSpec ¶
GetLookupSpec is to LookupSpec
func (*MCIRApi) GetLookupSpecByParam ¶
GetLookupSpecByParam is to LookupSpec
func (*MCIRApi) GetOutType ¶
GetOutType is to Get output doc type (json/yaml)
func (*MCIRApi) GetSecurityGroup ¶
GetSecurityGroup is to get securityGroup
func (*MCIRApi) GetSecurityGroupByParam ¶
GetSecurityGroupByParam is to get securityGroup by parameters
func (*MCIRApi) GetServerAddr ¶
GetServerAddr is to Get Tumblebug server address
func (*MCIRApi) GetSpecByParam ¶
GetSpecByParam is to get a spec by parameters
func (*MCIRApi) GetSshKeyByParam ¶
GetSshKeyByParam is to get sshKey by parameters
func (*MCIRApi) GetTimeout ¶
GetTimeout is to get timeout
func (*MCIRApi) GetVNetByParam ¶
GetVNetByParam is to get vNet by parameters
func (*MCIRApi) ListImageByParam ¶
ListImageByParam is to list images by parameters
func (*MCIRApi) ListImageId ¶ added in v0.3.10
ListImageId is to list image IDs
func (*MCIRApi) ListImageIdByParam ¶ added in v0.3.10
ListImageIdByParam is to list image IDs by parameters
func (*MCIRApi) ListLookupImage ¶
ListLookupImage is to LookupImages
func (*MCIRApi) ListLookupImageByParam ¶
ListLookupImageByParam is to LookupImages
func (*MCIRApi) ListLookupSpec ¶
ListLookupSpec is to LookupSpecs
func (*MCIRApi) ListLookupSpecByParam ¶
ListLookupSpecByParam is to LookupSpecs
func (*MCIRApi) ListSecurityGroup ¶
ListSecurityGroup is to list securityGroups
func (*MCIRApi) ListSecurityGroupByParam ¶
ListSecurityGroupByParam is to list securityGroups by parameters
func (*MCIRApi) ListSecurityGroupId ¶ added in v0.3.10
ListSecurityGroupId is to list securityGroup IDs
func (*MCIRApi) ListSecurityGroupIdByParam ¶ added in v0.3.10
ListSecurityGroupIdByParam is to list securityGroup IDs by parameters
func (*MCIRApi) ListSpecByParam ¶
ListSpecByParam is to list specs by parameters
func (*MCIRApi) ListSpecId ¶ added in v0.3.10
ListSpecId is to list spec IDs
func (*MCIRApi) ListSpecIdByParam ¶ added in v0.3.10
ListSpecIdByParam is to list spec IDs by parameters
func (*MCIRApi) ListSshKey ¶
ListSshKey is to list sshKeys
func (*MCIRApi) ListSshKeyByParam ¶
ListSshKeyByParam is to list sshKeys by parameters
func (*MCIRApi) ListSshKeyId ¶ added in v0.3.10
ListSshKeyId is to list sshKey IDs
func (*MCIRApi) ListSshKeyIdByParam ¶ added in v0.3.10
ListSshKeyIdByParam is to list sshKey IDs by parameters
func (*MCIRApi) ListVNetByParam ¶
ListVNetByParam is to list vNet by parameters
func (*MCIRApi) ListVNetId ¶ added in v0.3.10
ListVNetId is to list vNet IDs
func (*MCIRApi) ListVNetIdByParam ¶ added in v0.3.10
ListVNetIdByParam is to list vNet IDs by parameters
func (*MCIRApi) LoadCommonResource ¶ added in v0.4.18
LoadCommonResource is to load common resources into the namespace 'common'.
func (*MCIRApi) LoadDefaultResource ¶ added in v0.4.18
LoadDefaultResource is to Check whether Resource exists or not
func (*MCIRApi) LoadDefaultResourceByParam ¶ added in v0.4.18
func (m *MCIRApi) LoadDefaultResourceByParam(nameSpaceID string, resourceType string, connectionName string) (string, error)
LoadDefaultResourceByParam is to Check whether Resource exists or not
func (*MCIRApi) SearchImage ¶ added in v0.3.7
SearchImage is to search image
func (*MCIRApi) SearchImageByParam ¶ added in v0.3.7
func (m *MCIRApi) SearchImageByParam(req *SearchImageQryRequest) (string, error)
SearchImageByParam is to search image by parameters
func (*MCIRApi) SetConfigPath ¶
SetConfigPath is to set config path
func (*MCIRApi) SetJWTToken ¶
SetJWTToken is to Set JWT auth token
func (*MCIRApi) SetOutType ¶
SetOutType is to Set output doc type (json/yaml)
func (*MCIRApi) SetServerAddr ¶
SetServerAddr is to Set Tumblebug server address
func (*MCIRApi) SetTimeout ¶
SetTimeout is to set timeout
func (*MCIRApi) UpdateImage ¶ added in v0.4.10
UpdateImage is to update image
type MCISApi ¶
type MCISApi struct {
// contains filtered or unexported fields
}
MCISApi is for MCIS API 구조 정의
func (*MCISApi) CheckMcisByParam ¶
CheckMcisByParam is to MCIS 체크
func (*MCISApi) CheckVmByParam ¶
CheckVmByParam is to MCIS VM 체크
func (*MCISApi) CmdMcisByParam ¶
func (m *MCISApi) CmdMcisByParam(req *McisCmdCreateRequest) (string, error)
CmdMcisByParam is to MCIS 명령 실행
func (*MCISApi) CmdMcisVmByParam ¶
func (m *MCISApi) CmdMcisVmByParam(req *McisCmdVmCreateRequest) (string, error)
CmdMcisVmByParam is to MCIS VM 명령 실행
func (*MCISApi) ControlMcis ¶
ControlMcis is to MCIS 제어
func (*MCISApi) ControlMcisByParam ¶
func (m *MCISApi) ControlMcisByParam(nameSpaceID string, mcisID string, action string) (string, error)
ControlMcisByParam is to MCIS 제어
func (*MCISApi) ControlMcisVM ¶
ControlMcisVM is to MCIS VM 제어
func (*MCISApi) ControlMcisVMByParam ¶
func (m *MCISApi) ControlMcisVMByParam(nameSpaceID string, mcisID string, vmID string, action string) (string, error)
ControlMcisVMByParam is to MCIS VM 제어
func (*MCISApi) CreateMcis ¶
CreateMcis is to MCIS 생성
func (*MCISApi) CreateMcisByParam ¶
func (m *MCISApi) CreateMcisByParam(req *TbMcisCreateRequest) (string, error)
CreateMcisByParam is to MCIS 생성
func (*MCISApi) CreateMcisPolicy ¶ added in v0.3.7
CreateMcisPolicy is to Policy 생성
func (*MCISApi) CreateMcisPolicyByParam ¶ added in v0.3.7
func (m *MCISApi) CreateMcisPolicyByParam(req *McisPolicyCreateRequest) (string, error)
CreateMcisPolicyByParam is to Policy 생성
func (*MCISApi) CreateMcisVM ¶
CreateMcisVM is to MCIS VM 생성
func (*MCISApi) CreateMcisVMByParam ¶
func (m *MCISApi) CreateMcisVMByParam(req *TbVmCreateRequest) (string, error)
CreateMcisVMByParam is to MCIS VM 생성
func (*MCISApi) CreateMcisVMGroup ¶ added in v0.3.7
CreateMcisVMGroup is to MCIS VM 그룹 생성
func (*MCISApi) CreateMcisVMGroupByParam ¶ added in v0.3.7
func (m *MCISApi) CreateMcisVMGroupByParam(req *TbVmGroupCreateRequest) (string, error)
CreateMcisVMGroupByParam is to MCIS VM 생성
func (*MCISApi) DeleteAllMcis ¶
DeleteAllMcis is to MCIS 전체 삭제
func (*MCISApi) DeleteAllMcisByParam ¶
DeleteAllMcisByParam is to MCIS 전체 삭제
func (*MCISApi) DeleteAllMcisPolicy ¶ added in v0.3.7
DeleteAllMcisPolicy is to Policy 전체 삭제
func (*MCISApi) DeleteAllMcisPolicyByParam ¶ added in v0.3.7
DeleteAllMcisPolicyByParam is to Policy 전체 삭제
func (*MCISApi) DeleteMcis ¶
DeleteMcis is to MCIS 삭제
func (*MCISApi) DeleteMcisByParam ¶
func (m *MCISApi) DeleteMcisByParam(nameSpaceID string, mcisID string, option string) (string, error)
DeleteMcisByParam is to MCIS 삭제
func (*MCISApi) DeleteMcisPolicy ¶ added in v0.3.7
DeleteMcisPolicy is to Policy 삭제
func (*MCISApi) DeleteMcisPolicyByParam ¶ added in v0.3.7
DeleteMcisPolicyByParam is to Policy 삭제
func (*MCISApi) DeleteMcisVM ¶
DeleteMcisVM is to MCIS VM 삭제
func (*MCISApi) DeleteMcisVMByParam ¶
func (m *MCISApi) DeleteMcisVMByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
DeleteMcisVMByParam is to MCIS VM 삭제
func (*MCISApi) GetAllBenchmark ¶
GetAllBenchmark is to Benchmark 목록
func (*MCISApi) GetAllBenchmarkByParam ¶
func (m *MCISApi) GetAllBenchmarkByParam(nameSpaceID string, mcisID string, host string) (string, error)
GetAllBenchmarkByParam is to Benchmark 목록
func (*MCISApi) GetBenchmark ¶
GetBenchmark is to Benchmark 조회
func (*MCISApi) GetBenchmarkByParam ¶
func (m *MCISApi) GetBenchmarkByParam(nameSpaceID string, mcisID string, action string, host string) (string, error)
GetBenchmarkByParam is to Benchmark 조회
func (*MCISApi) GetJWTToken ¶
GetJWTToken is to JWT 인증 토큰 값 조회
func (*MCISApi) GetMcisInfo ¶
GetMcisInfo is to MCIS 정보 조회
func (*MCISApi) GetMcisInfoByParam ¶
GetMcisInfoByParam is to MCIS 정보 조회
func (*MCISApi) GetMcisPolicy ¶ added in v0.3.7
GetMcisPolicy is to Policy 조회
func (*MCISApi) GetMcisPolicyByParam ¶ added in v0.3.7
GetMcisPolicyByParam is to Policy 조회
func (*MCISApi) GetMcisStatus ¶
GetMcisStatus is to MCIS 상태 조회
func (*MCISApi) GetMcisStatusByParam ¶
GetMcisStatusByParam is to MCIS 상태 조회
func (*MCISApi) GetMcisVMInfo ¶
GetMcisVMInfo is to MCIS VM 정보 조회
func (*MCISApi) GetMcisVMInfoByParam ¶
func (m *MCISApi) GetMcisVMInfoByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
GetMcisVMInfoByParam is to MCIS VM 정보 조회
func (*MCISApi) GetMcisVMStatus ¶
GetMcisVMStatus is to MCIS VM 상태 조회
func (*MCISApi) GetMcisVMStatusByParam ¶
func (m *MCISApi) GetMcisVMStatusByParam(nameSpaceID string, mcisID string, vmID string) (string, error)
GetMcisVMStatusByParam is to MCIS VM 상태 조회
func (*MCISApi) GetMonitorData ¶
GetMonitorData is to MCIS Monitor 정보 조회
func (*MCISApi) GetMonitorDataByParam ¶
func (m *MCISApi) GetMonitorDataByParam(nameSpaceID string, mcisID string, metric string) (string, error)
GetMonitorDataByParam is to MCIS Monitor 정보 조회
func (*MCISApi) GetOutType ¶
GetOutType is to 출력 문서 타입 값 조회
func (*MCISApi) GetServerAddr ¶
GetServerAddr is to Tumblebug 서버 주소 값 조회
func (*MCISApi) GetTimeout ¶
GetTimeout is to Timeout 값 조회
func (*MCISApi) InstallBenchmarkAgentToMcis ¶ added in v0.4.9
InstallBenchmarkAgentToMcis is to MCIS Agent 설치
func (*MCISApi) InstallBenchmarkAgentToMcisByParam ¶ added in v0.4.9
func (m *MCISApi) InstallBenchmarkAgentToMcisByParam(req *McisCmdCreateRequest) (string, error)
InstallBenchmarkAgentToMcisByParam is to MCIS Agent 설치
func (*MCISApi) InstallMonitorAgentToMcis ¶
InstallMonitorAgentToMcis is to MCIS Monitor Agent 설치
func (*MCISApi) InstallMonitorAgentToMcisByParam ¶
func (m *MCISApi) InstallMonitorAgentToMcisByParam(req *McisCmdCreateRequest) (string, error)
InstallMonitorAgentToMcisByParam is to MCIS Monitor Agent 설치
func (*MCISApi) ListMcisByParam ¶
ListMcisByParam is to MCIS 목록
func (*MCISApi) ListMcisId ¶ added in v0.3.10
ListMcisId is to MCIS 목록
func (*MCISApi) ListMcisIdByParam ¶ added in v0.3.10
ListMcisIdByParam is to MCIS 목록
func (*MCISApi) ListMcisPolicy ¶ added in v0.3.7
ListMcisPolicy is to Policy 목록
func (*MCISApi) ListMcisPolicyByParam ¶ added in v0.3.7
ListMcisPolicyByParam is to Policy 목록
func (*MCISApi) ListMcisStatus ¶ added in v0.3.7
ListMcisStatus is to MCIS 상태 목록
func (*MCISApi) ListMcisStatusByParam ¶ added in v0.3.7
ListMcisStatusByParam is to MCIS 상태 목록
func (*MCISApi) ListMcisVmId ¶ added in v0.3.10
ListMcisVmId is to MCIS 정보 조회
func (*MCISApi) ListMcisVmIdByParam ¶ added in v0.3.10
ListMcisVmIdByParam is to MCIS 정보 조회
func (*MCISApi) RecommendMcis ¶ added in v0.3.8
RecommendMcis is to MCIS 추천
func (*MCISApi) RecommendMcisByParam ¶ added in v0.3.8
func (m *MCISApi) RecommendMcisByParam(req *McisRecommendCreateRequest) (string, error)
RecommendMcisByParam is to MCIS 추천
func (*MCISApi) RecommendVM ¶ added in v0.3.8
RecommendVM is to MCIS VM 추천
func (*MCISApi) RecommendVMByParam ¶ added in v0.3.8
func (m *MCISApi) RecommendVMByParam(req *McisRecommendVmCreateRequest) (string, error)
RecommendVMByParam is to MCIS VM 추천
func (*MCISApi) SetConfigPath ¶
SetConfigPath is to 환경설정 파일 설정
func (*MCISApi) SetJWTToken ¶
SetJWTToken is to JWT 인증 토큰 설정
func (*MCISApi) SetOutType ¶
SetOutType is to 출력 문서 타입 설정 (json/yaml)
func (*MCISApi) SetServerAddr ¶
SetServerAddr is to Tumblebug 서버 주소 설정
type McisCmdCreateRequest ¶
type McisCmdCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` McisId string `yaml:"mcisId" json:"mcisId"` Item core_mcis.McisCmdReq `yaml:"cmd" json:"cmd"` }
McisCmdCreateRequest is for MCIS 명령 실행 요청 구조 Wrapper 정의
type McisCmdVmCreateRequest ¶
type McisCmdVmCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` McisId string `yaml:"mcisId" json:"mcisId"` VmId string `yaml:"vmId" json:"vmId"` Item core_mcis.McisCmdReq `yaml:"cmd" json:"cmd"` }
McisCmdVmCreateRequest is for MCIS VM 명령 실행 요청 구조 Wrapper 정의
type McisPolicyCreateRequest ¶ added in v0.3.7
type McisPolicyCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` McisId string `yaml:"mcisId" json:"mcisId"` Item core_mcis.McisPolicyInfo `yaml:"ReqInfo" json:"ReqInfo"` }
McisPolicyCreateRequest is for MCIS Policy 생성 요청 구조 Wrapper 정의
type McisRecommendCreateRequest ¶
type McisRecommendCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcis.McisRecommendReq `yaml:"recommend" json:"recommend"` }
McisRecommendCreateRequest is for MCIS 추천 요청 구조 Wrapper 정의
type McisRecommendVmCreateRequest ¶ added in v0.3.7
type McisRecommendVmCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcis.DeploymentPlan `yaml:"plan" json:"plan"` }
McisRecommendVmCreateRequest is for MCIS VM 추천 요청 구조 Wrapper 정의
type NSApi ¶
type NSApi struct {
// contains filtered or unexported fields
}
NSApi is for NS API 구조 정의
func (*NSApi) CheckNSByParam ¶
CheckNSByParam is to Namespace 체크
func (*NSApi) CreateNSByParam ¶
func (ns *NSApi) CreateNSByParam(req *core_common.NsReq) (string, error)
CreateNSByParam is to Namespace 생성
func (*NSApi) DeleteAllNS ¶
DeleteAllNS is to Namespace 전체 삭제
func (*NSApi) DeleteNSByParam ¶
DeleteNSByParam is to Namespace 삭제
func (*NSApi) GetJWTToken ¶
GetJWTToken is to JWT 인증 토큰 값 조회
func (*NSApi) GetNSByParam ¶
GetNSByParam is to Namespace 조회
func (*NSApi) GetOutType ¶
GetOutType is to 출력 문서 타입 값 조회
func (*NSApi) GetServerAddr ¶
GetServerAddr is to Tumblebug 서버 주소 값 조회
func (*NSApi) GetTimeout ¶
GetTimeout is to Timeout 값 조회
func (*NSApi) SetConfigPath ¶
SetConfigPath is to 환경설정 파일 설정
func (*NSApi) SetJWTToken ¶
SetJWTToken is to JWT 인증 토큰 설정
func (*NSApi) SetOutType ¶
SetOutType is to 출력 문서 타입 설정 (json/yaml)
func (*NSApi) SetServerAddr ¶
SetServerAddr is to Tumblebug 서버 주소 설정
type SearchImageQryRequest ¶ added in v0.3.7
type SearchImageQryRequest struct { NsId string `yaml:"nsId" json:"nsId"` Keywords []string `yaml:"keywords" json:"keywords"` }
SearchImageQryRequest is for Wrapper struct
type TbImageCreateRequest ¶
type TbImageCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbImageReq `yaml:"image" json:"image"` }
TbImageCreateRequest is for Wrapper struct
type TbImageInfoRequest ¶
type TbImageInfoRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbImageInfo `yaml:"image" json:"image"` }
TbImageInfoRequest is for Wrapper struct
type TbMcisCreateRequest ¶
type TbMcisCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcis.TbMcisReq `yaml:"mcis" json:"mcis"` }
TbMcisCreateRequest is for MCIS 생성 요청 구조 Wrapper 정의
type TbSecurityGroupCreateRequest ¶
type TbSecurityGroupCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbSecurityGroupReq `yaml:"securityGroup" json:"securityGroup"` }
TbSecurityGroupCreateRequest is for Wrapper struct
type TbSpecCreateRequest ¶
type TbSpecCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbSpecReq `yaml:"spec" json:"spec"` }
TbSpecCreateRequest is for Wrapper struct
type TbSpecInfoRequest ¶
type TbSpecInfoRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbSpecInfo `yaml:"spec" json:"spec"` }
TbSpecInfoRequest is for Wrapper struct
type TbSshKeyCreateRequest ¶
type TbSshKeyCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbSshKeyReq `yaml:"sshKey" json:"sshKey"` }
TbSshKeyCreateRequest is for Wrapper struct
type TbVNetCreateRequest ¶
type TbVNetCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` Item core_mcir.TbVNetReq `yaml:"vNet" json:"vNet"` }
TbVNetCreateRequest is for Wrapper struct
type TbVmCreateRequest ¶
type TbVmCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` McisId string `yaml:"mcisId" json:"mcisId"` Item TbVmInfo `yaml:"mcisvm" json:"mcisvm"` }
TbVmCreateRequest is for MCIS VM 생성 요청 구조 Wrapper 정의
type TbVmGroupCreateRequest ¶ added in v0.3.7
type TbVmGroupCreateRequest struct { NsId string `yaml:"nsId" json:"nsId"` McisId string `yaml:"mcisId" json:"mcisId"` Item core_mcis.TbVmReq `yaml:"groupvm" json:"groupvm"` }
TbVmGroupCreateRequest is for MCIS VM 그룹 생성 요청 구조 Wrapper 정의
type TbVmInfo ¶
type TbVmInfo struct { Id string `yaml:"id" json:"id"` Name string `yaml:"name" json:"name"` VmGroupId string `yaml:"vmGroupId" json:"vmGroupId"` Location common.GeoLocation `yaml:"location" json:"location"` Status string `yaml:"status" json:"status"` TargetStatus string `yaml:"targetStatus" json:"targetStatus"` TargetAction string `yaml:"targetAction" json:"targetAction"` MonAgentStatus string `yaml:"monAgentStatus" json:"monAgentStatus"` SystemMessage string `yaml:"systemMessage" json:"systemMessage"` CreatedTime string `yaml:"createdTime" json:"createdTime"` Label string `yaml:"label" json:"label"` Description string `yaml:"description" json:"description"` Region core_mcis.RegionInfo `yaml:"region" json:"region"` PublicIP string `yaml:"publicIP" json:"publicIP"` SSHPort string `yaml:"sshPort" json:"sshPort"` PublicDNS string `yaml:"publicDNS" json:"publicDNS"` PrivateIP string `yaml:"privateIP" json:"privateIP"` PrivateDNS string `yaml:"privateDNS" json:"privateDNS"` ConnectionName string `yaml:"connectionName" json:"connectionName"` SpecId string `yaml:"specId" json:"specId"` ImageId string `yaml:"imageId" json:"imageId"` VNetId string `yaml:"vNetId" json:"vNetId"` SubnetId string `yaml:"subnetId" json:"subnetId"` SecurityGroupIds []string `yaml:"securityGroupIds" json:"securityGroupIds"` SshKeyId string `yaml:"sshKeyId" json:"sshKeyId"` VmUserAccount string `yaml:"vmUserAccount" json:"vmUserAccount"` VmUserPassword string `yaml:"vmUserPassword" json:"vmUserPassword"` }
TbVmInfo is for MCIS VM 구조 정의
type UtilityApi ¶ added in v0.3.11
type UtilityApi struct {
// contains filtered or unexported fields
}
UtilityApi is for Utility API 구조 정의
func NewUtilityManager ¶ added in v0.3.11
func NewUtilityManager() (u *UtilityApi)
NewUtilityManager is to Utility API 객체 생성
func (*UtilityApi) CreateConfig ¶ added in v0.3.11
func (u *UtilityApi) CreateConfig(doc string) (string, error)
CreateConfig is to Config 생성
func (*UtilityApi) CreateConfigByParam ¶ added in v0.3.11
func (u *UtilityApi) CreateConfigByParam(req *core_common.ConfigReq) (string, error)
CreateConfigByParam is to Config 생성
func (*UtilityApi) DeleteAllObject ¶ added in v0.3.11
func (u *UtilityApi) DeleteAllObject(doc string) (string, error)
DeleteAllObject is to 객체 전체 삭제
func (*UtilityApi) DeleteAllObjectByParam ¶ added in v0.3.11
func (u *UtilityApi) DeleteAllObjectByParam(key string) (string, error)
DeleteAllObjectByParam is to 객체 전체 삭제
func (*UtilityApi) DeleteObject ¶ added in v0.3.11
func (u *UtilityApi) DeleteObject(doc string) (string, error)
DeleteObject is to 객체 삭제
func (*UtilityApi) DeleteObjectByParam ¶ added in v0.3.11
func (u *UtilityApi) DeleteObjectByParam(key string) (string, error)
DeleteObjectByParam is to 객체 삭제
func (*UtilityApi) GetConfig ¶ added in v0.3.11
func (u *UtilityApi) GetConfig(doc string) (string, error)
GetConfig is to Config 조회
func (*UtilityApi) GetConfigByParam ¶ added in v0.3.11
func (u *UtilityApi) GetConfigByParam(configId string) (string, error)
GetConfigByParam is to Config 조회
func (*UtilityApi) GetConnConfig ¶ added in v0.3.11
func (u *UtilityApi) GetConnConfig(doc string) (string, error)
GetConnConfig is to Connection Config 조회
func (*UtilityApi) GetConnConfigByParam ¶ added in v0.3.11
func (u *UtilityApi) GetConnConfigByParam(connConfigName string) (string, error)
GetConnConfigByParam is to Connection Config 조회
func (*UtilityApi) GetInType ¶ added in v0.3.11
func (u *UtilityApi) GetInType() (string, error)
GetInType is to 입력 문서 타입 값 조회
func (*UtilityApi) GetJWTToken ¶ added in v0.3.11
func (u *UtilityApi) GetJWTToken() (string, error)
GetJWTToken is to JWT 인증 토큰 값 조회
func (*UtilityApi) GetObject ¶ added in v0.3.11
func (u *UtilityApi) GetObject(doc string) (string, error)
GetObject is to 객체 조회
func (*UtilityApi) GetObjectByParam ¶ added in v0.3.11
func (u *UtilityApi) GetObjectByParam(key string) (string, error)
GetObjectByParam is to 객체 조회
func (*UtilityApi) GetOutType ¶ added in v0.3.11
func (u *UtilityApi) GetOutType() (string, error)
GetOutType is to 출력 문서 타입 값 조회
func (*UtilityApi) GetRegion ¶ added in v0.3.11
func (u *UtilityApi) GetRegion(doc string) (string, error)
GetRegion is to Region 조회
func (*UtilityApi) GetRegionByParam ¶ added in v0.3.11
func (u *UtilityApi) GetRegionByParam(regionName string) (string, error)
GetRegionByParam is to Region 조회
func (*UtilityApi) GetServerAddr ¶ added in v0.3.11
func (u *UtilityApi) GetServerAddr() (string, error)
GetServerAddr is to Tumblebug 서버 주소 값 조회
func (*UtilityApi) GetTLSCA ¶ added in v0.3.11
func (u *UtilityApi) GetTLSCA() (string, error)
GetTLSCA is to TLS CA 값 조회
func (*UtilityApi) GetTimeout ¶ added in v0.3.11
func (u *UtilityApi) GetTimeout() (time.Duration, error)
GetTimeout is to Timeout 값 조회
func (*UtilityApi) InitAllConfig ¶ added in v0.3.11
func (u *UtilityApi) InitAllConfig() (string, error)
InitAllConfig is to Config 전체 삭제
func (*UtilityApi) InitConfig ¶ added in v0.3.11
func (u *UtilityApi) InitConfig(doc string) (string, error)
InitConfig is to Config 조회
func (*UtilityApi) InitConfigByParam ¶ added in v0.3.11
func (u *UtilityApi) InitConfigByParam(configId string) (string, error)
InitConfigByParam is to Config 조회
func (*UtilityApi) InspectMcirResources ¶ added in v0.3.11
func (u *UtilityApi) InspectMcirResources(doc string) (string, error)
InspectMcirResources is to MCIR 리소스 점검
func (*UtilityApi) InspectMcirResourcesByParam ¶ added in v0.3.11
func (u *UtilityApi) InspectMcirResourcesByParam(connectionName string, mcirType string) (string, error)
InspectMcirResourcesByParam is to MCIR 리소스 점검
func (*UtilityApi) InspectVmResources ¶ added in v0.3.11
func (u *UtilityApi) InspectVmResources(doc string) (string, error)
InspectVmResources is to VM 리소스 점검
func (*UtilityApi) InspectVmResourcesByParam ¶ added in v0.3.11
func (u *UtilityApi) InspectVmResourcesByParam(connectionName string) (string, error)
InspectVmResourcesByParam is to VM 리소스 점검
func (*UtilityApi) ListConfig ¶ added in v0.3.11
func (u *UtilityApi) ListConfig() (string, error)
ListConfig is to Config 목록
func (*UtilityApi) ListConnConfig ¶ added in v0.3.11
func (u *UtilityApi) ListConnConfig() (string, error)
ListConnConfig is to Connection Config 목록
func (*UtilityApi) ListObject ¶ added in v0.3.11
func (u *UtilityApi) ListObject(doc string) (string, error)
ListObject is to 객체 목록
func (*UtilityApi) ListObjectByParam ¶ added in v0.3.11
func (u *UtilityApi) ListObjectByParam(key string) (string, error)
ListObjectByParam is to 객체 목록
func (*UtilityApi) ListRegion ¶ added in v0.3.11
func (u *UtilityApi) ListRegion() (string, error)
ListRegion is to Region 목록
func (*UtilityApi) SetConfigPath ¶ added in v0.3.11
func (u *UtilityApi) SetConfigPath(configFile string) error
SetConfigPath is to 환경설정 파일 설정
func (*UtilityApi) SetInType ¶ added in v0.3.11
func (u *UtilityApi) SetInType(in string) error
SetInType is to 입력 문서 타입 설정 (json/yaml)
func (*UtilityApi) SetJWTToken ¶ added in v0.3.11
func (u *UtilityApi) SetJWTToken(token string) error
SetJWTToken is to JWT 인증 토큰 설정
func (*UtilityApi) SetOutType ¶ added in v0.3.11
func (u *UtilityApi) SetOutType(out string) error
SetOutType is to 출력 문서 타입 설정 (json/yaml)
func (*UtilityApi) SetServerAddr ¶ added in v0.3.11
func (u *UtilityApi) SetServerAddr(addr string) error
SetServerAddr is to Tumblebug 서버 주소 설정
func (*UtilityApi) SetTLSCA ¶ added in v0.3.11
func (u *UtilityApi) SetTLSCA(tlsCAFile string) error
SetTLSCA is to TLS CA 설정
func (*UtilityApi) SetTimeout ¶ added in v0.3.11
func (u *UtilityApi) SetTimeout(timeout time.Duration) error
SetTimeout is to Timeout 설정