controlplane

package
v0.32.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APICert added in v0.32.2

type APICert struct {
	ID         string    `json:"id"`
	CN         string    `json:"common_name"`
	Key        string    `json:"private_key"`
	Cert       string    `json:"certificate"`
	Expiration time.Time `json:"expiration"`
}

type ClientCertCmd

type ClientCertCmd struct {
	ID        string `arg:"" help:"edge authorizer connection ID"`
	Directory string `flag:"" short:"d" help:"directory to save certificate file" default:"${cwd}"`
	Raw       bool   `flag:"" help:"raw message output"`
}

func (ClientCertCmd) Run

func (cmd ClientCertCmd) Run(c *cc.CommonCtx) error

type Config added in v0.32.2

type Config struct {
	APICerts []APICert `json:"api_cert"`
}

type DiscoveryCmd

type DiscoveryCmd struct {
	Instance string `arg:"" help:"target instance"`
}

func (DiscoveryCmd) Run

func (cmd DiscoveryCmd) Run(c *cc.CommonCtx) error

type EdgeDirSyncCmd

type EdgeDirSyncCmd struct {
	Instance string `arg:"" optional:"" help:"target instance"`
	All      bool   `flag:"" help:"fan-out command to all online instances"`
	Mode     string `flag:"" default:"diff" enum:"full,diff,watermark,manifest" help:"sync mode"`
}

func (EdgeDirSyncCmd) Run

func (cmd EdgeDirSyncCmd) Run(c *cc.CommonCtx) error

type ListConnectionsCmd

type ListConnectionsCmd struct{}

func (ListConnectionsCmd) Run

func (cmd ListConnectionsCmd) Run(c *cc.CommonCtx) error

type ListInstanceRegistrationsCmd

type ListInstanceRegistrationsCmd struct {
	Connection string `args:"" optional:"" help:"filter on connection ID"`
}

func (ListInstanceRegistrationsCmd) Run

Jump to

Keyboard shortcuts

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