sled

package
v0.6.0-1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TaskError for errors
	TaskError = "error"
	// TaskOk for command complete
	TaskOk = "ok"
	// TaskAck for command in progress
	TaskAck = "ack"

	// CmdWipe for wipe command
	CmdWipe = "wipe"
	// CmdWrite for write command
	CmdWrite = "write"
	// CmdKexec for kexec command
	CmdKexec = "kexec"

	// DaemonConfigured for daemon commands
	DaemonConfigured = "configured"
	// DaemonReady for daemon commands
	DaemonReady = "ready"
	// DaemonNotSet for daemon commands
	DaemonNotSet = "none"
)
View Source
const (
	//ImageKind image
	ImageKind = "Image"
	//KexecKind kexec
	KexecKind = "Kexec"
	//SledClubKind multiple sled nodes
	SledClubKind = "SledClub"
)

Variables

View Source
var EnumStatus_name = map[int32]string{
	0: "NONE",
	1: "CONFIGURED",
	2: "READY",
}
View Source
var EnumStatus_value = map[string]int32{
	"NONE":       0,
	"CONFIGURED": 1,
	"READY":      2,
}
View Source
var Response_Status_name = map[int32]string{
	0: "empty",
	1: "unknown",
	2: "ack",
	3: "ok",
	4: "error",
}
View Source
var Response_Status_value = map[string]int32{
	"empty":   0,
	"unknown": 1,
	"ack":     2,
	"ok":      3,
	"error":   4,
}
View Source
var Version string

Version version of sled package

Functions

func Error

func Error(message string) error

Error creates an error, and logs it righteously

func ErrorE added in v0.6.0

func ErrorE(message string, err error) error

ErrorE encapsulates err in a structured log and return an abstracted high-level error with message as the payload

func ErrorEF added in v0.6.0

func ErrorEF(message string, err error, fields log.Fields) error

ErrorEF encapsulates fields and err in a structured log and return an abstracted high-level error with message as the payload

func ErrorF added in v0.6.0

func ErrorF(message string, fields log.Fields) error

ErrorF encapsulates fields in a structured log and return an abstracted high-level error with message as the payload

func InitLogging added in v0.6.0

func InitLogging()

InitLogging initializes the logrus logger to Debug

func RegisterSledapiServer added in v0.6.0

func RegisterSledapiServer(s *grpc.Server, srv SledapiServer)

func RegisterSledcProtocolServer added in v0.6.0

func RegisterSledcProtocolServer(s *grpc.Server, srv SledcProtocolServer)

func RegisterSledctodProtocolServer added in v0.6.0

func RegisterSledctodProtocolServer(s *grpc.Server, srv SledctodProtocolServer)

func SanitizeMAC

func SanitizeMAC(mac string) (string, error)

SanitizeMAC dont let bad mac addresses or capitalizes bleed into db

func SanitizePrefix added in v0.5.1

func SanitizePrefix(prefix string) error

SanitizePrefix checks that the prefix is a valid portion of a mac address wildcards are done with leaving a porition of the mac address as empty: e.g., 00:08:ad:32

func Warn added in v0.6.0

func Warn(message string)

Warn acts like Error, but doesnt return anything

func WarnE added in v0.6.0

func WarnE(message string, err error)

WarnE includes an error message which is treated as not

func WarnEF added in v0.6.0

func WarnEF(message string, err error, fields log.Fields)

WarnEF includes an encapsulated field to the warning message

func WarnF added in v0.6.0

func WarnF(message string, fields log.Fields)

WarnF includes an encapsulated field to the warning message

Types

type CommandRequest

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

func (*CommandRequest) Descriptor

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

func (*CommandRequest) GetMac

func (m *CommandRequest) GetMac() string

func (*CommandRequest) ProtoMessage

func (*CommandRequest) ProtoMessage()

func (*CommandRequest) Reset

func (m *CommandRequest) Reset()

func (*CommandRequest) String

func (m *CommandRequest) String() string

func (*CommandRequest) XXX_DiscardUnknown

func (m *CommandRequest) XXX_DiscardUnknown()

func (*CommandRequest) XXX_Marshal

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

func (*CommandRequest) XXX_Merge

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

func (*CommandRequest) XXX_Size

func (m *CommandRequest) XXX_Size() int

func (*CommandRequest) XXX_Unmarshal

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

type CommandResponse

type CommandResponse struct {
	Response             *CommandSet `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*CommandResponse) Descriptor

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

func (*CommandResponse) GetResponse

func (m *CommandResponse) GetResponse() *CommandSet

func (*CommandResponse) ProtoMessage

func (*CommandResponse) ProtoMessage()

func (*CommandResponse) Reset

func (m *CommandResponse) Reset()

func (*CommandResponse) String

func (m *CommandResponse) String() string

func (*CommandResponse) XXX_DiscardUnknown

func (m *CommandResponse) XXX_DiscardUnknown()

func (*CommandResponse) XXX_Marshal

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

func (*CommandResponse) XXX_Merge

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

func (*CommandResponse) XXX_Size

func (m *CommandResponse) XXX_Size() int

func (*CommandResponse) XXX_Unmarshal

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

type CommandSet

type CommandSet struct {
	Wipe                 *WipeResponse  `protobuf:"bytes,1,opt,name=wipe,proto3" json:"wipe,omitempty"`
	Write                *WriteResponse `protobuf:"bytes,2,opt,name=write,proto3" json:"write,omitempty"`
	Kexec                *KexecResponse `protobuf:"bytes,3,opt,name=kexec,proto3" json:"kexec,omitempty"`
	Daemon               EnumStatus     `protobuf:"varint,4,opt,name=daemon,proto3,enum=sled.EnumStatus" json:"daemon,omitempty"`
	Statusid             string         `protobuf:"bytes,5,opt,name=statusid,proto3" json:"statusid,omitempty"`
	Timestamp            string         `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CommandSet) Descriptor

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

func (*CommandSet) GetDaemon added in v0.6.0

func (m *CommandSet) GetDaemon() EnumStatus

func (*CommandSet) GetKexec

func (m *CommandSet) GetKexec() *KexecResponse

func (*CommandSet) GetStatusid added in v0.6.0

func (m *CommandSet) GetStatusid() string

func (*CommandSet) GetTimestamp added in v0.6.0

func (m *CommandSet) GetTimestamp() string

func (*CommandSet) GetWipe

func (m *CommandSet) GetWipe() *WipeResponse

func (*CommandSet) GetWrite

func (m *CommandSet) GetWrite() *WriteResponse

func (*CommandSet) ProtoMessage

func (*CommandSet) ProtoMessage()

func (*CommandSet) Reset

func (m *CommandSet) Reset()

func (*CommandSet) String

func (m *CommandSet) String() string

func (*CommandSet) XXX_DiscardUnknown

func (m *CommandSet) XXX_DiscardUnknown()

func (*CommandSet) XXX_Marshal

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

func (*CommandSet) XXX_Merge

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

func (*CommandSet) XXX_Size

func (m *CommandSet) XXX_Size() int

func (*CommandSet) XXX_Unmarshal

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

type CommandStatus added in v0.6.0

