data

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseNodeVersion added in v0.32.0

type BaseNodeVersion struct {
	ID             uint64
	OID            oid.ID
	IsDeleteMarker bool
}

BaseNodeVersion is minimal node info from tree service. Basically used for "system" object.

type BucketInfo

type BucketInfo struct {
	Name                    string // container name from system attribute
	Zone                    string // container zone from system attribute
	CID                     cid.ID
	HomomorphicHashDisabled bool
	PlacementPolicy         netmap.PlacementPolicy
}

type CORSConfiguration added in v0.33.0

type CORSConfiguration struct {
	CORSRules []CORSRule `xml:"CORSRule" json:"CORSRules"`
}

CORSConfiguration stores CORS configuration of a request.

type CORSRule added in v0.33.0

type CORSRule struct {
	AllowedHeaders     []string `xml:"AllowedHeader" json:"AllowedHeaders"`
	AllowedMethods     []string `xml:"AllowedMethod" json:"AllowedMethods"`
	AllowedOrigins     []string `xml:"AllowedOrigin" json:"AllowedOrigins"`
	ExposeHeaders      []string `xml:"ExposeHeader" json:"ExposeHeaders"`
	MaxAgeSeconds      int      `xml:"MaxAgeSeconds,omitempty" json:"MaxAgeSeconds,omitempty"`
	AllowedCredentials bool     `xml:"AllowedCredentials,omitempty" json:"AllowedCredentials,omitempty"`
}

CORSRule stores rules for CORS configuration.

type NodeInfo added in v0.32.0

type NodeInfo struct {
	Meta []NodeMeta
}

type NodeMeta added in v0.32.0

type NodeMeta interface {
	GetKey() string
	GetValue() []byte
}

type NodeVersion added in v0.32.0

type NodeVersion struct {
	BaseNodeVersion
}

NodeVersion represent node from tree service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL