img

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Registry string
	Username string
}

Client is the type for using img.

func New

func New(registry, username, password string) (*Client, error)

New creates a new Client.

func (Client) SourceToImage

func (c Client) SourceToImage(code string, parameter *types.Parameter) (string, error)

SourceToImage converts the code to the image.

Jump to

Keyboard shortcuts

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