Documentation ¶
Index ¶
- func GetActiveVersion(bucket, object string) string
- func GetObject(ctx context.Context, bucket, object string) *storage.ObjectHandle
- func GetObjectContents(bucket, object string) string
- func GetObjectStdout(bucket, object string)
- func GithubRelease(args GithubArgs) error
- func IncrementVersion(v string) string
- func PubsubPushBuild(project, v string)
- func SetObject(bucket, object, contents string) error
- func SyncDown(bucket, prefix string)
- type BuildCommand
- type GithubArgs
- type GithubTransport
- type KMSArgs
- type ReleaseAsset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActiveVersion ¶
func GetObjectContents ¶
func GetObjectStdout ¶
func GetObjectStdout(bucket, object string)
func GithubRelease ¶
func GithubRelease(args GithubArgs) error
func IncrementVersion ¶
func PubsubPushBuild ¶
func PubsubPushBuild(project, v string)
Types ¶
type BuildCommand ¶
type GithubArgs ¶
type GithubArgs struct {
Owner, Repo, Commit, File, Tag, KeyPath, SignatureFile string
}
type GithubTransport ¶ added in v0.0.2
type GithubTransport struct {
T http.RoundTripper
}
type ReleaseAsset ¶ added in v0.0.2
type ReleaseAsset struct { URL string `json:"url"` BrowserDownloadURL string `json:"browser_download_url"` ID int `json:"id"` NodeID string `json:"node_id"` Name string `json:"name"` Label string `json:"label"` State string `json:"state"` ContentType string `json:"content_type"` Size int `json:"size"` DownloadCount int `json:"download_count"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Uploader struct { Login string `json:"login"` ID int `json:"id"` NodeID string `json:"node_id"` AvatarURL string `json:"avatar_url"` GravatarID string `json:"gravatar_id"` URL string `json:"url"` HTMLURL string `json:"html_url"` FollowersURL string `json:"followers_url"` FollowingURL string `json:"following_url"` GistsURL string `json:"gists_url"` StarredURL string `json:"starred_url"` SubscriptionsURL string `json:"subscriptions_url"` OrganizationsURL string `json:"organizations_url"` ReposURL string `json:"repos_url"` EventsURL string `json:"events_url"` ReceivedEventsURL string `json:"received_events_url"` Type string `json:"type"` SiteAdmin bool `json:"site_admin"` } `json:"uploader"` }
func ReleaseAssetResponse ¶ added in v0.0.2
func ReleaseAssetResponse(res *http.Response) (*ReleaseAsset, error)
Click to show internal directories.
Click to hide internal directories.