Documentation ¶
Index ¶
- func New(cloudConnectName string, rsType string, uid string) (string, error)
- type IIDGroup
- type IIDInfo
- type IIDRWLOCK
- func (iidRWLock *IIDRWLOCK) CreateIID(iidGroup IIDGroup, connectionName string, resourceType string, ...) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) DeleteIID(iidGroup IIDGroup, connectionName string, resourceType string, ...) (bool, error)
- func (iidRWLock *IIDRWLOCK) FindIID(iidGroup IIDGroup, connectionName string, resourceType string, keyword string) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) GetIID(iidGroup IIDGroup, connectionName string, resourceType string, ...) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) GetIIDbySystemID(iidGroup IIDGroup, connectionName string, resourceType string, ...) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) IsExistIID(iidGroup IIDGroup, connectionName string, resourceType string, ...) (bool, error)
- func (iidRWLock *IIDRWLOCK) ListIID(iidGroup IIDGroup, connectionName string, resourceType string) ([]*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) ListResourceType(iidGroup IIDGroup, connectionName string) ([]string, error)
- func (iidRWLock *IIDRWLOCK) UpdateIID(iidGroup IIDGroup, connectionName string, resourceType string, ...) (*IIDInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IIDInfo ¶
type IIDInfo struct { ConnectionName string // ex) "aws-seoul-config" ResourceType string // ex) "VM" IId resources.IID // ex) {NameId, SystemId} = {"powerkim_vm_01", "i-0bc7123b7e5cbf79d"} }
====================================================================
type IIDRWLOCK ¶
type IIDRWLOCK struct {
// contains filtered or unexported fields
}
====================================================================
func (*IIDRWLOCK) FindIID ¶ added in v0.1.3
func (iidRWLock *IIDRWLOCK) FindIID(iidGroup IIDGroup, connectionName string, resourceType string, keyword string) (*IIDInfo, error)
1. check params 2. find IIDInfo from cb-store
func (*IIDRWLOCK) GetIID ¶
func (iidRWLock *IIDRWLOCK) GetIID(iidGroup IIDGroup, connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)
1. check params 2. get IIDInfo from cb-store
func (*IIDRWLOCK) GetIIDbySystemID ¶ added in v0.1.3
func (iidRWLock *IIDRWLOCK) GetIIDbySystemID(iidGroup IIDGroup, connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)
1. check params 2. get IIDInfo from cb-store
func (*IIDRWLOCK) IsExistIID ¶ added in v0.1.3
func (*IIDRWLOCK) ListResourceType ¶ added in v0.4.11
Click to show internal directories.
Click to hide internal directories.