Documentation ¶
Index ¶
- Constants
- func CalculateDependencies(opts *config.KanikoOptions) (map[int][]string, error)
- func CheckPushPermissions(opts *config.KanikoOptions) error
- func DoBuild(opts *config.KanikoOptions) (v1.Image, error)
- func DoPush(image v1.Image, opts *config.KanikoOptions) error
- func HashDir(p string) (string, error)
- type CompositeCache
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
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.