Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ec2InstanceCache ¶
Ec2InstanceCache has Cached Ec2Instances
func GetEc2InstanceCache ¶
func GetEc2InstanceCache() *Ec2InstanceCache
GetEc2InstanceCache return the Ec2InstanceCache instance
func (*Ec2InstanceCache) ReadEntry ¶
func (cache *Ec2InstanceCache) ReadEntry(instanceID string) *ec2.Instance
ReadEntry return a cached Ec2Instance which identified by instanceID.
func (*Ec2InstanceCache) WriteEntry ¶
func (cache *Ec2InstanceCache) WriteEntry(instanceID string, instance *ec2.Instance)
WriteEntry cache the specified ec2Instance in Ec2InstanceCache.
Click to show internal directories.
Click to hide internal directories.