function

package
Version: v0.0.0-...-f1c27b4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(req []byte) string

Handle accepts an ImageRequest and creates the registry entry if required in a container registry such as ECR using secrets made available through the function.

Types

type ImageRequest

type ImageRequest struct {
	Image string `json:"image"` // Image is the full image path and registry combined

}

ImageRequest requests to create a Docker registry entry

func (ImageRequest) GetRepository

func (r ImageRequest) GetRepository() string

GetRepository returns the name only without the server or tag

Source Files

Jump to

Keyboard shortcuts

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