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
Click to show internal directories.
Click to hide internal directories.