imageapi

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "type.googleapis.com/ImageAPI.ImageSet"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthImageapi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowImageapi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupImageapi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ImageState_name = map[int32]string{
	0: "UNKNOWN",
	1: "IDLE",
	2: "ACTIVE",
	3: "UPDATE",
	4: "ERROR",
	5: "FATAL",
}
View Source
var ImageState_value = map[string]int32{
	"UNKNOWN": 0,
	"IDLE":    1,
	"ACTIVE":  2,
	"UPDATE":  3,
	"ERROR":   4,
	"FATAL":   5,
}
View Source
var Image_Action_name = map[int32]string{
	0: "NONE",
	1: "CREATE",
	2: "DELETE",
	3: "RELOAD",
}
View Source
var Image_Action_value = map[string]int32{
	"NONE":   0,
	"CREATE": 1,
	"DELETE": 2,
	"RELOAD": 3,
}
View Source
var Image_ErrorCode_name = map[int32]string{
	0: "NOERROR",
	1: "MAX_ATTEMPTS",
	2: "MAX_DEATHS",
	3: "SERVER_FAIL",
	4: "ATTACH",
	5: "MOUNT",
	6: "OVERLAY",
	7: "INIT_FAIL",
	8: "DIED",
}
View Source
var Image_ErrorCode_value = map[string]int32{
	"NOERROR":      0,
	"MAX_ATTEMPTS": 1,
	"MAX_DEATHS":   2,
	"SERVER_FAIL":  3,
	"ATTACH":       4,
	"MOUNT":        5,
	"OVERLAY":      6,
	"INIT_FAIL":    7,
	"DIED":         8,
}

Functions

This section is empty.

Types

type Attach added in v0.1.2

