Documentation ¶
Overview ¶
Package signer facilitates the generation of signed GCS URLS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer facilitates the generation of signed GCS URLS.
func NewFromEnv ¶
NewFromEnv constructs a Signer from the GOOGLE_APPLICATION_CREDENTIALS set in the working environment.
func (Signer) Contents ¶
Contents returns the raw contents of the named GCS object. It is expected that these are argo workflow artifacts either single files tar gzip'd or plain files.
func (Signer) Generate ¶
Generate generates a url that can be used to download the given GCS object for some amount of time.
This is accomplished by creating a GCS signed URL. For more information see: https://cloud.google.com/storage/docs/access-control/signed-urls
Click to show internal directories.
Click to hide internal directories.