services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeRecordSet

func ChangeRecordSet(
	route53Svc *route53.Route53, zone string,
	recordName string, recordType string,
	recordValue string, ttl int64,
	action string, alias bool, recordHostZoneID string) (result *route53.ChangeResourceRecordSetsOutput, error error)

func CreateBucket

func CreateBucket(svc *s3.S3, name string) (result *s3.CreateBucketOutput, error error)

func CreateEC2Keypair

func CreateEC2Keypair(ec2Svc *ec2.EC2, name string) (result *ec2.CreateKeyPairOutput, error error)

func CreateEcrRepo

func CreateEcrRepo(svc *ecr.ECR, repo string) (result *ecr.CreateRepositoryOutput, error error)

func CreateObject

func CreateObject(svc *s3.S3, name string, key string, content *[]byte) (result *s3.PutObjectOutput, error error)

func CreateSecret

func CreateSecret(svc *secretsmanager.SecretsManager, name string, value *string) (result *secretsmanager.CreateSecretOutput, error error)

func CreateStack

func CreateStack(svc *cloudformation.CloudFormation, name string, template *string) (result *cloudformation.CreateStackOutput, error error)

func DeleteBucket

func DeleteBucket(svc *s3.S3, name string) (result *s3.DeleteBucketOutput, error error)

func DeleteCert

func DeleteCert(svc *acm.ACM, arn string) (result *acm.DeleteCertificateOutput, error error)

func DeleteEC2Keypair

func DeleteEC2Keypair(ec2Svc *ec2.EC2, name string) (result *ec2.DeleteKeyPairOutput, error error)

func DeleteEcrRepo

func DeleteEcrRepo(svc *ecr.ECR, repo string) (result *ecr.DeleteRepositoryOutput, error error)

func DeleteObject

func DeleteObject(svc *s3.S3, name string, key string) (result *s3.DeleteObjectOutput, error error)

func DeleteSecret

func DeleteSecret(svc *secretsmanager.SecretsManager, arn string, forceDelete bool) (result *secretsmanager.DeleteSecretOutput, error error)

func DeleteStack

func DeleteStack(svc *cloudformation.CloudFormation, name string) (result *cloudformation.DeleteStackOutput, error error)

func DescribeChangeSet

func DescribeChangeSet(svc *cloudformation.CloudFormation, stackName string, changeSetName string) (result *cloudformation.DescribeChangeSetOutput, error error)

func DescribeClusters

func DescribeClusters(svc *ecs.ECS, names []*string) (result *ecs.DescribeClustersOutput, error error)

func DescribeServices

func DescribeServices(svc *ecs.ECS, clusterName *string, names []*string) (result *ecs.DescribeServicesOutput, error error)

func DescribeTasks

func DescribeTasks(svc *ecs.ECS, clusterName *string, names []*string) (result *ecs.DescribeTasksOutput, error error)

func DownloadObject

func DownloadObject(svc *s3.S3, name string, key string, filePath *string) (error error)

func ExecuteChangeSet

func ExecuteChangeSet(svc *cloudformation.CloudFormation, stackName string, changeSetName string) (result *cloudformation.ExecuteChangeSetOutput, error error)

func GetAcmList

func GetAcmList(svc *acm.ACM) (result *acm.ListCertificatesOutput, error error)

func GetBucketList

func GetBucketList(s3Svc *s3.S3) (result *s3.ListBucketsOutput, error error)

func GetEC2Instances

func GetEC2Instances(ec2Svc *ec2.EC2) (result *ec2.DescribeInstancesOutput, error error)

func GetEC2Keypair

func GetEC2Keypair(ec2Svc *ec2.EC2) (result *ec2.DescribeKeyPairsOutput, error error)

func GetEC2NameMap

func GetEC2NameMap(svc *ec2.EC2) (list *map[string]string, error error)

func GetEcrImages

func GetEcrImages(svc *ecr.ECR, repo string) (result *ecr.DescribeImagesOutput, error error)

func GetHostedZones

func GetHostedZones(route53Svc *route53.Route53) (result *route53.ListHostedZonesOutput, error error)

func GetLambdaFunction

func GetLambdaFunction(svc *lambda.Lambda, name string) (result *lambda.GetFunctionOutput, error error)

func GetLambdas

func GetLambdas(svc *lambda.Lambda) (result *lambda.ListFunctionsOutput, error error)

func GetLbList

func GetLbList(elbv2Svc *elbv2.ELBV2) (result *elbv2.DescribeLoadBalancersOutput, error error)

func GetListeners

func GetListeners(elbv2Svc *elbv2.ELBV2, arn string) (result *elbv2.DescribeListenersOutput, error error)

func GetLogEvents

func GetLogEvents(svc *cloudwatchlogs.CloudWatchLogs, name string, stream string, nextToken string, startFromHead bool, startTime int64) (result *cloudwatchlogs.GetLogEventsOutput, error error)

func GetLogStreams

func GetLogStreams(svc *cloudwatchlogs.CloudWatchLogs, name string) (result *cloudwatchlogs.DescribeLogStreamsOutput, error error)

func GetRecordSets

func GetRecordSets(route53Svc *route53.Route53, zone string) (result *route53.ListResourceRecordSetsOutput, error error)

func GetRepositories

func GetRepositories(svc *ecr.ECR) (result *ecr.DescribeRepositoriesOutput, error error)

func GetSecretValue

func GetSecretValue(svc *secretsmanager.SecretsManager, arn string) (result *secretsmanager.GetSecretValueOutput, error error)

func GetSecrets

func GetSecrets(svc *secretsmanager.SecretsManager) (result *secretsmanager.ListSecretsOutput, error error)

func GetSecurityGroups

func GetSecurityGroups(ec2Svc *ec2.EC2) (result *ec2.DescribeSecurityGroupsOutput, error error)

func GetStackDescription

func GetStackDescription(svc *cloudformation.CloudFormation, name string) (result *cloudformation.DescribeStacksOutput, error error)

func GetStackEvent

func GetStackEvent(svc *cloudformation.CloudFormation, name string) (result *cloudformation.DescribeStackEventsOutput, error error)

func GetStacks

func GetStacks(svc *cloudformation.CloudFormation) (result *cloudformation.ListStacksOutput, error error)

func GetSubnets

func GetSubnets(ec2Svc *ec2.EC2) (result *ec2.DescribeSubnetsOutput, error error)

func GetTargetGroups

func GetTargetGroups(elbv2Svc *elbv2.ELBV2) (result *elbv2.DescribeTargetGroupsOutput, error error)

func GetTemplate

func GetTemplate(svc *cloudformation.CloudFormation, name string) (result *cloudformation.GetTemplateOutput, error error)

func GetVPC

func GetVPC(ec2Svc *ec2.EC2) (result *ec2.DescribeVpcsOutput, error error)

func ImportCertificates

func ImportCertificates(svc *acm.ACM, cert *model.Certificates, name string) (result *acm.ImportCertificateOutput, error error)

func ListECSClusters

func ListECSClusters(svc *ecs.ECS) (result *ecs.DescribeClustersOutput, error error)

func ListECSServices

func ListECSServices(svc *ecs.ECS, name string) (result *ecs.DescribeServicesOutput, error error)

func ListECSTasks

func ListECSTasks(svc *ecs.ECS, name string) (result *ecs.DescribeTasksOutput, error error)

func ListObjects

func ListObjects(svc *s3.S3, name string, marker string) (result *s3.ListObjectsOutput, error error)

func ListSSM

func ListSSM(svc *ssm.SSM, nameMap *map[string]string) (result *ssm.DescribeInstanceInformationOutput, error error)

func RebootEC2Instance

func RebootEC2Instance(ec2Svc *ec2.EC2, instanceID string) (result *ec2.RebootInstancesOutput, error error)

func StartEC2Instance

func StartEC2Instance(ec2Svc *ec2.EC2, instanceID string) (result *ec2.StartInstancesOutput, error error)

func StartSession

func StartSession(svc *ssm.SSM, instanceID *string) (result *ssm.StartSessionOutput, error error)

func StopEC2Instance

func StopEC2Instance(ec2Svc *ec2.EC2, instanceID string) (result *ec2.StopInstancesOutput, error error)

func TerminateEC2Instance

func TerminateEC2Instance(ec2Svc *ec2.EC2, instanceID string) (result *ec2.TerminateInstancesOutput, error error)

func UpdateECSService

func UpdateECSService(svc *ecs.ECS, serviceName *string, clusterName *string) (result *ecs.UpdateServiceOutput, error error)

func UpdateStack

func UpdateStack(svc *cloudformation.CloudFormation, stackName string, template *string) (result *cloudformation.CreateChangeSetOutput, error error)

func UpdateTerminationProtection

func UpdateTerminationProtection(svc *cloudformation.CloudFormation, name string, status bool) (result *cloudformation.UpdateTerminationProtectionOutput, error error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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