Documentation ¶
Index ¶
- type IIDInfo
- type IIDRWLOCK
- func (iidRWLock *IIDRWLOCK) CreateIID(connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) DeleteIID(connectionName string, resourceType string, iId resources.IID) (bool, error)
- func (iidRWLock *IIDRWLOCK) FindIID(connectionName string, resourceType string, keyword string) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) GetIID(connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) GetIIDbySystemID(connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) IsExistIID(connectionName string, resourceType string, iId resources.IID) (bool, error)
- func (iidRWLock *IIDRWLOCK) ListIID(connectionName string, resourceType string) ([]*IIDInfo, error)
- func (iidRWLock *IIDRWLOCK) UpdateIID(connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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(connectionName string, resourceType string, keyword string) (*IIDInfo, error)
1. check params 2. find IIDInfo from cb-store
func (*IIDRWLOCK) GetIID ¶
func (iidRWLock *IIDRWLOCK) GetIID(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(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
Click to show internal directories.
Click to hide internal directories.