Documentation ¶
Index ¶
- Constants
- Variables
- func Error(message string) error
- func ErrorE(message string, err error) error
- func ErrorEF(message string, err error, fields log.Fields) error
- func ErrorF(message string, fields log.Fields) error
- func InitLogging()
- func RegisterSledapiServer(s *grpc.Server, srv SledapiServer)
- func RegisterSledcProtocolServer(s *grpc.Server, srv SledcProtocolServer)
- func RegisterSledctodProtocolServer(s *grpc.Server, srv SledctodProtocolServer)
- func SanitizeMAC(mac string) (string, error)
- func SanitizePrefix(prefix string) (string, error)
- func ToGRPCError(ep *ErrorPackage) error
- func Warn(message string)
- func WarnE(message string, err error)
- func WarnEF(message string, err error, fields log.Fields)
- func WarnF(message string, fields log.Fields)
- 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 (m *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 (m *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) GetDaemon() EnumStatus
- func (m *CommandSet) GetKexec() *KexecResponse
- func (m *CommandSet) GetStatusid() string
- func (m *CommandSet) GetTimestamp() string
- 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 (m *CommandSet) XXX_Merge(src proto.Message)
- func (m *CommandSet) XXX_Size() int
- func (m *CommandSet) XXX_Unmarshal(b []byte) error
- type CommandStatus
- func (*CommandStatus) Descriptor() ([]byte, []int)
- func (m *CommandStatus) GetId() string
- func (m *CommandStatus) GetKexec() *Response
- func (m *CommandStatus) GetMac() string
- func (m *CommandStatus) GetWipe() *Response
- func (m *CommandStatus) GetWrite() *Response
- func (*CommandStatus) ProtoMessage()
- func (m *CommandStatus) Reset()
- func (m *CommandStatus) String() string
- func (m *CommandStatus) XXX_DiscardUnknown()
- func (m *CommandStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommandStatus) XXX_Merge(src proto.Message)
- func (m *CommandStatus) XXX_Size() int
- func (m *CommandStatus) XXX_Unmarshal(b []byte) error
- type DaemonProto
- func (*DaemonProto) Descriptor() ([]byte, []int)
- func (m *DaemonProto) GetDevice() string
- func (m *DaemonProto) GetDisk() string
- func (m *DaemonProto) GetInitrd() string
- func (m *DaemonProto) GetIp() string
- func (m *DaemonProto) GetKernel() string
- func (m *DaemonProto) GetMac() string
- func (m *DaemonProto) GetPort() string
- func (m *DaemonProto) GetStatus() EnumStatus
- func (m *DaemonProto) GetUptime() string
- func (*DaemonProto) ProtoMessage()
- func (m *DaemonProto) Reset()
- func (m *DaemonProto) String() string
- func (m *DaemonProto) XXX_DiscardUnknown()
- func (m *DaemonProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DaemonProto) XXX_Merge(src proto.Message)
- func (m *DaemonProto) XXX_Size() int
- func (m *DaemonProto) XXX_Unmarshal(b []byte) error
- type DaemonProtoRequest
- func (*DaemonProtoRequest) Descriptor() ([]byte, []int)
- func (m *DaemonProtoRequest) GetDp() *DaemonProto
- func (*DaemonProtoRequest) ProtoMessage()
- func (m *DaemonProtoRequest) Reset()
- func (m *DaemonProtoRequest) String() string
- func (m *DaemonProtoRequest) XXX_DiscardUnknown()
- func (m *DaemonProtoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DaemonProtoRequest) XXX_Merge(src proto.Message)
- func (m *DaemonProtoRequest) XXX_Size() int
- func (m *DaemonProtoRequest) XXX_Unmarshal(b []byte) error
- type DaemonRunCommand
- func (*DaemonRunCommand) Descriptor() ([]byte, []int)
- func (m *DaemonRunCommand) GetCommand() string
- func (m *DaemonRunCommand) GetDp() *DaemonProto
- func (*DaemonRunCommand) ProtoMessage()
- func (m *DaemonRunCommand) Reset()
- func (m *DaemonRunCommand) String() string
- func (m *DaemonRunCommand) XXX_DiscardUnknown()
- func (m *DaemonRunCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DaemonRunCommand) XXX_Merge(src proto.Message)
- func (m *DaemonRunCommand) XXX_Size() int
- func (m *DaemonRunCommand) XXX_Unmarshal(b []byte) error
- type DaemonStatus
- func (*DaemonStatus) Descriptor() ([]byte, []int)
- func (m *DaemonStatus) GetStatus() EnumStatus
- func (*DaemonStatus) ProtoMessage()
- func (m *DaemonStatus) Reset()
- func (m *DaemonStatus) String() string
- func (m *DaemonStatus) XXX_DiscardUnknown()
- func (m *DaemonStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DaemonStatus) XXX_Merge(src proto.Message)
- func (m *DaemonStatus) XXX_Size() int
- func (m *DaemonStatus) 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 (m *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() *ErrorResponse
- 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 (m *DeleteCommandResponse) XXX_Merge(src proto.Message)
- func (m *DeleteCommandResponse) XXX_Size() int
- func (m *DeleteCommandResponse) XXX_Unmarshal(b []byte) error
- type DeleteDaemonRequest
- func (*DeleteDaemonRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDaemonRequest) GetMac() string
- func (*DeleteDaemonRequest) ProtoMessage()
- func (m *DeleteDaemonRequest) Reset()
- func (m *DeleteDaemonRequest) String() string
- func (m *DeleteDaemonRequest) XXX_DiscardUnknown()
- func (m *DeleteDaemonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDaemonRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDaemonRequest) XXX_Size() int
- func (m *DeleteDaemonRequest) XXX_Unmarshal(b []byte) error
- type DeleteDaemonResponse
- func (*DeleteDaemonResponse) Descriptor() ([]byte, []int)
- func (m *DeleteDaemonResponse) GetError() *ErrorResponse
- func (*DeleteDaemonResponse) ProtoMessage()
- func (m *DeleteDaemonResponse) Reset()
- func (m *DeleteDaemonResponse) String() string
- func (m *DeleteDaemonResponse) XXX_DiscardUnknown()
- func (m *DeleteDaemonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDaemonResponse) XXX_Merge(src proto.Message)
- func (m *DeleteDaemonResponse) XXX_Size() int
- func (m *DeleteDaemonResponse) 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 (m *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() *ErrorResponse
- 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 (m *DeleteImageResponse) XXX_Merge(src proto.Message)
- func (m *DeleteImageResponse) XXX_Size() int
- func (m *DeleteImageResponse) XXX_Unmarshal(b []byte) error
- type DeleteTaskRequest
- func (*DeleteTaskRequest) Descriptor() ([]byte, []int)
- func (m *DeleteTaskRequest) GetAction() string
- func (m *DeleteTaskRequest) GetId() string
- func (*DeleteTaskRequest) ProtoMessage()
- func (m *DeleteTaskRequest) Reset()
- func (m *DeleteTaskRequest) String() string
- func (m *DeleteTaskRequest) XXX_DiscardUnknown()
- func (m *DeleteTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTaskRequest) XXX_Merge(src proto.Message)
- func (m *DeleteTaskRequest) XXX_Size() int
- func (m *DeleteTaskRequest) XXX_Unmarshal(b []byte) error
- type DeleteTaskResponse
- func (*DeleteTaskResponse) Descriptor() ([]byte, []int)
- func (m *DeleteTaskResponse) GetError() *ErrorResponse
- func (*DeleteTaskResponse) ProtoMessage()
- func (m *DeleteTaskResponse) Reset()
- func (m *DeleteTaskResponse) String() string
- func (m *DeleteTaskResponse) XXX_DiscardUnknown()
- func (m *DeleteTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteTaskResponse) XXX_Merge(src proto.Message)
- func (m *DeleteTaskResponse) XXX_Size() int
- func (m *DeleteTaskResponse) XXX_Unmarshal(b []byte) error
- type Device
- func (*Device) Descriptor() ([]byte, []int)
- func (m *Device) GetFilesystem() bool
- func (m *Device) GetFull() bool
- func (m *Device) GetName() string
- func (m *Device) GetWipe() isDevice_Wipe
- func (*Device) ProtoMessage()
- func (m *Device) Reset()
- func (m *Device) String() string
- func (m *Device) XXX_DiscardUnknown()
- func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Device) XXX_Merge(src proto.Message)
- func (*Device) XXX_OneofWrappers() []interface{}
- func (m *Device) XXX_Size() int
- func (m *Device) XXX_Unmarshal(b []byte) error
- type Device_Filesystem
- type Device_Full
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type EnumStatus
- type ErrorPackage
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)
- func (m *ErrorResponse) GetDetails() map[string]string
- func (m *ErrorResponse) GetField() string
- func (m *ErrorResponse) GetMsg() string
- func (*ErrorResponse) ProtoMessage()
- func (m *ErrorResponse) Reset()
- func (m *ErrorResponse) String() string
- func (m *ErrorResponse) XXX_DiscardUnknown()
- func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorResponse) XXX_Merge(src proto.Message)
- func (m *ErrorResponse) XXX_Size() int
- func (m *ErrorResponse) 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 (m *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 (m *GetCommandResponse) XXX_Merge(src proto.Message)
- func (m *GetCommandResponse) XXX_Size() int
- func (m *GetCommandResponse) XXX_Unmarshal(b []byte) error
- type GetDaemonRequest
- func (*GetDaemonRequest) Descriptor() ([]byte, []int)
- func (m *GetDaemonRequest) GetMac() string
- func (*GetDaemonRequest) ProtoMessage()
- func (m *GetDaemonRequest) Reset()
- func (m *GetDaemonRequest) String() string
- func (m *GetDaemonRequest) XXX_DiscardUnknown()
- func (m *GetDaemonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDaemonRequest) XXX_Merge(src proto.Message)
- func (m *GetDaemonRequest) XXX_Size() int
- func (m *GetDaemonRequest) XXX_Unmarshal(b []byte) error
- type GetDaemonResponse
- func (*GetDaemonResponse) Descriptor() ([]byte, []int)
- func (m *GetDaemonResponse) GetDaemon() *DaemonProto
- func (*GetDaemonResponse) ProtoMessage()
- func (m *GetDaemonResponse) Reset()
- func (m *GetDaemonResponse) String() string
- func (m *GetDaemonResponse) XXX_DiscardUnknown()
- func (m *GetDaemonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDaemonResponse) XXX_Merge(src proto.Message)
- func (m *GetDaemonResponse) XXX_Size() int
- func (m *GetDaemonResponse) 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 (m *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 (m *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 (m *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) GetStatus() *CommandStatus
- 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 (m *GetStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetStatusResponse) XXX_Size() int
- func (m *GetStatusResponse) XXX_Unmarshal(b []byte) error
- type GetStatusResponses
- func (*GetStatusResponses) Descriptor() ([]byte, []int)
- func (m *GetStatusResponses) GetStatus() []*CommandStatus
- func (*GetStatusResponses) ProtoMessage()
- func (m *GetStatusResponses) Reset()
- func (m *GetStatusResponses) String() string
- func (m *GetStatusResponses) XXX_DiscardUnknown()
- func (m *GetStatusResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatusResponses) XXX_Merge(src proto.Message)
- func (m *GetStatusResponses) XXX_Size() int
- func (m *GetStatusResponses) 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 (m *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 (m *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 (m *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 (*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 (m *KexecResponse) XXX_Merge(src proto.Message)
- func (m *KexecResponse) XXX_Size() int
- func (m *KexecResponse) XXX_Unmarshal(b []byte) error
- type KexecUpdateStatus
- func (*KexecUpdateStatus) Descriptor() ([]byte, []int)
- func (m *KexecUpdateStatus) GetId() string
- func (m *KexecUpdateStatus) GetMac() string
- func (m *KexecUpdateStatus) GetUpdate() *Response
- func (*KexecUpdateStatus) ProtoMessage()
- func (m *KexecUpdateStatus) Reset()
- func (m *KexecUpdateStatus) String() string
- func (m *KexecUpdateStatus) XXX_DiscardUnknown()
- func (m *KexecUpdateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KexecUpdateStatus) XXX_Merge(src proto.Message)
- func (m *KexecUpdateStatus) XXX_Size() int
- func (m *KexecUpdateStatus) XXX_Unmarshal(b []byte) error
- type Kind
- type LastWrite
- func (*LastWrite) Descriptor() ([]byte, []int)
- func (m *LastWrite) GetDevice() *WriteStats
- func (m *LastWrite) GetImage() *WriteStats
- func (m *LastWrite) GetInitrd() *WriteStats
- func (m *LastWrite) GetKernel() *WriteStats
- func (*LastWrite) ProtoMessage()
- func (m *LastWrite) Reset()
- func (m *LastWrite) String() string
- func (m *LastWrite) XXX_DiscardUnknown()
- func (m *LastWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastWrite) XXX_Merge(src proto.Message)
- func (m *LastWrite) XXX_Size() int
- func (m *LastWrite) XXX_Unmarshal(b []byte) error
- type Logs
- func (*Logs) Descriptor() ([]byte, []int)
- func (m *Logs) GetError() string
- func (m *Logs) GetOutput() string
- func (*Logs) ProtoMessage()
- func (m *Logs) Reset()
- func (m *Logs) String() string
- func (m *Logs) XXX_DiscardUnknown()
- func (m *Logs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Logs) XXX_Merge(src proto.Message)
- func (m *Logs) XXX_Size() int
- func (m *Logs) XXX_Unmarshal(b []byte) error
- type ManyMacResponse
- func (*ManyMacResponse) Descriptor() ([]byte, []int)
- func (m *ManyMacResponse) GetMacs() []string
- func (*ManyMacResponse) ProtoMessage()
- func (m *ManyMacResponse) Reset()
- func (m *ManyMacResponse) String() string
- func (m *ManyMacResponse) XXX_DiscardUnknown()
- func (m *ManyMacResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ManyMacResponse) XXX_Merge(src proto.Message)
- func (m *ManyMacResponse) XXX_Size() int
- func (m *ManyMacResponse) XXX_Unmarshal(b []byte) error
- type MetaObject
- type NackResponse
- func (*NackResponse) Descriptor() ([]byte, []int)
- func (m *NackResponse) GetCommand() *CommandSet
- func (m *NackResponse) GetError() string
- func (*NackResponse) ProtoMessage()
- func (m *NackResponse) Reset()
- func (m *NackResponse) String() string
- func (m *NackResponse) XXX_DiscardUnknown()
- func (m *NackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NackResponse) XXX_Merge(src proto.Message)
- func (m *NackResponse) XXX_Size() int
- func (m *NackResponse) XXX_Unmarshal(b []byte) error
- type Progress
- func (*Progress) Descriptor() ([]byte, []int)
- func (m *Progress) GetKexec() int32
- func (m *Progress) GetWipe() int32
- func (m *Progress) GetWrite() int32
- func (*Progress) ProtoMessage()
- func (m *Progress) Reset()
- func (m *Progress) String() string
- func (m *Progress) XXX_DiscardUnknown()
- func (m *Progress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Progress) XXX_Merge(src proto.Message)
- func (m *Progress) XXX_Size() int
- func (m *Progress) XXX_Unmarshal(b []byte) error
- 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 (m *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) GetError() *ErrorResponse
- func (m *PutCommandResponse) GetId() string
- 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 (m *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 (m *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() *ErrorResponse
- 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 (m *PutImageResponse) XXX_Merge(src proto.Message)
- func (m *PutImageResponse) XXX_Size() int
- func (m *PutImageResponse) XXX_Unmarshal(b []byte) error
- type PutKexecStatusRequest
- func (*PutKexecStatusRequest) Descriptor() ([]byte, []int)
- func (m *PutKexecStatusRequest) GetStatus() *KexecUpdateStatus
- func (*PutKexecStatusRequest) ProtoMessage()
- func (m *PutKexecStatusRequest) Reset()
- func (m *PutKexecStatusRequest) String() string
- func (m *PutKexecStatusRequest) XXX_DiscardUnknown()
- func (m *PutKexecStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutKexecStatusRequest) XXX_Merge(src proto.Message)
- func (m *PutKexecStatusRequest) XXX_Size() int
- func (m *PutKexecStatusRequest) XXX_Unmarshal(b []byte) error
- type PutWipeStatusRequest
- func (*PutWipeStatusRequest) Descriptor() ([]byte, []int)
- func (m *PutWipeStatusRequest) GetStatus() *WipeUpdateStatus
- func (*PutWipeStatusRequest) ProtoMessage()
- func (m *PutWipeStatusRequest) Reset()
- func (m *PutWipeStatusRequest) String() string
- func (m *PutWipeStatusRequest) XXX_DiscardUnknown()
- func (m *PutWipeStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutWipeStatusRequest) XXX_Merge(src proto.Message)
- func (m *PutWipeStatusRequest) XXX_Size() int
- func (m *PutWipeStatusRequest) XXX_Unmarshal(b []byte) error
- type PutWriteStatusRequest
- func (*PutWriteStatusRequest) Descriptor() ([]byte, []int)
- func (m *PutWriteStatusRequest) GetStatus() *WriteUpdateStatus
- func (*PutWriteStatusRequest) ProtoMessage()
- func (m *PutWriteStatusRequest) Reset()
- func (m *PutWriteStatusRequest) String() string
- func (m *PutWriteStatusRequest) XXX_DiscardUnknown()
- func (m *PutWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutWriteStatusRequest) XXX_Merge(src proto.Message)
- func (m *PutWriteStatusRequest) XXX_Size() int
- func (m *PutWriteStatusRequest) XXX_Unmarshal(b []byte) error
- type RegisterUpdate
- func (*RegisterUpdate) Descriptor() ([]byte, []int)
- func (m *RegisterUpdate) GetCommand() *CommandSet
- func (m *RegisterUpdate) GetDaemon() *DaemonProto
- func (*RegisterUpdate) ProtoMessage()
- func (m *RegisterUpdate) Reset()
- func (m *RegisterUpdate) String() string
- func (m *RegisterUpdate) XXX_DiscardUnknown()
- func (m *RegisterUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterUpdate) XXX_Merge(src proto.Message)
- func (m *RegisterUpdate) XXX_Size() int
- func (m *RegisterUpdate) 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 (m *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() *ErrorResponse
- 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 (m *RemoveImageResponse) XXX_Merge(src proto.Message)
- func (m *RemoveImageResponse) XXX_Size() int
- func (m *RemoveImageResponse) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetErrMsg() string
- func (m *Response) GetStatus() Response_Status
- func (m *Response) GetTimestamp() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type Response_Status
- type RunCommand
- func (*RunCommand) Descriptor() ([]byte, []int)
- func (m *RunCommand) GetCommand() string
- func (*RunCommand) ProtoMessage()
- func (m *RunCommand) Reset()
- func (m *RunCommand) String() string
- func (m *RunCommand) XXX_DiscardUnknown()
- func (m *RunCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunCommand) XXX_Merge(src proto.Message)
- func (m *RunCommand) XXX_Size() int
- func (m *RunCommand) XXX_Unmarshal(b []byte) error
- type RunShellRequest
- func (*RunShellRequest) Descriptor() ([]byte, []int)
- func (m *RunShellRequest) GetCommand() string
- func (m *RunShellRequest) GetMac() string
- func (*RunShellRequest) ProtoMessage()
- func (m *RunShellRequest) Reset()
- func (m *RunShellRequest) String() string
- func (m *RunShellRequest) XXX_DiscardUnknown()
- func (m *RunShellRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RunShellRequest) XXX_Merge(src proto.Message)
- func (m *RunShellRequest) XXX_Size() int
- func (m *RunShellRequest) XXX_Unmarshal(b []byte) error
- 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 (m *SledClub) XXX_Merge(src proto.Message)
- func (m *SledClub) XXX_Size() int
- func (m *SledClub) XXX_Unmarshal(b []byte) error
- type SledapiClient
- type SledapiServer
- type SledcProtocolClient
- type SledcProtocolServer
- type SledctodProtocolClient
- type SledctodProtocolServer
- type Sleder
- func (*Sleder) Descriptor() ([]byte, []int)
- func (m *Sleder) GetImage() *Image
- func (m *Sleder) GetMac() string
- func (m *Sleder) GetWipe() 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 (m *Sleder) XXX_Merge(src proto.Message)
- func (m *Sleder) XXX_Size() int
- func (m *Sleder) XXX_Unmarshal(b []byte) error
- type UnimplementedSledapiServer
- func (*UnimplementedSledapiServer) ClearTask(ctx context.Context, req *DeleteTaskRequest) (*DeleteTaskResponse, error)
- func (*UnimplementedSledapiServer) DeleteCommand(ctx context.Context, req *DeleteCommandRequest) (*DeleteCommandResponse, error)
- func (*UnimplementedSledapiServer) DeleteDaemon(ctx context.Context, req *DeleteDaemonRequest) (*DeleteDaemonResponse, error)
- func (*UnimplementedSledapiServer) GetCommand(ctx context.Context, req *GetCommandRequest) (*GetCommandResponse, error)
- func (*UnimplementedSledapiServer) GetDaemon(ctx context.Context, req *GetDaemonRequest) (*GetDaemonResponse, error)
- func (*UnimplementedSledapiServer) GetDaemonStatus(ctx context.Context, req *GetDaemonRequest) (*DaemonStatus, error)
- func (*UnimplementedSledapiServer) GetDmesg(ctx context.Context, req *GetDaemonRequest) (*Logs, error)
- func (*UnimplementedSledapiServer) GetHistory(ctx context.Context, req *GetDaemonRequest) (*LastWrite, error)
- func (*UnimplementedSledapiServer) GetKexecStatus(ctx context.Context, req *GetStatusRequest) (*Response, error)
- func (*UnimplementedSledapiServer) GetLogs(ctx context.Context, req *GetDaemonRequest) (*Logs, error)
- func (*UnimplementedSledapiServer) GetMacs(ctx context.Context, req *Empty) (*ManyMacResponse, error)
- func (*UnimplementedSledapiServer) GetProgress(ctx context.Context, req *GetDaemonRequest) (*Progress, error)
- func (*UnimplementedSledapiServer) GetStatus(ctx context.Context, req *GetStatusRequest) (*GetStatusResponse, error)
- func (*UnimplementedSledapiServer) GetStatuses(ctx context.Context, req *GetStatusRequest) (*GetStatusResponses, error)
- func (*UnimplementedSledapiServer) GetUptime(ctx context.Context, req *GetDaemonRequest) (*Uptime, error)
- func (*UnimplementedSledapiServer) GetWipeStatus(ctx context.Context, req *GetStatusRequest) (*Response, error)
- func (*UnimplementedSledapiServer) GetWriteStatus(ctx context.Context, req *GetStatusRequest) (*Response, error)
- func (*UnimplementedSledapiServer) HealthCheck(ctx context.Context, req *GetDaemonRequest) (*Empty, error)
- func (*UnimplementedSledapiServer) PutCommand(ctx context.Context, req *PutCommandRequest) (*PutCommandResponse, error)
- func (*UnimplementedSledapiServer) PutKexecStatus(ctx context.Context, req *PutKexecStatusRequest) (*NackResponse, error)
- func (*UnimplementedSledapiServer) PutWipeStatus(ctx context.Context, req *PutWipeStatusRequest) (*NackResponse, error)
- func (*UnimplementedSledapiServer) PutWriteStatus(ctx context.Context, req *PutWriteStatusRequest) (*NackResponse, error)
- func (*UnimplementedSledapiServer) RegisterDaemon(ctx context.Context, req *RegisterUpdate) (*Empty, error)
- func (*UnimplementedSledapiServer) RunShell(ctx context.Context, req *RunShellRequest) (*Logs, error)
- func (*UnimplementedSledapiServer) UpgradeSledc(ctx context.Context, req *UpgradeSledClient) (*UpgradeUpdateResponse, error)
- type UnimplementedSledcProtocolServer
- func (*UnimplementedSledcProtocolServer) GetDmesg(ctx context.Context, req *Empty) (*Logs, error)
- func (*UnimplementedSledcProtocolServer) GetHistory(ctx context.Context, req *Empty) (*LastWrite, error)
- func (*UnimplementedSledcProtocolServer) GetLogs(ctx context.Context, req *Empty) (*Logs, error)
- func (*UnimplementedSledcProtocolServer) GetProgress(ctx context.Context, req *Empty) (*Progress, error)
- func (*UnimplementedSledcProtocolServer) GetStatus(ctx context.Context, req *Empty) (*DaemonStatus, error)
- func (*UnimplementedSledcProtocolServer) GetUptime(ctx context.Context, req *Empty) (*Uptime, error)
- func (*UnimplementedSledcProtocolServer) Ping(ctx context.Context, req *Empty) (*Empty, error)
- func (*UnimplementedSledcProtocolServer) Ready(ctx context.Context, req *CommandSet) (*Empty, error)
- func (*UnimplementedSledcProtocolServer) RunShell(ctx context.Context, req *RunCommand) (*Logs, error)
- func (*UnimplementedSledcProtocolServer) Upgrade(ctx context.Context, req *UpgradeSet) (*UpgradeUpdateResponse, error)
- type UnimplementedSledctodProtocolServer
- func (*UnimplementedSledctodProtocolServer) Command(ctx context.Context, req *CommandRequest) (*CommandResponse, error)
- func (*UnimplementedSledctodProtocolServer) GetDmesg(ctx context.Context, req *DaemonProtoRequest) (*Logs, error)
- func (*UnimplementedSledctodProtocolServer) GetHistory(ctx context.Context, req *DaemonProtoRequest) (*LastWrite, error)
- func (*UnimplementedSledctodProtocolServer) GetLogs(ctx context.Context, req *DaemonProtoRequest) (*Logs, error)
- func (*UnimplementedSledctodProtocolServer) GetProgress(ctx context.Context, req *DaemonProtoRequest) (*Progress, error)
- func (*UnimplementedSledctodProtocolServer) GetStatus(ctx context.Context, req *DaemonProtoRequest) (*DaemonStatus, error)
- func (*UnimplementedSledctodProtocolServer) GetUptime(ctx context.Context, req *DaemonProtoRequest) (*Uptime, error)
- func (*UnimplementedSledctodProtocolServer) Kexec(ctx context.Context, req *KexecRequest) (*KexecResponse, error)
- func (*UnimplementedSledctodProtocolServer) KexecUpdate(ctx context.Context, req *KexecUpdateStatus) (*NackResponse, error)
- func (*UnimplementedSledctodProtocolServer) Ping(ctx context.Context, req *DaemonProtoRequest) (*Empty, error)
- func (*UnimplementedSledctodProtocolServer) Ready(ctx context.Context, req *RegisterUpdate) (*Empty, error)
- func (*UnimplementedSledctodProtocolServer) Register(ctx context.Context, req *RegisterUpdate) (*Empty, error)
- func (*UnimplementedSledctodProtocolServer) RunShell(ctx context.Context, req *DaemonRunCommand) (*Logs, error)
- func (*UnimplementedSledctodProtocolServer) UpgradeSledc(ctx context.Context, req *UpgradeUpdate) (*UpgradeUpdateResponse, error)
- func (*UnimplementedSledctodProtocolServer) Wipe(ctx context.Context, req *WipeRequest) (*WipeResponse, error)
- func (*UnimplementedSledctodProtocolServer) WipeUpdate(ctx context.Context, req *WipeUpdateStatus) (*NackResponse, error)
- func (*UnimplementedSledctodProtocolServer) Write(ctx context.Context, req *WriteRequest) (*WriteResponse, error)
- func (*UnimplementedSledctodProtocolServer) WriteUpdate(ctx context.Context, req *WriteUpdateStatus) (*NackResponse, error)
- type UpgradeSet
- func (*UpgradeSet) Descriptor() ([]byte, []int)
- func (m *UpgradeSet) GetTarget() *KexecResponse
- func (*UpgradeSet) ProtoMessage()
- func (m *UpgradeSet) Reset()
- func (m *UpgradeSet) String() string
- func (m *UpgradeSet) XXX_DiscardUnknown()
- func (m *UpgradeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeSet) XXX_Merge(src proto.Message)
- func (m *UpgradeSet) XXX_Size() int
- func (m *UpgradeSet) XXX_Unmarshal(b []byte) error
- type UpgradeSledClient
- func (*UpgradeSledClient) Descriptor() ([]byte, []int)
- func (m *UpgradeSledClient) GetMac() string
- func (m *UpgradeSledClient) GetUpgrade() *UpgradeSet
- func (*UpgradeSledClient) ProtoMessage()
- func (m *UpgradeSledClient) Reset()
- func (m *UpgradeSledClient) String() string
- func (m *UpgradeSledClient) XXX_DiscardUnknown()
- func (m *UpgradeSledClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeSledClient) XXX_Merge(src proto.Message)
- func (m *UpgradeSledClient) XXX_Size() int
- func (m *UpgradeSledClient) XXX_Unmarshal(b []byte) error
- type UpgradeUpdate
- func (*UpgradeUpdate) Descriptor() ([]byte, []int)
- func (m *UpgradeUpdate) GetDaemon() *DaemonProto
- func (m *UpgradeUpdate) GetUpgrade() *UpgradeSet
- func (*UpgradeUpdate) ProtoMessage()
- func (m *UpgradeUpdate) Reset()
- func (m *UpgradeUpdate) String() string
- func (m *UpgradeUpdate) XXX_DiscardUnknown()
- func (m *UpgradeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeUpdate) XXX_Merge(src proto.Message)
- func (m *UpgradeUpdate) XXX_Size() int
- func (m *UpgradeUpdate) XXX_Unmarshal(b []byte) error
- type UpgradeUpdateResponse
- func (*UpgradeUpdateResponse) Descriptor() ([]byte, []int)
- func (m *UpgradeUpdateResponse) GetMac() string
- func (m *UpgradeUpdateResponse) GetUpdate() *Response
- func (*UpgradeUpdateResponse) ProtoMessage()
- func (m *UpgradeUpdateResponse) Reset()
- func (m *UpgradeUpdateResponse) String() string
- func (m *UpgradeUpdateResponse) XXX_DiscardUnknown()
- func (m *UpgradeUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeUpdateResponse) XXX_Merge(src proto.Message)
- func (m *UpgradeUpdateResponse) XXX_Size() int
- func (m *UpgradeUpdateResponse) 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 (m *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() *ErrorResponse
- 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 (m *UploadImageResponse) XXX_Merge(src proto.Message)
- func (m *UploadImageResponse) XXX_Size() int
- func (m *UploadImageResponse) XXX_Unmarshal(b []byte) error
- type Uptime
- func (*Uptime) Descriptor() ([]byte, []int)
- func (m *Uptime) GetUptime() string
- func (*Uptime) ProtoMessage()
- func (m *Uptime) Reset()
- func (m *Uptime) String() string
- func (m *Uptime) XXX_DiscardUnknown()
- func (m *Uptime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Uptime) XXX_Merge(src proto.Message)
- func (m *Uptime) XXX_Size() int
- func (m *Uptime) 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 (m *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) GetDevices() []*Device
- 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 (m *WipeResponse) XXX_Merge(src proto.Message)
- func (m *WipeResponse) XXX_Size() int
- func (m *WipeResponse) XXX_Unmarshal(b []byte) error
- type WipeUpdateStatus
- func (*WipeUpdateStatus) Descriptor() ([]byte, []int)
- func (m *WipeUpdateStatus) GetId() string
- func (m *WipeUpdateStatus) GetMac() string
- func (m *WipeUpdateStatus) GetUpdate() *Response
- func (*WipeUpdateStatus) ProtoMessage()
- func (m *WipeUpdateStatus) Reset()
- func (m *WipeUpdateStatus) String() string
- func (m *WipeUpdateStatus) XXX_DiscardUnknown()
- func (m *WipeUpdateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WipeUpdateStatus) XXX_Merge(src proto.Message)
- func (m *WipeUpdateStatus) XXX_Size() int
- func (m *WipeUpdateStatus) 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 (m *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 (*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 (m *WriteResponse) XXX_Merge(src proto.Message)
- func (m *WriteResponse) XXX_Size() int
- func (m *WriteResponse) XXX_Unmarshal(b []byte) error
- type WriteStats
- func (*WriteStats) Descriptor() ([]byte, []int)
- func (m *WriteStats) GetItem() string
- func (m *WriteStats) GetName() string
- func (m *WriteStats) GetServer() string
- func (m *WriteStats) GetTimestamp() string
- func (*WriteStats) ProtoMessage()
- func (m *WriteStats) Reset()
- func (m *WriteStats) String() string
- func (m *WriteStats) XXX_DiscardUnknown()
- func (m *WriteStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteStats) XXX_Merge(src proto.Message)
- func (m *WriteStats) XXX_Size() int
- func (m *WriteStats) XXX_Unmarshal(b []byte) error
- type WriteUpdateStatus
- func (*WriteUpdateStatus) Descriptor() ([]byte, []int)
- func (m *WriteUpdateStatus) GetDaemon() bool
- func (m *WriteUpdateStatus) GetDisk() string
- func (m *WriteUpdateStatus) GetId() string
- func (m *WriteUpdateStatus) GetInitrd() string
- func (m *WriteUpdateStatus) GetKernel() string
- func (m *WriteUpdateStatus) GetMac() string
- func (m *WriteUpdateStatus) GetUpdate() *Response
- func (*WriteUpdateStatus) ProtoMessage()
- func (m *WriteUpdateStatus) Reset()
- func (m *WriteUpdateStatus) String() string
- func (m *WriteUpdateStatus) XXX_DiscardUnknown()
- func (m *WriteUpdateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteUpdateStatus) XXX_Merge(src proto.Message)
- func (m *WriteUpdateStatus) XXX_Size() int
- func (m *WriteUpdateStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // TaskError for errors TaskError = "error" // TaskOk for command complete TaskOk = "ok" // TaskAck for command in progress TaskAck = "ack" AllCmd = "all" // CmdWipe for wipe command CmdWipe = "wipe" // CmdWrite for write command CmdWrite = "write" // CmdKexec for kexec command CmdKexec = "kexec" // CmdUpgrade for kexec command CmdUpgrade = "kexec" // DaemonConfigured for daemon commands DaemonConfigured = "configured" // DaemonReady for daemon commands DaemonReady = "ready" // DaemonNotSet for daemon commands DaemonNotSet = "none" )
const ( //ImageKind image ImageKind = "Image" //KexecKind kexec KexecKind = "Kexec" //SledClubKind multiple sled nodes SledClubKind = "SledClub" )
Variables ¶
var EnumStatus_name = map[int32]string{
0: "NONE",
1: "CONFIGURED",
2: "READY",
}
var EnumStatus_value = map[string]int32{
"NONE": 0,
"CONFIGURED": 1,
"READY": 2,
}
var (
ImageNotFoundErr = "image not found" // nolint: gochecknoglobals
)
var Response_Status_name = map[int32]string{
0: "empty",
1: "unknown",
2: "ack",
3: "ok",
4: "error",
}
var Response_Status_value = map[string]int32{
"empty": 0,
"unknown": 1,
"ack": 2,
"ok": 3,
"error": 4,
}
var Version string // nolint:gochecknoglobals
Version version of sled package.
Functions ¶
func ErrorE ¶ added in v0.6.0
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
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
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 ¶
SanitizeMAC dont let bad mac addresses or capitalizes bleed into db.
func SanitizePrefix ¶ added in v0.5.1
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 ToGRPCError ¶ added in v0.8.0
func ToGRPCError(ep *ErrorPackage) error
func Warn ¶ added in v0.6.0
func Warn(message string)
Warn acts like Error, but doesnt return anything.
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"` Mac string `protobuf:"bytes,5,opt,name=mac,proto3" json:"mac,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) GetMac ¶ added in v0.7.0
func (m *CommandStatus) GetMac() string
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"` 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) 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 DaemonRunCommand ¶ added in v0.8.1
type DaemonRunCommand struct { Dp *DaemonProto `protobuf:"bytes,1,opt,name=dp,proto3" json:"dp,omitempty"` Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DaemonRunCommand) Descriptor ¶ added in v0.8.1
func (*DaemonRunCommand) Descriptor() ([]byte, []int)
func (*DaemonRunCommand) GetCommand ¶ added in v0.8.1
func (m *DaemonRunCommand) GetCommand() string
func (*DaemonRunCommand) GetDp ¶ added in v0.8.1
func (m *DaemonRunCommand) GetDp() *DaemonProto
func (*DaemonRunCommand) ProtoMessage ¶ added in v0.8.1
func (*DaemonRunCommand) ProtoMessage()
func (*DaemonRunCommand) Reset ¶ added in v0.8.1
func (m *DaemonRunCommand) Reset()
func (*DaemonRunCommand) String ¶ added in v0.8.1
func (m *DaemonRunCommand) String() string
func (*DaemonRunCommand) XXX_DiscardUnknown ¶ added in v0.8.1
func (m *DaemonRunCommand) XXX_DiscardUnknown()
func (*DaemonRunCommand) XXX_Marshal ¶ added in v0.8.1
func (m *DaemonRunCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DaemonRunCommand) XXX_Merge ¶ added in v0.8.1
func (m *DaemonRunCommand) XXX_Merge(src proto.Message)
func (*DaemonRunCommand) XXX_Size ¶ added in v0.8.1
func (m *DaemonRunCommand) XXX_Size() int
func (*DaemonRunCommand) XXX_Unmarshal ¶ added in v0.8.1
func (m *DaemonRunCommand) 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 DeleteDaemonRequest ¶ added in v0.8.3
type DeleteDaemonRequest 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 (*DeleteDaemonRequest) Descriptor ¶ added in v0.8.3
func (*DeleteDaemonRequest) Descriptor() ([]byte, []int)
func (*DeleteDaemonRequest) GetMac ¶ added in v0.8.3
func (m *DeleteDaemonRequest) GetMac() string
func (*DeleteDaemonRequest) ProtoMessage ¶ added in v0.8.3
func (*DeleteDaemonRequest) ProtoMessage()
func (*DeleteDaemonRequest) Reset ¶ added in v0.8.3
func (m *DeleteDaemonRequest) Reset()
func (*DeleteDaemonRequest) String ¶ added in v0.8.3
func (m *DeleteDaemonRequest) String() string
func (*DeleteDaemonRequest) XXX_DiscardUnknown ¶ added in v0.8.3
func (m *DeleteDaemonRequest) XXX_DiscardUnknown()
func (*DeleteDaemonRequest) XXX_Marshal ¶ added in v0.8.3
func (m *DeleteDaemonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDaemonRequest) XXX_Merge ¶ added in v0.8.3
func (m *DeleteDaemonRequest) XXX_Merge(src proto.Message)
func (*DeleteDaemonRequest) XXX_Size ¶ added in v0.8.3
func (m *DeleteDaemonRequest) XXX_Size() int
func (*DeleteDaemonRequest) XXX_Unmarshal ¶ added in v0.8.3
func (m *DeleteDaemonRequest) XXX_Unmarshal(b []byte) error
type DeleteDaemonResponse ¶ added in v0.8.3
type DeleteDaemonResponse 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 (*DeleteDaemonResponse) Descriptor ¶ added in v0.8.3
func (*DeleteDaemonResponse) Descriptor() ([]byte, []int)
func (*DeleteDaemonResponse) GetError ¶ added in v0.8.3
func (m *DeleteDaemonResponse) GetError() *ErrorResponse
func (*DeleteDaemonResponse) ProtoMessage ¶ added in v0.8.3
func (*DeleteDaemonResponse) ProtoMessage()
func (*DeleteDaemonResponse) Reset ¶ added in v0.8.3
func (m *DeleteDaemonResponse) Reset()
func (*DeleteDaemonResponse) String ¶ added in v0.8.3
func (m *DeleteDaemonResponse) String() string
func (*DeleteDaemonResponse) XXX_DiscardUnknown ¶ added in v0.8.3
func (m *DeleteDaemonResponse) XXX_DiscardUnknown()
func (*DeleteDaemonResponse) XXX_Marshal ¶ added in v0.8.3
func (m *DeleteDaemonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDaemonResponse) XXX_Merge ¶ added in v0.8.3
func (m *DeleteDaemonResponse) XXX_Merge(src proto.Message)
func (*DeleteDaemonResponse) XXX_Size ¶ added in v0.8.3
func (m *DeleteDaemonResponse) XXX_Size() int
func (*DeleteDaemonResponse) XXX_Unmarshal ¶ added in v0.8.3
func (m *DeleteDaemonResponse) 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 DeleteTaskRequest ¶ added in v0.8.3
type DeleteTaskRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteTaskRequest) Descriptor ¶ added in v0.8.3
func (*DeleteTaskRequest) Descriptor() ([]byte, []int)
func (*DeleteTaskRequest) GetAction ¶ added in v0.8.3
func (m *DeleteTaskRequest) GetAction() string
func (*DeleteTaskRequest) GetId ¶ added in v0.8.3
func (m *DeleteTaskRequest) GetId() string
func (*DeleteTaskRequest) ProtoMessage ¶ added in v0.8.3
func (*DeleteTaskRequest) ProtoMessage()
func (*DeleteTaskRequest) Reset ¶ added in v0.8.3
func (m *DeleteTaskRequest) Reset()
func (*DeleteTaskRequest) String ¶ added in v0.8.3
func (m *DeleteTaskRequest) String() string
func (*DeleteTaskRequest) XXX_DiscardUnknown ¶ added in v0.8.3
func (m *DeleteTaskRequest) XXX_DiscardUnknown()
func (*DeleteTaskRequest) XXX_Marshal ¶ added in v0.8.3
func (m *DeleteTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTaskRequest) XXX_Merge ¶ added in v0.8.3
func (m *DeleteTaskRequest) XXX_Merge(src proto.Message)
func (*DeleteTaskRequest) XXX_Size ¶ added in v0.8.3
func (m *DeleteTaskRequest) XXX_Size() int
func (*DeleteTaskRequest) XXX_Unmarshal ¶ added in v0.8.3
func (m *DeleteTaskRequest) XXX_Unmarshal(b []byte) error
type DeleteTaskResponse ¶ added in v0.8.3
type DeleteTaskResponse 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 (*DeleteTaskResponse) Descriptor ¶ added in v0.8.3
func (*DeleteTaskResponse) Descriptor() ([]byte, []int)
func (*DeleteTaskResponse) GetError ¶ added in v0.8.3
func (m *DeleteTaskResponse) GetError() *ErrorResponse
func (*DeleteTaskResponse) ProtoMessage ¶ added in v0.8.3
func (*DeleteTaskResponse) ProtoMessage()
func (*DeleteTaskResponse) Reset ¶ added in v0.8.3
func (m *DeleteTaskResponse) Reset()
func (*DeleteTaskResponse) String ¶ added in v0.8.3
func (m *DeleteTaskResponse) String() string
func (*DeleteTaskResponse) XXX_DiscardUnknown ¶ added in v0.8.3
func (m *DeleteTaskResponse) XXX_DiscardUnknown()
func (*DeleteTaskResponse) XXX_Marshal ¶ added in v0.8.3
func (m *DeleteTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteTaskResponse) XXX_Merge ¶ added in v0.8.3
func (m *DeleteTaskResponse) XXX_Merge(src proto.Message)
func (*DeleteTaskResponse) XXX_Size ¶ added in v0.8.3
func (m *DeleteTaskResponse) XXX_Size() int
func (*DeleteTaskResponse) XXX_Unmarshal ¶ added in v0.8.3
func (m *DeleteTaskResponse) XXX_Unmarshal(b []byte) error
type Device ¶ added in v0.8.0
type Device struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Wipe: // *Device_Filesystem // *Device_Full Wipe isDevice_Wipe `protobuf_oneof:"wipe"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Device) Descriptor ¶ added in v0.8.0
func (*Device) GetFilesystem ¶ added in v0.8.0
func (*Device) ProtoMessage ¶ added in v0.8.0
func (*Device) ProtoMessage()
func (*Device) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Device) XXX_DiscardUnknown()
func (*Device) XXX_Marshal ¶ added in v0.8.0
func (*Device) XXX_OneofWrappers ¶ added in v0.8.0
func (*Device) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Device) XXX_Unmarshal ¶ added in v0.8.0
type Device_Filesystem ¶ added in v0.8.0
type Device_Filesystem struct {
Filesystem bool `protobuf:"varint,2,opt,name=filesystem,proto3,oneof"`
}
type Device_Full ¶ added in v0.8.0
type Device_Full struct {
Full bool `protobuf:"varint,3,opt,name=full,proto3,oneof"`
}
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) ProtoMessage ¶ added in v0.6.0
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶ added in v0.6.0
func (*Empty) XXX_Unmarshal ¶ added in v0.6.0
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 ErrorPackage ¶ added in v0.8.0
type ErrorPackage struct { SledError string Error string Details map[string]string Statusid string }
ErrorPackage is a custom structure that will hold specific sled errors so they can be shared and checked through each of the sled services.
func FromGRPCError ¶ added in v0.8.0
func FromGRPCError(e error) (*ErrorPackage, error)
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"` Details map[string]string `` /* 155-byte string literal not displayed */ 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) GetDetails ¶ added in v0.8.0
func (m *ErrorResponse) GetDetails() map[string]string
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"` 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) 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) 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 (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"` Mac string `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,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) GetMac ¶ added in v0.7.0
func (m *KexecUpdateStatus) GetMac() 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 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) 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) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *LastWrite) XXX_DiscardUnknown()
func (*LastWrite) XXX_Marshal ¶ added in v0.6.0
func (*LastWrite) XXX_Unmarshal ¶ added in v0.6.0
type Logs ¶ added in v0.8.0
type Logs struct { Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Logs) Descriptor ¶ added in v0.8.0
func (*Logs) ProtoMessage ¶ added in v0.8.0
func (*Logs) ProtoMessage()
func (*Logs) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Logs) XXX_DiscardUnknown()
func (*Logs) XXX_Marshal ¶ added in v0.8.0
func (*Logs) XXX_Unmarshal ¶ added in v0.8.0
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 NackResponse ¶ added in v0.7.0
type NackResponse struct { Command *CommandSet `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NackResponse) Descriptor ¶ added in v0.7.0
func (*NackResponse) Descriptor() ([]byte, []int)
func (*NackResponse) GetCommand ¶ added in v0.7.0
func (m *NackResponse) GetCommand() *CommandSet
func (*NackResponse) GetError ¶ added in v0.7.0
func (m *NackResponse) GetError() string
func (*NackResponse) ProtoMessage ¶ added in v0.7.0
func (*NackResponse) ProtoMessage()
func (*NackResponse) Reset ¶ added in v0.7.0
func (m *NackResponse) Reset()
func (*NackResponse) String ¶ added in v0.7.0
func (m *NackResponse) String() string
func (*NackResponse) XXX_DiscardUnknown ¶ added in v0.7.0
func (m *NackResponse) XXX_DiscardUnknown()
func (*NackResponse) XXX_Marshal ¶ added in v0.7.0
func (m *NackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NackResponse) XXX_Merge ¶ added in v0.7.0
func (m *NackResponse) XXX_Merge(src proto.Message)
func (*NackResponse) XXX_Size ¶ added in v0.7.0
func (m *NackResponse) XXX_Size() int
func (*NackResponse) XXX_Unmarshal ¶ added in v0.7.0
func (m *NackResponse) XXX_Unmarshal(b []byte) error
type Progress ¶ added in v0.8.0
type Progress struct { Wipe int32 `protobuf:"varint,1,opt,name=wipe,proto3" json:"wipe,omitempty"` Write int32 `protobuf:"varint,2,opt,name=write,proto3" json:"write,omitempty"` Kexec int32 `protobuf:"varint,3,opt,name=kexec,proto3" json:"kexec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Progress) Descriptor ¶ added in v0.8.0
func (*Progress) ProtoMessage ¶ added in v0.8.0
func (*Progress) ProtoMessage()
func (*Progress) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Progress) XXX_DiscardUnknown()
func (*Progress) XXX_Marshal ¶ added in v0.8.0
func (*Progress) XXX_Unmarshal ¶ added in v0.8.0
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 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"` 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 (*RegisterUpdate) Descriptor ¶ added in v0.6.0
func (*RegisterUpdate) Descriptor() ([]byte, []int)
func (*RegisterUpdate) GetCommand ¶ added in v0.7.0
func (m *RegisterUpdate) GetCommand() *CommandSet
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"` ErrMsg string `protobuf:"bytes,7,opt,name=errMsg,proto3" json:"errMsg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶ added in v0.6.0
func (*Response) GetStatus ¶ added in v0.6.0
func (m *Response) GetStatus() Response_Status
func (*Response) GetTimestamp ¶ added in v0.6.0
func (*Response) ProtoMessage ¶ added in v0.6.0
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶ added in v0.6.0
func (*Response) XXX_Unmarshal ¶ added in v0.6.0
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 RunCommand ¶ added in v0.8.1
type RunCommand struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RunCommand) Descriptor ¶ added in v0.8.1
func (*RunCommand) Descriptor() ([]byte, []int)
func (*RunCommand) GetCommand ¶ added in v0.8.1
func (m *RunCommand) GetCommand() string
func (*RunCommand) ProtoMessage ¶ added in v0.8.1
func (*RunCommand) ProtoMessage()
func (*RunCommand) Reset ¶ added in v0.8.1
func (m *RunCommand) Reset()
func (*RunCommand) String ¶ added in v0.8.1
func (m *RunCommand) String() string
func (*RunCommand) XXX_DiscardUnknown ¶ added in v0.8.1
func (m *RunCommand) XXX_DiscardUnknown()
func (*RunCommand) XXX_Marshal ¶ added in v0.8.1
func (m *RunCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunCommand) XXX_Merge ¶ added in v0.8.1
func (m *RunCommand) XXX_Merge(src proto.Message)
func (*RunCommand) XXX_Size ¶ added in v0.8.1
func (m *RunCommand) XXX_Size() int
func (*RunCommand) XXX_Unmarshal ¶ added in v0.8.1
func (m *RunCommand) XXX_Unmarshal(b []byte) error
type RunShellRequest ¶ added in v0.8.1
type RunShellRequest struct { Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RunShellRequest) Descriptor ¶ added in v0.8.1
func (*RunShellRequest) Descriptor() ([]byte, []int)
func (*RunShellRequest) GetCommand ¶ added in v0.8.1
func (m *RunShellRequest) GetCommand() string
func (*RunShellRequest) GetMac ¶ added in v0.8.1
func (m *RunShellRequest) GetMac() string
func (*RunShellRequest) ProtoMessage ¶ added in v0.8.1
func (*RunShellRequest) ProtoMessage()
func (*RunShellRequest) Reset ¶ added in v0.8.1
func (m *RunShellRequest) Reset()
func (*RunShellRequest) String ¶ added in v0.8.1
func (m *RunShellRequest) String() string
func (*RunShellRequest) XXX_DiscardUnknown ¶ added in v0.8.1
func (m *RunShellRequest) XXX_DiscardUnknown()
func (*RunShellRequest) XXX_Marshal ¶ added in v0.8.1
func (m *RunShellRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RunShellRequest) XXX_Merge ¶ added in v0.8.1
func (m *RunShellRequest) XXX_Merge(src proto.Message)
func (*RunShellRequest) XXX_Size ¶ added in v0.8.1
func (m *RunShellRequest) XXX_Size() int
func (*RunShellRequest) XXX_Unmarshal ¶ added in v0.8.1
func (m *RunShellRequest) XXX_Unmarshal(b []byte) error
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 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) (*NackResponse, error) PutWriteStatus(ctx context.Context, in *PutWriteStatusRequest, opts ...grpc.CallOption) (*NackResponse, error) PutKexecStatus(ctx context.Context, in *PutKexecStatusRequest, opts ...grpc.CallOption) (*NackResponse, 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) ClearTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*DeleteTaskResponse, error) RegisterDaemon(ctx context.Context, in *RegisterUpdate, opts ...grpc.CallOption) (*Empty, error) GetDaemon(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*GetDaemonResponse, error) DeleteDaemon(ctx context.Context, in *DeleteDaemonRequest, opts ...grpc.CallOption) (*DeleteDaemonResponse, 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) GetProgress(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*Progress, error) UpgradeSledc(ctx context.Context, in *UpgradeSledClient, opts ...grpc.CallOption) (*UpgradeUpdateResponse, error) GetLogs(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*Logs, error) GetDmesg(ctx context.Context, in *GetDaemonRequest, opts ...grpc.CallOption) (*Logs, error) RunShell(ctx context.Context, in *RunShellRequest, opts ...grpc.CallOption) (*Logs, 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 SledapiServer ¶ added in v0.6.0
type SledapiServer interface { GetCommand(context.Context, *GetCommandRequest) (*GetCommandResponse, error) PutCommand(context.Context, *PutCommandRequest) (*PutCommandResponse, error) DeleteCommand(context.Context, *DeleteCommandRequest) (*DeleteCommandResponse, error) GetMacs(context.Context, *Empty) (*ManyMacResponse, error) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error) GetStatuses(context.Context, *GetStatusRequest) (*GetStatusResponses, error) PutWipeStatus(context.Context, *PutWipeStatusRequest) (*NackResponse, error) PutWriteStatus(context.Context, *PutWriteStatusRequest) (*NackResponse, error) PutKexecStatus(context.Context, *PutKexecStatusRequest) (*NackResponse, error) GetWipeStatus(context.Context, *GetStatusRequest) (*Response, error) GetWriteStatus(context.Context, *GetStatusRequest) (*Response, error) GetKexecStatus(context.Context, *GetStatusRequest) (*Response, error) ClearTask(context.Context, *DeleteTaskRequest) (*DeleteTaskResponse, error) RegisterDaemon(context.Context, *RegisterUpdate) (*Empty, error) GetDaemon(context.Context, *GetDaemonRequest) (*GetDaemonResponse, error) DeleteDaemon(context.Context, *DeleteDaemonRequest) (*DeleteDaemonResponse, error) HealthCheck(context.Context, *GetDaemonRequest) (*Empty, error) GetHistory(context.Context, *GetDaemonRequest) (*LastWrite, error) GetUptime(context.Context, *GetDaemonRequest) (*Uptime, error) GetDaemonStatus(context.Context, *GetDaemonRequest) (*DaemonStatus, error) GetProgress(context.Context, *GetDaemonRequest) (*Progress, error) UpgradeSledc(context.Context, *UpgradeSledClient) (*UpgradeUpdateResponse, error) GetLogs(context.Context, *GetDaemonRequest) (*Logs, error) GetDmesg(context.Context, *GetDaemonRequest) (*Logs, error) RunShell(context.Context, *RunShellRequest) (*Logs, error) }
SledapiServer is the server API for Sledapi service.
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) GetProgress(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Progress, error) Upgrade(ctx context.Context, in *UpgradeSet, opts ...grpc.CallOption) (*UpgradeUpdateResponse, error) GetLogs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Logs, error) GetDmesg(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Logs, error) RunShell(ctx context.Context, in *RunCommand, opts ...grpc.CallOption) (*Logs, 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) GetProgress(context.Context, *Empty) (*Progress, error) Upgrade(context.Context, *UpgradeSet) (*UpgradeUpdateResponse, error) GetLogs(context.Context, *Empty) (*Logs, error) GetDmesg(context.Context, *Empty) (*Logs, error) RunShell(context.Context, *RunCommand) (*Logs, 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) (*NackResponse, error) WriteUpdate(ctx context.Context, in *WriteUpdateStatus, opts ...grpc.CallOption) (*NackResponse, error) KexecUpdate(ctx context.Context, in *KexecUpdateStatus, opts ...grpc.CallOption) (*NackResponse, 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) GetProgress(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*Progress, error) UpgradeSledc(ctx context.Context, in *UpgradeUpdate, opts ...grpc.CallOption) (*UpgradeUpdateResponse, error) GetLogs(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*Logs, error) GetDmesg(ctx context.Context, in *DaemonProtoRequest, opts ...grpc.CallOption) (*Logs, error) RunShell(ctx context.Context, in *DaemonRunCommand, opts ...grpc.CallOption) (*Logs, 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
type SledctodProtocolServer 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) WipeUpdate(context.Context, *WipeUpdateStatus) (*NackResponse, error) WriteUpdate(context.Context, *WriteUpdateStatus) (*NackResponse, error) KexecUpdate(context.Context, *KexecUpdateStatus) (*NackResponse, error) Register(context.Context, *RegisterUpdate) (*Empty, error) Ready(context.Context, *RegisterUpdate) (*Empty, error) Ping(context.Context, *DaemonProtoRequest) (*Empty, error) GetHistory(context.Context, *DaemonProtoRequest) (*LastWrite, error) GetUptime(context.Context, *DaemonProtoRequest) (*Uptime, error) GetStatus(context.Context, *DaemonProtoRequest) (*DaemonStatus, error) GetProgress(context.Context, *DaemonProtoRequest) (*Progress, error) UpgradeSledc(context.Context, *UpgradeUpdate) (*UpgradeUpdateResponse, error) GetLogs(context.Context, *DaemonProtoRequest) (*Logs, error) GetDmesg(context.Context, *DaemonProtoRequest) (*Logs, error) RunShell(context.Context, *DaemonRunCommand) (*Logs, error) }
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) 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 UnimplementedSledapiServer ¶ added in v0.6.0
type UnimplementedSledapiServer struct { }
UnimplementedSledapiServer can be embedded to have forward compatible implementations.
func (*UnimplementedSledapiServer) ClearTask ¶ added in v0.8.3
func (*UnimplementedSledapiServer) ClearTask(ctx context.Context, req *DeleteTaskRequest) (*DeleteTaskResponse, error)
func (*UnimplementedSledapiServer) DeleteCommand ¶ added in v0.6.0
func (*UnimplementedSledapiServer) DeleteCommand(ctx context.Context, req *DeleteCommandRequest) (*DeleteCommandResponse, error)
func (*UnimplementedSledapiServer) DeleteDaemon ¶ added in v0.8.3
func (*UnimplementedSledapiServer) DeleteDaemon(ctx context.Context, req *DeleteDaemonRequest) (*DeleteDaemonResponse, error)
func (*UnimplementedSledapiServer) GetCommand ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetCommand(ctx context.Context, req *GetCommandRequest) (*GetCommandResponse, error)
func (*UnimplementedSledapiServer) GetDaemon ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetDaemon(ctx context.Context, req *GetDaemonRequest) (*GetDaemonResponse, error)
func (*UnimplementedSledapiServer) GetDaemonStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetDaemonStatus(ctx context.Context, req *GetDaemonRequest) (*DaemonStatus, error)
func (*UnimplementedSledapiServer) GetDmesg ¶ added in v0.8.1
func (*UnimplementedSledapiServer) GetDmesg(ctx context.Context, req *GetDaemonRequest) (*Logs, error)
func (*UnimplementedSledapiServer) GetHistory ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetHistory(ctx context.Context, req *GetDaemonRequest) (*LastWrite, error)
func (*UnimplementedSledapiServer) GetKexecStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetKexecStatus(ctx context.Context, req *GetStatusRequest) (*Response, error)
func (*UnimplementedSledapiServer) GetLogs ¶ added in v0.8.0
func (*UnimplementedSledapiServer) GetLogs(ctx context.Context, req *GetDaemonRequest) (*Logs, error)
func (*UnimplementedSledapiServer) GetMacs ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetMacs(ctx context.Context, req *Empty) (*ManyMacResponse, error)
func (*UnimplementedSledapiServer) GetProgress ¶ added in v0.8.0
func (*UnimplementedSledapiServer) GetProgress(ctx context.Context, req *GetDaemonRequest) (*Progress, error)
func (*UnimplementedSledapiServer) GetStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetStatus(ctx context.Context, req *GetStatusRequest) (*GetStatusResponse, error)
func (*UnimplementedSledapiServer) GetStatuses ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetStatuses(ctx context.Context, req *GetStatusRequest) (*GetStatusResponses, error)
func (*UnimplementedSledapiServer) GetUptime ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetUptime(ctx context.Context, req *GetDaemonRequest) (*Uptime, error)
func (*UnimplementedSledapiServer) GetWipeStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetWipeStatus(ctx context.Context, req *GetStatusRequest) (*Response, error)
func (*UnimplementedSledapiServer) GetWriteStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) GetWriteStatus(ctx context.Context, req *GetStatusRequest) (*Response, error)
func (*UnimplementedSledapiServer) HealthCheck ¶ added in v0.6.0
func (*UnimplementedSledapiServer) HealthCheck(ctx context.Context, req *GetDaemonRequest) (*Empty, error)
func (*UnimplementedSledapiServer) PutCommand ¶ added in v0.6.0
func (*UnimplementedSledapiServer) PutCommand(ctx context.Context, req *PutCommandRequest) (*PutCommandResponse, error)
func (*UnimplementedSledapiServer) PutKexecStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) PutKexecStatus(ctx context.Context, req *PutKexecStatusRequest) (*NackResponse, error)
func (*UnimplementedSledapiServer) PutWipeStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) PutWipeStatus(ctx context.Context, req *PutWipeStatusRequest) (*NackResponse, error)
func (*UnimplementedSledapiServer) PutWriteStatus ¶ added in v0.6.0
func (*UnimplementedSledapiServer) PutWriteStatus(ctx context.Context, req *PutWriteStatusRequest) (*NackResponse, error)
func (*UnimplementedSledapiServer) RegisterDaemon ¶ added in v0.6.0
func (*UnimplementedSledapiServer) RegisterDaemon(ctx context.Context, req *RegisterUpdate) (*Empty, error)
func (*UnimplementedSledapiServer) RunShell ¶ added in v0.8.1
func (*UnimplementedSledapiServer) RunShell(ctx context.Context, req *RunShellRequest) (*Logs, error)
func (*UnimplementedSledapiServer) UpgradeSledc ¶ added in v0.8.0
func (*UnimplementedSledapiServer) UpgradeSledc(ctx context.Context, req *UpgradeSledClient) (*UpgradeUpdateResponse, 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) GetProgress ¶ added in v0.8.0
func (*UnimplementedSledcProtocolServer) GetStatus ¶ added in v0.6.0
func (*UnimplementedSledcProtocolServer) GetStatus(ctx context.Context, req *Empty) (*DaemonStatus, error)
func (*UnimplementedSledcProtocolServer) Ready ¶ added in v0.6.0
func (*UnimplementedSledcProtocolServer) Ready(ctx context.Context, req *CommandSet) (*Empty, error)
func (*UnimplementedSledcProtocolServer) RunShell ¶ added in v0.8.1
func (*UnimplementedSledcProtocolServer) RunShell(ctx context.Context, req *RunCommand) (*Logs, error)
func (*UnimplementedSledcProtocolServer) Upgrade ¶ added in v0.8.0
func (*UnimplementedSledcProtocolServer) Upgrade(ctx context.Context, req *UpgradeSet) (*UpgradeUpdateResponse, error)
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) Command(ctx context.Context, req *CommandRequest) (*CommandResponse, error)
func (*UnimplementedSledctodProtocolServer) GetDmesg ¶ added in v0.8.1
func (*UnimplementedSledctodProtocolServer) GetDmesg(ctx context.Context, req *DaemonProtoRequest) (*Logs, error)
func (*UnimplementedSledctodProtocolServer) GetHistory ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) GetHistory(ctx context.Context, req *DaemonProtoRequest) (*LastWrite, error)
func (*UnimplementedSledctodProtocolServer) GetLogs ¶ added in v0.8.0
func (*UnimplementedSledctodProtocolServer) GetLogs(ctx context.Context, req *DaemonProtoRequest) (*Logs, error)
func (*UnimplementedSledctodProtocolServer) GetProgress ¶ added in v0.8.0
func (*UnimplementedSledctodProtocolServer) GetProgress(ctx context.Context, req *DaemonProtoRequest) (*Progress, error)
func (*UnimplementedSledctodProtocolServer) GetStatus ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) GetStatus(ctx context.Context, req *DaemonProtoRequest) (*DaemonStatus, error)
func (*UnimplementedSledctodProtocolServer) GetUptime ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) GetUptime(ctx context.Context, req *DaemonProtoRequest) (*Uptime, error)
func (*UnimplementedSledctodProtocolServer) Kexec ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) Kexec(ctx context.Context, req *KexecRequest) (*KexecResponse, error)
func (*UnimplementedSledctodProtocolServer) KexecUpdate ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) KexecUpdate(ctx context.Context, req *KexecUpdateStatus) (*NackResponse, error)
func (*UnimplementedSledctodProtocolServer) Ping ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) Ping(ctx context.Context, req *DaemonProtoRequest) (*Empty, error)
func (*UnimplementedSledctodProtocolServer) Ready ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) Ready(ctx context.Context, req *RegisterUpdate) (*Empty, error)
func (*UnimplementedSledctodProtocolServer) Register ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) Register(ctx context.Context, req *RegisterUpdate) (*Empty, error)
func (*UnimplementedSledctodProtocolServer) RunShell ¶ added in v0.8.1
func (*UnimplementedSledctodProtocolServer) RunShell(ctx context.Context, req *DaemonRunCommand) (*Logs, error)
func (*UnimplementedSledctodProtocolServer) UpgradeSledc ¶ added in v0.8.0
func (*UnimplementedSledctodProtocolServer) UpgradeSledc(ctx context.Context, req *UpgradeUpdate) (*UpgradeUpdateResponse, error)
func (*UnimplementedSledctodProtocolServer) Wipe ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) Wipe(ctx context.Context, req *WipeRequest) (*WipeResponse, error)
func (*UnimplementedSledctodProtocolServer) WipeUpdate ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) WipeUpdate(ctx context.Context, req *WipeUpdateStatus) (*NackResponse, error)
func (*UnimplementedSledctodProtocolServer) Write ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) Write(ctx context.Context, req *WriteRequest) (*WriteResponse, error)
func (*UnimplementedSledctodProtocolServer) WriteUpdate ¶ added in v0.6.0
func (*UnimplementedSledctodProtocolServer) WriteUpdate(ctx context.Context, req *WriteUpdateStatus) (*NackResponse, error)
type UpgradeSet ¶ added in v0.8.0
type UpgradeSet struct { Target *KexecResponse `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpgradeSet) Descriptor ¶ added in v0.8.0
func (*UpgradeSet) Descriptor() ([]byte, []int)
func (*UpgradeSet) GetTarget ¶ added in v0.8.0
func (m *UpgradeSet) GetTarget() *KexecResponse
func (*UpgradeSet) ProtoMessage ¶ added in v0.8.0
func (*UpgradeSet) ProtoMessage()
func (*UpgradeSet) Reset ¶ added in v0.8.0
func (m *UpgradeSet) Reset()
func (*UpgradeSet) String ¶ added in v0.8.0
func (m *UpgradeSet) String() string
func (*UpgradeSet) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *UpgradeSet) XXX_DiscardUnknown()
func (*UpgradeSet) XXX_Marshal ¶ added in v0.8.0
func (m *UpgradeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeSet) XXX_Merge ¶ added in v0.8.0
func (m *UpgradeSet) XXX_Merge(src proto.Message)
func (*UpgradeSet) XXX_Size ¶ added in v0.8.0
func (m *UpgradeSet) XXX_Size() int
func (*UpgradeSet) XXX_Unmarshal ¶ added in v0.8.0
func (m *UpgradeSet) XXX_Unmarshal(b []byte) error
type UpgradeSledClient ¶ added in v0.8.0
type UpgradeSledClient struct { Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` Upgrade *UpgradeSet `protobuf:"bytes,2,opt,name=upgrade,proto3" json:"upgrade,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpgradeSledClient) Descriptor ¶ added in v0.8.0
func (*UpgradeSledClient) Descriptor() ([]byte, []int)
func (*UpgradeSledClient) GetMac ¶ added in v0.8.0
func (m *UpgradeSledClient) GetMac() string
func (*UpgradeSledClient) GetUpgrade ¶ added in v0.8.0
func (m *UpgradeSledClient) GetUpgrade() *UpgradeSet
func (*UpgradeSledClient) ProtoMessage ¶ added in v0.8.0
func (*UpgradeSledClient) ProtoMessage()
func (*UpgradeSledClient) Reset ¶ added in v0.8.0
func (m *UpgradeSledClient) Reset()
func (*UpgradeSledClient) String ¶ added in v0.8.0
func (m *UpgradeSledClient) String() string
func (*UpgradeSledClient) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *UpgradeSledClient) XXX_DiscardUnknown()
func (*UpgradeSledClient) XXX_Marshal ¶ added in v0.8.0
func (m *UpgradeSledClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeSledClient) XXX_Merge ¶ added in v0.8.0
func (m *UpgradeSledClient) XXX_Merge(src proto.Message)
func (*UpgradeSledClient) XXX_Size ¶ added in v0.8.0
func (m *UpgradeSledClient) XXX_Size() int
func (*UpgradeSledClient) XXX_Unmarshal ¶ added in v0.8.0
func (m *UpgradeSledClient) XXX_Unmarshal(b []byte) error
type UpgradeUpdate ¶ added in v0.8.0
type UpgradeUpdate struct { Daemon *DaemonProto `protobuf:"bytes,1,opt,name=daemon,proto3" json:"daemon,omitempty"` Upgrade *UpgradeSet `protobuf:"bytes,2,opt,name=upgrade,proto3" json:"upgrade,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpgradeUpdate) Descriptor ¶ added in v0.8.0
func (*UpgradeUpdate) Descriptor() ([]byte, []int)
func (*UpgradeUpdate) GetDaemon ¶ added in v0.8.0
func (m *UpgradeUpdate) GetDaemon() *DaemonProto
func (*UpgradeUpdate) GetUpgrade ¶ added in v0.8.0
func (m *UpgradeUpdate) GetUpgrade() *UpgradeSet
func (*UpgradeUpdate) ProtoMessage ¶ added in v0.8.0
func (*UpgradeUpdate) ProtoMessage()
func (*UpgradeUpdate) Reset ¶ added in v0.8.0
func (m *UpgradeUpdate) Reset()
func (*UpgradeUpdate) String ¶ added in v0.8.0
func (m *UpgradeUpdate) String() string
func (*UpgradeUpdate) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *UpgradeUpdate) XXX_DiscardUnknown()
func (*UpgradeUpdate) XXX_Marshal ¶ added in v0.8.0
func (m *UpgradeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeUpdate) XXX_Merge ¶ added in v0.8.0
func (m *UpgradeUpdate) XXX_Merge(src proto.Message)
func (*UpgradeUpdate) XXX_Size ¶ added in v0.8.0
func (m *UpgradeUpdate) XXX_Size() int
func (*UpgradeUpdate) XXX_Unmarshal ¶ added in v0.8.0
func (m *UpgradeUpdate) XXX_Unmarshal(b []byte) error
type UpgradeUpdateResponse ¶ added in v0.8.0
type UpgradeUpdateResponse struct { Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,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 (*UpgradeUpdateResponse) Descriptor ¶ added in v0.8.0
func (*UpgradeUpdateResponse) Descriptor() ([]byte, []int)
func (*UpgradeUpdateResponse) GetMac ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) GetMac() string
func (*UpgradeUpdateResponse) GetUpdate ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) GetUpdate() *Response
func (*UpgradeUpdateResponse) ProtoMessage ¶ added in v0.8.0
func (*UpgradeUpdateResponse) ProtoMessage()
func (*UpgradeUpdateResponse) Reset ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) Reset()
func (*UpgradeUpdateResponse) String ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) String() string
func (*UpgradeUpdateResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) XXX_DiscardUnknown()
func (*UpgradeUpdateResponse) XXX_Marshal ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeUpdateResponse) XXX_Merge ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) XXX_Merge(src proto.Message)
func (*UpgradeUpdateResponse) XXX_Size ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) XXX_Size() int
func (*UpgradeUpdateResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *UpgradeUpdateResponse) XXX_Unmarshal(b []byte) error
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) ProtoMessage ¶ added in v0.6.0
func (*Uptime) ProtoMessage()
func (*Uptime) XXX_DiscardUnknown ¶ added in v0.6.0
func (m *Uptime) XXX_DiscardUnknown()
func (*Uptime) XXX_Marshal ¶ added in v0.6.0
func (*Uptime) XXX_Unmarshal ¶ added in v0.6.0
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 { Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WipeResponse) Descriptor ¶
func (*WipeResponse) Descriptor() ([]byte, []int)
func (*WipeResponse) GetDevices ¶ added in v0.8.0
func (m *WipeResponse) GetDevices() []*Device
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"` Mac string `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,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) GetMac ¶ added in v0.7.0
func (m *WipeUpdateStatus) GetMac() 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