type Attach struct {
	// The device_file is the path to the system device file.
	DeviceFile string       `protobuf:"bytes,1,opt,name=device_file,json=deviceFile,proto3" json:"device_file,omitempty"`
	Id         int64        `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Iscsi      *AttachIscsi `protobuf:"bytes,3,opt,name=iscsi,proto3" json:"iscsi,omitempty"`
	// Kind specifies the kind of attachment.  Each kind has corresponding kind-specific options.
	//
	// Currently known kinds:
	//
	// iscsi - attach an iscsi lun
	// local - create an attachment reference to an existing block device (specifying a non-block device will fail)
	// loopback - create a loopback device referencing a file in a mount
	// rbd - attach a Ceph/RBD object
	//
	// All kinds may or may not be fully supported by the implementation.
	Kind                 string          `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	Local                *AttachLocal    `protobuf:"bytes,5,opt,name=local,proto3" json:"local,omitempty"`
	Loopback             *AttachLoopback `protobuf:"bytes,6,opt,name=loopback,proto3" json:"loopback,omitempty"`
	Rbd                  *AttachRbd      `protobuf:"bytes,7,opt,name=rbd,proto3" json:"rbd,omitempty"`
	Refs                 int64           `protobuf:"varint,8,opt,name=refs,proto3" json:"refs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Generically address attachments. Attachments are objects that ultimately provide a block device file.

func (*Attach) Descriptor added in v0.1.2

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

func (*Attach) GetDeviceFile added in v0.1.2

func (m *Attach) GetDeviceFile() string

func (*Attach) GetId added in v0.1.2

func (m *Attach) GetId() int64

func (*Attach) GetIscsi added in v0.1.2

func (m *Attach) GetIscsi() *AttachIscsi

func (*Attach) GetKind added in v0.1.2

func (m *Attach) GetKind() string

func (*Attach) GetLocal added in v0.1.2

func (m *Attach) GetLocal() *AttachLocal

func (*Attach) GetLoopback added in v0.1.2

func (m *Attach) GetLoopback() *AttachLoopback

func (*Attach) GetRbd added in v0.1.2

func (m *Attach) GetRbd() *AttachRbd

func (*Attach) GetRefs added in v0.1.2

func (m *Attach) GetRefs() int64

func (*Attach) Marshal added in v0.1.2

func (m *Attach) Marshal() (dAtA []byte, err error)

func (*Attach) MarshalTo added in v0.1.2

func (m *Attach) MarshalTo(dAtA []byte) (int, error)

func (*Attach) MarshalToSizedBuffer added in v0.1.2

func (m *Attach) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Attach) ProtoMessage added in v0.1.2

func (*Attach) ProtoMessage()

func (*Attach) Reset added in v0.1.2

func (m *Attach) Reset()

func (*Attach) Size added in v0.1.2

func (m *Attach) Size() (n int)

func (*Attach) String added in v0.1.2

func (m *Attach) String() string

func (*Attach) Unmarshal added in v0.1.2

func (m *Attach) Unmarshal(dAtA []byte) error

func (*Attach) XXX_DiscardUnknown added in v0.1.2

func (m *Attach) XXX_DiscardUnknown()

func (*Attach) XXX_Marshal added in v0.1.2

func (m *Attach) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attach) XXX_Merge added in v0.1.2

func (m *Attach) XXX_Merge(src proto.Message)

func (*Attach) XXX_MessageName added in v0.1.2

func (*Attach) XXX_MessageName() string

func (*Attach) XXX_Size added in v0.1.2

func (m *Attach) XXX_Size() int

func (*Attach) XXX_Unmarshal added in v0.1.2

func (m *Attach) XXX_Unmarshal(b []byte) error

type AttachIscsi added in v0.1.2

type AttachIscsi struct {
	// IP or hostname of target host
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// iSCSI initiator IQN
	Initiator string `protobuf:"bytes,2,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// iSCSI lun on the target to select
	Lun int64 `protobuf:"varint,3,opt,name=lun,proto3" json:"lun,omitempty"`
	// Max oustanding iSCSI commands
	MaxComands int64 `protobuf:"varint,4,opt,name=max_comands,json=maxComands,proto3" json:"max_comands,omitempty"`
	// Port where the target is listening (default 3260)
	Port int64 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	// Max oustanding IOs
	QueueDepth int64 `protobuf:"varint,6,opt,name=queue_depth,json=queueDepth,proto3" json:"queue_depth,omitempty"`
	// Block device scheduler
	Scheduler string `protobuf:"bytes,7,opt,name=scheduler,proto3" json:"scheduler,omitempty"`
	// IQN of the iSCSI target
	Target               string   `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`attach_iscsi` describes an block device available as an iSCSI attachment. Currently, only AuthType=None is supported. A target are required, and should both be in IQN format. Host is required and can be an IP or hostname. If lun is not specified, it will default to lun0.

func (*AttachIscsi) Descriptor added in v0.1.2

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

func (*AttachIscsi) GetHost added in v0.1.2

func (m *AttachIscsi) GetHost() string

func (*AttachIscsi) GetInitiator added in v0.1.2

func (m *AttachIscsi) GetInitiator() string

func (*AttachIscsi) GetLun added in v0.1.2

func (m *AttachIscsi) GetLun() int64

func (*AttachIscsi) GetMaxComands added in v0.1.2

func (m *AttachIscsi) GetMaxComands() int64

func (*AttachIscsi) GetPort added in v0.1.2

func (m *AttachIscsi) GetPort() int64

func (*AttachIscsi) GetQueueDepth added in v0.1.2

func (m *AttachIscsi) GetQueueDepth() int64

func (*AttachIscsi) GetScheduler added in v0.1.2

func (m *AttachIscsi) GetScheduler() string

func (*AttachIscsi) GetTarget added in v0.1.2

func (m *AttachIscsi) GetTarget() string

func (*AttachIscsi) Marshal added in v0.1.2

func (m *AttachIscsi) Marshal() (dAtA []byte, err error)

func (*AttachIscsi) MarshalTo added in v0.1.2

func (m *AttachIscsi) MarshalTo(dAtA []byte) (int, error)

func (*AttachIscsi) MarshalToSizedBuffer added in v0.1.2

func (m *AttachIscsi) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachIscsi) ProtoMessage added in v0.1.2

func (*AttachIscsi) ProtoMessage()

func (*AttachIscsi) Reset added in v0.1.2

func (m *AttachIscsi) Reset()

func (*AttachIscsi) Size added in v0.1.2

func (m *AttachIscsi) Size() (n int)

func (*AttachIscsi) String added in v0.1.2

func (m *AttachIscsi) String() string

func (*AttachIscsi) Unmarshal added in v0.1.2

func (m *AttachIscsi) Unmarshal(dAtA []byte) error

func (*AttachIscsi) XXX_DiscardUnknown added in v0.1.2

func (m *AttachIscsi) XXX_DiscardUnknown()

func (*AttachIscsi) XXX_Marshal added in v0.1.2

func (m *AttachIscsi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachIscsi) XXX_Merge added in v0.1.2

func (m *AttachIscsi) XXX_Merge(src proto.Message)

func (*AttachIscsi) XXX_MessageName added in v0.1.2

func (*AttachIscsi) XXX_MessageName() string

func (*AttachIscsi) XXX_Size added in v0.1.2

func (m *AttachIscsi) XXX_Size() int

func (*AttachIscsi) XXX_Unmarshal added in v0.1.2

func (m *AttachIscsi) XXX_Unmarshal(b []byte) error

type AttachLocal added in v0.1.2

type AttachLocal struct {
	// A unix-formatted filesystem path pointing to a block device file.
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`attach_local` describes a block device that is locally present. This can be used to get a reference to a local disk, for instance.

Local only supports finding device files on the local (root) system. It only takes one parameter: the path to the device file.

func (*AttachLocal) Descriptor added in v0.1.2

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

func (*AttachLocal) GetPath added in v0.1.2

func (m *AttachLocal) GetPath() string

func (*AttachLocal) Marshal added in v0.1.2

func (m *AttachLocal) Marshal() (dAtA []byte, err error)

func (*AttachLocal) MarshalTo added in v0.1.2

func (m *AttachLocal) MarshalTo(dAtA []byte) (int, error)

func (*AttachLocal) MarshalToSizedBuffer added in v0.1.2

func (m *AttachLocal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachLocal) ProtoMessage added in v0.1.2

func (*AttachLocal) ProtoMessage()

func (*AttachLocal) Reset added in v0.1.2

func (m *AttachLocal) Reset()

func (*AttachLocal) Size added in v0.1.2

func (m *AttachLocal) Size() (n int)

func (*AttachLocal) String added in v0.1.2

func (m *AttachLocal) String() string

func (*AttachLocal) Unmarshal added in v0.1.2

func (m *AttachLocal) Unmarshal(dAtA []byte) error

func (*AttachLocal) XXX_DiscardUnknown added in v0.1.2

func (m *AttachLocal) XXX_DiscardUnknown()

func (*AttachLocal) XXX_Marshal added in v0.1.2

func (m *AttachLocal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachLocal) XXX_Merge added in v0.1.2

func (m *AttachLocal) XXX_Merge(src proto.Message)

func (*AttachLocal) XXX_MessageName added in v0.1.2

func (*AttachLocal) XXX_MessageName() string

func (*AttachLocal) XXX_Size added in v0.1.2

func (m *AttachLocal) XXX_Size() int

func (*AttachLocal) XXX_Unmarshal added in v0.1.2

func (m *AttachLocal) XXX_Unmarshal(b []byte) error

type AttachLoopback added in v0.1.2

type AttachLoopback struct {
	// base determines the relative root for the path.  There are two options:
	// `root` means to use the current root (`/`) as the base path.
	// `mount` means to use a mount as the base path. If this is specified, `mount` must be specified as well.
	Base  string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Mount *Mount `protobuf:"bytes,2,opt,name=mount,proto3" json:"mount,omitempty"`
	// A unix-formatted filesystem path with `/` relative to the respective base.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Should the partition table on the looback device be read?
	// Addressing sub-partitions is not yet supported.
	ReadPartitions       bool     `protobuf:"varint,4,opt,name=readPartitions,proto3" json:"readPartitions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`attach_loopback` describes a loopback device based on an available file. The file can live either on `/` ("root") or a mount, as specified by base. Path specifies the path relative to the base.

func (*AttachLoopback) Descriptor added in v0.1.2

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

func (*AttachLoopback) GetBase added in v0.1.2

func (m *AttachLoopback) GetBase() string

func (*AttachLoopback) GetMount added in v0.1.2

func (m *AttachLoopback) GetMount() *Mount

func (*AttachLoopback) GetPath added in v0.1.2

func (m *AttachLoopback) GetPath() string

func (*AttachLoopback) GetReadPartitions added in v0.1.2

func (m *AttachLoopback) GetReadPartitions() bool

func (*AttachLoopback) Marshal added in v0.1.2

func (m *AttachLoopback) Marshal() (dAtA []byte, err error)

func (*AttachLoopback) MarshalTo added in v0.1.2

func (m *AttachLoopback) MarshalTo(dAtA []byte) (int, error)

func (*AttachLoopback) MarshalToSizedBuffer added in v0.1.2

func (m *AttachLoopback) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachLoopback) ProtoMessage added in v0.1.2

