Versions in this module Expand all Collapse all v0 v0.4.0 Dec 8, 2020 v0.3.0 Oct 3, 2020 Changes in this version + const AnnotationPrefix + var ErrInvalidAnnotationName = errors.New("invalid annotation name") + func IsErrEmptyAnnotationName(err error) bool + func IsErrHandlerNotFound(err error) bool + func IsErrInvalidAnnotationPrefix(err error) bool + type BindingType string + const TypeEnvVar + const TypeVolumeMount + type Definition interface + Apply func(u *unstructured.Unstructured) (Value, error) + GetPath func() []string + type DefinitionBuilder interface + Build func() (Definition, error) + type ErrEmptyAnnotationName string + func (e ErrEmptyAnnotationName) Error() string + type ErrInvalidAnnotationPrefix string + func (e ErrInvalidAnnotationPrefix) Error() string + type SpecHandler struct + func NewSpecHandler(kubeClient dynamic.Interface, annotationKey string, annotationValue string, ...) (*SpecHandler, error) + func (s *SpecHandler) Handle() (result, error) + type Value interface + Get func() interface{}