awsdoc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

DO NOT EDIT This file was automatically generated with go generate

Index

Constants

This section is empty.

Variables

View Source
var CommandDefinitionsDoc = map[string]string{
	"copy.image":                 "Copy an EC2 image from given source region to current awless region",
	"create.classicloadbalancer": "Create a ELB Classic Loadbalancer (recommended only for EC2 Classic instances).\n\nYou should favor newer AWS load balancers. See `awless create loadbalancer -h`.",
}
View Source
var EnumDoc = map[string][]string{}/* 116 elements not displayed */
View Source
var ParamTypeDoc = map[string]*ParamType{
	"attach.mfadevice.user": {ResourceType: cloud.User, PropertyName: properties.Name},

	"attach.policy.group": {ResourceType: cloud.Group, PropertyName: properties.Name},
	"attach.policy.role":  {ResourceType: cloud.Role, PropertyName: properties.Name},
	"attach.policy.user":  {ResourceType: cloud.User, PropertyName: properties.Name},
	"attach.policy.arn":   {ResourceType: cloud.Policy, PropertyName: properties.Arn},

	"attach.user.name":  {ResourceType: cloud.User, PropertyName: properties.Name},
	"attach.user.group": {ResourceType: cloud.Group, PropertyName: properties.Name},

	"attach.role.instanceprofile": {ResourceType: cloud.InstanceProfile, PropertyName: properties.Name},

	"create.accesskey.user": {ResourceType: cloud.User, PropertyName: properties.Name},

	"create.instance.role": {ResourceType: cloud.Role, PropertyName: properties.Name},

	"create.record.values": {ResourceType: cloud.Record, PropertyName: properties.Records},

	"delete.policy.arn":   {ResourceType: cloud.Policy, PropertyName: properties.Arn},
	"detach.policy.arn":   {ResourceType: cloud.Policy, PropertyName: properties.Arn},
	"detach.policy.group": {ResourceType: cloud.Group, PropertyName: properties.Name},
	"detach.policy.role":  {ResourceType: cloud.Role, PropertyName: properties.Name},
	"detach.policy.user":  {ResourceType: cloud.User, PropertyName: properties.Name},

	"detach.role.instanceprofile": {ResourceType: cloud.InstanceProfile, PropertyName: properties.Name},

	"update.policy.arn": {ResourceType: cloud.Policy, PropertyName: properties.Arn},

	"update.securitygroup.cidr": {ResourceType: cloud.Subnet, PropertyName: properties.CIDR},
}

Functions

func AwlessCommandDefinitionsDoc added in v0.1.9

func AwlessCommandDefinitionsDoc(action, entity, fallbackDef string) string

func AwlessExamplesDoc added in v0.1.3

func AwlessExamplesDoc(action, entity string) string

func TemplateParamsDoc

func TemplateParamsDoc(action, entity, param string) (string, bool)

func TemplateParamsDocWithEnums added in v0.1.9

func TemplateParamsDocWithEnums(action, entity, param string) (string, bool)

Types

type ParamType added in v0.1.7

type ParamType struct {
	ResourceType, PropertyName string
}

Jump to

Keyboard shortcuts

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