ci

package
v0.67.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CIEngine

type CIEngine interface {
	URL() string
	Name() string
}

CIEngine is an interface which allows to detects based on environment variable if Updatecli is executed from a CI environment like Jenkins or GitLab CI

func New

func New() (ci CIEngine, err error)

New returns a newly initialized CIEngine or an error

type GitHubActions

type GitHubActions struct {
}

func (GitHubActions) Name

func (gha GitHubActions) Name() string

func (GitHubActions) URL

func (gha GitHubActions) URL() string

type GitLabCi

type GitLabCi struct {
}

func (GitLabCi) Name

func (g GitLabCi) Name() string

func (GitLabCi) URL

func (g GitLabCi) URL() string

type Jenkins

type Jenkins struct {
}

func (Jenkins) Name

func (j Jenkins) Name() string

func (Jenkins) URL

func (j Jenkins) URL() string

Jump to

Keyboard shortcuts

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