gitlabci

package
v0.0.0-...-a10d2b9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 6 Imported by: 0

README

GitLab CI/CD

sources

detection

By checking for the presence of the environment variable GITLAB_CI.

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(env map[string]string) 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) map[string]string

Normalize normalizes the environment variables into the common format

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL