subnet

package
v2.0.0-...-196241c Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_subnet_grpc_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SubnetInfo

type SubnetInfo struct {

	// Unique subnet identifier. Missing ID is
	// equivalent to zero (default subnetwork) ID.
	Id *grpc.SubnetID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Identifier of the subnetwork owner
	Owner *grpc.OwnerID `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// contains filtered or unexported fields
}

NeoFS subnetwork description

func (*SubnetInfo) Descriptor deprecated

func (*SubnetInfo) Descriptor() ([]byte, []int)

Deprecated: Use SubnetInfo.ProtoReflect.Descriptor instead.

func (*SubnetInfo) GetId

func (x *SubnetInfo) GetId() *grpc.SubnetID

func (*SubnetInfo) GetOwner

func (x *SubnetInfo) GetOwner() *grpc.OwnerID

func (*SubnetInfo) ProtoMessage

func (*SubnetInfo) ProtoMessage()

func (*SubnetInfo) ProtoReflect

func (x *SubnetInfo) ProtoReflect() protoreflect.Message

func (*SubnetInfo) Reset

func (x *SubnetInfo) Reset()

func (*SubnetInfo) SetID

func (x *SubnetInfo) SetID(id *refs.SubnetID)

SetID returns identifier of the subnet. Nil arg is equivalent to zero subnet ID.

func (*SubnetInfo) SetOwner

func (x *SubnetInfo) SetOwner(id *refs.OwnerID)

SetOwner sets subnet owner's ID in NeoFS system.

func (*SubnetInfo) String

func (x *SubnetInfo) String() string

Jump to

Keyboard shortcuts

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