publish

package
v0.0.0-...-008b4a6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, args Arguments) error

Execute is the entrypoint for the publish command execution.

Types

type Arguments

type Arguments struct {
	Repository      string
	ArtifactPath    string
	ArtifactID      string
	GroupID         string
	Version         string
	Verbose         bool
	IsBuildArtifact string
	ResultsPath     string
}

func ParseArgs

func ParseArgs(f *pflag.FlagSet) (Arguments, error)

ParseArgs parses the arguments passed to the publish command.

type Provenance

type Provenance struct {
	URI             string `json:"uri"`
	Digest          string `json:"digest"`
	IsBuildArtifact string `json:"isBuildArtifact"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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