Documentation ¶
Index ¶
- Variables
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetExpiration() *timestamppb.Timestamp
- func (x *Token) GetMaxttl() *durationpb.Duration
- func (x *Token) GetMetadata() map[string]string
- func (x *Token) GetParent() string
- func (x *Token) GetPolicies() []string
- func (x *Token) GetType() string
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_token_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"` Policies []string `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"` Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Maxttl *durationpb.Duration `protobuf:"bytes,6,opt,name=maxttl,proto3" json:"maxttl,omitempty"` // contains filtered or unexported fields }
func (*Token) GetExpiration ¶
func (x *Token) GetExpiration() *timestamppb.Timestamp
func (*Token) GetMaxttl ¶
func (x *Token) GetMaxttl() *durationpb.Duration
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.