Documentation ¶
Index ¶
- Variables
- func AddSharedFlags(cmd *cobra.Command, opts *VagrantCmdOpts)
- func Cmd() *cobra.Command
- func VagrantCreateCmd() *cobra.Command
- func VagrantCreateMinikubeCmd() *cobra.Command
- type Infrastructure
- type InfrastructureOpts
- type NodeDetails
- type NodeType
- type Plan
- type PlanOpts
- type Vagrant
- type VagrantCmdOpts
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddSharedFlags ¶
func AddSharedFlags(cmd *cobra.Command, opts *VagrantCmdOpts)
func VagrantCreateCmd ¶
Types ¶
type Infrastructure ¶
type Infrastructure struct { Network net.IPNet Broadcast net.IP Nodes []NodeDetails DNSReflector string PrivateSSHKeyPath string PublicSSHKeyPath string }
func NewInfrastructure ¶
func NewInfrastructure(opts *InfrastructureOpts) (*Infrastructure, error)
type InfrastructureOpts ¶
type Plan ¶
type Plan struct { Opts *PlanOpts Infrastructure *Infrastructure }
func (*Plan) Etcd ¶
func (p *Plan) Etcd() []NodeDetails
func (*Plan) Ingress ¶
func (p *Plan) Ingress() []NodeDetails
func (*Plan) Master ¶
func (p *Plan) Master() []NodeDetails
func (*Plan) Storage ¶
func (p *Plan) Storage() []NodeDetails
func (*Plan) Worker ¶
func (p *Plan) Worker() []NodeDetails
type Vagrant ¶
type Vagrant struct { Opts *InfrastructureOpts Infrastructure *Infrastructure UnescapedLTLT template.HTML UnescapedGTGT template.HTML }
type VagrantCmdOpts ¶
Click to show internal directories.
Click to hide internal directories.