MCPcopy Create free account
hub / github.com/eksctl-io/eksctl / decodeData

Function decodeData

pkg/nodebootstrap/windows_test.go:217–225  ·  view source on GitHub ↗
(userdata string)

Source from the content-addressed store, hash-verified

215})
216
217func decodeData(userdata string) string {
218 decodedBytes, err := base64.StdEncoding.DecodeString(userdata)
219 Expect(err).NotTo(HaveOccurred())
220
221 decodedString := string(decodedBytes)
222 Expect(decodedString).NotTo(Equal(""))
223
224 return decodedString
225}

Callers 1

windows_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected