Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRemoteProvisionServiceServer(s grpc.ServiceRegistrar, srv RemoteProvisionServiceServer)
- type ArtifactChunk
- func (*ArtifactChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactChunk) GetData() []byte
- func (x *ArtifactChunk) GetPayload() isArtifactChunk_Payload
- func (x *ArtifactChunk) GetSha256() string
- func (m *ArtifactChunk) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtifactChunk) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtifactChunk) MarshalVT() (dAtA []byte, err error)
- func (*ArtifactChunk) ProtoMessage()
- func (x *ArtifactChunk) ProtoReflect() protoreflect.Message
- func (x *ArtifactChunk) Reset()
- func (m *ArtifactChunk) SizeVT() (n int)
- func (x *ArtifactChunk) String() string
- func (m *ArtifactChunk) UnmarshalVT(dAtA []byte) error
- type ArtifactChunk_Data
- type ArtifactChunk_Sha256
- type ArtifactRef
- func (*ArtifactRef) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactRef) GetPath() string
- func (m *ArtifactRef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtifactRef) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtifactRef) MarshalVT() (dAtA []byte, err error)
- func (*ArtifactRef) ProtoMessage()
- func (x *ArtifactRef) ProtoReflect() protoreflect.Message
- func (x *ArtifactRef) Reset()
- func (m *ArtifactRef) SizeVT() (n int)
- func (x *ArtifactRef) String() string
- func (m *ArtifactRef) UnmarshalVT(dAtA []byte) error
- type CreateEvent
- func (*CreateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEvent) GetCluster() []byte
- func (x *CreateEvent) GetEvent() isCreateEvent_Event
- func (x *CreateEvent) GetStatus() string
- func (x *CreateEvent) GetWarning() string
- func (m *CreateEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateEvent) MarshalVT() (dAtA []byte, err error)
- func (*CreateEvent) ProtoMessage()
- func (x *CreateEvent) ProtoReflect() protoreflect.Message
- func (x *CreateEvent) Reset()
- func (m *CreateEvent) SizeVT() (n int)
- func (x *CreateEvent) String() string
- func (m *CreateEvent) UnmarshalVT(dAtA []byte) error
- type CreateEvent_Cluster
- type CreateEvent_Status
- type CreateEvent_Warning
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetArtifactPaths() map[string]string
- func (x *CreateRequest) GetClusterRequest() []byte
- func (x *CreateRequest) GetOptions() []byte
- func (m *CreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (m *CreateRequest) SizeVT() (n int)
- func (x *CreateRequest) String() string
- func (m *CreateRequest) UnmarshalVT(dAtA []byte) error
- type DestroyRequest
- func (*DestroyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DestroyRequest) GetClusterName() string
- func (m *DestroyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DestroyRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DestroyRequest) MarshalVT() (dAtA []byte, err error)
- func (*DestroyRequest) ProtoMessage()
- func (x *DestroyRequest) ProtoReflect() protoreflect.Message
- func (x *DestroyRequest) Reset()
- func (m *DestroyRequest) SizeVT() (n int)
- func (x *DestroyRequest) String() string
- func (m *DestroyRequest) UnmarshalVT(dAtA []byte) error
- type DestroyResponse
- func (*DestroyResponse) Descriptor() ([]byte, []int)deprecated
- func (m *DestroyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DestroyResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DestroyResponse) MarshalVT() (dAtA []byte, err error)
- func (*DestroyResponse) ProtoMessage()
- func (x *DestroyResponse) ProtoReflect() protoreflect.Message
- func (x *DestroyResponse) Reset()
- func (m *DestroyResponse) SizeVT() (n int)
- func (x *DestroyResponse) String() string
- func (m *DestroyResponse) UnmarshalVT(dAtA []byte) error
- type LogData
- func (*LogData) Descriptor() ([]byte, []int)deprecated
- func (x *LogData) GetLine() string
- func (x *LogData) GetMachineName() string
- func (m *LogData) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LogData) MarshalToVT(dAtA []byte) (int, error)
- func (m *LogData) MarshalVT() (dAtA []byte, err error)
- func (*LogData) ProtoMessage()
- func (x *LogData) ProtoReflect() protoreflect.Message
- func (x *LogData) Reset()
- func (m *LogData) SizeVT() (n int)
- func (x *LogData) String() string
- func (m *LogData) UnmarshalVT(dAtA []byte) error
- type LogsRequest
- func (*LogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogsRequest) GetClusterName() string
- func (x *LogsRequest) GetFollow() bool
- func (x *LogsRequest) GetMachineName() string
- func (m *LogsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LogsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LogsRequest) MarshalVT() (dAtA []byte, err error)
- func (*LogsRequest) ProtoMessage()
- func (x *LogsRequest) ProtoReflect() protoreflect.Message
- func (x *LogsRequest) Reset()
- func (m *LogsRequest) SizeVT() (n int)
- func (x *LogsRequest) String() string
- func (m *LogsRequest) UnmarshalVT(dAtA []byte) error
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetHostArch() string
- func (x *PingResponse) GetServerVersion() string
- func (m *PingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PingResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PingResponse) MarshalVT() (dAtA []byte, err error)
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (m *PingResponse) SizeVT() (n int)
- func (x *PingResponse) String() string
- func (m *PingResponse) UnmarshalVT(dAtA []byte) error
- type RebootRequest
- func (*RebootRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RebootRequest) GetClusterName() string
- func (x *RebootRequest) GetMachineName() string
- func (m *RebootRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RebootRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RebootRequest) MarshalVT() (dAtA []byte, err error)
- func (*RebootRequest) ProtoMessage()
- func (x *RebootRequest) ProtoReflect() protoreflect.Message
- func (x *RebootRequest) Reset()
- func (m *RebootRequest) SizeVT() (n int)
- func (x *RebootRequest) String() string
- func (m *RebootRequest) UnmarshalVT(dAtA []byte) error
- type RebootResponse
- func (*RebootResponse) Descriptor() ([]byte, []int)deprecated
- func (m *RebootResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RebootResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RebootResponse) MarshalVT() (dAtA []byte, err error)
- func (*RebootResponse) ProtoMessage()
- func (x *RebootResponse) ProtoReflect() protoreflect.Message
- func (x *RebootResponse) Reset()
- func (m *RebootResponse) SizeVT() (n int)
- func (x *RebootResponse) String() string
- func (m *RebootResponse) UnmarshalVT(dAtA []byte) error
- type ReflectRequest
- func (*ReflectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReflectRequest) GetClusterName() string
- func (m *ReflectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReflectRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReflectRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReflectRequest) ProtoMessage()
- func (x *ReflectRequest) ProtoReflect() protoreflect.Message
- func (x *ReflectRequest) Reset()
- func (m *ReflectRequest) SizeVT() (n int)
- func (x *ReflectRequest) String() string
- func (m *ReflectRequest) UnmarshalVT(dAtA []byte) error
- type ReflectResponse
- func (*ReflectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReflectResponse) GetCluster() []byte
- func (m *ReflectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReflectResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReflectResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReflectResponse) ProtoMessage()
- func (x *ReflectResponse) ProtoReflect() protoreflect.Message
- func (x *ReflectResponse) Reset()
- func (m *ReflectResponse) SizeVT() (n int)
- func (x *ReflectResponse) String() string
- func (m *ReflectResponse) UnmarshalVT(dAtA []byte) error
- type RemoteProvisionServiceClient
- type RemoteProvisionServiceServer
- type RemoteProvisionService_CreateClient
- type RemoteProvisionService_CreateServer
- type RemoteProvisionService_StreamLogsClient
- type RemoteProvisionService_StreamLogsServer
- type RemoteProvisionService_UploadArtifactClient
- type RemoteProvisionService_UploadArtifactServer
- type StatArtifactRequest
- func (*StatArtifactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatArtifactRequest) GetSha256() string
- func (m *StatArtifactRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StatArtifactRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StatArtifactRequest) MarshalVT() (dAtA []byte, err error)
- func (*StatArtifactRequest) ProtoMessage()
- func (x *StatArtifactRequest) ProtoReflect() protoreflect.Message
- func (x *StatArtifactRequest) Reset()
- func (m *StatArtifactRequest) SizeVT() (n int)
- func (x *StatArtifactRequest) String() string
- func (m *StatArtifactRequest) UnmarshalVT(dAtA []byte) error
- type StatArtifactResponse
- func (*StatArtifactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatArtifactResponse) GetExists() bool
- func (x *StatArtifactResponse) GetPath() string
- func (m *StatArtifactResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StatArtifactResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StatArtifactResponse) MarshalVT() (dAtA []byte, err error)
- func (*StatArtifactResponse) ProtoMessage()
- func (x *StatArtifactResponse) ProtoReflect() protoreflect.Message
- func (x *StatArtifactResponse) Reset()
- func (m *StatArtifactResponse) SizeVT() (n int)
- func (x *StatArtifactResponse) String() string
- func (m *StatArtifactResponse) UnmarshalVT(dAtA []byte) error
- type SyncBootArtifactsRequest
- func (*SyncBootArtifactsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncBootArtifactsRequest) GetArtifactPaths() map[string]string
- func (x *SyncBootArtifactsRequest) GetClusterName() string
- func (m *SyncBootArtifactsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SyncBootArtifactsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SyncBootArtifactsRequest) MarshalVT() (dAtA []byte, err error)
- func (*SyncBootArtifactsRequest) ProtoMessage()
- func (x *SyncBootArtifactsRequest) ProtoReflect() protoreflect.Message
- func (x *SyncBootArtifactsRequest) Reset()
- func (m *SyncBootArtifactsRequest) SizeVT() (n int)
- func (x *SyncBootArtifactsRequest) String() string
- func (m *SyncBootArtifactsRequest) UnmarshalVT(dAtA []byte) error
- type SyncBootArtifactsResponse
- func (*SyncBootArtifactsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncBootArtifactsResponse) GetChanged() map[string]bool
- func (m *SyncBootArtifactsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SyncBootArtifactsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SyncBootArtifactsResponse) MarshalVT() (dAtA []byte, err error)
- func (*SyncBootArtifactsResponse) ProtoMessage()
- func (x *SyncBootArtifactsResponse) ProtoReflect() protoreflect.Message
- func (x *SyncBootArtifactsResponse) Reset()
- func (m *SyncBootArtifactsResponse) SizeVT() (n int)
- func (x *SyncBootArtifactsResponse) String() string
- func (m *SyncBootArtifactsResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedRemoteProvisionServiceServer
- func (UnimplementedRemoteProvisionServiceServer) Create(*CreateRequest, grpc.ServerStreamingServer[CreateEvent]) error
- func (UnimplementedRemoteProvisionServiceServer) Destroy(context.Context, *DestroyRequest) (*DestroyResponse, error)
- func (UnimplementedRemoteProvisionServiceServer) Ping(context.Context, *emptypb.Empty) (*PingResponse, error)
- func (UnimplementedRemoteProvisionServiceServer) Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
- func (UnimplementedRemoteProvisionServiceServer) Reflect(context.Context, *ReflectRequest) (*ReflectResponse, error)
- func (UnimplementedRemoteProvisionServiceServer) StatArtifact(context.Context, *StatArtifactRequest) (*StatArtifactResponse, error)
- func (UnimplementedRemoteProvisionServiceServer) StreamLogs(*LogsRequest, grpc.ServerStreamingServer[LogData]) error
- func (UnimplementedRemoteProvisionServiceServer) SyncBootArtifacts(context.Context, *SyncBootArtifactsRequest) (*SyncBootArtifactsResponse, error)
- func (UnimplementedRemoteProvisionServiceServer) UploadArtifact(grpc.ClientStreamingServer[ArtifactChunk, ArtifactRef]) error
- type UnsafeRemoteProvisionServiceServer
Constants ¶
const ( RemoteProvisionService_Ping_FullMethodName = "/remoteprovision.RemoteProvisionService/Ping" RemoteProvisionService_Create_FullMethodName = "/remoteprovision.RemoteProvisionService/Create" RemoteProvisionService_Destroy_FullMethodName = "/remoteprovision.RemoteProvisionService/Destroy" RemoteProvisionService_Reflect_FullMethodName = "/remoteprovision.RemoteProvisionService/Reflect" RemoteProvisionService_StreamLogs_FullMethodName = "/remoteprovision.RemoteProvisionService/StreamLogs" RemoteProvisionService_StatArtifact_FullMethodName = "/remoteprovision.RemoteProvisionService/StatArtifact" RemoteProvisionService_UploadArtifact_FullMethodName = "/remoteprovision.RemoteProvisionService/UploadArtifact" RemoteProvisionService_SyncBootArtifacts_FullMethodName = "/remoteprovision.RemoteProvisionService/SyncBootArtifacts" RemoteProvisionService_Reboot_FullMethodName = "/remoteprovision.RemoteProvisionService/Reboot" )
Variables ¶
var File_remoteprovision_proto protoreflect.FileDescriptor
var RemoteProvisionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "remoteprovision.RemoteProvisionService", HandlerType: (*RemoteProvisionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _RemoteProvisionService_Ping_Handler, }, { MethodName: "Destroy", Handler: _RemoteProvisionService_Destroy_Handler, }, { MethodName: "Reflect", Handler: _RemoteProvisionService_Reflect_Handler, }, { MethodName: "StatArtifact", Handler: _RemoteProvisionService_StatArtifact_Handler, }, { MethodName: "SyncBootArtifacts", Handler: _RemoteProvisionService_SyncBootArtifacts_Handler, }, { MethodName: "Reboot", Handler: _RemoteProvisionService_Reboot_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Create", Handler: _RemoteProvisionService_Create_Handler, ServerStreams: true, }, { StreamName: "StreamLogs", Handler: _RemoteProvisionService_StreamLogs_Handler, ServerStreams: true, }, { StreamName: "UploadArtifact", Handler: _RemoteProvisionService_UploadArtifact_Handler, ClientStreams: true, }, }, Metadata: "remoteprovision.proto", }
RemoteProvisionService_ServiceDesc is the grpc.ServiceDesc for RemoteProvisionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRemoteProvisionServiceServer ¶
func RegisterRemoteProvisionServiceServer(s grpc.ServiceRegistrar, srv RemoteProvisionServiceServer)
Types ¶
type ArtifactChunk ¶
type ArtifactChunk struct {
// Types that are valid to be assigned to Payload:
//
// *ArtifactChunk_Sha256
// *ArtifactChunk_Data
Payload isArtifactChunk_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
ArtifactChunk is one frame of an UploadArtifact stream: the first frame carries sha256, the rest carry data.
func (*ArtifactChunk) Descriptor
deprecated
func (*ArtifactChunk) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactChunk.ProtoReflect.Descriptor instead.
func (*ArtifactChunk) GetData ¶
func (x *ArtifactChunk) GetData() []byte
func (*ArtifactChunk) GetPayload ¶
func (x *ArtifactChunk) GetPayload() isArtifactChunk_Payload
func (*ArtifactChunk) GetSha256 ¶
func (x *ArtifactChunk) GetSha256() string
func (*ArtifactChunk) MarshalToSizedBufferVT ¶
func (m *ArtifactChunk) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtifactChunk) MarshalToVT ¶
func (m *ArtifactChunk) MarshalToVT(dAtA []byte) (int, error)
func (*ArtifactChunk) MarshalVT ¶
func (m *ArtifactChunk) MarshalVT() (dAtA []byte, err error)
func (*ArtifactChunk) ProtoMessage ¶
func (*ArtifactChunk) ProtoMessage()
func (*ArtifactChunk) ProtoReflect ¶
func (x *ArtifactChunk) ProtoReflect() protoreflect.Message
func (*ArtifactChunk) Reset ¶
func (x *ArtifactChunk) Reset()
func (*ArtifactChunk) SizeVT ¶
func (m *ArtifactChunk) SizeVT() (n int)
func (*ArtifactChunk) String ¶
func (x *ArtifactChunk) String() string
func (*ArtifactChunk) UnmarshalVT ¶
func (m *ArtifactChunk) UnmarshalVT(dAtA []byte) error
type ArtifactChunk_Data ¶
type ArtifactChunk_Data struct {
// data is a slice of artifact bytes.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
func (*ArtifactChunk_Data) MarshalToSizedBufferVT ¶
func (m *ArtifactChunk_Data) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtifactChunk_Data) MarshalToVT ¶
func (m *ArtifactChunk_Data) MarshalToVT(dAtA []byte) (int, error)
func (*ArtifactChunk_Data) SizeVT ¶
func (m *ArtifactChunk_Data) SizeVT() (n int)
type ArtifactChunk_Sha256 ¶
type ArtifactChunk_Sha256 struct {
// sha256 is the lowercase hex digest; sent once, as the first frame.
Sha256 string `protobuf:"bytes,1,opt,name=sha256,proto3,oneof"`
}
func (*ArtifactChunk_Sha256) MarshalToSizedBufferVT ¶
func (m *ArtifactChunk_Sha256) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtifactChunk_Sha256) MarshalToVT ¶
func (m *ArtifactChunk_Sha256) MarshalToVT(dAtA []byte) (int, error)
func (*ArtifactChunk_Sha256) SizeVT ¶
func (m *ArtifactChunk_Sha256) SizeVT() (n int)
type ArtifactRef ¶
type ArtifactRef struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
ArtifactRef is the canonical server path of an uploaded artifact.
func (*ArtifactRef) Descriptor
deprecated
func (*ArtifactRef) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactRef.ProtoReflect.Descriptor instead.
func (*ArtifactRef) GetPath ¶
func (x *ArtifactRef) GetPath() string
func (*ArtifactRef) MarshalToSizedBufferVT ¶
func (m *ArtifactRef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtifactRef) MarshalToVT ¶
func (m *ArtifactRef) MarshalToVT(dAtA []byte) (int, error)
func (*ArtifactRef) MarshalVT ¶
func (m *ArtifactRef) MarshalVT() (dAtA []byte, err error)
func (*ArtifactRef) ProtoMessage ¶
func (*ArtifactRef) ProtoMessage()
func (*ArtifactRef) ProtoReflect ¶
func (x *ArtifactRef) ProtoReflect() protoreflect.Message
func (*ArtifactRef) Reset ¶
func (x *ArtifactRef) Reset()
func (*ArtifactRef) SizeVT ¶
func (m *ArtifactRef) SizeVT() (n int)
func (*ArtifactRef) String ¶
func (x *ArtifactRef) String() string
func (*ArtifactRef) UnmarshalVT ¶
func (m *ArtifactRef) UnmarshalVT(dAtA []byte) error
type CreateEvent ¶
type CreateEvent struct {
// Types that are valid to be assigned to Event:
//
// *CreateEvent_Status
// *CreateEvent_Warning
// *CreateEvent_Cluster
Event isCreateEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}
CreateEvent is one frame of the Create stream.
func (*CreateEvent) Descriptor
deprecated
func (*CreateEvent) Descriptor() ([]byte, []int)
Deprecated: Use CreateEvent.ProtoReflect.Descriptor instead.
func (*CreateEvent) GetCluster ¶
func (x *CreateEvent) GetCluster() []byte
func (*CreateEvent) GetEvent ¶
func (x *CreateEvent) GetEvent() isCreateEvent_Event
func (*CreateEvent) GetStatus ¶
func (x *CreateEvent) GetStatus() string
func (*CreateEvent) GetWarning ¶
func (x *CreateEvent) GetWarning() string
func (*CreateEvent) MarshalToSizedBufferVT ¶
func (m *CreateEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateEvent) MarshalToVT ¶
func (m *CreateEvent) MarshalToVT(dAtA []byte) (int, error)
func (*CreateEvent) MarshalVT ¶
func (m *CreateEvent) MarshalVT() (dAtA []byte, err error)
func (*CreateEvent) ProtoMessage ¶
func (*CreateEvent) ProtoMessage()
func (*CreateEvent) ProtoReflect ¶
func (x *CreateEvent) ProtoReflect() protoreflect.Message
func (*CreateEvent) Reset ¶
func (x *CreateEvent) Reset()
func (*CreateEvent) SizeVT ¶
func (m *CreateEvent) SizeVT() (n int)
func (*CreateEvent) String ¶
func (x *CreateEvent) String() string
func (*CreateEvent) UnmarshalVT ¶
func (m *CreateEvent) UnmarshalVT(dAtA []byte) error
type CreateEvent_Cluster ¶
type CreateEvent_Cluster struct {
// cluster is the JSON-encoded provision.Cluster — emitted as the
// terminal event on success.
Cluster []byte `protobuf:"bytes,3,opt,name=cluster,proto3,oneof"`
}
func (*CreateEvent_Cluster) MarshalToSizedBufferVT ¶
func (m *CreateEvent_Cluster) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateEvent_Cluster) MarshalToVT ¶
func (m *CreateEvent_Cluster) MarshalToVT(dAtA []byte) (int, error)
func (*CreateEvent_Cluster) SizeVT ¶
func (m *CreateEvent_Cluster) SizeVT() (n int)
type CreateEvent_Status ¶
type CreateEvent_Status struct {
// status is a human-readable progress line.
Status string `protobuf:"bytes,1,opt,name=status,proto3,oneof"`
}
func (*CreateEvent_Status) MarshalToSizedBufferVT ¶
func (m *CreateEvent_Status) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateEvent_Status) MarshalToVT ¶
func (m *CreateEvent_Status) MarshalToVT(dAtA []byte) (int, error)
func (*CreateEvent_Status) SizeVT ¶
func (m *CreateEvent_Status) SizeVT() (n int)
type CreateEvent_Warning ¶
type CreateEvent_Warning struct {
// warning is a human-readable non-fatal warning.
Warning string `protobuf:"bytes,2,opt,name=warning,proto3,oneof"`
}
func (*CreateEvent_Warning) MarshalToSizedBufferVT ¶
func (m *CreateEvent_Warning) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateEvent_Warning) MarshalToVT ¶
func (m *CreateEvent_Warning) MarshalToVT(dAtA []byte) (int, error)
func (*CreateEvent_Warning) SizeVT ¶
func (m *CreateEvent_Warning) SizeVT() (n int)
type CreateRequest ¶
type CreateRequest struct {
// cluster_request is a JSON-encoded provision.ClusterRequest.
ClusterRequest []byte `protobuf:"bytes,1,opt,name=cluster_request,json=clusterRequest,proto3" json:"cluster_request,omitempty"`
// artifact_paths maps logical artifact names (kernel, initramfs, iso,
// usb, uki, diskimage, ipxe) to canonical paths on the server. The
// client populates these after uploading the corresponding local files.
// URL-valued entries are skipped and fetched server-side instead.
ArtifactPaths map[string]string `` /* 174-byte string literal not displayed */
// options is a JSON-encoded subset of provision.Options (UEFI, TPM,
// bootloader, etc.). The server reconstructs the provision.Option list
// from it; non-serializable fields (LogWriter, Talos client) are set
// server-side.
Options []byte `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
CreateRequest carries a JSON-encoded provision.ClusterRequest plus references to artifacts the server should resolve to canonical paths before passing the request to the QEMU provisioner.
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetArtifactPaths ¶
func (x *CreateRequest) GetArtifactPaths() map[string]string
func (*CreateRequest) GetClusterRequest ¶
func (x *CreateRequest) GetClusterRequest() []byte
func (*CreateRequest) GetOptions ¶
func (x *CreateRequest) GetOptions() []byte
func (*CreateRequest) MarshalToSizedBufferVT ¶
func (m *CreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateRequest) MarshalToVT ¶
func (m *CreateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateRequest) MarshalVT ¶
func (m *CreateRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) SizeVT ¶
func (m *CreateRequest) SizeVT() (n int)
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
func (*CreateRequest) UnmarshalVT ¶
func (m *CreateRequest) UnmarshalVT(dAtA []byte) error
type DestroyRequest ¶
type DestroyRequest struct {
// cluster_name identifies the cluster on the server's state directory.
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
DestroyRequest identifies the cluster to tear down.
func (*DestroyRequest) Descriptor
deprecated
func (*DestroyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DestroyRequest.ProtoReflect.Descriptor instead.
func (*DestroyRequest) GetClusterName ¶
func (x *DestroyRequest) GetClusterName() string
func (*DestroyRequest) MarshalToSizedBufferVT ¶
func (m *DestroyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DestroyRequest) MarshalToVT ¶
func (m *DestroyRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DestroyRequest) MarshalVT ¶
func (m *DestroyRequest) MarshalVT() (dAtA []byte, err error)
func (*DestroyRequest) ProtoMessage ¶
func (*DestroyRequest) ProtoMessage()
func (*DestroyRequest) ProtoReflect ¶
func (x *DestroyRequest) ProtoReflect() protoreflect.Message
func (*DestroyRequest) Reset ¶
func (x *DestroyRequest) Reset()
func (*DestroyRequest) SizeVT ¶
func (m *DestroyRequest) SizeVT() (n int)
func (*DestroyRequest) String ¶
func (x *DestroyRequest) String() string
func (*DestroyRequest) UnmarshalVT ¶
func (m *DestroyRequest) UnmarshalVT(dAtA []byte) error
type DestroyResponse ¶
type DestroyResponse struct {
// contains filtered or unexported fields
}
DestroyResponse is empty on success.
func (*DestroyResponse) Descriptor
deprecated
func (*DestroyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DestroyResponse.ProtoReflect.Descriptor instead.
func (*DestroyResponse) MarshalToSizedBufferVT ¶
func (m *DestroyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DestroyResponse) MarshalToVT ¶
func (m *DestroyResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DestroyResponse) MarshalVT ¶
func (m *DestroyResponse) MarshalVT() (dAtA []byte, err error)
func (*DestroyResponse) ProtoMessage ¶
func (*DestroyResponse) ProtoMessage()
func (*DestroyResponse) ProtoReflect ¶
func (x *DestroyResponse) ProtoReflect() protoreflect.Message
func (*DestroyResponse) Reset ¶
func (x *DestroyResponse) Reset()
func (*DestroyResponse) SizeVT ¶
func (m *DestroyResponse) SizeVT() (n int)
func (*DestroyResponse) String ¶
func (x *DestroyResponse) String() string
func (*DestroyResponse) UnmarshalVT ¶
func (m *DestroyResponse) UnmarshalVT(dAtA []byte) error
type LogData ¶
type LogData struct {
// machine_name is the node the line came from.
MachineName string `protobuf:"bytes,1,opt,name=machine_name,json=machineName,proto3" json:"machine_name,omitempty"`
// line is a single console log line (no trailing newline).
Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"`
// contains filtered or unexported fields
}
LogData is one console log line tagged with its source machine.
func (*LogData) Descriptor
deprecated
func (*LogData) GetMachineName ¶
func (*LogData) MarshalToSizedBufferVT ¶
func (*LogData) ProtoMessage ¶
func (*LogData) ProtoMessage()
func (*LogData) ProtoReflect ¶
func (x *LogData) ProtoReflect() protoreflect.Message
func (*LogData) UnmarshalVT ¶
type LogsRequest ¶
type LogsRequest struct {
// cluster_name is the cluster the machine(s) belong to.
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// machine_name is the node name (e.g. "talos-default-controlplane-1").
// Empty means stream every machine in the cluster.
MachineName string `protobuf:"bytes,2,opt,name=machine_name,json=machineName,proto3" json:"machine_name,omitempty"`
// follow keeps the stream open and tails new output (tail -F).
Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"`
// contains filtered or unexported fields
}
LogsRequest identifies machine logs to stream.
func (*LogsRequest) Descriptor
deprecated
func (*LogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead.
func (*LogsRequest) GetClusterName ¶
func (x *LogsRequest) GetClusterName() string
func (*LogsRequest) GetFollow ¶
func (x *LogsRequest) GetFollow() bool
func (*LogsRequest) GetMachineName ¶
func (x *LogsRequest) GetMachineName() string
func (*LogsRequest) MarshalToSizedBufferVT ¶
func (m *LogsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LogsRequest) MarshalToVT ¶
func (m *LogsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LogsRequest) MarshalVT ¶
func (m *LogsRequest) MarshalVT() (dAtA []byte, err error)
func (*LogsRequest) ProtoMessage ¶
func (*LogsRequest) ProtoMessage()
func (*LogsRequest) ProtoReflect ¶
func (x *LogsRequest) ProtoReflect() protoreflect.Message
func (*LogsRequest) Reset ¶
func (x *LogsRequest) Reset()
func (*LogsRequest) SizeVT ¶
func (m *LogsRequest) SizeVT() (n int)
func (*LogsRequest) String ¶
func (x *LogsRequest) String() string
func (*LogsRequest) UnmarshalVT ¶
func (m *LogsRequest) UnmarshalVT(dAtA []byte) error
type PingResponse ¶
type PingResponse struct {
// server_version is the talosctl version backing the server.
ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
// host_arch is the server's architecture ("amd64" / "arm64"). Clients
// target this arch for remote cluster creation.
HostArch string `protobuf:"bytes,2,opt,name=host_arch,json=hostArch,proto3" json:"host_arch,omitempty"`
// contains filtered or unexported fields
}
PingResponse identifies the remote-provision server.
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetHostArch ¶
func (x *PingResponse) GetHostArch() string
func (*PingResponse) GetServerVersion ¶
func (x *PingResponse) GetServerVersion() string
func (*PingResponse) MarshalToSizedBufferVT ¶
func (m *PingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PingResponse) MarshalToVT ¶
func (m *PingResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PingResponse) MarshalVT ¶
func (m *PingResponse) MarshalVT() (dAtA []byte, err error)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) SizeVT ¶
func (m *PingResponse) SizeVT() (n int)
func (*PingResponse) String ¶
func (x *PingResponse) String() string
func (*PingResponse) UnmarshalVT ¶
func (m *PingResponse) UnmarshalVT(dAtA []byte) error
type RebootRequest ¶
type RebootRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
MachineName string `protobuf:"bytes,2,opt,name=machine_name,json=machineName,proto3" json:"machine_name,omitempty"`
// contains filtered or unexported fields
}
RebootRequest identifies one QEMU node to forcefully restart.
func (*RebootRequest) Descriptor
deprecated
func (*RebootRequest) Descriptor() ([]byte, []int)
Deprecated: Use RebootRequest.ProtoReflect.Descriptor instead.
func (*RebootRequest) GetClusterName ¶
func (x *RebootRequest) GetClusterName() string
func (*RebootRequest) GetMachineName ¶
func (x *RebootRequest) GetMachineName() string
func (*RebootRequest) MarshalToSizedBufferVT ¶
func (m *RebootRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RebootRequest) MarshalToVT ¶
func (m *RebootRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RebootRequest) MarshalVT ¶
func (m *RebootRequest) MarshalVT() (dAtA []byte, err error)
func (*RebootRequest) ProtoMessage ¶
func (*RebootRequest) ProtoMessage()
func (*RebootRequest) ProtoReflect ¶
func (x *RebootRequest) ProtoReflect() protoreflect.Message
func (*RebootRequest) Reset ¶
func (x *RebootRequest) Reset()
func (*RebootRequest) SizeVT ¶
func (m *RebootRequest) SizeVT() (n int)
func (*RebootRequest) String ¶
func (x *RebootRequest) String() string
func (*RebootRequest) UnmarshalVT ¶
func (m *RebootRequest) UnmarshalVT(dAtA []byte) error
type RebootResponse ¶
type RebootResponse struct {
// contains filtered or unexported fields
}
RebootResponse is empty on success.
func (*RebootResponse) Descriptor
deprecated
func (*RebootResponse) Descriptor() ([]byte, []int)
Deprecated: Use RebootResponse.ProtoReflect.Descriptor instead.
func (*RebootResponse) MarshalToSizedBufferVT ¶
func (m *RebootResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RebootResponse) MarshalToVT ¶
func (m *RebootResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RebootResponse) MarshalVT ¶
func (m *RebootResponse) MarshalVT() (dAtA []byte, err error)
func (*RebootResponse) ProtoMessage ¶
func (*RebootResponse) ProtoMessage()
func (*RebootResponse) ProtoReflect ¶
func (x *RebootResponse) ProtoReflect() protoreflect.Message
func (*RebootResponse) Reset ¶
func (x *RebootResponse) Reset()
func (*RebootResponse) SizeVT ¶
func (m *RebootResponse) SizeVT() (n int)
func (*RebootResponse) String ¶
func (x *RebootResponse) String() string
func (*RebootResponse) UnmarshalVT ¶
func (m *RebootResponse) UnmarshalVT(dAtA []byte) error
type ReflectRequest ¶
type ReflectRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
ReflectRequest looks up a cluster by name.
func (*ReflectRequest) Descriptor
deprecated
func (*ReflectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReflectRequest.ProtoReflect.Descriptor instead.
func (*ReflectRequest) GetClusterName ¶
func (x *ReflectRequest) GetClusterName() string
func (*ReflectRequest) MarshalToSizedBufferVT ¶
func (m *ReflectRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReflectRequest) MarshalToVT ¶
func (m *ReflectRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReflectRequest) MarshalVT ¶
func (m *ReflectRequest) MarshalVT() (dAtA []byte, err error)
func (*ReflectRequest) ProtoMessage ¶
func (*ReflectRequest) ProtoMessage()
func (*ReflectRequest) ProtoReflect ¶
func (x *ReflectRequest) ProtoReflect() protoreflect.Message
func (*ReflectRequest) Reset ¶
func (x *ReflectRequest) Reset()
func (*ReflectRequest) SizeVT ¶
func (m *ReflectRequest) SizeVT() (n int)
func (*ReflectRequest) String ¶
func (x *ReflectRequest) String() string
func (*ReflectRequest) UnmarshalVT ¶
func (m *ReflectRequest) UnmarshalVT(dAtA []byte) error
type ReflectResponse ¶
type ReflectResponse struct {
Cluster []byte `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}
ReflectResponse returns the JSON-encoded provision.Cluster.
func (*ReflectResponse) Descriptor
deprecated
func (*ReflectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReflectResponse.ProtoReflect.Descriptor instead.
func (*ReflectResponse) GetCluster ¶
func (x *ReflectResponse) GetCluster() []byte
func (*ReflectResponse) MarshalToSizedBufferVT ¶
func (m *ReflectResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReflectResponse) MarshalToVT ¶
func (m *ReflectResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReflectResponse) MarshalVT ¶
func (m *ReflectResponse) MarshalVT() (dAtA []byte, err error)
func (*ReflectResponse) ProtoMessage ¶
func (*ReflectResponse) ProtoMessage()
func (*ReflectResponse) ProtoReflect ¶
func (x *ReflectResponse) ProtoReflect() protoreflect.Message
func (*ReflectResponse) Reset ¶
func (x *ReflectResponse) Reset()
func (*ReflectResponse) SizeVT ¶
func (m *ReflectResponse) SizeVT() (n int)
func (*ReflectResponse) String ¶
func (x *ReflectResponse) String() string
func (*ReflectResponse) UnmarshalVT ¶
func (m *ReflectResponse) UnmarshalVT(dAtA []byte) error
type RemoteProvisionServiceClient ¶
type RemoteProvisionServiceClient interface {
// Ping returns server identity for connectivity sanity checks.
Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingResponse, error)
// Create provisions a cluster. The stream emits progress events; the
// terminal event carries the JSON-encoded provision.Cluster.
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[CreateEvent], error)
// Destroy tears down a previously-created cluster.
Destroy(ctx context.Context, in *DestroyRequest, opts ...grpc.CallOption) (*DestroyResponse, error)
// Reflect returns a previously-created cluster's state by name.
Reflect(ctx context.Context, in *ReflectRequest, opts ...grpc.CallOption) (*ReflectResponse, error)
// StreamLogs tails a machine's QEMU console log from the server's state
// directory — the remote equivalent of `tail -F <machine>.log`.
StreamLogs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LogData], error)
// StatArtifact reports whether a content-addressed artifact is already
// cached on the server, so the client can skip re-uploading it.
StatArtifact(ctx context.Context, in *StatArtifactRequest, opts ...grpc.CallOption) (*StatArtifactResponse, error)
// UploadArtifact streams a boot artifact (kernel, initramfs, ISO, ...)
// to the server's content-addressed cache. The first frame carries the
// sha256; the rest carry data.
UploadArtifact(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[ArtifactChunk, ArtifactRef], error)
// SyncBootArtifacts updates the stable kernel and initramfs references
// used by an existing no-bootloader cluster.
SyncBootArtifacts(ctx context.Context, in *SyncBootArtifactsRequest, opts ...grpc.CallOption) (*SyncBootArtifactsResponse, error)
// Reboot forcefully restarts one QEMU node.
Reboot(ctx context.Context, in *RebootRequest, opts ...grpc.CallOption) (*RebootResponse, error)
}
RemoteProvisionServiceClient is the client API for RemoteProvisionService 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.
RemoteProvisionService is the gRPC interface to a remote `talosctl cluster create` provisioner — the cluster-equivalent of a BuildKit remote builder. It is consumed by the `remote` provisioner under pkg/provision/providers/remote and served by `talosctl remote-provision-launch`.
The server owns the QEMU lifecycle, the state directory, and the bridge network. RPC payloads carrying provision.ClusterRequest / provision.Cluster are JSON-encoded; the server unmarshals them and hands them to the in-process QEMU provisioner unchanged.
func NewRemoteProvisionServiceClient ¶
func NewRemoteProvisionServiceClient(cc grpc.ClientConnInterface) RemoteProvisionServiceClient
type RemoteProvisionServiceServer ¶
type RemoteProvisionServiceServer interface {
// Ping returns server identity for connectivity sanity checks.
Ping(context.Context, *emptypb.Empty) (*PingResponse, error)
// Create provisions a cluster. The stream emits progress events; the
// terminal event carries the JSON-encoded provision.Cluster.
Create(*CreateRequest, grpc.ServerStreamingServer[CreateEvent]) error
// Destroy tears down a previously-created cluster.
Destroy(context.Context, *DestroyRequest) (*DestroyResponse, error)
// Reflect returns a previously-created cluster's state by name.
Reflect(context.Context, *ReflectRequest) (*ReflectResponse, error)
// StreamLogs tails a machine's QEMU console log from the server's state
// directory — the remote equivalent of `tail -F <machine>.log`.
StreamLogs(*LogsRequest, grpc.ServerStreamingServer[LogData]) error
// StatArtifact reports whether a content-addressed artifact is already
// cached on the server, so the client can skip re-uploading it.
StatArtifact(context.Context, *StatArtifactRequest) (*StatArtifactResponse, error)
// UploadArtifact streams a boot artifact (kernel, initramfs, ISO, ...)
// to the server's content-addressed cache. The first frame carries the
// sha256; the rest carry data.
UploadArtifact(grpc.ClientStreamingServer[ArtifactChunk, ArtifactRef]) error
// SyncBootArtifacts updates the stable kernel and initramfs references
// used by an existing no-bootloader cluster.
SyncBootArtifacts(context.Context, *SyncBootArtifactsRequest) (*SyncBootArtifactsResponse, error)
// Reboot forcefully restarts one QEMU node.
Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
// contains filtered or unexported methods
}
RemoteProvisionServiceServer is the server API for RemoteProvisionService service. All implementations must embed UnimplementedRemoteProvisionServiceServer for forward compatibility.
RemoteProvisionService is the gRPC interface to a remote `talosctl cluster create` provisioner — the cluster-equivalent of a BuildKit remote builder. It is consumed by the `remote` provisioner under pkg/provision/providers/remote and served by `talosctl remote-provision-launch`.
The server owns the QEMU lifecycle, the state directory, and the bridge network. RPC payloads carrying provision.ClusterRequest / provision.Cluster are JSON-encoded; the server unmarshals them and hands them to the in-process QEMU provisioner unchanged.
type RemoteProvisionService_CreateClient ¶
type RemoteProvisionService_CreateClient = grpc.ServerStreamingClient[CreateEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RemoteProvisionService_CreateServer ¶
type RemoteProvisionService_CreateServer = grpc.ServerStreamingServer[CreateEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RemoteProvisionService_StreamLogsClient ¶
type RemoteProvisionService_StreamLogsClient = grpc.ServerStreamingClient[LogData]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RemoteProvisionService_StreamLogsServer ¶
type RemoteProvisionService_StreamLogsServer = grpc.ServerStreamingServer[LogData]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RemoteProvisionService_UploadArtifactClient ¶
type RemoteProvisionService_UploadArtifactClient = grpc.ClientStreamingClient[ArtifactChunk, ArtifactRef]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RemoteProvisionService_UploadArtifactServer ¶
type RemoteProvisionService_UploadArtifactServer = grpc.ClientStreamingServer[ArtifactChunk, ArtifactRef]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StatArtifactRequest ¶
type StatArtifactRequest struct {
// sha256 is the lowercase hex digest of the artifact.
Sha256 string `protobuf:"bytes,1,opt,name=sha256,proto3" json:"sha256,omitempty"`
// contains filtered or unexported fields
}
StatArtifactRequest asks whether a content-addressed artifact is cached.
func (*StatArtifactRequest) Descriptor
deprecated
func (*StatArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatArtifactRequest.ProtoReflect.Descriptor instead.
func (*StatArtifactRequest) GetSha256 ¶
func (x *StatArtifactRequest) GetSha256() string
func (*StatArtifactRequest) MarshalToSizedBufferVT ¶
func (m *StatArtifactRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StatArtifactRequest) MarshalToVT ¶
func (m *StatArtifactRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StatArtifactRequest) MarshalVT ¶
func (m *StatArtifactRequest) MarshalVT() (dAtA []byte, err error)
func (*StatArtifactRequest) ProtoMessage ¶
func (*StatArtifactRequest) ProtoMessage()
func (*StatArtifactRequest) ProtoReflect ¶
func (x *StatArtifactRequest) ProtoReflect() protoreflect.Message
func (*StatArtifactRequest) Reset ¶
func (x *StatArtifactRequest) Reset()
func (*StatArtifactRequest) SizeVT ¶
func (m *StatArtifactRequest) SizeVT() (n int)
func (*StatArtifactRequest) String ¶
func (x *StatArtifactRequest) String() string
func (*StatArtifactRequest) UnmarshalVT ¶
func (m *StatArtifactRequest) UnmarshalVT(dAtA []byte) error
type StatArtifactResponse ¶
type StatArtifactResponse struct {
// exists is true when the artifact is already cached.
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// path is the canonical server path when exists is true.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
StatArtifactResponse reports artifact cache status.
func (*StatArtifactResponse) Descriptor
deprecated
func (*StatArtifactResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatArtifactResponse.ProtoReflect.Descriptor instead.
func (*StatArtifactResponse) GetExists ¶
func (x *StatArtifactResponse) GetExists() bool
func (*StatArtifactResponse) GetPath ¶
func (x *StatArtifactResponse) GetPath() string
func (*StatArtifactResponse) MarshalToSizedBufferVT ¶
func (m *StatArtifactResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StatArtifactResponse) MarshalToVT ¶
func (m *StatArtifactResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StatArtifactResponse) MarshalVT ¶
func (m *StatArtifactResponse) MarshalVT() (dAtA []byte, err error)
func (*StatArtifactResponse) ProtoMessage ¶
func (*StatArtifactResponse) ProtoMessage()
func (*StatArtifactResponse) ProtoReflect ¶
func (x *StatArtifactResponse) ProtoReflect() protoreflect.Message
func (*StatArtifactResponse) Reset ¶
func (x *StatArtifactResponse) Reset()
func (*StatArtifactResponse) SizeVT ¶
func (m *StatArtifactResponse) SizeVT() (n int)
func (*StatArtifactResponse) String ¶
func (x *StatArtifactResponse) String() string
func (*StatArtifactResponse) UnmarshalVT ¶
func (m *StatArtifactResponse) UnmarshalVT(dAtA []byte) error
type SyncBootArtifactsRequest ¶
type SyncBootArtifactsRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
ArtifactPaths map[string]string `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
SyncBootArtifactsRequest updates content-addressed boot artifact references for an existing cluster. artifact_paths accepts only kernel and initramfs.
func (*SyncBootArtifactsRequest) Descriptor
deprecated
func (*SyncBootArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncBootArtifactsRequest.ProtoReflect.Descriptor instead.
func (*SyncBootArtifactsRequest) GetArtifactPaths ¶
func (x *SyncBootArtifactsRequest) GetArtifactPaths() map[string]string
func (*SyncBootArtifactsRequest) GetClusterName ¶
func (x *SyncBootArtifactsRequest) GetClusterName() string
func (*SyncBootArtifactsRequest) MarshalToSizedBufferVT ¶
func (m *SyncBootArtifactsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SyncBootArtifactsRequest) MarshalToVT ¶
func (m *SyncBootArtifactsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SyncBootArtifactsRequest) MarshalVT ¶
func (m *SyncBootArtifactsRequest) MarshalVT() (dAtA []byte, err error)
func (*SyncBootArtifactsRequest) ProtoMessage ¶
func (*SyncBootArtifactsRequest) ProtoMessage()
func (*SyncBootArtifactsRequest) ProtoReflect ¶
func (x *SyncBootArtifactsRequest) ProtoReflect() protoreflect.Message
func (*SyncBootArtifactsRequest) Reset ¶
func (x *SyncBootArtifactsRequest) Reset()
func (*SyncBootArtifactsRequest) SizeVT ¶
func (m *SyncBootArtifactsRequest) SizeVT() (n int)
func (*SyncBootArtifactsRequest) String ¶
func (x *SyncBootArtifactsRequest) String() string
func (*SyncBootArtifactsRequest) UnmarshalVT ¶
func (m *SyncBootArtifactsRequest) UnmarshalVT(dAtA []byte) error
type SyncBootArtifactsResponse ¶
type SyncBootArtifactsResponse struct {
Changed map[string]bool `` /* 142-byte string literal not displayed */
// contains filtered or unexported fields
}
SyncBootArtifactsResponse reports which stable references changed.
func (*SyncBootArtifactsResponse) Descriptor
deprecated
func (*SyncBootArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncBootArtifactsResponse.ProtoReflect.Descriptor instead.
func (*SyncBootArtifactsResponse) GetChanged ¶
func (x *SyncBootArtifactsResponse) GetChanged() map[string]bool
func (*SyncBootArtifactsResponse) MarshalToSizedBufferVT ¶
func (m *SyncBootArtifactsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SyncBootArtifactsResponse) MarshalToVT ¶
func (m *SyncBootArtifactsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SyncBootArtifactsResponse) MarshalVT ¶
func (m *SyncBootArtifactsResponse) MarshalVT() (dAtA []byte, err error)
func (*SyncBootArtifactsResponse) ProtoMessage ¶
func (*SyncBootArtifactsResponse) ProtoMessage()
func (*SyncBootArtifactsResponse) ProtoReflect ¶
func (x *SyncBootArtifactsResponse) ProtoReflect() protoreflect.Message
func (*SyncBootArtifactsResponse) Reset ¶
func (x *SyncBootArtifactsResponse) Reset()
func (*SyncBootArtifactsResponse) SizeVT ¶
func (m *SyncBootArtifactsResponse) SizeVT() (n int)
func (*SyncBootArtifactsResponse) String ¶
func (x *SyncBootArtifactsResponse) String() string
func (*SyncBootArtifactsResponse) UnmarshalVT ¶
func (m *SyncBootArtifactsResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedRemoteProvisionServiceServer ¶
type UnimplementedRemoteProvisionServiceServer struct{}
UnimplementedRemoteProvisionServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRemoteProvisionServiceServer) Destroy ¶
func (UnimplementedRemoteProvisionServiceServer) Destroy(context.Context, *DestroyRequest) (*DestroyResponse, error)
func (UnimplementedRemoteProvisionServiceServer) Ping ¶
func (UnimplementedRemoteProvisionServiceServer) Ping(context.Context, *emptypb.Empty) (*PingResponse, error)
func (UnimplementedRemoteProvisionServiceServer) Reboot ¶
func (UnimplementedRemoteProvisionServiceServer) Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
func (UnimplementedRemoteProvisionServiceServer) Reflect ¶
func (UnimplementedRemoteProvisionServiceServer) Reflect(context.Context, *ReflectRequest) (*ReflectResponse, error)
func (UnimplementedRemoteProvisionServiceServer) StatArtifact ¶
func (UnimplementedRemoteProvisionServiceServer) StatArtifact(context.Context, *StatArtifactRequest) (*StatArtifactResponse, error)
func (UnimplementedRemoteProvisionServiceServer) StreamLogs ¶
func (UnimplementedRemoteProvisionServiceServer) StreamLogs(*LogsRequest, grpc.ServerStreamingServer[LogData]) error
func (UnimplementedRemoteProvisionServiceServer) SyncBootArtifacts ¶
func (UnimplementedRemoteProvisionServiceServer) SyncBootArtifacts(context.Context, *SyncBootArtifactsRequest) (*SyncBootArtifactsResponse, error)
func (UnimplementedRemoteProvisionServiceServer) UploadArtifact ¶
func (UnimplementedRemoteProvisionServiceServer) UploadArtifact(grpc.ClientStreamingServer[ArtifactChunk, ArtifactRef]) error
type UnsafeRemoteProvisionServiceServer ¶
type UnsafeRemoteProvisionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRemoteProvisionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RemoteProvisionServiceServer will result in compilation errors.