providers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOCKER_BINARY  = "docker"
	CONTAINER_NAME = "container"
	TAG_NAME       = "tag"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerReleaser

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

func NewDockerReleaser

func NewDockerReleaser(
	ctx run.RunContext,
	project project.Project,
	name string,
	force bool,
) (*DockerReleaser, error)

NewDockerReleaser creates a new Docker releaser.

func (*DockerReleaser) Release

func (r *DockerReleaser) Release() error

type GithubClient

type GithubClient interface {
	RepositoriesGetReleaseByTag(ctx context.Context, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error)
}

type GithubReleaser

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

func NewGithubReleaser

func NewGithubReleaser(
	ctx run.RunContext,
	project project.Project,
	name string,
	force bool,
) (*GithubReleaser, error)

func (*GithubReleaser) Release

func (r *GithubReleaser) Release() error

type GithubReleaserConfig

type GithubReleaserConfig struct {
	Token schema.Secret `json:"token"`
}

Jump to

Keyboard shortcuts

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