Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSledProtocolServer(s *grpc.Server, srv SledProtocolServer)
- func RegisterSledbServer(s *grpc.Server, srv SledbServer)
- func SanitizeMAC(mac string) (string, error)
- type CommandRequest
- func (*CommandRequest) Descriptor() ([]byte, []int)
- func (m *CommandRequest) GetMac() string
- func (*CommandRequest) ProtoMessage()
- func (m *CommandRequest) Reset()
- func (m *CommandRequest) String() string
- func (m *CommandRequest) XXX_DiscardUnknown()
- func (m *CommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommandRequest) XXX_Merge(src proto.Message)
- func (m *CommandRequest) XXX_Size() int
- func (m *CommandRequest) XXX_Unmarshal(b []byte) error
- type CommandResponse
- func (*CommandResponse) Descriptor() ([]byte, []int)
- func (m *CommandResponse) GetResponse() *CommandSet
- func (*CommandResponse) ProtoMessage()
- func (m *CommandResponse) Reset()
- func (m *CommandResponse) String() string
- func (m *CommandResponse) XXX_DiscardUnknown()
- func (m *CommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommandResponse) XXX_Merge(src proto.Message)
- func (m *CommandResponse) XXX_Size() int
- func (m *CommandResponse) XXX_Unmarshal(b []byte) error
- type CommandSet
- func (*CommandSet) Descriptor() ([]byte, []int)
- func (m *CommandSet) GetKexec() *KexecResponse
- func (m *CommandSet) GetWipe() *WipeResponse
- func (m *CommandSet) GetWrite() *WriteResponse
- func (*CommandSet) ProtoMessage()
- func (m *CommandSet) Reset()
- func (m *CommandSet) String() string
- func (m *CommandSet) XXX_DiscardUnknown()
- func (m *CommandSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommandSet) XXX_Merge(src proto.Message)
- func (m *CommandSet) XXX_Size() int
- func (m *CommandSet) XXX_Unmarshal(b []byte) error
- type DeleteCommandRequest
- func (*DeleteCommandRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCommandRequest) GetMac() string
- func (*DeleteCommandRequest) ProtoMessage()
- func (m *DeleteCommandRequest) Reset()
- func (m *DeleteCommandRequest) String() string
- func (m *DeleteCommandRequest) XXX_DiscardUnknown()
- func (m *DeleteCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteCommandRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCommandRequest) XXX_Size() int
- func (m *DeleteCommandRequest) XXX_Unmarshal(b []byte) error
- type DeleteCommandResponse
- func (*DeleteCommandResponse) Descriptor() ([]byte, []int)
- func (m *DeleteCommandResponse) GetError() *Error
- func (*DeleteCommandResponse) ProtoMessage()
- func (m *DeleteCommandResponse) Reset()
- func (m *DeleteCommandResponse) String() string
- func (m *DeleteCommandResponse) XXX_DiscardUnknown()
- func (m *DeleteCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteCommandResponse) XXX_Merge(src proto.Message)
- func (m *DeleteCommandResponse) XXX_Size() int
- func (m *DeleteCommandResponse) XXX_Unmarshal(b []byte) error
- type DeleteImageRequest
- func (*DeleteImageRequest) Descriptor() ([]byte, []int)
- func (m *DeleteImageRequest) GetName() string
- func (*DeleteImageRequest) ProtoMessage()
- func (m *DeleteImageRequest) Reset()
- func (m *DeleteImageRequest) String() string
- func (m *DeleteImageRequest) XXX_DiscardUnknown()
- func (m *DeleteImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteImageRequest) XXX_Merge(src proto.Message)
- func (m *DeleteImageRequest) XXX_Size() int
- func (m *DeleteImageRequest) XXX_Unmarshal(b []byte) error
- type DeleteImageResponse
- func (*DeleteImageResponse) Descriptor() ([]byte, []int)
- func (m *DeleteImageResponse) GetError() *Error
- func (*DeleteImageResponse) ProtoMessage()
- func (m *DeleteImageResponse) Reset()
- func (m *DeleteImageResponse) String() string
- func (m *DeleteImageResponse) XXX_DiscardUnknown()
- func (m *DeleteImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteImageResponse) XXX_Merge(src proto.Message)
- func (m *DeleteImageResponse) XXX_Size() int
- func (m *DeleteImageResponse) XXX_Unmarshal(b []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetField() string
- func (m *Error) GetMsg() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type GetCommandRequest
- func (*GetCommandRequest) Descriptor() ([]byte, []int)
- func (m *GetCommandRequest) GetMac() string
- func (*GetCommandRequest) ProtoMessage()
- func (m *GetCommandRequest) Reset()
- func (m *GetCommandRequest) String() string
- func (m *GetCommandRequest) XXX_DiscardUnknown()
- func (m *GetCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetCommandRequest) XXX_Merge(src proto.Message)
- func (m *GetCommandRequest) XXX_Size() int
- func (m *GetCommandRequest) XXX_Unmarshal(b []byte) error
- type GetCommandResponse
- func (*GetCommandResponse) Descriptor() ([]byte, []int)
- func (m *GetCommandResponse) GetCommand() *CommandSet
- func (*GetCommandResponse) ProtoMessage()
- func (m *GetCommandResponse) Reset()
- func (m *GetCommandResponse) String() string
- func (m *GetCommandResponse) XXX_DiscardUnknown()
- func (m *GetCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetCommandResponse) XXX_Merge(src proto.Message)
- func (m *GetCommandResponse) XXX_Size() int
- func (m *GetCommandResponse) XXX_Unmarshal(b []byte) error
- type GetImageRequest
- func (*GetImageRequest) Descriptor() ([]byte, []int)
- func (m *GetImageRequest) GetName() string
- func (*GetImageRequest) ProtoMessage()
- func (m *GetImageRequest) Reset()
- func (m *GetImageRequest) String() string
- func (m *GetImageRequest) XXX_DiscardUnknown()
- func (m *GetImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetImageRequest) XXX_Merge(src proto.Message)
- func (m *GetImageRequest) XXX_Size() int
- func (m *GetImageRequest) XXX_Unmarshal(b []byte) error
- type GetImageResponse
- func (*GetImageResponse) Descriptor() ([]byte, []int)
- func (m *GetImageResponse) GetImage() *Image
- func (*GetImageResponse) ProtoMessage()
- func (m *GetImageResponse) Reset()
- func (m *GetImageResponse) String() string
- func (m *GetImageResponse) XXX_DiscardUnknown()
- func (m *GetImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetImageResponse) XXX_Merge(src proto.Message)
- func (m *GetImageResponse) XXX_Size() int
- func (m *GetImageResponse) XXX_Unmarshal(b []byte) error
- type GetStatusRequest
- func (*GetStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetStatusRequest) GetId() string
- func (*GetStatusRequest) ProtoMessage()
- func (m *GetStatusRequest) Reset()
- func (m *GetStatusRequest) String() string
- func (m *GetStatusRequest) XXX_DiscardUnknown()
- func (m *GetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetStatusRequest) XXX_Merge(src proto.Message)
- func (m *GetStatusRequest) XXX_Size() int
- func (m *GetStatusRequest) XXX_Unmarshal(b []byte) error
- type GetStatusResponse
- func (*GetStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetStatusResponse) GetRequest() *Request
- func (*GetStatusResponse) ProtoMessage()
- func (m *GetStatusResponse) Reset()
- func (m *GetStatusResponse) String() string
- func (m *GetStatusResponse) XXX_DiscardUnknown()
- func (m *GetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetStatusResponse) XXX_Size() int
- func (m *GetStatusResponse) XXX_Unmarshal(b []byte) error
- type Image
- func (*Image) Descriptor() ([]byte, []int)
- func (m *Image) GetAppend() string
- func (m *Image) GetBlockdevice() string
- func (m *Image) GetDisk() string
- func (m *Image) GetInitramfs() string
- func (m *Image) GetKernel() string
- func (m *Image) GetName() string
- func (x *Image) MarshalYAML() (interface{}, error)
- func (*Image) ProtoMessage()
- func (m *Image) Reset()
- func (m *Image) String() string
- func (m *Image) XXX_DiscardUnknown()
- func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Image) XXX_Merge(src proto.Message)
- func (m *Image) XXX_Size() int
- func (m *Image) XXX_Unmarshal(b []byte) error
- type Kexec
- func (*Kexec) Descriptor() ([]byte, []int)
- func (m *Kexec) GetLocalAppend() string
- func (m *Kexec) GetLocalInitramfs() string
- func (m *Kexec) GetLocalKernel() string
- func (x *Kexec) MarshalYAML() (interface{}, error)
- func (*Kexec) ProtoMessage()
- func (m *Kexec) Reset()
- func (m *Kexec) String() string
- func (m *Kexec) XXX_DiscardUnknown()
- func (m *Kexec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Kexec) XXX_Merge(src proto.Message)
- func (m *Kexec) XXX_Size() int
- func (m *Kexec) XXX_Unmarshal(b []byte) error
- type KexecRequest
- func (*KexecRequest) Descriptor() ([]byte, []int)
- func (m *KexecRequest) GetMac() string
- func (*KexecRequest) ProtoMessage()
- func (m *KexecRequest) Reset()
- func (m *KexecRequest) String() string
- func (m *KexecRequest) XXX_DiscardUnknown()
- func (m *KexecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KexecRequest) XXX_Merge(src proto.Message)
- func (m *KexecRequest) XXX_Size() int
- func (m *KexecRequest) XXX_Unmarshal(b []byte) error
- type KexecResponse
- func (*KexecResponse) Descriptor() ([]byte, []int)
- func (m *KexecResponse) GetAppend() string
- func (m *KexecResponse) GetInitramfs() string
- func (m *KexecResponse) GetKernel() string
- func (m *KexecResponse) GetRequest() *Request
- func (*KexecResponse) ProtoMessage()
- func (m *KexecResponse) Reset()
- func (m *KexecResponse) String() string
- func (m *KexecResponse) XXX_DiscardUnknown()
- func (m *KexecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *KexecResponse) XXX_Merge(src proto.Message)
- func (m *KexecResponse) XXX_Size() int
- func (m *KexecResponse) XXX_Unmarshal(b []byte) error
- type Kind
- type MetaObject
- type PutCommandRequest
- func (*PutCommandRequest) Descriptor() ([]byte, []int)
- func (m *PutCommandRequest) GetCommand() *CommandSet
- func (m *PutCommandRequest) GetMac() string
- func (*PutCommandRequest) ProtoMessage()
- func (m *PutCommandRequest) Reset()
- func (m *PutCommandRequest) String() string
- func (m *PutCommandRequest) XXX_DiscardUnknown()
- func (m *PutCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutCommandRequest) XXX_Merge(src proto.Message)
- func (m *PutCommandRequest) XXX_Size() int
- func (m *PutCommandRequest) XXX_Unmarshal(b []byte) error
- type PutCommandResponse
- func (*PutCommandResponse) Descriptor() ([]byte, []int)
- func (m *PutCommandResponse) GetStatus() []*Request
- func (*PutCommandResponse) ProtoMessage()
- func (m *PutCommandResponse) Reset()
- func (m *PutCommandResponse) String() string
- func (m *PutCommandResponse) XXX_DiscardUnknown()
- func (m *PutCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutCommandResponse) XXX_Merge(src proto.Message)
- func (m *PutCommandResponse) XXX_Size() int
- func (m *PutCommandResponse) XXX_Unmarshal(b []byte) error
- type PutImageRequest
- func (*PutImageRequest) Descriptor() ([]byte, []int)
- func (m *PutImageRequest) GetImage() *Image
- func (m *PutImageRequest) GetName() string
- func (*PutImageRequest) ProtoMessage()
- func (m *PutImageRequest) Reset()
- func (m *PutImageRequest) String() string
- func (m *PutImageRequest) XXX_DiscardUnknown()
- func (m *PutImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutImageRequest) XXX_Merge(src proto.Message)
- func (m *PutImageRequest) XXX_Size() int
- func (m *PutImageRequest) XXX_Unmarshal(b []byte) error
- type PutImageResponse
- func (*PutImageResponse) Descriptor() ([]byte, []int)
- func (m *PutImageResponse) GetError() *Error
- func (*PutImageResponse) ProtoMessage()
- func (m *PutImageResponse) Reset()
- func (m *PutImageResponse) String() string
- func (m *PutImageResponse) XXX_DiscardUnknown()
- func (m *PutImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutImageResponse) XXX_Merge(src proto.Message)
- func (m *PutImageResponse) XXX_Size() int
- func (m *PutImageResponse) XXX_Unmarshal(b []byte) error
- type PutStatusRequest
- func (*PutStatusRequest) Descriptor() ([]byte, []int)
- func (m *PutStatusRequest) GetTask() *Task
- func (*PutStatusRequest) ProtoMessage()
- func (m *PutStatusRequest) Reset()
- func (m *PutStatusRequest) String() string
- func (m *PutStatusRequest) XXX_DiscardUnknown()
- func (m *PutStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutStatusRequest) XXX_Merge(src proto.Message)
- func (m *PutStatusRequest) XXX_Size() int
- func (m *PutStatusRequest) XXX_Unmarshal(b []byte) error
- type PutStatusResponse
- func (*PutStatusResponse) Descriptor() ([]byte, []int)
- func (m *PutStatusResponse) GetError() *Error
- func (*PutStatusResponse) ProtoMessage()
- func (m *PutStatusResponse) Reset()
- func (m *PutStatusResponse) String() string
- func (m *PutStatusResponse) XXX_DiscardUnknown()
- func (m *PutStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PutStatusResponse) XXX_Merge(src proto.Message)
- func (m *PutStatusResponse) XXX_Size() int
- func (m *PutStatusResponse) XXX_Unmarshal(b []byte) error
- type RemoveImageRequest
- func (*RemoveImageRequest) Descriptor() ([]byte, []int)
- func (m *RemoveImageRequest) GetName() string
- func (*RemoveImageRequest) ProtoMessage()
- func (m *RemoveImageRequest) Reset()
- func (m *RemoveImageRequest) String() string
- func (m *RemoveImageRequest) XXX_DiscardUnknown()
- func (m *RemoveImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RemoveImageRequest) XXX_Merge(src proto.Message)
- func (m *RemoveImageRequest) XXX_Size() int
- func (m *RemoveImageRequest) XXX_Unmarshal(b []byte) error
- type RemoveImageResponse
- func (*RemoveImageResponse) Descriptor() ([]byte, []int)
- func (m *RemoveImageResponse) GetError() *Error
- func (*RemoveImageResponse) ProtoMessage()
- func (m *RemoveImageResponse) Reset()
- func (m *RemoveImageResponse) String() string
- func (m *RemoveImageResponse) XXX_DiscardUnknown()
- func (m *RemoveImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RemoveImageResponse) XXX_Merge(src proto.Message)
- func (m *RemoveImageResponse) XXX_Size() int
- func (m *RemoveImageResponse) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetCommand() Request_Command
- func (m *Request) GetId() string
- func (m *Request) GetStatus() Request_Response
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Request_Command
- type Request_Response
- type SledClub
- func (*SledClub) Descriptor() ([]byte, []int)
- func (m *SledClub) GetList() []*Sleder
- func (*SledClub) ProtoMessage()
- func (m *SledClub) Reset()
- func (m *SledClub) String() string
- func (m *SledClub) XXX_DiscardUnknown()
- func (m *SledClub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SledClub) XXX_Merge(src proto.Message)
- func (m *SledClub) XXX_Size() int
- func (m *SledClub) XXX_Unmarshal(b []byte) error
- type SledProtocolClient
- type SledProtocolServer
- type SledbClient
- type SledbServer
- type Sleder
- func (*Sleder) Descriptor() ([]byte, []int)
- func (m *Sleder) GetImage() *Image
- func (m *Sleder) GetKexec() *Kexec
- func (m *Sleder) GetMac() string
- func (x *Sleder) MarshalYAML() (interface{}, error)
- func (*Sleder) ProtoMessage()
- func (m *Sleder) Reset()
- func (m *Sleder) String() string
- func (m *Sleder) XXX_DiscardUnknown()
- func (m *Sleder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Sleder) XXX_Merge(src proto.Message)
- func (m *Sleder) XXX_Size() int
- func (m *Sleder) XXX_Unmarshal(b []byte) error
- type Task
- func (*Task) Descriptor() ([]byte, []int)
- func (m *Task) GetMac() string
- func (m *Task) GetStatus() *Request
- func (*Task) ProtoMessage()
- func (m *Task) Reset()
- func (m *Task) String() string
- func (m *Task) XXX_DiscardUnknown()
- func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Task) XXX_Merge(src proto.Message)
- func (m *Task) XXX_Size() int
- func (m *Task) XXX_Unmarshal(b []byte) error
- type TaskRecv
- func (*TaskRecv) Descriptor() ([]byte, []int)
- func (m *TaskRecv) GetStatus() string
- func (*TaskRecv) ProtoMessage()
- func (m *TaskRecv) Reset()
- func (m *TaskRecv) String() string
- func (m *TaskRecv) XXX_DiscardUnknown()
- func (m *TaskRecv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TaskRecv) XXX_Merge(src proto.Message)
- func (m *TaskRecv) XXX_Size() int
- func (m *TaskRecv) XXX_Unmarshal(b []byte) error
- type TaskSent
- func (*TaskSent) Descriptor() ([]byte, []int)
- func (m *TaskSent) GetTask() *Task
- func (*TaskSent) ProtoMessage()
- func (m *TaskSent) Reset()
- func (m *TaskSent) String() string
- func (m *TaskSent) XXX_DiscardUnknown()
- func (m *TaskSent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TaskSent) XXX_Merge(src proto.Message)
- func (m *TaskSent) XXX_Size() int
- func (m *TaskSent) XXX_Unmarshal(b []byte) error
- type UploadImageRequest
- func (*UploadImageRequest) Descriptor() ([]byte, []int)
- func (m *UploadImageRequest) GetName() string
- func (*UploadImageRequest) ProtoMessage()
- func (m *UploadImageRequest) Reset()
- func (m *UploadImageRequest) String() string
- func (m *UploadImageRequest) XXX_DiscardUnknown()
- func (m *UploadImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UploadImageRequest) XXX_Merge(src proto.Message)
- func (m *UploadImageRequest) XXX_Size() int
- func (m *UploadImageRequest) XXX_Unmarshal(b []byte) error
- type UploadImageResponse
- func (*UploadImageResponse) Descriptor() ([]byte, []int)
- func (m *UploadImageResponse) GetError() *Error
- func (*UploadImageResponse) ProtoMessage()
- func (m *UploadImageResponse) Reset()
- func (m *UploadImageResponse) String() string
- func (m *UploadImageResponse) XXX_DiscardUnknown()
- func (m *UploadImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UploadImageResponse) XXX_Merge(src proto.Message)
- func (m *UploadImageResponse) XXX_Size() int
- func (m *UploadImageResponse) XXX_Unmarshal(b []byte) error
- type WipeRequest
- func (*WipeRequest) Descriptor() ([]byte, []int)
- func (m *WipeRequest) GetMac() string
- func (*WipeRequest) ProtoMessage()
- func (m *WipeRequest) Reset()
- func (m *WipeRequest) String() string
- func (m *WipeRequest) XXX_DiscardUnknown()
- func (m *WipeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WipeRequest) XXX_Merge(src proto.Message)
- func (m *WipeRequest) XXX_Size() int
- func (m *WipeRequest) XXX_Unmarshal(b []byte) error
- type WipeResponse
- func (*WipeResponse) Descriptor() ([]byte, []int)
- func (m *WipeResponse) GetDevice() string
- func (m *WipeResponse) GetRequest() *Request
- func (*WipeResponse) ProtoMessage()
- func (m *WipeResponse) Reset()
- func (m *WipeResponse) String() string
- func (m *WipeResponse) XXX_DiscardUnknown()
- func (m *WipeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WipeResponse) XXX_Merge(src proto.Message)
- func (m *WipeResponse) XXX_Size() int
- func (m *WipeResponse) XXX_Unmarshal(b []byte) error
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)
- func (m *WriteRequest) GetMac() string
- func (*WriteRequest) ProtoMessage()
- func (m *WriteRequest) Reset()
- func (m *WriteRequest) String() string
- func (m *WriteRequest) XXX_DiscardUnknown()
- func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteRequest) XXX_Merge(src proto.Message)
- func (m *WriteRequest) XXX_Size() int
- func (m *WriteRequest) XXX_Unmarshal(b []byte) error
- type WriteResponse
- func (*WriteResponse) Descriptor() ([]byte, []int)
- func (m *WriteResponse) GetDevice() string
- func (m *WriteResponse) GetGrub() string
- func (m *WriteResponse) GetImage() string
- func (m *WriteResponse) GetInitramfs() string
- func (m *WriteResponse) GetKernel() string
- func (m *WriteResponse) GetRequest() *Request
- func (*WriteResponse) ProtoMessage()
- func (m *WriteResponse) Reset()
- func (m *WriteResponse) String() string
- func (m *WriteResponse) XXX_DiscardUnknown()
- func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WriteResponse) XXX_Merge(src proto.Message)
- func (m *WriteResponse) XXX_Size() int
- func (m *WriteResponse) XXX_Unmarshal(b []byte) error
Constants ¶
const ( //ImageKind image ImageKind = "Image" //KexecKind kexec KexecKind = "Kexec" //SledClubKind multiple sled nodes SledClubKind = "SledClub" )
Variables ¶
var Request_Command_name = map[int32]string{
0: "none",
1: "wipe",
2: "write",
3: "kexec",
}
var Request_Command_value = map[string]int32{
"none": 0,
"wipe": 1,
"write": 2,
"kexec": 3,
}
var Request_Response_name = map[int32]string{
0: "empty",
1: "ok",
2: "error",
3: "ack",
4: "unknown",
}
var Request_Response_value = map[string]int32{
"empty": 0,
"ok": 1,
"error": 2,
"ack": 3,
"unknown": 4,
}
var Version = "v0.1.9"
Version version of sled package
Functions ¶
func RegisterSledProtocolServer ¶
func RegisterSledProtocolServer(s *grpc.Server, srv SledProtocolServer)
func RegisterSledbServer ¶
func RegisterSledbServer(s *grpc.Server, srv SledbServer)
func SanitizeMAC ¶
SanitizeMAC dont let bad mac addresses or capitalizes bleed into db
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 (dst *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 (dst *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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommandSet) Descriptor ¶
func (*CommandSet) Descriptor() ([]byte, []int)
func (*CommandSet) GetKexec ¶
func (m *CommandSet) GetKexec() *KexecResponse
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 (dst *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 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 (dst *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 *Error `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() *Error
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 (dst *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 (dst *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 *Error `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() *Error
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 (dst *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 Error ¶
type Error 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 (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
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 (dst *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 (dst *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 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 (dst *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 (dst *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 (dst *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 { Request *Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStatusResponse) Descriptor ¶
func (*GetStatusResponse) Descriptor() ([]byte, []int)
func (*GetStatusResponse) GetRequest ¶
func (m *GetStatusResponse) GetRequest() *Request
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 (dst *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 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) GetBlockdevice ¶
func (*Image) GetInitramfs ¶
func (*Image) MarshalYAML ¶
MarshalYAML for image
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) XXX_DiscardUnknown ¶
func (m *Image) XXX_DiscardUnknown()
func (*Image) XXX_Marshal ¶
func (*Image) XXX_Unmarshal ¶
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) GetLocalAppend ¶
func (*Kexec) GetLocalInitramfs ¶
func (*Kexec) GetLocalKernel ¶
func (*Kexec) MarshalYAML ¶
MarshalYAML for kexec
func (*Kexec) ProtoMessage ¶
func (*Kexec) ProtoMessage()
func (*Kexec) XXX_DiscardUnknown ¶
func (m *Kexec) XXX_DiscardUnknown()
func (*Kexec) XXX_Marshal ¶
func (*Kexec) XXX_Unmarshal ¶
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 (dst *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"` Request *Request `protobuf:"bytes,4,opt,name=request,proto3" json:"request,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) GetRequest ¶
func (m *KexecResponse) GetRequest() *Request
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 (dst *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 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 (dst *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 { Status []*Request `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutCommandResponse) Descriptor ¶
func (*PutCommandResponse) Descriptor() ([]byte, []int)
func (*PutCommandResponse) GetStatus ¶
func (m *PutCommandResponse) GetStatus() []*Request
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 (dst *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 (dst *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 *Error `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() *Error
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 (dst *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 PutStatusRequest ¶
type PutStatusRequest struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutStatusRequest) Descriptor ¶
func (*PutStatusRequest) Descriptor() ([]byte, []int)
func (*PutStatusRequest) GetTask ¶
func (m *PutStatusRequest) GetTask() *Task
func (*PutStatusRequest) ProtoMessage ¶
func (*PutStatusRequest) ProtoMessage()
func (*PutStatusRequest) Reset ¶
func (m *PutStatusRequest) Reset()
func (*PutStatusRequest) String ¶
func (m *PutStatusRequest) String() string
func (*PutStatusRequest) XXX_DiscardUnknown ¶
func (m *PutStatusRequest) XXX_DiscardUnknown()
func (*PutStatusRequest) XXX_Marshal ¶
func (m *PutStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutStatusRequest) XXX_Merge ¶
func (dst *PutStatusRequest) XXX_Merge(src proto.Message)
func (*PutStatusRequest) XXX_Size ¶
func (m *PutStatusRequest) XXX_Size() int
func (*PutStatusRequest) XXX_Unmarshal ¶
func (m *PutStatusRequest) XXX_Unmarshal(b []byte) error
type PutStatusResponse ¶
type PutStatusResponse struct { Error *Error `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() *Error
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 (dst *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 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 (dst *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 *Error `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() *Error
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 (dst *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 Request ¶
type Request struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Command Request_Command `protobuf:"varint,2,opt,name=command,proto3,enum=sled.Request_Command" json:"command,omitempty"` Status Request_Response `protobuf:"varint,3,opt,name=status,proto3,enum=sled.Request_Response" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Request) Descriptor ¶
func (*Request) GetCommand ¶
func (m *Request) GetCommand() Request_Command
func (*Request) GetStatus ¶
func (m *Request) GetStatus() Request_Response
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Request_Command ¶
type Request_Command int32
const ( Request_none Request_Command = 0 Request_wipe Request_Command = 1 Request_write Request_Command = 2 Request_kexec Request_Command = 3 )
func (Request_Command) EnumDescriptor ¶
func (Request_Command) EnumDescriptor() ([]byte, []int)
func (Request_Command) String ¶
func (x Request_Command) String() string
type Request_Response ¶
type Request_Response int32
const ( Request_empty Request_Response = 0 Request_ok Request_Response = 1 Request_error Request_Response = 2 Request_ack Request_Response = 3 Request_unknown Request_Response = 4 )
func (Request_Response) EnumDescriptor ¶
func (Request_Response) EnumDescriptor() ([]byte, []int)
func (Request_Response) String ¶
func (x Request_Response) 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) ProtoMessage ¶
func (*SledClub) ProtoMessage()
func (*SledClub) XXX_DiscardUnknown ¶
func (m *SledClub) XXX_DiscardUnknown()
func (*SledClub) XXX_Marshal ¶
func (*SledClub) XXX_Unmarshal ¶
type SledProtocolClient ¶
type SledProtocolClient 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) TaskUpdate(ctx context.Context, in *TaskSent, opts ...grpc.CallOption) (*TaskRecv, error) }
SledProtocolClient is the client API for SledProtocol service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSledProtocolClient ¶
func NewSledProtocolClient(cc *grpc.ClientConn) SledProtocolClient
type SledProtocolServer ¶
type SledProtocolServer interface { Command(context.Context, *CommandRequest) (*CommandResponse, error) Wipe(context.Context, *WipeRequest) (*WipeResponse, error) Write(context.Context, *WriteRequest) (*WriteResponse, error) Kexec(context.Context, *KexecRequest) (*KexecResponse, error) TaskUpdate(context.Context, *TaskSent) (*TaskRecv, error) }
SledProtocolServer is the server API for SledProtocol service.
type SledbClient ¶
type SledbClient interface { GetImage(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error) GetCommand(ctx context.Context, in *GetCommandRequest, opts ...grpc.CallOption) (*GetCommandResponse, error) PutImage(ctx context.Context, in *PutImageRequest, opts ...grpc.CallOption) (*PutImageResponse, error) PutCommand(ctx context.Context, in *PutCommandRequest, opts ...grpc.CallOption) (*PutCommandResponse, error) DeleteImage(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*DeleteImageResponse, error) DeleteCommand(ctx context.Context, in *DeleteCommandRequest, opts ...grpc.CallOption) (*DeleteCommandResponse, error) UploadImage(ctx context.Context, in *UploadImageRequest, opts ...grpc.CallOption) (*UploadImageResponse, error) RemoveImage(ctx context.Context, in *RemoveImageRequest, opts ...grpc.CallOption) (*RemoveImageResponse, error) GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error) PutStatus(ctx context.Context, in *PutStatusRequest, opts ...grpc.CallOption) (*PutStatusResponse, error) }
SledbClient is the client API for Sledb service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSledbClient ¶
func NewSledbClient(cc *grpc.ClientConn) SledbClient
type SledbServer ¶
type SledbServer interface { GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error) GetCommand(context.Context, *GetCommandRequest) (*GetCommandResponse, error) PutImage(context.Context, *PutImageRequest) (*PutImageResponse, error) PutCommand(context.Context, *PutCommandRequest) (*PutCommandResponse, error) DeleteImage(context.Context, *DeleteImageRequest) (*DeleteImageResponse, error) DeleteCommand(context.Context, *DeleteCommandRequest) (*DeleteCommandResponse, error) UploadImage(context.Context, *UploadImageRequest) (*UploadImageResponse, error) RemoveImage(context.Context, *RemoveImageRequest) (*RemoveImageResponse, error) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error) PutStatus(context.Context, *PutStatusRequest) (*PutStatusResponse, error) }
SledbServer is the server API for Sledb 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 `protobuf:"bytes,3,opt,name=kexec,proto3" json:"kexec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Sleder) Descriptor ¶
func (*Sleder) MarshalYAML ¶
MarshalYAML for sleder
func (*Sleder) ProtoMessage ¶
func (*Sleder) ProtoMessage()
func (*Sleder) XXX_DiscardUnknown ¶
func (m *Sleder) XXX_DiscardUnknown()
func (*Sleder) XXX_Marshal ¶
func (*Sleder) XXX_Unmarshal ¶
type Task ¶
type Task struct { Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` Status *Request `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Task) Descriptor ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) XXX_DiscardUnknown ¶
func (m *Task) XXX_DiscardUnknown()
func (*Task) XXX_Unmarshal ¶
type TaskRecv ¶
type TaskRecv struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TaskRecv) Descriptor ¶
func (*TaskRecv) ProtoMessage ¶
func (*TaskRecv) ProtoMessage()
func (*TaskRecv) XXX_DiscardUnknown ¶
func (m *TaskRecv) XXX_DiscardUnknown()
func (*TaskRecv) XXX_Marshal ¶
func (*TaskRecv) XXX_Unmarshal ¶
type TaskSent ¶
type TaskSent struct { Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TaskSent) Descriptor ¶
func (*TaskSent) ProtoMessage ¶
func (*TaskSent) ProtoMessage()
func (*TaskSent) XXX_DiscardUnknown ¶
func (m *TaskSent) XXX_DiscardUnknown()
func (*TaskSent) XXX_Marshal ¶
func (*TaskSent) XXX_Unmarshal ¶
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 (dst *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 *Error `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() *Error
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 (dst *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 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 (dst *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"` Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,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) GetRequest ¶
func (m *WipeResponse) GetRequest() *Request
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 (dst *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 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 (dst *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"` Request *Request `protobuf:"bytes,6,opt,name=request,proto3" json:"request,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) GetRequest ¶
func (m *WriteResponse) GetRequest() *Request
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 (dst *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