Documentation ¶
Overview ¶
Package docker_spec is a generated protocol buffer package.
It is generated from these files:
mesos/docker/spec.proto
It has these top-level messages:
ImageReference Config
Index ¶
- type Config
- type Config_Auth
- type ImageReference
- func (*ImageReference) Descriptor() ([]byte, []int)
- func (m *ImageReference) GetDigest() string
- func (m *ImageReference) GetRegistry() string
- func (m *ImageReference) GetRepository() string
- func (m *ImageReference) GetTag() string
- func (*ImageReference) ProtoMessage()
- func (m *ImageReference) Reset()
- func (m *ImageReference) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
XXX_unrecognized []byte `json:"-"`
}
* The config structure for docker config file (e.g., ~/.docker/config.json or ~/.dockercfg).
func (*Config) Descriptor ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type Config_Auth ¶
type Config_Auth struct { Auth *string `protobuf:"bytes,1,opt,name=auth" json:"auth,omitempty"` Email *string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"` XXX_unrecognized []byte `json:"-"` }
The base64 encoded 'auth' and 'email' pair in docker config file.
func (*Config_Auth) Descriptor ¶
func (*Config_Auth) Descriptor() ([]byte, []int)
func (*Config_Auth) GetAuth ¶
func (m *Config_Auth) GetAuth() string
func (*Config_Auth) GetEmail ¶
func (m *Config_Auth) GetEmail() string
func (*Config_Auth) ProtoMessage ¶
func (*Config_Auth) ProtoMessage()
func (*Config_Auth) Reset ¶
func (m *Config_Auth) Reset()
func (*Config_Auth) String ¶
func (m *Config_Auth) String() string
type ImageReference ¶
type ImageReference struct { // The registry in the following format: 'HOST:PORT'. Registry *string `protobuf:"bytes,1,opt,name=registry" json:"registry,omitempty"` // The repository name (e.g., library/busybox, ubuntu). Repository *string `protobuf:"bytes,2,req,name=repository" json:"repository,omitempty"` // For example: latest, 2.0.2, etc. Tag *string `protobuf:"bytes,3,opt,name=tag" json:"tag,omitempty"` // In the format of 'ALGORITHM:HEX'. Digest *string `protobuf:"bytes,4,opt,name=digest" json:"digest,omitempty"` XXX_unrecognized []byte `json:"-"` }
* The docker image reference:
[REGISTRY_HOST[:REGISTRY_PORT]/]REPOSITORY[:TAG|@DIGEST]
See more details in: https://github.com/docker/distribution/blob/master/reference/reference.go
func (*ImageReference) Descriptor ¶
func (*ImageReference) Descriptor() ([]byte, []int)
func (*ImageReference) GetDigest ¶
func (m *ImageReference) GetDigest() string
func (*ImageReference) GetRegistry ¶
func (m *ImageReference) GetRegistry() string
func (*ImageReference) GetRepository ¶
func (m *ImageReference) GetRepository() string
func (*ImageReference) GetTag ¶
func (m *ImageReference) GetTag() string
func (*ImageReference) ProtoMessage ¶
func (*ImageReference) ProtoMessage()
func (*ImageReference) Reset ¶
func (m *ImageReference) Reset()
func (*ImageReference) String ¶
func (m *ImageReference) String() string
Click to show internal directories.
Click to hide internal directories.