krci

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitServerService

type GitServerService struct {
	// contains filtered or unexported fields
}

func NewGitServerService

func NewGitServerService(k8sClinet client.Client, namespace string) *GitServerService

func (*GitServerService) GetGitProviderSettings

func (g *GitServerService) GetGitProviderSettings(
	ctx context.Context,
	gitServerName string,
) (GitServerSettings, error)

func (*GitServerService) GetGitProviderSettingsList

func (g *GitServerService) GetGitProviderSettingsList(ctx context.Context) ([]GitServerSettings, error)

GetGitProviderSettingsList returns a list of GitProviderSettings for all GitServers in the namespace.

type GitServerSettings

type GitServerSettings struct {
	Url           string
	Token         string
	GitProvider   string
	GitServerName string
}

Jump to

Keyboard shortcuts

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