parser

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

parser module

This module decode KubeFile to image spec metadata

Documentation

Index

Constants

View Source
const (
	Run  = "RUN"
	Cmd  = "CMD"
	Copy = "COPY"
	From = "FROM"
	Arg  = "ARG"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Parse(kubeFile []byte) (*v1.Image, error)
}

func NewParse

func NewParse() Interface

type Parser

type Parser struct{}

func (*Parser) Parse

func (p *Parser) Parse(kubeFile []byte) (*v1.Image, error)

Jump to

Keyboard shortcuts

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