package
0.0.0-20241013153203-98ee882f3fe0
Repository: https://github.com/g4ze/byoc.git
Documentation: pkg.go.dev

# Functions

this also needs to work on cluster arn and not cluster name.
No description provided by the author
CreateCluster creates a cluster if clustername doesnt already exists.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
creates a new task defination if the task defination with the same faily exists, it makes a new revision on it.
vestigial func func DeleteLoadBalancer(elbSvc *elbv2.ELBV2, Image string) { // delete load balancer loadBalancerName := generateName("", Image, "lb") log.Printf("Deleting load balancer %s", loadBalancerName) loadBalancerList, err := elbSvc.DescribeLoadBalancers(&elbv2.DescribeLoadBalancersInput{ Names: []*string{&loadBalancerName}, }) if err != nil { log.Printf("Unable to describe load balancer: %v", err) } for _, lb := range loadBalancerList.LoadBalancers { log.Printf("LB name %v", *lb.LoadBalancerName) if *lb.LoadBalancerName == loadBalancerName { log.Printf("Deleting load balancer %s", *lb.LoadBalancerArn) _, err := elbSvc.DeleteLoadBalancer(&elbv2.DeleteLoadBalancerInput{ LoadBalancerArn: lb.LoadBalancerArn, }) if err != nil { log.Printf("Unable to delete load balancer: %v", err) return } else { log.Printf("Load balancer %s deleted", loadBalancerName) } } } }.
No description provided by the author
start using ars you stupid human.
No description provided by the author
No description provided by the author
No description provided by the author
function deregisters all the revisions of a task defination and then deletes the task defination.
No description provided by the author
No description provided by the author
No description provided by the author