Documentation
¶
Overview ¶
Package apprunner provides a client to make API requests to AppRunner Service.
Package apprunner provides a client to make API requests to AppRunner Service.
Index ¶
- func DetermineImageRepositoryType(imageIdentifier string) (string, error)
- func ImageIsSupported(imageIdentifier string) bool
- func LogGroupName(svcARN string) (string, error)
- func ParseServiceID(svcARN string) (string, error)
- func ParseServiceName(svcARN string) (string, error)
- func SystemLogGroupName(svcARN string) (string, error)
- type AppRunner
- func (a *AppRunner) DescribeOperation(operationId, svcARN string) (*apprunner.OperationSummary, error)
- func (a *AppRunner) DescribeService(svcARN string) (*Service, error)
- func (a *AppRunner) PauseService(svcARN string) error
- func (a *AppRunner) ResumeService(svcARN string) error
- func (a *AppRunner) ServiceARN(svc string) (string, error)
- type EnvironmentVariable
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineImageRepositoryType ¶
DetermineImageRepositoryType returns the App Runner ImageRepositoryType enum value for the provided image identifier, or returns an error if the imageIdentifier is not supported by App Runner or the ImageRepositoryType cannot be determined.
func ImageIsSupported ¶
ImageIsSupported returns true if the image identifier is supported by App Runner.
func LogGroupName ¶
LogGroupName returns the log group name given the app runner service's name. An application log group is formatted as "/aws/apprunner/<svcName>/<svcID>/application".
func ParseServiceID ¶
ParseServiceID returns the service id. For example: arn:aws:apprunner:us-west-2:1234567890:service/my-service/fc1098ac269245959ba78fd58bdd4bf will return fc1098ac269245959ba78fd58bdd4bf
func ParseServiceName ¶
ParseServiceName returns the service name. For example: arn:aws:apprunner:us-west-2:1234567890:service/my-service/fc1098ac269245959ba78fd58bdd4bf will return my-service
func SystemLogGroupName ¶
SystemLogGroupName returns the service log group name given the app runner service's name. A service log group is formatted as "/aws/apprunner/<svcName>/<svcID>/service".
Types ¶
type AppRunner ¶
type AppRunner struct {
// contains filtered or unexported fields
}
AppRunner wraps an AWS AppRunner client.
func (*AppRunner) DescribeOperation ¶
func (a *AppRunner) DescribeOperation(operationId, svcARN string) (*apprunner.OperationSummary, error)
DescribeOperation return OperationSummary for given OperationId and ServiceARN.
func (*AppRunner) DescribeService ¶
DescribeService returns a description of an AppRunner service given its ARN.
func (*AppRunner) PauseService ¶
PauseService pause the running App Runner service.
func (*AppRunner) ResumeService ¶
ResumeService resumes a paused App Runner service.