Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Normalizer ¶
type Normalizer struct {
// contains filtered or unexported fields
}
Normalizer is the implementation of the normalizer
func NewNormalizer ¶
func NewNormalizer() Normalizer
NewNormalizer gets a instance of the normalizer
func (Normalizer) Check ¶
func (n Normalizer) Check(env map[string]string) bool
Check if this package can handle the current environment
func (Normalizer) Denormalize ¶
func (n Normalizer) Denormalize(spec ncispec.NormalizeCISpec) map[string]string
func (Normalizer) GetName ¶
func (n Normalizer) GetName() string
GetName returns the name of the normalizer
func (Normalizer) GetSlug ¶
func (n Normalizer) GetSlug() string
GetSlug returns the slug of the normalizer
func (Normalizer) Normalize ¶
func (n Normalizer) Normalize(env map[string]string) ncispec.NormalizeCISpec
Normalize normalizes the environment variables into the common format
Click to show internal directories.
Click to hide internal directories.