func (*AttachLoopback) ProtoMessage()

func (*AttachLoopback) Reset added in v0.1.2

func (m *AttachLoopback) Reset()

func (*AttachLoopback) Size added in v0.1.2

func (m *AttachLoopback) Size() (n int)

func (*AttachLoopback) String added in v0.1.2

func (m *AttachLoopback) String() string

func (*AttachLoopback) Unmarshal added in v0.1.2

func (m *AttachLoopback) Unmarshal(dAtA []byte) error

func (*AttachLoopback) XXX_DiscardUnknown added in v0.1.2

func (m *AttachLoopback) XXX_DiscardUnknown()

func (*AttachLoopback) XXX_Marshal added in v0.1.2

func (m *AttachLoopback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachLoopback) XXX_Merge added in v0.1.2

func (m *AttachLoopback) XXX_Merge(src proto.Message)

func (*AttachLoopback) XXX_MessageName added in v0.1.2

func (*AttachLoopback) XXX_MessageName() string

func (*AttachLoopback) XXX_Size added in v0.1.2

func (m *AttachLoopback) XXX_Size() int

func (*AttachLoopback) XXX_Unmarshal added in v0.1.2

func (m *AttachLoopback) XXX_Unmarshal(b []byte) error

type AttachRbd added in v0.1.2

type AttachRbd struct {
	// The dev_id is the device ID in the rbd subsystem.
	DeviceId             int64       `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Image                string      `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Monitors             []string    `protobuf:"bytes,3,rep,name=monitors,proto3" json:"monitors,omitempty"`
	Options              *RbdOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	Pool                 string      `protobuf:"bytes,5,opt,name=pool,proto3" json:"pool,omitempty"`
	Snapshot             string      `protobuf:"bytes,6,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

attach_rbd describes an RBD map. To successfully map, at least one monitor, pool and image must be specified. Additionally, you will need options.name and options.secret specified.

func (*AttachRbd) Descriptor added in v0.1.2

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

func (*AttachRbd) GetDeviceId added in v0.1.2

func (m *AttachRbd) GetDeviceId() int64

func (*AttachRbd) GetImage added in v0.1.2

func (m *AttachRbd) GetImage() string

func (*AttachRbd) GetMonitors added in v0.1.2

func (m *AttachRbd) GetMonitors() []string

func (*AttachRbd) GetOptions added in v0.1.2

func (m *AttachRbd) GetOptions() *RbdOptions

func (*AttachRbd) GetPool added in v0.1.2

func (m *AttachRbd) GetPool() string

func (*AttachRbd) GetSnapshot added in v0.1.2

func (m *AttachRbd) GetSnapshot() string

func (*AttachRbd) Marshal added in v0.1.2

func (m *AttachRbd) Marshal() (dAtA []byte, err error)

func (*AttachRbd) MarshalTo added in v0.1.2

func (m *AttachRbd) MarshalTo(dAtA []byte) (int, error)

func (*AttachRbd) MarshalToSizedBuffer added in v0.1.2

func (m *AttachRbd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachRbd) ProtoMessage added in v0.1.2

func (*AttachRbd) ProtoMessage()

func (*AttachRbd) Reset added in v0.1.2

func (m *AttachRbd) Reset()

func (*AttachRbd) Size added in v0.1.2

func (m *AttachRbd) Size() (n int)

func (*AttachRbd) String added in v0.1.2

func (m *AttachRbd) String() string

func (*AttachRbd) Unmarshal added in v0.1.2

func (m *AttachRbd) Unmarshal(dAtA []byte) error

func (*AttachRbd) XXX_DiscardUnknown added in v0.1.2

func (m *AttachRbd) XXX_DiscardUnknown()

func (*AttachRbd) XXX_Marshal added in v0.1.2

func (m *AttachRbd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachRbd) XXX_Merge added in v0.1.2

func (m *AttachRbd) XXX_Merge(src proto.Message)

func (*AttachRbd) XXX_MessageName added in v0.1.2

func (*AttachRbd) XXX_MessageName() string

func (*AttachRbd) XXX_Size added in v0.1.2

func (m *AttachRbd) XXX_Size() int

func (*AttachRbd) XXX_Unmarshal added in v0.1.2

func (m *AttachRbd) XXX_Unmarshal(b []byte) error

type Container

type Container struct {
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	Id      int64  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Logfile string `protobuf:"bytes,3,opt,name=logfile,proto3" json:"logfile,omitempty"`
	Mount   *Mount `protobuf:"bytes,4,opt,name=mount,proto3" json:"mount,omitempty"`
	// name is an optional identifier for the container.  Name must be unique.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// A list of Linux namespaces to use.
	//
	// Note: This is currently unused.  All containers currently get `mnt` and `pid`.
	//       It's here as a placeholder for future use.
	Namespaces []string `protobuf:"bytes,6,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	Refs       int64    `protobuf:"varint,7,opt,name=refs,proto3" json:"refs,omitempty"`
	// When read, this contains the current container state. On creation, this requests the initial state (valid options: `created` or `running`). The default is `created`.
	State string `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"`
	// When `systemd` is set to `true`, we will assume that this container will run `systemd`, and perform the necessary magic dance to make systemd run inside of the container. The default is `false`.
	Systemd              bool     `protobuf:"varint,9,opt,name=systemd,proto3" json:"systemd,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The `container` option describes a minimally namespaced container.

A container is identified by a service-provided unique numeric `pid`.

Optionally, a container can be provided with a `name`. The name must be unique. Containers can be referenced by `name` if provided.

func (*Container) Descriptor

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

func (*Container) GetCommand

func (m *Container) GetCommand() string

func (*Container) GetId

func (m *Container) GetId() int64

func (*Container) GetLogfile

func (m *Container) GetLogfile() string

func (*Container) GetMount

func (m *Container) GetMount() *Mount

func (*Container) GetName

func (m *Container) GetName() string

func (*Container) GetNamespaces

func (m *Container) GetNamespaces() []string

func (*Container) GetRefs added in v0.1.2

func (m *Container) GetRefs() int64

func (*Container) GetState

func (m *Container) GetState() string

func (*Container) GetSystemd

func (m *Container) GetSystemd() bool

func (*Container) Marshal

func (m *Container) Marshal() (dAtA []byte, err error)

func (*Container) MarshalTo

func (m *Container) MarshalTo(dAtA []byte) (int, error)

func (*Container) MarshalToSizedBuffer

func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) Size

func (m *Container) Size() (n int)

func (*Container) String

func (m *Container) String() string

func (*Container) Unmarshal

func (m *Container) Unmarshal(dAtA []byte) error

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_MessageName

func (*Container) XXX_MessageName() string

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

func (m *Container) XXX_Unmarshal(b []byte) error

type CustomType added in v0.1.2

type CustomType struct {
	Secret               *github_com_kraken_hpc_kraken_layercake_extensions_imageapi_customtypes.Secret `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                                       `json:"-"`
	XXX_unrecognized     []byte                                                                         `json:"-"`
	XXX_sizecache        int32                                                                          `json:"-"`
}

func (*CustomType) Descriptor added in v0.1.2

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

func (*CustomType) Marshal added in v0.1.2

func (m *CustomType) Marshal() (dAtA []byte, err error)

func (*CustomType) MarshalTo added in v0.1.2

func (m *CustomType) MarshalTo(dAtA []byte) (int, error)

func (*CustomType) MarshalToSizedBuffer added in v0.1.2

func (m *CustomType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomType) ProtoMessage added in v0.1.2

func (*CustomType) ProtoMessage()

func (*CustomType) Reset added in v0.1.2

func (m *CustomType) Reset()

func (*CustomType) Size added in v0.1.2

func (m *CustomType) Size() (n int)

func (*CustomType) String added in v0.1.2

func (m *CustomType) String() string

func (*CustomType) Unmarshal added in v0.1.2

func (m *CustomType) Unmarshal(dAtA []byte) error

func (*CustomType) XXX_DiscardUnknown added in v0.1.2

func (m *CustomType) XXX_DiscardUnknown()

func (*CustomType) XXX_Marshal added in v0.1.2

func (m *CustomType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomType) XXX_Merge added in v0.1.2

func (m *CustomType) XXX_Merge(src proto.Message)

func (*CustomType) XXX_MessageName added in v0.1.2

func (*CustomType) XXX_MessageName() string

func (*CustomType) XXX_Size added in v0.1.2

func (m *CustomType) XXX_Size() int

func (*CustomType) XXX_Unmarshal added in v0.1.2

func (m *CustomType) XXX_Unmarshal(b []byte) error

type Error

type Error struct {
	Code                 int64    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() int64

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) Marshal

func (m *Error) Marshal() (dAtA []byte, err error)

func (*Error) MarshalTo

func (m *Error) MarshalTo(dAtA []byte) (int, error)

func (*Error) MarshalToSizedBuffer

func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

func (m *Error) Size() (n int)

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

func (m *Error) Unmarshal(dAtA []byte) error

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Error) XXX_Merge

func (m *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_MessageName

func (*Error) XXX_MessageName() string

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

func (m *Error) XXX_Unmarshal(b []byte) error

type Image

type Image struct {
	Container            *Container      `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	State                ImageState      `protobuf:"varint,2,opt,name=state,proto3,enum=ImageAPI.ImageState" json:"state,omitempty"`
	Action               Image_Action    `protobuf:"varint,3,opt,name=action,proto3,enum=ImageAPI.Image_Action" json:"action,omitempty"`
	LastError            Image_ErrorCode `protobuf:"varint,4,opt,name=last_error,json=lastError,proto3,enum=ImageAPI.Image_ErrorCode" json:"last_error,omitempty"`
	Retries              int32           `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

An Image is a container with some extra metadata

func (*Image) Descriptor

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

func (*Image) GetAction

func (m *Image) GetAction() Image_Action

func (*Image) GetContainer

func (m *Image) GetContainer() *Container

func (*Image) GetLastError

func (m *Image) GetLastError() Image_ErrorCode

func (*Image) GetRetries

func (m *Image) GetRetries() int32

func (*Image) GetState

func (m *Image) GetState() ImageState

func (*Image) Marshal

func (m *Image) Marshal() (dAtA []byte, err error)

func (*Image) MarshalTo

func (m *Image) MarshalTo(dAtA []byte) (int, error)

func (*Image) MarshalToSizedBuffer

func (m *Image) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) Size

func (m *Image) Size() (n int)

func (*Image) String

func (m *Image) String() string

func (*Image) Unmarshal

func (m *Image) Unmarshal(dAtA []byte) error

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Image) XXX_Merge

func (m *Image) XXX_Merge(src proto.Message)

func (*Image) XXX_MessageName

func (*Image) XXX_MessageName() string

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

func (m *Image) XXX_Unmarshal(b []byte) error

type ImageSet

