Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterNetworkerPluginServer(s grpc.ServiceRegistrar, srv NetworkerPluginServer)
- type FindPortForwardSessionRequest
- func (*FindPortForwardSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindPortForwardSessionRequest) GetConnectionId() string
- func (x *FindPortForwardSessionRequest) GetResourceId() string
- func (*FindPortForwardSessionRequest) ProtoMessage()
- func (x *FindPortForwardSessionRequest) ProtoReflect() protoreflect.Message
- func (x *FindPortForwardSessionRequest) Reset()
- func (x *FindPortForwardSessionRequest) String() string
- type GetSupportedPortForwardTargetsResponse
- func (*GetSupportedPortForwardTargetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSupportedPortForwardTargetsResponse) GetResources() []string
- func (*GetSupportedPortForwardTargetsResponse) ProtoMessage()
- func (x *GetSupportedPortForwardTargetsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSupportedPortForwardTargetsResponse) Reset()
- func (x *GetSupportedPortForwardTargetsResponse) String() string
- type NetworkerPluginClient
- type NetworkerPluginServer
- type PortForwardProtocol
- func (PortForwardProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x PortForwardProtocol) Enum() *PortForwardProtocol
- func (PortForwardProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortForwardProtocol) Number() protoreflect.EnumNumber
- func (x PortForwardProtocol) String() string
- func (PortForwardProtocol) Type() protoreflect.EnumType
- type PortForwardResourceConnection
- func (*PortForwardResourceConnection) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardResourceConnection) GetConnectionId() string
- func (x *PortForwardResourceConnection) GetPluginId() string
- func (x *PortForwardResourceConnection) GetResourceData() *structpb.Struct
- func (x *PortForwardResourceConnection) GetResourceId() string
- func (x *PortForwardResourceConnection) GetResourceKey() string
- func (*PortForwardResourceConnection) ProtoMessage()
- func (x *PortForwardResourceConnection) ProtoReflect() protoreflect.Message
- func (x *PortForwardResourceConnection) Reset()
- func (x *PortForwardResourceConnection) String() string
- type PortForwardSession
- func (*PortForwardSession) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSession) GetConnection() isPortForwardSession_Connection
- func (x *PortForwardSession) GetCreatedAt() *timestamppb.Timestamp
- func (x *PortForwardSession) GetEncryption() *PortForwardSessionEncryption
- func (x *PortForwardSession) GetId() string
- func (x *PortForwardSession) GetLabels() map[string]string
- func (x *PortForwardSession) GetLocalPort() int32
- func (x *PortForwardSession) GetProtocol() PortForwardProtocol
- func (x *PortForwardSession) GetRemotePort() int32
- func (x *PortForwardSession) GetResourceConnection() *PortForwardResourceConnection
- func (x *PortForwardSession) GetState() PortForwardSession_SessionState
- func (x *PortForwardSession) GetStaticConnection() *PortForwardStaticConnection
- func (x *PortForwardSession) GetUpdatedAt() *timestamppb.Timestamp
- func (*PortForwardSession) ProtoMessage()
- func (x *PortForwardSession) ProtoReflect() protoreflect.Message
- func (x *PortForwardSession) Reset()
- func (x *PortForwardSession) String() string
- type PortForwardSessionByIdRequest
- func (*PortForwardSessionByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionByIdRequest) GetId() string
- func (*PortForwardSessionByIdRequest) ProtoMessage()
- func (x *PortForwardSessionByIdRequest) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionByIdRequest) Reset()
- func (x *PortForwardSessionByIdRequest) String() string
- type PortForwardSessionByIdResponse
- func (*PortForwardSessionByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionByIdResponse) GetSession() *PortForwardSession
- func (*PortForwardSessionByIdResponse) ProtoMessage()
- func (x *PortForwardSessionByIdResponse) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionByIdResponse) Reset()
- func (x *PortForwardSessionByIdResponse) String() string
- type PortForwardSessionEncryption
- func (*PortForwardSessionEncryption) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionEncryption) GetAlgorithm() string
- func (x *PortForwardSessionEncryption) GetEnabled() bool
- func (x *PortForwardSessionEncryption) GetKey() string
- func (*PortForwardSessionEncryption) ProtoMessage()
- func (x *PortForwardSessionEncryption) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionEncryption) Reset()
- func (x *PortForwardSessionEncryption) String() string
- type PortForwardSessionListResponse
- func (*PortForwardSessionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionListResponse) GetSessions() []*PortForwardSession
- func (*PortForwardSessionListResponse) ProtoMessage()
- func (x *PortForwardSessionListResponse) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionListResponse) Reset()
- func (x *PortForwardSessionListResponse) String() string
- type PortForwardSessionOptions
- func (*PortForwardSessionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionOptions) GetConnection() isPortForwardSessionOptions_Connection
- func (x *PortForwardSessionOptions) GetEncryption() *PortForwardSessionEncryption
- func (x *PortForwardSessionOptions) GetLabels() map[string]string
- func (x *PortForwardSessionOptions) GetLocalPort() int32
- func (x *PortForwardSessionOptions) GetParams() map[string]string
- func (x *PortForwardSessionOptions) GetProtocol() PortForwardProtocol
- func (x *PortForwardSessionOptions) GetRemotePort() int32
- func (x *PortForwardSessionOptions) GetResourceConnection() *PortForwardResourceConnection
- func (x *PortForwardSessionOptions) GetStaticConnection() *PortForwardStaticConnection
- func (*PortForwardSessionOptions) ProtoMessage()
- func (x *PortForwardSessionOptions) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionOptions) Reset()
- func (x *PortForwardSessionOptions) String() string
- type PortForwardSessionOptions_ResourceConnection
- type PortForwardSessionOptions_StaticConnection
- type PortForwardSession_ResourceConnection
- type PortForwardSession_SessionState
- func (PortForwardSession_SessionState) Descriptor() protoreflect.EnumDescriptor
- func (x PortForwardSession_SessionState) Enum() *PortForwardSession_SessionState
- func (PortForwardSession_SessionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortForwardSession_SessionState) Number() protoreflect.EnumNumber
- func (x PortForwardSession_SessionState) String() string
- func (PortForwardSession_SessionState) Type() protoreflect.EnumType
- type PortForwardSession_StaticConnection
- type PortForwardStaticConnection
- func (*PortForwardStaticConnection) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardStaticConnection) GetAddress() string
- func (*PortForwardStaticConnection) ProtoMessage()
- func (x *PortForwardStaticConnection) ProtoReflect() protoreflect.Message
- func (x *PortForwardStaticConnection) Reset()
- func (x *PortForwardStaticConnection) String() string
- type UnimplementedNetworkerPluginServer
- func (UnimplementedNetworkerPluginServer) ClosePortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
- func (UnimplementedNetworkerPluginServer) FindPortForwardSessions(context.Context, *FindPortForwardSessionRequest) (*PortForwardSessionListResponse, error)
- func (UnimplementedNetworkerPluginServer) GetPortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
- func (UnimplementedNetworkerPluginServer) GetSupportedPortForwardTargets(context.Context, *emptypb.Empty) (*GetSupportedPortForwardTargetsResponse, error)
- func (UnimplementedNetworkerPluginServer) ListPortForwardSessions(context.Context, *emptypb.Empty) (*PortForwardSessionListResponse, error)
- func (UnimplementedNetworkerPluginServer) StartPortForwardSession(context.Context, *PortForwardSessionOptions) (*PortForwardSessionByIdResponse, error)
- type UnsafeNetworkerPluginServer
Constants ¶
const ( NetworkerPlugin_GetSupportedPortForwardTargets_FullMethodName = "/omniview.sdk.networker.v1.NetworkerPlugin/GetSupportedPortForwardTargets" NetworkerPlugin_GetPortForwardSession_FullMethodName = "/omniview.sdk.networker.v1.NetworkerPlugin/GetPortForwardSession" NetworkerPlugin_ListPortForwardSessions_FullMethodName = "/omniview.sdk.networker.v1.NetworkerPlugin/ListPortForwardSessions" NetworkerPlugin_FindPortForwardSessions_FullMethodName = "/omniview.sdk.networker.v1.NetworkerPlugin/FindPortForwardSessions" NetworkerPlugin_StartPortForwardSession_FullMethodName = "/omniview.sdk.networker.v1.NetworkerPlugin/StartPortForwardSession" NetworkerPlugin_ClosePortForwardSession_FullMethodName = "/omniview.sdk.networker.v1.NetworkerPlugin/ClosePortForwardSession" )
Variables ¶
var ( PortForwardProtocol_name = map[int32]string{ 0: "PORT_FORWARD_PROTOCOL_TCP", 1: "PORT_FORWARD_PROTOCOL_UDP", } PortForwardProtocol_value = map[string]int32{ "PORT_FORWARD_PROTOCOL_TCP": 0, "PORT_FORWARD_PROTOCOL_UDP": 1, } )
Enum value maps for PortForwardProtocol.
var ( PortForwardSession_SessionState_name = map[int32]string{ 0: "ACTIVE", 1: "PAUSED", 2: "STOPPED", 3: "FAILED", } PortForwardSession_SessionState_value = map[string]int32{ "ACTIVE": 0, "PAUSED": 1, "STOPPED": 2, "FAILED": 3, } )
Enum value maps for PortForwardSession_SessionState.
var File_proto_v1_networker_networker_proto protoreflect.FileDescriptor
var NetworkerPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omniview.sdk.networker.v1.NetworkerPlugin", HandlerType: (*NetworkerPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSupportedPortForwardTargets", Handler: _NetworkerPlugin_GetSupportedPortForwardTargets_Handler, }, { MethodName: "GetPortForwardSession", Handler: _NetworkerPlugin_GetPortForwardSession_Handler, }, { MethodName: "ListPortForwardSessions", Handler: _NetworkerPlugin_ListPortForwardSessions_Handler, }, { MethodName: "FindPortForwardSessions", Handler: _NetworkerPlugin_FindPortForwardSessions_Handler, }, { MethodName: "StartPortForwardSession", Handler: _NetworkerPlugin_StartPortForwardSession_Handler, }, { MethodName: "ClosePortForwardSession", Handler: _NetworkerPlugin_ClosePortForwardSession_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1/networker/networker.proto", }
NetworkerPlugin_ServiceDesc is the grpc.ServiceDesc for NetworkerPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNetworkerPluginServer ¶
func RegisterNetworkerPluginServer(s grpc.ServiceRegistrar, srv NetworkerPluginServer)
Types ¶
type FindPortForwardSessionRequest ¶
type FindPortForwardSessionRequest struct {
ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
// contains filtered or unexported fields
}
func (*FindPortForwardSessionRequest) Descriptor
deprecated
func (*FindPortForwardSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindPortForwardSessionRequest.ProtoReflect.Descriptor instead.
func (*FindPortForwardSessionRequest) GetConnectionId ¶
func (x *FindPortForwardSessionRequest) GetConnectionId() string
func (*FindPortForwardSessionRequest) GetResourceId ¶
func (x *FindPortForwardSessionRequest) GetResourceId() string
func (*FindPortForwardSessionRequest) ProtoMessage ¶
func (*FindPortForwardSessionRequest) ProtoMessage()
func (*FindPortForwardSessionRequest) ProtoReflect ¶
func (x *FindPortForwardSessionRequest) ProtoReflect() protoreflect.Message
func (*FindPortForwardSessionRequest) Reset ¶
func (x *FindPortForwardSessionRequest) Reset()
func (*FindPortForwardSessionRequest) String ¶
func (x *FindPortForwardSessionRequest) String() string
type GetSupportedPortForwardTargetsResponse ¶
type GetSupportedPortForwardTargetsResponse struct {
Resources []string `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
func (*GetSupportedPortForwardTargetsResponse) Descriptor
deprecated
func (*GetSupportedPortForwardTargetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSupportedPortForwardTargetsResponse.ProtoReflect.Descriptor instead.
func (*GetSupportedPortForwardTargetsResponse) GetResources ¶
func (x *GetSupportedPortForwardTargetsResponse) GetResources() []string
func (*GetSupportedPortForwardTargetsResponse) ProtoMessage ¶
func (*GetSupportedPortForwardTargetsResponse) ProtoMessage()
func (*GetSupportedPortForwardTargetsResponse) ProtoReflect ¶
func (x *GetSupportedPortForwardTargetsResponse) ProtoReflect() protoreflect.Message
func (*GetSupportedPortForwardTargetsResponse) Reset ¶
func (x *GetSupportedPortForwardTargetsResponse) Reset()
func (*GetSupportedPortForwardTargetsResponse) String ¶
func (x *GetSupportedPortForwardTargetsResponse) String() string
type NetworkerPluginClient ¶
type NetworkerPluginClient interface {
// Resource Forwarding Management
GetSupportedPortForwardTargets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSupportedPortForwardTargetsResponse, error)
GetPortForwardSession(ctx context.Context, in *PortForwardSessionByIdRequest, opts ...grpc.CallOption) (*PortForwardSessionByIdResponse, error)
ListPortForwardSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PortForwardSessionListResponse, error)
FindPortForwardSessions(ctx context.Context, in *FindPortForwardSessionRequest, opts ...grpc.CallOption) (*PortForwardSessionListResponse, error)
StartPortForwardSession(ctx context.Context, in *PortForwardSessionOptions, opts ...grpc.CallOption) (*PortForwardSessionByIdResponse, error)
ClosePortForwardSession(ctx context.Context, in *PortForwardSessionByIdRequest, opts ...grpc.CallOption) (*PortForwardSessionByIdResponse, error)
}
NetworkerPluginClient is the client API for NetworkerPlugin 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 NewNetworkerPluginClient ¶
func NewNetworkerPluginClient(cc grpc.ClientConnInterface) NetworkerPluginClient
type NetworkerPluginServer ¶
type NetworkerPluginServer interface {
// Resource Forwarding Management
GetSupportedPortForwardTargets(context.Context, *emptypb.Empty) (*GetSupportedPortForwardTargetsResponse, error)
GetPortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
ListPortForwardSessions(context.Context, *emptypb.Empty) (*PortForwardSessionListResponse, error)
FindPortForwardSessions(context.Context, *FindPortForwardSessionRequest) (*PortForwardSessionListResponse, error)
StartPortForwardSession(context.Context, *PortForwardSessionOptions) (*PortForwardSessionByIdResponse, error)
ClosePortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
}
NetworkerPluginServer is the server API for NetworkerPlugin service. All implementations should embed UnimplementedNetworkerPluginServer for forward compatibility
type PortForwardProtocol ¶
type PortForwardProtocol int32
const ( PortForwardProtocol_PORT_FORWARD_PROTOCOL_TCP PortForwardProtocol = 0 PortForwardProtocol_PORT_FORWARD_PROTOCOL_UDP PortForwardProtocol = 1 )
func (PortForwardProtocol) Descriptor ¶
func (PortForwardProtocol) Descriptor() protoreflect.EnumDescriptor
func (PortForwardProtocol) Enum ¶
func (x PortForwardProtocol) Enum() *PortForwardProtocol
func (PortForwardProtocol) EnumDescriptor
deprecated
func (PortForwardProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortForwardProtocol.Descriptor instead.
func (PortForwardProtocol) Number ¶
func (x PortForwardProtocol) Number() protoreflect.EnumNumber
func (PortForwardProtocol) String ¶
func (x PortForwardProtocol) String() string
func (PortForwardProtocol) Type ¶
func (PortForwardProtocol) Type() protoreflect.EnumType
type PortForwardResourceConnection ¶
type PortForwardResourceConnection struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
ResourceKey string `protobuf:"bytes,4,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceData *structpb.Struct `protobuf:"bytes,5,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
// contains filtered or unexported fields
}
Port forwarding can happen to a resource via it's resource parameter, or via a static connection to a specific address and port. This message encapsulates the options for the connection to a resource.
func (*PortForwardResourceConnection) Descriptor
deprecated
func (*PortForwardResourceConnection) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardResourceConnection.ProtoReflect.Descriptor instead.
func (*PortForwardResourceConnection) GetConnectionId ¶
func (x *PortForwardResourceConnection) GetConnectionId() string
func (*PortForwardResourceConnection) GetPluginId ¶
func (x *PortForwardResourceConnection) GetPluginId() string
func (*PortForwardResourceConnection) GetResourceData ¶
func (x *PortForwardResourceConnection) GetResourceData() *structpb.Struct
func (*PortForwardResourceConnection) GetResourceId ¶
func (x *PortForwardResourceConnection) GetResourceId() string
func (*PortForwardResourceConnection) GetResourceKey ¶
func (x *PortForwardResourceConnection) GetResourceKey() string
func (*PortForwardResourceConnection) ProtoMessage ¶
func (*PortForwardResourceConnection) ProtoMessage()
func (*PortForwardResourceConnection) ProtoReflect ¶
func (x *PortForwardResourceConnection) ProtoReflect() protoreflect.Message
func (*PortForwardResourceConnection) Reset ¶
func (x *PortForwardResourceConnection) Reset()
func (*PortForwardResourceConnection) String ¶
func (x *PortForwardResourceConnection) String() string
type PortForwardSession ¶
type PortForwardSession struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
LocalPort int32 `protobuf:"varint,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
RemotePort int32 `protobuf:"varint,3,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
Protocol PortForwardProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=omniview.sdk.networker.v1.PortForwardProtocol" json:"protocol,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
State PortForwardSession_SessionState `` /* 127-byte string literal not displayed */
Encryption *PortForwardSessionEncryption `protobuf:"bytes,9,opt,name=encryption,proto3" json:"encryption,omitempty"`
// Types that are valid to be assigned to Connection:
//
// *PortForwardSession_ResourceConnection
// *PortForwardSession_StaticConnection
Connection isPortForwardSession_Connection `protobuf_oneof:"connection"`
// contains filtered or unexported fields
}
An active port forwarding session that is used to forward network traffic from a remote resource to the local machine. Common use cases include: - Kubernetes port forwarding - AWS SSM port forwarding - SSH port forwarding
func (*PortForwardSession) Descriptor
deprecated
func (*PortForwardSession) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSession.ProtoReflect.Descriptor instead.
func (*PortForwardSession) GetConnection ¶
func (x *PortForwardSession) GetConnection() isPortForwardSession_Connection
func (*PortForwardSession) GetCreatedAt ¶
func (x *PortForwardSession) GetCreatedAt() *timestamppb.Timestamp
func (*PortForwardSession) GetEncryption ¶
func (x *PortForwardSession) GetEncryption() *PortForwardSessionEncryption
func (*PortForwardSession) GetId ¶
func (x *PortForwardSession) GetId() string
func (*PortForwardSession) GetLabels ¶
func (x *PortForwardSession) GetLabels() map[string]string
func (*PortForwardSession) GetLocalPort ¶
func (x *PortForwardSession) GetLocalPort() int32
func (*PortForwardSession) GetProtocol ¶
func (x *PortForwardSession) GetProtocol() PortForwardProtocol
func (*PortForwardSession) GetRemotePort ¶
func (x *PortForwardSession) GetRemotePort() int32
func (*PortForwardSession) GetResourceConnection ¶
func (x *PortForwardSession) GetResourceConnection() *PortForwardResourceConnection
func (*PortForwardSession) GetState ¶
func (x *PortForwardSession) GetState() PortForwardSession_SessionState
func (*PortForwardSession) GetStaticConnection ¶
func (x *PortForwardSession) GetStaticConnection() *PortForwardStaticConnection
func (*PortForwardSession) GetUpdatedAt ¶
func (x *PortForwardSession) GetUpdatedAt() *timestamppb.Timestamp
func (*PortForwardSession) ProtoMessage ¶
func (*PortForwardSession) ProtoMessage()
func (*PortForwardSession) ProtoReflect ¶
func (x *PortForwardSession) ProtoReflect() protoreflect.Message
func (*PortForwardSession) Reset ¶
func (x *PortForwardSession) Reset()
func (*PortForwardSession) String ¶
func (x *PortForwardSession) String() string
type PortForwardSessionByIdRequest ¶
type PortForwardSessionByIdRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionByIdRequest) Descriptor
deprecated
func (*PortForwardSessionByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionByIdRequest.ProtoReflect.Descriptor instead.
func (*PortForwardSessionByIdRequest) GetId ¶
func (x *PortForwardSessionByIdRequest) GetId() string
func (*PortForwardSessionByIdRequest) ProtoMessage ¶
func (*PortForwardSessionByIdRequest) ProtoMessage()
func (*PortForwardSessionByIdRequest) ProtoReflect ¶
func (x *PortForwardSessionByIdRequest) ProtoReflect() protoreflect.Message
func (*PortForwardSessionByIdRequest) Reset ¶
func (x *PortForwardSessionByIdRequest) Reset()
func (*PortForwardSessionByIdRequest) String ¶
func (x *PortForwardSessionByIdRequest) String() string
type PortForwardSessionByIdResponse ¶
type PortForwardSessionByIdResponse struct {
Session *PortForwardSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionByIdResponse) Descriptor
deprecated
func (*PortForwardSessionByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionByIdResponse.ProtoReflect.Descriptor instead.
func (*PortForwardSessionByIdResponse) GetSession ¶
func (x *PortForwardSessionByIdResponse) GetSession() *PortForwardSession
func (*PortForwardSessionByIdResponse) ProtoMessage ¶
func (*PortForwardSessionByIdResponse) ProtoMessage()
func (*PortForwardSessionByIdResponse) ProtoReflect ¶
func (x *PortForwardSessionByIdResponse) ProtoReflect() protoreflect.Message
func (*PortForwardSessionByIdResponse) Reset ¶
func (x *PortForwardSessionByIdResponse) Reset()
func (*PortForwardSessionByIdResponse) String ¶
func (x *PortForwardSessionByIdResponse) String() string
type PortForwardSessionEncryption ¶
type PortForwardSessionEncryption struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Algorithm string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionEncryption) Descriptor
deprecated
func (*PortForwardSessionEncryption) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionEncryption.ProtoReflect.Descriptor instead.
func (*PortForwardSessionEncryption) GetAlgorithm ¶
func (x *PortForwardSessionEncryption) GetAlgorithm() string
func (*PortForwardSessionEncryption) GetEnabled ¶
func (x *PortForwardSessionEncryption) GetEnabled() bool
func (*PortForwardSessionEncryption) GetKey ¶
func (x *PortForwardSessionEncryption) GetKey() string
func (*PortForwardSessionEncryption) ProtoMessage ¶
func (*PortForwardSessionEncryption) ProtoMessage()
func (*PortForwardSessionEncryption) ProtoReflect ¶
func (x *PortForwardSessionEncryption) ProtoReflect() protoreflect.Message
func (*PortForwardSessionEncryption) Reset ¶
func (x *PortForwardSessionEncryption) Reset()
func (*PortForwardSessionEncryption) String ¶
func (x *PortForwardSessionEncryption) String() string
type PortForwardSessionListResponse ¶
type PortForwardSessionListResponse struct {
Sessions []*PortForwardSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionListResponse) Descriptor
deprecated
func (*PortForwardSessionListResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionListResponse.ProtoReflect.Descriptor instead.
func (*PortForwardSessionListResponse) GetSessions ¶
func (x *PortForwardSessionListResponse) GetSessions() []*PortForwardSession
func (*PortForwardSessionListResponse) ProtoMessage ¶
func (*PortForwardSessionListResponse) ProtoMessage()
func (*PortForwardSessionListResponse) ProtoReflect ¶
func (x *PortForwardSessionListResponse) ProtoReflect() protoreflect.Message
func (*PortForwardSessionListResponse) Reset ¶
func (x *PortForwardSessionListResponse) Reset()
func (*PortForwardSessionListResponse) String ¶
func (x *PortForwardSessionListResponse) String() string
type PortForwardSessionOptions ¶
type PortForwardSessionOptions struct {
LocalPort int32 `protobuf:"varint,1,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
RemotePort int32 `protobuf:"varint,2,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
Protocol PortForwardProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=omniview.sdk.networker.v1.PortForwardProtocol" json:"protocol,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
Params map[string]string `` /* 139-byte string literal not displayed */
Encryption *PortForwardSessionEncryption `protobuf:"bytes,6,opt,name=encryption,proto3" json:"encryption,omitempty"`
// Types that are valid to be assigned to Connection:
//
// *PortForwardSessionOptions_ResourceConnection
// *PortForwardSessionOptions_StaticConnection
Connection isPortForwardSessionOptions_Connection `protobuf_oneof:"connection"`
// contains filtered or unexported fields
}
Options for creating a new port forwarding session
func (*PortForwardSessionOptions) Descriptor
deprecated
func (*PortForwardSessionOptions) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionOptions.ProtoReflect.Descriptor instead.
func (*PortForwardSessionOptions) GetConnection ¶
func (x *PortForwardSessionOptions) GetConnection() isPortForwardSessionOptions_Connection
func (*PortForwardSessionOptions) GetEncryption ¶
func (x *PortForwardSessionOptions) GetEncryption() *PortForwardSessionEncryption
func (*PortForwardSessionOptions) GetLabels ¶
func (x *PortForwardSessionOptions) GetLabels() map[string]string
func (*PortForwardSessionOptions) GetLocalPort ¶
func (x *PortForwardSessionOptions) GetLocalPort() int32
func (*PortForwardSessionOptions) GetParams ¶
func (x *PortForwardSessionOptions) GetParams() map[string]string
func (*PortForwardSessionOptions) GetProtocol ¶
func (x *PortForwardSessionOptions) GetProtocol() PortForwardProtocol
func (*PortForwardSessionOptions) GetRemotePort ¶
func (x *PortForwardSessionOptions) GetRemotePort() int32
func (*PortForwardSessionOptions) GetResourceConnection ¶
func (x *PortForwardSessionOptions) GetResourceConnection() *PortForwardResourceConnection
func (*PortForwardSessionOptions) GetStaticConnection ¶
func (x *PortForwardSessionOptions) GetStaticConnection() *PortForwardStaticConnection
func (*PortForwardSessionOptions) ProtoMessage ¶
func (*PortForwardSessionOptions) ProtoMessage()
func (*PortForwardSessionOptions) ProtoReflect ¶
func (x *PortForwardSessionOptions) ProtoReflect() protoreflect.Message
func (*PortForwardSessionOptions) Reset ¶
func (x *PortForwardSessionOptions) Reset()
func (*PortForwardSessionOptions) String ¶
func (x *PortForwardSessionOptions) String() string
type PortForwardSessionOptions_ResourceConnection ¶
type PortForwardSessionOptions_ResourceConnection struct {
ResourceConnection *PortForwardResourceConnection `protobuf:"bytes,10,opt,name=resource_connection,json=resourceConnection,proto3,oneof"`
}
type PortForwardSessionOptions_StaticConnection ¶
type PortForwardSessionOptions_StaticConnection struct {
StaticConnection *PortForwardStaticConnection `protobuf:"bytes,11,opt,name=static_connection,json=staticConnection,proto3,oneof"`
}
type PortForwardSession_ResourceConnection ¶
type PortForwardSession_ResourceConnection struct {
ResourceConnection *PortForwardResourceConnection `protobuf:"bytes,20,opt,name=resource_connection,json=resourceConnection,proto3,oneof"`
}
type PortForwardSession_SessionState ¶
type PortForwardSession_SessionState int32
const ( PortForwardSession_ACTIVE PortForwardSession_SessionState = 0 PortForwardSession_PAUSED PortForwardSession_SessionState = 1 PortForwardSession_STOPPED PortForwardSession_SessionState = 2 PortForwardSession_FAILED PortForwardSession_SessionState = 3 )
func (PortForwardSession_SessionState) Descriptor ¶
func (PortForwardSession_SessionState) Descriptor() protoreflect.EnumDescriptor
func (PortForwardSession_SessionState) Enum ¶
func (x PortForwardSession_SessionState) Enum() *PortForwardSession_SessionState
func (PortForwardSession_SessionState) EnumDescriptor
deprecated
func (PortForwardSession_SessionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortForwardSession_SessionState.Descriptor instead.
func (PortForwardSession_SessionState) Number ¶
func (x PortForwardSession_SessionState) Number() protoreflect.EnumNumber
func (PortForwardSession_SessionState) String ¶
func (x PortForwardSession_SessionState) String() string
func (PortForwardSession_SessionState) Type ¶
func (PortForwardSession_SessionState) Type() protoreflect.EnumType
type PortForwardSession_StaticConnection ¶
type PortForwardSession_StaticConnection struct {
StaticConnection *PortForwardStaticConnection `protobuf:"bytes,21,opt,name=static_connection,json=staticConnection,proto3,oneof"`
}
type PortForwardStaticConnection ¶
type PortForwardStaticConnection struct {
// IPv4 or IPv6 address
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardStaticConnection) Descriptor
deprecated
func (*PortForwardStaticConnection) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardStaticConnection.ProtoReflect.Descriptor instead.
func (*PortForwardStaticConnection) GetAddress ¶
func (x *PortForwardStaticConnection) GetAddress() string
func (*PortForwardStaticConnection) ProtoMessage ¶
func (*PortForwardStaticConnection) ProtoMessage()
func (*PortForwardStaticConnection) ProtoReflect ¶
func (x *PortForwardStaticConnection) ProtoReflect() protoreflect.Message
func (*PortForwardStaticConnection) Reset ¶
func (x *PortForwardStaticConnection) Reset()
func (*PortForwardStaticConnection) String ¶
func (x *PortForwardStaticConnection) String() string
type UnimplementedNetworkerPluginServer ¶
type UnimplementedNetworkerPluginServer struct {
}
UnimplementedNetworkerPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedNetworkerPluginServer) ClosePortForwardSession ¶
func (UnimplementedNetworkerPluginServer) ClosePortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
func (UnimplementedNetworkerPluginServer) FindPortForwardSessions ¶
func (UnimplementedNetworkerPluginServer) FindPortForwardSessions(context.Context, *FindPortForwardSessionRequest) (*PortForwardSessionListResponse, error)
func (UnimplementedNetworkerPluginServer) GetPortForwardSession ¶
func (UnimplementedNetworkerPluginServer) GetPortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
func (UnimplementedNetworkerPluginServer) GetSupportedPortForwardTargets ¶
func (UnimplementedNetworkerPluginServer) GetSupportedPortForwardTargets(context.Context, *emptypb.Empty) (*GetSupportedPortForwardTargetsResponse, error)
func (UnimplementedNetworkerPluginServer) ListPortForwardSessions ¶
func (UnimplementedNetworkerPluginServer) ListPortForwardSessions(context.Context, *emptypb.Empty) (*PortForwardSessionListResponse, error)
func (UnimplementedNetworkerPluginServer) StartPortForwardSession ¶
func (UnimplementedNetworkerPluginServer) StartPortForwardSession(context.Context, *PortForwardSessionOptions) (*PortForwardSessionByIdResponse, error)
type UnsafeNetworkerPluginServer ¶
type UnsafeNetworkerPluginServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkerPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkerPluginServer will result in compilation errors.