dockerregistry

package
v0.0.0-...-cd19a94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2016 License: MIT Imports: 9 Imported by: 0

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 BuildFromJson(bytes io.Reader) Build

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 BuildFormFromJson(bytes io.Reader) BuildForm

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 BuildTagFromJson(bytes io.Reader) BuildTag

func BuildTagFromMap

func BuildTagFromMap(data interface{}) BuildTag

type Client

type Client struct {
	HttpClient *http.Client
	Username   string
	Password   string
	BaseUrl    string
	JwtToken   string
}

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 DeploykeyFromJson(bytes io.Reader) Deploykey

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 Tag

type Tag struct {
	Layer string `json:"layer"`
	Name  string `json:"name"`
}

func TagFromJson

func TagFromJson(bytes io.Reader) Tag

func TagFromMap

func TagFromMap(data interface{}) Tag

type TagsGetResponse

type TagsGetResponse struct {
	StatusCode int
	Response   *http.Response
	Error      error
	Tags       []Tag
}

func TagsGet

func TagsGet(client Client, org string, repo string) TagsGetResponse

type V2Tag

type V2Tag struct {
	Results []V2TagDetails `json:"results"`
}

func V2TagFromJson

func V2TagFromJson(bytes io.Reader) V2Tag

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

type V2TagsGetResponse

type V2TagsGetResponse struct {
	StatusCode int
	Response   *http.Response
	Error      error
	V2Tag      V2Tag
}

func V2TagsGet

func V2TagsGet(client Client, org string, repo string) V2TagsGetResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL