ecr

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 6 Imported by: 0

Documentation

Overview

Package ecr helps generate clients to talk to the ECR API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECRFactory

type ECRFactory interface {
	GetClient(region, endpointOverride string) ECRSDK
}

func NewECRFactory

func NewECRFactory(acceptInsecureCert bool) ECRFactory

NewECRFactory returns an ECRFactory capable of producing ECRSDK clients

type ECRSDK

type ECRSDK interface {
	GetAuthorizationToken(*ecrapi.GetAuthorizationTokenInput) (*ecrapi.GetAuthorizationTokenOutput, error)
}

ECRSDK is an interface that specifies the subset of the AWS Go SDK's ECR client that the Agent uses. This interface is meant to allow injecting a mock for testing.

Directories

Path Synopsis
ecr

Jump to

Keyboard shortcuts

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