Integrate BACKBEAT SDK and resolve KACHING license validation
Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
81
vendor/github.com/ipld/go-ipld-prime/node/basicnode/bytes_stream.go
generated
vendored
Normal file
81
vendor/github.com/ipld/go-ipld-prime/node/basicnode/bytes_stream.go
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
package basicnode
|
||||
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/ipld/go-ipld-prime/datamodel"
|
||||
"github.com/ipld/go-ipld-prime/node/mixins"
|
||||
)
|
||||
|
||||
var (
|
||||
_ datamodel.Node = streamBytes{nil}
|
||||
_ datamodel.NodePrototype = Prototype__Bytes{}
|
||||
_ datamodel.NodeBuilder = &plainBytes__Builder{}
|
||||
_ datamodel.NodeAssembler = &plainBytes__Assembler{}
|
||||
)
|
||||
|
||||
func NewBytesFromReader(rs io.ReadSeeker) datamodel.Node {
|
||||
return streamBytes{rs}
|
||||
}
|
||||
|
||||
// streamBytes is a boxed reader that complies with datamodel.Node.
|
||||
type streamBytes struct {
|
||||
io.ReadSeeker
|
||||
}
|
||||
|
||||
// -- Node interface methods -->
|
||||
|
||||
func (streamBytes) Kind() datamodel.Kind {
|
||||
return datamodel.Kind_Bytes
|
||||
}
|
||||
func (streamBytes) LookupByString(string) (datamodel.Node, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.LookupByString("")
|
||||
}
|
||||
func (streamBytes) LookupByNode(key datamodel.Node) (datamodel.Node, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.LookupByNode(nil)
|
||||
}
|
||||
func (streamBytes) LookupByIndex(idx int64) (datamodel.Node, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.LookupByIndex(0)
|
||||
}
|
||||
func (streamBytes) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.LookupBySegment(seg)
|
||||
}
|
||||
func (streamBytes) MapIterator() datamodel.MapIterator {
|
||||
return nil
|
||||
}
|
||||
func (streamBytes) ListIterator() datamodel.ListIterator {
|
||||
return nil
|
||||
}
|
||||
func (streamBytes) Length() int64 {
|
||||
return -1
|
||||
}
|
||||
func (streamBytes) IsAbsent() bool {
|
||||
return false
|
||||
}
|
||||
func (streamBytes) IsNull() bool {
|
||||
return false
|
||||
}
|
||||
func (streamBytes) AsBool() (bool, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.AsBool()
|
||||
}
|
||||
func (streamBytes) AsInt() (int64, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.AsInt()
|
||||
}
|
||||
func (streamBytes) AsFloat() (float64, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.AsFloat()
|
||||
}
|
||||
func (streamBytes) AsString() (string, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.AsString()
|
||||
}
|
||||
func (n streamBytes) AsBytes() ([]byte, error) {
|
||||
return io.ReadAll(n)
|
||||
}
|
||||
func (streamBytes) AsLink() (datamodel.Link, error) {
|
||||
return mixins.Bytes{TypeName: "bytes"}.AsLink()
|
||||
}
|
||||
func (streamBytes) Prototype() datamodel.NodePrototype {
|
||||
return Prototype__Bytes{}
|
||||
}
|
||||
func (n streamBytes) AsLargeBytes() (io.ReadSeeker, error) {
|
||||
return n.ReadSeeker, nil
|
||||
}
|
||||
Reference in New Issue
Block a user