Documentation ¶
Overview ¶
Package com_HailoOSS_kernel_provisioning is a generated protocol buffer package.
It is generated from these files:
github.com/HailoOSS/provisioning-service/proto/event.proto
It has these top-level messages:
Event
Package com_HailoOSS_kernel_provisioning is a generated protocol buffer package.
It is generated from these files:
github.com/HailoOSS/provisioning-service/proto/info.proto
It has these top-level messages:
Resource Service Machine Info
Index ¶
- type Event
- func (m *Event) GetAction() string
- func (m *Event) GetAzName() string
- func (m *Event) GetHostname() string
- func (m *Event) GetInfo() string
- func (m *Event) GetMachineClass() string
- func (m *Event) GetServiceName() string
- func (m *Event) GetServiceVersion() uint64
- func (m *Event) GetTimestamp() int64
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- type Info
- func (m *Info) GetAzName() string
- func (m *Info) GetContainers() []*Service
- func (m *Info) GetHostname() string
- func (m *Info) GetId() string
- func (m *Info) GetIpAddress() string
- func (m *Info) GetMachine() *Machine
- func (m *Info) GetMachineClass() string
- func (m *Info) GetProcesses() []*Service
- func (m *Info) GetStarted() uint64
- func (m *Info) GetTimestamp() uint64
- func (m *Info) GetVersion() string
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) String() string
- type Machine
- type Resource
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ServiceName *string `protobuf:"bytes,1,req,name=serviceName" json:"serviceName,omitempty"` ServiceVersion *uint64 `protobuf:"varint,2,req,name=serviceVersion" json:"serviceVersion,omitempty"` MachineClass *string `protobuf:"bytes,3,req,name=machineClass" json:"machineClass,omitempty"` Hostname *string `protobuf:"bytes,4,req,name=hostname" json:"hostname,omitempty"` AzName *string `protobuf:"bytes,5,req,name=azName" json:"azName,omitempty"` Action *string `protobuf:"bytes,6,req,name=action" json:"action,omitempty"` Info *string `protobuf:"bytes,7,req,name=info" json:"info,omitempty"` Timestamp *int64 `protobuf:"varint,8,req,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Event) GetHostname ¶
func (*Event) GetMachineClass ¶
func (*Event) GetServiceName ¶
func (*Event) GetServiceVersion ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type Info ¶
type Info 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"` Timestamp *uint64 `protobuf:"varint,8,req,name=timestamp" json:"timestamp,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 (*Info) GetContainers ¶
func (*Info) GetHostname ¶
func (*Info) GetIpAddress ¶
func (*Info) GetMachine ¶
func (*Info) GetMachineClass ¶
func (*Info) GetProcesses ¶
func (*Info) GetStarted ¶
func (*Info) GetTimestamp ¶
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
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,req,name=usage" json:"usage,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
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_provisioning_create is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioning_create is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioning_delete is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioning_delete is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioning_read is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioning_read is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioning_restart is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioning_restart is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioning_restartaz is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioning_restartaz is a generated protocol buffer package. |
Package com_HailoOSS_service_provisioning_search is a generated protocol buffer package.
|
Package com_HailoOSS_service_provisioning_search is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.