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

Function userdataTOML

pkg/nodebootstrap/bottlerocket_test.go:263–269  ·  view source on GitHub ↗
(userdata string)

Source from the content-addressed store, hash-verified

261})
262
263func userdataTOML(userdata string) (*toml.Tree, error) {
264 data, err := base64.StdEncoding.DecodeString(userdata)
265 if err != nil {
266 return nil, err
267 }
268 return toml.LoadBytes(data)
269}
270
271// TODO sort this out. ginkgo or bust
272// and make that func private

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected