release

package
v0.0.0-...-9fdca5f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Release

func Release(requestParams kutil.RequestParameters, authParams kutil.AuthenticationParameters, params ReleaseParameters) error

calls the Release endpoint with the specified parameters this function might be used in the future for programmatic interaction with Kuberpult, hence its separation

Types

type ReleaseParameters

type ReleaseParameters struct {
	Application          string
	Manifests            map[string][]byte // key is name of the environment and value is the manifest file name
	Signatures           map[string][]byte // key is name of the environment and value is the signature file name
	Team                 *string
	SourceCommitId       *string
	PreviousCommitId     *string
	SourceAuthor         *string
	SourceMessage        *string
	Version              *uint64
	DisplayVersion       *string
	CiLink               *string
	UseDexAuthentication bool
	IsPrepublish         bool
}

a representation of the parameters of the /release endpoint

func ParseArgs

func ParseArgs(args []string) (*ReleaseParameters, error)

parses the command line flags provided to the release subcommand (not including the release subcommand itself) into a struct that can be passed to the Release function

Jump to

Keyboard shortcuts

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