server

package
v0.6.149 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(sockAddr string) (*Client, error)

func (Client) ConfigureVPN

func (c Client) ConfigureVPN() error

type RPCServer

type RPCServer struct {
	Store ServerStore
}

func NewRPCServer

func NewRPCServer(store ServerStore) RPCServer

func (RPCServer) ConfigureVPN

func (s RPCServer) ConfigureVPN(_ *string, _ *string) error

type RPCServerTask

type RPCServerTask struct {
	Store RPCServerTaskStore
}

func NewRPCServerTask

func NewRPCServerTask(store RPCServerTaskStore) RPCServerTask

func (RPCServerTask) Configure

func (rst RPCServerTask) Configure() error

func (RPCServerTask) GetTaskSpec

func (rst RPCServerTask) GetTaskSpec() tasks.TaskSpec

func (RPCServerTask) Run

func (rst RPCServerTask) Run() error

type RPCServerTaskStore

type RPCServerTaskStore interface {
	vpn.ServiceMeshStore
	GetServerSockFile() string
}

type Server

type Server struct {
	SockAddr string
	Store    ServerStore
}

func NewServer

func NewServer(sockAddr string, store ServerStore) Server

func (Server) Serve

func (s Server) Serve() error

type ServerStore

type ServerStore interface {
	vpn.ServiceMeshStore
}

Jump to

Keyboard shortcuts

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