type CommandStatus struct {
	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Wipe                 *Response `protobuf:"bytes,2,opt,name=wipe,proto3" json:"wipe,omitempty"`
	Write                *Response `protobuf:"bytes,3,opt,name=write,proto3" json:"write,omitempty"`
	Kexec                *Response `protobuf:"bytes,4,opt,name=kexec,proto3" json:"kexec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CommandStatus) Descriptor added in v0.6.0

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

func (*CommandStatus) GetId added in v0.6.0

func (m *CommandStatus) GetId() string

func (*CommandStatus) GetKexec added in v0.6.0

func (m *CommandStatus) GetKexec() *Response

func (*CommandStatus) GetWipe added in v0.6.0

func (m *CommandStatus) GetWipe() *Response

func (*CommandStatus) GetWrite added in v0.6.0

func (m *CommandStatus) GetWrite() *Response

func (*CommandStatus) ProtoMessage added in v0.6.0

func (*CommandStatus) ProtoMessage()

func (*CommandStatus) Reset added in v0.6.0

func (m *CommandStatus) Reset()

func (*CommandStatus) String added in v0.6.0

func (m *CommandStatus) String() string

func (*CommandStatus) XXX_DiscardUnknown added in v0.6.0

func (m *CommandStatus) XXX_DiscardUnknown()

func (*CommandStatus) XXX_Marshal added in v0.6.0

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

func (*CommandStatus) XXX_Merge added in v0.6.0

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

func (*CommandStatus) XXX_Size added in v0.6.0

func (m *CommandStatus) XXX_Size() int

func (*CommandStatus) XXX_Unmarshal added in v0.6.0

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

type DaemonProto added in v0.6.0

type DaemonProto struct {
	Status               EnumStatus `protobuf:"varint,1,opt,name=status,proto3,enum=sled.EnumStatus" json:"status,omitempty"`
	Port                 string     `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	Ip                   string     `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Mac                  string     `protobuf:"bytes,4,opt,name=mac,proto3" json:"mac,omitempty"`
	Kernel               string     `protobuf:"bytes,5,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Initrd               string     `protobuf:"bytes,6,opt,name=initrd,proto3" json:"initrd,omitempty"`
	Disk                 string     `protobuf:"bytes,7,opt,name=disk,proto3" json:"disk,omitempty"`
	Device               string     `protobuf:"bytes,8,opt,name=device,proto3" json:"device,omitempty"`
	Uptime               string     `protobuf:"bytes,9,opt,name=uptime,proto3" json:"uptime,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*DaemonProto) Descriptor added in v0.6.0

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

func (*DaemonProto) GetDevice added in v0.6.0

func (m *DaemonProto) GetDevice() string

func (*DaemonProto) GetDisk added in v0.6.0

func (m *DaemonProto) GetDisk() string

func (*DaemonProto) GetInitrd added in v0.6.0

func (m *DaemonProto) GetInitrd() string

func (*DaemonProto) GetIp added in v0.6.0

func (m *DaemonProto) GetIp() string

func (*DaemonProto) GetKernel added in v0.6.0

func (m *DaemonProto) GetKernel() string

func (*DaemonProto) GetMac added in v0.6.0

func (m *DaemonProto) GetMac() string

func (*DaemonProto) GetPort added in v0.6.0

func (m *DaemonProto) GetPort() string

func (*DaemonProto) GetStatus added in v0.6.0

func (m *DaemonProto) GetStatus() EnumStatus

func (*DaemonProto) GetUptime added in v0.6.0

func (m *DaemonProto) GetUptime() string

func (*DaemonProto) ProtoMessage added in v0.6.0

func (*DaemonProto) ProtoMessage()

func (*DaemonProto) Reset added in v0.6.0

func (m *DaemonProto) Reset()

func (*DaemonProto) String added in v0.6.0

func (m *DaemonProto) String() string

func (*DaemonProto) XXX_DiscardUnknown added in v0.6.0

func (m *DaemonProto) XXX_DiscardUnknown()

func (*DaemonProto) XXX_Marshal added in v0.6.0

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

func (*DaemonProto) XXX_Merge added in v0.6.0

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

func (*DaemonProto) XXX_Size added in v0.6.0

func (m *DaemonProto) XXX_Size() int

func (*DaemonProto) XXX_Unmarshal added in v0.6.0

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

type DaemonProtoRequest added in v0.6.0

type DaemonProtoRequest struct {
	Dp                   *DaemonProto `protobuf:"bytes,1,opt,name=dp,proto3" json:"dp,omitempty"`
	Ignore               bool         `protobuf:"varint,2,opt,name=ignore,proto3" json:"ignore,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*DaemonProtoRequest) Descriptor added in v0.6.0

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

func (*DaemonProtoRequest) GetDp added in v0.6.0

func (m *DaemonProtoRequest) GetDp() *DaemonProto

func (*DaemonProtoRequest) GetIgnore added in v0.6.0

func (m *DaemonProtoRequest) GetIgnore() bool

func (*DaemonProtoRequest) ProtoMessage added in v0.6.0

func (*DaemonProtoRequest) ProtoMessage()

func (*DaemonProtoRequest) Reset added in v0.6.0

func (m *DaemonProtoRequest) Reset()

func (*DaemonProtoRequest) String added in v0.6.0

func (m *DaemonProtoRequest) String() string

func (*DaemonProtoRequest) XXX_DiscardUnknown added in v0.6.0

func (m *DaemonProtoRequest) XXX_DiscardUnknown()

func (*DaemonProtoRequest) XXX_Marshal added in v0.6.0

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

func (*DaemonProtoRequest) XXX_Merge added in v0.6.0

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

func (*DaemonProtoRequest) XXX_Size added in v0.6.0

func (m *DaemonProtoRequest) XXX_Size() int

func (*DaemonProtoRequest) XXX_Unmarshal added in v0.6.0

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

type DaemonStatus added in v0.6.0

type DaemonStatus struct {
	Status               EnumStatus `protobuf:"varint,1,opt,name=status,proto3,enum=sled.EnumStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*DaemonStatus) Descriptor added in v0.6.0

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

func (*DaemonStatus) GetStatus added in v0.6.0

func (m *DaemonStatus) GetStatus() EnumStatus

func (*DaemonStatus) ProtoMessage added in v0.6.0

func (*DaemonStatus) ProtoMessage()

func (*DaemonStatus) Reset added in v0.6.0

func (m *DaemonStatus) Reset()

func (*DaemonStatus) String added in v0.6.0

func (m *DaemonStatus) String() string

func (*DaemonStatus) XXX_DiscardUnknown added in v0.6.0

func (m *DaemonStatus) XXX_DiscardUnknown()

func (*DaemonStatus) XXX_Marshal added in v0.6.0

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

func (*DaemonStatus) XXX_Merge added in v0.6.0

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

func (*DaemonStatus) XXX_Size added in v0.6.0

func (m *DaemonStatus) XXX_Size() int

func (*DaemonStatus) XXX_Unmarshal added in v0.6.0

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

type DeleteCommandRequest

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

func (*DeleteCommandRequest) Descriptor

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

func (*DeleteCommandRequest) GetMac

func (m *DeleteCommandRequest) GetMac() string

func (*DeleteCommandRequest) ProtoMessage

func (*DeleteCommandRequest) ProtoMessage()

func (*DeleteCommandRequest) Reset

func (m *DeleteCommandRequest) Reset()

func (*DeleteCommandRequest) String

func (m *DeleteCommandRequest) String() string

func (*DeleteCommandRequest) XXX_DiscardUnknown

func (m *DeleteCommandRequest) XXX_DiscardUnknown()

func (*DeleteCommandRequest) XXX_Marshal

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

func (*DeleteCommandRequest) XXX_Merge

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

func (*DeleteCommandRequest) XXX_Size

func (m *DeleteCommandRequest) XXX_Size() int

func (*DeleteCommandRequest) XXX_Unmarshal

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

type DeleteCommandResponse

type DeleteCommandResponse struct {
	Error                *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DeleteCommandResponse) Descriptor

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

func (*DeleteCommandResponse) GetError

func (m *DeleteCommandResponse) GetError() *ErrorResponse

func (*DeleteCommandResponse) ProtoMessage

func (*DeleteCommandResponse) ProtoMessage()

func (*DeleteCommandResponse) Reset

func (m *DeleteCommandResponse) Reset()

func (*DeleteCommandResponse) String

func (m *DeleteCommandResponse) String() string

func (*DeleteCommandResponse) XXX_DiscardUnknown

func (m *DeleteCommandResponse) XXX_DiscardUnknown()

func (*DeleteCommandResponse) XXX_Marshal

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

func (*DeleteCommandResponse) XXX_Merge

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

func (*DeleteCommandResponse) XXX_Size

func (m *DeleteCommandResponse) XXX_Size() int

func (*DeleteCommandResponse) XXX_Unmarshal

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

type DeleteImageRequest

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

func (*DeleteImageRequest) Descriptor

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

func (*DeleteImageRequest) GetName

func (m *DeleteImageRequest) GetName() string

func (*DeleteImageRequest) ProtoMessage

func (*DeleteImageRequest) ProtoMessage()

func (*DeleteImageRequest) Reset

func (m *DeleteImageRequest) Reset()

func (*DeleteImageRequest) String

func (m *DeleteImageRequest) String() string

func (*DeleteImageRequest) XXX_DiscardUnknown

func (m *DeleteImageRequest) XXX_DiscardUnknown()

func (*DeleteImageRequest) XXX_Marshal

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

func (*DeleteImageRequest) XXX_Merge

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

func (*DeleteImageRequest) XXX_Size

func (m *DeleteImageRequest) XXX_Size() int

func (*DeleteImageRequest) XXX_Unmarshal

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

type DeleteImageResponse

type DeleteImageResponse struct {
	Error                *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DeleteImageResponse) Descriptor

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

func (*DeleteImageResponse) GetError

func (m *DeleteImageResponse) GetError() *ErrorResponse

func (*DeleteImageResponse) ProtoMessage

func (*DeleteImageResponse) ProtoMessage()

func (*DeleteImageResponse) Reset

func (m *DeleteImageResponse) Reset()

func (*DeleteImageResponse) String

func (m *DeleteImageResponse) String() string

func (*DeleteImageResponse) XXX_DiscardUnknown

func (m *DeleteImageResponse) XXX_DiscardUnknown()

func (*DeleteImageResponse) XXX_Marshal

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

func (*DeleteImageResponse) XXX_Merge

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

func (*DeleteImageResponse) XXX_Size

func (m *DeleteImageResponse) XXX_Size() int

func (*DeleteImageResponse) XXX_Unmarshal

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

type Empty added in v0.6.0

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

func (*Empty) Descriptor added in v0.6.0

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

func (*Empty) ProtoMessage added in v0.6.0

func (*Empty) ProtoMessage()

func (*Empty) Reset added in v0.6.0

func (m *Empty) Reset()

func (*Empty) String added in v0.6.0

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown added in v0.6.0

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal added in v0.6.0

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

func (*Empty) XXX_Merge added in v0.6.0

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

func (*Empty) XXX_Size added in v0.6.0

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal added in v0.6.0

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

type EnumStatus added in v0.6.0

type EnumStatus int32
const (
	EnumStatus_NONE       EnumStatus = 0
	EnumStatus_CONFIGURED EnumStatus = 1
	EnumStatus_READY      EnumStatus = 2
)

func (EnumStatus) EnumDescriptor added in v0.6.0

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

func (EnumStatus) String added in v0.6.0

func (x EnumStatus) String() string

type ErrorResponse added in v0.6.0

type ErrorResponse struct {
	Field                string   `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorResponse) Descriptor added in v0.6.0

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

func (*ErrorResponse) GetField added in v0.6.0

func (m *ErrorResponse) GetField() string

func (*ErrorResponse) GetMsg added in v0.6.0

func (m *ErrorResponse) GetMsg() string

func (*ErrorResponse) ProtoMessage added in v0.6.0

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) Reset added in v0.6.0

