v2

package
v0.0.0-...-f1bde72 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOrbit = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOrbit   = fmt.Errorf("proto: integer overflow")
)
View Source
var ContainerType_name = map[int32]string{
	0: "LINUX",
	2: "VM",
}
View Source
var ContainerType_value = map[string]int32{
	"LINUX": 0,
	"VM":    2,
}
View Source
var ResourceType_name = map[int32]string{
	0: "VOLUME",
	1: "CONFIG",
}
View Source
var ResourceType_value = map[string]int32{
	"VOLUME": 0,
	"CONFIG": 1,
}

Functions

func RegisterOrbitServer

func RegisterOrbitServer(s *grpc.Server, srv OrbitServer)

Types

type CNIIPAM

type CNIIPAM struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Subnet               string   `protobuf:"bytes,2,opt,name=Subnet,proto3" json:"Subnet,omitempty"`
	Gateway              string   `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
	SubnetRange          string   `protobuf:"bytes,4,opt,name=subnet_range,json=subnetRange,proto3" json:"subnet_range,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CNIIPAM) Descriptor

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

func (*CNIIPAM) Marshal

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

func (*CNIIPAM) MarshalTo

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

func (*CNIIPAM) ProtoMessage

func (*CNIIPAM) ProtoMessage()

func (*CNIIPAM) Reset

func (m *CNIIPAM) Reset()

func (*CNIIPAM) Size

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

func (*CNIIPAM) String

func (this *CNIIPAM) String() string

func (*CNIIPAM) Unmarshal

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

func (*CNIIPAM) XXX_DiscardUnknown

func (m *CNIIPAM) XXX_DiscardUnknown()

func (*CNIIPAM) XXX_Marshal

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

func (*CNIIPAM) XXX_Merge

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

func (*CNIIPAM) XXX_Size

func (m *CNIIPAM) XXX_Size() int

func (*CNIIPAM) XXX_Unmarshal

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

type CNINetwork

type CNINetwork struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IPAM                 *CNIIPAM `protobuf:"bytes,3,opt,name=ipam,proto3" json:"ipam,omitempty"`
	Master               string   `protobuf:"bytes,4,opt,name=master,proto3" json:"master,omitempty"`
	Bridge               string   `protobuf:"bytes,5,opt,name=bridge,proto3" json:"bridge,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CNINetwork) Descriptor

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

func (*CNINetwork) Marshal

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

func (*CNINetwork) MarshalTo

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

func (*CNINetwork) ProtoMessage

func (*CNINetwork) ProtoMessage()

func (*CNINetwork) Reset

func (m *CNINetwork) Reset()

func (*CNINetwork) Size

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

func (*CNINetwork) String

func (this *CNINetwork) String() string

func (*CNINetwork) Unmarshal

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

func (*CNINetwork) XXX_DiscardUnknown

func (m *CNINetwork) XXX_DiscardUnknown()

func (*CNINetwork) XXX_Marshal

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

func (*CNINetwork) XXX_Merge

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

func (*CNINetwork) XXX_Size

func (m *CNINetwork) XXX_Size() int

func (*CNINetwork) XXX_Unmarshal

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

type Container

type Container struct {
	ID                   string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Image                string       `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Networks             []*types.Any `protobuf:"bytes,3,rep,name=networks,proto3" json:"networks,omitempty"`
	Process              *Process     `protobuf:"bytes,4,opt,name=process,proto3" json:"process,omitempty"`
	Resources            []*Resource  `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"`
	System               *System      `protobuf:"bytes,6,opt,name=system,proto3" json:"system,omitempty"`
	Gpus                 *GPUs        `protobuf:"bytes,7,opt,name=gpus,proto3" json:"gpus,omitempty"`
	Readonly             bool         `protobuf:"varint,8,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Security             *Security    `protobuf:"bytes,9,opt,name=security,proto3" json:"security,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Container) Descriptor

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

func (*Container) Marshal

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

func (*Container) MarshalTo

