Documentation
¶
Index ¶
- Variables
- type Principal
- func (*Principal) Descriptor() ([]byte, []int)deprecated
- func (x *Principal) GetAccessKey() string
- func (x *Principal) GetAccessSecret() string
- func (x *Principal) GetIdentity() string
- func (m *Principal) MarshalJSON() ([]byte, error)
- func (*Principal) ProtoMessage()
- func (x *Principal) ProtoReflect() protoreflect.Message
- func (x *Principal) Reset()
- func (x *Principal) String() string
- func (m *Principal) UnmarshalJSON(b []byte) error
- func (m *Principal) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Principal) Validate() error
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetResID() string
- func (x *Relation) GetResType() string
- func (x *Relation) GetResourceKeys() []string
- func (x *Relation) GetTraceID() string
- func (m *Relation) MarshalJSON() ([]byte, error)
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- func (m *Relation) UnmarshalJSON(b []byte) error
- func (m *Relation) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Relation) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Principal ¶
type Principal struct { Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` AccessKey string `protobuf:"bytes,2,opt,name=accessKey,proto3" json:"accessKey,omitempty"` AccessSecret string `protobuf:"bytes,3,opt,name=accessSecret,proto3" json:"accessSecret,omitempty"` // contains filtered or unexported fields }
func (*Principal) Descriptor
deprecated
func (*Principal) GetAccessKey ¶
func (*Principal) GetAccessSecret ¶
func (*Principal) GetIdentity ¶
func (*Principal) MarshalJSON ¶
Principal implement json.Marshaler.
func (*Principal) ProtoMessage ¶
func (*Principal) ProtoMessage()
func (*Principal) ProtoReflect ¶
func (x *Principal) ProtoReflect() protoreflect.Message
func (*Principal) UnmarshalJSON ¶
Principal implement json.Marshaler.
func (*Principal) UnmarshalURLValues ¶
Principal implement urlenc.URLValuesUnmarshaler.
type Relation ¶
type Relation struct { // Related trace id . optional TraceID string `protobuf:"bytes,1,opt,name=traceID,proto3" json:"traceID,omitempty"` // Related resource id . Optional ResID string `protobuf:"bytes,2,opt,name=resID,proto3" json:"resID,omitempty"` // Related resource type . Optional ResType string `protobuf:"bytes,3,opt,name=resType,proto3" json:"resType,omitempty"` // Optional ResourceKeys []string `protobuf:"bytes,4,rep,name=resourceKeys,proto3" json:"resourceKeys,omitempty"` // contains filtered or unexported fields }
func (*Relation) Descriptor
deprecated
func (*Relation) GetResType ¶
func (*Relation) GetResourceKeys ¶
func (*Relation) GetTraceID ¶
func (*Relation) MarshalJSON ¶
Relation implement json.Marshaler.
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
func (*Relation) UnmarshalJSON ¶
Relation implement json.Marshaler.
func (*Relation) UnmarshalURLValues ¶
Relation implement urlenc.URLValuesUnmarshaler.
Click to show internal directories.
Click to hide internal directories.