native

package
v0.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Overview

Package native provides the ability for Vela to reconstruct a yaml configuration into an executable pipeline.

Usage:

import "github.com/go-vela/compiler/compiler/native"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx *cli.Context) (*client, error)

New returns a Pipeline implementation that integrates with the supported registries.

func ParseBytes

func ParseBytes(b []byte) (*types.Build, error)

ParseBytes converts a byte slice to a yaml configuration.

func ParseFile

func ParseFile(f *os.File) (*types.Build, error)

ParseFile converts an os.File into a yaml configuration.

func ParsePath

func ParsePath(p string) (*types.Build, error)

ParsePath converts a file path into a yaml configuration.

func ParseReader

func ParseReader(r io.Reader) (*types.Build, error)

ParseReader converts an io.Reader into a yaml configuration.

func ParseString

func ParseString(s string) (*types.Build, error)

ParseString converts a string into a yaml configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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