Documentation
¶
Index ¶
- Variables
- type AuthzPolicy
- func (x *AuthzPolicy) GetAllowUnauthenticated() bool
- func (x *AuthzPolicy) GetInternalOnly() bool
- func (*AuthzPolicy) ProtoMessage()
- func (x *AuthzPolicy) ProtoReflect() protoreflect.Message
- func (x *AuthzPolicy) Reset()
- func (x *AuthzPolicy) SetAllowUnauthenticated(v bool)
- func (x *AuthzPolicy) SetInternalOnly(v bool)
- func (x *AuthzPolicy) String() string
- type AuthzPolicy_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional metadata.v1.AuthzPolicy authz = 50000;
E_Authz = &file_metadata_v1_metadata_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_metadata_v1_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthzPolicy ¶
type AuthzPolicy struct {
// allow_unauthenticated is a boolean that indicates whether the method can be
// called without any authentication.
AllowUnauthenticated bool `protobuf:"varint,1,opt,name=allow_unauthenticated,json=allowUnauthenticated,proto3" json:"allow_unauthenticated,omitempty"`
// internal_only is a boolean that indicates whether the method can only be
// called by internal clients and is not intended to be used by public clients.
InternalOnly bool `protobuf:"varint,2,opt,name=internal_only,json=internalOnly,proto3" json:"internal_only,omitempty"`
// contains filtered or unexported fields
}
AuthzPolicy is a message that can be attached to a method in a proto file.
func (*AuthzPolicy) GetAllowUnauthenticated ¶
func (x *AuthzPolicy) GetAllowUnauthenticated() bool
func (*AuthzPolicy) GetInternalOnly ¶
func (x *AuthzPolicy) GetInternalOnly() bool
func (*AuthzPolicy) ProtoMessage ¶
func (*AuthzPolicy) ProtoMessage()
func (*AuthzPolicy) ProtoReflect ¶
func (x *AuthzPolicy) ProtoReflect() protoreflect.Message
func (*AuthzPolicy) Reset ¶
func (x *AuthzPolicy) Reset()
func (*AuthzPolicy) SetAllowUnauthenticated ¶
func (x *AuthzPolicy) SetAllowUnauthenticated(v bool)
func (*AuthzPolicy) SetInternalOnly ¶
func (x *AuthzPolicy) SetInternalOnly(v bool)
func (*AuthzPolicy) String ¶
func (x *AuthzPolicy) String() string
type AuthzPolicy_builder ¶
type AuthzPolicy_builder struct {
// allow_unauthenticated is a boolean that indicates whether the method can be
// called without any authentication.
AllowUnauthenticated bool
// internal_only is a boolean that indicates whether the method can only be
// called by internal clients and is not intended to be used by public clients.
InternalOnly bool
// contains filtered or unexported fields
}
func (AuthzPolicy_builder) Build ¶
func (b0 AuthzPolicy_builder) Build() *AuthzPolicy
Source Files
¶
- metadata.pb.go
Click to show internal directories.
Click to hide internal directories.