github

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitProvider

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

func CreateGitProvider

func CreateGitProvider(ctx context.Context,
	logger log.Logger,
	cfg GitProviderConfig,
	parser application.JobParser,
	keyRepo application.KeyRepo) (*GitProvider, error)

func (*GitProvider) FetchDesiredState

func (g *GitProvider) FetchDesiredState(ctx context.Context, src *domain.Source) (*application.DesiredState, error)

type GitProviderConfig

type GitProviderConfig struct {
	ReposDir string
}

Jump to

Keyboard shortcuts

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