Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLigoloServer(s grpc.ServiceRegistrar, srv LigoloServer)
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetAlias() string
- func (x *Agent) GetHostname() string
- func (x *Agent) GetIPs() []string
- func (x *Agent) GetTun() *Tun
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type Cert
- type DelListenerReq
- func (*DelListenerReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelListenerReq) GetAgentAlias() string
- func (x *DelListenerReq) GetListenerAlias() string
- func (*DelListenerReq) ProtoMessage()
- func (x *DelListenerReq) ProtoReflect() protoreflect.Message
- func (x *DelListenerReq) Reset()
- func (x *DelListenerReq) String() string
- type DelRouteReq
- func (*DelRouteReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelRouteReq) GetCidr() string
- func (x *DelRouteReq) GetTunAlias() string
- func (*DelRouteReq) ProtoMessage()
- func (x *DelRouteReq) ProtoReflect() protoreflect.Message
- func (x *DelRouteReq) Reset()
- func (x *DelRouteReq) String() string
- type DelTunReq
- type Empty
- type Error
- type Event
- type GenerateAgentReq
- func (*GenerateAgentReq) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateAgentReq) GetGOARCH() string
- func (x *GenerateAgentReq) GetGOOS() string
- func (x *GenerateAgentReq) GetObfuscate() bool
- func (x *GenerateAgentReq) GetServer() string
- func (x *GenerateAgentReq) GetSocksPass() string
- func (x *GenerateAgentReq) GetSocksServer() string
- func (x *GenerateAgentReq) GetSocksUser() string
- func (*GenerateAgentReq) ProtoMessage()
- func (x *GenerateAgentReq) ProtoReflect() protoreflect.Message
- func (x *GenerateAgentReq) Reset()
- func (x *GenerateAgentReq) String() string
- type GenerateAgentResp
- func (*GenerateAgentResp) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateAgentResp) GetAgentBinary() []byte
- func (*GenerateAgentResp) ProtoMessage()
- func (x *GenerateAgentResp) ProtoReflect() protoreflect.Message
- func (x *GenerateAgentResp) Reset()
- func (x *GenerateAgentResp) String() string
- type LigoloClient
- type LigoloServer
- type Ligolo_JoinClient
- type Ligolo_JoinServer
- type ListAgentsResp
- type ListCertsResp
- type ListListenersResp
- func (*ListListenersResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListListenersResp) GetListeners() []*Listener
- func (*ListListenersResp) ProtoMessage()
- func (x *ListListenersResp) ProtoReflect() protoreflect.Message
- func (x *ListListenersResp) Reset()
- func (x *ListListenersResp) String() string
- type ListTunsResp
- type Listener
- func (*Listener) Descriptor() ([]byte, []int)deprecated
- func (x *Listener) GetAgent() *Agent
- func (x *Listener) GetAlias() string
- func (x *Listener) GetFrom() string
- func (x *Listener) GetTo() string
- func (*Listener) ProtoMessage()
- func (x *Listener) ProtoReflect() protoreflect.Message
- func (x *Listener) Reset()
- func (x *Listener) String() string
- type NewListenerReq
- func (*NewListenerReq) Descriptor() ([]byte, []int)deprecated
- func (x *NewListenerReq) GetAgentAlias() string
- func (x *NewListenerReq) GetFrom() string
- func (x *NewListenerReq) GetProtocol() string
- func (x *NewListenerReq) GetTo() string
- func (*NewListenerReq) ProtoMessage()
- func (x *NewListenerReq) ProtoReflect() protoreflect.Message
- func (x *NewListenerReq) Reset()
- func (x *NewListenerReq) String() string
- type NewRouteReq
- func (*NewRouteReq) Descriptor() ([]byte, []int)deprecated
- func (x *NewRouteReq) GetCidr() string
- func (x *NewRouteReq) GetForce() bool
- func (x *NewRouteReq) GetTunAlias() string
- func (*NewRouteReq) ProtoMessage()
- func (x *NewRouteReq) ProtoReflect() protoreflect.Message
- func (x *NewRouteReq) Reset()
- func (x *NewRouteReq) String() string
- type NewRouteResp
- type NewTunReq
- type Operator
- type RegenCertsReq
- type RelayStartReq
- func (*RelayStartReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelayStartReq) GetAgentAlias() string
- func (x *RelayStartReq) GetTunAlias() string
- func (*RelayStartReq) ProtoMessage()
- func (x *RelayStartReq) ProtoReflect() protoreflect.Message
- func (x *RelayStartReq) Reset()
- func (x *RelayStartReq) String() string
- type RelayStopReq
- type RenameAgentReq
- func (*RenameAgentReq) Descriptor() ([]byte, []int)deprecated
- func (x *RenameAgentReq) GetNewAlias() string
- func (x *RenameAgentReq) GetOldAlias() string
- func (*RenameAgentReq) ProtoMessage()
- func (x *RenameAgentReq) ProtoReflect() protoreflect.Message
- func (x *RenameAgentReq) Reset()
- func (x *RenameAgentReq) String() string
- type RenameTunReq
- func (*RenameTunReq) Descriptor() ([]byte, []int)deprecated
- func (x *RenameTunReq) GetNewAlias() string
- func (x *RenameTunReq) GetOldAlias() string
- func (*RenameTunReq) ProtoMessage()
- func (x *RenameTunReq) ProtoReflect() protoreflect.Message
- func (x *RenameTunReq) Reset()
- func (x *RenameTunReq) String() string
- type Route
- type Tun
- type TunRoute
- type UnimplementedLigoloServer
- func (UnimplementedLigoloServer) DelListener(context.Context, *DelListenerReq) (*Empty, error)
- func (UnimplementedLigoloServer) DelRoute(context.Context, *DelRouteReq) (*Empty, error)
- func (UnimplementedLigoloServer) DelTun(context.Context, *DelTunReq) (*Empty, error)
- func (UnimplementedLigoloServer) GenerateAgent(context.Context, *GenerateAgentReq) (*GenerateAgentResp, error)
- func (UnimplementedLigoloServer) Join(*Empty, Ligolo_JoinServer) error
- func (UnimplementedLigoloServer) ListAgents(context.Context, *Empty) (*ListAgentsResp, error)
- func (UnimplementedLigoloServer) ListCerts(context.Context, *Empty) (*ListCertsResp, error)
- func (UnimplementedLigoloServer) ListListeners(context.Context, *Empty) (*ListListenersResp, error)
- func (UnimplementedLigoloServer) ListTuns(context.Context, *Empty) (*ListTunsResp, error)
- func (UnimplementedLigoloServer) NewListener(context.Context, *NewListenerReq) (*Empty, error)
- func (UnimplementedLigoloServer) NewRoute(context.Context, *NewRouteReq) (*NewRouteResp, error)
- func (UnimplementedLigoloServer) NewTun(context.Context, *NewTunReq) (*Empty, error)
- func (UnimplementedLigoloServer) RegenCerts(context.Context, *RegenCertsReq) (*Empty, error)
- func (UnimplementedLigoloServer) RelayStart(context.Context, *RelayStartReq) (*Empty, error)
- func (UnimplementedLigoloServer) RelayStop(context.Context, *RelayStopReq) (*Empty, error)
- func (UnimplementedLigoloServer) RenameAgent(context.Context, *RenameAgentReq) (*Empty, error)
- func (UnimplementedLigoloServer) RenameTun(context.Context, *RenameTunReq) (*Empty, error)
- type UnsafeLigoloServer
Constants ¶
const ( Ligolo_Join_FullMethodName = "/ligolo.Ligolo/Join" Ligolo_ListAgents_FullMethodName = "/ligolo.Ligolo/ListAgents" Ligolo_RenameAgent_FullMethodName = "/ligolo.Ligolo/RenameAgent" Ligolo_NewTun_FullMethodName = "/ligolo.Ligolo/NewTun" Ligolo_DelTun_FullMethodName = "/ligolo.Ligolo/DelTun" Ligolo_ListTuns_FullMethodName = "/ligolo.Ligolo/ListTuns" Ligolo_RenameTun_FullMethodName = "/ligolo.Ligolo/RenameTun" Ligolo_NewRoute_FullMethodName = "/ligolo.Ligolo/NewRoute" Ligolo_DelRoute_FullMethodName = "/ligolo.Ligolo/DelRoute" Ligolo_NewListener_FullMethodName = "/ligolo.Ligolo/NewListener" Ligolo_DelListener_FullMethodName = "/ligolo.Ligolo/DelListener" Ligolo_ListListeners_FullMethodName = "/ligolo.Ligolo/ListListeners" Ligolo_RelayStart_FullMethodName = "/ligolo.Ligolo/RelayStart" Ligolo_RelayStop_FullMethodName = "/ligolo.Ligolo/RelayStop" Ligolo_GenerateAgent_FullMethodName = "/ligolo.Ligolo/GenerateAgent" Ligolo_ListCerts_FullMethodName = "/ligolo.Ligolo/ListCerts" Ligolo_RegenCerts_FullMethodName = "/ligolo.Ligolo/RegenCerts" )
Variables ¶
var File_protobuf_ligolo_proto protoreflect.FileDescriptor
var Ligolo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ligolo.Ligolo", HandlerType: (*LigoloServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAgents", Handler: _Ligolo_ListAgents_Handler, }, { MethodName: "RenameAgent", Handler: _Ligolo_RenameAgent_Handler, }, { MethodName: "NewTun", Handler: _Ligolo_NewTun_Handler, }, { MethodName: "DelTun", Handler: _Ligolo_DelTun_Handler, }, { MethodName: "ListTuns", Handler: _Ligolo_ListTuns_Handler, }, { MethodName: "RenameTun", Handler: _Ligolo_RenameTun_Handler, }, { MethodName: "NewRoute", Handler: _Ligolo_NewRoute_Handler, }, { MethodName: "DelRoute", Handler: _Ligolo_DelRoute_Handler, }, { MethodName: "NewListener", Handler: _Ligolo_NewListener_Handler, }, { MethodName: "DelListener", Handler: _Ligolo_DelListener_Handler, }, { MethodName: "ListListeners", Handler: _Ligolo_ListListeners_Handler, }, { MethodName: "RelayStart", Handler: _Ligolo_RelayStart_Handler, }, { MethodName: "RelayStop", Handler: _Ligolo_RelayStop_Handler, }, { MethodName: "GenerateAgent", Handler: _Ligolo_GenerateAgent_Handler, }, { MethodName: "ListCerts", Handler: _Ligolo_ListCerts_Handler, }, { MethodName: "RegenCerts", Handler: _Ligolo_RegenCerts_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Join", Handler: _Ligolo_Join_Handler, ServerStreams: true, }, }, Metadata: "protobuf/ligolo.proto", }
Ligolo_ServiceDesc is the grpc.ServiceDesc for Ligolo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLigoloServer ¶
func RegisterLigoloServer(s grpc.ServiceRegistrar, srv LigoloServer)
Types ¶
type Agent ¶
type Agent struct { Alias string `protobuf:"bytes,1,opt,name=Alias,proto3" json:"Alias,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"` IPs []string `protobuf:"bytes,3,rep,name=IPs,proto3" json:"IPs,omitempty"` Tun *Tun `protobuf:"bytes,4,opt,name=Tun,proto3" json:"Tun,omitempty"` // contains filtered or unexported fields }
func (*Agent) Descriptor
deprecated
func (*Agent) GetHostname ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type Cert ¶
type Cert struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` ExpiryDate string `protobuf:"bytes,2,opt,name=ExpiryDate,proto3" json:"ExpiryDate,omitempty"` // contains filtered or unexported fields }
func (*Cert) Descriptor
deprecated
func (*Cert) GetExpiryDate ¶
func (*Cert) ProtoMessage ¶
func (*Cert) ProtoMessage()
func (*Cert) ProtoReflect ¶
func (x *Cert) ProtoReflect() protoreflect.Message
type DelListenerReq ¶
type DelListenerReq struct { AgentAlias string `protobuf:"bytes,1,opt,name=AgentAlias,proto3" json:"AgentAlias,omitempty"` ListenerAlias string `protobuf:"bytes,2,opt,name=ListenerAlias,proto3" json:"ListenerAlias,omitempty"` // contains filtered or unexported fields }
func (*DelListenerReq) Descriptor
deprecated
func (*DelListenerReq) Descriptor() ([]byte, []int)
Deprecated: Use DelListenerReq.ProtoReflect.Descriptor instead.
func (*DelListenerReq) GetAgentAlias ¶
func (x *DelListenerReq) GetAgentAlias() string
func (*DelListenerReq) GetListenerAlias ¶
func (x *DelListenerReq) GetListenerAlias() string
func (*DelListenerReq) ProtoMessage ¶
func (*DelListenerReq) ProtoMessage()
func (*DelListenerReq) ProtoReflect ¶
func (x *DelListenerReq) ProtoReflect() protoreflect.Message
func (*DelListenerReq) Reset ¶
func (x *DelListenerReq) Reset()
func (*DelListenerReq) String ¶
func (x *DelListenerReq) String() string
type DelRouteReq ¶
type DelRouteReq struct { TunAlias string `protobuf:"bytes,1,opt,name=TunAlias,proto3" json:"TunAlias,omitempty"` Cidr string `protobuf:"bytes,2,opt,name=Cidr,proto3" json:"Cidr,omitempty"` // contains filtered or unexported fields }
func (*DelRouteReq) Descriptor
deprecated
func (*DelRouteReq) Descriptor() ([]byte, []int)
Deprecated: Use DelRouteReq.ProtoReflect.Descriptor instead.
func (*DelRouteReq) GetCidr ¶
func (x *DelRouteReq) GetCidr() string
func (*DelRouteReq) GetTunAlias ¶
func (x *DelRouteReq) GetTunAlias() string
func (*DelRouteReq) ProtoMessage ¶
func (*DelRouteReq) ProtoMessage()
func (*DelRouteReq) ProtoReflect ¶
func (x *DelRouteReq) ProtoReflect() protoreflect.Message
func (*DelRouteReq) Reset ¶
func (x *DelRouteReq) Reset()
func (*DelRouteReq) String ¶
func (x *DelRouteReq) String() string
type DelTunReq ¶
type DelTunReq struct { TunAlias string `protobuf:"bytes,1,opt,name=TunAlias,proto3" json:"TunAlias,omitempty"` // contains filtered or unexported fields }
func (*DelTunReq) Descriptor
deprecated
func (*DelTunReq) GetTunAlias ¶
func (*DelTunReq) ProtoMessage ¶
func (*DelTunReq) ProtoMessage()
func (*DelTunReq) ProtoReflect ¶
func (x *DelTunReq) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { Object []byte `protobuf:"bytes,1,opt,name=Object,proto3" json:"Object,omitempty"` Reason string `protobuf:"bytes,2,opt,name=Reason,proto3" json:"Reason,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type GenerateAgentReq ¶
type GenerateAgentReq struct { Server string `protobuf:"bytes,1,opt,name=Server,proto3" json:"Server,omitempty"` GOOS string `protobuf:"bytes,2,opt,name=GOOS,proto3" json:"GOOS,omitempty"` GOARCH string `protobuf:"bytes,3,opt,name=GOARCH,proto3" json:"GOARCH,omitempty"` Obfuscate bool `protobuf:"varint,4,opt,name=Obfuscate,proto3" json:"Obfuscate,omitempty"` SocksServer string `protobuf:"bytes,5,opt,name=SocksServer,proto3" json:"SocksServer,omitempty"` SocksUser string `protobuf:"bytes,6,opt,name=SocksUser,proto3" json:"SocksUser,omitempty"` SocksPass string `protobuf:"bytes,7,opt,name=SocksPass,proto3" json:"SocksPass,omitempty"` // contains filtered or unexported fields }
func (*GenerateAgentReq) Descriptor
deprecated
func (*GenerateAgentReq) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAgentReq.ProtoReflect.Descriptor instead.
func (*GenerateAgentReq) GetGOARCH ¶
func (x *GenerateAgentReq) GetGOARCH() string
func (*GenerateAgentReq) GetGOOS ¶
func (x *GenerateAgentReq) GetGOOS() string
func (*GenerateAgentReq) GetObfuscate ¶
func (x *GenerateAgentReq) GetObfuscate() bool
func (*GenerateAgentReq) GetServer ¶
func (x *GenerateAgentReq) GetServer() string
func (*GenerateAgentReq) GetSocksPass ¶
func (x *GenerateAgentReq) GetSocksPass() string
func (*GenerateAgentReq) GetSocksServer ¶
func (x *GenerateAgentReq) GetSocksServer() string
func (*GenerateAgentReq) GetSocksUser ¶
func (x *GenerateAgentReq) GetSocksUser() string
func (*GenerateAgentReq) ProtoMessage ¶
func (*GenerateAgentReq) ProtoMessage()
func (*GenerateAgentReq) ProtoReflect ¶
func (x *GenerateAgentReq) ProtoReflect() protoreflect.Message
func (*GenerateAgentReq) Reset ¶
func (x *GenerateAgentReq) Reset()
func (*GenerateAgentReq) String ¶
func (x *GenerateAgentReq) String() string
type GenerateAgentResp ¶
type GenerateAgentResp struct { AgentBinary []byte `protobuf:"bytes,1,opt,name=AgentBinary,proto3" json:"AgentBinary,omitempty"` // contains filtered or unexported fields }
func (*GenerateAgentResp) Descriptor
deprecated
func (*GenerateAgentResp) Descriptor() ([]byte, []int)
Deprecated: Use GenerateAgentResp.ProtoReflect.Descriptor instead.
func (*GenerateAgentResp) GetAgentBinary ¶
func (x *GenerateAgentResp) GetAgentBinary() []byte
func (*GenerateAgentResp) ProtoMessage ¶
func (*GenerateAgentResp) ProtoMessage()
func (*GenerateAgentResp) ProtoReflect ¶
func (x *GenerateAgentResp) ProtoReflect() protoreflect.Message
func (*GenerateAgentResp) Reset ¶
func (x *GenerateAgentResp) Reset()
func (*GenerateAgentResp) String ¶
func (x *GenerateAgentResp) String() string
type LigoloClient ¶
type LigoloClient interface { Join(ctx context.Context, in *Empty, opts ...grpc.CallOption) (Ligolo_JoinClient, error) ListAgents(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListAgentsResp, error) RenameAgent(ctx context.Context, in *RenameAgentReq, opts ...grpc.CallOption) (*Empty, error) NewTun(ctx context.Context, in *NewTunReq, opts ...grpc.CallOption) (*Empty, error) DelTun(ctx context.Context, in *DelTunReq, opts ...grpc.CallOption) (*Empty, error) ListTuns(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListTunsResp, error) RenameTun(ctx context.Context, in *RenameTunReq, opts ...grpc.CallOption) (*Empty, error) NewRoute(ctx context.Context, in *NewRouteReq, opts ...grpc.CallOption) (*NewRouteResp, error) DelRoute(ctx context.Context, in *DelRouteReq, opts ...grpc.CallOption) (*Empty, error) NewListener(ctx context.Context, in *NewListenerReq, opts ...grpc.CallOption) (*Empty, error) DelListener(ctx context.Context, in *DelListenerReq, opts ...grpc.CallOption) (*Empty, error) ListListeners(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListListenersResp, error) RelayStart(ctx context.Context, in *RelayStartReq, opts ...grpc.CallOption) (*Empty, error) RelayStop(ctx context.Context, in *RelayStopReq, opts ...grpc.CallOption) (*Empty, error) GenerateAgent(ctx context.Context, in *GenerateAgentReq, opts ...grpc.CallOption) (*GenerateAgentResp, error) ListCerts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListCertsResp, error) RegenCerts(ctx context.Context, in *RegenCertsReq, opts ...grpc.CallOption) (*Empty, error) }
LigoloClient is the client API for Ligolo 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 NewLigoloClient ¶
func NewLigoloClient(cc grpc.ClientConnInterface) LigoloClient
type LigoloServer ¶
type LigoloServer interface { Join(*Empty, Ligolo_JoinServer) error ListAgents(context.Context, *Empty) (*ListAgentsResp, error) RenameAgent(context.Context, *RenameAgentReq) (*Empty, error) NewTun(context.Context, *NewTunReq) (*Empty, error) DelTun(context.Context, *DelTunReq) (*Empty, error) ListTuns(context.Context, *Empty) (*ListTunsResp, error) RenameTun(context.Context, *RenameTunReq) (*Empty, error) NewRoute(context.Context, *NewRouteReq) (*NewRouteResp, error) DelRoute(context.Context, *DelRouteReq) (*Empty, error) NewListener(context.Context, *NewListenerReq) (*Empty, error) DelListener(context.Context, *DelListenerReq) (*Empty, error) ListListeners(context.Context, *Empty) (*ListListenersResp, error) RelayStart(context.Context, *RelayStartReq) (*Empty, error) RelayStop(context.Context, *RelayStopReq) (*Empty, error) GenerateAgent(context.Context, *GenerateAgentReq) (*GenerateAgentResp, error) ListCerts(context.Context, *Empty) (*ListCertsResp, error) RegenCerts(context.Context, *RegenCertsReq) (*Empty, error) // contains filtered or unexported methods }
LigoloServer is the server API for Ligolo service. All implementations must embed UnimplementedLigoloServer for forward compatibility
type Ligolo_JoinClient ¶
type Ligolo_JoinClient interface { Recv() (*Event, error) grpc.ClientStream }
type Ligolo_JoinServer ¶
type Ligolo_JoinServer interface { Send(*Event) error grpc.ServerStream }
type ListAgentsResp ¶
type ListAgentsResp struct { Agents []*Agent `protobuf:"bytes,1,rep,name=Agents,proto3" json:"Agents,omitempty"` // contains filtered or unexported fields }
func (*ListAgentsResp) Descriptor
deprecated
func (*ListAgentsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsResp.ProtoReflect.Descriptor instead.
func (*ListAgentsResp) GetAgents ¶
func (x *ListAgentsResp) GetAgents() []*Agent
func (*ListAgentsResp) ProtoMessage ¶
func (*ListAgentsResp) ProtoMessage()
func (*ListAgentsResp) ProtoReflect ¶
func (x *ListAgentsResp) ProtoReflect() protoreflect.Message
func (*ListAgentsResp) Reset ¶
func (x *ListAgentsResp) Reset()
func (*ListAgentsResp) String ¶
func (x *ListAgentsResp) String() string
type ListCertsResp ¶
type ListCertsResp struct { Certs []*Cert `protobuf:"bytes,1,rep,name=Certs,proto3" json:"Certs,omitempty"` // contains filtered or unexported fields }
func (*ListCertsResp) Descriptor
deprecated
func (*ListCertsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListCertsResp.ProtoReflect.Descriptor instead.
func (*ListCertsResp) GetCerts ¶
func (x *ListCertsResp) GetCerts() []*Cert
func (*ListCertsResp) ProtoMessage ¶
func (*ListCertsResp) ProtoMessage()
func (*ListCertsResp) ProtoReflect ¶
func (x *ListCertsResp) ProtoReflect() protoreflect.Message
func (*ListCertsResp) Reset ¶
func (x *ListCertsResp) Reset()
func (*ListCertsResp) String ¶
func (x *ListCertsResp) String() string
type ListListenersResp ¶
type ListListenersResp struct { Listeners []*Listener `protobuf:"bytes,1,rep,name=Listeners,proto3" json:"Listeners,omitempty"` // contains filtered or unexported fields }
func (*ListListenersResp) Descriptor
deprecated
func (*ListListenersResp) Descriptor() ([]byte, []int)
Deprecated: Use ListListenersResp.ProtoReflect.Descriptor instead.
func (*ListListenersResp) GetListeners ¶
func (x *ListListenersResp) GetListeners() []*Listener
func (*ListListenersResp) ProtoMessage ¶
func (*ListListenersResp) ProtoMessage()
func (*ListListenersResp) ProtoReflect ¶
func (x *ListListenersResp) ProtoReflect() protoreflect.Message
func (*ListListenersResp) Reset ¶
func (x *ListListenersResp) Reset()
func (*ListListenersResp) String ¶
func (x *ListListenersResp) String() string
type ListTunsResp ¶
type ListTunsResp struct { Tuns []*Tun `protobuf:"bytes,1,rep,name=Tuns,proto3" json:"Tuns,omitempty"` // contains filtered or unexported fields }
func (*ListTunsResp) Descriptor
deprecated
func (*ListTunsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListTunsResp.ProtoReflect.Descriptor instead.
func (*ListTunsResp) GetTuns ¶
func (x *ListTunsResp) GetTuns() []*Tun
func (*ListTunsResp) ProtoMessage ¶
func (*ListTunsResp) ProtoMessage()
func (*ListTunsResp) ProtoReflect ¶
func (x *ListTunsResp) ProtoReflect() protoreflect.Message
func (*ListTunsResp) Reset ¶
func (x *ListTunsResp) Reset()
func (*ListTunsResp) String ¶
func (x *ListTunsResp) String() string
type Listener ¶
type Listener struct { Agent *Agent `protobuf:"bytes,1,opt,name=Agent,proto3" json:"Agent,omitempty"` Alias string `protobuf:"bytes,2,opt,name=Alias,proto3" json:"Alias,omitempty"` From string `protobuf:"bytes,3,opt,name=From,proto3" json:"From,omitempty"` To string `protobuf:"bytes,4,opt,name=To,proto3" json:"To,omitempty"` // contains filtered or unexported fields }
func (*Listener) Descriptor
deprecated
func (*Listener) ProtoMessage ¶
func (*Listener) ProtoMessage()
func (*Listener) ProtoReflect ¶
func (x *Listener) ProtoReflect() protoreflect.Message
type NewListenerReq ¶
type NewListenerReq struct { AgentAlias string `protobuf:"bytes,1,opt,name=AgentAlias,proto3" json:"AgentAlias,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"` From string `protobuf:"bytes,3,opt,name=From,proto3" json:"From,omitempty"` To string `protobuf:"bytes,4,opt,name=To,proto3" json:"To,omitempty"` // contains filtered or unexported fields }
func (*NewListenerReq) Descriptor
deprecated
func (*NewListenerReq) Descriptor() ([]byte, []int)
Deprecated: Use NewListenerReq.ProtoReflect.Descriptor instead.
func (*NewListenerReq) GetAgentAlias ¶
func (x *NewListenerReq) GetAgentAlias() string
func (*NewListenerReq) GetFrom ¶
func (x *NewListenerReq) GetFrom() string
func (*NewListenerReq) GetProtocol ¶
func (x *NewListenerReq) GetProtocol() string
func (*NewListenerReq) GetTo ¶
func (x *NewListenerReq) GetTo() string
func (*NewListenerReq) ProtoMessage ¶
func (*NewListenerReq) ProtoMessage()
func (*NewListenerReq) ProtoReflect ¶
func (x *NewListenerReq) ProtoReflect() protoreflect.Message
func (*NewListenerReq) Reset ¶
func (x *NewListenerReq) Reset()
func (*NewListenerReq) String ¶
func (x *NewListenerReq) String() string
type NewRouteReq ¶
type NewRouteReq struct { TunAlias string `protobuf:"bytes,1,opt,name=TunAlias,proto3" json:"TunAlias,omitempty"` Cidr string `protobuf:"bytes,2,opt,name=Cidr,proto3" json:"Cidr,omitempty"` Force bool `protobuf:"varint,3,opt,name=Force,proto3" json:"Force,omitempty"` // contains filtered or unexported fields }
func (*NewRouteReq) Descriptor
deprecated
func (*NewRouteReq) Descriptor() ([]byte, []int)
Deprecated: Use NewRouteReq.ProtoReflect.Descriptor instead.
func (*NewRouteReq) GetCidr ¶
func (x *NewRouteReq) GetCidr() string
func (*NewRouteReq) GetForce ¶
func (x *NewRouteReq) GetForce() bool
func (*NewRouteReq) GetTunAlias ¶
func (x *NewRouteReq) GetTunAlias() string
func (*NewRouteReq) ProtoMessage ¶
func (*NewRouteReq) ProtoMessage()
func (*NewRouteReq) ProtoReflect ¶
func (x *NewRouteReq) ProtoReflect() protoreflect.Message
func (*NewRouteReq) Reset ¶
func (x *NewRouteReq) Reset()
func (*NewRouteReq) String ¶
func (x *NewRouteReq) String() string
type NewRouteResp ¶
type NewRouteResp struct { OverlappingTun *Tun `protobuf:"bytes,1,opt,name=OverlappingTun,proto3" json:"OverlappingTun,omitempty"` // contains filtered or unexported fields }
func (*NewRouteResp) Descriptor
deprecated
func (*NewRouteResp) Descriptor() ([]byte, []int)
Deprecated: Use NewRouteResp.ProtoReflect.Descriptor instead.
func (*NewRouteResp) GetOverlappingTun ¶
func (x *NewRouteResp) GetOverlappingTun() *Tun
func (*NewRouteResp) ProtoMessage ¶
func (*NewRouteResp) ProtoMessage()
func (*NewRouteResp) ProtoReflect ¶
func (x *NewRouteResp) ProtoReflect() protoreflect.Message
func (*NewRouteResp) Reset ¶
func (x *NewRouteResp) Reset()
func (*NewRouteResp) String ¶
func (x *NewRouteResp) String() string
type NewTunReq ¶
type NewTunReq struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` IsLoopback bool `protobuf:"varint,2,opt,name=IsLoopback,proto3" json:"IsLoopback,omitempty"` // contains filtered or unexported fields }
func (*NewTunReq) Descriptor
deprecated
func (*NewTunReq) GetIsLoopback ¶
func (*NewTunReq) ProtoMessage ¶
func (*NewTunReq) ProtoMessage()
func (*NewTunReq) ProtoReflect ¶
func (x *NewTunReq) ProtoReflect() protoreflect.Message
type Operator ¶
type Operator struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*Operator) Descriptor
deprecated
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect ¶
func (x *Operator) ProtoReflect() protoreflect.Message
type RegenCertsReq ¶
type RegenCertsReq struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*RegenCertsReq) Descriptor
deprecated
func (*RegenCertsReq) Descriptor() ([]byte, []int)
Deprecated: Use RegenCertsReq.ProtoReflect.Descriptor instead.
func (*RegenCertsReq) GetName ¶
func (x *RegenCertsReq) GetName() string
func (*RegenCertsReq) ProtoMessage ¶
func (*RegenCertsReq) ProtoMessage()
func (*RegenCertsReq) ProtoReflect ¶
func (x *RegenCertsReq) ProtoReflect() protoreflect.Message
func (*RegenCertsReq) Reset ¶
func (x *RegenCertsReq) Reset()
func (*RegenCertsReq) String ¶
func (x *RegenCertsReq) String() string
type RelayStartReq ¶
type RelayStartReq struct { AgentAlias string `protobuf:"bytes,1,opt,name=AgentAlias,proto3" json:"AgentAlias,omitempty"` TunAlias string `protobuf:"bytes,2,opt,name=TunAlias,proto3" json:"TunAlias,omitempty"` // contains filtered or unexported fields }
func (*RelayStartReq) Descriptor
deprecated
func (*RelayStartReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayStartReq.ProtoReflect.Descriptor instead.
func (*RelayStartReq) GetAgentAlias ¶
func (x *RelayStartReq) GetAgentAlias() string
func (*RelayStartReq) GetTunAlias ¶
func (x *RelayStartReq) GetTunAlias() string
func (*RelayStartReq) ProtoMessage ¶
func (*RelayStartReq) ProtoMessage()
func (*RelayStartReq) ProtoReflect ¶
func (x *RelayStartReq) ProtoReflect() protoreflect.Message
func (*RelayStartReq) Reset ¶
func (x *RelayStartReq) Reset()
func (*RelayStartReq) String ¶
func (x *RelayStartReq) String() string
type RelayStopReq ¶
type RelayStopReq struct { AgentAlias string `protobuf:"bytes,1,opt,name=AgentAlias,proto3" json:"AgentAlias,omitempty"` // contains filtered or unexported fields }
func (*RelayStopReq) Descriptor
deprecated
func (*RelayStopReq) Descriptor() ([]byte, []int)
Deprecated: Use RelayStopReq.ProtoReflect.Descriptor instead.
func (*RelayStopReq) GetAgentAlias ¶
func (x *RelayStopReq) GetAgentAlias() string
func (*RelayStopReq) ProtoMessage ¶
func (*RelayStopReq) ProtoMessage()
func (*RelayStopReq) ProtoReflect ¶
func (x *RelayStopReq) ProtoReflect() protoreflect.Message
func (*RelayStopReq) Reset ¶
func (x *RelayStopReq) Reset()
func (*RelayStopReq) String ¶
func (x *RelayStopReq) String() string
type RenameAgentReq ¶ added in v1.0.2
type RenameAgentReq struct { OldAlias string `protobuf:"bytes,1,opt,name=OldAlias,proto3" json:"OldAlias,omitempty"` NewAlias string `protobuf:"bytes,2,opt,name=NewAlias,proto3" json:"NewAlias,omitempty"` // contains filtered or unexported fields }
func (*RenameAgentReq) Descriptor
deprecated
added in
v1.0.2
func (*RenameAgentReq) Descriptor() ([]byte, []int)
Deprecated: Use RenameAgentReq.ProtoReflect.Descriptor instead.
func (*RenameAgentReq) GetNewAlias ¶ added in v1.0.2
func (x *RenameAgentReq) GetNewAlias() string
func (*RenameAgentReq) GetOldAlias ¶ added in v1.0.2
func (x *RenameAgentReq) GetOldAlias() string
func (*RenameAgentReq) ProtoMessage ¶ added in v1.0.2
func (*RenameAgentReq) ProtoMessage()
func (*RenameAgentReq) ProtoReflect ¶ added in v1.0.2
func (x *RenameAgentReq) ProtoReflect() protoreflect.Message
func (*RenameAgentReq) Reset ¶ added in v1.0.2
func (x *RenameAgentReq) Reset()
func (*RenameAgentReq) String ¶ added in v1.0.2
func (x *RenameAgentReq) String() string
type RenameTunReq ¶ added in v1.0.2
type RenameTunReq struct { OldAlias string `protobuf:"bytes,1,opt,name=OldAlias,proto3" json:"OldAlias,omitempty"` NewAlias string `protobuf:"bytes,2,opt,name=NewAlias,proto3" json:"NewAlias,omitempty"` // contains filtered or unexported fields }
func (*RenameTunReq) Descriptor
deprecated
added in
v1.0.2
func (*RenameTunReq) Descriptor() ([]byte, []int)
Deprecated: Use RenameTunReq.ProtoReflect.Descriptor instead.
func (*RenameTunReq) GetNewAlias ¶ added in v1.0.2
func (x *RenameTunReq) GetNewAlias() string
func (*RenameTunReq) GetOldAlias ¶ added in v1.0.2
func (x *RenameTunReq) GetOldAlias() string
func (*RenameTunReq) ProtoMessage ¶ added in v1.0.2
func (*RenameTunReq) ProtoMessage()
func (*RenameTunReq) ProtoReflect ¶ added in v1.0.2
func (x *RenameTunReq) ProtoReflect() protoreflect.Message
func (*RenameTunReq) Reset ¶ added in v1.0.2
func (x *RenameTunReq) Reset()
func (*RenameTunReq) String ¶ added in v1.0.2
func (x *RenameTunReq) String() string
type Route ¶
type Route struct { Cidr string `protobuf:"bytes,1,opt,name=Cidr,proto3" json:"Cidr,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type Tun ¶
type Tun struct { Alias string `protobuf:"bytes,1,opt,name=Alias,proto3" json:"Alias,omitempty"` Routes []*Route `protobuf:"bytes,2,rep,name=Routes,proto3" json:"Routes,omitempty"` IsLoopback bool `protobuf:"varint,3,opt,name=IsLoopback,proto3" json:"IsLoopback,omitempty"` // contains filtered or unexported fields }
func (*Tun) Descriptor
deprecated
func (*Tun) GetIsLoopback ¶
func (*Tun) ProtoMessage ¶
func (*Tun) ProtoMessage()
func (*Tun) ProtoReflect ¶
func (x *Tun) ProtoReflect() protoreflect.Message
type TunRoute ¶
type TunRoute struct { Tun *Tun `protobuf:"bytes,1,opt,name=Tun,proto3" json:"Tun,omitempty"` Route *Route `protobuf:"bytes,2,opt,name=Route,proto3" json:"Route,omitempty"` // contains filtered or unexported fields }
func (*TunRoute) Descriptor
deprecated
func (*TunRoute) ProtoMessage ¶
func (*TunRoute) ProtoMessage()
func (*TunRoute) ProtoReflect ¶
func (x *TunRoute) ProtoReflect() protoreflect.Message
type UnimplementedLigoloServer ¶
type UnimplementedLigoloServer struct { }
UnimplementedLigoloServer must be embedded to have forward compatible implementations.
func (UnimplementedLigoloServer) DelListener ¶
func (UnimplementedLigoloServer) DelListener(context.Context, *DelListenerReq) (*Empty, error)
func (UnimplementedLigoloServer) DelRoute ¶
func (UnimplementedLigoloServer) DelRoute(context.Context, *DelRouteReq) (*Empty, error)
func (UnimplementedLigoloServer) GenerateAgent ¶
func (UnimplementedLigoloServer) GenerateAgent(context.Context, *GenerateAgentReq) (*GenerateAgentResp, error)
func (UnimplementedLigoloServer) Join ¶
func (UnimplementedLigoloServer) Join(*Empty, Ligolo_JoinServer) error
func (UnimplementedLigoloServer) ListAgents ¶
func (UnimplementedLigoloServer) ListAgents(context.Context, *Empty) (*ListAgentsResp, error)
func (UnimplementedLigoloServer) ListCerts ¶
func (UnimplementedLigoloServer) ListCerts(context.Context, *Empty) (*ListCertsResp, error)
func (UnimplementedLigoloServer) ListListeners ¶
func (UnimplementedLigoloServer) ListListeners(context.Context, *Empty) (*ListListenersResp, error)
func (UnimplementedLigoloServer) ListTuns ¶
func (UnimplementedLigoloServer) ListTuns(context.Context, *Empty) (*ListTunsResp, error)
func (UnimplementedLigoloServer) NewListener ¶
func (UnimplementedLigoloServer) NewListener(context.Context, *NewListenerReq) (*Empty, error)
func (UnimplementedLigoloServer) NewRoute ¶
func (UnimplementedLigoloServer) NewRoute(context.Context, *NewRouteReq) (*NewRouteResp, error)
func (UnimplementedLigoloServer) RegenCerts ¶
func (UnimplementedLigoloServer) RegenCerts(context.Context, *RegenCertsReq) (*Empty, error)
func (UnimplementedLigoloServer) RelayStart ¶
func (UnimplementedLigoloServer) RelayStart(context.Context, *RelayStartReq) (*Empty, error)
func (UnimplementedLigoloServer) RelayStop ¶
func (UnimplementedLigoloServer) RelayStop(context.Context, *RelayStopReq) (*Empty, error)
func (UnimplementedLigoloServer) RenameAgent ¶ added in v1.0.2
func (UnimplementedLigoloServer) RenameAgent(context.Context, *RenameAgentReq) (*Empty, error)
func (UnimplementedLigoloServer) RenameTun ¶ added in v1.0.2
func (UnimplementedLigoloServer) RenameTun(context.Context, *RenameTunReq) (*Empty, error)
type UnsafeLigoloServer ¶
type UnsafeLigoloServer interface {
// contains filtered or unexported methods
}
UnsafeLigoloServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LigoloServer will result in compilation errors.