func (m *Container) MarshalTo(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 (this *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_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

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

type ContainerInfo

type ContainerInfo struct {
	ID                   string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Image                string      `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Status               string      `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Cpu                  uint64      `protobuf:"varint,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemoryUsage          float64     `protobuf:"fixed64,5,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
	MemoryLimit          float64     `protobuf:"fixed64,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	PidUsage             uint64      `protobuf:"varint,7,opt,name=pid_usage,json=pidUsage,proto3" json:"pid_usage,omitempty"`
	PidLimit             uint64      `protobuf:"varint,8,opt,name=pid_limit,json=pidLimit,proto3" json:"pid_limit,omitempty"`
	Config               *Container  `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	Snapshots            []*Snapshot `protobuf:"bytes,10,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	Address              string      `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ContainerInfo) Descriptor

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

func (*ContainerInfo) Marshal

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

func (*ContainerInfo) MarshalTo

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

func (*ContainerInfo) ProtoMessage

func (*ContainerInfo) ProtoMessage()

func (*ContainerInfo) Reset

func (m *ContainerInfo) Reset()

func (*ContainerInfo) Size

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

func (*ContainerInfo) String

func (this *ContainerInfo) String() string

func (*ContainerInfo) Unmarshal

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

func (*ContainerInfo) XXX_DiscardUnknown

func (m *ContainerInfo) XXX_DiscardUnknown()

func (*ContainerInfo) XXX_Marshal

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

func (*ContainerInfo) XXX_Merge

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

func (*ContainerInfo) XXX_Size

func (m *ContainerInfo) XXX_Size() int

func (*ContainerInfo) XXX_Unmarshal

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

type ContainerType

type ContainerType int32
const (
	Linux ContainerType = 0
	VM    ContainerType = 2
)

func (ContainerType) EnumDescriptor

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

func (ContainerType) String

func (x ContainerType) String() string

type DeployRequest

type DeployRequest struct {
	Container            *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*DeployRequest) Descriptor

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

func (*DeployRequest) Marshal

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

func (*DeployRequest) MarshalTo

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

func (*DeployRequest) ProtoMessage

func (*DeployRequest) ProtoMessage()

func (*DeployRequest) Reset

func (m *DeployRequest) Reset()

func (*DeployRequest) Size

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

func (*DeployRequest) String

func (this *DeployRequest) String() string

func (*DeployRequest) Unmarshal

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

func (*DeployRequest) XXX_DiscardUnknown

func (m *DeployRequest) XXX_DiscardUnknown()

func (*DeployRequest) XXX_Marshal

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

func (*DeployRequest) XXX_Merge

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

func (*DeployRequest) XXX_Size

func (m *DeployRequest) XXX_Size() int

func (*DeployRequest) XXX_Unmarshal

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

type DeployResponse

type DeployResponse struct {
	Container            *ContainerInfo `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DeployResponse) Descriptor

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

func (*DeployResponse) Marshal

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

func (*DeployResponse) MarshalTo

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

func (*DeployResponse) ProtoMessage

func (*DeployResponse) ProtoMessage()

func (*DeployResponse) Reset

func (m *DeployResponse) Reset()

func (*DeployResponse) Size

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

func (*DeployResponse) String

func (this *DeployResponse) String() string

func (*DeployResponse) Unmarshal

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

func (*DeployResponse) XXX_DiscardUnknown

func (m *DeployResponse) XXX_DiscardUnknown()

func (*DeployResponse) XXX_Marshal

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

func (*DeployResponse) XXX_Merge

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

func (*DeployResponse) XXX_Size

func (m *DeployResponse) XXX_Size() int

func (*DeployResponse) XXX_Unmarshal

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

type GPUs

type GPUs struct {
	Devices              []int64  `protobuf:"varint,1,rep,packed,name=devices,proto3" json:"devices,omitempty"`
	Capabilities         []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GPUs) Descriptor

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

func (*GPUs) Marshal

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

func (*GPUs) MarshalTo

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

func (*GPUs) ProtoMessage

func (*GPUs) ProtoMessage()

func (*GPUs) Reset

func (m *GPUs) Reset()

func (*GPUs) Size

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

func (*GPUs) String

func (this *GPUs) String() string

func (*GPUs) Unmarshal

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

func (*GPUs) XXX_DiscardUnknown

func (m *GPUs) XXX_DiscardUnknown()

func (*GPUs) XXX_Marshal

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

func (*GPUs) XXX_Merge

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

func (*GPUs) XXX_Size

func (m *GPUs) XXX_Size() int

func (*GPUs) XXX_Unmarshal

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

type HostNetwork

type HostNetwork struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HostNetwork) Descriptor

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

func (*HostNetwork) Marshal

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

func (*HostNetwork) MarshalTo

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

func (*HostNetwork) ProtoMessage

func (*HostNetwork) ProtoMessage()

func (*HostNetwork) Reset

func (m *HostNetwork) Reset()

func (*HostNetwork) Size

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

func (*HostNetwork) String

func (this *HostNetwork) String() string

func (*HostNetwork) Unmarshal

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

func (*HostNetwork) XXX_DiscardUnknown

func (m *HostNetwork) XXX_DiscardUnknown()

func (*HostNetwork) XXX_Marshal

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

func (*HostNetwork) XXX_Merge

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

func (*HostNetwork) XXX_Size

func (m *HostNetwork) XXX_Size() int

func (*HostNetwork) XXX_Unmarshal

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

type OrbitClient

type OrbitClient interface {
	Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*DeployResponse, error)
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*types.Empty, error)
	State(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*StateResponse, error)
}

OrbitClient is the client API for Orbit service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewOrbitClient

func NewOrbitClient(cc *grpc.ClientConn) OrbitClient

type OrbitServer

type OrbitServer interface {
	Deploy(context.Context, *DeployRequest) (*DeployResponse, error)
	Remove(context.Context, *RemoveRequest) (*types.Empty, error)
	State(context.Context, *types.Empty) (*StateResponse, error)
}

OrbitServer is the server API for Orbit service.

type Process

type Process struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Args                 []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Env                  []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	Pty                  bool     `protobuf:"varint,4,opt,name=pty,proto3" json:"pty,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Process) Descriptor

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

func (*Process) Marshal

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

func (*Process) MarshalTo

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

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) Reset

func (m *Process) Reset()

func (*Process) Size

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

func (*Process) String

func (this *Process) String() string

func (*Process) Unmarshal

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

func (*Process) XXX_DiscardUnknown

func (m *Process) XXX_DiscardUnknown()

func (*Process) XXX_Marshal

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

func (*Process) XXX_Merge

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

func (*Process) XXX_Size

func (m *Process) XXX_Size() int

func (*Process) XXX_Unmarshal

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

type RemoveRequest

type RemoveRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RemoveRequest) Descriptor

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

func (*RemoveRequest) Marshal

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

func (*RemoveRequest) MarshalTo

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

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) Reset

