ape

package
v0.44.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SubjectNameRegexp = regexp.MustCompile(`^[\w+=,.@-]{1,64}$`)
	GroupNameRegexp   = regexp.MustCompile(`^[\w+=,.@-]{1,128}$`)

	// NamespaceNameRegexp similar to https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/commit/f2a82aa635aa57d9b05092d8cf15b170b53cc324/nns/nns_contract.go#L690
	NamespaceNameRegexp = regexp.MustCompile(`(^$)|(^[a-z0-9]{1,2}$)|(^[a-z0-9][a-z0-9-]{1,48}[a-z0-9]$)`)
)

Functions

func ConvertEACLToAPE

func ConvertEACLToAPE(eaclTable *eacl.Table) (*apechain.Chain, error)

ConvertEACLToAPE converts eacl.Table to apechain.Chain.

Types

type ConvertEACLError

type ConvertEACLError struct {
	// contains filtered or unexported fields
}

func (*ConvertEACLError) Error

func (e *ConvertEACLError) Error() string

func (*ConvertEACLError) Unwrap

func (e *ConvertEACLError) Unwrap() error

Jump to

Keyboard shortcuts

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