registry

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

package registry encapsulates access to AWS ECR, returning entities provided by package model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

type Session wraps a configured/authenticated ECR API session.

func NewSession

func NewSession(region string) *Session

func NewSession creates a Session for the given AWS region e.g. "us-east-1".

func (*Session) DeleteImages

func (s *Session) DeleteImages(repo string, images model.Images) (*model.DeleteImagesResult, error)

func DeleteImages performs a BatchDeleteImage operation for the listed images in the specified repository.

func (*Session) Images

func (s *Session) Images(repo string) (model.Images, error)

func Images returns a detailed list of all images in the specified repository.

Jump to

Keyboard shortcuts

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