Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
- func RegisterIntrospectionServiceServer(s grpc.ServiceRegistrar, srv IntrospectionServiceServer)
- func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
- func RegisterSubnetworkServiceServer(s grpc.ServiceRegistrar, srv SubnetworkServiceServer)
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetAddress() uint32
- func (x *Container) GetCmd() []string
- func (x *Container) GetCreatedAt() *timestamppb.Timestamp
- func (x *Container) GetEntrypoint() []string
- func (x *Container) GetEnv() []string
- func (x *Container) GetId() uint32
- func (x *Container) GetImage() string
- func (x *Container) GetPrefixLength() uint32
- func (x *Container) GetStartedAt() *timestamppb.Timestamp
- func (x *Container) GetStatus() string
- func (x *Container) GetSubnetworkId() uint32
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContainerCreationRequest
- func (*ContainerCreationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerCreationRequest) GetCmd() []string
- func (x *ContainerCreationRequest) GetEntrypoint() []string
- func (x *ContainerCreationRequest) GetEnv() []string
- func (x *ContainerCreationRequest) GetImage() string
- func (x *ContainerCreationRequest) GetSubnetworkId() uint32
- func (*ContainerCreationRequest) ProtoMessage()
- func (x *ContainerCreationRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerCreationRequest) Reset()
- func (x *ContainerCreationRequest) String() string
- type ContainerExecInitializationRequest
- func (*ContainerExecInitializationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerExecInitializationRequest) GetArgs() []string
- func (x *ContainerExecInitializationRequest) GetConsoleHeight() int32
- func (x *ContainerExecInitializationRequest) GetConsoleWidth() int32
- func (x *ContainerExecInitializationRequest) GetIdentification() *ContainerIdentificationRequest
- func (x *ContainerExecInitializationRequest) GetTerminal() string
- func (*ContainerExecInitializationRequest) ProtoMessage()
- func (x *ContainerExecInitializationRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerExecInitializationRequest) Reset()
- func (x *ContainerExecInitializationRequest) String() string
- type ContainerExecRequest
- func (*ContainerExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerExecRequest) GetInitialization() *ContainerExecInitializationRequest
- func (x *ContainerExecRequest) GetInput() isContainerExecRequest_Input
- func (x *ContainerExecRequest) GetStdin() []byte
- func (*ContainerExecRequest) ProtoMessage()
- func (x *ContainerExecRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerExecRequest) Reset()
- func (x *ContainerExecRequest) String() string
- type ContainerExecRequest_Initialization
- type ContainerExecRequest_Stdin
- type ContainerExecResponse
- func (*ContainerExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerExecResponse) GetExitCode() int32
- func (x *ContainerExecResponse) GetOutput() isContainerExecResponse_Output
- func (x *ContainerExecResponse) GetStdout() []byte
- func (*ContainerExecResponse) ProtoMessage()
- func (x *ContainerExecResponse) ProtoReflect() protoreflect.Message
- func (x *ContainerExecResponse) Reset()
- func (x *ContainerExecResponse) String() string
- type ContainerExecResponse_ExitCode
- type ContainerExecResponse_Stdout
- type ContainerIdentificationRequest
- func (*ContainerIdentificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerIdentificationRequest) GetId() uint32
- func (*ContainerIdentificationRequest) ProtoMessage()
- func (x *ContainerIdentificationRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerIdentificationRequest) Reset()
- func (x *ContainerIdentificationRequest) String() string
- type ContainerLogsRequest
- func (*ContainerLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerLogsRequest) GetFollow() bool
- func (x *ContainerLogsRequest) GetIdentification() *ContainerIdentificationRequest
- func (*ContainerLogsRequest) ProtoMessage()
- func (x *ContainerLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerLogsRequest) Reset()
- func (x *ContainerLogsRequest) String() string
- type ContainerLogsResponse
- func (*ContainerLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerLogsResponse) GetContent() []byte
- func (*ContainerLogsResponse) ProtoMessage()
- func (x *ContainerLogsResponse) ProtoReflect() protoreflect.Message
- func (x *ContainerLogsResponse) Reset()
- func (x *ContainerLogsResponse) String() string
- type ContainerServiceClient
- type ContainerServiceServer
- type ContainerService_ExecClient
- type ContainerService_ExecServer
- type ContainerService_ListClient
- type ContainerService_ListServer
- type ContainerService_LogsClient
- type ContainerService_LogsServer
- type IntrospectionResponse
- func (*IntrospectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IntrospectionResponse) GetVersion() string
- func (*IntrospectionResponse) ProtoMessage()
- func (x *IntrospectionResponse) ProtoReflect() protoreflect.Message
- func (x *IntrospectionResponse) Reset()
- func (x *IntrospectionResponse) String() string
- type IntrospectionServiceClient
- type IntrospectionServiceServer
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetCreatedAt() *timestamppb.Timestamp
- func (x *Network) GetId() uint32
- func (x *Network) GetInternetAccess() bool
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type NetworkCreationRequest
- func (*NetworkCreationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkCreationRequest) GetInternetAccess() bool
- func (*NetworkCreationRequest) ProtoMessage()
- func (x *NetworkCreationRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkCreationRequest) Reset()
- func (x *NetworkCreationRequest) String() string
- type NetworkIdentificationRequest
- func (*NetworkIdentificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkIdentificationRequest) GetId() uint32
- func (*NetworkIdentificationRequest) ProtoMessage()
- func (x *NetworkIdentificationRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkIdentificationRequest) Reset()
- func (x *NetworkIdentificationRequest) String() string
- type NetworkServiceClient
- type NetworkServiceServer
- type NetworkService_ListClient
- type NetworkService_ListServer
- type NetworkUpdateRequest
- func (*NetworkUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkUpdateRequest) GetIdentification() *NetworkIdentificationRequest
- func (x *NetworkUpdateRequest) GetUpdate() *NetworkCreationRequest
- func (*NetworkUpdateRequest) ProtoMessage()
- func (x *NetworkUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkUpdateRequest) Reset()
- func (x *NetworkUpdateRequest) String() string
- type Subnetwork
- func (*Subnetwork) Descriptor() ([]byte, []int)deprecated
- func (x *Subnetwork) GetAddress() uint32
- func (x *Subnetwork) GetCreatedAt() *timestamppb.Timestamp
- func (x *Subnetwork) GetId() uint32
- func (x *Subnetwork) GetNetworkId() uint32
- func (x *Subnetwork) GetPrefixLength() uint32
- func (*Subnetwork) ProtoMessage()
- func (x *Subnetwork) ProtoReflect() protoreflect.Message
- func (x *Subnetwork) Reset()
- func (x *Subnetwork) String() string
- type SubnetworkCreationRequest
- func (*SubnetworkCreationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetworkCreationRequest) GetAddress() uint32
- func (x *SubnetworkCreationRequest) GetNetworkId() uint32
- func (x *SubnetworkCreationRequest) GetPrefixLength() uint32
- func (*SubnetworkCreationRequest) ProtoMessage()
- func (x *SubnetworkCreationRequest) ProtoReflect() protoreflect.Message
- func (x *SubnetworkCreationRequest) Reset()
- func (x *SubnetworkCreationRequest) String() string
- type SubnetworkIdentificationRequest
- func (*SubnetworkIdentificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetworkIdentificationRequest) GetId() uint32
- func (*SubnetworkIdentificationRequest) ProtoMessage()
- func (x *SubnetworkIdentificationRequest) ProtoReflect() protoreflect.Message
- func (x *SubnetworkIdentificationRequest) Reset()
- func (x *SubnetworkIdentificationRequest) String() string
- type SubnetworkServiceClient
- type SubnetworkServiceServer
- type SubnetworkService_ListClient
- type SubnetworkService_ListServer
- type SubnetworkUpdateRequest
- func (*SubnetworkUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetworkUpdateRequest) GetIdentification() *SubnetworkIdentificationRequest
- func (x *SubnetworkUpdateRequest) GetUpdate() *SubnetworkCreationRequest
- func (*SubnetworkUpdateRequest) ProtoMessage()
- func (x *SubnetworkUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SubnetworkUpdateRequest) Reset()
- func (x *SubnetworkUpdateRequest) String() string
- type UnimplementedContainerServiceServer
- func (UnimplementedContainerServiceServer) Create(context.Context, *ContainerCreationRequest) (*Container, error)
- func (UnimplementedContainerServiceServer) Delete(context.Context, *ContainerIdentificationRequest) (*emptypb.Empty, error)
- func (UnimplementedContainerServiceServer) Exec(grpc.BidiStreamingServer[ContainerExecRequest, ContainerExecResponse]) error
- func (UnimplementedContainerServiceServer) Get(context.Context, *ContainerIdentificationRequest) (*Container, error)
- func (UnimplementedContainerServiceServer) List(*emptypb.Empty, grpc.ServerStreamingServer[Container]) error
- func (UnimplementedContainerServiceServer) Logs(*ContainerLogsRequest, grpc.ServerStreamingServer[ContainerLogsResponse]) error
- func (UnimplementedContainerServiceServer) Start(context.Context, *ContainerIdentificationRequest) (*Container, error)
- func (UnimplementedContainerServiceServer) Stop(context.Context, *ContainerIdentificationRequest) (*Container, error)
- type UnimplementedIntrospectionServiceServer
- type UnimplementedNetworkServiceServer
- func (UnimplementedNetworkServiceServer) Create(context.Context, *NetworkCreationRequest) (*Network, error)
- func (UnimplementedNetworkServiceServer) Delete(context.Context, *NetworkIdentificationRequest) (*emptypb.Empty, error)
- func (UnimplementedNetworkServiceServer) Get(context.Context, *NetworkIdentificationRequest) (*Network, error)
- func (UnimplementedNetworkServiceServer) List(*emptypb.Empty, grpc.ServerStreamingServer[Network]) error
- func (UnimplementedNetworkServiceServer) Update(context.Context, *NetworkUpdateRequest) (*Network, error)
- type UnimplementedSubnetworkServiceServer
- func (UnimplementedSubnetworkServiceServer) Create(context.Context, *SubnetworkCreationRequest) (*Subnetwork, error)
- func (UnimplementedSubnetworkServiceServer) Delete(context.Context, *SubnetworkIdentificationRequest) (*emptypb.Empty, error)
- func (UnimplementedSubnetworkServiceServer) Get(context.Context, *SubnetworkIdentificationRequest) (*Subnetwork, error)
- func (UnimplementedSubnetworkServiceServer) List(*emptypb.Empty, grpc.ServerStreamingServer[Subnetwork]) error
- func (UnimplementedSubnetworkServiceServer) Update(context.Context, *SubnetworkUpdateRequest) (*Subnetwork, error)
- type UnsafeContainerServiceServer
- type UnsafeIntrospectionServiceServer
- type UnsafeNetworkServiceServer
- type UnsafeSubnetworkServiceServer
Constants ¶
const ( ContainerService_Get_FullMethodName = "/bx2cloud.ContainerService/Get" ContainerService_List_FullMethodName = "/bx2cloud.ContainerService/List" ContainerService_Create_FullMethodName = "/bx2cloud.ContainerService/Create" ContainerService_Delete_FullMethodName = "/bx2cloud.ContainerService/Delete" ContainerService_Exec_FullMethodName = "/bx2cloud.ContainerService/Exec" ContainerService_Start_FullMethodName = "/bx2cloud.ContainerService/Start" ContainerService_Stop_FullMethodName = "/bx2cloud.ContainerService/Stop" ContainerService_Logs_FullMethodName = "/bx2cloud.ContainerService/Logs" )
const ( NetworkService_Get_FullMethodName = "/bx2cloud.NetworkService/Get" NetworkService_List_FullMethodName = "/bx2cloud.NetworkService/List" NetworkService_Create_FullMethodName = "/bx2cloud.NetworkService/Create" NetworkService_Update_FullMethodName = "/bx2cloud.NetworkService/Update" NetworkService_Delete_FullMethodName = "/bx2cloud.NetworkService/Delete" )
const ( SubnetworkService_Get_FullMethodName = "/bx2cloud.SubnetworkService/Get" SubnetworkService_List_FullMethodName = "/bx2cloud.SubnetworkService/List" SubnetworkService_Create_FullMethodName = "/bx2cloud.SubnetworkService/Create" SubnetworkService_Update_FullMethodName = "/bx2cloud.SubnetworkService/Update" SubnetworkService_Delete_FullMethodName = "/bx2cloud.SubnetworkService/Delete" )
const (
IntrospectionService_Get_FullMethodName = "/bx2cloud.IntrospectionService/Get"
)
Variables ¶
var ContainerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bx2cloud.ContainerService", HandlerType: (*ContainerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ContainerService_Get_Handler, }, { MethodName: "Create", Handler: _ContainerService_Create_Handler, }, { MethodName: "Delete", Handler: _ContainerService_Delete_Handler, }, { MethodName: "Start", Handler: _ContainerService_Start_Handler, }, { MethodName: "Stop", Handler: _ContainerService_Stop_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ContainerService_List_Handler, ServerStreams: true, }, { StreamName: "Exec", Handler: _ContainerService_Exec_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Logs", Handler: _ContainerService_Logs_Handler, ServerStreams: true, }, }, Metadata: "container.proto", }
ContainerService_ServiceDesc is the grpc.ServiceDesc for ContainerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_container_proto protoreflect.FileDescriptor
var File_introspection_proto protoreflect.FileDescriptor
var File_network_proto protoreflect.FileDescriptor
var File_subnetwork_proto protoreflect.FileDescriptor
var IntrospectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bx2cloud.IntrospectionService", HandlerType: (*IntrospectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _IntrospectionService_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "introspection.proto", }
IntrospectionService_ServiceDesc is the grpc.ServiceDesc for IntrospectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bx2cloud.NetworkService", HandlerType: (*NetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _NetworkService_Get_Handler, }, { MethodName: "Create", Handler: _NetworkService_Create_Handler, }, { MethodName: "Update", Handler: _NetworkService_Update_Handler, }, { MethodName: "Delete", Handler: _NetworkService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _NetworkService_List_Handler, ServerStreams: true, }, }, Metadata: "network.proto", }
NetworkService_ServiceDesc is the grpc.ServiceDesc for NetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SubnetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bx2cloud.SubnetworkService", HandlerType: (*SubnetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _SubnetworkService_Get_Handler, }, { MethodName: "Create", Handler: _SubnetworkService_Create_Handler, }, { MethodName: "Update", Handler: _SubnetworkService_Update_Handler, }, { MethodName: "Delete", Handler: _SubnetworkService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _SubnetworkService_List_Handler, ServerStreams: true, }, }, Metadata: "subnetwork.proto", }
SubnetworkService_ServiceDesc is the grpc.ServiceDesc for SubnetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterContainerServiceServer ¶
func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
func RegisterIntrospectionServiceServer ¶ added in v0.1.2
func RegisterIntrospectionServiceServer(s grpc.ServiceRegistrar, srv IntrospectionServiceServer)
func RegisterNetworkServiceServer ¶
func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
func RegisterSubnetworkServiceServer ¶
func RegisterSubnetworkServiceServer(s grpc.ServiceRegistrar, srv SubnetworkServiceServer)
Types ¶
type Container ¶
type Container struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Address uint32 `protobuf:"fixed32,2,opt,name=address,proto3" json:"address,omitempty"`
PrefixLength uint32 `protobuf:"fixed32,3,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
StartedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
SubnetworkId uint32 `protobuf:"varint,8,opt,name=subnetwork_id,json=subnetworkId,proto3" json:"subnetwork_id,omitempty"`
Entrypoint []string `protobuf:"bytes,9,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
Cmd []string `protobuf:"bytes,10,rep,name=cmd,proto3" json:"cmd,omitempty"`
Env []string `protobuf:"bytes,11,rep,name=env,proto3" json:"env,omitempty"`
// contains filtered or unexported fields
}
func (*Container) Descriptor
deprecated
func (*Container) GetAddress ¶
func (*Container) GetCreatedAt ¶
func (x *Container) GetCreatedAt() *timestamppb.Timestamp
func (*Container) GetEntrypoint ¶
func (*Container) GetPrefixLength ¶
func (*Container) GetStartedAt ¶
func (x *Container) GetStartedAt() *timestamppb.Timestamp
func (*Container) GetSubnetworkId ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ContainerCreationRequest ¶
type ContainerCreationRequest struct {
SubnetworkId uint32 `protobuf:"varint,1,opt,name=subnetwork_id,json=subnetworkId,proto3" json:"subnetwork_id,omitempty"`
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
Entrypoint []string `protobuf:"bytes,3,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
Cmd []string `protobuf:"bytes,4,rep,name=cmd,proto3" json:"cmd,omitempty"`
Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerCreationRequest) Descriptor
deprecated
func (*ContainerCreationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerCreationRequest.ProtoReflect.Descriptor instead.
func (*ContainerCreationRequest) GetCmd ¶
func (x *ContainerCreationRequest) GetCmd() []string
func (*ContainerCreationRequest) GetEntrypoint ¶
func (x *ContainerCreationRequest) GetEntrypoint() []string
func (*ContainerCreationRequest) GetEnv ¶
func (x *ContainerCreationRequest) GetEnv() []string
func (*ContainerCreationRequest) GetImage ¶
func (x *ContainerCreationRequest) GetImage() string
func (*ContainerCreationRequest) GetSubnetworkId ¶
func (x *ContainerCreationRequest) GetSubnetworkId() uint32
func (*ContainerCreationRequest) ProtoMessage ¶
func (*ContainerCreationRequest) ProtoMessage()
func (*ContainerCreationRequest) ProtoReflect ¶
func (x *ContainerCreationRequest) ProtoReflect() protoreflect.Message
func (*ContainerCreationRequest) Reset ¶
func (x *ContainerCreationRequest) Reset()
func (*ContainerCreationRequest) String ¶
func (x *ContainerCreationRequest) String() string
type ContainerExecInitializationRequest ¶
type ContainerExecInitializationRequest struct {
Identification *ContainerIdentificationRequest `protobuf:"bytes,1,opt,name=identification,proto3" json:"identification,omitempty"`
ConsoleWidth int32 `protobuf:"varint,2,opt,name=console_width,json=consoleWidth,proto3" json:"console_width,omitempty"`
ConsoleHeight int32 `protobuf:"varint,3,opt,name=console_height,json=consoleHeight,proto3" json:"console_height,omitempty"`
Terminal *string `protobuf:"bytes,4,opt,name=terminal,proto3,oneof" json:"terminal,omitempty"`
Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerExecInitializationRequest) Descriptor
deprecated
func (*ContainerExecInitializationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerExecInitializationRequest.ProtoReflect.Descriptor instead.
func (*ContainerExecInitializationRequest) GetArgs ¶
func (x *ContainerExecInitializationRequest) GetArgs() []string
func (*ContainerExecInitializationRequest) GetConsoleHeight ¶
func (x *ContainerExecInitializationRequest) GetConsoleHeight() int32
func (*ContainerExecInitializationRequest) GetConsoleWidth ¶
func (x *ContainerExecInitializationRequest) GetConsoleWidth() int32
func (*ContainerExecInitializationRequest) GetIdentification ¶
func (x *ContainerExecInitializationRequest) GetIdentification() *ContainerIdentificationRequest
func (*ContainerExecInitializationRequest) GetTerminal ¶
func (x *ContainerExecInitializationRequest) GetTerminal() string
func (*ContainerExecInitializationRequest) ProtoMessage ¶
func (*ContainerExecInitializationRequest) ProtoMessage()
func (*ContainerExecInitializationRequest) ProtoReflect ¶
func (x *ContainerExecInitializationRequest) ProtoReflect() protoreflect.Message
func (*ContainerExecInitializationRequest) Reset ¶
func (x *ContainerExecInitializationRequest) Reset()
func (*ContainerExecInitializationRequest) String ¶
func (x *ContainerExecInitializationRequest) String() string
type ContainerExecRequest ¶
type ContainerExecRequest struct {
// Types that are valid to be assigned to Input:
//
// *ContainerExecRequest_Initialization
// *ContainerExecRequest_Stdin
Input isContainerExecRequest_Input `protobuf_oneof:"input"`
// contains filtered or unexported fields
}
func (*ContainerExecRequest) Descriptor
deprecated
func (*ContainerExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerExecRequest.ProtoReflect.Descriptor instead.
func (*ContainerExecRequest) GetInitialization ¶
func (x *ContainerExecRequest) GetInitialization() *ContainerExecInitializationRequest
func (*ContainerExecRequest) GetInput ¶
func (x *ContainerExecRequest) GetInput() isContainerExecRequest_Input
func (*ContainerExecRequest) GetStdin ¶
func (x *ContainerExecRequest) GetStdin() []byte
func (*ContainerExecRequest) ProtoMessage ¶
func (*ContainerExecRequest) ProtoMessage()
func (*ContainerExecRequest) ProtoReflect ¶
func (x *ContainerExecRequest) ProtoReflect() protoreflect.Message
func (*ContainerExecRequest) Reset ¶
func (x *ContainerExecRequest) Reset()
func (*ContainerExecRequest) String ¶
func (x *ContainerExecRequest) String() string
type ContainerExecRequest_Initialization ¶
type ContainerExecRequest_Initialization struct {
Initialization *ContainerExecInitializationRequest `protobuf:"bytes,1,opt,name=initialization,proto3,oneof"`
}
type ContainerExecRequest_Stdin ¶
type ContainerExecRequest_Stdin struct {
Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3,oneof"`
}
type ContainerExecResponse ¶
type ContainerExecResponse struct {
// Types that are valid to be assigned to Output:
//
// *ContainerExecResponse_Stdout
// *ContainerExecResponse_ExitCode
Output isContainerExecResponse_Output `protobuf_oneof:"output"`
// contains filtered or unexported fields
}
func (*ContainerExecResponse) Descriptor
deprecated
func (*ContainerExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContainerExecResponse.ProtoReflect.Descriptor instead.
func (*ContainerExecResponse) GetExitCode ¶
func (x *ContainerExecResponse) GetExitCode() int32
func (*ContainerExecResponse) GetOutput ¶
func (x *ContainerExecResponse) GetOutput() isContainerExecResponse_Output
func (*ContainerExecResponse) GetStdout ¶
func (x *ContainerExecResponse) GetStdout() []byte
func (*ContainerExecResponse) ProtoMessage ¶
func (*ContainerExecResponse) ProtoMessage()
func (*ContainerExecResponse) ProtoReflect ¶
func (x *ContainerExecResponse) ProtoReflect() protoreflect.Message
func (*ContainerExecResponse) Reset ¶
func (x *ContainerExecResponse) Reset()
func (*ContainerExecResponse) String ¶
func (x *ContainerExecResponse) String() string
type ContainerExecResponse_ExitCode ¶
type ContainerExecResponse_ExitCode struct {
ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3,oneof"`
}
type ContainerExecResponse_Stdout ¶
type ContainerExecResponse_Stdout struct {
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"`
}
type ContainerIdentificationRequest ¶
type ContainerIdentificationRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerIdentificationRequest) Descriptor
deprecated
func (*ContainerIdentificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerIdentificationRequest.ProtoReflect.Descriptor instead.
func (*ContainerIdentificationRequest) GetId ¶
func (x *ContainerIdentificationRequest) GetId() uint32
func (*ContainerIdentificationRequest) ProtoMessage ¶
func (*ContainerIdentificationRequest) ProtoMessage()
func (*ContainerIdentificationRequest) ProtoReflect ¶
func (x *ContainerIdentificationRequest) ProtoReflect() protoreflect.Message
func (*ContainerIdentificationRequest) Reset ¶
func (x *ContainerIdentificationRequest) Reset()
func (*ContainerIdentificationRequest) String ¶
func (x *ContainerIdentificationRequest) String() string
type ContainerLogsRequest ¶ added in v0.1.3
type ContainerLogsRequest struct {
Identification *ContainerIdentificationRequest `protobuf:"bytes,1,opt,name=identification,proto3" json:"identification,omitempty"`
Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerLogsRequest) Descriptor
deprecated
added in
v0.1.3
func (*ContainerLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerLogsRequest.ProtoReflect.Descriptor instead.
func (*ContainerLogsRequest) GetFollow ¶ added in v0.1.3
func (x *ContainerLogsRequest) GetFollow() bool
func (*ContainerLogsRequest) GetIdentification ¶ added in v0.1.3
func (x *ContainerLogsRequest) GetIdentification() *ContainerIdentificationRequest
func (*ContainerLogsRequest) ProtoMessage ¶ added in v0.1.3
func (*ContainerLogsRequest) ProtoMessage()
func (*ContainerLogsRequest) ProtoReflect ¶ added in v0.1.3
func (x *ContainerLogsRequest) ProtoReflect() protoreflect.Message
func (*ContainerLogsRequest) Reset ¶ added in v0.1.3
func (x *ContainerLogsRequest) Reset()
func (*ContainerLogsRequest) String ¶ added in v0.1.3
func (x *ContainerLogsRequest) String() string
type ContainerLogsResponse ¶ added in v0.1.3
type ContainerLogsResponse struct {
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerLogsResponse) Descriptor
deprecated
added in
v0.1.3
func (*ContainerLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContainerLogsResponse.ProtoReflect.Descriptor instead.
func (*ContainerLogsResponse) GetContent ¶ added in v0.1.3
func (x *ContainerLogsResponse) GetContent() []byte
func (*ContainerLogsResponse) ProtoMessage ¶ added in v0.1.3
func (*ContainerLogsResponse) ProtoMessage()
func (*ContainerLogsResponse) ProtoReflect ¶ added in v0.1.3
func (x *ContainerLogsResponse) ProtoReflect() protoreflect.Message
func (*ContainerLogsResponse) Reset ¶ added in v0.1.3
func (x *ContainerLogsResponse) Reset()
func (*ContainerLogsResponse) String ¶ added in v0.1.3
func (x *ContainerLogsResponse) String() string
type ContainerServiceClient ¶
type ContainerServiceClient interface {
Get(ctx context.Context, in *ContainerIdentificationRequest, opts ...grpc.CallOption) (*Container, error)
List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Container], error)
Create(ctx context.Context, in *ContainerCreationRequest, opts ...grpc.CallOption) (*Container, error)
Delete(ctx context.Context, in *ContainerIdentificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Exec(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ContainerExecRequest, ContainerExecResponse], error)
Start(ctx context.Context, in *ContainerIdentificationRequest, opts ...grpc.CallOption) (*Container, error)
Stop(ctx context.Context, in *ContainerIdentificationRequest, opts ...grpc.CallOption) (*Container, error)
Logs(ctx context.Context, in *ContainerLogsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ContainerLogsResponse], error)
}
ContainerServiceClient is the client API for ContainerService 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 NewContainerServiceClient ¶
func NewContainerServiceClient(cc grpc.ClientConnInterface) ContainerServiceClient
type ContainerServiceServer ¶
type ContainerServiceServer interface {
Get(context.Context, *ContainerIdentificationRequest) (*Container, error)
List(*emptypb.Empty, grpc.ServerStreamingServer[Container]) error
Create(context.Context, *ContainerCreationRequest) (*Container, error)
Delete(context.Context, *ContainerIdentificationRequest) (*emptypb.Empty, error)
Exec(grpc.BidiStreamingServer[ContainerExecRequest, ContainerExecResponse]) error
Start(context.Context, *ContainerIdentificationRequest) (*Container, error)
Stop(context.Context, *ContainerIdentificationRequest) (*Container, error)
Logs(*ContainerLogsRequest, grpc.ServerStreamingServer[ContainerLogsResponse]) error
// contains filtered or unexported methods
}
ContainerServiceServer is the server API for ContainerService service. All implementations must embed UnimplementedContainerServiceServer for forward compatibility.
type ContainerService_ExecClient ¶
type ContainerService_ExecClient = grpc.BidiStreamingClient[ContainerExecRequest, ContainerExecResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ContainerService_ExecServer ¶
type ContainerService_ExecServer = grpc.BidiStreamingServer[ContainerExecRequest, ContainerExecResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ContainerService_ListClient ¶
type ContainerService_ListClient = grpc.ServerStreamingClient[Container]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ContainerService_ListServer ¶
type ContainerService_ListServer = grpc.ServerStreamingServer[Container]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ContainerService_LogsClient ¶ added in v0.1.3
type ContainerService_LogsClient = grpc.ServerStreamingClient[ContainerLogsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ContainerService_LogsServer ¶ added in v0.1.3
type ContainerService_LogsServer = grpc.ServerStreamingServer[ContainerLogsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type IntrospectionResponse ¶ added in v0.1.2
type IntrospectionResponse struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*IntrospectionResponse) Descriptor
deprecated
added in
v0.1.2
func (*IntrospectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use IntrospectionResponse.ProtoReflect.Descriptor instead.
func (*IntrospectionResponse) GetVersion ¶ added in v0.1.2
func (x *IntrospectionResponse) GetVersion() string
func (*IntrospectionResponse) ProtoMessage ¶ added in v0.1.2
func (*IntrospectionResponse) ProtoMessage()
func (*IntrospectionResponse) ProtoReflect ¶ added in v0.1.2
func (x *IntrospectionResponse) ProtoReflect() protoreflect.Message
func (*IntrospectionResponse) Reset ¶ added in v0.1.2
func (x *IntrospectionResponse) Reset()
func (*IntrospectionResponse) String ¶ added in v0.1.2
func (x *IntrospectionResponse) String() string
type IntrospectionServiceClient ¶ added in v0.1.2
type IntrospectionServiceClient interface {
Get(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IntrospectionResponse, error)
}
IntrospectionServiceClient is the client API for IntrospectionService 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 NewIntrospectionServiceClient ¶ added in v0.1.2
func NewIntrospectionServiceClient(cc grpc.ClientConnInterface) IntrospectionServiceClient
type IntrospectionServiceServer ¶ added in v0.1.2
type IntrospectionServiceServer interface {
Get(context.Context, *emptypb.Empty) (*IntrospectionResponse, error)
// contains filtered or unexported methods
}
IntrospectionServiceServer is the server API for IntrospectionService service. All implementations must embed UnimplementedIntrospectionServiceServer for forward compatibility.
type Network ¶
type Network struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
InternetAccess bool `protobuf:"varint,2,opt,name=internet_access,json=internetAccess,proto3" json:"internet_access,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
// contains filtered or unexported fields
}
func (*Network) Descriptor
deprecated
func (*Network) GetCreatedAt ¶
func (x *Network) GetCreatedAt() *timestamppb.Timestamp
func (*Network) GetInternetAccess ¶
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type NetworkCreationRequest ¶
type NetworkCreationRequest struct {
InternetAccess bool `protobuf:"varint,1,opt,name=internet_access,json=internetAccess,proto3" json:"internet_access,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkCreationRequest) Descriptor
deprecated
func (*NetworkCreationRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkCreationRequest.ProtoReflect.Descriptor instead.
func (*NetworkCreationRequest) GetInternetAccess ¶
func (x *NetworkCreationRequest) GetInternetAccess() bool
func (*NetworkCreationRequest) ProtoMessage ¶
func (*NetworkCreationRequest) ProtoMessage()
func (*NetworkCreationRequest) ProtoReflect ¶
func (x *NetworkCreationRequest) ProtoReflect() protoreflect.Message
func (*NetworkCreationRequest) Reset ¶
func (x *NetworkCreationRequest) Reset()
func (*NetworkCreationRequest) String ¶
func (x *NetworkCreationRequest) String() string
type NetworkIdentificationRequest ¶
type NetworkIdentificationRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkIdentificationRequest) Descriptor
deprecated
func (*NetworkIdentificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkIdentificationRequest.ProtoReflect.Descriptor instead.
func (*NetworkIdentificationRequest) GetId ¶
func (x *NetworkIdentificationRequest) GetId() uint32
func (*NetworkIdentificationRequest) ProtoMessage ¶
func (*NetworkIdentificationRequest) ProtoMessage()
func (*NetworkIdentificationRequest) ProtoReflect ¶
func (x *NetworkIdentificationRequest) ProtoReflect() protoreflect.Message
func (*NetworkIdentificationRequest) Reset ¶
func (x *NetworkIdentificationRequest) Reset()
func (*NetworkIdentificationRequest) String ¶
func (x *NetworkIdentificationRequest) String() string
type NetworkServiceClient ¶
type NetworkServiceClient interface {
Get(ctx context.Context, in *NetworkIdentificationRequest, opts ...grpc.CallOption) (*Network, error)
List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Network], error)
Create(ctx context.Context, in *NetworkCreationRequest, opts ...grpc.CallOption) (*Network, error)
Update(ctx context.Context, in *NetworkUpdateRequest, opts ...grpc.CallOption) (*Network, error)
Delete(ctx context.Context, in *NetworkIdentificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
NetworkServiceClient is the client API for NetworkService 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 NewNetworkServiceClient ¶
func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient
type NetworkServiceServer ¶
type NetworkServiceServer interface {
Get(context.Context, *NetworkIdentificationRequest) (*Network, error)
List(*emptypb.Empty, grpc.ServerStreamingServer[Network]) error
Create(context.Context, *NetworkCreationRequest) (*Network, error)
Update(context.Context, *NetworkUpdateRequest) (*Network, error)
Delete(context.Context, *NetworkIdentificationRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
NetworkServiceServer is the server API for NetworkService service. All implementations must embed UnimplementedNetworkServiceServer for forward compatibility.
type NetworkService_ListClient ¶
type NetworkService_ListClient = grpc.ServerStreamingClient[Network]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type NetworkService_ListServer ¶
type NetworkService_ListServer = grpc.ServerStreamingServer[Network]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type NetworkUpdateRequest ¶
type NetworkUpdateRequest struct {
Identification *NetworkIdentificationRequest `protobuf:"bytes,1,opt,name=identification,proto3" json:"identification,omitempty"`
Update *NetworkCreationRequest `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkUpdateRequest) Descriptor
deprecated
func (*NetworkUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkUpdateRequest.ProtoReflect.Descriptor instead.
func (*NetworkUpdateRequest) GetIdentification ¶
func (x *NetworkUpdateRequest) GetIdentification() *NetworkIdentificationRequest
func (*NetworkUpdateRequest) GetUpdate ¶
func (x *NetworkUpdateRequest) GetUpdate() *NetworkCreationRequest
func (*NetworkUpdateRequest) ProtoMessage ¶
func (*NetworkUpdateRequest) ProtoMessage()
func (*NetworkUpdateRequest) ProtoReflect ¶
func (x *NetworkUpdateRequest) ProtoReflect() protoreflect.Message
func (*NetworkUpdateRequest) Reset ¶
func (x *NetworkUpdateRequest) Reset()
func (*NetworkUpdateRequest) String ¶
func (x *NetworkUpdateRequest) String() string
type Subnetwork ¶
type Subnetwork struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
NetworkId uint32 `protobuf:"varint,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
Address uint32 `protobuf:"fixed32,3,opt,name=address,proto3" json:"address,omitempty"`
PrefixLength uint32 `protobuf:"fixed32,4,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
// contains filtered or unexported fields
}
func (*Subnetwork) Descriptor
deprecated
func (*Subnetwork) Descriptor() ([]byte, []int)
Deprecated: Use Subnetwork.ProtoReflect.Descriptor instead.
func (*Subnetwork) GetAddress ¶
func (x *Subnetwork) GetAddress() uint32
func (*Subnetwork) GetCreatedAt ¶
func (x *Subnetwork) GetCreatedAt() *timestamppb.Timestamp
func (*Subnetwork) GetId ¶
func (x *Subnetwork) GetId() uint32
func (*Subnetwork) GetNetworkId ¶
func (x *Subnetwork) GetNetworkId() uint32
func (*Subnetwork) GetPrefixLength ¶
func (x *Subnetwork) GetPrefixLength() uint32
func (*Subnetwork) ProtoMessage ¶
func (*Subnetwork) ProtoMessage()
func (*Subnetwork) ProtoReflect ¶
func (x *Subnetwork) ProtoReflect() protoreflect.Message
func (*Subnetwork) Reset ¶
func (x *Subnetwork) Reset()
func (*Subnetwork) String ¶
func (x *Subnetwork) String() string
type SubnetworkCreationRequest ¶
type SubnetworkCreationRequest struct {
NetworkId uint32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
Address uint32 `protobuf:"fixed32,2,opt,name=address,proto3" json:"address,omitempty"`
PrefixLength uint32 `protobuf:"fixed32,3,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
// contains filtered or unexported fields
}
func (*SubnetworkCreationRequest) Descriptor
deprecated
func (*SubnetworkCreationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubnetworkCreationRequest.ProtoReflect.Descriptor instead.
func (*SubnetworkCreationRequest) GetAddress ¶
func (x *SubnetworkCreationRequest) GetAddress() uint32
func (*SubnetworkCreationRequest) GetNetworkId ¶
func (x *SubnetworkCreationRequest) GetNetworkId() uint32
func (*SubnetworkCreationRequest) GetPrefixLength ¶
func (x *SubnetworkCreationRequest) GetPrefixLength() uint32
func (*SubnetworkCreationRequest) ProtoMessage ¶
func (*SubnetworkCreationRequest) ProtoMessage()
func (*SubnetworkCreationRequest) ProtoReflect ¶
func (x *SubnetworkCreationRequest) ProtoReflect() protoreflect.Message
func (*SubnetworkCreationRequest) Reset ¶
func (x *SubnetworkCreationRequest) Reset()
func (*SubnetworkCreationRequest) String ¶
func (x *SubnetworkCreationRequest) String() string
type SubnetworkIdentificationRequest ¶
type SubnetworkIdentificationRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*SubnetworkIdentificationRequest) Descriptor
deprecated
func (*SubnetworkIdentificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubnetworkIdentificationRequest.ProtoReflect.Descriptor instead.
func (*SubnetworkIdentificationRequest) GetId ¶
func (x *SubnetworkIdentificationRequest) GetId() uint32
func (*SubnetworkIdentificationRequest) ProtoMessage ¶
func (*SubnetworkIdentificationRequest) ProtoMessage()
func (*SubnetworkIdentificationRequest) ProtoReflect ¶
func (x *SubnetworkIdentificationRequest) ProtoReflect() protoreflect.Message
func (*SubnetworkIdentificationRequest) Reset ¶
func (x *SubnetworkIdentificationRequest) Reset()
func (*SubnetworkIdentificationRequest) String ¶
func (x *SubnetworkIdentificationRequest) String() string
type SubnetworkServiceClient ¶
type SubnetworkServiceClient interface {
Get(ctx context.Context, in *SubnetworkIdentificationRequest, opts ...grpc.CallOption) (*Subnetwork, error)
List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Subnetwork], error)
Create(ctx context.Context, in *SubnetworkCreationRequest, opts ...grpc.CallOption) (*Subnetwork, error)
Update(ctx context.Context, in *SubnetworkUpdateRequest, opts ...grpc.CallOption) (*Subnetwork, error)
Delete(ctx context.Context, in *SubnetworkIdentificationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
SubnetworkServiceClient is the client API for SubnetworkService 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 NewSubnetworkServiceClient ¶
func NewSubnetworkServiceClient(cc grpc.ClientConnInterface) SubnetworkServiceClient
type SubnetworkServiceServer ¶
type SubnetworkServiceServer interface {
Get(context.Context, *SubnetworkIdentificationRequest) (*Subnetwork, error)
List(*emptypb.Empty, grpc.ServerStreamingServer[Subnetwork]) error
Create(context.Context, *SubnetworkCreationRequest) (*Subnetwork, error)
Update(context.Context, *SubnetworkUpdateRequest) (*Subnetwork, error)
Delete(context.Context, *SubnetworkIdentificationRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
SubnetworkServiceServer is the server API for SubnetworkService service. All implementations must embed UnimplementedSubnetworkServiceServer for forward compatibility.
type SubnetworkService_ListClient ¶
type SubnetworkService_ListClient = grpc.ServerStreamingClient[Subnetwork]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SubnetworkService_ListServer ¶
type SubnetworkService_ListServer = grpc.ServerStreamingServer[Subnetwork]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type SubnetworkUpdateRequest ¶
type SubnetworkUpdateRequest struct {
Identification *SubnetworkIdentificationRequest `protobuf:"bytes,1,opt,name=identification,proto3" json:"identification,omitempty"`
// TODO: different message for update body, disallow passing different networkId
Update *SubnetworkCreationRequest `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
// contains filtered or unexported fields
}
func (*SubnetworkUpdateRequest) Descriptor
deprecated
func (*SubnetworkUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubnetworkUpdateRequest.ProtoReflect.Descriptor instead.
func (*SubnetworkUpdateRequest) GetIdentification ¶
func (x *SubnetworkUpdateRequest) GetIdentification() *SubnetworkIdentificationRequest
func (*SubnetworkUpdateRequest) GetUpdate ¶
func (x *SubnetworkUpdateRequest) GetUpdate() *SubnetworkCreationRequest
func (*SubnetworkUpdateRequest) ProtoMessage ¶
func (*SubnetworkUpdateRequest) ProtoMessage()
func (*SubnetworkUpdateRequest) ProtoReflect ¶
func (x *SubnetworkUpdateRequest) ProtoReflect() protoreflect.Message
func (*SubnetworkUpdateRequest) Reset ¶
func (x *SubnetworkUpdateRequest) Reset()
func (*SubnetworkUpdateRequest) String ¶
func (x *SubnetworkUpdateRequest) String() string
type UnimplementedContainerServiceServer ¶
type UnimplementedContainerServiceServer struct{}
UnimplementedContainerServiceServer 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 (UnimplementedContainerServiceServer) Create ¶
func (UnimplementedContainerServiceServer) Create(context.Context, *ContainerCreationRequest) (*Container, error)
func (UnimplementedContainerServiceServer) Delete ¶
func (UnimplementedContainerServiceServer) Delete(context.Context, *ContainerIdentificationRequest) (*emptypb.Empty, error)
func (UnimplementedContainerServiceServer) List ¶
func (UnimplementedContainerServiceServer) List(*emptypb.Empty, grpc.ServerStreamingServer[Container]) error
func (UnimplementedContainerServiceServer) Start ¶
func (UnimplementedContainerServiceServer) Start(context.Context, *ContainerIdentificationRequest) (*Container, error)
func (UnimplementedContainerServiceServer) Stop ¶
func (UnimplementedContainerServiceServer) Stop(context.Context, *ContainerIdentificationRequest) (*Container, error)
type UnimplementedIntrospectionServiceServer ¶ added in v0.1.2
type UnimplementedIntrospectionServiceServer struct{}
UnimplementedIntrospectionServiceServer 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 (UnimplementedIntrospectionServiceServer) Get ¶ added in v0.1.2
func (UnimplementedIntrospectionServiceServer) Get(context.Context, *emptypb.Empty) (*IntrospectionResponse, error)
type UnimplementedNetworkServiceServer ¶
type UnimplementedNetworkServiceServer struct{}
UnimplementedNetworkServiceServer 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 (UnimplementedNetworkServiceServer) Create ¶
func (UnimplementedNetworkServiceServer) Create(context.Context, *NetworkCreationRequest) (*Network, error)
func (UnimplementedNetworkServiceServer) Delete ¶
func (UnimplementedNetworkServiceServer) Delete(context.Context, *NetworkIdentificationRequest) (*emptypb.Empty, error)
func (UnimplementedNetworkServiceServer) Get ¶
func (UnimplementedNetworkServiceServer) Get(context.Context, *NetworkIdentificationRequest) (*Network, error)
func (UnimplementedNetworkServiceServer) List ¶
func (UnimplementedNetworkServiceServer) List(*emptypb.Empty, grpc.ServerStreamingServer[Network]) error
func (UnimplementedNetworkServiceServer) Update ¶
func (UnimplementedNetworkServiceServer) Update(context.Context, *NetworkUpdateRequest) (*Network, error)
type UnimplementedSubnetworkServiceServer ¶
type UnimplementedSubnetworkServiceServer struct{}
UnimplementedSubnetworkServiceServer 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 (UnimplementedSubnetworkServiceServer) Create ¶
func (UnimplementedSubnetworkServiceServer) Create(context.Context, *SubnetworkCreationRequest) (*Subnetwork, error)
func (UnimplementedSubnetworkServiceServer) Delete ¶
func (UnimplementedSubnetworkServiceServer) Delete(context.Context, *SubnetworkIdentificationRequest) (*emptypb.Empty, error)
func (UnimplementedSubnetworkServiceServer) List ¶
func (UnimplementedSubnetworkServiceServer) List(*emptypb.Empty, grpc.ServerStreamingServer[Subnetwork]) error
func (UnimplementedSubnetworkServiceServer) Update ¶
func (UnimplementedSubnetworkServiceServer) Update(context.Context, *SubnetworkUpdateRequest) (*Subnetwork, error)
type UnsafeContainerServiceServer ¶
type UnsafeContainerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContainerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContainerServiceServer will result in compilation errors.
type UnsafeIntrospectionServiceServer ¶ added in v0.1.2
type UnsafeIntrospectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIntrospectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntrospectionServiceServer will result in compilation errors.
type UnsafeNetworkServiceServer ¶
type UnsafeNetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServiceServer will result in compilation errors.
type UnsafeSubnetworkServiceServer ¶
type UnsafeSubnetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSubnetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SubnetworkServiceServer will result in compilation errors.