dockerfile

package
v4.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: MIT Imports: 8 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
}

Client represents an active dockerfile object

func New

func New(opts Options) (*Client, error)

New initializes a new dockerfile client

func (*Client) FromImages

func (c *Client) FromImages() (Images, error)

FromImages returns external images found in Dockerfile

type Image

type Image struct {
	Name     string
	Code     string
	Comments []string
	Line     int
}

type Images

type Images []Image

type Options

type Options struct {
	Filename string
}

Options holds dockerfile client object options

Jump to

Keyboard shortcuts

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