Documentation
¶
Index ¶
- Variables
- func CreateBootstrapToken(ctx context.Context, vClient *kubernetes.Clientset, expires string, ...) (string, string, string, string, error)
- func NewCreateCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewDeleteCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewListCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewTokenCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- type CreateCmd
- type DeleteCmd
- type ListCmd
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var (
JoinScriptEndpointAnnotation = "vcluster.loft.sh/join-script-endpoint"
)
Functions ¶
func CreateBootstrapToken ¶
func CreateBootstrapToken(ctx context.Context, vClient *kubernetes.Clientset, expires string, controlPlane bool) (string, string, string, string, error)
CreateBootstrapToken attempts to create a token with the given ID. Its public because it's used in e2e tests.
func NewCreateCmd ¶
func NewCreateCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewListCmd ¶
func NewListCmd(globalFlags *flags.GlobalFlags) *cobra.Command
func NewTokenCmd ¶
func NewTokenCmd(globalFlags *flags.GlobalFlags) *cobra.Command
Types ¶
type CreateCmd ¶
Click to show internal directories.
Click to hide internal directories.