control_plane

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInitFerry added in v0.1.0

func BuildInitFerry(conf BuildInitFerryConfig) (string, error)

func BuildInitKey added in v0.1.0

func BuildInitKey(conf BuildInitKeyConfig) (string, error)

func ClusterInit

func ClusterInit(ctx context.Context, conf ClusterInitConfig) error

func ClusterPreJoin added in v0.1.0

func ClusterPreJoin(ctx context.Context, conf ClusterPreJoinConfig) error

func ShowJoinWithDirect added in v0.1.0

func ShowJoinWithDirect(ctx context.Context, conf ShowJoinWithDirectConfig) error

func ShowJoinWithTunnel added in v0.1.0

func ShowJoinWithTunnel(ctx context.Context, conf ShowJoinWithTunnelConfig) error

func ShowJoinWithTunnelForDataPlane added in v0.1.0

func ShowJoinWithTunnelForDataPlane(ctx context.Context, conf ShowJoinWithTunnelForDataPlaneConfig) error

Types

type BuildInitFerryConfig added in v0.1.0

type BuildInitFerryConfig struct {
	Image string
}

type BuildInitKeyConfig added in v0.1.0

type BuildInitKeyConfig struct {
	ClusterName string
	Identity    string
	Authorized  string
	Hostkey     string
}

type ClusterInitConfig added in v0.1.0

type ClusterInitConfig struct {
	ControlPlaneName          string
	ControlPlaneReachable     bool
	ControlPlaneTunnelAddress string
}

type ClusterPreJoinConfig added in v0.1.0

type ClusterPreJoinConfig struct {
	DataPlaneName       string
	DataPlaneIdentity   string
	DataPlaneAuthorized string
	DataPlaneHostkey    string
}

type ShowJoinWithDirectConfig added in v0.1.0

type ShowJoinWithDirectConfig struct {
	DataPlaneName             string
	DataPlaneApiserverAddress string
	DataPlaneTunnelAddress    string
	DataPlaneIdentity         string
	DataPlaneAuthorized       string
	DataPlaneHostkey          string
}

type ShowJoinWithTunnelConfig added in v0.1.0

type ShowJoinWithTunnelConfig struct {
	ControlPlaneName          string
	DataPlaneName             string
	ControlPlaneTunnelAddress string
	DataPlaneIdentity         string
	DataPlaneAuthorized       string
	DataPlaneHostkey          string
}

type ShowJoinWithTunnelForDataPlaneConfig added in v0.1.0

type ShowJoinWithTunnelForDataPlaneConfig struct {
	DataPlaneName             string
	DataPlaneTunnelAddress    string
	DataPlaneApiserverAddress string
	DataPlaneIdentity         string
	DataPlaneAuthorized       string
	DataPlaneHostkey          string
}

Jump to

Keyboard shortcuts

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