Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyLifecyclePolicyCmd ¶
type ApplyLifecyclePolicyCmd struct { PolicyFile *os.File `arg:"" required:"" name:"policypath" help:"path of lifecycle policy file"` DryRun bool `name:"dry-run"` }
func (*ApplyLifecyclePolicyCmd) Run ¶
func (c *ApplyLifecyclePolicyCmd) Run(globals *Globals) error
type Globals ¶
type Globals struct { Version VersionFlag `name:"version" alias:"v" help:"print version and quit"` ConfigFile string `name:"config" alias:"c" help:"dprc config file" default:"./dprcconfig.yml" type:"path"` }
type PullCmd ¶
type PullCmdOutput ¶
type PushCmd ¶
type RawConfig ¶
type RawConfig struct { Region string `yaml:"region" json:"region" jsonschema:"required,description=AWS region of dpr resources,example=ap-northeast-1"` PackageStore struct { S3BucketName string `yaml:"s3-bucket-name" json:"s3-bucket-name" jsonschema:"required,description=Amazon S3 bucket name for dpr packages store"` } `yaml:"package-store" json:"package-store"` TagDB struct { DynamoDBTableName string `` /* 136-byte string literal not displayed */ } `yaml:"tag-db" json:"tag-db"` }
type VersionCmd ¶
type VersionCmd struct{}
func (*VersionCmd) Run ¶
func (c *VersionCmd) Run(globals *Globals) error
type VersionFlag ¶
type VersionFlag string
func (VersionFlag) BeforeApply ¶
func (VersionFlag) Decode ¶
func (v VersionFlag) Decode(ctx *kong.DecodeContext) error
func (VersionFlag) IsBool ¶
func (v VersionFlag) IsBool() bool
Click to show internal directories.
Click to hide internal directories.