machinecert

package
v0.0.0-...-5f133c6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package machinecert provides the machine-cert subcommands to enkit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Install

type Install struct {
	*cobra.Command

	ExistingPublicKeyPath  string
	ExistingPrivateKeyPath string
	SshPrincipals          []string
	Overwrite              bool
	ConfigureSshd          bool
	RestartSshd            bool
	// contains filtered or unexported fields
}

func NewInstall

func NewInstall(root *Root) *Install

func (*Install) Run

func (i *Install) Run(cmd *cobra.Command, args []string) error

type Print

type Print struct {
	*cobra.Command
	// contains filtered or unexported fields
}

func NewPrint

func NewPrint(root *Root) *Print

func (*Print) Run

func (p *Print) Run(cmd *cobra.Command, args []string) error

type Root

type Root struct {
	*cobra.Command
	*client.BaseFlags

	PublicKeyPath   string
	PrivateKeyPath  string
	PublicCaKeyPath string
	SignedCertPath  string
	SshdConfigPath  string
}

func New

func New(base *client.BaseFlags) (*Root, error)

func NewRoot

func NewRoot(base *client.BaseFlags) (*Root, error)

Jump to

Keyboard shortcuts

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