Documentation ¶
Index ¶
- func RegisterSupervisorServer(s *grpc.Server, srv SupervisorServer)
- type BackupReq
- func (*BackupReq) Descriptor() ([]byte, []int)
- func (m *BackupReq) GetNote() string
- func (m *BackupReq) GetPlugins() []*Plugin
- func (m *BackupReq) GetSmartassistant() *Smartassistant
- func (*BackupReq) ProtoMessage()
- func (m *BackupReq) Reset()
- func (m *BackupReq) String() string
- func (m *BackupReq) XXX_DiscardUnknown()
- func (m *BackupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BackupReq) XXX_Merge(src proto.Message)
- func (m *BackupReq) XXX_Size() int
- func (m *BackupReq) XXX_Unmarshal(b []byte) error
- type Extension
- func (*Extension) Descriptor() ([]byte, []int)
- func (m *Extension) GetName() string
- func (*Extension) ProtoMessage()
- func (m *Extension) Reset()
- func (m *Extension) String() string
- func (m *Extension) XXX_DiscardUnknown()
- func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Extension) XXX_Merge(src proto.Message)
- func (m *Extension) XXX_Size() int
- func (m *Extension) XXX_Unmarshal(b []byte) error
- type GetExtensionsResp
- func (*GetExtensionsResp) Descriptor() ([]byte, []int)
- func (m *GetExtensionsResp) GetExtensions() []*Extension
- func (*GetExtensionsResp) ProtoMessage()
- func (m *GetExtensionsResp) Reset()
- func (m *GetExtensionsResp) String() string
- func (m *GetExtensionsResp) XXX_DiscardUnknown()
- func (m *GetExtensionsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetExtensionsResp) XXX_Merge(src proto.Message)
- func (m *GetExtensionsResp) XXX_Size() int
- func (m *GetExtensionsResp) XXX_Unmarshal(b []byte) error
- type GetSystemInfoResp
- func (*GetSystemInfoResp) Descriptor() ([]byte, []int)
- func (m *GetSystemInfoResp) GetVersion() string
- func (*GetSystemInfoResp) ProtoMessage()
- func (m *GetSystemInfoResp) Reset()
- func (m *GetSystemInfoResp) String() string
- func (m *GetSystemInfoResp) XXX_DiscardUnknown()
- func (m *GetSystemInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetSystemInfoResp) XXX_Merge(src proto.Message)
- func (m *GetSystemInfoResp) XXX_Size() int
- func (m *GetSystemInfoResp) XXX_Unmarshal(b []byte) error
- type Plugin
- func (*Plugin) Descriptor() ([]byte, []int)
- func (m *Plugin) GetBrand() string
- func (m *Plugin) GetID() string
- func (m *Plugin) GetImage() string
- func (m *Plugin) GetVersion() string
- func (*Plugin) ProtoMessage()
- func (m *Plugin) Reset()
- func (m *Plugin) String() string
- func (m *Plugin) XXX_DiscardUnknown()
- func (m *Plugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Plugin) XXX_Merge(src proto.Message)
- func (m *Plugin) XXX_Size() int
- func (m *Plugin) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetReason() string
- func (m *Response) GetStatus() int32
- 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 (dst *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type RestartReq
- func (*RestartReq) Descriptor() ([]byte, []int)
- func (m *RestartReq) GetImage() string
- func (m *RestartReq) GetNewImage() string
- func (*RestartReq) ProtoMessage()
- func (m *RestartReq) Reset()
- func (m *RestartReq) String() string
- func (m *RestartReq) XXX_DiscardUnknown()
- func (m *RestartReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RestartReq) XXX_Merge(src proto.Message)
- func (m *RestartReq) XXX_Size() int
- func (m *RestartReq) XXX_Unmarshal(b []byte) error
- type RestoreReq
- func (*RestoreReq) Descriptor() ([]byte, []int)
- func (m *RestoreReq) GetFile() string
- func (m *RestoreReq) GetPlugins() []*Plugin
- func (m *RestoreReq) GetSmartassistant() *Smartassistant
- func (*RestoreReq) ProtoMessage()
- func (m *RestoreReq) Reset()
- func (m *RestoreReq) String() string
- func (m *RestoreReq) XXX_DiscardUnknown()
- func (m *RestoreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RestoreReq) XXX_Merge(src proto.Message)
- func (m *RestoreReq) XXX_Size() int
- func (m *RestoreReq) XXX_Unmarshal(b []byte) error
- type Smartassistant
- func (*Smartassistant) Descriptor() ([]byte, []int)
- func (m *Smartassistant) GetName() string
- func (m *Smartassistant) GetRegistry() string
- func (m *Smartassistant) GetVersion() string
- func (*Smartassistant) ProtoMessage()
- func (m *Smartassistant) Reset()
- func (m *Smartassistant) String() string
- func (m *Smartassistant) XXX_DiscardUnknown()
- func (m *Smartassistant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Smartassistant) XXX_Merge(src proto.Message)
- func (m *Smartassistant) XXX_Size() int
- func (m *Smartassistant) XXX_Unmarshal(b []byte) error
- type SupervisorClient
- type SupervisorServer
- type UnimplementedSupervisorServer
- func (UnimplementedSupervisorServer) Backup(context.Context, *BackupReq) (*Response, error)
- func (UnimplementedSupervisorServer) GetExtensions(context.Context, *emptypb.Empty) (*GetExtensionsResp, error)
- func (UnimplementedSupervisorServer) GetSystemInfo(context.Context, *emptypb.Empty) (*GetSystemInfoResp, error)
- func (UnimplementedSupervisorServer) Restart(context.Context, *RestartReq) (*Response, error)
- func (UnimplementedSupervisorServer) Restore(context.Context, *RestoreReq) (*Response, error)
- func (UnimplementedSupervisorServer) Update(context.Context, *UpdateReq) (*Response, error)
- func (UnimplementedSupervisorServer) UpdateSystem(context.Context, *UpdateSystemReq) (*Response, error)
- type UnsafeSupervisorServer
- type UpdateItem
- func (*UpdateItem) Descriptor() ([]byte, []int)
- func (m *UpdateItem) GetNewImage() string
- func (m *UpdateItem) GetServiceName() string
- func (m *UpdateItem) GetVersion() string
- func (*UpdateItem) ProtoMessage()
- func (m *UpdateItem) Reset()
- func (m *UpdateItem) String() string
- func (m *UpdateItem) XXX_DiscardUnknown()
- func (m *UpdateItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateItem) XXX_Merge(src proto.Message)
- func (m *UpdateItem) XXX_Size() int
- func (m *UpdateItem) XXX_Unmarshal(b []byte) error
- type UpdateReq
- func (*UpdateReq) Descriptor() ([]byte, []int)
- func (m *UpdateReq) GetSoftwareVersion() string
- func (m *UpdateReq) GetUpdateItems() []*UpdateItem
- func (*UpdateReq) ProtoMessage()
- func (m *UpdateReq) Reset()
- func (m *UpdateReq) String() string
- func (m *UpdateReq) XXX_DiscardUnknown()
- func (m *UpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateReq) XXX_Merge(src proto.Message)
- func (m *UpdateReq) XXX_Size() int
- func (m *UpdateReq) XXX_Unmarshal(b []byte) error
- type UpdateSystemReq
- func (*UpdateSystemReq) Descriptor() ([]byte, []int)
- func (m *UpdateSystemReq) GetImage() string
- func (*UpdateSystemReq) ProtoMessage()
- func (m *UpdateSystemReq) Reset()
- func (m *UpdateSystemReq) String() string
- func (m *UpdateSystemReq) XXX_DiscardUnknown()
- func (m *UpdateSystemReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateSystemReq) XXX_Merge(src proto.Message)
- func (m *UpdateSystemReq) XXX_Size() int
- func (m *UpdateSystemReq) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSupervisorServer ¶
func RegisterSupervisorServer(s *grpc.Server, srv SupervisorServer)
Types ¶
type BackupReq ¶ added in v1.9.1
type BackupReq struct { Note string `protobuf:"bytes,1,opt,name=Note,proto3" json:"Note,omitempty"` Smartassistant *Smartassistant `protobuf:"bytes,2,opt,name=Smartassistant,proto3" json:"Smartassistant,omitempty"` Plugins []*Plugin `protobuf:"bytes,3,rep,name=Plugins,proto3" json:"Plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BackupReq) Descriptor ¶ added in v1.9.1
func (*BackupReq) GetPlugins ¶ added in v1.9.1
func (*BackupReq) GetSmartassistant ¶ added in v1.9.1
func (m *BackupReq) GetSmartassistant() *Smartassistant
func (*BackupReq) ProtoMessage ¶ added in v1.9.1
func (*BackupReq) ProtoMessage()
func (*BackupReq) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *BackupReq) XXX_DiscardUnknown()
func (*BackupReq) XXX_Marshal ¶ added in v1.9.1
func (*BackupReq) XXX_Unmarshal ¶ added in v1.9.1
type Extension ¶ added in v1.9.1
type Extension 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 (*Extension) Descriptor ¶ added in v1.9.1
func (*Extension) ProtoMessage ¶ added in v1.9.1
func (*Extension) ProtoMessage()
func (*Extension) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *Extension) XXX_DiscardUnknown()
func (*Extension) XXX_Marshal ¶ added in v1.9.1
func (*Extension) XXX_Unmarshal ¶ added in v1.9.1
type GetExtensionsResp ¶ added in v1.9.1
type GetExtensionsResp struct { Extensions []*Extension `protobuf:"bytes,1,rep,name=Extensions,proto3" json:"Extensions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetExtensionsResp) Descriptor ¶ added in v1.9.1
func (*GetExtensionsResp) Descriptor() ([]byte, []int)
func (*GetExtensionsResp) GetExtensions ¶ added in v1.9.1
func (m *GetExtensionsResp) GetExtensions() []*Extension
func (*GetExtensionsResp) ProtoMessage ¶ added in v1.9.1
func (*GetExtensionsResp) ProtoMessage()
func (*GetExtensionsResp) Reset ¶ added in v1.9.1
func (m *GetExtensionsResp) Reset()
func (*GetExtensionsResp) String ¶ added in v1.9.1
func (m *GetExtensionsResp) String() string
func (*GetExtensionsResp) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *GetExtensionsResp) XXX_DiscardUnknown()
func (*GetExtensionsResp) XXX_Marshal ¶ added in v1.9.1
func (m *GetExtensionsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetExtensionsResp) XXX_Merge ¶ added in v1.9.1
func (dst *GetExtensionsResp) XXX_Merge(src proto.Message)
func (*GetExtensionsResp) XXX_Size ¶ added in v1.9.1
func (m *GetExtensionsResp) XXX_Size() int
func (*GetExtensionsResp) XXX_Unmarshal ¶ added in v1.9.1
func (m *GetExtensionsResp) XXX_Unmarshal(b []byte) error
type GetSystemInfoResp ¶ added in v1.9.1
type GetSystemInfoResp struct { Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSystemInfoResp) Descriptor ¶ added in v1.9.1
func (*GetSystemInfoResp) Descriptor() ([]byte, []int)
func (*GetSystemInfoResp) GetVersion ¶ added in v1.9.1
func (m *GetSystemInfoResp) GetVersion() string
func (*GetSystemInfoResp) ProtoMessage ¶ added in v1.9.1
func (*GetSystemInfoResp) ProtoMessage()
func (*GetSystemInfoResp) Reset ¶ added in v1.9.1
func (m *GetSystemInfoResp) Reset()
func (*GetSystemInfoResp) String ¶ added in v1.9.1
func (m *GetSystemInfoResp) String() string
func (*GetSystemInfoResp) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *GetSystemInfoResp) XXX_DiscardUnknown()
func (*GetSystemInfoResp) XXX_Marshal ¶ added in v1.9.1
func (m *GetSystemInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSystemInfoResp) XXX_Merge ¶ added in v1.9.1
func (dst *GetSystemInfoResp) XXX_Merge(src proto.Message)
func (*GetSystemInfoResp) XXX_Size ¶ added in v1.9.1
func (m *GetSystemInfoResp) XXX_Size() int
func (*GetSystemInfoResp) XXX_Unmarshal ¶ added in v1.9.1
func (m *GetSystemInfoResp) XXX_Unmarshal(b []byte) error
type Plugin ¶ added in v1.9.1
type Plugin struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Brand string `protobuf:"bytes,2,opt,name=Brand,proto3" json:"Brand,omitempty"` Image string `protobuf:"bytes,3,opt,name=Image,proto3" json:"Image,omitempty"` Version string `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Plugin) Descriptor ¶ added in v1.9.1
func (*Plugin) GetVersion ¶ added in v1.9.1
func (*Plugin) ProtoMessage ¶ added in v1.9.1
func (*Plugin) ProtoMessage()
func (*Plugin) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *Plugin) XXX_DiscardUnknown()
func (*Plugin) XXX_Marshal ¶ added in v1.9.1
func (*Plugin) XXX_Unmarshal ¶ added in v1.9.1
type Response ¶
type Response struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶ added in v1.9.1
func (*Response) XXX_Unmarshal ¶ added in v1.9.1
type RestartReq ¶
type RestartReq struct { Image string `protobuf:"bytes,1,opt,name=Image,proto3" json:"Image,omitempty"` NewImage string `protobuf:"bytes,2,opt,name=NewImage,proto3" json:"NewImage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestartReq) Descriptor ¶
func (*RestartReq) Descriptor() ([]byte, []int)
func (*RestartReq) GetImage ¶
func (m *RestartReq) GetImage() string
func (*RestartReq) GetNewImage ¶
func (m *RestartReq) GetNewImage() string
func (*RestartReq) ProtoMessage ¶
func (*RestartReq) ProtoMessage()
func (*RestartReq) Reset ¶
func (m *RestartReq) Reset()
func (*RestartReq) String ¶
func (m *RestartReq) String() string
func (*RestartReq) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *RestartReq) XXX_DiscardUnknown()
func (*RestartReq) XXX_Marshal ¶ added in v1.9.1
func (m *RestartReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestartReq) XXX_Merge ¶ added in v1.9.1
func (dst *RestartReq) XXX_Merge(src proto.Message)
func (*RestartReq) XXX_Size ¶ added in v1.9.1
func (m *RestartReq) XXX_Size() int
func (*RestartReq) XXX_Unmarshal ¶ added in v1.9.1
func (m *RestartReq) XXX_Unmarshal(b []byte) error
type RestoreReq ¶ added in v1.9.1
type RestoreReq struct { File string `protobuf:"bytes,1,opt,name=File,proto3" json:"File,omitempty"` Smartassistant *Smartassistant `protobuf:"bytes,2,opt,name=Smartassistant,proto3" json:"Smartassistant,omitempty"` Plugins []*Plugin `protobuf:"bytes,3,rep,name=Plugins,proto3" json:"Plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreReq) Descriptor ¶ added in v1.9.1
func (*RestoreReq) Descriptor() ([]byte, []int)
func (*RestoreReq) GetFile ¶ added in v1.9.1
func (m *RestoreReq) GetFile() string
func (*RestoreReq) GetPlugins ¶ added in v1.9.1
func (m *RestoreReq) GetPlugins() []*Plugin
func (*RestoreReq) GetSmartassistant ¶ added in v1.9.1
func (m *RestoreReq) GetSmartassistant() *Smartassistant
func (*RestoreReq) ProtoMessage ¶ added in v1.9.1
func (*RestoreReq) ProtoMessage()
func (*RestoreReq) Reset ¶ added in v1.9.1
func (m *RestoreReq) Reset()
func (*RestoreReq) String ¶ added in v1.9.1
func (m *RestoreReq) String() string
func (*RestoreReq) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *RestoreReq) XXX_DiscardUnknown()
func (*RestoreReq) XXX_Marshal ¶ added in v1.9.1
func (m *RestoreReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreReq) XXX_Merge ¶ added in v1.9.1
func (dst *RestoreReq) XXX_Merge(src proto.Message)
func (*RestoreReq) XXX_Size ¶ added in v1.9.1
func (m *RestoreReq) XXX_Size() int
func (*RestoreReq) XXX_Unmarshal ¶ added in v1.9.1
func (m *RestoreReq) XXX_Unmarshal(b []byte) error
type Smartassistant ¶ added in v1.9.1
type Smartassistant struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` Registry string `protobuf:"bytes,3,opt,name=Registry,proto3" json:"Registry,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Smartassistant) Descriptor ¶ added in v1.9.1
func (*Smartassistant) Descriptor() ([]byte, []int)
func (*Smartassistant) GetName ¶ added in v1.9.1
func (m *Smartassistant) GetName() string
func (*Smartassistant) GetRegistry ¶ added in v1.9.1
func (m *Smartassistant) GetRegistry() string
func (*Smartassistant) GetVersion ¶ added in v1.9.1
func (m *Smartassistant) GetVersion() string
func (*Smartassistant) ProtoMessage ¶ added in v1.9.1
func (*Smartassistant) ProtoMessage()
func (*Smartassistant) Reset ¶ added in v1.9.1
func (m *Smartassistant) Reset()
func (*Smartassistant) String ¶ added in v1.9.1
func (m *Smartassistant) String() string
func (*Smartassistant) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *Smartassistant) XXX_DiscardUnknown()
func (*Smartassistant) XXX_Marshal ¶ added in v1.9.1
func (m *Smartassistant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Smartassistant) XXX_Merge ¶ added in v1.9.1
func (dst *Smartassistant) XXX_Merge(src proto.Message)
func (*Smartassistant) XXX_Size ¶ added in v1.9.1
func (m *Smartassistant) XXX_Size() int
func (*Smartassistant) XXX_Unmarshal ¶ added in v1.9.1
func (m *Smartassistant) XXX_Unmarshal(b []byte) error
type SupervisorClient ¶
type SupervisorClient interface { Restart(ctx context.Context, in *RestartReq, opts ...grpc.CallOption) (*Response, error) Backup(ctx context.Context, in *BackupReq, opts ...grpc.CallOption) (*Response, error) Restore(ctx context.Context, in *RestoreReq, opts ...grpc.CallOption) (*Response, error) Update(ctx context.Context, in *UpdateReq, opts ...grpc.CallOption) (*Response, error) UpdateSystem(ctx context.Context, in *UpdateSystemReq, opts ...grpc.CallOption) (*Response, error) GetSystemInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSystemInfoResp, error) GetExtensions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetExtensionsResp, error) }
SupervisorClient is the client API for Supervisor service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSupervisorClient ¶
func NewSupervisorClient(cc grpc.ClientConnInterface) SupervisorClient
type SupervisorServer ¶
type SupervisorServer interface { Restart(context.Context, *RestartReq) (*Response, error) Backup(context.Context, *BackupReq) (*Response, error) Restore(context.Context, *RestoreReq) (*Response, error) Update(context.Context, *UpdateReq) (*Response, error) UpdateSystem(context.Context, *UpdateSystemReq) (*Response, error) GetSystemInfo(context.Context, *emptypb.Empty) (*GetSystemInfoResp, error) GetExtensions(context.Context, *emptypb.Empty) (*GetExtensionsResp, error) // contains filtered or unexported methods }
SupervisorServer is the server API for Supervisor service. All implementations must embed UnimplementedSupervisorServer for forward compatibility
type UnimplementedSupervisorServer ¶
type UnimplementedSupervisorServer struct { }
UnimplementedSupervisorServer must be embedded to have forward compatible implementations.
func (UnimplementedSupervisorServer) GetExtensions ¶ added in v1.9.1
func (UnimplementedSupervisorServer) GetExtensions(context.Context, *emptypb.Empty) (*GetExtensionsResp, error)
func (UnimplementedSupervisorServer) GetSystemInfo ¶ added in v1.9.1
func (UnimplementedSupervisorServer) GetSystemInfo(context.Context, *emptypb.Empty) (*GetSystemInfoResp, error)
func (UnimplementedSupervisorServer) Restart ¶
func (UnimplementedSupervisorServer) Restart(context.Context, *RestartReq) (*Response, error)
func (UnimplementedSupervisorServer) Restore ¶ added in v1.9.1
func (UnimplementedSupervisorServer) Restore(context.Context, *RestoreReq) (*Response, error)
func (UnimplementedSupervisorServer) UpdateSystem ¶ added in v1.9.1
func (UnimplementedSupervisorServer) UpdateSystem(context.Context, *UpdateSystemReq) (*Response, error)
type UnsafeSupervisorServer ¶
type UnsafeSupervisorServer interface {
// contains filtered or unexported methods
}
UnsafeSupervisorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SupervisorServer will result in compilation errors.
type UpdateItem ¶ added in v1.9.1
type UpdateItem struct { ServiceName string `protobuf:"bytes,1,opt,name=ServiceName,proto3" json:"ServiceName,omitempty"` NewImage string `protobuf:"bytes,2,opt,name=NewImage,proto3" json:"NewImage,omitempty"` Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"Version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateItem) Descriptor ¶ added in v1.9.1
func (*UpdateItem) Descriptor() ([]byte, []int)
func (*UpdateItem) GetNewImage ¶ added in v1.9.1
func (m *UpdateItem) GetNewImage() string
func (*UpdateItem) GetServiceName ¶ added in v1.9.1
func (m *UpdateItem) GetServiceName() string
func (*UpdateItem) GetVersion ¶ added in v1.9.1
func (m *UpdateItem) GetVersion() string
func (*UpdateItem) ProtoMessage ¶ added in v1.9.1
func (*UpdateItem) ProtoMessage()
func (*UpdateItem) Reset ¶ added in v1.9.1
func (m *UpdateItem) Reset()
func (*UpdateItem) String ¶ added in v1.9.1
func (m *UpdateItem) String() string
func (*UpdateItem) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *UpdateItem) XXX_DiscardUnknown()
func (*UpdateItem) XXX_Marshal ¶ added in v1.9.1
func (m *UpdateItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateItem) XXX_Merge ¶ added in v1.9.1
func (dst *UpdateItem) XXX_Merge(src proto.Message)
func (*UpdateItem) XXX_Size ¶ added in v1.9.1
func (m *UpdateItem) XXX_Size() int
func (*UpdateItem) XXX_Unmarshal ¶ added in v1.9.1
func (m *UpdateItem) XXX_Unmarshal(b []byte) error
type UpdateReq ¶ added in v1.9.1
type UpdateReq struct { UpdateItems []*UpdateItem `protobuf:"bytes,1,rep,name=UpdateItems,proto3" json:"UpdateItems,omitempty"` SoftwareVersion string `protobuf:"bytes,2,opt,name=SoftwareVersion,proto3" json:"SoftwareVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateReq) Descriptor ¶ added in v1.9.1
func (*UpdateReq) GetSoftwareVersion ¶ added in v1.9.1
func (*UpdateReq) GetUpdateItems ¶ added in v1.9.1
func (m *UpdateReq) GetUpdateItems() []*UpdateItem
func (*UpdateReq) ProtoMessage ¶ added in v1.9.1
func (*UpdateReq) ProtoMessage()
func (*UpdateReq) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *UpdateReq) XXX_DiscardUnknown()
func (*UpdateReq) XXX_Marshal ¶ added in v1.9.1
func (*UpdateReq) XXX_Unmarshal ¶ added in v1.9.1
type UpdateSystemReq ¶ added in v1.9.1
type UpdateSystemReq struct { Image string `protobuf:"bytes,1,opt,name=Image,proto3" json:"Image,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateSystemReq) Descriptor ¶ added in v1.9.1
func (*UpdateSystemReq) Descriptor() ([]byte, []int)
func (*UpdateSystemReq) GetImage ¶ added in v1.9.1
func (m *UpdateSystemReq) GetImage() string
func (*UpdateSystemReq) ProtoMessage ¶ added in v1.9.1
func (*UpdateSystemReq) ProtoMessage()
func (*UpdateSystemReq) Reset ¶ added in v1.9.1
func (m *UpdateSystemReq) Reset()
func (*UpdateSystemReq) String ¶ added in v1.9.1
func (m *UpdateSystemReq) String() string
func (*UpdateSystemReq) XXX_DiscardUnknown ¶ added in v1.9.1
func (m *UpdateSystemReq) XXX_DiscardUnknown()
func (*UpdateSystemReq) XXX_Marshal ¶ added in v1.9.1
func (m *UpdateSystemReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateSystemReq) XXX_Merge ¶ added in v1.9.1
func (dst *UpdateSystemReq) XXX_Merge(src proto.Message)
func (*UpdateSystemReq) XXX_Size ¶ added in v1.9.1
func (m *UpdateSystemReq) XXX_Size() int
func (*UpdateSystemReq) XXX_Unmarshal ¶ added in v1.9.1
func (m *UpdateSystemReq) XXX_Unmarshal(b []byte) error