caddy

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 7 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 New

func New(cfg config.Config) *Client

func (*Client) AllowTLSDomain

func (c *Client) AllowTLSDomain(host string) bool

func (*Client) DeletePortRoute

func (c *Client) DeletePortRoute(ctx context.Context, id string, port int) error

func (*Client) DeleteSandboxRoute

func (c *Client) DeleteSandboxRoute(ctx context.Context, id string) error

func (*Client) Enabled

func (c *Client) Enabled() bool

func (*Client) Ping

func (c *Client) Ping(ctx context.Context) error

func (*Client) PortPublicURL

func (c *Client) PortPublicURL(id string, port int) string

func (*Client) SandboxPublicURL

func (c *Client) SandboxPublicURL(id string) string

func (*Client) UpsertPortRoute

func (c *Client) UpsertPortRoute(ctx context.Context, id, containerIP string, port int) error

func (*Client) UpsertSandboxRoute

func (c *Client) UpsertSandboxRoute(ctx context.Context, id, containerIP string, toolboxPort int) error

Jump to

Keyboard shortcuts

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