iidmanager

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) CreateIID

func (iidRWLock *IIDRWLOCK) CreateIID(connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)

func (*IIDRWLOCK) DeleteIID

func (iidRWLock *IIDRWLOCK) DeleteIID(connectionName string, resourceType string, iId resources.IID) (bool, error)

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

func (iidRWLock *IIDRWLOCK) IsExistIID(connectionName string, resourceType string, iId resources.IID) (bool, error)

func (*IIDRWLOCK) ListIID

func (iidRWLock *IIDRWLOCK) ListIID(connectionName string, resourceType string) ([]*IIDInfo, error)

func (*IIDRWLOCK) UpdateIID

func (iidRWLock *IIDRWLOCK) UpdateIID(connectionName string, resourceType string, iId resources.IID) (*IIDInfo, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL