pack

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pack wraps a pack client and is used for building and pushing images

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildRequest

type BuildRequest struct {
	Image      string
	Builder    string
	WorkingDir string
	BuildPacks []string
}

BuildRequest contains parameters for the Build command

type Client

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

Client wrapper around the pack client

func New

func New(out io.Writer) (*Client, error)

func (*Client) BuildAndPushImage

func (c *Client) BuildAndPushImage(ctx context.Context, req BuildRequest) error

BuildAndPushImage builds and pushes an image via pack with the specified parameters in BuildRequest

Jump to

Keyboard shortcuts

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