build

package
v0.9.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

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