proto

package
v2.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetExpiration

func (x *Token) GetExpiration() *timestamppb.Timestamp

func (*Token) GetMaxttl

func (x *Token) GetMaxttl() *durationpb.Duration

func (*Token) GetMetadata

func (x *Token) GetMetadata() map[string]string

func (*Token) GetParent

func (x *Token) GetParent() string

func (*Token) GetPolicies

func (x *Token) GetPolicies() []string

func (*Token) GetType

func (x *Token) GetType() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

Jump to

Keyboard shortcuts

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