Documentation ¶
Overview ¶
Package com_HailoOSS_kernel_provisioningmanager is a generated protocol buffer package.
It is generated from these files:
github.com/HailoOSS/provisioning-manager-service/proto/levels.proto
It has these top-level messages:
Package com_HailoOSS_kernel_provisioningmanager is a generated protocol buffer package.
It is generated from these files:
github.com/HailoOSS/provisioning-manager-service/proto/provisioner.proto
It has these top-level messages:
Resource Service Machine Provisioner
Index ¶
- Variables
- type Level
- type Machine
- type Provisioner
- func (m *Provisioner) GetAzName() string
- func (m *Provisioner) GetContainers() []*Service
- func (m *Provisioner) GetHostname() string
- func (m *Provisioner) GetId() string
- func (m *Provisioner) GetIpAddress() string
- func (m *Provisioner) GetLastUpdate() uint64
- func (m *Provisioner) GetMachine() *Machine
- func (m *Provisioner) GetMachineClass() string
- func (m *Provisioner) GetProcesses() []*Service
- func (m *Provisioner) GetStarted() uint64
- func (m *Provisioner) GetVersion() string
- func (*Provisioner) ProtoMessage()
- func (m *Provisioner) Reset()
- func (m *Provisioner) String() string
- type Resource
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var Level_name = map[int32]string{
0: "HALT",
1: "PLATFORM",
2: "CRITICAL",
3: "ESSENTIAL",
4: "DEGRADED",
5: "ALL",
}
View Source
var Level_value = map[string]int32{
"HALT": 0,
"PLATFORM": 1,
"CRITICAL": 2,
"ESSENTIAL": 3,
"DEGRADED": 4,
"ALL": 5,
}
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct { Cores *uint64 `protobuf:"varint,1,req,name=cores" json:"cores,omitempty"` Memory *uint64 `protobuf:"varint,2,req,name=memory" json:"memory,omitempty"` Disk *uint64 `protobuf:"varint,3,req,name=disk" json:"disk,omitempty"` Usage *Resource `protobuf:"bytes,4,opt,name=usage" json:"usage,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
type Provisioner ¶
type Provisioner struct { Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"` Version *string `protobuf:"bytes,2,req,name=version" json:"version,omitempty"` Hostname *string `protobuf:"bytes,3,req,name=hostname" json:"hostname,omitempty"` IpAddress *string `protobuf:"bytes,4,req,name=ipAddress" json:"ipAddress,omitempty"` AzName *string `protobuf:"bytes,5,req,name=azName" json:"azName,omitempty"` MachineClass *string `protobuf:"bytes,6,req,name=machineClass" json:"machineClass,omitempty"` Started *uint64 `protobuf:"varint,7,req,name=started" json:"started,omitempty"` LastUpdate *uint64 `protobuf:"varint,8,req,name=lastUpdate" json:"lastUpdate,omitempty"` Machine *Machine `protobuf:"bytes,9,req,name=machine" json:"machine,omitempty"` Processes []*Service `protobuf:"bytes,10,rep,name=processes" json:"processes,omitempty"` Containers []*Service `protobuf:"bytes,11,rep,name=containers" json:"containers,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Provisioner) GetAzName ¶
func (m *Provisioner) GetAzName() string
func (*Provisioner) GetContainers ¶
func (m *Provisioner) GetContainers() []*Service
func (*Provisioner) GetHostname ¶
func (m *Provisioner) GetHostname() string
func (*Provisioner) GetId ¶
func (m *Provisioner) GetId() string
func (*Provisioner) GetIpAddress ¶
func (m *Provisioner) GetIpAddress() string
func (*Provisioner) GetLastUpdate ¶
func (m *Provisioner) GetLastUpdate() uint64
func (*Provisioner) GetMachine ¶
func (m *Provisioner) GetMachine() *Machine
func (*Provisioner) GetMachineClass ¶
func (m *Provisioner) GetMachineClass() string
func (*Provisioner) GetProcesses ¶
func (m *Provisioner) GetProcesses() []*Service
func (*Provisioner) GetStarted ¶
func (m *Provisioner) GetStarted() uint64
func (*Provisioner) GetVersion ¶
func (m *Provisioner) GetVersion() string
func (*Provisioner) ProtoMessage ¶
func (*Provisioner) ProtoMessage()
func (*Provisioner) Reset ¶
func (m *Provisioner) Reset()
func (*Provisioner) String ¶
func (m *Provisioner) String() string
type Resource ¶
type Resource struct { Cpu *float64 `protobuf:"fixed64,1,opt,name=cpu" json:"cpu,omitempty"` Memory *uint64 `protobuf:"varint,2,opt,name=memory" json:"memory,omitempty"` Disk *uint64 `protobuf:"varint,3,opt,name=disk" json:"disk,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
type Service ¶
type Service struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Usage *Resource `protobuf:"bytes,3,opt,name=usage" json:"usage,omitempty"` Allocation *Resource `protobuf:"bytes,4,opt,name=allocation" json:"allocation,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Service) GetAllocation ¶
func (*Service) GetVersion ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
Directories ¶
Path | Synopsis |
---|---|
Package com_HailoOSS_service_provisioningmanager_create is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioningmanager_create is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioningmanager_delete is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioningmanager_delete is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_describerunlevels is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_describerunlevels is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_getprovisioner is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_getprovisioner is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_getresources is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_getresources is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_provisioners is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_provisioners is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_provisioned is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_provisioned is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioningmanager_read is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioningmanager_read is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_runlevels is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_runlevels is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioningmanager_search is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioningmanager_search is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_runlevels is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_runlevels is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_setrunlevel is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_setrunlevel is a generated protocol buffer package. |
Package com_HailoOSS_kernel_provisioningmanager_setservicerunlevels is a generated protocol buffer package.
|
Package com_HailoOSS_kernel_provisioningmanager_setservicerunlevels is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.