executor

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpstreamClientUaKey = "UPSTREAM_CLIENT_TYPE"
)

Variables

This section is empty.

Functions

func CalculateDependencies added in v0.10.0

func CalculateDependencies(opts *config.KanikoOptions) (map[int][]string, error)

func CheckPushPermissions added in v0.10.0

func CheckPushPermissions(opts *config.KanikoOptions) error

CheckPushPermissions checks that the configured credentials can be used to push to every specified destination.

func DoBuild

func DoBuild(opts *config.KanikoOptions) (v1.Image, error)

DoBuild executes building the Dockerfile

func DoPush

func DoPush(image v1.Image, opts *config.KanikoOptions) error

DoPush is responsible for pushing image to the destinations specified in opts

func HashDir added in v0.5.0

func HashDir(p string) (string, error)

HashDir returns a hash of the directory.

Types

type CompositeCache added in v0.5.0

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

CompositeCache is a type that generates a cache key from a series of keys.

func NewCompositeCache added in v0.5.0

func NewCompositeCache(initial ...string) *CompositeCache

NewCompositeCache returns an initialized composite cache object.

func (*CompositeCache) AddKey added in v0.5.0

func (s *CompositeCache) AddKey(k ...string)

AddKey adds the specified key to the sequence.

func (*CompositeCache) AddPath added in v0.5.0

func (s *CompositeCache) AddPath(p string) error

func (*CompositeCache) Hash added in v0.5.0

func (s *CompositeCache) Hash() (string, error)

Hash returns the composite key in a string SHA256 format.

func (*CompositeCache) Key added in v0.5.0

func (s *CompositeCache) Key() string

Key returns the human readable composite key as a string.

Jump to

Keyboard shortcuts

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