Help us shape the future of Go! Take the 2026 Go Developer Survey

gitops

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Shared types, schemas and functions for gitops

Index

Constants

View Source
const (
	// Git providers enum from https://github.com/codefresh-io/argo-platform/blob/90f86de326422ca3bd1f64ca5dd26aeedf985e3e/libs/ql/schema/entities/common/integration.graphql#L200
	GitProviderGitHub          string = "GITHUB"
	GitProviderGerrit          string = "GERRIT"
	GitProviderGitlab          string = "GITLAB"
	GitProviderBitbucket       string = "BITBUCKET"
	GitProviderBitbucketServer string = "BITBUCKET_SERVER"
)

Variables

This section is empty.

Functions

func GetDefaultAPIUrlForProvider

func GetDefaultAPIUrlForProvider(gitProvider string) (*string, error)

Matching implementation for https://github.com/codefresh-io/argo-platform/blob/3c6af5b5cbb29aef58ef6617e71159e882987f5c/libs/git/src/helpers.ts#L37. Must be updated accordingly

func GetSupportedGitProvidersList

func GetSupportedGitProvidersList() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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