scm

package
v0.0.0-...-2f32780 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	RunnerToken() (string, error)
	RunnerSetup() ([]string, error)
	RunnerVersion() (string, error)
	Platform() string
	Organization() string
	Repository() string
	Token() string
	TeamSSHKeys(string) ([]string, error)
	SetLabels([]string)

	RemoveRunner(string) error
}

func NewProvider

func NewProvider(ctx context.Context, logger *slog.Logger, o *ProviderOptions) (Provider, error)

type ProviderOptions

type ProviderOptions struct {
	SCMPlatform
	Labels []string
}

type SCMPlatform

type SCMPlatform struct {
	Platform     string
	Organization string
	Repository   *string
	Token        string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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