docker_spec

package
v1.29.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

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

Directories

Path Synopsis
Package docker_spec_v1 is a generated protocol buffer package.
Package docker_spec_v1 is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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