Documentation ¶
Index ¶
Constants ¶
const ServiceName = "ecr"
A ServiceName is the name of the service the client will make API calls to.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationData ¶
type AuthorizationData struct { AuthorizationToken *string `locationName:"authorizationToken" type:"string"` ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unix"` ProxyEndpoint *string `locationName:"proxyEndpoint" type:"string"` // contains filtered or unexported fields }
func (AuthorizationData) GoString ¶
func (s AuthorizationData) GoString() string
GoString returns the string representation
func (AuthorizationData) String ¶
func (s AuthorizationData) String() string
String returns the string representation
type ECR ¶
The service client's operations are safe to be used concurrently. It is not safe to mutate any of the client's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECR
New creates a new instance of the ECR client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a ECR client from just a session. svc := ecr.New(mySession) // Create a ECR client with additional configuration svc := ecr.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*ECR) GetAuthorizationToken ¶
func (c *ECR) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)
func (*ECR) GetAuthorizationTokenRequest ¶
func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)
GetAuthorizationTokenRequest generates a request for the GetAuthorizationToken operation.
type GetAuthorizationTokenInput ¶
type GetAuthorizationTokenInput struct { RegistryIds []*string `locationName:"registryIds" type:"list"` // contains filtered or unexported fields }
func (GetAuthorizationTokenInput) GoString ¶
func (s GetAuthorizationTokenInput) GoString() string
GoString returns the string representation
func (GetAuthorizationTokenInput) String ¶
func (s GetAuthorizationTokenInput) String() string
String returns the string representation
type GetAuthorizationTokenOutput ¶
type GetAuthorizationTokenOutput struct { AuthorizationData []*AuthorizationData `locationName:"authorizationData" type:"list"` // contains filtered or unexported fields }
func (GetAuthorizationTokenOutput) GoString ¶
func (s GetAuthorizationTokenOutput) GoString() string
GoString returns the string representation
func (GetAuthorizationTokenOutput) String ¶
func (s GetAuthorizationTokenOutput) String() string
String returns the string representation