build

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, c client.Client) (*client.Result, error)

Build is the "core" of the frontend. From the client, it parses the options, get the resources, translate them to BuildKit LLB and "solve" it (aka send it to BuildKit).

func GetContextResources

func GetContextResources(ctx context.Context, c client.Client) ([]string, error)

GetContextResources reads all yamls from the context and returns it as an array of string.

func GetTektonResource

func GetTektonResource(ctx context.Context, c client.Client) (string, error)

GetTektonResource reads the specified tekton resource (TaskRun, Pipeline today), and returns it as a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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