Documentation
¶
Index ¶
- Variables
- func RegisterOrbitServer(s *grpc.Server, srv OrbitServer)
- type CNIIPAM
- func (*CNIIPAM) Descriptor() ([]byte, []int)
- func (m *CNIIPAM) Marshal() (dAtA []byte, err error)
- func (m *CNIIPAM) MarshalTo(dAtA []byte) (int, error)
- func (*CNIIPAM) ProtoMessage()
- func (m *CNIIPAM) Reset()
- func (m *CNIIPAM) Size() (n int)
- func (this *CNIIPAM) String() string
- func (m *CNIIPAM) Unmarshal(dAtA []byte) error
- func (m *CNIIPAM) XXX_DiscardUnknown()
- func (m *CNIIPAM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CNIIPAM) XXX_Merge(src proto.Message)
- func (m *CNIIPAM) XXX_Size() int
- func (m *CNIIPAM) XXX_Unmarshal(b []byte) error
- type CNINetwork
- func (*CNINetwork) Descriptor() ([]byte, []int)
- func (m *CNINetwork) Marshal() (dAtA []byte, err error)
- func (m *CNINetwork) MarshalTo(dAtA []byte) (int, error)
- func (*CNINetwork) ProtoMessage()
- func (m *CNINetwork) Reset()
- func (m *CNINetwork) Size() (n int)
- func (this *CNINetwork) String() string
- func (m *CNINetwork) Unmarshal(dAtA []byte) error
- func (m *CNINetwork) XXX_DiscardUnknown()
- func (m *CNINetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CNINetwork) XXX_Merge(src proto.Message)
- func (m *CNINetwork) XXX_Size() int
- func (m *CNINetwork) XXX_Unmarshal(b []byte) error
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) Marshal() (dAtA []byte, err error)
- func (m *Container) MarshalTo(dAtA []byte) (int, error)
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) Size() (n int)
- func (this *Container) String() string
- func (m *Container) Unmarshal(dAtA []byte) error
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type ContainerInfo
- func (*ContainerInfo) Descriptor() ([]byte, []int)
- func (m *ContainerInfo) Marshal() (dAtA []byte, err error)
- func (m *ContainerInfo) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerInfo) ProtoMessage()
- func (m *ContainerInfo) Reset()
- func (m *ContainerInfo) Size() (n int)
- func (this *ContainerInfo) String() string
- func (m *ContainerInfo) Unmarshal(dAtA []byte) error
- func (m *ContainerInfo) XXX_DiscardUnknown()
- func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainerInfo) XXX_Merge(src proto.Message)
- func (m *ContainerInfo) XXX_Size() int
- func (m *ContainerInfo) XXX_Unmarshal(b []byte) error
- type ContainerType
- type DeployRequest
- func (*DeployRequest) Descriptor() ([]byte, []int)
- func (m *DeployRequest) Marshal() (dAtA []byte, err error)
- func (m *DeployRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DeployRequest) ProtoMessage()
- func (m *DeployRequest) Reset()
- func (m *DeployRequest) Size() (n int)
- func (this *DeployRequest) String() string
- func (m *DeployRequest) Unmarshal(dAtA []byte) error
- func (m *DeployRequest) XXX_DiscardUnknown()
- func (m *DeployRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployRequest) XXX_Merge(src proto.Message)
- func (m *DeployRequest) XXX_Size() int
- func (m *DeployRequest) XXX_Unmarshal(b []byte) error
- type DeployResponse
- func (*DeployResponse) Descriptor() ([]byte, []int)
- func (m *DeployResponse) Marshal() (dAtA []byte, err error)
- func (m *DeployResponse) MarshalTo(dAtA []byte) (int, error)
- func (*DeployResponse) ProtoMessage()
- func (m *DeployResponse) Reset()
- func (m *DeployResponse) Size() (n int)
- func (this *DeployResponse) String() string
- func (m *DeployResponse) Unmarshal(dAtA []byte) error
- func (m *DeployResponse) XXX_DiscardUnknown()
- func (m *DeployResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployResponse) XXX_Merge(src proto.Message)
- func (m *DeployResponse) XXX_Size() int
- func (m *DeployResponse) XXX_Unmarshal(b []byte) error
- type GPUs
- func (*GPUs) Descriptor() ([]byte, []int)
- func (m *GPUs) Marshal() (dAtA []byte, err error)
- func (m *GPUs) MarshalTo(dAtA []byte) (int, error)
- func (*GPUs) ProtoMessage()
- func (m *GPUs) Reset()
- func (m *GPUs) Size() (n int)
- func (this *GPUs) String() string
- func (m *GPUs) Unmarshal(dAtA []byte) error
- func (m *GPUs) XXX_DiscardUnknown()
- func (m *GPUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GPUs) XXX_Merge(src proto.Message)
- func (m *GPUs) XXX_Size() int
- func (m *GPUs) XXX_Unmarshal(b []byte) error
- type HostNetwork
- func (*HostNetwork) Descriptor() ([]byte, []int)
- func (m *HostNetwork) Marshal() (dAtA []byte, err error)
- func (m *HostNetwork) MarshalTo(dAtA []byte) (int, error)
- func (*HostNetwork) ProtoMessage()
- func (m *HostNetwork) Reset()
- func (m *HostNetwork) Size() (n int)
- func (this *HostNetwork) String() string
- func (m *HostNetwork) Unmarshal(dAtA []byte) error
- func (m *HostNetwork) XXX_DiscardUnknown()
- func (m *HostNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HostNetwork) XXX_Merge(src proto.Message)
- func (m *HostNetwork) XXX_Size() int
- func (m *HostNetwork) XXX_Unmarshal(b []byte) error
- type OrbitClient
- type OrbitServer
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) Marshal() (dAtA []byte, err error)
- func (m *Process) MarshalTo(dAtA []byte) (int, error)
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) Size() (n int)
- func (this *Process) String() string
- func (m *Process) Unmarshal(dAtA []byte) error
- func (m *Process) XXX_DiscardUnknown()
- func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Process) XXX_Merge(src proto.Message)
- func (m *Process) XXX_Size() int
- func (m *Process) XXX_Unmarshal(b []byte) error
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)
- func (m *RemoveRequest) Marshal() (dAtA []byte, err error)
- func (m *RemoveRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RemoveRequest) ProtoMessage()
- func (m *RemoveRequest) Reset()
- func (m *RemoveRequest) Size() (n int)
- func (this *RemoveRequest) String() string
- func (m *RemoveRequest) Unmarshal(dAtA []byte) error
- func (m *RemoveRequest) XXX_DiscardUnknown()
- func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveRequest) XXX_Merge(src proto.Message)
- func (m *RemoveRequest) XXX_Size() int
- func (m *RemoveRequest) XXX_Unmarshal(b []byte) error
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) Marshal() (dAtA []byte, err error)
- func (m *Resource) MarshalTo(dAtA []byte) (int, error)
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) Size() (n int)
- func (this *Resource) String() string
- func (m *Resource) Unmarshal(dAtA []byte) error
- func (m *Resource) XXX_DiscardUnknown()
- func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resource) XXX_Merge(src proto.Message)
- func (m *Resource) XXX_Size() int
- func (m *Resource) XXX_Unmarshal(b []byte) error
- type ResourceType
- type Security
- func (*Security) Descriptor() ([]byte, []int)
- func (m *Security) Marshal() (dAtA []byte, err error)
- func (m *Security) MarshalTo(dAtA []byte) (int, error)
- func (*Security) ProtoMessage()
- func (m *Security) Reset()
- func (m *Security) Size() (n int)
- func (this *Security) String() string
- func (m *Security) Unmarshal(dAtA []byte) error
- func (m *Security) XXX_DiscardUnknown()
- func (m *Security) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Security) XXX_Merge(src proto.Message)
- func (m *Security) XXX_Size() int
- func (m *Security) XXX_Unmarshal(b []byte) error
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) Marshal() (dAtA []byte, err error)
- func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) Size() (n int)
- func (this *Snapshot) String() string
- func (m *Snapshot) Unmarshal(dAtA []byte) error
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
- type StateResponse
- func (*StateResponse) Descriptor() ([]byte, []int)
- func (m *StateResponse) Marshal() (dAtA []byte, err error)
- func (m *StateResponse) MarshalTo(dAtA []byte) (int, error)
- func (*StateResponse) ProtoMessage()
- func (m *StateResponse) Reset()
- func (m *StateResponse) Size() (n int)
- func (this *StateResponse) String() string
- func (m *StateResponse) Unmarshal(dAtA []byte) error
- func (m *StateResponse) XXX_DiscardUnknown()
- func (m *StateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateResponse) XXX_Merge(src proto.Message)
- func (m *StateResponse) XXX_Size() int
- func (m *StateResponse) XXX_Unmarshal(b []byte) error
- type System
- func (*System) Descriptor() ([]byte, []int)
- func (m *System) Marshal() (dAtA []byte, err error)
- func (m *System) MarshalTo(dAtA []byte) (int, error)
- func (*System) ProtoMessage()
- func (m *System) Reset()
- func (m *System) Size() (n int)
- func (this *System) String() string
- func (m *System) Unmarshal(dAtA []byte) error
- func (m *System) XXX_DiscardUnknown()
- func (m *System) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *System) XXX_Merge(src proto.Message)
- func (m *System) XXX_Size() int
- func (m *System) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (this *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
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) ProtoMessage ¶
func (*CNIIPAM) ProtoMessage()
func (*CNIIPAM) XXX_DiscardUnknown ¶
func (m *CNIIPAM) XXX_DiscardUnknown()
func (*CNIIPAM) XXX_Marshal ¶
func (*CNIIPAM) XXX_Unmarshal ¶
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) 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) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶
func (*Container) XXX_Unmarshal ¶
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) 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) 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) 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) ProtoMessage ¶
func (*GPUs) ProtoMessage()
func (*GPUs) XXX_DiscardUnknown ¶
func (m *GPUs) XXX_DiscardUnknown()
func (*GPUs) XXX_Unmarshal ¶
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) 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) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) XXX_DiscardUnknown ¶
func (m *Process) XXX_DiscardUnknown()
func (*Process) XXX_Marshal ¶
func (*Process) XXX_Unmarshal ¶
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) 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) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) XXX_DiscardUnknown ¶
func (m *Resource) XXX_DiscardUnknown()
func (*Resource) XXX_Marshal ¶
func (*Resource) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Security) ProtoMessage()
func (*Security) XXX_DiscardUnknown ¶
func (m *Security) XXX_DiscardUnknown()
func (*Security) XXX_Marshal ¶
func (*Security) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶
func (*Snapshot) XXX_Unmarshal ¶
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) 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) ProtoMessage ¶
func (*System) ProtoMessage()
func (*System) XXX_DiscardUnknown ¶
func (m *System) XXX_DiscardUnknown()
func (*System) XXX_Marshal ¶
func (*System) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.