Documentation ¶
Index ¶
- func CLI(ctx context.Context, args []string) (int, error)
- type App
- func (app *App) Deploy(ctx context.Context, opts *DeployOption) error
- func (app *App) Diff(ctx context.Context, opts *DiffOption) error
- func (app *App) Init(ctx context.Context, opts *InitOption) error
- func (app *App) Log(f string, v ...any)
- func (app *App) Render(ctx context.Context, opts *RenderOption) error
- type AuthenticationConfiguration
- type CodeConfiguration
- type CodeConfigurationValues
- type CodeRepository
- type DeployOption
- type DiffOption
- type EgressConfiguration
- type EncryptionConfiguration
- type GlobalOptions
- type HealthCheckConfiguration
- type ImageConfiguration
- type ImageRepository
- type IngressConfiguration
- type InitOption
- type InstanceConfiguration
- type NetworkConfiguration
- type RenderOption
- type Service
- type ServiceObservabilityConfiguration
- type SourceCodeVersion
- type SourceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeConfiguration ¶
type CodeConfiguration struct { CodeConfigurationValues *CodeConfigurationValues `json:",omitempty"` ConfigurationSource types.ConfigurationSource `json:",omitempty"` }
type CodeConfigurationValues ¶
type CodeRepository ¶
type CodeRepository struct { CodeConfiguration *CodeConfiguration `json:",omitempty"` RepositoryUrl *string `json:",omitempty"` SourceCodeVersion *SourceCodeVersion `json:",omitempty"` }
type DeployOption ¶
type DeployOption struct {
GlobalOptions
}
func (*DeployOption) Install ¶
func (opts *DeployOption) Install(set *flag.FlagSet)
type DiffOption ¶
type DiffOption struct {
GlobalOptions
}
func (*DiffOption) Install ¶
func (opts *DiffOption) Install(set *flag.FlagSet)
type EgressConfiguration ¶
type EgressConfiguration struct { EgressType types.EgressType VpcConnectorArn *string }
type EncryptionConfiguration ¶
type EncryptionConfiguration struct {
KmsKey *string
}
type GlobalOptions ¶
type GlobalOptions struct { Region string Profile string Debug bool ConfigPath string ExtStr keyValuesOptions ExtCode keyValuesOptions }
func (*GlobalOptions) Install ¶
func (opts *GlobalOptions) Install(set *flag.FlagSet)
type ImageConfiguration ¶
type ImageRepository ¶
type ImageRepository struct { ImageConfiguration *ImageConfiguration `json:",omitempty"` ImageIdentifier *string `json:",omitempty"` ImageRepositoryType types.ImageRepositoryType `json:",omitempty"` }
type IngressConfiguration ¶
type IngressConfiguration struct {
IsPubliclyAccessible bool
}
type InitOption ¶
type InitOption struct { GlobalOptions ServiceArn string ServiceName string }
func (*InitOption) Install ¶
func (opts *InitOption) Install(set *flag.FlagSet)
type InstanceConfiguration ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { // Network configuration settings for outbound message traffic. EgressConfiguration *EgressConfiguration `json:",omitempty"` // Network configuration settings for inbound message traffic. IngressConfiguration *IngressConfiguration `json:",omitempty"` }
type RenderOption ¶
type RenderOption struct {
GlobalOptions
}
func (*RenderOption) Install ¶
func (opts *RenderOption) Install(set *flag.FlagSet)
type Service ¶
type Service struct { ServiceName *string `json:",omitempty"` SourceConfiguration *SourceConfiguration `json:",omitempty"` AutoScalingConfigurationArn *string `json:",omitempty"` EncryptionConfiguration *EncryptionConfiguration `json:",omitempty"` HealthCheckConfiguration *HealthCheckConfiguration `json:",omitempty"` InstanceConfiguration *InstanceConfiguration `json:",omitempty"` NetworkConfiguration *NetworkConfiguration `json:",omitempty"` ObservabilityConfiguration *ServiceObservabilityConfiguration `json:",omitempty"` }
type SourceCodeVersion ¶
type SourceCodeVersion struct { Type types.SourceCodeVersionType `json:",omitempty"` Value *string `json:",omitempty"` }
type SourceConfiguration ¶
type SourceConfiguration struct { AuthenticationConfiguration *AuthenticationConfiguration `json:",omitempty"` AutoDeploymentsEnabled *bool `json:",omitempty"` CodeRepository *CodeRepository `json:",omitempty"` ImageRepository *ImageRepository `json:",omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.