{"modulePath":"github.com/deckhouse/module-sdk","version":"v0.14.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package patchablevalues\n\n## Types\n\n```go\ntype PatchableValues struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewPatchableValues(values map[string]any) (*PatchableValues, error)\n```\n\n```go\nfunc (p *PatchableValues) ArrayCount(path string) (int, error)\n```\nArrayCount counts the number of elements in a JSON array at a path\n\n```go\nfunc (p *PatchableValues) Exists(path string) bool\n```\nExists checks whether a path exists\n\n```go\nfunc (p *PatchableValues) Get(path string) gjson.Result\n```\nGet value from patchable. It could be null value\n\n```go\nfunc (p *PatchableValues) GetOk(path string) (gjson.Result, bool)\n```\nGetOk returns value and \\`exists\\` flag\n\n```go\nfunc (p *PatchableValues) GetPatches() []*utils.ValuesPatchOperation\n```\n\n```go\nfunc (p *PatchableValues) GetRaw(path string) any\n```\nGetRaw get empty interface\n\n```go\nfunc (p *PatchableValues) Remove(path string)\n```\n\n```go\nfunc (p *PatchableValues) Set(path string, value any)\n```\n\n```go\nfunc (p *PatchableValues) WriteOutput(w io.Writer) error\n```\n\n","path":"github.com/deckhouse/module-sdk/pkg/patchable-values","name":"patchablevalues","synopsis":"","isRedistributable":true}
