Documentation
¶
Overview ¶
utils contains functions that are useful in some context
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AtlasManifest = atlas.BuildEntry(Manifest{}). StructMap(). AddField("SkipManifest", atlas.StructMapEntry{SerialName: "skip_manifest"}). AddField("Address", atlas.StructMapEntry{SerialName: "address"}). AddField("ManifestType", atlas.StructMapEntry{SerialName: "manifest/type"}). AddField("Name", atlas.StructMapEntry{SerialName: "name"}). AddField("Type", atlas.StructMapEntry{SerialName: "type"}). AddField("AccessController", atlas.StructMapEntry{SerialName: "access_controller"}). Complete()
AtlasManifest defines how a manifest is serialized
Functions ¶
Types ¶
type Manifest ¶
type Manifest struct {
SkipManifest interface{} `cbor:"manifest/skip_manifest,omitempty"`
Address interface{} `cbor:"manifest/address,omitempty"`
ManifestType interface{} `cbor:"manifest/type,omitempty"`
Name string `cbor:"name"`
Type string `cbor:"type"`
AccessController string `cbor:"access_controller"`
}
Manifest struct for nodes with "name", "type", and "access_controller"
type ManifestEnvelope ¶ added in v1.23.10
type ManifestEnvelope struct {
Manifest Manifest `cbor:"manifest"`
SkipManifest interface{} `cbor:"skip_manifest,omitempty"`
Address interface{} `cbor:"manifest/address,omitempty"`
ManifestType interface{} `cbor:"manifest/type,omitempty"`
// // Fields for keys at this level
Type string `cbor:"type"`
Name string `cbor:"name,omitempty"`
AccessController string `cbor:"access_controller,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.