com_HailoOSS_kernel_provisioningmanager

package
v0.0.0-...-81b74ec Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: MIT Imports: 3 Imported by: 11

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

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 Level

type Level int32
const (
	Level_HALT      Level = 0
	Level_PLATFORM  Level = 1
	Level_CRITICAL  Level = 2
	Level_ESSENTIAL Level = 3
	Level_DEGRADED  Level = 4
	Level_ALL       Level = 5
)

func (Level) Enum

func (x Level) Enum() *Level

func (Level) MarshalJSON

func (x Level) MarshalJSON() ([]byte, error)

func (Level) String

func (x Level) String() string

func (*Level) UnmarshalJSON

func (x *Level) UnmarshalJSON(data []byte) error

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) GetCores

func (m *Machine) GetCores() uint64

func (*Machine) GetDisk

func (m *Machine) GetDisk() uint64

func (*Machine) GetMemory

func (m *Machine) GetMemory() uint64

func (*Machine) GetUsage

func (m *Machine) GetUsage() *Resource

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) Reset

func (m *Machine) Reset()

func (*Machine) String

func (m *Machine) String() string

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) GetCpu

func (m *Resource) GetCpu() float64

func (*Resource) GetDisk

func (m *Resource) GetDisk() uint64

func (*Resource) GetMemory

func (m *Resource) GetMemory() uint64

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

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 (m *Service) GetAllocation() *Resource

func (*Service) GetName

func (m *Service) GetName() string

func (*Service) GetUsage

func (m *Service) GetUsage() *Resource

func (*Service) GetVersion

func (m *Service) GetVersion() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) String

func (m *Service) String() string

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.

Jump to

Keyboard shortcuts

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