builddefaults

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBuildBasedOnJWT added in v0.27.0

func SetBuildBasedOnJWT(r io.Reader, bi *build.Info) (*tokens.ProvisioningClaims, error)

SetBuildBasedOnJWT sets build settings based on contents of a JWT file

Types

type Resolver

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

Resolver resolve names against the compile time build properties

func Provider

func Provider() *Resolver

Provider creates an instance of the provider

func (*Resolver) Configure

func (b *Resolver) Configure(ctx context.Context, cfg *config.Config, log *logrus.Entry)

Configure overrides build settings using the contents of the JWT

func (*Resolver) Name

func (b *Resolver) Name() string

Name is te name of the resolver

func (*Resolver) Targets

func (b *Resolver) Targets(ctx context.Context, log *logrus.Entry) []string

Targets are the build time configured provisioners

Jump to

Keyboard shortcuts

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