Documentation ¶
Overview ¶
Package bq contains BigQuery tables schemas.
Index ¶
- type DelegationToken
- func (*DelegationToken) Descriptor() ([]byte, []int)
- func (m *DelegationToken) GetAuthDbRev() int64
- func (m *DelegationToken) GetConfigRev() string
- func (m *DelegationToken) GetConfigRule() string
- func (m *DelegationToken) GetDelegatedIdentity() string
- func (m *DelegationToken) GetExpiration() *timestamp.Timestamp
- func (m *DelegationToken) GetFingerprint() string
- func (m *DelegationToken) GetGaeRequestId() string
- func (m *DelegationToken) GetIssuedAt() *timestamp.Timestamp
- func (m *DelegationToken) GetPeerIp() string
- func (m *DelegationToken) GetRequestedIntent() string
- func (m *DelegationToken) GetRequestedValidity() int64
- func (m *DelegationToken) GetRequestorIdentity() string
- func (m *DelegationToken) GetServiceVersion() string
- func (m *DelegationToken) GetTags() []string
- func (m *DelegationToken) GetTargetAudience() []string
- func (m *DelegationToken) GetTargetServices() []string
- func (m *DelegationToken) GetTokenId() string
- func (m *DelegationToken) GetTokenKind() messages.Subtoken_Kind
- func (*DelegationToken) ProtoMessage()
- func (m *DelegationToken) Reset()
- func (m *DelegationToken) String() string
- func (m *DelegationToken) XXX_DiscardUnknown()
- func (m *DelegationToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegationToken) XXX_Merge(src proto.Message)
- func (m *DelegationToken) XXX_Size() int
- func (m *DelegationToken) XXX_Unmarshal(b []byte) error
- type MachineToken
- func (*MachineToken) Descriptor() ([]byte, []int)
- func (m *MachineToken) GetCaCommonName() string
- func (m *MachineToken) GetCaConfigRev() string
- func (m *MachineToken) GetCertSerialNumber() string
- func (m *MachineToken) GetExpiration() *timestamp.Timestamp
- func (m *MachineToken) GetFingerprint() string
- func (m *MachineToken) GetGaeRequestId() string
- func (m *MachineToken) GetIssuedAt() *timestamp.Timestamp
- func (m *MachineToken) GetMachineFqdn() string
- func (m *MachineToken) GetPeerIp() string
- func (m *MachineToken) GetServiceVersion() string
- func (m *MachineToken) GetSignatureAlgorithm() v1.SignatureAlgorithm
- func (m *MachineToken) GetTokenType() api.MachineTokenType
- func (*MachineToken) ProtoMessage()
- func (m *MachineToken) Reset()
- func (m *MachineToken) String() string
- func (m *MachineToken) XXX_DiscardUnknown()
- func (m *MachineToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MachineToken) XXX_Merge(src proto.Message)
- func (m *MachineToken) XXX_Size() int
- func (m *MachineToken) XXX_Unmarshal(b []byte) error
- type OAuthToken
- func (*OAuthToken) Descriptor() ([]byte, []int)
- func (m *OAuthToken) GetAuditTags() []string
- func (m *OAuthToken) GetAuthDbRev() int64
- func (m *OAuthToken) GetConfigRev() string
- func (m *OAuthToken) GetConfigRule() string
- func (m *OAuthToken) GetEndUserIdentity() string
- func (m *OAuthToken) GetExpiration() *timestamp.Timestamp
- func (m *OAuthToken) GetFingerprint() string
- func (m *OAuthToken) GetGaeRequestId() string
- func (m *OAuthToken) GetGrantFingerprint() string
- func (m *OAuthToken) GetOauthScopes() []string
- func (m *OAuthToken) GetPeerIp() string
- func (m *OAuthToken) GetProxyIdentity() string
- func (m *OAuthToken) GetRequestedAt() *timestamp.Timestamp
- func (m *OAuthToken) GetServiceAccount() string
- func (m *OAuthToken) GetServiceVersion() string
- func (*OAuthToken) ProtoMessage()
- func (m *OAuthToken) Reset()
- func (m *OAuthToken) String() string
- func (m *OAuthToken) XXX_DiscardUnknown()
- func (m *OAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OAuthToken) XXX_Merge(src proto.Message)
- func (m *OAuthToken) XXX_Size() int
- func (m *OAuthToken) XXX_Unmarshal(b []byte) error
- type OAuthTokenGrant
- func (*OAuthTokenGrant) Descriptor() ([]byte, []int)
- func (m *OAuthTokenGrant) GetAuditTags() []string
- func (m *OAuthTokenGrant) GetAuthDbRev() int64
- func (m *OAuthTokenGrant) GetConfigRev() string
- func (m *OAuthTokenGrant) GetConfigRule() string
- func (m *OAuthTokenGrant) GetEndUserIdentity() string
- func (m *OAuthTokenGrant) GetExpiration() *timestamp.Timestamp
- func (m *OAuthTokenGrant) GetFingerprint() string
- func (m *OAuthTokenGrant) GetGaeRequestId() string
- func (m *OAuthTokenGrant) GetIssuedAt() *timestamp.Timestamp
- func (m *OAuthTokenGrant) GetPeerIp() string
- func (m *OAuthTokenGrant) GetProxyIdentity() string
- func (m *OAuthTokenGrant) GetServiceAccount() string
- func (m *OAuthTokenGrant) GetServiceVersion() string
- func (m *OAuthTokenGrant) GetTokenId() string
- func (*OAuthTokenGrant) ProtoMessage()
- func (m *OAuthTokenGrant) Reset()
- func (m *OAuthTokenGrant) String() string
- func (m *OAuthTokenGrant) XXX_DiscardUnknown()
- func (m *OAuthTokenGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OAuthTokenGrant) XXX_Merge(src proto.Message)
- func (m *OAuthTokenGrant) XXX_Size() int
- func (m *OAuthTokenGrant) XXX_Unmarshal(b []byte) error
- type ProjectToken
- func (*ProjectToken) Descriptor() ([]byte, []int)
- func (m *ProjectToken) GetAuditTags() []string
- func (m *ProjectToken) GetAuthDbRev() int64
- func (m *ProjectToken) GetExpiration() *timestamp.Timestamp
- func (m *ProjectToken) GetFingerprint() string
- func (m *ProjectToken) GetGaeRequestId() string
- func (m *ProjectToken) GetLuciProject() string
- func (m *ProjectToken) GetOauthScopes() []string
- func (m *ProjectToken) GetPeerIp() string
- func (m *ProjectToken) GetRequestedAt() *timestamp.Timestamp
- func (m *ProjectToken) GetServiceAccount() string
- func (m *ProjectToken) GetServiceIdentity() string
- func (m *ProjectToken) GetServiceVersion() string
- func (*ProjectToken) ProtoMessage()
- func (m *ProjectToken) Reset()
- func (m *ProjectToken) String() string
- func (m *ProjectToken) XXX_DiscardUnknown()
- func (m *ProjectToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectToken) XXX_Merge(src proto.Message)
- func (m *ProjectToken) XXX_Size() int
- func (m *ProjectToken) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelegationToken ¶
type DelegationToken struct { // First 16 bytes of SHA256 of the token body, hex-encoded. Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Kind of the token. TokenKind messages.Subtoken_Kind `protobuf:"varint,2,opt,name=token_kind,json=tokenKind,proto3,enum=messages.Subtoken_Kind" json:"token_kind,omitempty"` // Identifier of this token as generated by the token server. TokenId string `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` // Identity whose authority is delegated. DelegatedIdentity string `protobuf:"bytes,4,opt,name=delegated_identity,json=delegatedIdentity,proto3" json:"delegated_identity,omitempty"` // Who requested this token. RequestorIdentity string `protobuf:"bytes,5,opt,name=requestor_identity,json=requestorIdentity,proto3" json:"requestor_identity,omitempty"` // When the token was generated. IssuedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` // When the token expires. Expiration *timestamp.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` // Who can present this token. TargetAudience []string `protobuf:"bytes,8,rep,name=target_audience,json=targetAudience,proto3" json:"target_audience,omitempty"` // What services should accept this token TargetServices []string `protobuf:"bytes,9,rep,name=target_services,json=targetServices,proto3" json:"target_services,omitempty"` // Token validity duration (in seconds), as requested by the caller. RequestedValidity int64 `protobuf:"varint,10,opt,name=requested_validity,json=requestedValidity,proto3" json:"requested_validity,omitempty"` // An intent string provided by the caller. RequestedIntent string `protobuf:"bytes,11,opt,name=requested_intent,json=requestedIntent,proto3" json:"requested_intent,omitempty"` // Arbitrary key:value pairs embedded into the token. Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"` // Revision of the luci-config repo with rules. ConfigRev string `protobuf:"bytes,13,opt,name=config_rev,json=configRev,proto3" json:"config_rev,omitempty"` // Name of the rule used to authorize this call. ConfigRule string `protobuf:"bytes,14,opt,name=config_rule,json=configRule,proto3" json:"config_rule,omitempty"` // IP address of the caller. PeerIp string `protobuf:"bytes,15,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` // Identifier of the token server GAE app and version. ServiceVersion string `protobuf:"bytes,16,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` // ID of the GAE request that handled the call. GaeRequestId string `protobuf:"bytes,17,opt,name=gae_request_id,json=gaeRequestId,proto3" json:"gae_request_id,omitempty"` // Revision of groups database used to authorize this call. AuthDbRev int64 `protobuf:"varint,18,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Issued delegation tokens.
func (*DelegationToken) Descriptor ¶
func (*DelegationToken) Descriptor() ([]byte, []int)
func (*DelegationToken) GetAuthDbRev ¶
func (m *DelegationToken) GetAuthDbRev() int64
func (*DelegationToken) GetConfigRev ¶
func (m *DelegationToken) GetConfigRev() string
func (*DelegationToken) GetConfigRule ¶
func (m *DelegationToken) GetConfigRule() string
func (*DelegationToken) GetDelegatedIdentity ¶
func (m *DelegationToken) GetDelegatedIdentity() string
func (*DelegationToken) GetExpiration ¶
func (m *DelegationToken) GetExpiration() *timestamp.Timestamp
func (*DelegationToken) GetFingerprint ¶
func (m *DelegationToken) GetFingerprint() string
func (*DelegationToken) GetGaeRequestId ¶
func (m *DelegationToken) GetGaeRequestId() string
func (*DelegationToken) GetIssuedAt ¶
func (m *DelegationToken) GetIssuedAt() *timestamp.Timestamp
func (*DelegationToken) GetPeerIp ¶
func (m *DelegationToken) GetPeerIp() string
func (*DelegationToken) GetRequestedIntent ¶
func (m *DelegationToken) GetRequestedIntent() string
func (*DelegationToken) GetRequestedValidity ¶
func (m *DelegationToken) GetRequestedValidity() int64
func (*DelegationToken) GetRequestorIdentity ¶
func (m *DelegationToken) GetRequestorIdentity() string
func (*DelegationToken) GetServiceVersion ¶
func (m *DelegationToken) GetServiceVersion() string
func (*DelegationToken) GetTags ¶
func (m *DelegationToken) GetTags() []string
func (*DelegationToken) GetTargetAudience ¶
func (m *DelegationToken) GetTargetAudience() []string
func (*DelegationToken) GetTargetServices ¶
func (m *DelegationToken) GetTargetServices() []string
func (*DelegationToken) GetTokenId ¶
func (m *DelegationToken) GetTokenId() string
func (*DelegationToken) GetTokenKind ¶
func (m *DelegationToken) GetTokenKind() messages.Subtoken_Kind
func (*DelegationToken) ProtoMessage ¶
func (*DelegationToken) ProtoMessage()
func (*DelegationToken) Reset ¶
func (m *DelegationToken) Reset()
func (*DelegationToken) String ¶
func (m *DelegationToken) String() string
func (*DelegationToken) XXX_DiscardUnknown ¶
func (m *DelegationToken) XXX_DiscardUnknown()
func (*DelegationToken) XXX_Marshal ¶
func (m *DelegationToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegationToken) XXX_Merge ¶
func (m *DelegationToken) XXX_Merge(src proto.Message)
func (*DelegationToken) XXX_Size ¶
func (m *DelegationToken) XXX_Size() int
func (*DelegationToken) XXX_Unmarshal ¶
func (m *DelegationToken) XXX_Unmarshal(b []byte) error
type MachineToken ¶
type MachineToken struct { // First 16 bytes of SHA256 of the token body, hex-encoded. Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Machine domain name encoded in the token. MachineFqdn string `protobuf:"bytes,2,opt,name=machine_fqdn,json=machineFqdn,proto3" json:"machine_fqdn,omitempty"` // Type of the machine token. TokenType api.MachineTokenType `protobuf:"varint,3,opt,name=token_type,json=tokenType,proto3,enum=tokenserver.MachineTokenType" json:"token_type,omitempty"` // When the token was generated. IssuedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` // When the token expires. Expiration *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // Serial number of the peer certificate. CertSerialNumber string `protobuf:"bytes,6,opt,name=cert_serial_number,json=certSerialNumber,proto3" json:"cert_serial_number,omitempty"` // Type of the signature used to proof possession of the private key. SignatureAlgorithm v1.SignatureAlgorithm `` /* 159-byte string literal not displayed */ // Common Name of a CA that signed the peer certificate. CaCommonName string `protobuf:"bytes,8,opt,name=ca_common_name,json=caCommonName,proto3" json:"ca_common_name,omitempty"` // Revision of the luci-config repo that contains the CA. CaConfigRev string `protobuf:"bytes,9,opt,name=ca_config_rev,json=caConfigRev,proto3" json:"ca_config_rev,omitempty"` // IP address of the caller. PeerIp string `protobuf:"bytes,10,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` // Identifier of the token server GAE app and version. ServiceVersion string `protobuf:"bytes,11,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` // ID of the GAE request that handled the call. GaeRequestId string `protobuf:"bytes,12,opt,name=gae_request_id,json=gaeRequestId,proto3" json:"gae_request_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Issued machine tokens.
func (*MachineToken) Descriptor ¶
func (*MachineToken) Descriptor() ([]byte, []int)
func (*MachineToken) GetCaCommonName ¶
func (m *MachineToken) GetCaCommonName() string
func (*MachineToken) GetCaConfigRev ¶
func (m *MachineToken) GetCaConfigRev() string
func (*MachineToken) GetCertSerialNumber ¶
func (m *MachineToken) GetCertSerialNumber() string
func (*MachineToken) GetExpiration ¶
func (m *MachineToken) GetExpiration() *timestamp.Timestamp
func (*MachineToken) GetFingerprint ¶
func (m *MachineToken) GetFingerprint() string
func (*MachineToken) GetGaeRequestId ¶
func (m *MachineToken) GetGaeRequestId() string
func (*MachineToken) GetIssuedAt ¶
func (m *MachineToken) GetIssuedAt() *timestamp.Timestamp
func (*MachineToken) GetMachineFqdn ¶
func (m *MachineToken) GetMachineFqdn() string
func (*MachineToken) GetPeerIp ¶
func (m *MachineToken) GetPeerIp() string
func (*MachineToken) GetServiceVersion ¶
func (m *MachineToken) GetServiceVersion() string
func (*MachineToken) GetSignatureAlgorithm ¶
func (m *MachineToken) GetSignatureAlgorithm() v1.SignatureAlgorithm
func (*MachineToken) GetTokenType ¶
func (m *MachineToken) GetTokenType() api.MachineTokenType
func (*MachineToken) ProtoMessage ¶
func (*MachineToken) ProtoMessage()
func (*MachineToken) Reset ¶
func (m *MachineToken) Reset()
func (*MachineToken) String ¶
func (m *MachineToken) String() string
func (*MachineToken) XXX_DiscardUnknown ¶
func (m *MachineToken) XXX_DiscardUnknown()
func (*MachineToken) XXX_Marshal ¶
func (m *MachineToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MachineToken) XXX_Merge ¶
func (m *MachineToken) XXX_Merge(src proto.Message)
func (*MachineToken) XXX_Size ¶
func (m *MachineToken) XXX_Size() int
func (*MachineToken) XXX_Unmarshal ¶
func (m *MachineToken) XXX_Unmarshal(b []byte) error
type OAuthToken ¶
type OAuthToken struct { // First 16 bytes of SHA256 of the token body, hex-encoded. Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // First 16 bytes of SHA256 of the oauth grant, hex-encoded. GrantFingerprint string `protobuf:"bytes,2,opt,name=grant_fingerprint,json=grantFingerprint,proto3" json:"grant_fingerprint,omitempty"` // Service account email the end user wants to act as. ServiceAccount string `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Requested OAuth scopes. OauthScopes []string `protobuf:"bytes,4,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` // Who requested and who can use this token. ProxyIdentity string `protobuf:"bytes,5,opt,name=proxy_identity,json=proxyIdentity,proto3" json:"proxy_identity,omitempty"` // On whose behalf the token is generated. EndUserIdentity string `protobuf:"bytes,6,opt,name=end_user_identity,json=endUserIdentity,proto3" json:"end_user_identity,omitempty"` // When this request happened. RequestedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` // When the token expires. Expiration *timestamp.Timestamp `protobuf:"bytes,8,opt,name=expiration,proto3" json:"expiration,omitempty"` // Arbitrary key:value pairs provided by the caller. AuditTags []string `protobuf:"bytes,9,rep,name=audit_tags,json=auditTags,proto3" json:"audit_tags,omitempty"` // Revision of the luci-config repo with rules. ConfigRev string `protobuf:"bytes,10,opt,name=config_rev,json=configRev,proto3" json:"config_rev,omitempty"` // Name of the rule used to authorize this call. ConfigRule string `protobuf:"bytes,11,opt,name=config_rule,json=configRule,proto3" json:"config_rule,omitempty"` // IP address of the caller. PeerIp string `protobuf:"bytes,12,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` // Identifier of the token server GAE app and version. ServiceVersion string `protobuf:"bytes,13,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` // ID of the GAE request that handled the call. GaeRequestId string `protobuf:"bytes,14,opt,name=gae_request_id,json=gaeRequestId,proto3" json:"gae_request_id,omitempty"` // Revision of groups database used to authorize this call. AuthDbRev int64 `protobuf:"varint,15,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Issued OAuth tokens.
func (*OAuthToken) Descriptor ¶
func (*OAuthToken) Descriptor() ([]byte, []int)
func (*OAuthToken) GetAuditTags ¶
func (m *OAuthToken) GetAuditTags() []string
func (*OAuthToken) GetAuthDbRev ¶
func (m *OAuthToken) GetAuthDbRev() int64
func (*OAuthToken) GetConfigRev ¶
func (m *OAuthToken) GetConfigRev() string
func (*OAuthToken) GetConfigRule ¶
func (m *OAuthToken) GetConfigRule() string
func (*OAuthToken) GetEndUserIdentity ¶
func (m *OAuthToken) GetEndUserIdentity() string
func (*OAuthToken) GetExpiration ¶
func (m *OAuthToken) GetExpiration() *timestamp.Timestamp
func (*OAuthToken) GetFingerprint ¶
func (m *OAuthToken) GetFingerprint() string
func (*OAuthToken) GetGaeRequestId ¶
func (m *OAuthToken) GetGaeRequestId() string
func (*OAuthToken) GetGrantFingerprint ¶
func (m *OAuthToken) GetGrantFingerprint() string
func (*OAuthToken) GetOauthScopes ¶
func (m *OAuthToken) GetOauthScopes() []string
func (*OAuthToken) GetPeerIp ¶
func (m *OAuthToken) GetPeerIp() string
func (*OAuthToken) GetProxyIdentity ¶
func (m *OAuthToken) GetProxyIdentity() string
func (*OAuthToken) GetRequestedAt ¶
func (m *OAuthToken) GetRequestedAt() *timestamp.Timestamp
func (*OAuthToken) GetServiceAccount ¶
func (m *OAuthToken) GetServiceAccount() string
func (*OAuthToken) GetServiceVersion ¶
func (m *OAuthToken) GetServiceVersion() string
func (*OAuthToken) ProtoMessage ¶
func (*OAuthToken) ProtoMessage()
func (*OAuthToken) Reset ¶
func (m *OAuthToken) Reset()
func (*OAuthToken) String ¶
func (m *OAuthToken) String() string
func (*OAuthToken) XXX_DiscardUnknown ¶
func (m *OAuthToken) XXX_DiscardUnknown()
func (*OAuthToken) XXX_Marshal ¶
func (m *OAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OAuthToken) XXX_Merge ¶
func (m *OAuthToken) XXX_Merge(src proto.Message)
func (*OAuthToken) XXX_Size ¶
func (m *OAuthToken) XXX_Size() int
func (*OAuthToken) XXX_Unmarshal ¶
func (m *OAuthToken) XXX_Unmarshal(b []byte) error
type OAuthTokenGrant ¶
type OAuthTokenGrant struct { // First 16 bytes of SHA256 of the token body, hex-encoded. Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Identifier of this token as generated by the token server. TokenId string `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` // Service account email the end user wants to act as. ServiceAccount string `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Who requested and who can use this token. ProxyIdentity string `protobuf:"bytes,4,opt,name=proxy_identity,json=proxyIdentity,proto3" json:"proxy_identity,omitempty"` // On whose behalf the token is generated. EndUserIdentity string `protobuf:"bytes,5,opt,name=end_user_identity,json=endUserIdentity,proto3" json:"end_user_identity,omitempty"` // When the token was generated. IssuedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` // When the token expires. Expiration *timestamp.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` // Arbitrary key:value pairs provided by the caller. AuditTags []string `protobuf:"bytes,8,rep,name=audit_tags,json=auditTags,proto3" json:"audit_tags,omitempty"` // Revision of the luci-config repo with rules. ConfigRev string `protobuf:"bytes,9,opt,name=config_rev,json=configRev,proto3" json:"config_rev,omitempty"` // Name of the rule used to authorize this call. ConfigRule string `protobuf:"bytes,10,opt,name=config_rule,json=configRule,proto3" json:"config_rule,omitempty"` // IP address of the caller. PeerIp string `protobuf:"bytes,11,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` // Identifier of the token server GAE app and version. ServiceVersion string `protobuf:"bytes,12,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` // ID of the GAE request that handled the call. GaeRequestId string `protobuf:"bytes,13,opt,name=gae_request_id,json=gaeRequestId,proto3" json:"gae_request_id,omitempty"` // Revision of groups database used to authorize this call. AuthDbRev int64 `protobuf:"varint,14,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Issued OAuth token grants.
func (*OAuthTokenGrant) Descriptor ¶
func (*OAuthTokenGrant) Descriptor() ([]byte, []int)
func (*OAuthTokenGrant) GetAuditTags ¶
func (m *OAuthTokenGrant) GetAuditTags() []string
func (*OAuthTokenGrant) GetAuthDbRev ¶
func (m *OAuthTokenGrant) GetAuthDbRev() int64
func (*OAuthTokenGrant) GetConfigRev ¶
func (m *OAuthTokenGrant) GetConfigRev() string
func (*OAuthTokenGrant) GetConfigRule ¶
func (m *OAuthTokenGrant) GetConfigRule() string
func (*OAuthTokenGrant) GetEndUserIdentity ¶
func (m *OAuthTokenGrant) GetEndUserIdentity() string
func (*OAuthTokenGrant) GetExpiration ¶
func (m *OAuthTokenGrant) GetExpiration() *timestamp.Timestamp
func (*OAuthTokenGrant) GetFingerprint ¶
func (m *OAuthTokenGrant) GetFingerprint() string
func (*OAuthTokenGrant) GetGaeRequestId ¶
func (m *OAuthTokenGrant) GetGaeRequestId() string
func (*OAuthTokenGrant) GetIssuedAt ¶
func (m *OAuthTokenGrant) GetIssuedAt() *timestamp.Timestamp
func (*OAuthTokenGrant) GetPeerIp ¶
func (m *OAuthTokenGrant) GetPeerIp() string
func (*OAuthTokenGrant) GetProxyIdentity ¶
func (m *OAuthTokenGrant) GetProxyIdentity() string
func (*OAuthTokenGrant) GetServiceAccount ¶
func (m *OAuthTokenGrant) GetServiceAccount() string
func (*OAuthTokenGrant) GetServiceVersion ¶
func (m *OAuthTokenGrant) GetServiceVersion() string
func (*OAuthTokenGrant) GetTokenId ¶
func (m *OAuthTokenGrant) GetTokenId() string
func (*OAuthTokenGrant) ProtoMessage ¶
func (*OAuthTokenGrant) ProtoMessage()
func (*OAuthTokenGrant) Reset ¶
func (m *OAuthTokenGrant) Reset()
func (*OAuthTokenGrant) String ¶
func (m *OAuthTokenGrant) String() string
func (*OAuthTokenGrant) XXX_DiscardUnknown ¶
func (m *OAuthTokenGrant) XXX_DiscardUnknown()
func (*OAuthTokenGrant) XXX_Marshal ¶
func (m *OAuthTokenGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OAuthTokenGrant) XXX_Merge ¶
func (m *OAuthTokenGrant) XXX_Merge(src proto.Message)
func (*OAuthTokenGrant) XXX_Size ¶
func (m *OAuthTokenGrant) XXX_Size() int
func (*OAuthTokenGrant) XXX_Unmarshal ¶
func (m *OAuthTokenGrant) XXX_Unmarshal(b []byte) error
type ProjectToken ¶
type ProjectToken struct { // First 16 bytes of SHA256 of the token body, hex-encoded. Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Service account email the luci service wants to act as. ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Requested OAuth scopes. OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` // LUCI project for which token is requested. LuciProject string `protobuf:"bytes,4,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"` // Who requested and who can use this token. ServiceIdentity string `protobuf:"bytes,5,opt,name=service_identity,json=serviceIdentity,proto3" json:"service_identity,omitempty"` // When this request happened. RequestedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` // When the token expires. Expiration *timestamp.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` // Arbitrary key:value pairs provided by the caller. AuditTags []string `protobuf:"bytes,8,rep,name=audit_tags,json=auditTags,proto3" json:"audit_tags,omitempty"` // IP address of the caller. PeerIp string `protobuf:"bytes,9,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"` // Identifier of the token server GAE app and version. ServiceVersion string `protobuf:"bytes,10,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` // ID of the GAE request that handled the call. GaeRequestId string `protobuf:"bytes,11,opt,name=gae_request_id,json=gaeRequestId,proto3" json:"gae_request_id,omitempty"` // Revision of groups database used to authorize this call. AuthDbRev int64 `protobuf:"varint,12,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Issued Project tokens.
func (*ProjectToken) Descriptor ¶
func (*ProjectToken) Descriptor() ([]byte, []int)
func (*ProjectToken) GetAuditTags ¶
func (m *ProjectToken) GetAuditTags() []string
func (*ProjectToken) GetAuthDbRev ¶
func (m *ProjectToken) GetAuthDbRev() int64
func (*ProjectToken) GetExpiration ¶
func (m *ProjectToken) GetExpiration() *timestamp.Timestamp
func (*ProjectToken) GetFingerprint ¶
func (m *ProjectToken) GetFingerprint() string
func (*ProjectToken) GetGaeRequestId ¶
func (m *ProjectToken) GetGaeRequestId() string
func (*ProjectToken) GetLuciProject ¶
func (m *ProjectToken) GetLuciProject() string
func (*ProjectToken) GetOauthScopes ¶
func (m *ProjectToken) GetOauthScopes() []string
func (*ProjectToken) GetPeerIp ¶
func (m *ProjectToken) GetPeerIp() string
func (*ProjectToken) GetRequestedAt ¶
func (m *ProjectToken) GetRequestedAt() *timestamp.Timestamp
func (*ProjectToken) GetServiceAccount ¶
func (m *ProjectToken) GetServiceAccount() string
func (*ProjectToken) GetServiceIdentity ¶
func (m *ProjectToken) GetServiceIdentity() string
func (*ProjectToken) GetServiceVersion ¶
func (m *ProjectToken) GetServiceVersion() string
func (*ProjectToken) ProtoMessage ¶
func (*ProjectToken) ProtoMessage()
func (*ProjectToken) Reset ¶
func (m *ProjectToken) Reset()
func (*ProjectToken) String ¶
func (m *ProjectToken) String() string
func (*ProjectToken) XXX_DiscardUnknown ¶
func (m *ProjectToken) XXX_DiscardUnknown()
func (*ProjectToken) XXX_Marshal ¶
func (m *ProjectToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectToken) XXX_Merge ¶
func (m *ProjectToken) XXX_Merge(src proto.Message)
func (*ProjectToken) XXX_Size ¶
func (m *ProjectToken) XXX_Size() int
func (*ProjectToken) XXX_Unmarshal ¶
func (m *ProjectToken) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.