v1

package
v1.29.0-alpha.171 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package docker_spec_v1 is a generated protocol buffer package.

It is generated from these files:

mesos/docker/v1.proto

It has these top-level messages:

Label
ImageManifest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageManifest

type ImageManifest struct {
	// Following docker code to define and order protobuf fields.
	// https://github.com/docker/docker/blob/master/image/image.go
	Id     *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Parent *string `protobuf:"bytes,2,opt,name=parent" json:"parent,omitempty"`
	// This field is used to comment user added comment. It is not
	// covered in docker v1 doc, but it is included in docker code.
	Comment *string `protobuf:"bytes,3,opt,name=comment" json:"comment,omitempty"`
	Created *string `protobuf:"bytes,4,opt,name=created" json:"created,omitempty"`
	// Container is the id of the container used to commit. It is
	// not covered in docker v1 doc, but included in docker code.
	Container        *string               `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"`
	ContainerConfig  *ImageManifest_Config `protobuf:"bytes,6,opt,name=container_config,json=containerConfig" json:"container_config,omitempty"`
	DockerVersion    *string               `protobuf:"bytes,7,opt,name=docker_version,json=dockerVersion" json:"docker_version,omitempty"`
	Author           *string               `protobuf:"bytes,8,opt,name=author" json:"author,omitempty"`
	Config           *ImageManifest_Config `protobuf:"bytes,9,opt,name=config" json:"config,omitempty"`
	Architecture     *string               `protobuf:"bytes,10,opt,name=architecture" json:"architecture,omitempty"`
	Os               *string               `protobuf:"bytes,11,opt,name=os" json:"os,omitempty"`
	Size             *uint32               `protobuf:"varint,12,opt,name=Size" json:"Size,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

* Protobuf for the Docker v1 image manifest JSON schema: https://github.com/docker/docker/blob/master/image/spec/v1.md

func (*ImageManifest) Descriptor

func (*ImageManifest) Descriptor() ([]byte, []int)

func (*ImageManifest) GetArchitecture

func (m *ImageManifest) GetArchitecture() string

func (*ImageManifest) GetAuthor

func (m *ImageManifest) GetAuthor() string

func (*ImageManifest) GetComment

func (m *ImageManifest) GetComment() string

func (*ImageManifest) GetConfig

func (m *ImageManifest) GetConfig() *ImageManifest_Config

func (*ImageManifest) GetContainer

func (m *ImageManifest) GetContainer() string

func (*ImageManifest) GetContainerConfig

func (m *ImageManifest) GetContainerConfig() *ImageManifest_Config

func (*ImageManifest) GetCreated

func (m *ImageManifest) GetCreated() string

func (*ImageManifest) GetDockerVersion

func (m *ImageManifest) GetDockerVersion() string

func (*ImageManifest) GetId

func (m *ImageManifest) GetId() string

func (*ImageManifest) GetOs

func (m *ImageManifest) GetOs() string

func (*ImageManifest) GetParent

func (m *ImageManifest) GetParent() string

func (*ImageManifest) GetSize

func (m *ImageManifest) GetSize() uint32

func (*ImageManifest) ProtoMessage

func (*ImageManifest) ProtoMessage()

func (*ImageManifest) Reset

func (m *ImageManifest) Reset()

func (*ImageManifest) String

func (m *ImageManifest) String() string

type ImageManifest_Config

type ImageManifest_Config struct {
	Hostname   *string  `protobuf:"bytes,1,opt,name=Hostname" json:"Hostname,omitempty"`
	Entrypoint []string `protobuf:"bytes,2,rep,name=Entrypoint" json:"Entrypoint,omitempty"`
	Env        []string `protobuf:"bytes,3,rep,name=Env" json:"Env,omitempty"`
	User       *string  `protobuf:"bytes,4,opt,name=User" json:"User,omitempty"`
	Cmd        []string `protobuf:"bytes,5,rep,name=Cmd" json:"Cmd,omitempty"`
	WorkingDir *string  `protobuf:"bytes,6,opt,name=WorkingDir" json:"WorkingDir,omitempty"`
	// Name of the image as it was passed by the operator.
	Image *string `protobuf:"bytes,8,opt,name=Image" json:"Image,omitempty"`
	// NOTE: We cannot use 'Labels' here because otherwise,
	// json->protobuf parsing will fail. 'labels' is manually
	// set during parsing.
	Labels           []*Label `protobuf:"bytes,9,rep,name=labels" json:"labels,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

TODO(gilbert): Add other config fields. Currently necessary rumtime config fields only. Please see: https://github.com/docker/docker/blob/master/runconfig/config.go

func (*ImageManifest_Config) Descriptor

func (*ImageManifest_Config) Descriptor() ([]byte, []int)

func (*ImageManifest_Config) GetCmd

func (m *ImageManifest_Config) GetCmd() []string

func (*ImageManifest_Config) GetEntrypoint

func (m *ImageManifest_Config) GetEntrypoint() []string

func (*ImageManifest_Config) GetEnv

func (m *ImageManifest_Config) GetEnv() []string

func (*ImageManifest_Config) GetHostname

func (m *ImageManifest_Config) GetHostname() string

func (*ImageManifest_Config) GetImage

func (m *ImageManifest_Config) GetImage() string

func (*ImageManifest_Config) GetLabels

func (m *ImageManifest_Config) GetLabels() []*Label

func (*ImageManifest_Config) GetUser

func (m *ImageManifest_Config) GetUser() string

func (*ImageManifest_Config) GetWorkingDir

func (m *ImageManifest_Config) GetWorkingDir() string

func (*ImageManifest_Config) ProtoMessage

func (*ImageManifest_Config) ProtoMessage()

func (*ImageManifest_Config) Reset

func (m *ImageManifest_Config) Reset()

func (*ImageManifest_Config) String

func (m *ImageManifest_Config) String() string

type Label

type Label struct {
	Key              *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value            *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* The Label of a docker image, used for adding custom metadata. https://docs.docker.com/engine/userguide/labels-custom-metadata

func (*Label) Descriptor

func (*Label) Descriptor() ([]byte, []int)

func (*Label) GetKey

func (m *Label) GetKey() string

func (*Label) GetValue

func (m *Label) GetValue() string

func (*Label) ProtoMessage

func (*Label) ProtoMessage()

func (*Label) Reset

func (m *Label) Reset()

func (*Label) String

func (m *Label) String() string

Jump to

Keyboard shortcuts

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