gitclient

package
v0.0.0-...-6b84489 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitClient

type GitClient struct {
	Action *action.Action
}

GitClient provides functionality for Git operations

func New

func New(action *action.Action) *GitClient

New creates a new GitClient instance

func (*GitClient) Clone

func (rc *GitClient) Clone(repository *gitrepository.GitRepository) error

func (*GitClient) KeycloakRepository

func (gc *GitClient) KeycloakRepository() (*gitrepository.GitRepository, error)

func (*GitClient) KongRepository

func (gc *GitClient) KongRepository() (*gitrepository.GitRepository, error)

func (*GitClient) PlatformLspRepository

func (gc *GitClient) PlatformLspRepository(branch plumbing.ReferenceName) (*gitrepository.GitRepository, error)

func (*GitClient) ResetHardPullFromOrigin

func (rc *GitClient) ResetHardPullFromOrigin(repository *gitrepository.GitRepository) error

type GitClientManager

type GitClientManager interface {
	Clone(repository *gitrepository.GitRepository) error
	ResetHardPullFromOrigin(repository *gitrepository.GitRepository) error
}

GitClientManager defines the interface for Git repository management

type GitClientRepositoryProvisioner

type GitClientRepositoryProvisioner interface {
	KongRepository() (*gitrepository.GitRepository, error)
	KeycloakRepository() (*gitrepository.GitRepository, error)
	PlatformLspRepository(branch plumbing.ReferenceName) (*gitrepository.GitRepository, error)
}

GitClientRepositoryProvisioner defines the interface for Git repository provisioning

type GitClientRunner

type GitClientRunner interface {
	GitClientRepositoryProvisioner
	GitClientManager
}

GitClientRunner defines the interface for Git client operations

Jump to

Keyboard shortcuts

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