Documentation
¶
Index ¶
Constants ¶
View Source
const BaseUrl = "https://registry.hub.docker.com"
View Source
const UserAgent = "apidoc:0.11.27 http://www.apidoc.me/flow/docker-registry/0.0.4/go_1_5_client"
View Source
const Version = "0.0.4"
View Source
const VersionMajor = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
RepoWebUrl string `json:"repo_web_url"`
}
func BuildFromJson ¶
func BuildFromMap ¶
func BuildFromMap(data interface{}) Build
type BuildForm ¶
type BuildForm struct {
Active string `json:"active"`
BuildTags []BuildTag `json:"build_tags"`
Description string `json:"description"`
DockerhubRepoName string `json:"dockerhub_repo_name"`
IsPrivate string `json:"is_private"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Provider string `json:"provider"`
VcsRepoName string `json:"vcs_repo_name"`
}
func BuildFormFromJson ¶
func BuildFormFromMap ¶
func BuildFormFromMap(data interface{}) BuildForm
type BuildTag ¶
type BuildTag struct {
DockerfileLocation string `json:"dockerfile_location"`
Name string `json:"name"`
SourceName string `json:"source_name"`
SourceType string `json:"source_type"`
Id int64 `json:"id,omitempty"`
}
func BuildTagFromJson ¶
func BuildTagFromMap ¶
func BuildTagFromMap(data interface{}) BuildTag
type ClientRequestBody ¶
type ClientRequestBody struct {
// contains filtered or unexported fields
}
type Deploykey ¶
type Deploykey struct {
Provider string `json:"provider,omitempty"`
ProviderKeyId string `json:"provider_key_id,omitempty"`
PublicKey string `json:"public_key,omitempty"`
}
func DeploykeyFromJson ¶
func DeploykeyFromMap ¶
func DeploykeyFromMap(data interface{}) Deploykey
type DockerRepositoriesPostAutobuildResponse ¶
type DockerRepositoriesPostAutobuildResponse struct {
StatusCode int
Response *http.Response
Error error
Build Build
}
func DockerRepositoriesPostAutobuild ¶
func DockerRepositoriesPostAutobuild(client Client, org string, repo string, buildForm BuildForm) DockerRepositoriesPostAutobuildResponse
type DockerRepository ¶
type DockerRepository struct {
Name string `json:"name"`
}
func DockerRepositoryFromJson ¶
func DockerRepositoryFromJson(bytes io.Reader) DockerRepository
func DockerRepositoryFromMap ¶
func DockerRepositoryFromMap(data interface{}) DockerRepository
type TagsGetResponse ¶
type V2Tag ¶
type V2Tag struct {
Results []V2TagDetails `json:"results"`
}
func V2TagFromJson ¶
func V2TagFromMap ¶
func V2TagFromMap(data interface{}) V2Tag
type V2TagDetails ¶
type V2TagDetails struct {
Name string `json:"name"`
}
func V2TagDetailsFromJson ¶
func V2TagDetailsFromJson(bytes io.Reader) V2TagDetails
func V2TagDetailsFromMap ¶
func V2TagDetailsFromMap(data interface{}) V2TagDetails
Click to show internal directories.
Click to hide internal directories.