Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminServer ¶
type AdminServer struct {
Session *api.GetSessionResponse
ClientRepo *ClientRepo
sync.Mutex
// contains filtered or unexported fields
}
type ClientRepo ¶
type ClientRepo struct {
// contains filtered or unexported fields
}
func NewClientRepo ¶
func NewClientRepo() *ClientRepo
func (*ClientRepo) Clients ¶
func (c *ClientRepo) Clients() []*api.Client
func (*ClientRepo) Delete ¶
func (c *ClientRepo) Delete(clientId string)
type PermissionDeniedError ¶
type PermissionDeniedError struct {
// contains filtered or unexported fields
}
func (*PermissionDeniedError) Error ¶
func (e *PermissionDeniedError) Error() string
func (*PermissionDeniedError) Unwrap ¶
func (e *PermissionDeniedError) Unwrap() error
type ReverseTunnel ¶
type ReverseTunnel struct {
*ssh.Client
Host *url.URL
Signers []ssh.Signer
AuthorizedKeys []ssh.PublicKey
KeepAliveDuration time.Duration
HostKeyCallback ssh.HostKeyCallback
Logger log.FieldLogger
// contains filtered or unexported fields
}
func (*ReverseTunnel) Close ¶
func (c *ReverseTunnel) Close()
func (*ReverseTunnel) Establish ¶
func (c *ReverseTunnel) Establish(ctx context.Context) (*server.CreateSessionResponse, error)
func (*ReverseTunnel) Listener ¶
func (c *ReverseTunnel) Listener() net.Listener
Click to show internal directories.
Click to hide internal directories.