pb

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	IntrospectionService_Get_FullMethodName = "/bx2cloud.IntrospectionService/Get"
)

Variables

View Source
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)

View Source
var File_container_proto protoreflect.FileDescriptor
View Source
var File_introspection_proto protoreflect.FileDescriptor
View Source
var File_network_proto protoreflect.FileDescriptor
View Source
var File_subnetwork_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetAddress

func (x *Container) GetAddress() uint32

func (*Container) GetCmd

func (x *Container) GetCmd() []string

func (*Container) GetCreatedAt

func (x *Container) GetCreatedAt() *timestamppb.Timestamp

func (*Container) GetEntrypoint

func (x *Container) GetEntrypoint() []string

func (*Container) GetEnv

func (x *Container) GetEnv() []string

func (*Container) GetId

func (x *Container) GetId() uint32

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) GetPrefixLength

func (x *Container) GetPrefixLength() uint32

func (*Container) GetStartedAt

func (x *Container) GetStartedAt() *timestamppb.Timestamp

func (*Container) GetStatus

func (x *Container) GetStatus() string

func (*Container) GetSubnetworkId

func (x *Container) GetSubnetworkId() uint32

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

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 (*ContainerExecInitializationRequest) GetConsoleHeight

func (x *ContainerExecInitializationRequest) GetConsoleHeight() int32

func (*ContainerExecInitializationRequest) GetConsoleWidth

func (x *ContainerExecInitializationRequest) GetConsoleWidth() int32

func (*ContainerExecInitializationRequest) GetIdentification

func (*ContainerExecInitializationRequest) GetTerminal

func (x *ContainerExecInitializationRequest) GetTerminal() string

func (*ContainerExecInitializationRequest) ProtoMessage

func (*ContainerExecInitializationRequest) ProtoMessage()

func (*ContainerExecInitializationRequest) ProtoReflect

func (*ContainerExecInitializationRequest) Reset

func (*ContainerExecInitializationRequest) 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 (*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 (*ContainerIdentificationRequest) ProtoMessage

func (*ContainerIdentificationRequest) ProtoMessage()

func (*ContainerIdentificationRequest) ProtoReflect

func (*ContainerIdentificationRequest) Reset

func (x *ContainerIdentificationRequest) Reset()

func (*ContainerIdentificationRequest) 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

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.

type ContainerServiceServer

ContainerServiceServer is the server API for ContainerService service. All implementations must embed UnimplementedContainerServiceServer for forward compatibility.

type ContainerService_ExecClient

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ContainerService_ExecServer

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) Descriptor() ([]byte, []int)

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetCreatedAt

func (x *Network) GetCreatedAt() *timestamppb.Timestamp

func (*Network) GetId

func (x *Network) GetId() uint32

func (*Network) GetInternetAccess

func (x *Network) GetInternetAccess() bool

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

func (x *Network) ProtoReflect() protoreflect.Message

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

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 (*NetworkIdentificationRequest) ProtoMessage

func (*NetworkIdentificationRequest) ProtoMessage()

func (*NetworkIdentificationRequest) ProtoReflect

func (*NetworkIdentificationRequest) Reset

func (x *NetworkIdentificationRequest) Reset()

func (*NetworkIdentificationRequest) String

type NetworkServiceClient

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.

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 (*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 (*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 (*SubnetworkIdentificationRequest) ProtoMessage

func (*SubnetworkIdentificationRequest) ProtoMessage()

func (*SubnetworkIdentificationRequest) ProtoReflect

func (*SubnetworkIdentificationRequest) Reset

func (*SubnetworkIdentificationRequest) String

type SubnetworkServiceClient

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.

type SubnetworkServiceServer

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 (*SubnetworkUpdateRequest) GetUpdate

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) Delete

func (UnimplementedContainerServiceServer) Get

func (UnimplementedContainerServiceServer) List

func (UnimplementedContainerServiceServer) Logs added in v0.1.3

func (UnimplementedContainerServiceServer) Start

func (UnimplementedContainerServiceServer) Stop

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

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) Delete

func (UnimplementedNetworkServiceServer) Get

func (UnimplementedNetworkServiceServer) List

func (UnimplementedNetworkServiceServer) Update

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) Delete

func (UnimplementedSubnetworkServiceServer) Get

func (UnimplementedSubnetworkServiceServer) List

func (UnimplementedSubnetworkServiceServer) Update

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL