request

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormFrostfsIDRequestProperties added in v0.39.0

func FormFrostfsIDRequestProperties(frostFSIDClient frostfsidcore.SubjectProvider, pk *keys.PublicKey) (map[string]string, error)

FormFrostfsIDRequestProperties forms frostfsid specific request properties like user-claim tags and group ID.

Types

type Request

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

func NewRequest

func NewRequest(operation string, resource Resource, properties map[string]string) Request

func (Request) Operation

func (r Request) Operation() string

func (Request) Property

func (r Request) Property(key string) string

func (Request) Resource

func (r Request) Resource() aperesource.Resource

type Resource

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

func NewResource

func NewResource(name string, properties map[string]string) Resource

func (Resource) Name

func (r Resource) Name() string

func (Resource) Property

func (r Resource) Property(key string) string

Jump to

Keyboard shortcuts

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