Documentation ¶
Index ¶
- Constants
- Variables
- func Autoinit() bool
- func Ec2DescribeInstancesProxy(entry *awclip.CacheEntry) *string
- func Ec2DescribeRegionsProxy(newCacheEntry *awclip.CacheEntry) *string
- func IamListUserPoliciesProxy(entry *awclip.CacheEntry) *string
- func PrefetchEc2DescribeInstancesProxy(config *awclip.CacheEntry, client Ec2Interface, args []string) error
- func PrefetchEc2DescribeInstancesProxyWrapper(newCacheEntry *awclip.CacheEntry, args []string)
- func StsGetCallerIdentityProxy(newCacheEntry *awclip.CacheEntry) *string
- type Ec2Interface
- type GetCallerIdentity
- type IamInterface
- type StSInterface
Constants ¶
View Source
const FirstRegion = "eu-north-1"
Variables ¶
View Source
var AUTO_INIT bool
View Source
var Ec2DescribeInstancesParameter = &awclip.Parameters{ Service: aws.String("ec2"), Action: aws.String("describe-instances"), Output: aws.String("text"), Region: aws.String("eu-central-1"), Profile: aws.String("unknown"), Query: aws.String("Reservations[*].Instances[*].[InstanceId]"), }
View Source
var Ec2DescribeRegionsParameter = &awclip.Parameters{ Service: aws.String("ec2"), Action: aws.String("describe-regions"), Output: aws.String("text"), Region: aws.String("dontcare"), Profile: aws.String("unknown"), Query: aws.String("Regions[].RegionName"), }
Functions ¶
func Ec2DescribeInstancesProxy ¶
func Ec2DescribeInstancesProxy(entry *awclip.CacheEntry) *string
func Ec2DescribeRegionsProxy ¶
func Ec2DescribeRegionsProxy(newCacheEntry *awclip.CacheEntry) *string
func IamListUserPoliciesProxy ¶ added in v0.1.6
func IamListUserPoliciesProxy(entry *awclip.CacheEntry) *string
func PrefetchEc2DescribeInstancesProxy ¶ added in v0.1.6
func PrefetchEc2DescribeInstancesProxy(config *awclip.CacheEntry, client Ec2Interface, args []string) error
func PrefetchEc2DescribeInstancesProxyWrapper ¶ added in v0.1.6
func PrefetchEc2DescribeInstancesProxyWrapper(newCacheEntry *awclip.CacheEntry, args []string)
func StsGetCallerIdentityProxy ¶
func StsGetCallerIdentityProxy(newCacheEntry *awclip.CacheEntry) *string
Types ¶
type Ec2Interface ¶
type Ec2Interface interface { DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error) DescribeRegions(ctx context.Context, params *ec2.DescribeRegionsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeRegionsOutput, error) }
type GetCallerIdentity ¶
type IamInterface ¶ added in v0.1.6
type IamInterface interface { ListUserPolicies(ctx context.Context, params *iam.ListUserPoliciesInput, optFns ...func(*iam.Options)) (*iam.ListUserPoliciesOutput, error) }
type StSInterface ¶
type StSInterface interface { GetCallerIdentity(ctx context.Context, params *sts.GetCallerIdentityInput, optFns ...func(*sts.Options)) (*sts.GetCallerIdentityOutput, error) }
Click to show internal directories.
Click to hide internal directories.