func (m *ErrorResponse) Reset()

func (*ErrorResponse) String added in v0.6.0

func (m *ErrorResponse) String() string

func (*ErrorResponse) XXX_DiscardUnknown added in v0.6.0

func (m *ErrorResponse) XXX_DiscardUnknown()

func (*ErrorResponse) XXX_Marshal added in v0.6.0

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

func (*ErrorResponse) XXX_Merge added in v0.6.0

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

func (*ErrorResponse) XXX_Size added in v0.6.0

func (m *ErrorResponse) XXX_Size() int

func (*ErrorResponse) XXX_Unmarshal added in v0.6.0

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

type GetCommandRequest

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

func (*GetCommandRequest) Descriptor

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

func (*GetCommandRequest) GetMac

func (m *GetCommandRequest) GetMac() string

func (*GetCommandRequest) ProtoMessage

func (*GetCommandRequest) ProtoMessage()

func (*GetCommandRequest) Reset

func (m *GetCommandRequest) Reset()

func (*GetCommandRequest) String

func (m *GetCommandRequest) String() string

func (*GetCommandRequest) XXX_DiscardUnknown

func (m *GetCommandRequest) XXX_DiscardUnknown()

func (*GetCommandRequest) XXX_Marshal

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

func (*GetCommandRequest) XXX_Merge

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

func (*GetCommandRequest) XXX_Size

func (m *GetCommandRequest) XXX_Size() int

func (*GetCommandRequest) XXX_Unmarshal

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

type GetCommandResponse

type GetCommandResponse struct {
	Command              *CommandSet `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetCommandResponse) Descriptor

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

func (*GetCommandResponse) GetCommand

func (m *GetCommandResponse) GetCommand() *CommandSet

func (*GetCommandResponse) ProtoMessage

func (*GetCommandResponse) ProtoMessage()

func (*GetCommandResponse) Reset

func (m *GetCommandResponse) Reset()

func (*GetCommandResponse) String

func (m *GetCommandResponse) String() string

func (*GetCommandResponse) XXX_DiscardUnknown

func (m *GetCommandResponse) XXX_DiscardUnknown()

func (*GetCommandResponse) XXX_Marshal

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

func (*GetCommandResponse) XXX_Merge

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

func (*GetCommandResponse) XXX_Size

func (m *GetCommandResponse) XXX_Size() int

func (*GetCommandResponse) XXX_Unmarshal

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

type GetDaemonRequest added in v0.6.0

type GetDaemonRequest struct {
	Mac                  string   `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	Ignore               bool     `protobuf:"varint,2,opt,name=ignore,proto3" json:"ignore,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetDaemonRequest) Descriptor added in v0.6.0

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

func (*GetDaemonRequest) GetIgnore added in v0.6.0

func (m *GetDaemonRequest) GetIgnore() bool

func (*GetDaemonRequest) GetMac added in v0.6.0

func (m *GetDaemonRequest) GetMac() string

func (*GetDaemonRequest) ProtoMessage added in v0.6.0

func (*GetDaemonRequest) ProtoMessage()

func (*GetDaemonRequest) Reset added in v0.6.0

func (m *GetDaemonRequest) Reset()

func (*GetDaemonRequest) String added in v0.6.0

func (m *GetDaemonRequest) String() string

func (*GetDaemonRequest) XXX_DiscardUnknown added in v0.6.0

func (m *GetDaemonRequest) XXX_DiscardUnknown()

func (*GetDaemonRequest) XXX_Marshal added in v0.6.0

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

func (*GetDaemonRequest) XXX_Merge added in v0.6.0

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

func (*GetDaemonRequest) XXX_Size added in v0.6.0

func (m *GetDaemonRequest) XXX_Size() int

func (*GetDaemonRequest) XXX_Unmarshal added in v0.6.0

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

type GetDaemonResponse added in v0.6.0

type GetDaemonResponse struct {
	Daemon               *DaemonProto `protobuf:"bytes,1,opt,name=daemon,proto3" json:"daemon,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetDaemonResponse) Descriptor added in v0.6.0

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

func (*GetDaemonResponse) GetDaemon added in v0.6.0

func (m *GetDaemonResponse) GetDaemon() *DaemonProto

func (*GetDaemonResponse) ProtoMessage added in v0.6.0

func (*GetDaemonResponse) ProtoMessage()

func (*GetDaemonResponse) Reset added in v0.6.0

func (m *GetDaemonResponse) Reset()

func (*GetDaemonResponse) String added in v0.6.0

func (m *GetDaemonResponse) String() string

func (*GetDaemonResponse) XXX_DiscardUnknown added in v0.6.0

func (m *GetDaemonResponse) XXX_DiscardUnknown()

func (*GetDaemonResponse) XXX_Marshal added in v0.6.0

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

func (*GetDaemonResponse) XXX_Merge added in v0.6.0

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

func (*GetDaemonResponse) XXX_Size added in v0.6.0

func (m *GetDaemonResponse) XXX_Size() int

func (*GetDaemonResponse) XXX_Unmarshal added in v0.6.0

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

type GetImageRequest

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

func (*GetImageRequest) Descriptor

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

func (*GetImageRequest) GetName

func (m *GetImageRequest) GetName() string

func (*GetImageRequest) ProtoMessage

func (*GetImageRequest) ProtoMessage()

func (*GetImageRequest) Reset

func (m *GetImageRequest) Reset()

func (*GetImageRequest) String

func (m *GetImageRequest) String() string

func (*GetImageRequest) XXX_DiscardUnknown

func (m *GetImageRequest) XXX_DiscardUnknown()

func (*GetImageRequest) XXX_Marshal

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

func (*GetImageRequest) XXX_Merge

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

func (*GetImageRequest) XXX_Size

func (m *GetImageRequest) XXX_Size() int

func (*GetImageRequest) XXX_Unmarshal

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

type GetImageResponse

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

func (*GetImageResponse) Descriptor

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

func (*GetImageResponse) GetImage

func (m *GetImageResponse) GetImage() *Image

func (*GetImageResponse) ProtoMessage

func (*GetImageResponse) ProtoMessage()

func (*GetImageResponse) Reset

func (m *GetImageResponse) Reset()

func (*GetImageResponse) String

func (m *GetImageResponse) String() string

func (*GetImageResponse) XXX_DiscardUnknown

func (m *GetImageResponse) XXX_DiscardUnknown()

func (*GetImageResponse) XXX_Marshal

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

func (*GetImageResponse) XXX_Merge

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

func (*GetImageResponse) XXX_Size

func (m *GetImageResponse) XXX_Size() int

func (*GetImageResponse) XXX_Unmarshal

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

type GetStatusRequest

type GetStatusRequest 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 (*GetStatusRequest) Descriptor

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

func (*GetStatusRequest) GetId

func (m *GetStatusRequest) GetId() string

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) Reset

func (m *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (m *GetStatusRequest) String() string

func (*GetStatusRequest) XXX_DiscardUnknown

func (m *GetStatusRequest) XXX_DiscardUnknown()

func (*GetStatusRequest) XXX_Marshal

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

func (*GetStatusRequest) XXX_Merge

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

func (*GetStatusRequest) XXX_Size

func (m *GetStatusRequest) XXX_Size() int

func (*GetStatusRequest) XXX_Unmarshal

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

type GetStatusResponse

type GetStatusResponse struct {
	Status               *CommandStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetStatusResponse) Descriptor

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

func (*GetStatusResponse) GetStatus added in v0.6.0

func (m *GetStatusResponse) GetStatus() *CommandStatus

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) Reset