type ImageSet struct {
	// states for Images & ImageSets
	Images               map[string]*Image `` /* 153-byte string literal not displayed */
	State                ImageState        `protobuf:"varint,2,opt,name=state,proto3,enum=ImageAPI.ImageState" json:"state,omitempty"`
	Retries              int32             `protobuf:"varint,5,opt,name=retries,proto3" json:"retries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ImageSet) Descriptor

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

func (*ImageSet) GetImages

func (m *ImageSet) GetImages() map[string]*Image

func (*ImageSet) GetRetries

func (m *ImageSet) GetRetries() int32

func (*ImageSet) GetState

func (m *ImageSet) GetState() ImageState

func (*ImageSet) Marshal

func (m *ImageSet) Marshal() (dAtA []byte, err error)

func (*ImageSet) MarshalTo

func (m *ImageSet) MarshalTo(dAtA []byte) (int, error)

func (*ImageSet) MarshalToSizedBuffer

func (m *ImageSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageSet) Name

func (*ImageSet) Name() string

func (*ImageSet) New

func (*ImageSet) New() types.Message

func (*ImageSet) ProtoMessage

func (*ImageSet) ProtoMessage()

func (*ImageSet) Reset

func (m *ImageSet) Reset()

func (*ImageSet) Size

func (m *ImageSet) Size() (n int)

func (*ImageSet) String

func (m *ImageSet) String() string

func (*ImageSet) Unmarshal

func (m *ImageSet) Unmarshal(dAtA []byte) error

func (*ImageSet) XXX_DiscardUnknown

func (m *ImageSet) XXX_DiscardUnknown()

func (*ImageSet) XXX_Marshal

func (m *ImageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageSet) XXX_Merge

func (m *ImageSet) XXX_Merge(src proto.Message)

func (*ImageSet) XXX_MessageName

func (*ImageSet) XXX_MessageName() string

func (*ImageSet) XXX_Size

func (m *ImageSet) XXX_Size() int

func (*ImageSet) XXX_Unmarshal

func (m *ImageSet) XXX_Unmarshal(b []byte) error

type ImageState

type ImageState int32
const (
	// these are kraken only error states
	ImageState_UNKNOWN ImageState = 0
	ImageState_IDLE    ImageState = 1
	ImageState_ACTIVE  ImageState = 2
	ImageState_UPDATE  ImageState = 3
	ImageState_ERROR   ImageState = 4
	ImageState_FATAL   ImageState = 5
)

func (ImageState) EnumDescriptor

func (ImageState) EnumDescriptor() ([]byte, []int)

func (ImageState) String

func (x ImageState) String() string

type Image_Action

type Image_Action int32
const (
	Image_NONE   Image_Action = 0
	Image_CREATE Image_Action = 1
	Image_DELETE Image_Action = 2
	Image_RELOAD Image_Action = 3
)

func (Image_Action) EnumDescriptor

func (Image_Action) EnumDescriptor() ([]byte, []int)

func (Image_Action) String

func (x Image_Action) String() string

type Image_ErrorCode

type Image_ErrorCode int32
const (
	Image_NOERROR      Image_ErrorCode = 0
	Image_MAX_ATTEMPTS Image_ErrorCode = 1
	Image_MAX_DEATHS   Image_ErrorCode = 2
	Image_SERVER_FAIL  Image_ErrorCode = 3
	Image_ATTACH       Image_ErrorCode = 4
	Image_MOUNT        Image_ErrorCode = 5
	Image_OVERLAY      Image_ErrorCode = 6
	Image_INIT_FAIL    Image_ErrorCode = 7
	Image_DIED         Image_ErrorCode = 8
)

func (Image_ErrorCode) EnumDescriptor

func (Image_ErrorCode) EnumDescriptor() ([]byte, []int)

func (Image_ErrorCode) String

func (x Image_ErrorCode) String() string

type Mount

type Mount struct {
	Attach *MountAttach `protobuf:"bytes,1,opt,name=attach,proto3" json:"attach,omitempty"`
	Bind   *MountBind   `protobuf:"bytes,2,opt,name=bind,proto3" json:"bind,omitempty"`
	Id     int64        `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	// Kind specifies the kind of mount.  Each kind has corresponding kind-specific options.
	//
	// Currently known kinds:
	//
	// attach - mount a device specified by an attachment.
	// bind - bind mount a local directory
	// nfs - mount an NFS filesystem
	// overlay - overlay mount over an existing mount
	// uri - download a file from a URI and extract it into a ramdisk mount
	//
	// All kinds may or may not be fully supported by the implementation.
	Kind                 string        `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"`
	Mountpoint           string        `protobuf:"bytes,5,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
	Nfs                  *MountNfs     `protobuf:"bytes,6,opt,name=nfs,proto3" json:"nfs,omitempty"`
	Overlay              *MountOverlay `protobuf:"bytes,7,opt,name=overlay,proto3" json:"overlay,omitempty"`
	Refs                 int64         `protobuf:"varint,8,opt,name=refs,proto3" json:"refs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Generically address mounts by kind and ID or definition Either an `mount_id` or a mount definition must be supplied. If both are supplied, the mount definition will be ignored. If `mount_id` is specified, then the kind/id will be used to reference that mount. If no `mount_id` is supplied a defition of type `kind` must be present.

func (*Mount) Descriptor

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

func (*Mount) GetAttach added in v0.1.2

func (m *Mount) GetAttach() *MountAttach

func (*Mount) GetBind added in v0.1.2

func (m *Mount) GetBind() *MountBind

func (*Mount) GetId added in v0.1.2

func (m *Mount) GetId() int64

func (*Mount) GetKind

func (m *Mount) GetKind() string

func (*Mount) GetMountpoint added in v0.1.2

func (m *Mount) GetMountpoint() string

func (*Mount) GetNfs added in v0.1.2

func (m *Mount) GetNfs() *MountNfs

func (*Mount) GetOverlay

func (m *Mount) GetOverlay() *MountOverlay

func (*Mount) GetRefs added in v0.1.2

func (m *Mount) GetRefs() int64

func (*Mount) Marshal

func (m *Mount) Marshal() (dAtA []byte, err error)

func (*Mount) MarshalTo

func (m *Mount) MarshalTo(dAtA []byte) (int, error)

func (*Mount) MarshalToSizedBuffer

func (m *Mount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mount) ProtoMessage

func (*Mount) ProtoMessage()

func (*Mount) Reset

func (m *Mount) Reset()

func (*Mount) Size

func (m *Mount) Size() (n int)

func (*Mount) String

func (m *Mount) String() string

func (*Mount) Unmarshal

func (m *Mount) Unmarshal(dAtA []byte) error

func (*Mount) XXX_DiscardUnknown

func (m *Mount) XXX_DiscardUnknown()

func (*Mount) XXX_Marshal

func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mount) XXX_Merge

func (m *Mount) XXX_Merge(src proto.Message)

func (*Mount) XXX_MessageName

func (*Mount) XXX_MessageName() string

func (*Mount) XXX_Size

func (m *Mount) XXX_Size() int

func (*Mount) XXX_Unmarshal

func (m *Mount) XXX_Unmarshal(b []byte) error

type MountAttach added in v0.1.2

type MountAttach struct {
	Attach *Attach `protobuf:"bytes,1,opt,name=attach,proto3" json:"attach,omitempty"`
	FsType string  `protobuf:"bytes,2,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
	// these mount options will be passed to the mount syscall. Supported options depend on filesystem type.
	MountOptions         []string `protobuf:"bytes,3,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`mount_attach` describes an attach mount. This must have at least attach ID associated with it, and a provided filesystem type.

Either `attach_id` or `attach` must be specified. If both are specified, `attach` will be ignored.

If `attach` is specified and `attach_id` is omitted, the specified attach will first be attached, and will be detached on deletion.

func (*MountAttach) Descriptor added in v0.1.2

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

func (*MountAttach) GetAttach added in v0.1.2

func (m *MountAttach) GetAttach() *Attach

func (*MountAttach) GetFsType added in v0.1.2

func (m *MountAttach) GetFsType() string

func (*MountAttach) GetMountOptions added in v0.1.2

func (m *MountAttach) GetMountOptions() []string

func (*MountAttach) Marshal added in v0.1.2

func (m *MountAttach) Marshal() (dAtA []byte, err error)

func (*MountAttach) MarshalTo added in v0.1.2

func (m *MountAttach) MarshalTo(dAtA []byte) (int, error)

func (*MountAttach) MarshalToSizedBuffer added in v0.1.2

func (m *MountAttach) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MountAttach) ProtoMessage added in v0.1.2

func (*MountAttach) ProtoMessage()

func (*MountAttach) Reset added in v0.1.2

func (m *MountAttach) Reset()

func (*MountAttach) Size added in v0.1.2

func (m *MountAttach) Size() (n int)

func (*MountAttach) String added in v0.1.2

func (m *MountAttach) String() string

func (*MountAttach) Unmarshal added in v0.1.2

func (m *MountAttach) Unmarshal(dAtA []byte) error

func (*MountAttach) XXX_DiscardUnknown added in v0.1.2

func (m *MountAttach) XXX_DiscardUnknown()

func (*MountAttach) XXX_Marshal added in v0.1.2

func (m *MountAttach) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountAttach) XXX_Merge added in v0.1.2

func (m *MountAttach) XXX_Merge(src proto.Message)

func (*MountAttach) XXX_MessageName added in v0.1.2

func (*MountAttach) XXX_MessageName() string

func (*MountAttach) XXX_Size added in v0.1.2

func (m *MountAttach) XXX_Size() int

func (*MountAttach) XXX_Unmarshal added in v0.1.2

func (m *MountAttach) XXX_Unmarshal(b []byte) error

type MountBind added in v0.1.2

