MCPcopy Index your code
hub / github.com/eksctl-io/eksctl / decode

Function decode

pkg/nodebootstrap/nodebootstrap_suite_test.go:18–23  ·  view source on GitHub ↗
(userData string)

Source from the content-addressed store, hash-verified

16}
17
18func decode(userData string) *cloudconfig.CloudConfig {
19 cloudCfg, err := cloudconfig.DecodeCloudConfig(userData)
20 Expect(err).NotTo(HaveOccurred())
21
22 return cloudCfg
23}
24
25func newBootstrapper(clusterConfig *api.ClusterConfig, ng *api.NodeGroup) nodebootstrap.Bootstrapper {
26 bootstrapper, err := nodebootstrap.NewBootstrapper(clusterConfig, ng)

Callers 3

ubuntu_test.goFile · 0.85
al2_test.goFile · 0.85

Calls 1

DecodeCloudConfigFunction · 0.92

Tested by

no test coverage detected