func (m *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (m *GetStatusResponse) String() string

func (*GetStatusResponse) XXX_DiscardUnknown

func (m *GetStatusResponse) XXX_DiscardUnknown()

func (*GetStatusResponse) XXX_Marshal

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

func (*GetStatusResponse) XXX_Merge

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

func (*GetStatusResponse) XXX_Size

func (m *GetStatusResponse) XXX_Size() int

func (*GetStatusResponse) XXX_Unmarshal

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

type GetStatusResponses added in v0.6.0

type GetStatusResponses struct {
	Status               []*CommandStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetStatusResponses) Descriptor added in v0.6.0

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

func (*GetStatusResponses) GetStatus added in v0.6.0

func (m *GetStatusResponses) GetStatus() []*CommandStatus

func (*GetStatusResponses) ProtoMessage added in v0.6.0

func (*GetStatusResponses) ProtoMessage()

func (*GetStatusResponses) Reset added in v0.6.0

func (m *GetStatusResponses) Reset()

func (*GetStatusResponses) String added in v0.6.0

func (m *GetStatusResponses) String() string

func (*GetStatusResponses) XXX_DiscardUnknown added in v0.6.0

func (m *GetStatusResponses) XXX_DiscardUnknown()

func (*GetStatusResponses) XXX_Marshal added in v0.6.0

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

func (*GetStatusResponses) XXX_Merge added in v0.6.0

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

func (*GetStatusResponses) XXX_Size added in v0.6.0

func (m *GetStatusResponses) XXX_Size() int

func (*GetStatusResponses) XXX_Unmarshal added in v0.6.0

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

type Image

type Image struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Kernel               string   `protobuf:"bytes,2,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Initramfs            string   `protobuf:"bytes,3,opt,name=initramfs,proto3" json:"initramfs,omitempty"`
	Append               string   `protobuf:"bytes,4,opt,name=append,proto3" json:"append,omitempty"`
	Disk                 string   `protobuf:"bytes,5,opt,name=disk,proto3" json:"disk,omitempty"`
	Blockdevice          string   `protobuf:"bytes,6,opt,name=blockdevice,proto3" json:"blockdevice,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

**************** IMAGE CALLS *****************

func (*Image) Descriptor

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

func (*Image) GetAppend

func (m *Image) GetAppend() string

func (*Image) GetBlockdevice

func (m *Image) GetBlockdevice() string

func (*Image) GetDisk

func (m *Image) GetDisk() string

func (*Image) GetInitramfs

func (m *Image) GetInitramfs() string

func (*Image) GetKernel

func (m *Image) GetKernel() string

func (*Image) GetName

func (m *Image) GetName() string

func (*Image) MarshalYAML

func (x *Image) MarshalYAML() (interface{}, error)

MarshalYAML for image

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) Reset

func (m *Image) Reset()

func (*Image) String

func (m *Image) String() string

func (*Image) XXX_DiscardUnknown

func (m *Image) XXX_DiscardUnknown()

func (*Image) XXX_Marshal

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

func (*Image) XXX_Merge

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

func (*Image) XXX_Size

func (m *Image) XXX_Size() int

func (*Image) XXX_Unmarshal

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

type Kexec

type Kexec struct {
	LocalKernel          string   `protobuf:"bytes,1,opt,name=localKernel,proto3" json:"localKernel,omitempty"`
	LocalInitramfs       string   `protobuf:"bytes,2,opt,name=localInitramfs,proto3" json:"localInitramfs,omitempty"`
	LocalAppend          string   `protobuf:"bytes,3,opt,name=localAppend,proto3" json:"localAppend,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Kexec is for kexec and more specifically, on reboot specifies the values for kexec when the image has already been written to disk (e.g., localkernel=(root)/boot/bzImage)

func (*Kexec) Descriptor

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

func (*Kexec) GetLocalAppend

func (m *Kexec) GetLocalAppend() string

func (*Kexec) GetLocalInitramfs

func (m *Kexec) GetLocalInitramfs() string

func (*Kexec) GetLocalKernel

func (m *Kexec) GetLocalKernel() string

func (*Kexec) MarshalYAML

func (x *Kexec) MarshalYAML() (interface{}, error)

MarshalYAML for kexec

func (*Kexec) ProtoMessage

func (*Kexec) ProtoMessage()

func (*Kexec) Reset

func (m *Kexec) Reset()

func (*Kexec) String

func (m *Kexec) String() string

func (*Kexec) XXX_DiscardUnknown

func (m *Kexec) XXX_DiscardUnknown()

func (*Kexec) XXX_Marshal

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

func (*Kexec) XXX_Merge

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

func (*Kexec) XXX_Size

func (m *Kexec) XXX_Size() int

func (*Kexec) XXX_Unmarshal

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

type KexecRequest

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

func (*KexecRequest) Descriptor

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

func (*KexecRequest) GetMac

func (m *KexecRequest) GetMac() string

func (*KexecRequest) ProtoMessage

func (*KexecRequest) ProtoMessage()

func (*KexecRequest) Reset

func (m *KexecRequest) Reset()

func (*KexecRequest) String

func (m *KexecRequest) String() string

func (*KexecRequest) XXX_DiscardUnknown

func (m *KexecRequest) XXX_DiscardUnknown()

func (*KexecRequest) XXX_Marshal

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

func (*KexecRequest) XXX_Merge

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

func (*KexecRequest) XXX_Size

func (m *KexecRequest) XXX_Size() int

func (*KexecRequest) XXX_Unmarshal

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

type KexecResponse

type KexecResponse struct {
	Kernel               string   `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Initramfs            string   `protobuf:"bytes,2,opt,name=initramfs,proto3" json:"initramfs,omitempty"`
	Append               string   `protobuf:"bytes,3,opt,name=append,proto3" json:"append,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KexecResponse) Descriptor

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

func (*KexecResponse) GetAppend

func (m *KexecResponse) GetAppend() string

func (*KexecResponse) GetInitramfs

func (m *KexecResponse) GetInitramfs() string

func (*KexecResponse) GetKernel

func (m *KexecResponse) GetKernel() string

func (*KexecResponse) ProtoMessage

func (*KexecResponse) ProtoMessage()

func (*KexecResponse) Reset

func (m *KexecResponse) Reset()

func (*KexecResponse) String

func (m *KexecResponse) String() string

func (*KexecResponse) XXX_DiscardUnknown

func (m *KexecResponse) XXX_DiscardUnknown()

func (*KexecResponse) XXX_Marshal

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

func (*KexecResponse) XXX_Merge

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

func (*KexecResponse) XXX_Size

func (m *KexecResponse) XXX_Size() int

func (*KexecResponse) XXX_Unmarshal

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

type KexecUpdateStatus added in v0.6.0

type KexecUpdateStatus struct {
	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Update               *Response `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*KexecUpdateStatus) Descriptor added in v0.6.0

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

func (*KexecUpdateStatus) GetId added in v0.6.0

func (m *KexecUpdateStatus) GetId() string

func (*KexecUpdateStatus) GetUpdate added in v0.6.0

func (m *KexecUpdateStatus) GetUpdate() *Response

func (*KexecUpdateStatus) ProtoMessage added in v0.6.0

func (*KexecUpdateStatus) ProtoMessage()

func (*KexecUpdateStatus) Reset added in v0.6.0

func (m *KexecUpdateStatus) Reset()

func (*KexecUpdateStatus) String added in v0.6.0

func (m *KexecUpdateStatus) String() string

func (*KexecUpdateStatus) XXX_DiscardUnknown added in v0.6.0

func (m *KexecUpdateStatus) XXX_DiscardUnknown()

func (*KexecUpdateStatus) XXX_Marshal added in v0.6.0

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

func (*KexecUpdateStatus) XXX_Merge added in v0.6.0

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

func (*KexecUpdateStatus) XXX_Size added in v0.6.0

func (m *KexecUpdateStatus) XXX_Size() int

func (*KexecUpdateStatus) XXX_Unmarshal added in v0.6.0

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

type Kind

type Kind string

Kind the main type of command being parsed

type LastWrite added in v0.6.0

