client

package
v0.0.0-...-b35638e Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func Current

func Current() (*Client, error)

func (*Client) Opts

func (c *Client) Opts() map[string]string

func (*Client) ResolveImageConfig

func (c *Client) ResolveImageConfig(ctx context.Context, ref string) (digest.Digest, []byte, error)

func (*Client) SessionID

func (c *Client) SessionID() string

func (*Client) Solve

func (c *Client) Solve(ctx context.Context, def *opspb.Definition, frontend string, exporterAttr map[string][]byte, final bool) (*Reference, error)

type Reference

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

func (*Reference) ReadFile

func (r *Reference) ReadFile(ctx context.Context, fp string) ([]byte, error)

Jump to

Keyboard shortcuts

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