resources

package
v1.24.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 14 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSMultipartMIME added in v1.24.0

func AWSMultipartMIME(bootScript string, ig *kops.InstanceGroup) (string, error)

AWSMultipartMIME returns a MIME Multi Part Archive containing the nodeup (bootstrap) script and any additional User Data passed to using AdditionalUserData in the IG Spec

Types

type NodeUpScript added in v1.24.0

type NodeUpScript struct {
	NodeUpAssets         map[architectures.Architecture]*mirrors.MirroredAsset
	KubeEnv              string
	CompressUserData     bool
	SetSysctls           string
	ProxyEnv             func() (string, error)
	EnvironmentVariables func() (string, error)
	ClusterSpec          func() (string, error)
}

NodeUpScript is responsible for creating the nodeup script

func (*NodeUpScript) Build added in v1.24.0

func (b *NodeUpScript) Build() (fi.Resource, error)

Jump to

Keyboard shortcuts

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