type LastWrite struct {
	Kernel               *WriteStats `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Initrd               *WriteStats `protobuf:"bytes,2,opt,name=initrd,proto3" json:"initrd,omitempty"`
	Device               *WriteStats `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	Image                *WriteStats `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*LastWrite) Descriptor added in v0.6.0

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

func (*LastWrite) GetDevice added in v0.6.0

func (m *LastWrite) GetDevice() *WriteStats

func (*LastWrite) GetImage added in v0.6.0

func (m *LastWrite) GetImage() *WriteStats

func (*LastWrite) GetInitrd added in v0.6.0

func (m *LastWrite) GetInitrd() *WriteStats

func (*LastWrite) GetKernel added in v0.6.0

func (m *LastWrite) GetKernel() *WriteStats

func (*LastWrite) ProtoMessage added in v0.6.0

func (*LastWrite) ProtoMessage()

func (*LastWrite) Reset added in v0.6.0

func (m *LastWrite) Reset()

func (*LastWrite) String added in v0.6.0

func (m *LastWrite) String() string

func (*LastWrite) XXX_DiscardUnknown added in v0.6.0

func (m *LastWrite) XXX_DiscardUnknown()

func (*LastWrite) XXX_Marshal added in v0.6.0

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

func (*LastWrite) XXX_Merge added in v0.6.0

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

func (*LastWrite) XXX_Size added in v0.6.0

func (m *LastWrite) XXX_Size() int

func (*LastWrite) XXX_Unmarshal added in v0.6.0

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

type ManyMacResponse added in v0.6.0

type ManyMacResponse struct {
	Macs                 []string `protobuf:"bytes,1,rep,name=macs,proto3" json:"macs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ManyMacResponse) Descriptor added in v0.6.0

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

func (*ManyMacResponse) GetMacs added in v0.6.0

func (m *ManyMacResponse) GetMacs() []string

func (*ManyMacResponse) ProtoMessage added in v0.6.0

func (*ManyMacResponse) ProtoMessage()

func (*ManyMacResponse) Reset added in v0.6.0

func (m *ManyMacResponse) Reset()

func (*ManyMacResponse) String added in v0.6.0

func (m *ManyMacResponse) String() string

func (*ManyMacResponse) XXX_DiscardUnknown added in v0.6.0

func (m *ManyMacResponse) XXX_DiscardUnknown()

func (*ManyMacResponse) XXX_Marshal added in v0.6.0

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

func (*ManyMacResponse) XXX_Merge added in v0.6.0

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

func (*ManyMacResponse) XXX_Size added in v0.6.0

func (m *ManyMacResponse) XXX_Size() int

func (*ManyMacResponse) XXX_Unmarshal added in v0.6.0

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

type MetaObject

type MetaObject struct {
	Kind   string
	Object interface{}
}

MetaObject type: object

func ReadSpec

func ReadSpec(file string) ([]MetaObject, error)

ReadSpec read the yaml specification, return metaobject

func (*MetaObject) UnmarshalYAML

func (o *MetaObject) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML for given object unmarshal the yaml

type PutCommandRequest

type PutCommandRequest struct {
	Mac                  string      `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	Command              *CommandSet `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*PutCommandRequest) Descriptor

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

func (*PutCommandRequest) GetCommand

func (m *PutCommandRequest) GetCommand() *CommandSet

func (*PutCommandRequest) GetMac

func (m *PutCommandRequest) GetMac() string

func (*PutCommandRequest) ProtoMessage

func (*PutCommandRequest) ProtoMessage()

func (*PutCommandRequest) Reset

func (m *PutCommandRequest) Reset()

func (*PutCommandRequest) String

func (m *PutCommandRequest) String() string

func (*PutCommandRequest) XXX_DiscardUnknown

func (m *PutCommandRequest) XXX_DiscardUnknown()

func (*PutCommandRequest) XXX_Marshal

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

func (*PutCommandRequest) XXX_Merge

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

func (*PutCommandRequest) XXX_Size

func (m *PutCommandRequest) XXX_Size() int

func (*PutCommandRequest) XXX_Unmarshal

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

type PutCommandResponse

type PutCommandResponse struct {
	Id                   string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Error                *ErrorResponse `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PutCommandResponse) Descriptor

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

func (*PutCommandResponse) GetError added in v0.6.0

func (m *PutCommandResponse) GetError() *ErrorResponse

func (*PutCommandResponse) GetId added in v0.6.0

func (m *PutCommandResponse) GetId() string

func (*PutCommandResponse) ProtoMessage

func (*PutCommandResponse) ProtoMessage()

func (*PutCommandResponse) Reset

func (m *PutCommandResponse) Reset()

func (*PutCommandResponse) String

func (m *PutCommandResponse) String() string

func (*PutCommandResponse) XXX_DiscardUnknown

func (m *PutCommandResponse) XXX_DiscardUnknown()

func (*PutCommandResponse) XXX_Marshal

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

func (*PutCommandResponse) XXX_Merge

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

func (*PutCommandResponse) XXX_Size

func (m *PutCommandResponse) XXX_Size() int

func (*PutCommandResponse) XXX_Unmarshal

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

type PutImageRequest

type PutImageRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image                *Image   `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PutImageRequest) Descriptor

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

func (*PutImageRequest) GetImage

func (m *PutImageRequest) GetImage() *Image

func (*PutImageRequest) GetName

func (m *PutImageRequest) GetName() string

func (*PutImageRequest) ProtoMessage

func (*PutImageRequest) ProtoMessage()

func (*PutImageRequest) Reset

func (m *PutImageRequest) Reset()

func (*PutImageRequest) String

func (m *PutImageRequest) String() string

func (*PutImageRequest) XXX_DiscardUnknown

func (m *PutImageRequest) XXX_DiscardUnknown()

func (*PutImageRequest) XXX_Marshal

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

func (*PutImageRequest) XXX_Merge

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

func (*PutImageRequest) XXX_Size

func (m *PutImageRequest) XXX_Size() int

func (*PutImageRequest) XXX_Unmarshal

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

type PutImageResponse

type PutImageResponse struct {
	Error                *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PutImageResponse) Descriptor

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

func (*PutImageResponse) GetError

func (m *PutImageResponse) GetError() *ErrorResponse

func (*PutImageResponse) ProtoMessage

func (*PutImageResponse) ProtoMessage()

func (*PutImageResponse) Reset

func (m *PutImageResponse) Reset()

func (*PutImageResponse) String

func (m *PutImageResponse) String() string

func (*PutImageResponse) XXX_DiscardUnknown

func (m *PutImageResponse) XXX_DiscardUnknown()

func (*PutImageResponse) XXX_Marshal

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

func (*PutImageResponse) XXX_Merge

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

func (*PutImageResponse) XXX_Size

func (m *PutImageResponse) XXX_Size() int

func (*PutImageResponse) XXX_Unmarshal

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

type PutKexecStatusRequest added in v0.6.0

type PutKexecStatusRequest struct {
	Status               *KexecUpdateStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*PutKexecStatusRequest) Descriptor added in v0.6.0

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

func (*PutKexecStatusRequest) GetStatus added in v0.6.0

func (m *PutKexecStatusRequest) GetStatus() *KexecUpdateStatus

func (*PutKexecStatusRequest) ProtoMessage added in v0.6.0

func (*PutKexecStatusRequest) ProtoMessage()

func (*PutKexecStatusRequest) Reset added in v0.6.0

func (m *PutKexecStatusRequest) Reset()

func (*PutKexecStatusRequest) String added in v0.6.0

func (m *PutKexecStatusRequest) String() string

func (*PutKexecStatusRequest) XXX_DiscardUnknown added in v0.6.0

func (m *PutKexecStatusRequest) XXX_DiscardUnknown()

func (*PutKexecStatusRequest) XXX_Marshal added in v0.6.0

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

func (*PutKexecStatusRequest) XXX_Merge added in v0.6.0

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

func (*PutKexecStatusRequest) XXX_Size added in v0.6.0

func (m *PutKexecStatusRequest) XXX_Size() int

func (*PutKexecStatusRequest) XXX_Unmarshal added in v0.6.0

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

type PutStatusResponse

type PutStatusResponse struct {
	Error                *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PutStatusResponse) Descriptor

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

func (*PutStatusResponse) GetError

func (m *PutStatusResponse) GetError() *ErrorResponse

func (*PutStatusResponse) ProtoMessage

func (*PutStatusResponse) ProtoMessage()

func (*PutStatusResponse) Reset

func (m *PutStatusResponse) Reset()

func (*PutStatusResponse) String

func (m *PutStatusResponse) String() string

func (*PutStatusResponse) XXX_DiscardUnknown

func (m *PutStatusResponse) XXX_DiscardUnknown()

func (*PutStatusResponse) XXX_Marshal

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

func (*PutStatusResponse) XXX_Merge

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

func (*PutStatusResponse) XXX_Size

func (m *PutStatusResponse) XXX_Size() int

func (*PutStatusResponse) XXX_Unmarshal

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

type PutWipeStatusRequest added in v0.6.0

type PutWipeStatusRequest struct {
	Status               *WipeUpdateStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PutWipeStatusRequest) Descriptor added in v0.6.0

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

func (*PutWipeStatusRequest) GetStatus added in v0.6.0

func (m *PutWipeStatusRequest) GetStatus() *WipeUpdateStatus

func (*PutWipeStatusRequest) ProtoMessage added in v0.6.0

func (*PutWipeStatusRequest) ProtoMessage()

func (*PutWipeStatusRequest) Reset added in v0.6.0

func (m *PutWipeStatusRequest) Reset()

func (*PutWipeStatusRequest) String added in v0.6.0

func (m *PutWipeStatusRequest) String() string

func (*PutWipeStatusRequest) XXX_DiscardUnknown added in v0.6.0

func (m *PutWipeStatusRequest) XXX_DiscardUnknown()

func (*PutWipeStatusRequest) XXX_Marshal added in v0.6.0

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

func (*PutWipeStatusRequest) XXX_Merge added in v0.6.0

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

func (*PutWipeStatusRequest) XXX_Size added in v0.6.0

func (m *PutWipeStatusRequest) XXX_Size() int

func (*PutWipeStatusRequest) XXX_Unmarshal added in v0.6.0

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

type PutWriteStatusRequest added in v0.6.0

type PutWriteStatusRequest struct {
	Status               *WriteUpdateStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*PutWriteStatusRequest) Descriptor added in v0.6.0

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

func (*PutWriteStatusRequest) GetStatus added in v0.6.0

func (m *PutWriteStatusRequest) GetStatus() *WriteUpdateStatus

func (*PutWriteStatusRequest) ProtoMessage added in v0.6.0

func (*PutWriteStatusRequest) ProtoMessage()

func (*PutWriteStatusRequest) Reset added in v0.6.0

func (m *PutWriteStatusRequest) Reset()

func (*PutWriteStatusRequest) String added in v0.6.0

func (m *PutWriteStatusRequest) String() string

func (*PutWriteStatusRequest) XXX_DiscardUnknown added in v0.6.0

func (m *PutWriteStatusRequest) XXX_DiscardUnknown()

func (*PutWriteStatusRequest) XXX_Marshal added in v0.6.0

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

func (*PutWriteStatusRequest) XXX_Merge added in v0.6.0

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

func (*PutWriteStatusRequest) XXX_Size added in v0.6.0

func (m *PutWriteStatusRequest) XXX_Size() int

func (*PutWriteStatusRequest) XXX_Unmarshal added in v0.6.0

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

type RegisterUpdate added in v0.6.0

type RegisterUpdate struct {
	Daemon               *DaemonProto `protobuf:"bytes,1,opt,name=daemon,proto3" json:"daemon,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*RegisterUpdate) Descriptor added in v0.6.0

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

func (*RegisterUpdate) GetDaemon added in v0.6.0

func (m *RegisterUpdate) GetDaemon() *DaemonProto

func (*RegisterUpdate) ProtoMessage added in v0.6.0

func (*RegisterUpdate) ProtoMessage()

func (*RegisterUpdate) Reset added in v0.6.0

func (m *RegisterUpdate) Reset()

func (*RegisterUpdate) String added in v0.6.0

func (m *RegisterUpdate) String() string

func (*RegisterUpdate) XXX_DiscardUnknown added in v0.6.0

func (m *RegisterUpdate) XXX_DiscardUnknown()

func (*RegisterUpdate) XXX_Marshal added in v0.6.0

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

func (*RegisterUpdate) XXX_Merge added in v0.6.0

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

func (*RegisterUpdate) XXX_Size added in v0.6.0

func (m *RegisterUpdate) XXX_Size() int

func (*RegisterUpdate) XXX_Unmarshal added in v0.6.0

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

type RemoveImageRequest

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

func (*RemoveImageRequest) Descriptor

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

func (*RemoveImageRequest) GetName

func (m *RemoveImageRequest) GetName() string

func (*RemoveImageRequest) ProtoMessage

func (*RemoveImageRequest) ProtoMessage()

func (*RemoveImageRequest) Reset

func (m *RemoveImageRequest) Reset()

func (*RemoveImageRequest) String

func (m *RemoveImageRequest) String() string

func (*RemoveImageRequest) XXX_DiscardUnknown

func (m *RemoveImageRequest) XXX_DiscardUnknown()

func (*RemoveImageRequest) XXX_Marshal

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

func (*RemoveImageRequest) XXX_Merge

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

func (*RemoveImageRequest) XXX_Size

func (m *RemoveImageRequest) XXX_Size() int

func (*RemoveImageRequest) XXX_Unmarshal

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

type RemoveImageResponse

type RemoveImageResponse struct {
	Error                *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*RemoveImageResponse) Descriptor

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

func (*RemoveImageResponse) GetError

func (m *RemoveImageResponse) GetError() *ErrorResponse

func (*RemoveImageResponse) ProtoMessage

func (*RemoveImageResponse) ProtoMessage()

func (*RemoveImageResponse) Reset

func (m *RemoveImageResponse) Reset()

func (*RemoveImageResponse) String

func (m *RemoveImageResponse) String() string

func (*RemoveImageResponse) XXX_DiscardUnknown

func (m *RemoveImageResponse) XXX_DiscardUnknown()

func (*RemoveImageResponse) XXX_Marshal

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

func (*RemoveImageResponse) XXX_Merge

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

func (*RemoveImageResponse) XXX_Size

func (m *RemoveImageResponse) XXX_Size() int

func (*RemoveImageResponse) XXX_Unmarshal

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

type Response added in v0.6.0

type Response struct {
	Status               Response_Status `protobuf:"varint,5,opt,name=status,proto3,enum=sled.Response_Status" json:"status,omitempty"`
	Timestamp            string          `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Response) Descriptor added in v0.6.0

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

func (*Response) GetStatus added in v0.6.0

func (m *Response) GetStatus() Response_Status

func (*Response) GetTimestamp added in v0.6.0

func (m *Response) GetTimestamp() string

func (*Response) ProtoMessage added in v0.6.0

func (*Response) ProtoMessage()

func (*Response) Reset added in v0.6.0

func (m *Response) Reset()

func (*Response) String added in v0.6.0

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown added in v0.6.0

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal added in v0.6.0

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

func (*Response) XXX_Merge added in v0.6.0

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

func (*Response) XXX_Size added in v0.6.0

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal added in v0.6.0

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

type Response_Status added in v0.6.0

type Response_Status int32

the ordering of the status numbers are such that a higher order value takes priority over a lower value, "ok" can update ack, unknown, empty, but not an error.

const (
	Response_empty   Response_Status = 0
	Response_unknown Response_Status = 1
	Response_ack     Response_Status = 2
	Response_ok      Response_Status = 3
	Response_error   Response_Status = 4
)

func (Response_Status) EnumDescriptor added in v0.6.0

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

func (Response_Status) String added in v0.6.0

func (x Response_Status) String() string

type SledClub

type SledClub struct {
	List                 []*Sleder `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SledClub) Descriptor

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

func (*SledClub) GetList

func (m *SledClub) GetList() []*Sleder

func (*SledClub) ProtoMessage

func (*SledClub) ProtoMessage()

func (*SledClub) Reset

func (m *SledClub) Reset()

func (*SledClub) String

func (m *SledClub) String() string

func (*SledClub) XXX_DiscardUnknown

func (m *SledClub) XXX_DiscardUnknown()

func (*SledClub) XXX_Marshal

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

func (*SledClub) XXX_Merge

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

func (*SledClub) XXX_Size

func (m *SledClub) XXX_Size() int

func (*SledClub) XXX_Unmarshal

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

type SledapiClient added in v0.6.0

type SledapiClient interface {
	GetCommand(ctx context.Context, in *GetCommandRequest, opts ...grpc.CallOption) (*GetCommandResponse, error)
	PutCommand(ctx context.Context, in *PutCommandRequest, opts ...grpc.CallOption) (*PutCommandResponse, error)
	DeleteCommand(ctx context.Context, in *DeleteCommandRequest, opts ...grpc.CallOption) (*DeleteCommandResponse, error)
	GetMacs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ManyMacResponse, error)
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	GetStatuses(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponses, error)
	PutWipeStatus(ctx context.Context, in *PutWipeStatusRequest, opts ...grpc.CallOption) (*PutStatusResponse, error)
	PutWriteStatus(ctx context.Context, in *PutWriteStatusRequest, opts ...grpc.CallOption) (*PutStatusResponse, error)
	PutKexecStatus(ctx context.Context, in *PutKexecStatusRequest, opts ...grpc.CallOption) (*PutStatusResponse, error)
	GetWipeStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*Response, error)
	GetWriteStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*Response, error)
	GetKexecStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*Response, error)
	RegisterDaemon(ctx context.Context, in *RegisterUpdate, opts ...grpc.CallOption) (*Empty, error)
	GetDaemon(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*GetDaemonResponse, error)
	HealthCheck(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*Empty, error)
	GetHistory(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*LastWrite, error)
	GetUptime(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*Uptime, error)
	GetDaemonStatus(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*DaemonStatus, error)
}

SledapiClient is the client API for Sledapi service.

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

func NewSledapiClient added in v0.6.0

func NewSledapiClient(cc *grpc.ClientConn) SledapiClient

type SledcProtocolClient added in v0.6.0

type SledcProtocolClient interface {
	Ready(ctx context.Context, in *CommandSet, opts ...grpc.CallOption) (*Empty, error)
	Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	GetHistory(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LastWrite, error)
	GetUptime(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Uptime, error)
	GetStatus(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DaemonStatus, error)
}

SledcProtocolClient is the client API for SledcProtocol service.

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

func NewSledcProtocolClient added in v0.6.0

func NewSledcProtocolClient(cc *grpc.ClientConn) SledcProtocolClient

type SledcProtocolServer added in v0.6.0

type SledcProtocolServer interface {
	Ready(context.Context, *CommandSet) (*Empty, error)
	Ping(context.Context, *Empty) (*Empty, error)
	GetHistory(context.Context, *Empty) (*LastWrite, error)
	GetUptime(context.Context, *Empty) (*Uptime, error)
	GetStatus(context.Context, *Empty) (*DaemonStatus, error)
}

SledcProtocolServer is the server API for SledcProtocol service.

type SledctodProtocolClient added in v0.6.0

type SledctodProtocolClient interface {
	Command(ctx context.Context, in *CommandRequest, opts ...grpc.CallOption) (*CommandResponse, error)
	Wipe(ctx context.Context, in *WipeRequest, opts ...grpc.CallOption) (*WipeResponse, error)
	Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error)
	Kexec(ctx context.Context, in *KexecRequest, opts ...grpc.CallOption) (*KexecResponse, error)
	WipeUpdate(ctx context.Context, in *WipeUpdateStatus, opts ...grpc.CallOption) (*Empty, error)
	WriteUpdate(ctx context.Context, in *WriteUpdateStatus, opts ...grpc.CallOption) (*Empty, error)
	KexecUpdate(ctx context.Context, in *KexecUpdateStatus, opts ...grpc.CallOption) (*Empty, error)
	Register(ctx context.Context, in *RegisterUpdate, opts ...grpc.CallOption) (*Empty, error)
	Ready(ctx context.Context, in *RegisterUpdate, opts ...grpc.CallOption) (*Empty, error)
	Ping(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*Empty, error)
	GetHistory(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*LastWrite, error)
	GetUptime(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*Uptime, error)
	GetStatus(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*DaemonStatus, error)
}

SledctodProtocolClient is the client API for SledctodProtocol service.

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

func NewSledctodProtocolClient added in v0.6.0

func NewSledctodProtocolClient(cc *grpc.ClientConn) SledctodProtocolClient

type SledctodProtocolServer added in v0.6.0

SledctodProtocolServer is the server API for SledctodProtocol service.

type Sleder

type Sleder struct {
	Mac   string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
	Image *Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	//Kexec kexec = 3;
	Wipe                 string   `protobuf:"bytes,4,opt,name=wipe,proto3" json:"wipe,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Sleder) Descriptor

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

func (*Sleder) GetImage

func (m *Sleder) GetImage() *Image

func (*Sleder) GetMac

func (m *Sleder) GetMac() string

func (*Sleder) GetWipe added in v0.6.0

func (m *Sleder) GetWipe() string

func (*Sleder) MarshalYAML

func (x *Sleder) MarshalYAML() (interface{}, error)

MarshalYAML for sleder

func (*Sleder) ProtoMessage

func (*Sleder) ProtoMessage()

func (*Sleder) Reset

func (m *Sleder) Reset()

func (*Sleder) String

func (m *Sleder) String() string

func (*Sleder) XXX_DiscardUnknown

func (m *Sleder) XXX_DiscardUnknown()

func (*Sleder) XXX_Marshal

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

func (*Sleder) XXX_Merge

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

func (*Sleder) XXX_Size

func (m *Sleder) XXX_Size() int

func (*Sleder) XXX_Unmarshal

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

type UnimplementedSledapiServer added in v0.6.0

type UnimplementedSledapiServer struct {
}

UnimplementedSledapiServer can be embedded to have forward compatible implementations.

func (*UnimplementedSledapiServer) DeleteCommand added in v0.6.0

func (*UnimplementedSledapiServer) GetCommand added in v0.6.0

func (*UnimplementedSledapiServer) GetDaemon added in v0.6.0

func (*UnimplementedSledapiServer) GetDaemonStatus added in v0.6.0

func (*UnimplementedSledapiServer) GetHistory added in v0.6.0

func (*UnimplementedSledapiServer) GetKexecStatus added in v0.6.0

func (*UnimplementedSledapiServer) GetMacs added in v0.6.0

func (*UnimplementedSledapiServer) GetStatus added in v0.6.0

func (*UnimplementedSledapiServer) GetStatuses added in v0.6.0

func (*UnimplementedSledapiServer) GetUptime added in v0.6.0

func (*UnimplementedSledapiServer) GetWipeStatus added in v0.6.0

func (*UnimplementedSledapiServer) GetWriteStatus added in v0.6.0

func (*UnimplementedSledapiServer) HealthCheck added in v0.6.0

func (*UnimplementedSledapiServer) PutCommand added in v0.6.0

func (*UnimplementedSledapiServer) PutKexecStatus added in v0.6.0

func (*UnimplementedSledapiServer) PutWipeStatus added in v0.6.0

func (*UnimplementedSledapiServer) PutWriteStatus added in v0.6.0

func (*UnimplementedSledapiServer) RegisterDaemon added in v0.6.0

func (*UnimplementedSledapiServer) RegisterDaemon(ctx context.Context, req *RegisterUpdate) (*Empty, error)

type UnimplementedSledcProtocolServer added in v0.6.0

type UnimplementedSledcProtocolServer struct {
}

UnimplementedSledcProtocolServer can be embedded to have forward compatible implementations.

func (*UnimplementedSledcProtocolServer) GetHistory added in v0.6.0

func (*UnimplementedSledcProtocolServer) GetStatus added in v0.6.0

func (*UnimplementedSledcProtocolServer) GetUptime added in v0.6.0

func (*UnimplementedSledcProtocolServer) Ping added in v0.6.0

func (*UnimplementedSledcProtocolServer) Ready added in v0.6.0

type UnimplementedSledctodProtocolServer added in v0.6.0

type UnimplementedSledctodProtocolServer struct {
}

UnimplementedSledctodProtocolServer can be embedded to have forward compatible implementations.

func (*UnimplementedSledctodProtocolServer) Command added in v0.6.0

func (*UnimplementedSledctodProtocolServer) GetHistory added in v0.6.0

func (*UnimplementedSledctodProtocolServer) GetStatus added in v0.6.0

func (*UnimplementedSledctodProtocolServer) GetUptime added in v0.6.0

func (*UnimplementedSledctodProtocolServer) Kexec added in v0.6.0

func (*UnimplementedSledctodProtocolServer) KexecUpdate added in v0.6.0

func (*UnimplementedSledctodProtocolServer) Ping added in v0.6.0

func (*UnimplementedSledctodProtocolServer) Ready added in v0.6.0

func (*UnimplementedSledctodProtocolServer) Register added in v0.6.0

func (*UnimplementedSledctodProtocolServer) Wipe added in v0.6.0

func (*UnimplementedSledctodProtocolServer) WipeUpdate added in v0.6.0

func (*UnimplementedSledctodProtocolServer) Write added in v0.6.0

func (*UnimplementedSledctodProtocolServer) WriteUpdate added in v0.6.0

type UploadImageRequest

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

func (*UploadImageRequest) Descriptor

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

func (*UploadImageRequest) GetName

func (m *UploadImageRequest) GetName() string

func (*UploadImageRequest) ProtoMessage

func (*UploadImageRequest) ProtoMessage()

func (*UploadImageRequest) Reset

func (m *UploadImageRequest) Reset()

func (*UploadImageRequest) String

func (m *UploadImageRequest) String() string

func (*UploadImageRequest) XXX_DiscardUnknown

func (m *UploadImageRequest) XXX_DiscardUnknown()

func (*UploadImageRequest) XXX_Marshal

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

func (*UploadImageRequest) XXX_Merge

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

func (*UploadImageRequest) XXX_Size

func (m *UploadImageRequest) XXX_Size() int

func (*UploadImageRequest) XXX_Unmarshal

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

type UploadImageResponse

type UploadImageResponse struct {
	Error                *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*UploadImageResponse) Descriptor

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

func (*UploadImageResponse) GetError

func (m *UploadImageResponse) GetError() *ErrorResponse

func (*UploadImageResponse) ProtoMessage

func (*UploadImageResponse) ProtoMessage()

func (*UploadImageResponse) Reset

func (m *UploadImageResponse) Reset()

func (*UploadImageResponse) String

func (m *UploadImageResponse) String() string

func (*UploadImageResponse) XXX_DiscardUnknown

func (m *UploadImageResponse) XXX_DiscardUnknown()

func (*UploadImageResponse) XXX_Marshal

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

func (*UploadImageResponse) XXX_Merge

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

func (*UploadImageResponse) XXX_Size

func (m *UploadImageResponse) XXX_Size() int

func (*UploadImageResponse) XXX_Unmarshal

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

type Uptime added in v0.6.0

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

func (*Uptime) Descriptor added in v0.6.0

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

func (*Uptime) GetUptime added in v0.6.0

func (m *Uptime) GetUptime() string

func (*Uptime) ProtoMessage added in v0.6.0

func (*Uptime) ProtoMessage()

func (*Uptime) Reset added in v0.6.0

func (m *Uptime) Reset()

func (*Uptime) String added in v0.6.0

func (m *Uptime) String() string

func (*Uptime) XXX_DiscardUnknown added in v0.6.0

func (m *Uptime) XXX_DiscardUnknown()

func (*Uptime) XXX_Marshal added in v0.6.0

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

func (*Uptime) XXX_Merge added in v0.6.0

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

func (*Uptime) XXX_Size added in v0.6.0

func (m *Uptime) XXX_Size() int

func (*Uptime) XXX_Unmarshal added in v0.6.0

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

type WipeRequest

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

func (*WipeRequest) Descriptor

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

func (*WipeRequest) GetMac

func (m *WipeRequest) GetMac() string

func (*WipeRequest) ProtoMessage

func (*WipeRequest) ProtoMessage()

func (*WipeRequest) Reset

func (m *WipeRequest) Reset()

func (*WipeRequest) String

func (m *WipeRequest) String() string

func (*WipeRequest) XXX_DiscardUnknown

func (m *WipeRequest) XXX_DiscardUnknown()

func (*WipeRequest) XXX_Marshal

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

func (*WipeRequest) XXX_Merge

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

func (*WipeRequest) XXX_Size

func (m *WipeRequest) XXX_Size() int

func (*WipeRequest) XXX_Unmarshal

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

type WipeResponse

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

func (*WipeResponse) Descriptor

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

func (*WipeResponse) GetDevice

func (m *WipeResponse) GetDevice() string

func (*WipeResponse) ProtoMessage

func (*WipeResponse) ProtoMessage()

func (*WipeResponse) Reset

func (m *WipeResponse) Reset()

func (*WipeResponse) String

func (m *WipeResponse) String() string

func (*WipeResponse) XXX_DiscardUnknown

func (m *WipeResponse) XXX_DiscardUnknown()

func (*WipeResponse) XXX_Marshal

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

func (*WipeResponse) XXX_Merge

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

func (*WipeResponse) XXX_Size

func (m *WipeResponse) XXX_Size() int

func (*WipeResponse) XXX_Unmarshal

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

type WipeUpdateStatus added in v0.6.0

type WipeUpdateStatus struct {
	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Update               *Response `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*WipeUpdateStatus) Descriptor added in v0.6.0

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

func (*WipeUpdateStatus) GetId added in v0.6.0

func (m *WipeUpdateStatus) GetId() string

func (*WipeUpdateStatus) GetUpdate added in v0.6.0

func (m *WipeUpdateStatus) GetUpdate() *Response

func (*WipeUpdateStatus) ProtoMessage added in v0.6.0

func (*WipeUpdateStatus) ProtoMessage()

func (*WipeUpdateStatus) Reset added in v0.6.0

func (m *WipeUpdateStatus) Reset()

func (*WipeUpdateStatus) String added in v0.6.0

func (m *WipeUpdateStatus) String() string

func (*WipeUpdateStatus) XXX_DiscardUnknown added in v0.6.0

func (m *WipeUpdateStatus) XXX_DiscardUnknown()

func (*WipeUpdateStatus) XXX_Marshal added in v0.6.0

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

func (*WipeUpdateStatus) XXX_Merge added in v0.6.0

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

func (*WipeUpdateStatus) XXX_Size added in v0.6.0

func (m *WipeUpdateStatus) XXX_Size() int

func (*WipeUpdateStatus) XXX_Unmarshal added in v0.6.0

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

type WriteRequest

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

func (*WriteRequest) Descriptor

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

func (*WriteRequest) GetMac

func (m *WriteRequest) GetMac() string

func (*WriteRequest) ProtoMessage

func (*WriteRequest) ProtoMessage()

func (*WriteRequest) Reset

func (m *WriteRequest) Reset()

func (*WriteRequest) String

func (m *WriteRequest) String() string

func (*WriteRequest) XXX_DiscardUnknown

func (m *WriteRequest) XXX_DiscardUnknown()

func (*WriteRequest) XXX_Marshal

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

func (*WriteRequest) XXX_Merge

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

func (*WriteRequest) XXX_Size

func (m *WriteRequest) XXX_Size() int

func (*WriteRequest) XXX_Unmarshal

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

type WriteResponse

type WriteResponse struct {
	Device               string   `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Image                string   `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Kernel               string   `protobuf:"bytes,3,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Initramfs            string   `protobuf:"bytes,4,opt,name=initramfs,proto3" json:"initramfs,omitempty"`
	Grub                 string   `protobuf:"bytes,5,opt,name=grub,proto3" json:"grub,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WriteResponse) Descriptor

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

func (*WriteResponse) GetDevice

func (m *WriteResponse) GetDevice() string

func (*WriteResponse) GetGrub

func (m *WriteResponse) GetGrub() string

func (*WriteResponse) GetImage

func (m *WriteResponse) GetImage() string

func (*WriteResponse) GetInitramfs

func (m *WriteResponse) GetInitramfs() string

func (*WriteResponse) GetKernel

func (m *WriteResponse) GetKernel() string

func (*WriteResponse) ProtoMessage

func (*WriteResponse) ProtoMessage()

func (*WriteResponse) Reset

func (m *WriteResponse) Reset()

func (*WriteResponse) String

func (m *WriteResponse) String() string

func (*WriteResponse) XXX_DiscardUnknown

func (m *WriteResponse) XXX_DiscardUnknown()

func (*WriteResponse) XXX_Marshal

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

func (*WriteResponse) XXX_Merge

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

func (*WriteResponse) XXX_Size

func (m *WriteResponse) XXX_Size() int

func (*WriteResponse) XXX_Unmarshal

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

type WriteStats added in v0.6.0

type WriteStats struct {
	Item                 string   `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Timestamp            string   `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Server               string   `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WriteStats) Descriptor added in v0.6.0

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

func (*WriteStats) GetItem added in v0.6.0

func (m *WriteStats) GetItem() string

func (*WriteStats) GetName added in v0.6.0

func (m *WriteStats) GetName() string

func (*WriteStats) GetServer added in v0.6.0

func (m *WriteStats) GetServer() string

func (*WriteStats) GetTimestamp added in v0.6.0

func (m *WriteStats) GetTimestamp() string

func (*WriteStats) ProtoMessage added in v0.6.0

func (*WriteStats) ProtoMessage()

func (*WriteStats) Reset added in v0.6.0

func (m *WriteStats) Reset()

func (*WriteStats) String added in v0.6.0

func (m *WriteStats) String() string

func (*WriteStats) XXX_DiscardUnknown added in v0.6.0

func (m *WriteStats) XXX_DiscardUnknown()

func (*WriteStats) XXX_Marshal added in v0.6.0

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

func (*WriteStats) XXX_Merge added in v0.6.0

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

func (*WriteStats) XXX_Size added in v0.6.0

func (m *WriteStats) XXX_Size() int

func (*WriteStats) XXX_Unmarshal added in v0.6.0

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

type WriteUpdateStatus added in v0.6.0

type WriteUpdateStatus struct {
	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Update               *Response `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
	Mac                  string    `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"`
	Daemon               bool      `protobuf:"varint,4,opt,name=daemon,proto3" json:"daemon,omitempty"`
	Disk                 string    `protobuf:"bytes,5,opt,name=disk,proto3" json:"disk,omitempty"`
	Kernel               string    `protobuf:"bytes,6,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Initrd               string    `protobuf:"bytes,7,opt,name=initrd,proto3" json:"initrd,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*WriteUpdateStatus) Descriptor added in v0.6.0

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

func (*WriteUpdateStatus) GetDaemon added in v0.6.0

func (m *WriteUpdateStatus) GetDaemon() bool

func (*WriteUpdateStatus) GetDisk added in v0.6.0

func (m *WriteUpdateStatus) GetDisk() string

func (*WriteUpdateStatus) GetId added in v0.6.0

func (m *WriteUpdateStatus) GetId() string

func (*WriteUpdateStatus) GetInitrd added in v0.6.0

func (m *WriteUpdateStatus) GetInitrd() string

func (*WriteUpdateStatus) GetKernel added in v0.6.0

func (m *WriteUpdateStatus) GetKernel() string

func (*WriteUpdateStatus) GetMac added in v0.6.0

func (m *WriteUpdateStatus) GetMac() string

func (*WriteUpdateStatus) GetUpdate added in v0.6.0

func (m *WriteUpdateStatus) GetUpdate() *Response

func (*WriteUpdateStatus) ProtoMessage added in v0.6.0

func (*WriteUpdateStatus) ProtoMessage()

func (*WriteUpdateStatus) Reset added in v0.6.0

func (m *WriteUpdateStatus) Reset()

func (*WriteUpdateStatus) String added in v0.6.0

func (m *WriteUpdateStatus) String() string

func (*WriteUpdateStatus) XXX_DiscardUnknown added in v0.6.0

func (m *WriteUpdateStatus) XXX_DiscardUnknown()

func (*WriteUpdateStatus) XXX_Marshal added in v0.6.0

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

func (*WriteUpdateStatus) XXX_Merge added in v0.6.0

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

func (*WriteUpdateStatus) XXX_Size added in v0.6.0

func (m *WriteUpdateStatus) XXX_Size() int

func (*WriteUpdateStatus) XXX_Unmarshal added in v0.6.0

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

Jump to

Keyboard shortcuts

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