pbpeer

package
v0.0.0-...-e3e94bd Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_configuration_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ACLs

type ACLs struct {
	Acls map[string]*APIResource `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

acls 为通道中的资源提供映射。APIResource 封装了用于确定资源 ACL 的策略引用。

func (*ACLs) Descriptor deprecated

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

Deprecated: Use ACLs.ProtoReflect.Descriptor instead.

func (*ACLs) GetAcls

func (x *ACLs) GetAcls() map[string]*APIResource

func (*ACLs) ProtoMessage

func (*ACLs) ProtoMessage()

func (*ACLs) ProtoReflect

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

func (*ACLs) Reset

func (x *ACLs) Reset()

func (*ACLs) String

func (x *ACLs) String() string

type APIResource

type APIResource struct {
	PolicyRef string `protobuf:"bytes,1,opt,name=policy_ref,json=policyRef,proto3" json:"policy_ref,omitempty"`
	// contains filtered or unexported fields
}

APIResource 表示 peer 中的 API 资源,其 ACL 由 policy_ref_field 字段决定。

func (*APIResource) Descriptor deprecated

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

Deprecated: Use APIResource.ProtoReflect.Descriptor instead.

func (*APIResource) GetPolicyRef

func (x *APIResource) GetPolicyRef() string

func (*APIResource) ProtoMessage

func (*APIResource) ProtoMessage()

func (*APIResource) ProtoReflect

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

func (*APIResource) Reset

func (x *APIResource) Reset()

func (*APIResource) String

func (x *APIResource) String() string

type AnchorPeer

type AnchorPeer struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*AnchorPeer) Descriptor deprecated

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

Deprecated: Use AnchorPeer.ProtoReflect.Descriptor instead.

func (*AnchorPeer) GetHost

func (x *AnchorPeer) GetHost() string

func (*AnchorPeer) GetPort

func (x *AnchorPeer) GetPort() int32

func (*AnchorPeer) ProtoMessage

func (*AnchorPeer) ProtoMessage()

func (*AnchorPeer) ProtoReflect

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

func (*AnchorPeer) Reset

func (x *AnchorPeer) Reset()

func (*AnchorPeer) String

func (x *AnchorPeer) String() string

Jump to

Keyboard shortcuts

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