build

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 36 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, messages buildclient.Messages, pushRepo, buildNamespace string, opts v1.AcornImageBuildInstanceSpec, keychain authn.Keychain, remoteOpts ...remote.Option) (*v1.AppImage, error)

func ParsePlatforms

func ParsePlatforms(platforms []string) (result []v1.Platform, _ error)

func ResolveAndParse

func ResolveAndParse(file string) (*appdefinition.AppDefinition, error)

Types

type AppImageOptions

type AppImageOptions struct {
	FullTag       bool
	RemoteOptions []remote.Option
	Keychain      authn.Keychain
}

func (*AppImageOptions) GetFullTag

func (a *AppImageOptions) GetFullTag() bool

func (*AppImageOptions) GetKeychain

func (a *AppImageOptions) GetKeychain() authn.Keychain

func (*AppImageOptions) GetRemoteOptions

func (a *AppImageOptions) GetRemoteOptions() []remote.Option

type RemoteKeyChain

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

func NewRemoteKeyChain

func NewRemoteKeyChain(ctx context.Context, messages buildclient.Messages, next authn.Keychain) *RemoteKeyChain

func (*RemoteKeyChain) Resolve

func (r *RemoteKeyChain) Resolve(resource authn.Resource) (authenticator authn.Authenticator, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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