builddefaults

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProvClaims added in v0.13.0

type ProvClaims struct {
	Token        string `json:"cht"`
	Secure       bool   `json:"chs"`
	URLs         string `json:"chu,omitempty"`
	SRVDomain    string `json:"chsrv,omitempty"`
	ProvDefault  bool   `json:"chpd"`
	ProvRegData  string `json:"chrd,omitempty"`
	ProvFacts    string `json:"chf,omitempty"`
	ProvNatsUser string `json:"chusr,omitempty"`
	ProvNatsPass string `json:"chpwd,omitempty"`

	jwt.StandardClaims
}

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 added in v0.13.0

func (b *Resolver) Configure(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