Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateECRRepository ¶
func CreateECRRepository(repoName string)
func LoadConfigMapFile ¶
func LoadConfigMapFile(filePath string) *inputtedImages
loadConfigMapFile returns struct for each image repo with tags provided
Types ¶
type DockerHubClient ¶
type DockerHubClient struct { Client *http.Client UserAgent string APIVersion string HubURL *url.URL }
Client for Dockerhub API
func NewHTTPClient ¶
func NewHTTPClient(client *http.Client) *DockerHubClient
NewHTTPClient create new docker client
func (*DockerHubClient) ListTags ¶
func (c *DockerHubClient) ListTags(image string) (*http.Response, error)
ListTags list all image tags
func (*DockerHubClient) NewRequest ¶
func (c *DockerHubClient) NewRequest(method, path string, body interface{}) (*http.Request, error)
NewRequest create new http request
type PolicyDocument ¶
type PolicyDocument struct { Version string Statement []StatementEntry }
PolicyDocument in an IAM Policy
type StatementEntry ¶
type StatementEntry struct { Sid string Effect string Principal PrincipalEntry Action []string }
StatementEntry in an IAM Policy
Click to show internal directories.
Click to hide internal directories.