package
0.2.11
Repository: https://github.com/elastic/harp.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Annotate a bundle object.
AsMap returns a bundle as map.
AsMetadataMap exports given bundle metadata as a map.
AsProtoJSON export given bundle as a JSON representation.
AsSecretMap returns a KV map from given package.
Dump a file bundle to the writer.
FromContainer unwraps a Bundle from a secret container.
FromContainerReader returns a Bundle extracted from a secret container.
FromDump creates a bundle from a JSON Dump.
FromHCL convert HCL-DSL to a bundle.
FromMap builds a secret container from map K/V.
FromOpLog convert oplog to a bundle.
FromSecretMap returns the protobuf representation of secretMap.
JSONSchema returns the used json schema for validation.
Labelize a bundle object.
Lint to input reader content with Bundle jsonschema.
Load a file bundle from the buffer.
Lock apply transformer function to all secret values and set as locked.
PartialLock apply conditional transformer according to applicable annotation on the given package.
Paths returns ordered bundle secret paths.
Read a secret located at secretPath from the given bundle.
SecretReader is used by template engine to resolve secret from secret container.
ToContainer wrpas a Bundle as a container object.
ToContainerWriter returns a Bundle packaged as a secret container.
Tree returns a merkle tree based on secrets hierarchy.
UnLock apply transformer function to all secret values and set as unlocked.

# Structs

Statistic hold bundle statistic information.

# Interfaces

AnnotationOwner defines annotations owner contract.
LabelOwner defines label owner contract.
Reader exposes bundle reader contract.
Visitor delares the bundle vistor contract.
Writer exposes bundle writer contract.

# Type aliases

KV describes map[string]interface{} alias.