type MountBind struct {
	// base determines the relative root for the path.  There are two options:
	// `root` means to use the current root (`/`) as the base path.
	// `mount` means to use a mount as the base path. If this is specified, `mount` must be specified as well.
	Base  string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Mount *Mount `protobuf:"bytes,2,opt,name=mount,proto3" json:"mount,omitempty"`
	// A unix-formatted filesystem path with `/` relative to the respective base.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// perform a recursive bind mount
	Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// mount read-only
	Ro                   bool     `protobuf:"varint,5,opt,name=ro,proto3" json:"ro,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`mount_bind` describes a local bind mount. Bind mounts can be relative to another mount, or to /, allowing a way to access local data.

func (*MountBind) Descriptor added in v0.1.2

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

func (*MountBind) GetBase added in v0.1.2

func (m *MountBind) GetBase() string

func (*MountBind) GetMount added in v0.1.2

func (m *MountBind) GetMount() *Mount

func (*MountBind) GetPath added in v0.1.2

func (m *MountBind) GetPath() string

func (*MountBind) GetRecursive added in v0.1.2

func (m *MountBind) GetRecursive() bool

func (*MountBind) GetRo added in v0.1.2

func (m *MountBind) GetRo() bool

func (*MountBind) Marshal added in v0.1.2

func (m *MountBind) Marshal() (dAtA []byte, err error)

func (*MountBind) MarshalTo added in v0.1.2

func (m *MountBind) MarshalTo(dAtA []byte) (int, error)

func (*MountBind) MarshalToSizedBuffer added in v0.1.2

func (m *MountBind) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MountBind) ProtoMessage added in v0.1.2

func (*MountBind) ProtoMessage()

func (*MountBind) Reset added in v0.1.2

func (m *MountBind) Reset()

func (*MountBind) Size added in v0.1.2

func (m *MountBind) Size() (n int)

func (*MountBind) String added in v0.1.2

func (m *MountBind) String() string

func (*MountBind) Unmarshal added in v0.1.2

func (m *MountBind) Unmarshal(dAtA []byte) error

func (*MountBind) XXX_DiscardUnknown added in v0.1.2

func (m *MountBind) XXX_DiscardUnknown()

func (*MountBind) XXX_Marshal added in v0.1.2

func (m *MountBind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountBind) XXX_Merge added in v0.1.2

func (m *MountBind) XXX_Merge(src proto.Message)

func (*MountBind) XXX_MessageName added in v0.1.2

func (*MountBind) XXX_MessageName() string

func (*MountBind) XXX_Size added in v0.1.2

func (m *MountBind) XXX_Size() int

func (*MountBind) XXX_Unmarshal added in v0.1.2

func (m *MountBind) XXX_Unmarshal(b []byte) error

type MountNfs added in v0.1.2

type MountNfs struct {
	// IP or hostname for remote NFS mount
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Options as specified in nfs(5).  General mount options won't work here.
	// addr= and clientaddr= will be filled out automatically based on host.
	// vers= will be filled by version
	Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"`
	// The remote path for the NFS mount
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// mount read-only
	Ro bool `protobuf:"varint,4,opt,name=ro,proto3" json:"ro,omitempty"`
	// NFS version
	Version              string   `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`mount_nfs` describes an NFS mount.

func (*MountNfs) Descriptor added in v0.1.2

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

func (*MountNfs) GetHost added in v0.1.2

func (m *MountNfs) GetHost() string

func (*MountNfs) GetOptions added in v0.1.2

func (m *MountNfs) GetOptions() []string

func (*MountNfs) GetPath added in v0.1.2

func (m *MountNfs) GetPath() string

func (*MountNfs) GetRo added in v0.1.2

func (m *MountNfs) GetRo() bool

func (*MountNfs) GetVersion added in v0.1.2

func (m *MountNfs) GetVersion() string

func (*MountNfs) Marshal added in v0.1.2

func (m *MountNfs) Marshal() (dAtA []byte, err error)

func (*MountNfs) MarshalTo added in v0.1.2

func (m *MountNfs) MarshalTo(dAtA []byte) (int, error)

func (*MountNfs) MarshalToSizedBuffer added in v0.1.2

func (m *MountNfs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MountNfs) ProtoMessage added in v0.1.2

func (*MountNfs) ProtoMessage()

func (*MountNfs) Reset added in v0.1.2

func (m *MountNfs) Reset()

func (*MountNfs) Size added in v0.1.2

func (m *MountNfs) Size() (n int)

func (*MountNfs) String added in v0.1.2

func (m *MountNfs) String() string

func (*MountNfs) Unmarshal added in v0.1.2

func (m *MountNfs) Unmarshal(dAtA []byte) error

func (*MountNfs) XXX_DiscardUnknown added in v0.1.2

func (m *MountNfs) XXX_DiscardUnknown()

func (*MountNfs) XXX_Marshal added in v0.1.2

func (m *MountNfs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountNfs) XXX_Merge added in v0.1.2

func (m *MountNfs) XXX_Merge(src proto.Message)

func (*MountNfs) XXX_MessageName added in v0.1.2

func (*MountNfs) XXX_MessageName() string

func (*MountNfs) XXX_Size added in v0.1.2

func (m *MountNfs) XXX_Size() int

func (*MountNfs) XXX_Unmarshal added in v0.1.2

func (m *MountNfs) XXX_Unmarshal(b []byte) error

type MountOverlay

type MountOverlay struct {
	// This is an array of mount specifications to be used (in order) as lower mounts for the overlay.
	Lower []*Mount `protobuf:"bytes,1,rep,name=lower,proto3" json:"lower,omitempty"`
	// currently, upperdir is always a directory in mountDir
	Upperdir             string   `protobuf:"bytes,2,opt,name=upperdir,proto3" json:"upperdir,omitempty"`
	Workdir              string   `protobuf:"bytes,3,opt,name=workdir,proto3" json:"workdir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

`mount_overlay` describes an Overlayfs mount. All mount points must be RBD ID's. At very least, `lower` must be specified. If `upper` length is zero, no `upper` mounts will be used. `workdir` will be assigned automatically.

If the mounts specified in `lower` are specifications and not ID references, they will be recursively mounted/attached.

Overlay mounts are identified by their uppermost `lower` ID.

func (*MountOverlay) Descriptor

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

func (*MountOverlay) GetLower

func (m *MountOverlay) GetLower() []*Mount

func (*MountOverlay) GetUpperdir

func (m *MountOverlay) GetUpperdir() string

func (*MountOverlay) GetWorkdir

func (m *MountOverlay) GetWorkdir() string

func (*MountOverlay) Marshal

func (m *MountOverlay) Marshal() (dAtA []byte, err error)

func (*MountOverlay) MarshalTo

func (m *MountOverlay) MarshalTo(dAtA []byte) (int, error)

func (*MountOverlay) MarshalToSizedBuffer

func (m *MountOverlay) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MountOverlay) ProtoMessage

func (*MountOverlay) ProtoMessage()

func (*MountOverlay) Reset

func (m *MountOverlay) Reset()

func (*MountOverlay) Size

func (m *MountOverlay) Size() (n int)

func (*MountOverlay) String

func (m *MountOverlay) String() string

func (*MountOverlay) Unmarshal

func (m *MountOverlay) Unmarshal(dAtA []byte) error

func (*MountOverlay) XXX_DiscardUnknown

func (m *MountOverlay) XXX_DiscardUnknown()

func (*MountOverlay) XXX_Marshal

func (m *MountOverlay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MountOverlay) XXX_Merge

func (m *MountOverlay) XXX_Merge(src proto.Message)

func (*MountOverlay) XXX_MessageName

func (*MountOverlay) XXX_MessageName() string

func (*MountOverlay) XXX_Size

func (m *MountOverlay) XXX_Size() int

func (*MountOverlay) XXX_Unmarshal

func (m *MountOverlay) XXX_Unmarshal(b []byte) error

type RbdOptions

