gitprovider

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfAliasExists added in v0.48.0

func CheckIfAliasExists(alias string, initialAlias *string, existingAliases []string) error

func CommitSigningNotSupported added in v0.48.0

func CommitSigningNotSupported(gitProviderId string) bool

func GitProviderCreationView added in v0.38.0

func GitProviderCreationView(ctx context.Context, apiClient *apiclient.APIClient, gitProviderAddView *apiclient.SetGitProviderConfig, existingAliases []string, flags map[string]string) error

func IsValidSSHKey added in v0.48.0

func IsValidSSHKey(key string) error

func ProviderRequiresApiUrl added in v0.48.0

func ProviderRequiresApiUrl(gitProviderId string) bool

func ProviderRequiresUsername added in v0.48.0

func ProviderRequiresUsername(gitProviderId string) bool

func ValidateSigningMethodAndKey added in v0.48.0

func ValidateSigningMethodAndKey(signingMethod string, signingKey, providerId string) error

Types

type GitProviderView added in v0.11.0

type GitProviderView struct {
	Id            string
	ProviderId    string
	Name          string
	Username      string
	BaseApiUrl    string
	Token         string
	Alias         string
	SigningMethod string
	SigningKey    string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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