func (m *RemoveRequest) Reset()

func (*RemoveRequest) Size

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

func (*RemoveRequest) String

func (this *RemoveRequest) String() string

func (*RemoveRequest) Unmarshal

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

func (*RemoveRequest) XXX_DiscardUnknown

func (m *RemoveRequest) XXX_DiscardUnknown()

func (*RemoveRequest) XXX_Marshal

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

func (*RemoveRequest) XXX_Merge

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

func (*RemoveRequest) XXX_Size

func (m *RemoveRequest) XXX_Size() int

func (*RemoveRequest) XXX_Unmarshal

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

type Resource

type Resource struct {
	ID                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                 ResourceType      `protobuf:"varint,2,opt,name=type,proto3,enum=io.stellarproject.orbit.v2.ResourceType" json:"type,omitempty"`
	Path                 string            `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Annotations          map[string]string `` /* 163-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Resource) Descriptor

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

func (*Resource) Marshal

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

func (*Resource) MarshalTo

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

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) Size

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

func (*Resource) String

func (this *Resource) String() string

func (*Resource) Unmarshal

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

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

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

func (*Resource) XXX_Merge

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

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

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

type ResourceType

type ResourceType int32
const (
	VolumeType ResourceType = 0
	ConfigType ResourceType = 1
)

func (ResourceType) EnumDescriptor

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

func (ResourceType) String

func (x ResourceType) String() string

type Security

type Security struct {
	Privileged           bool     `protobuf:"varint,1,opt,name=privileged,proto3" json:"privileged,omitempty"`
	Capabilities         []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	MaskedPaths          []string `protobuf:"bytes,3,rep,name=masked_paths,json=maskedPaths,proto3" json:"masked_paths,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Security) Descriptor

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

func (*Security) Marshal

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

func (*Security) MarshalTo

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

func (*Security) ProtoMessage

func (*Security) ProtoMessage()

func (*Security) Reset

func (m *Security) Reset()

func (*Security) Size

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

func (*Security) String

func (this *Security) String() string

func (*Security) Unmarshal

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

func (*Security) XXX_DiscardUnknown

func (m *Security) XXX_DiscardUnknown()

func (*Security) XXX_Marshal

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

func (*Security) XXX_Merge

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

func (*Security) XXX_Size

func (m *Security) XXX_Size() int

func (*Security) XXX_Unmarshal

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

type Snapshot

type Snapshot struct {
	ID                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created              time.Time `protobuf:"bytes,2,opt,name=created,proto3,stdtime" json:"created"`
	Previous             string    `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"`
	FsSize               int64     `protobuf:"varint,4,opt,name=fs_size,json=fsSize,proto3" json:"fs_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Snapshot) Descriptor

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

func (*Snapshot) Marshal

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

func (*Snapshot) MarshalTo

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

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

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

func (*Snapshot) String

func (this *Snapshot) String() string

func (*Snapshot) Unmarshal

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

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

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

func (*Snapshot) XXX_Merge

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

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

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

type StateResponse

type StateResponse struct {
	Cpus                 uint32           `protobuf:"varint,1,opt,name=cpus,proto3" json:"cpus,omitempty"`
	Memory               uint64           `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Containers           []*ContainerInfo `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*StateResponse) Descriptor

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

func (*StateResponse) Marshal

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

func (*StateResponse) MarshalTo

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

func (*StateResponse) ProtoMessage

func (*StateResponse) ProtoMessage()

func (*StateResponse) Reset

func (m *StateResponse) Reset()

func (*StateResponse) Size

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

func (*StateResponse) String

func (this *StateResponse) String() string

func (*StateResponse) Unmarshal

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

func (*StateResponse) XXX_DiscardUnknown

func (m *StateResponse) XXX_DiscardUnknown()

func (*StateResponse) XXX_Marshal

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

func (*StateResponse) XXX_Merge

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

func (*StateResponse) XXX_Size

func (m *StateResponse) XXX_Size() int

func (*StateResponse) XXX_Unmarshal

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

type System

type System struct {
	Cpus                 float64  `protobuf:"fixed64,1,opt,name=cpus,proto3" json:"cpus,omitempty"`
	Memory               int64    `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Score                int64    `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
	NoFile               uint64   `protobuf:"varint,4,opt,name=no_file,json=noFile,proto3" json:"no_file,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*System) Descriptor

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

func (*System) Marshal

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

func (*System) MarshalTo

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

func (*System) ProtoMessage

func (*System) ProtoMessage()

func (*System) Reset

func (m *System) Reset()

func (*System) Size

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

func (*System) String

func (this *System) String() string

func (*System) Unmarshal

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

func (*System) XXX_DiscardUnknown

func (m *System) XXX_DiscardUnknown()

func (*System) XXX_Marshal

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

func (*System) XXX_Merge

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

func (*System) XXX_Size

func (m *System) XXX_Size() int

func (*System) XXX_Unmarshal

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

type User

type User struct {
	Uid                  uint32   `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid                  uint32   `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*User) Descriptor

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

func (*User) Marshal

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

func (*User) MarshalTo

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) Size

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

func (*User) String

func (this *User) String() string

func (*User) Unmarshal

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

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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