type RbdOptions struct {
	AbortOnFull              bool     `protobuf:"varint,1,opt,name=abort_on_full,json=abortOnFull,proto3" json:"abort_on_full,omitempty"`
	AllocSize                int32    `protobuf:"varint,2,opt,name=alloc_size,json=allocSize,proto3" json:"alloc_size,omitempty"`
	CephRequiresSignatures   bool     `` /* 130-byte string literal not displayed */
	CephxSignMessages        bool     `protobuf:"varint,4,opt,name=cephx_sign_messages,json=cephxSignMessages,proto3" json:"cephx_sign_messages,omitempty"`
	Crc                      bool     `protobuf:"varint,5,opt,name=crc,proto3" json:"crc,omitempty"`
	Exclusive                bool     `protobuf:"varint,6,opt,name=exclusive,proto3" json:"exclusive,omitempty"`
	Force                    bool     `protobuf:"varint,7,opt,name=force,proto3" json:"force,omitempty"`
	Fsid                     string   `protobuf:"bytes,8,opt,name=fsid,proto3" json:"fsid,omitempty"`
	Ip                       string   `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
	LockOnRead               bool     `protobuf:"varint,10,opt,name=lock_on_read,json=lockOnRead,proto3" json:"lock_on_read,omitempty"`
	LockTimeout              int64    `protobuf:"varint,11,opt,name=lock_timeout,json=lockTimeout,proto3" json:"lock_timeout,omitempty"`
	MountTimeout             int32    `protobuf:"varint,12,opt,name=mount_timeout,json=mountTimeout,proto3" json:"mount_timeout,omitempty"`
	Name                     string   `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"`
	Namespace                string   `protobuf:"bytes,14,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NocephRequiresSignatures bool     `` /* 137-byte string literal not displayed */
	NocephxSignMessages      bool     `protobuf:"varint,16,opt,name=nocephx_sign_messages,json=nocephxSignMessages,proto3" json:"nocephx_sign_messages,omitempty"`
	Nocrc                    bool     `protobuf:"varint,17,opt,name=nocrc,proto3" json:"nocrc,omitempty"`
	Noshare                  bool     `protobuf:"varint,18,opt,name=noshare,proto3" json:"noshare,omitempty"`
	NotcpNodelay             bool     `protobuf:"varint,19,opt,name=notcp_nodelay,json=notcpNodelay,proto3" json:"notcp_nodelay,omitempty"`
	Notrim                   bool     `protobuf:"varint,20,opt,name=notrim,proto3" json:"notrim,omitempty"`
	OsdIdleTtl               int32    `protobuf:"varint,21,opt,name=osd_idle_ttl,json=osdIdleTtl,proto3" json:"osd_idle_ttl,omitempty"`
	Osdkeepalive             int32    `protobuf:"varint,22,opt,name=osdkeepalive,proto3" json:"osdkeepalive,omitempty"`
	QueueDepth               int32    `protobuf:"varint,23,opt,name=queue_depth,json=queueDepth,proto3" json:"queue_depth,omitempty"`
	Ro                       bool     `protobuf:"varint,24,opt,name=ro,proto3" json:"ro,omitempty"`
	Rw                       bool     `protobuf:"varint,25,opt,name=rw,proto3" json:"rw,omitempty"`
	Secret                   string   `protobuf:"bytes,26,opt,name=secret,proto3" json:"secret,omitempty"`
	Share                    bool     `protobuf:"varint,27,opt,name=share,proto3" json:"share,omitempty"`
	TcpNodelay               bool     `protobuf:"varint,28,opt,name=tcp_nodelay,json=tcpNodelay,proto3" json:"tcp_nodelay,omitempty"`
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

func (*RbdOptions) Descriptor

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

func (*RbdOptions) GetAbortOnFull

func (m *RbdOptions) GetAbortOnFull() bool

func (*RbdOptions) GetAllocSize

func (m *RbdOptions) GetAllocSize() int32

func (*RbdOptions) GetCephRequiresSignatures

func (m *RbdOptions) GetCephRequiresSignatures() bool

func (*RbdOptions) GetCephxSignMessages

func (m *RbdOptions) GetCephxSignMessages() bool

func (*RbdOptions) GetCrc

func (m *RbdOptions) GetCrc() bool

func (*RbdOptions) GetExclusive

func (m *RbdOptions) GetExclusive() bool

func (*RbdOptions) GetForce

func (m *RbdOptions) GetForce() bool

func (*RbdOptions) GetFsid

func (m *RbdOptions) GetFsid() string

func (*RbdOptions) GetIp

func (m *RbdOptions) GetIp() string

func (*RbdOptions) GetLockOnRead

func (m *RbdOptions) GetLockOnRead() bool

func (*RbdOptions) GetLockTimeout

func (m *RbdOptions) GetLockTimeout() int64

func (*RbdOptions) GetMountTimeout

func (m *RbdOptions) GetMountTimeout() int32

func (*RbdOptions) GetName

func (m *RbdOptions) GetName() string

func (*RbdOptions) GetNamespace

func (m *RbdOptions) GetNamespace() string

func (*RbdOptions) GetNocephRequiresSignatures

func (m *RbdOptions) GetNocephRequiresSignatures() bool

func (*RbdOptions) GetNocephxSignMessages

func (m *RbdOptions) GetNocephxSignMessages() bool

func (*RbdOptions) GetNocrc

func (m *RbdOptions) GetNocrc() bool

func (*RbdOptions) GetNoshare

func (m *RbdOptions) GetNoshare() bool

func (*RbdOptions) GetNotcpNodelay

func (m *RbdOptions) GetNotcpNodelay() bool

func (*RbdOptions) GetNotrim

func (m *RbdOptions) GetNotrim() bool

func (*RbdOptions) GetOsdIdleTtl

func (m *RbdOptions) GetOsdIdleTtl() int32

func (*RbdOptions) GetOsdkeepalive

func (m *RbdOptions) GetOsdkeepalive() int32

func (*RbdOptions) GetQueueDepth

func (m *RbdOptions) GetQueueDepth() int32

func (*RbdOptions) GetRo

func (m *RbdOptions) GetRo() bool

func (*RbdOptions) GetRw

func (m *RbdOptions) GetRw() bool

func (*RbdOptions) GetSecret

func (m *RbdOptions) GetSecret() string

func (*RbdOptions) GetShare

func (m *RbdOptions) GetShare() bool

func (*RbdOptions) GetTcpNodelay

func (m *RbdOptions) GetTcpNodelay() bool

func (*RbdOptions) Marshal

func (m *RbdOptions) Marshal() (dAtA []byte, err error)

func (*RbdOptions) MarshalTo

func (m *RbdOptions) MarshalTo(dAtA []byte) (int, error)

func (*RbdOptions) MarshalToSizedBuffer

func (m *RbdOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RbdOptions) ProtoMessage

func (*RbdOptions) ProtoMessage()

func (*RbdOptions) Reset

func (m *RbdOptions) Reset()

func (*RbdOptions) Size

func (m *RbdOptions) Size() (n int)

func (*RbdOptions) String

func (m *RbdOptions) String() string

func (*RbdOptions) Unmarshal

func (m *RbdOptions) Unmarshal(dAtA []byte) error

func (*RbdOptions) XXX_DiscardUnknown

func (m *RbdOptions) XXX_DiscardUnknown()

func (*RbdOptions) XXX_Marshal

func (m *RbdOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RbdOptions) XXX_Merge

func (m *RbdOptions) XXX_Merge(src proto.Message)

func (*RbdOptions) XXX_MessageName

func (*RbdOptions) XXX_MessageName() string

func (*RbdOptions) XXX_Size

func (m *RbdOptions) XXX_Size() int

func (*RbdOptions) XXX_Unmarshal

func (m *RbdOptions) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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