executor

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 32 Imported by: 1 module, 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 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

CheckPushPermissionos 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