Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoBuild ¶
func DoBuild(opts *config.KanikoOptions) (v1.Image, error)
DoBuild executes building the Dockerfile
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.
Click to show internal directories.
Click to hide internal directories.