function

package module
v0.0.0-...-ba939d4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 10 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

Jump to

Keyboard shortcuts

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