Documentation ¶
Index ¶
- Constants
- func BuildCommand(workflow string, info ImageInfo) string
- func GetUniqueTag(version string, build int) string
- type BuildsResponse
- type Change
- type DockerImage
- type DockerTag
- type DockerTagsResponse
- type Download
- type Event
- type ImageInfo
- type ProjectBase
- type ProjectResponse
- type VersionBuild
- type VersionFamilyBuild
- type VersionFamilyBuildsResponse
- type VersionFamilyResponse
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func BuildCommand ¶
func GetUniqueTag ¶
Types ¶
type BuildsResponse ¶
type BuildsResponse struct { ProjectBase Version string `json:"version"` Builds []VersionBuild `json:"builds"` }
type DockerImage ¶
type DockerImage struct { Architecture string `json:"architecture"` Digest string `json:"digest"` Features string `json:"features"` LastPulled time.Time `json:"last_pulled"` LastPushed time.Time `json:"last_pushed"` Os string `json:"os"` OsFeatures string `json:"os_features"` OsVersion string `json:"os_version"` Size int `json:"size"` Status string `json:"status"` Variant string `json:"variant"` }
type DockerTag ¶
type DockerTag struct { Creator int `json:"creator"` FullSize int `json:"full_size"` Id int `json:"id"` ImageId int `json:"image_id"` Images []DockerImage `json:"images"` LastUpdated time.Time `json:"last_updated"` LastUpdater int `json:"last_updater"` LastUpdaterUsername string `json:"last_updater_username"` Name string `json:"name"` Repository int `json:"repository"` TagLastPulled time.Time `json:"tag_last_pulled"` TagLastPushed time.Time `json:"tag_last_pushed"` TagStatus string `json:"tag_status"` V2 bool `json:"v2"` }
func GetExistingTags ¶
type DockerTagsResponse ¶
type ImageInfo ¶
func BuildImageInfo ¶
func BuildImageInfo(builds []VersionFamilyBuild, existingTags []string, event Event) []ImageInfo
type ProjectBase ¶
type ProjectResponse ¶
type ProjectResponse struct { ProjectBase VersionGroups []string `json:"version_groups"` Versions []string `json:"versions"` }
type VersionBuild ¶
type VersionFamilyBuild ¶
type VersionFamilyBuild struct { VersionBuild Version string `json:"version"` }
type VersionFamilyBuildsResponse ¶
type VersionFamilyBuildsResponse struct { VersionFamilyResponse Builds []VersionFamilyBuild `json:"builds"` }
type VersionFamilyResponse ¶
type VersionFamilyResponse struct { ProjectBase VersionGroup string `json:"version_group"` Versions []string `json:"versions"` }
Click to show internal directories.
Click to hide internal directories.