Documentation ¶
Index ¶
- type MCIRService
- func (s *MCIRService) CheckResource(ctx context.Context, req *pb.ResourceQryRequest) (*pb.ExistsResponse, error)
- func (s *MCIRService) CreateImageWithID(ctx context.Context, req *pb.TbImageCreateRequest) (*pb.TbImageInfoResponse, error)
- func (s *MCIRService) CreateImageWithInfo(ctx context.Context, req *pb.TbImageInfoRequest) (*pb.TbImageInfoResponse, error)
- func (s *MCIRService) CreateSecurityGroup(ctx context.Context, req *pb.TbSecurityGroupCreateRequest) (*pb.TbSecurityGroupInfoResponse, error)
- func (s *MCIRService) CreateSpecWithInfo(ctx context.Context, req *pb.TbSpecInfoRequest) (*pb.TbSpecInfoResponse, error)
- func (s *MCIRService) CreateSpecWithSpecName(ctx context.Context, req *pb.TbSpecCreateRequest) (*pb.TbSpecInfoResponse, error)
- func (s *MCIRService) CreateSshKey(ctx context.Context, req *pb.TbSshKeyCreateRequest) (*pb.TbSshKeyInfoResponse, error)
- func (s *MCIRService) CreateVNet(ctx context.Context, req *pb.TbVNetCreateRequest) (*pb.TbVNetInfoResponse, error)
- func (s *MCIRService) DeleteAllImage(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
- func (s *MCIRService) DeleteAllSecurityGroup(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
- func (s *MCIRService) DeleteAllSpec(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
- func (s *MCIRService) DeleteAllSshKey(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
- func (s *MCIRService) DeleteAllVNet(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
- func (s *MCIRService) DeleteImage(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) DeleteSecurityGroup(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) DeleteSpec(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) DeleteSshKey(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) DeleteVNet(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) FetchImage(ctx context.Context, req *pb.FetchImageQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) FetchSpec(ctx context.Context, req *pb.FetchSpecQryRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) FilterSpec(ctx context.Context, req *pb.TbSpecInfoRequest) (*pb.ListTbSpecInfoResponse, error)
- func (s *MCIRService) FilterSpecsByRange(ctx context.Context, req *pb.FilterSpecsByRangeRequest) (*pb.ListTbSpecInfoResponse, error)
- func (s *MCIRService) GetImage(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbImageInfoResponse, error)
- func (s *MCIRService) GetLookupImage(ctx context.Context, req *pb.LookupImageQryRequest) (*pb.SpiderImageInfoResponse, error)
- func (s *MCIRService) GetLookupSpec(ctx context.Context, req *pb.LookupSpecQryRequest) (*pb.SpiderSpecInfoResponse, error)
- func (s *MCIRService) GetSecurityGroup(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbSecurityGroupInfoResponse, error)
- func (s *MCIRService) GetSpec(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbSpecInfoResponse, error)
- func (s *MCIRService) GetSshKey(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbSshKeyInfoResponse, error)
- func (s *MCIRService) GetVNet(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbVNetInfoResponse, error)
- func (s *MCIRService) ListImage(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbImageInfoResponse, error)
- func (s *MCIRService) ListImageId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
- func (s *MCIRService) ListLookupImage(ctx context.Context, req *pb.LookupImageListQryRequest) (*pb.ListSpiderImageInfoResponse, error)
- func (s *MCIRService) ListLookupSpec(ctx context.Context, req *pb.LookupSpecListQryRequest) (*pb.ListSpiderSpecInfoResponse, error)
- func (s *MCIRService) ListSecurityGroup(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbSecurityGroupInfoResponse, error)
- func (s *MCIRService) ListSecurityGroupId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
- func (s *MCIRService) ListSpec(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbSpecInfoResponse, error)
- func (s *MCIRService) ListSpecId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
- func (s *MCIRService) ListSshKey(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbSshKeyInfoResponse, error)
- func (s *MCIRService) ListSshKeyId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
- func (s *MCIRService) ListVNet(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbVNetInfoResponse, error)
- func (s *MCIRService) ListVNetId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
- func (s *MCIRService) LoadCommonResource(ctx context.Context, req *pb.Empty) (*pb.IdListResponse, error)
- func (s *MCIRService) LoadDefaultResource(ctx context.Context, req *pb.TbLoadDefaultResourceRequest) (*pb.MessageResponse, error)
- func (s *MCIRService) SearchImage(ctx context.Context, req *pb.SearchImageQryRequest) (*pb.ListTbImageInfoResponse, error)
- func (s *MCIRService) SortSpecs(ctx context.Context, req *pb.SortSpecsRequest) (*pb.ListTbSpecInfoResponse, error)
- func (s *MCIRService) UpdateImage(ctx context.Context, req *pb.TbUpdateImageRequest) (*pb.TbImageInfoResponse, error)
- func (s *MCIRService) UpdateSpec(ctx context.Context, req *pb.TbUpdateSpecRequest) (*pb.TbSpecInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCIRService ¶
type MCIRService struct { }
MCIRService is to MCIR 서비스 구현
func (*MCIRService) CheckResource ¶
func (s *MCIRService) CheckResource(ctx context.Context, req *pb.ResourceQryRequest) (*pb.ExistsResponse, error)
CheckResource is to Resource 체크
func (*MCIRService) CreateImageWithID ¶
func (s *MCIRService) CreateImageWithID(ctx context.Context, req *pb.TbImageCreateRequest) (*pb.TbImageInfoResponse, error)
CreateImageWithID is to Image 생성
func (*MCIRService) CreateImageWithInfo ¶
func (s *MCIRService) CreateImageWithInfo(ctx context.Context, req *pb.TbImageInfoRequest) (*pb.TbImageInfoResponse, error)
CreateImageWithInfo is to Image 생성
func (*MCIRService) CreateSecurityGroup ¶
func (s *MCIRService) CreateSecurityGroup(ctx context.Context, req *pb.TbSecurityGroupCreateRequest) (*pb.TbSecurityGroupInfoResponse, error)
CreateSecurityGroup is to Security Group 생성
func (*MCIRService) CreateSpecWithInfo ¶
func (s *MCIRService) CreateSpecWithInfo(ctx context.Context, req *pb.TbSpecInfoRequest) (*pb.TbSpecInfoResponse, error)
CreateSpecWithInfo is to Spec 생성
func (*MCIRService) CreateSpecWithSpecName ¶
func (s *MCIRService) CreateSpecWithSpecName(ctx context.Context, req *pb.TbSpecCreateRequest) (*pb.TbSpecInfoResponse, error)
CreateSpecWithSpecName is to Spec 생성
func (*MCIRService) CreateSshKey ¶
func (s *MCIRService) CreateSshKey(ctx context.Context, req *pb.TbSshKeyCreateRequest) (*pb.TbSshKeyInfoResponse, error)
CreateSshKey is to KeyPair 생성
func (*MCIRService) CreateVNet ¶
func (s *MCIRService) CreateVNet(ctx context.Context, req *pb.TbVNetCreateRequest) (*pb.TbVNetInfoResponse, error)
CreateVNet is to VNet 생성
func (*MCIRService) DeleteAllImage ¶
func (s *MCIRService) DeleteAllImage(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
DeleteAllImage is to Image 전체 삭제
func (*MCIRService) DeleteAllSecurityGroup ¶
func (s *MCIRService) DeleteAllSecurityGroup(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
DeleteAllSecurityGroup is to Security Group 전체 삭제
func (*MCIRService) DeleteAllSpec ¶
func (s *MCIRService) DeleteAllSpec(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
DeleteAllSpec is to Spec 전체 삭제
func (*MCIRService) DeleteAllSshKey ¶
func (s *MCIRService) DeleteAllSshKey(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
DeleteAllSshKey is to KeyPair 전체 삭제
func (*MCIRService) DeleteAllVNet ¶
func (s *MCIRService) DeleteAllVNet(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.IdListResponse, error)
DeleteAllVNet is to VNet 전체 삭제
func (*MCIRService) DeleteImage ¶
func (s *MCIRService) DeleteImage(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
DeleteImage is to Image 삭제
func (*MCIRService) DeleteSecurityGroup ¶
func (s *MCIRService) DeleteSecurityGroup(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
DeleteSecurityGroup is to Security Group 삭제
func (*MCIRService) DeleteSpec ¶
func (s *MCIRService) DeleteSpec(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
DeleteSpec is to Spec 삭제
func (*MCIRService) DeleteSshKey ¶
func (s *MCIRService) DeleteSshKey(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
DeleteSshKey is to KeyPair 삭제
func (*MCIRService) DeleteVNet ¶
func (s *MCIRService) DeleteVNet(ctx context.Context, req *pb.ResourceQryRequest) (*pb.MessageResponse, error)
DeleteVNet is to VNet 삭제
func (*MCIRService) FetchImage ¶
func (s *MCIRService) FetchImage(ctx context.Context, req *pb.FetchImageQryRequest) (*pb.MessageResponse, error)
FetchImage is to Image 가져오기
func (*MCIRService) FetchSpec ¶
func (s *MCIRService) FetchSpec(ctx context.Context, req *pb.FetchSpecQryRequest) (*pb.MessageResponse, error)
FetchSpec is to Spec 가져오기
func (*MCIRService) FilterSpec ¶ added in v0.2.8
func (s *MCIRService) FilterSpec(ctx context.Context, req *pb.TbSpecInfoRequest) (*pb.ListTbSpecInfoResponse, error)
FilterSpec is to filter specs
func (*MCIRService) FilterSpecsByRange ¶ added in v0.3.1
func (s *MCIRService) FilterSpecsByRange(ctx context.Context, req *pb.FilterSpecsByRangeRequest) (*pb.ListTbSpecInfoResponse, error)
FilterSpecsByRange is filter specs by range
func (*MCIRService) GetImage ¶
func (s *MCIRService) GetImage(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbImageInfoResponse, error)
GetImage is to Image 조회
func (*MCIRService) GetLookupImage ¶
func (s *MCIRService) GetLookupImage(ctx context.Context, req *pb.LookupImageQryRequest) (*pb.SpiderImageInfoResponse, error)
GetLookupImage is to Image 조회
func (*MCIRService) GetLookupSpec ¶
func (s *MCIRService) GetLookupSpec(ctx context.Context, req *pb.LookupSpecQryRequest) (*pb.SpiderSpecInfoResponse, error)
GetLookupSpec is to Spec 조회
func (*MCIRService) GetSecurityGroup ¶
func (s *MCIRService) GetSecurityGroup(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbSecurityGroupInfoResponse, error)
GetSecurityGroup is to Security Group 조회
func (*MCIRService) GetSpec ¶
func (s *MCIRService) GetSpec(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbSpecInfoResponse, error)
GetSpec is to Spec 조회
func (*MCIRService) GetSshKey ¶
func (s *MCIRService) GetSshKey(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbSshKeyInfoResponse, error)
GetSshKey is to KeyPair 조회
func (*MCIRService) GetVNet ¶
func (s *MCIRService) GetVNet(ctx context.Context, req *pb.ResourceQryRequest) (*pb.TbVNetInfoResponse, error)
GetVNet is to VNet 조회
func (*MCIRService) ListImage ¶
func (s *MCIRService) ListImage(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbImageInfoResponse, error)
ListImage is to Image 목록
func (*MCIRService) ListImageId ¶ added in v0.3.10
func (s *MCIRService) ListImageId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
ListImageId is to list image IDs
func (*MCIRService) ListLookupImage ¶
func (s *MCIRService) ListLookupImage(ctx context.Context, req *pb.LookupImageListQryRequest) (*pb.ListSpiderImageInfoResponse, error)
ListLookupImage is to Image 목록
func (*MCIRService) ListLookupSpec ¶
func (s *MCIRService) ListLookupSpec(ctx context.Context, req *pb.LookupSpecListQryRequest) (*pb.ListSpiderSpecInfoResponse, error)
ListLookupSpec is to Spec 목록
func (*MCIRService) ListSecurityGroup ¶
func (s *MCIRService) ListSecurityGroup(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbSecurityGroupInfoResponse, error)
ListSecurityGroup is to Security Group 목록
func (*MCIRService) ListSecurityGroupId ¶ added in v0.3.10
func (s *MCIRService) ListSecurityGroupId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
ListSecurityGroupId is to list security group IDs
func (*MCIRService) ListSpec ¶
func (s *MCIRService) ListSpec(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbSpecInfoResponse, error)
ListSpec is to Spec 목록
func (*MCIRService) ListSpecId ¶ added in v0.3.10
func (s *MCIRService) ListSpecId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
ListSpecId is to list spec IDs
func (*MCIRService) ListSshKey ¶
func (s *MCIRService) ListSshKey(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbSshKeyInfoResponse, error)
ListSshKey is to KeyPair 목록
func (*MCIRService) ListSshKeyId ¶ added in v0.3.10
func (s *MCIRService) ListSshKeyId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
ListSshKeyId is to list SSH key IDs
func (*MCIRService) ListVNet ¶
func (s *MCIRService) ListVNet(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListTbVNetInfoResponse, error)
ListVNet is to VNet 목록
func (*MCIRService) ListVNetId ¶ added in v0.3.10
func (s *MCIRService) ListVNetId(ctx context.Context, req *pb.ResourceAllQryRequest) (*pb.ListIdResponse, error)
ListVNetId is to list vNet IDs
func (*MCIRService) LoadCommonResource ¶ added in v0.4.18
func (s *MCIRService) LoadCommonResource(ctx context.Context, req *pb.Empty) (*pb.IdListResponse, error)
LoadCommonResource is to register common resources from asset files (../assets/*.csv)
func (*MCIRService) LoadDefaultResource ¶ added in v0.4.18
func (s *MCIRService) LoadDefaultResource(ctx context.Context, req *pb.TbLoadDefaultResourceRequest) (*pb.MessageResponse, error)
LoadDefaultResource is to register common resources from asset files (../assets/*.csv)
func (*MCIRService) SearchImage ¶ added in v0.3.7
func (s *MCIRService) SearchImage(ctx context.Context, req *pb.SearchImageQryRequest) (*pb.ListTbImageInfoResponse, error)
SearchImage is to Image 검색
func (*MCIRService) SortSpecs ¶ added in v0.3.1
func (s *MCIRService) SortSpecs(ctx context.Context, req *pb.SortSpecsRequest) (*pb.ListTbSpecInfoResponse, error)
SortSpecs is to sort specs
func (*MCIRService) UpdateImage ¶ added in v0.4.10
func (s *MCIRService) UpdateImage(ctx context.Context, req *pb.TbUpdateImageRequest) (*pb.TbImageInfoResponse, error)
UpdateImage is to update images
func (*MCIRService) UpdateSpec ¶ added in v0.3.1
func (s *MCIRService) UpdateSpec(ctx context.Context, req *pb.TbUpdateSpecRequest) (*pb.TbSpecInfoResponse, error)
UpdateSpec is to update specs