proxy

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 15 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 {
	runtime.ContainerRuntime
	builder.ImageBuilder
	// contains filtered or unexported fields
}

func NewClient

func NewClient(c *Config) (*Client, error)

func (*Client) Close

func (c *Client) Close()

type Config

type Config struct {
	Address  string
	CAFile   string
	CertFile string
	KeyFile  string
}

func (*Config) DialOptions

func (c *Config) DialOptions() (string, string, error)

func (*Config) TLSClientOptions

func (c *Config) TLSClientOptions() (credentials.TransportCredentials, error)

func (*Config) TLSServerOptions

func (c *Config) TLSServerOptions() (credentials.TransportCredentials, error)

type Server

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

func NewServer

func NewServer(m plugin.Manager, c *Config) (*Server, error)

func (*Server) Listen

func (s *Server) Listen() error

Jump to

Keyboard shortcuts

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