Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- func RegisterEnrolServiceServer(s grpc.ServiceRegistrar, srv EnrolServiceServer)
- type AddSSHKeyParams
- func (*AddSSHKeyParams) Descriptor() ([]byte, []int)deprecated
- func (x *AddSSHKeyParams) GetLogin() string
- func (x *AddSSHKeyParams) GetPublicKey() string
- func (*AddSSHKeyParams) ProtoMessage()
- func (x *AddSSHKeyParams) ProtoReflect() protoreflect.Message
- func (x *AddSSHKeyParams) Reset()
- func (x *AddSSHKeyParams) String() string
- type AddSSHKeyRequest
- type AddSSHKeyResponse
- type AdminCredential
- func (*AdminCredential) Descriptor() ([]byte, []int)deprecated
- func (x *AdminCredential) GetAaguid() string
- func (x *AdminCredential) GetCreatedAt() *timestamppb.Timestamp
- func (x *AdminCredential) GetCredentialId() []byte
- func (x *AdminCredential) GetName() string
- func (x *AdminCredential) GetRevokedAt() *timestamppb.Timestamp
- func (x *AdminCredential) GetSignCount() uint32
- func (*AdminCredential) ProtoMessage()
- func (x *AdminCredential) ProtoReflect() protoreflect.Message
- func (x *AdminCredential) Reset()
- func (x *AdminCredential) String() string
- type AdminServiceClient
- type AdminServiceServer
- type BeginEnrolRequest
- type BeginEnrolResponse
- func (*BeginEnrolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeginEnrolResponse) GetChallenge() []byte
- func (x *BeginEnrolResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *BeginEnrolResponse) GetRpId() string
- func (x *BeginEnrolResponse) GetUserHandle() []byte
- func (*BeginEnrolResponse) ProtoMessage()
- func (x *BeginEnrolResponse) ProtoReflect() protoreflect.Message
- func (x *BeginEnrolResponse) Reset()
- func (x *BeginEnrolResponse) String() string
- type BindIdentityParams
- func (*BindIdentityParams) Descriptor() ([]byte, []int)deprecated
- func (x *BindIdentityParams) GetIssuer() string
- func (x *BindIdentityParams) GetLogin() string
- func (x *BindIdentityParams) GetSubject() string
- func (*BindIdentityParams) ProtoMessage()
- func (x *BindIdentityParams) ProtoReflect() protoreflect.Message
- func (x *BindIdentityParams) Reset()
- func (x *BindIdentityParams) String() string
- type BindIdentityRequest
- func (*BindIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindIdentityRequest) GetEnvelope() *Envelope
- func (*BindIdentityRequest) ProtoMessage()
- func (x *BindIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *BindIdentityRequest) Reset()
- func (x *BindIdentityRequest) String() string
- type BindIdentityResponse
- func (*BindIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BindIdentityResponse) GetIdentity() *Identity
- func (*BindIdentityResponse) ProtoMessage()
- func (x *BindIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *BindIdentityResponse) Reset()
- func (x *BindIdentityResponse) String() string
- type CreateUserParams
- func (*CreateUserParams) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserParams) GetDisplayName() string
- func (x *CreateUserParams) GetLogin() string
- func (*CreateUserParams) ProtoMessage()
- func (x *CreateUserParams) ProtoReflect() protoreflect.Message
- func (x *CreateUserParams) Reset()
- func (x *CreateUserParams) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEnvelope() *Envelope
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- type DisableUserParams
- type DisableUserRequest
- func (*DisableUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableUserRequest) GetEnvelope() *Envelope
- func (*DisableUserRequest) ProtoMessage()
- func (x *DisableUserRequest) ProtoReflect() protoreflect.Message
- func (x *DisableUserRequest) Reset()
- func (x *DisableUserRequest) String() string
- type DisableUserResponse
- type EnrolServiceClient
- type EnrolServiceServer
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)deprecated
- func (x *Envelope) GetAuthenticatorData() []byte
- func (x *Envelope) GetCredentialId() []byte
- func (x *Envelope) GetNonce() []byte
- func (x *Envelope) GetRequest() []byte
- func (x *Envelope) GetSignature() []byte
- func (*Envelope) ProtoMessage()
- func (x *Envelope) ProtoReflect() protoreflect.Message
- func (x *Envelope) Reset()
- func (x *Envelope) String() string
- type FinishEnrolRequest
- func (*FinishEnrolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinishEnrolRequest) GetAttestationFormat() string
- func (x *FinishEnrolRequest) GetAttestationStatement() []byte
- func (x *FinishEnrolRequest) GetAuthenticatorData() []byte
- func (x *FinishEnrolRequest) GetChallenge() []byte
- func (x *FinishEnrolRequest) GetName() string
- func (*FinishEnrolRequest) ProtoMessage()
- func (x *FinishEnrolRequest) ProtoReflect() protoreflect.Message
- func (x *FinishEnrolRequest) Reset()
- func (x *FinishEnrolRequest) String() string
- type FinishEnrolResponse
- func (*FinishEnrolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FinishEnrolResponse) GetCredential() *AdminCredential
- func (*FinishEnrolResponse) ProtoMessage()
- func (x *FinishEnrolResponse) ProtoReflect() protoreflect.Message
- func (x *FinishEnrolResponse) Reset()
- func (x *FinishEnrolResponse) String() string
- type GetNonceRequest
- type GetNonceResponse
- func (*GetNonceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNonceResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *GetNonceResponse) GetNonce() []byte
- func (*GetNonceResponse) ProtoMessage()
- func (x *GetNonceResponse) ProtoReflect() protoreflect.Message
- func (x *GetNonceResponse) Reset()
- func (x *GetNonceResponse) String() string
- type GetOIDCClientRequest
- func (*GetOIDCClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOIDCClientRequest) GetSessionToken() []byte
- func (*GetOIDCClientRequest) ProtoMessage()
- func (x *GetOIDCClientRequest) ProtoReflect() protoreflect.Message
- func (x *GetOIDCClientRequest) Reset()
- func (x *GetOIDCClientRequest) String() string
- type GetOIDCClientResponse
- func (*GetOIDCClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOIDCClientResponse) GetClient() *OIDCClient
- func (*GetOIDCClientResponse) ProtoMessage()
- func (x *GetOIDCClientResponse) ProtoReflect() protoreflect.Message
- func (x *GetOIDCClientResponse) Reset()
- func (x *GetOIDCClientResponse) String() string
- type GetPolicyRequest
- type GetPolicyResponse
- type GetRepoAccessRequest
- func (*GetRepoAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepoAccessRequest) GetOwner() string
- func (x *GetRepoAccessRequest) GetRepository() string
- func (x *GetRepoAccessRequest) GetSessionToken() []byte
- func (*GetRepoAccessRequest) ProtoMessage()
- func (x *GetRepoAccessRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepoAccessRequest) Reset()
- func (x *GetRepoAccessRequest) String() string
- type GetRepoAccessResponse
- func (*GetRepoAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepoAccessResponse) GetAccess() *RepoAccess
- func (*GetRepoAccessResponse) ProtoMessage()
- func (x *GetRepoAccessResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepoAccessResponse) Reset()
- func (x *GetRepoAccessResponse) String() string
- type Identity
- func (*Identity) Descriptor() ([]byte, []int)deprecated
- func (x *Identity) GetCreatedAt() *timestamppb.Timestamp
- func (x *Identity) GetIssuer() string
- func (x *Identity) GetLogin() string
- func (x *Identity) GetSubject() string
- func (*Identity) ProtoMessage()
- func (x *Identity) ProtoReflect() protoreflect.Message
- func (x *Identity) Reset()
- func (x *Identity) String() string
- type ListAdminCredentialsRequest
- func (*ListAdminCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminCredentialsRequest) GetSessionToken() []byte
- func (*ListAdminCredentialsRequest) ProtoMessage()
- func (x *ListAdminCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAdminCredentialsRequest) Reset()
- func (x *ListAdminCredentialsRequest) String() string
- type ListAdminCredentialsResponse
- func (*ListAdminCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAdminCredentialsResponse) GetCredentials() []*AdminCredential
- func (*ListAdminCredentialsResponse) ProtoMessage()
- func (x *ListAdminCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAdminCredentialsResponse) Reset()
- func (x *ListAdminCredentialsResponse) String() string
- type ListIdentitiesRequest
- func (*ListIdentitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIdentitiesRequest) GetLogin() string
- func (x *ListIdentitiesRequest) GetSessionToken() []byte
- func (*ListIdentitiesRequest) ProtoMessage()
- func (x *ListIdentitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListIdentitiesRequest) Reset()
- func (x *ListIdentitiesRequest) String() string
- type ListIdentitiesResponse
- func (*ListIdentitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIdentitiesResponse) GetIdentities() []*Identity
- func (*ListIdentitiesResponse) ProtoMessage()
- func (x *ListIdentitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListIdentitiesResponse) Reset()
- func (x *ListIdentitiesResponse) String() string
- type ListSSHKeysRequest
- func (*ListSSHKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSSHKeysRequest) GetLogin() string
- func (x *ListSSHKeysRequest) GetSessionToken() []byte
- func (*ListSSHKeysRequest) ProtoMessage()
- func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListSSHKeysRequest) Reset()
- func (x *ListSSHKeysRequest) String() string
- type ListSSHKeysResponse
- func (*ListSSHKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSSHKeysResponse) GetKeys() []*SSHKey
- func (*ListSSHKeysResponse) ProtoMessage()
- func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListSSHKeysResponse) Reset()
- func (x *ListSSHKeysResponse) String() string
- type ListUsersRequest
- type ListUsersResponse
- type OIDCClient
- func (*OIDCClient) Descriptor() ([]byte, []int)deprecated
- func (x *OIDCClient) GetClientId() string
- func (x *OIDCClient) GetHasSecret() bool
- func (x *OIDCClient) GetIssuer() string
- func (x *OIDCClient) GetRedirectUri() string
- func (x *OIDCClient) GetUpdatedAt() *timestamppb.Timestamp
- func (*OIDCClient) ProtoMessage()
- func (x *OIDCClient) ProtoReflect() protoreflect.Message
- func (x *OIDCClient) Reset()
- func (x *OIDCClient) String() string
- type OpenSessionParams
- type OpenSessionRequest
- func (*OpenSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenSessionRequest) GetEnvelope() *Envelope
- func (*OpenSessionRequest) ProtoMessage()
- func (x *OpenSessionRequest) ProtoReflect() protoreflect.Message
- func (x *OpenSessionRequest) Reset()
- func (x *OpenSessionRequest) String() string
- type OpenSessionResponse
- func (*OpenSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenSessionResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *OpenSessionResponse) GetSessionToken() []byte
- func (*OpenSessionResponse) ProtoMessage()
- func (x *OpenSessionResponse) ProtoReflect() protoreflect.Message
- func (x *OpenSessionResponse) Reset()
- func (x *OpenSessionResponse) String() string
- type Policy
- type RemoveSSHKeyParams
- func (*RemoveSSHKeyParams) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSSHKeyParams) GetFingerprint() string
- func (*RemoveSSHKeyParams) ProtoMessage()
- func (x *RemoveSSHKeyParams) ProtoReflect() protoreflect.Message
- func (x *RemoveSSHKeyParams) Reset()
- func (x *RemoveSSHKeyParams) String() string
- type RemoveSSHKeyRequest
- func (*RemoveSSHKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSSHKeyRequest) GetEnvelope() *Envelope
- func (*RemoveSSHKeyRequest) ProtoMessage()
- func (x *RemoveSSHKeyRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSSHKeyRequest) Reset()
- func (x *RemoveSSHKeyRequest) String() string
- type RemoveSSHKeyResponse
- type RepoAccess
- func (*RepoAccess) Descriptor() ([]byte, []int)deprecated
- func (x *RepoAccess) GetCollaborators() []string
- func (x *RepoAccess) GetOwner() string
- func (x *RepoAccess) GetProtectedRefs() []string
- func (x *RepoAccess) GetRepository() string
- func (*RepoAccess) ProtoMessage()
- func (x *RepoAccess) ProtoReflect() protoreflect.Message
- func (x *RepoAccess) Reset()
- func (x *RepoAccess) String() string
- type RevokeAdminCredentialParams
- func (*RevokeAdminCredentialParams) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeAdminCredentialParams) GetCredentialId() []byte
- func (*RevokeAdminCredentialParams) ProtoMessage()
- func (x *RevokeAdminCredentialParams) ProtoReflect() protoreflect.Message
- func (x *RevokeAdminCredentialParams) Reset()
- func (x *RevokeAdminCredentialParams) String() string
- type RevokeAdminCredentialRequest
- func (*RevokeAdminCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeAdminCredentialRequest) GetEnvelope() *Envelope
- func (*RevokeAdminCredentialRequest) ProtoMessage()
- func (x *RevokeAdminCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeAdminCredentialRequest) Reset()
- func (x *RevokeAdminCredentialRequest) String() string
- type RevokeAdminCredentialResponse
- func (*RevokeAdminCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (*RevokeAdminCredentialResponse) ProtoMessage()
- func (x *RevokeAdminCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeAdminCredentialResponse) Reset()
- func (x *RevokeAdminCredentialResponse) String() string
- type SSHKey
- func (*SSHKey) Descriptor() ([]byte, []int)deprecated
- func (x *SSHKey) GetComment() string
- func (x *SSHKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *SSHKey) GetFingerprint() string
- func (x *SSHKey) GetKeyType() string
- func (x *SSHKey) GetLogin() string
- func (x *SSHKey) GetSecurityKey() bool
- func (*SSHKey) ProtoMessage()
- func (x *SSHKey) ProtoReflect() protoreflect.Message
- func (x *SSHKey) Reset()
- func (x *SSHKey) String() string
- type SetCollaboratorParams
- func (*SetCollaboratorParams) Descriptor() ([]byte, []int)deprecated
- func (x *SetCollaboratorParams) GetLogin() string
- func (x *SetCollaboratorParams) GetMember() bool
- func (x *SetCollaboratorParams) GetOwner() string
- func (x *SetCollaboratorParams) GetRepository() string
- func (*SetCollaboratorParams) ProtoMessage()
- func (x *SetCollaboratorParams) ProtoReflect() protoreflect.Message
- func (x *SetCollaboratorParams) Reset()
- func (x *SetCollaboratorParams) String() string
- type SetCollaboratorRequest
- func (*SetCollaboratorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCollaboratorRequest) GetEnvelope() *Envelope
- func (*SetCollaboratorRequest) ProtoMessage()
- func (x *SetCollaboratorRequest) ProtoReflect() protoreflect.Message
- func (x *SetCollaboratorRequest) Reset()
- func (x *SetCollaboratorRequest) String() string
- type SetCollaboratorResponse
- type SetOIDCClientParams
- func (*SetOIDCClientParams) Descriptor() ([]byte, []int)deprecated
- func (x *SetOIDCClientParams) GetClientId() string
- func (x *SetOIDCClientParams) GetClientSecret() []byte
- func (x *SetOIDCClientParams) GetIssuer() string
- func (x *SetOIDCClientParams) GetRedirectUri() string
- func (*SetOIDCClientParams) ProtoMessage()
- func (x *SetOIDCClientParams) ProtoReflect() protoreflect.Message
- func (x *SetOIDCClientParams) Reset()
- func (x *SetOIDCClientParams) String() string
- type SetOIDCClientRequest
- func (*SetOIDCClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetOIDCClientRequest) GetEnvelope() *Envelope
- func (*SetOIDCClientRequest) ProtoMessage()
- func (x *SetOIDCClientRequest) ProtoReflect() protoreflect.Message
- func (x *SetOIDCClientRequest) Reset()
- func (x *SetOIDCClientRequest) String() string
- type SetOIDCClientResponse
- type SetPolicyParams
- type SetPolicyRequest
- type SetPolicyResponse
- type SetRefProtectionParams
- func (*SetRefProtectionParams) Descriptor() ([]byte, []int)deprecated
- func (x *SetRefProtectionParams) GetOwner() string
- func (x *SetRefProtectionParams) GetPattern() string
- func (x *SetRefProtectionParams) GetProtected() bool
- func (x *SetRefProtectionParams) GetRepository() string
- func (*SetRefProtectionParams) ProtoMessage()
- func (x *SetRefProtectionParams) ProtoReflect() protoreflect.Message
- func (x *SetRefProtectionParams) Reset()
- func (x *SetRefProtectionParams) String() string
- type SetRefProtectionRequest
- func (*SetRefProtectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRefProtectionRequest) GetEnvelope() *Envelope
- func (*SetRefProtectionRequest) ProtoMessage()
- func (x *SetRefProtectionRequest) ProtoReflect() protoreflect.Message
- func (x *SetRefProtectionRequest) Reset()
- func (x *SetRefProtectionRequest) String() string
- type SetRefProtectionResponse
- type UnbindIdentityParams
- func (*UnbindIdentityParams) Descriptor() ([]byte, []int)deprecated
- func (x *UnbindIdentityParams) GetIssuer() string
- func (x *UnbindIdentityParams) GetSubject() string
- func (*UnbindIdentityParams) ProtoMessage()
- func (x *UnbindIdentityParams) ProtoReflect() protoreflect.Message
- func (x *UnbindIdentityParams) Reset()
- func (x *UnbindIdentityParams) String() string
- type UnbindIdentityRequest
- func (*UnbindIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnbindIdentityRequest) GetEnvelope() *Envelope
- func (*UnbindIdentityRequest) ProtoMessage()
- func (x *UnbindIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *UnbindIdentityRequest) Reset()
- func (x *UnbindIdentityRequest) String() string
- type UnbindIdentityResponse
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) AddSSHKey(context.Context, *AddSSHKeyRequest) (*AddSSHKeyResponse, error)
- func (UnimplementedAdminServiceServer) BindIdentity(context.Context, *BindIdentityRequest) (*BindIdentityResponse, error)
- func (UnimplementedAdminServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedAdminServiceServer) DisableUser(context.Context, *DisableUserRequest) (*DisableUserResponse, error)
- func (UnimplementedAdminServiceServer) GetNonce(context.Context, *GetNonceRequest) (*GetNonceResponse, error)
- func (UnimplementedAdminServiceServer) GetOIDCClient(context.Context, *GetOIDCClientRequest) (*GetOIDCClientResponse, error)
- func (UnimplementedAdminServiceServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
- func (UnimplementedAdminServiceServer) GetRepoAccess(context.Context, *GetRepoAccessRequest) (*GetRepoAccessResponse, error)
- func (UnimplementedAdminServiceServer) ListAdminCredentials(context.Context, *ListAdminCredentialsRequest) (*ListAdminCredentialsResponse, error)
- func (UnimplementedAdminServiceServer) ListIdentities(context.Context, *ListIdentitiesRequest) (*ListIdentitiesResponse, error)
- func (UnimplementedAdminServiceServer) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
- func (UnimplementedAdminServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedAdminServiceServer) OpenSession(context.Context, *OpenSessionRequest) (*OpenSessionResponse, error)
- func (UnimplementedAdminServiceServer) RemoveSSHKey(context.Context, *RemoveSSHKeyRequest) (*RemoveSSHKeyResponse, error)
- func (UnimplementedAdminServiceServer) RevokeAdminCredential(context.Context, *RevokeAdminCredentialRequest) (*RevokeAdminCredentialResponse, error)
- func (UnimplementedAdminServiceServer) SetCollaborator(context.Context, *SetCollaboratorRequest) (*SetCollaboratorResponse, error)
- func (UnimplementedAdminServiceServer) SetOIDCClient(context.Context, *SetOIDCClientRequest) (*SetOIDCClientResponse, error)
- func (UnimplementedAdminServiceServer) SetPolicy(context.Context, *SetPolicyRequest) (*SetPolicyResponse, error)
- func (UnimplementedAdminServiceServer) SetRefProtection(context.Context, *SetRefProtectionRequest) (*SetRefProtectionResponse, error)
- func (UnimplementedAdminServiceServer) UnbindIdentity(context.Context, *UnbindIdentityRequest) (*UnbindIdentityResponse, error)
- type UnimplementedEnrolServiceServer
- type UnsafeAdminServiceServer
- type UnsafeEnrolServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetDisabledAt() *timestamppb.Timestamp
- func (x *User) GetDisplayName() string
- func (x *User) GetLogin() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
const ( AdminService_GetNonce_FullMethodName = "/govcs.forge.admin.v1.AdminService/GetNonce" AdminService_OpenSession_FullMethodName = "/govcs.forge.admin.v1.AdminService/OpenSession" AdminService_ListAdminCredentials_FullMethodName = "/govcs.forge.admin.v1.AdminService/ListAdminCredentials" AdminService_RevokeAdminCredential_FullMethodName = "/govcs.forge.admin.v1.AdminService/RevokeAdminCredential" AdminService_CreateUser_FullMethodName = "/govcs.forge.admin.v1.AdminService/CreateUser" AdminService_ListUsers_FullMethodName = "/govcs.forge.admin.v1.AdminService/ListUsers" AdminService_DisableUser_FullMethodName = "/govcs.forge.admin.v1.AdminService/DisableUser" AdminService_BindIdentity_FullMethodName = "/govcs.forge.admin.v1.AdminService/BindIdentity" AdminService_ListIdentities_FullMethodName = "/govcs.forge.admin.v1.AdminService/ListIdentities" AdminService_UnbindIdentity_FullMethodName = "/govcs.forge.admin.v1.AdminService/UnbindIdentity" AdminService_ListSSHKeys_FullMethodName = "/govcs.forge.admin.v1.AdminService/ListSSHKeys" AdminService_AddSSHKey_FullMethodName = "/govcs.forge.admin.v1.AdminService/AddSSHKey" AdminService_RemoveSSHKey_FullMethodName = "/govcs.forge.admin.v1.AdminService/RemoveSSHKey" AdminService_GetPolicy_FullMethodName = "/govcs.forge.admin.v1.AdminService/GetPolicy" AdminService_SetPolicy_FullMethodName = "/govcs.forge.admin.v1.AdminService/SetPolicy" AdminService_GetRepoAccess_FullMethodName = "/govcs.forge.admin.v1.AdminService/GetRepoAccess" AdminService_SetCollaborator_FullMethodName = "/govcs.forge.admin.v1.AdminService/SetCollaborator" AdminService_SetRefProtection_FullMethodName = "/govcs.forge.admin.v1.AdminService/SetRefProtection" AdminService_GetOIDCClient_FullMethodName = "/govcs.forge.admin.v1.AdminService/GetOIDCClient" AdminService_SetOIDCClient_FullMethodName = "/govcs.forge.admin.v1.AdminService/SetOIDCClient" )
const ( EnrolService_BeginEnrol_FullMethodName = "/govcs.forge.admin.v1.EnrolService/BeginEnrol" EnrolService_FinishEnrol_FullMethodName = "/govcs.forge.admin.v1.EnrolService/FinishEnrol" )
Variables ¶
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "govcs.forge.admin.v1.AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNonce", Handler: _AdminService_GetNonce_Handler, }, { MethodName: "OpenSession", Handler: _AdminService_OpenSession_Handler, }, { MethodName: "ListAdminCredentials", Handler: _AdminService_ListAdminCredentials_Handler, }, { MethodName: "RevokeAdminCredential", Handler: _AdminService_RevokeAdminCredential_Handler, }, { MethodName: "CreateUser", Handler: _AdminService_CreateUser_Handler, }, { MethodName: "ListUsers", Handler: _AdminService_ListUsers_Handler, }, { MethodName: "DisableUser", Handler: _AdminService_DisableUser_Handler, }, { MethodName: "BindIdentity", Handler: _AdminService_BindIdentity_Handler, }, { MethodName: "ListIdentities", Handler: _AdminService_ListIdentities_Handler, }, { MethodName: "UnbindIdentity", Handler: _AdminService_UnbindIdentity_Handler, }, { MethodName: "ListSSHKeys", Handler: _AdminService_ListSSHKeys_Handler, }, { MethodName: "AddSSHKey", Handler: _AdminService_AddSSHKey_Handler, }, { MethodName: "RemoveSSHKey", Handler: _AdminService_RemoveSSHKey_Handler, }, { MethodName: "GetPolicy", Handler: _AdminService_GetPolicy_Handler, }, { MethodName: "SetPolicy", Handler: _AdminService_SetPolicy_Handler, }, { MethodName: "GetRepoAccess", Handler: _AdminService_GetRepoAccess_Handler, }, { MethodName: "SetCollaborator", Handler: _AdminService_SetCollaborator_Handler, }, { MethodName: "SetRefProtection", Handler: _AdminService_SetRefProtection_Handler, }, { MethodName: "GetOIDCClient", Handler: _AdminService_GetOIDCClient_Handler, }, { MethodName: "SetOIDCClient", Handler: _AdminService_SetOIDCClient_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "govcs/forge/admin/v1/admin.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EnrolService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "govcs.forge.admin.v1.EnrolService", HandlerType: (*EnrolServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "BeginEnrol", Handler: _EnrolService_BeginEnrol_Handler, }, { MethodName: "FinishEnrol", Handler: _EnrolService_FinishEnrol_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "govcs/forge/admin/v1/admin.proto", }
EnrolService_ServiceDesc is the grpc.ServiceDesc for EnrolService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_govcs_forge_admin_v1_admin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
func RegisterEnrolServiceServer ¶
func RegisterEnrolServiceServer(s grpc.ServiceRegistrar, srv EnrolServiceServer)
Types ¶
type AddSSHKeyParams ¶
type AddSSHKeyParams struct {
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// public_key is one authorized_keys line without options: "<type> <base64> [comment]".
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}
func (*AddSSHKeyParams) Descriptor
deprecated
func (*AddSSHKeyParams) Descriptor() ([]byte, []int)
Deprecated: Use AddSSHKeyParams.ProtoReflect.Descriptor instead.
func (*AddSSHKeyParams) GetLogin ¶
func (x *AddSSHKeyParams) GetLogin() string
func (*AddSSHKeyParams) GetPublicKey ¶
func (x *AddSSHKeyParams) GetPublicKey() string
func (*AddSSHKeyParams) ProtoMessage ¶
func (*AddSSHKeyParams) ProtoMessage()
func (*AddSSHKeyParams) ProtoReflect ¶
func (x *AddSSHKeyParams) ProtoReflect() protoreflect.Message
func (*AddSSHKeyParams) Reset ¶
func (x *AddSSHKeyParams) Reset()
func (*AddSSHKeyParams) String ¶
func (x *AddSSHKeyParams) String() string
type AddSSHKeyRequest ¶
type AddSSHKeyRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*AddSSHKeyRequest) Descriptor
deprecated
func (*AddSSHKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*AddSSHKeyRequest) GetEnvelope ¶
func (x *AddSSHKeyRequest) GetEnvelope() *Envelope
func (*AddSSHKeyRequest) ProtoMessage ¶
func (*AddSSHKeyRequest) ProtoMessage()
func (*AddSSHKeyRequest) ProtoReflect ¶
func (x *AddSSHKeyRequest) ProtoReflect() protoreflect.Message
func (*AddSSHKeyRequest) Reset ¶
func (x *AddSSHKeyRequest) Reset()
func (*AddSSHKeyRequest) String ¶
func (x *AddSSHKeyRequest) String() string
type AddSSHKeyResponse ¶
type AddSSHKeyResponse struct {
Key *SSHKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*AddSSHKeyResponse) Descriptor
deprecated
func (*AddSSHKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddSSHKeyResponse.ProtoReflect.Descriptor instead.
func (*AddSSHKeyResponse) GetKey ¶
func (x *AddSSHKeyResponse) GetKey() *SSHKey
func (*AddSSHKeyResponse) ProtoMessage ¶
func (*AddSSHKeyResponse) ProtoMessage()
func (*AddSSHKeyResponse) ProtoReflect ¶
func (x *AddSSHKeyResponse) ProtoReflect() protoreflect.Message
func (*AddSSHKeyResponse) Reset ¶
func (x *AddSSHKeyResponse) Reset()
func (*AddSSHKeyResponse) String ¶
func (x *AddSSHKeyResponse) String() string
type AdminCredential ¶
type AdminCredential struct {
CredentialId []byte `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Aaguid string `protobuf:"bytes,3,opt,name=aaguid,proto3" json:"aaguid,omitempty"`
SignCount uint32 `protobuf:"varint,4,opt,name=sign_count,json=signCount,proto3" json:"sign_count,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// revoked_at is unset while the credential is active.
RevokedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
// contains filtered or unexported fields
}
func (*AdminCredential) Descriptor
deprecated
func (*AdminCredential) Descriptor() ([]byte, []int)
Deprecated: Use AdminCredential.ProtoReflect.Descriptor instead.
func (*AdminCredential) GetAaguid ¶
func (x *AdminCredential) GetAaguid() string
func (*AdminCredential) GetCreatedAt ¶
func (x *AdminCredential) GetCreatedAt() *timestamppb.Timestamp
func (*AdminCredential) GetCredentialId ¶
func (x *AdminCredential) GetCredentialId() []byte
func (*AdminCredential) GetName ¶
func (x *AdminCredential) GetName() string
func (*AdminCredential) GetRevokedAt ¶
func (x *AdminCredential) GetRevokedAt() *timestamppb.Timestamp
func (*AdminCredential) GetSignCount ¶
func (x *AdminCredential) GetSignCount() uint32
func (*AdminCredential) ProtoMessage ¶
func (*AdminCredential) ProtoMessage()
func (*AdminCredential) ProtoReflect ¶
func (x *AdminCredential) ProtoReflect() protoreflect.Message
func (*AdminCredential) Reset ¶
func (x *AdminCredential) Reset()
func (*AdminCredential) String ¶
func (x *AdminCredential) String() string
type AdminServiceClient ¶
type AdminServiceClient interface {
// GetNonce returns a single-use nonce bound to this connection.
GetNonce(ctx context.Context, in *GetNonceRequest, opts ...grpc.CallOption) (*GetNonceResponse, error)
// OpenSession turns one assertion into a short read-only session.
OpenSession(ctx context.Context, in *OpenSessionRequest, opts ...grpc.CallOption) (*OpenSessionResponse, error)
ListAdminCredentials(ctx context.Context, in *ListAdminCredentialsRequest, opts ...grpc.CallOption) (*ListAdminCredentialsResponse, error)
RevokeAdminCredential(ctx context.Context, in *RevokeAdminCredentialRequest, opts ...grpc.CallOption) (*RevokeAdminCredentialResponse, error)
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
DisableUser(ctx context.Context, in *DisableUserRequest, opts ...grpc.CallOption) (*DisableUserResponse, error)
BindIdentity(ctx context.Context, in *BindIdentityRequest, opts ...grpc.CallOption) (*BindIdentityResponse, error)
ListIdentities(ctx context.Context, in *ListIdentitiesRequest, opts ...grpc.CallOption) (*ListIdentitiesResponse, error)
UnbindIdentity(ctx context.Context, in *UnbindIdentityRequest, opts ...grpc.CallOption) (*UnbindIdentityResponse, error)
ListSSHKeys(ctx context.Context, in *ListSSHKeysRequest, opts ...grpc.CallOption) (*ListSSHKeysResponse, error)
AddSSHKey(ctx context.Context, in *AddSSHKeyRequest, opts ...grpc.CallOption) (*AddSSHKeyResponse, error)
RemoveSSHKey(ctx context.Context, in *RemoveSSHKeyRequest, opts ...grpc.CallOption) (*RemoveSSHKeyResponse, error)
GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
SetPolicy(ctx context.Context, in *SetPolicyRequest, opts ...grpc.CallOption) (*SetPolicyResponse, error)
GetRepoAccess(ctx context.Context, in *GetRepoAccessRequest, opts ...grpc.CallOption) (*GetRepoAccessResponse, error)
SetCollaborator(ctx context.Context, in *SetCollaboratorRequest, opts ...grpc.CallOption) (*SetCollaboratorResponse, error)
SetRefProtection(ctx context.Context, in *SetRefProtectionRequest, opts ...grpc.CallOption) (*SetRefProtectionResponse, error)
GetOIDCClient(ctx context.Context, in *GetOIDCClientRequest, opts ...grpc.CallOption) (*GetOIDCClientResponse, error)
SetOIDCClient(ctx context.Context, in *SetOIDCClientRequest, opts ...grpc.CallOption) (*SetOIDCClientResponse, error)
}
AdminServiceClient is the client API for AdminService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
AdminService is served over TLS 1.3 only. Enrolment is NOT part of it.
func NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface {
// GetNonce returns a single-use nonce bound to this connection.
GetNonce(context.Context, *GetNonceRequest) (*GetNonceResponse, error)
// OpenSession turns one assertion into a short read-only session.
OpenSession(context.Context, *OpenSessionRequest) (*OpenSessionResponse, error)
ListAdminCredentials(context.Context, *ListAdminCredentialsRequest) (*ListAdminCredentialsResponse, error)
RevokeAdminCredential(context.Context, *RevokeAdminCredentialRequest) (*RevokeAdminCredentialResponse, error)
CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
DisableUser(context.Context, *DisableUserRequest) (*DisableUserResponse, error)
BindIdentity(context.Context, *BindIdentityRequest) (*BindIdentityResponse, error)
ListIdentities(context.Context, *ListIdentitiesRequest) (*ListIdentitiesResponse, error)
UnbindIdentity(context.Context, *UnbindIdentityRequest) (*UnbindIdentityResponse, error)
ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
AddSSHKey(context.Context, *AddSSHKeyRequest) (*AddSSHKeyResponse, error)
RemoveSSHKey(context.Context, *RemoveSSHKeyRequest) (*RemoveSSHKeyResponse, error)
GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
SetPolicy(context.Context, *SetPolicyRequest) (*SetPolicyResponse, error)
GetRepoAccess(context.Context, *GetRepoAccessRequest) (*GetRepoAccessResponse, error)
SetCollaborator(context.Context, *SetCollaboratorRequest) (*SetCollaboratorResponse, error)
SetRefProtection(context.Context, *SetRefProtectionRequest) (*SetRefProtectionResponse, error)
GetOIDCClient(context.Context, *GetOIDCClientRequest) (*GetOIDCClientResponse, error)
SetOIDCClient(context.Context, *SetOIDCClientRequest) (*SetOIDCClientResponse, error)
// contains filtered or unexported methods
}
AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility.
AdminService is served over TLS 1.3 only. Enrolment is NOT part of it.
type BeginEnrolRequest ¶
type BeginEnrolRequest struct {
// contains filtered or unexported fields
}
func (*BeginEnrolRequest) Descriptor
deprecated
func (*BeginEnrolRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginEnrolRequest.ProtoReflect.Descriptor instead.
func (*BeginEnrolRequest) ProtoMessage ¶
func (*BeginEnrolRequest) ProtoMessage()
func (*BeginEnrolRequest) ProtoReflect ¶
func (x *BeginEnrolRequest) ProtoReflect() protoreflect.Message
func (*BeginEnrolRequest) Reset ¶
func (x *BeginEnrolRequest) Reset()
func (*BeginEnrolRequest) String ¶
func (x *BeginEnrolRequest) String() string
type BeginEnrolResponse ¶
type BeginEnrolResponse struct {
RpId string `protobuf:"bytes,1,opt,name=rp_id,json=rpId,proto3" json:"rp_id,omitempty"`
UserHandle []byte `protobuf:"bytes,2,opt,name=user_handle,json=userHandle,proto3" json:"user_handle,omitempty"`
Challenge []byte `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*BeginEnrolResponse) Descriptor
deprecated
func (*BeginEnrolResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeginEnrolResponse.ProtoReflect.Descriptor instead.
func (*BeginEnrolResponse) GetChallenge ¶
func (x *BeginEnrolResponse) GetChallenge() []byte
func (*BeginEnrolResponse) GetExpiresAt ¶
func (x *BeginEnrolResponse) GetExpiresAt() *timestamppb.Timestamp
func (*BeginEnrolResponse) GetRpId ¶
func (x *BeginEnrolResponse) GetRpId() string
func (*BeginEnrolResponse) GetUserHandle ¶
func (x *BeginEnrolResponse) GetUserHandle() []byte
func (*BeginEnrolResponse) ProtoMessage ¶
func (*BeginEnrolResponse) ProtoMessage()
func (*BeginEnrolResponse) ProtoReflect ¶
func (x *BeginEnrolResponse) ProtoReflect() protoreflect.Message
func (*BeginEnrolResponse) Reset ¶
func (x *BeginEnrolResponse) Reset()
func (*BeginEnrolResponse) String ¶
func (x *BeginEnrolResponse) String() string
type BindIdentityParams ¶
type BindIdentityParams struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
Login string `protobuf:"bytes,3,opt,name=login,proto3" json:"login,omitempty"`
// contains filtered or unexported fields
}
func (*BindIdentityParams) Descriptor
deprecated
func (*BindIdentityParams) Descriptor() ([]byte, []int)
Deprecated: Use BindIdentityParams.ProtoReflect.Descriptor instead.
func (*BindIdentityParams) GetIssuer ¶
func (x *BindIdentityParams) GetIssuer() string
func (*BindIdentityParams) GetLogin ¶
func (x *BindIdentityParams) GetLogin() string
func (*BindIdentityParams) GetSubject ¶
func (x *BindIdentityParams) GetSubject() string
func (*BindIdentityParams) ProtoMessage ¶
func (*BindIdentityParams) ProtoMessage()
func (*BindIdentityParams) ProtoReflect ¶
func (x *BindIdentityParams) ProtoReflect() protoreflect.Message
func (*BindIdentityParams) Reset ¶
func (x *BindIdentityParams) Reset()
func (*BindIdentityParams) String ¶
func (x *BindIdentityParams) String() string
type BindIdentityRequest ¶
type BindIdentityRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*BindIdentityRequest) Descriptor
deprecated
func (*BindIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindIdentityRequest.ProtoReflect.Descriptor instead.
func (*BindIdentityRequest) GetEnvelope ¶
func (x *BindIdentityRequest) GetEnvelope() *Envelope
func (*BindIdentityRequest) ProtoMessage ¶
func (*BindIdentityRequest) ProtoMessage()
func (*BindIdentityRequest) ProtoReflect ¶
func (x *BindIdentityRequest) ProtoReflect() protoreflect.Message
func (*BindIdentityRequest) Reset ¶
func (x *BindIdentityRequest) Reset()
func (*BindIdentityRequest) String ¶
func (x *BindIdentityRequest) String() string
type BindIdentityResponse ¶
type BindIdentityResponse struct {
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
func (*BindIdentityResponse) Descriptor
deprecated
func (*BindIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindIdentityResponse.ProtoReflect.Descriptor instead.
func (*BindIdentityResponse) GetIdentity ¶
func (x *BindIdentityResponse) GetIdentity() *Identity
func (*BindIdentityResponse) ProtoMessage ¶
func (*BindIdentityResponse) ProtoMessage()
func (*BindIdentityResponse) ProtoReflect ¶
func (x *BindIdentityResponse) ProtoReflect() protoreflect.Message
func (*BindIdentityResponse) Reset ¶
func (x *BindIdentityResponse) Reset()
func (*BindIdentityResponse) String ¶
func (x *BindIdentityResponse) String() string
type CreateUserParams ¶
type CreateUserParams struct {
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserParams) Descriptor
deprecated
func (*CreateUserParams) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserParams.ProtoReflect.Descriptor instead.
func (*CreateUserParams) GetDisplayName ¶
func (x *CreateUserParams) GetDisplayName() string
func (*CreateUserParams) GetLogin ¶
func (x *CreateUserParams) GetLogin() string
func (*CreateUserParams) ProtoMessage ¶
func (*CreateUserParams) ProtoMessage()
func (*CreateUserParams) ProtoReflect ¶
func (x *CreateUserParams) ProtoReflect() protoreflect.Message
func (*CreateUserParams) Reset ¶
func (x *CreateUserParams) Reset()
func (*CreateUserParams) String ¶
func (x *CreateUserParams) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEnvelope ¶
func (x *CreateUserRequest) GetEnvelope() *Envelope
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct {
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DisableUserParams ¶
type DisableUserParams struct {
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
// contains filtered or unexported fields
}
func (*DisableUserParams) Descriptor
deprecated
func (*DisableUserParams) Descriptor() ([]byte, []int)
Deprecated: Use DisableUserParams.ProtoReflect.Descriptor instead.
func (*DisableUserParams) GetLogin ¶
func (x *DisableUserParams) GetLogin() string
func (*DisableUserParams) ProtoMessage ¶
func (*DisableUserParams) ProtoMessage()
func (*DisableUserParams) ProtoReflect ¶
func (x *DisableUserParams) ProtoReflect() protoreflect.Message
func (*DisableUserParams) Reset ¶
func (x *DisableUserParams) Reset()
func (*DisableUserParams) String ¶
func (x *DisableUserParams) String() string
type DisableUserRequest ¶
type DisableUserRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*DisableUserRequest) Descriptor
deprecated
func (*DisableUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableUserRequest.ProtoReflect.Descriptor instead.
func (*DisableUserRequest) GetEnvelope ¶
func (x *DisableUserRequest) GetEnvelope() *Envelope
func (*DisableUserRequest) ProtoMessage ¶
func (*DisableUserRequest) ProtoMessage()
func (*DisableUserRequest) ProtoReflect ¶
func (x *DisableUserRequest) ProtoReflect() protoreflect.Message
func (*DisableUserRequest) Reset ¶
func (x *DisableUserRequest) Reset()
func (*DisableUserRequest) String ¶
func (x *DisableUserRequest) String() string
type DisableUserResponse ¶
type DisableUserResponse struct {
// contains filtered or unexported fields
}
func (*DisableUserResponse) Descriptor
deprecated
func (*DisableUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableUserResponse.ProtoReflect.Descriptor instead.
func (*DisableUserResponse) ProtoMessage ¶
func (*DisableUserResponse) ProtoMessage()
func (*DisableUserResponse) ProtoReflect ¶
func (x *DisableUserResponse) ProtoReflect() protoreflect.Message
func (*DisableUserResponse) Reset ¶
func (x *DisableUserResponse) Reset()
func (*DisableUserResponse) String ¶
func (x *DisableUserResponse) String() string
type EnrolServiceClient ¶
type EnrolServiceClient interface {
// BeginEnrol returns the relying party id, a user handle and a challenge.
BeginEnrol(ctx context.Context, in *BeginEnrolRequest, opts ...grpc.CallOption) (*BeginEnrolResponse, error)
// FinishEnrol verifies the attestation and stores the credential.
FinishEnrol(ctx context.Context, in *FinishEnrolRequest, opts ...grpc.CallOption) (*FinishEnrolResponse, error)
}
EnrolServiceClient is the client API for EnrolService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
EnrolService is served ONLY on a local Unix socket whose access is controlled by file permissions. It is never registered on a network listener.
func NewEnrolServiceClient ¶
func NewEnrolServiceClient(cc grpc.ClientConnInterface) EnrolServiceClient
type EnrolServiceServer ¶
type EnrolServiceServer interface {
// BeginEnrol returns the relying party id, a user handle and a challenge.
BeginEnrol(context.Context, *BeginEnrolRequest) (*BeginEnrolResponse, error)
// FinishEnrol verifies the attestation and stores the credential.
FinishEnrol(context.Context, *FinishEnrolRequest) (*FinishEnrolResponse, error)
// contains filtered or unexported methods
}
EnrolServiceServer is the server API for EnrolService service. All implementations must embed UnimplementedEnrolServiceServer for forward compatibility.
EnrolService is served ONLY on a local Unix socket whose access is controlled by file permissions. It is never registered on a network listener.
type Envelope ¶
type Envelope struct {
Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
Request []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
CredentialId []byte `protobuf:"bytes,3,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
AuthenticatorData []byte `protobuf:"bytes,4,opt,name=authenticator_data,json=authenticatorData,proto3" json:"authenticator_data,omitempty"`
Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
Envelope is the proof that accompanies every mutating call.
The caller first obtains a nonce with GetNonce on the same connection. The authenticator then signs authenticator_data followed by
clientDataHash = SHA-256(encode("go-vcs admin v1", full method name, nonce,
SHA-256(request), TLS exporter value))
and the server checks it against the enrolled public key. `request` holds the serialized parameters message of the call and is hashed exactly as received.
func (*Envelope) Descriptor
deprecated
func (*Envelope) GetAuthenticatorData ¶
func (*Envelope) GetCredentialId ¶
func (*Envelope) GetRequest ¶
func (*Envelope) GetSignature ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) ProtoReflect ¶
func (x *Envelope) ProtoReflect() protoreflect.Message
type FinishEnrolRequest ¶
type FinishEnrolRequest struct {
Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// authenticator_data is the raw authData of the attestation object.
AuthenticatorData []byte `protobuf:"bytes,3,opt,name=authenticator_data,json=authenticatorData,proto3" json:"authenticator_data,omitempty"`
// attestation_format is the attestation object's fmt ("packed").
AttestationFormat string `protobuf:"bytes,4,opt,name=attestation_format,json=attestationFormat,proto3" json:"attestation_format,omitempty"`
// attestation_statement is the attStmt of the attestation object, CBOR.
AttestationStatement []byte `protobuf:"bytes,5,opt,name=attestation_statement,json=attestationStatement,proto3" json:"attestation_statement,omitempty"`
// contains filtered or unexported fields
}
func (*FinishEnrolRequest) Descriptor
deprecated
func (*FinishEnrolRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinishEnrolRequest.ProtoReflect.Descriptor instead.
func (*FinishEnrolRequest) GetAttestationFormat ¶
func (x *FinishEnrolRequest) GetAttestationFormat() string
func (*FinishEnrolRequest) GetAttestationStatement ¶
func (x *FinishEnrolRequest) GetAttestationStatement() []byte
func (*FinishEnrolRequest) GetAuthenticatorData ¶
func (x *FinishEnrolRequest) GetAuthenticatorData() []byte
func (*FinishEnrolRequest) GetChallenge ¶
func (x *FinishEnrolRequest) GetChallenge() []byte
func (*FinishEnrolRequest) GetName ¶
func (x *FinishEnrolRequest) GetName() string
func (*FinishEnrolRequest) ProtoMessage ¶
func (*FinishEnrolRequest) ProtoMessage()
func (*FinishEnrolRequest) ProtoReflect ¶
func (x *FinishEnrolRequest) ProtoReflect() protoreflect.Message
func (*FinishEnrolRequest) Reset ¶
func (x *FinishEnrolRequest) Reset()
func (*FinishEnrolRequest) String ¶
func (x *FinishEnrolRequest) String() string
type FinishEnrolResponse ¶
type FinishEnrolResponse struct {
Credential *AdminCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
// contains filtered or unexported fields
}
func (*FinishEnrolResponse) Descriptor
deprecated
func (*FinishEnrolResponse) Descriptor() ([]byte, []int)
Deprecated: Use FinishEnrolResponse.ProtoReflect.Descriptor instead.
func (*FinishEnrolResponse) GetCredential ¶
func (x *FinishEnrolResponse) GetCredential() *AdminCredential
func (*FinishEnrolResponse) ProtoMessage ¶
func (*FinishEnrolResponse) ProtoMessage()
func (*FinishEnrolResponse) ProtoReflect ¶
func (x *FinishEnrolResponse) ProtoReflect() protoreflect.Message
func (*FinishEnrolResponse) Reset ¶
func (x *FinishEnrolResponse) Reset()
func (*FinishEnrolResponse) String ¶
func (x *FinishEnrolResponse) String() string
type GetNonceRequest ¶
type GetNonceRequest struct {
// contains filtered or unexported fields
}
func (*GetNonceRequest) Descriptor
deprecated
func (*GetNonceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNonceRequest.ProtoReflect.Descriptor instead.
func (*GetNonceRequest) ProtoMessage ¶
func (*GetNonceRequest) ProtoMessage()
func (*GetNonceRequest) ProtoReflect ¶
func (x *GetNonceRequest) ProtoReflect() protoreflect.Message
func (*GetNonceRequest) Reset ¶
func (x *GetNonceRequest) Reset()
func (*GetNonceRequest) String ¶
func (x *GetNonceRequest) String() string
type GetNonceResponse ¶
type GetNonceResponse struct {
Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*GetNonceResponse) Descriptor
deprecated
func (*GetNonceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNonceResponse.ProtoReflect.Descriptor instead.
func (*GetNonceResponse) GetExpiresAt ¶
func (x *GetNonceResponse) GetExpiresAt() *timestamppb.Timestamp
func (*GetNonceResponse) GetNonce ¶
func (x *GetNonceResponse) GetNonce() []byte
func (*GetNonceResponse) ProtoMessage ¶
func (*GetNonceResponse) ProtoMessage()
func (*GetNonceResponse) ProtoReflect ¶
func (x *GetNonceResponse) ProtoReflect() protoreflect.Message
func (*GetNonceResponse) Reset ¶
func (x *GetNonceResponse) Reset()
func (*GetNonceResponse) String ¶
func (x *GetNonceResponse) String() string
type GetOIDCClientRequest ¶
type GetOIDCClientRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*GetOIDCClientRequest) Descriptor
deprecated
func (*GetOIDCClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCClientRequest.ProtoReflect.Descriptor instead.
func (*GetOIDCClientRequest) GetSessionToken ¶
func (x *GetOIDCClientRequest) GetSessionToken() []byte
func (*GetOIDCClientRequest) ProtoMessage ¶
func (*GetOIDCClientRequest) ProtoMessage()
func (*GetOIDCClientRequest) ProtoReflect ¶
func (x *GetOIDCClientRequest) ProtoReflect() protoreflect.Message
func (*GetOIDCClientRequest) Reset ¶
func (x *GetOIDCClientRequest) Reset()
func (*GetOIDCClientRequest) String ¶
func (x *GetOIDCClientRequest) String() string
type GetOIDCClientResponse ¶
type GetOIDCClientResponse struct {
// client is unset until SetOIDCClient has been called.
Client *OIDCClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
// contains filtered or unexported fields
}
func (*GetOIDCClientResponse) Descriptor
deprecated
func (*GetOIDCClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCClientResponse.ProtoReflect.Descriptor instead.
func (*GetOIDCClientResponse) GetClient ¶
func (x *GetOIDCClientResponse) GetClient() *OIDCClient
func (*GetOIDCClientResponse) ProtoMessage ¶
func (*GetOIDCClientResponse) ProtoMessage()
func (*GetOIDCClientResponse) ProtoReflect ¶
func (x *GetOIDCClientResponse) ProtoReflect() protoreflect.Message
func (*GetOIDCClientResponse) Reset ¶
func (x *GetOIDCClientResponse) Reset()
func (*GetOIDCClientResponse) String ¶
func (x *GetOIDCClientResponse) String() string
type GetPolicyRequest ¶
type GetPolicyRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyRequest) Descriptor
deprecated
func (*GetPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyRequest) GetSessionToken ¶
func (x *GetPolicyRequest) GetSessionToken() []byte
func (*GetPolicyRequest) ProtoMessage ¶
func (*GetPolicyRequest) ProtoMessage()
func (*GetPolicyRequest) ProtoReflect ¶
func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyRequest) Reset ¶
func (x *GetPolicyRequest) Reset()
func (*GetPolicyRequest) String ¶
func (x *GetPolicyRequest) String() string
type GetPolicyResponse ¶
type GetPolicyResponse struct {
Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyResponse) Descriptor
deprecated
func (*GetPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyResponse) GetPolicy ¶
func (x *GetPolicyResponse) GetPolicy() *Policy
func (*GetPolicyResponse) ProtoMessage ¶
func (*GetPolicyResponse) ProtoMessage()
func (*GetPolicyResponse) ProtoReflect ¶
func (x *GetPolicyResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyResponse) Reset ¶
func (x *GetPolicyResponse) Reset()
func (*GetPolicyResponse) String ¶
func (x *GetPolicyResponse) String() string
type GetRepoAccessRequest ¶
type GetRepoAccessRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
// contains filtered or unexported fields
}
func (*GetRepoAccessRequest) Descriptor
deprecated
func (*GetRepoAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepoAccessRequest.ProtoReflect.Descriptor instead.
func (*GetRepoAccessRequest) GetOwner ¶
func (x *GetRepoAccessRequest) GetOwner() string
func (*GetRepoAccessRequest) GetRepository ¶
func (x *GetRepoAccessRequest) GetRepository() string
func (*GetRepoAccessRequest) GetSessionToken ¶
func (x *GetRepoAccessRequest) GetSessionToken() []byte
func (*GetRepoAccessRequest) ProtoMessage ¶
func (*GetRepoAccessRequest) ProtoMessage()
func (*GetRepoAccessRequest) ProtoReflect ¶
func (x *GetRepoAccessRequest) ProtoReflect() protoreflect.Message
func (*GetRepoAccessRequest) Reset ¶
func (x *GetRepoAccessRequest) Reset()
func (*GetRepoAccessRequest) String ¶
func (x *GetRepoAccessRequest) String() string
type GetRepoAccessResponse ¶
type GetRepoAccessResponse struct {
Access *RepoAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
// contains filtered or unexported fields
}
func (*GetRepoAccessResponse) Descriptor
deprecated
func (*GetRepoAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepoAccessResponse.ProtoReflect.Descriptor instead.
func (*GetRepoAccessResponse) GetAccess ¶
func (x *GetRepoAccessResponse) GetAccess() *RepoAccess
func (*GetRepoAccessResponse) ProtoMessage ¶
func (*GetRepoAccessResponse) ProtoMessage()
func (*GetRepoAccessResponse) ProtoReflect ¶
func (x *GetRepoAccessResponse) ProtoReflect() protoreflect.Message
func (*GetRepoAccessResponse) Reset ¶
func (x *GetRepoAccessResponse) Reset()
func (*GetRepoAccessResponse) String ¶
func (x *GetRepoAccessResponse) String() string
type Identity ¶
type Identity struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
Login string `protobuf:"bytes,3,opt,name=login,proto3" json:"login,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
Identity is an external identity, keyed on the issuer and the subject. There is deliberately no e-mail field anywhere in this API.
func (*Identity) Descriptor
deprecated
func (*Identity) GetCreatedAt ¶
func (x *Identity) GetCreatedAt() *timestamppb.Timestamp
func (*Identity) GetSubject ¶
func (*Identity) ProtoMessage ¶
func (*Identity) ProtoMessage()
func (*Identity) ProtoReflect ¶
func (x *Identity) ProtoReflect() protoreflect.Message
type ListAdminCredentialsRequest ¶
type ListAdminCredentialsRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListAdminCredentialsRequest) Descriptor
deprecated
func (*ListAdminCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminCredentialsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminCredentialsRequest) GetSessionToken ¶
func (x *ListAdminCredentialsRequest) GetSessionToken() []byte
func (*ListAdminCredentialsRequest) ProtoMessage ¶
func (*ListAdminCredentialsRequest) ProtoMessage()
func (*ListAdminCredentialsRequest) ProtoReflect ¶
func (x *ListAdminCredentialsRequest) ProtoReflect() protoreflect.Message
func (*ListAdminCredentialsRequest) Reset ¶
func (x *ListAdminCredentialsRequest) Reset()
func (*ListAdminCredentialsRequest) String ¶
func (x *ListAdminCredentialsRequest) String() string
type ListAdminCredentialsResponse ¶
type ListAdminCredentialsResponse struct {
Credentials []*AdminCredential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}
func (*ListAdminCredentialsResponse) Descriptor
deprecated
func (*ListAdminCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAdminCredentialsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminCredentialsResponse) GetCredentials ¶
func (x *ListAdminCredentialsResponse) GetCredentials() []*AdminCredential
func (*ListAdminCredentialsResponse) ProtoMessage ¶
func (*ListAdminCredentialsResponse) ProtoMessage()
func (*ListAdminCredentialsResponse) ProtoReflect ¶
func (x *ListAdminCredentialsResponse) ProtoReflect() protoreflect.Message
func (*ListAdminCredentialsResponse) Reset ¶
func (x *ListAdminCredentialsResponse) Reset()
func (*ListAdminCredentialsResponse) String ¶
func (x *ListAdminCredentialsResponse) String() string
type ListIdentitiesRequest ¶
type ListIdentitiesRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// login, when set, restricts the list to one user.
Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
// contains filtered or unexported fields
}
func (*ListIdentitiesRequest) Descriptor
deprecated
func (*ListIdentitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentitiesRequest.ProtoReflect.Descriptor instead.
func (*ListIdentitiesRequest) GetLogin ¶
func (x *ListIdentitiesRequest) GetLogin() string
func (*ListIdentitiesRequest) GetSessionToken ¶
func (x *ListIdentitiesRequest) GetSessionToken() []byte
func (*ListIdentitiesRequest) ProtoMessage ¶
func (*ListIdentitiesRequest) ProtoMessage()
func (*ListIdentitiesRequest) ProtoReflect ¶
func (x *ListIdentitiesRequest) ProtoReflect() protoreflect.Message
func (*ListIdentitiesRequest) Reset ¶
func (x *ListIdentitiesRequest) Reset()
func (*ListIdentitiesRequest) String ¶
func (x *ListIdentitiesRequest) String() string
type ListIdentitiesResponse ¶
type ListIdentitiesResponse struct {
Identities []*Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
// contains filtered or unexported fields
}
func (*ListIdentitiesResponse) Descriptor
deprecated
func (*ListIdentitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentitiesResponse.ProtoReflect.Descriptor instead.
func (*ListIdentitiesResponse) GetIdentities ¶
func (x *ListIdentitiesResponse) GetIdentities() []*Identity
func (*ListIdentitiesResponse) ProtoMessage ¶
func (*ListIdentitiesResponse) ProtoMessage()
func (*ListIdentitiesResponse) ProtoReflect ¶
func (x *ListIdentitiesResponse) ProtoReflect() protoreflect.Message
func (*ListIdentitiesResponse) Reset ¶
func (x *ListIdentitiesResponse) Reset()
func (*ListIdentitiesResponse) String ¶
func (x *ListIdentitiesResponse) String() string
type ListSSHKeysRequest ¶
type ListSSHKeysRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// login, when set, restricts the list to one user.
Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
// contains filtered or unexported fields
}
func (*ListSSHKeysRequest) Descriptor
deprecated
func (*ListSSHKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeysRequest.ProtoReflect.Descriptor instead.
func (*ListSSHKeysRequest) GetLogin ¶
func (x *ListSSHKeysRequest) GetLogin() string
func (*ListSSHKeysRequest) GetSessionToken ¶
func (x *ListSSHKeysRequest) GetSessionToken() []byte
func (*ListSSHKeysRequest) ProtoMessage ¶
func (*ListSSHKeysRequest) ProtoMessage()
func (*ListSSHKeysRequest) ProtoReflect ¶
func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Message
func (*ListSSHKeysRequest) Reset ¶
func (x *ListSSHKeysRequest) Reset()
func (*ListSSHKeysRequest) String ¶
func (x *ListSSHKeysRequest) String() string
type ListSSHKeysResponse ¶
type ListSSHKeysResponse struct {
Keys []*SSHKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
func (*ListSSHKeysResponse) Descriptor
deprecated
func (*ListSSHKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeysResponse.ProtoReflect.Descriptor instead.
func (*ListSSHKeysResponse) GetKeys ¶
func (x *ListSSHKeysResponse) GetKeys() []*SSHKey
func (*ListSSHKeysResponse) ProtoMessage ¶
func (*ListSSHKeysResponse) ProtoMessage()
func (*ListSSHKeysResponse) ProtoReflect ¶
func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message
func (*ListSSHKeysResponse) Reset ¶
func (x *ListSSHKeysResponse) Reset()
func (*ListSSHKeysResponse) String ¶
func (x *ListSSHKeysResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct {
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetSessionToken ¶
func (x *ListUsersRequest) GetSessionToken() []byte
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct {
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type OIDCClient ¶
type OIDCClient struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
HasSecret bool `protobuf:"varint,4,opt,name=has_secret,json=hasSecret,proto3" json:"has_secret,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
OIDCClient is the forge's registration at the identity bridge, used for web sign-in. The secret is never returned: only whether one is stored.
func (*OIDCClient) Descriptor
deprecated
func (*OIDCClient) Descriptor() ([]byte, []int)
Deprecated: Use OIDCClient.ProtoReflect.Descriptor instead.
func (*OIDCClient) GetClientId ¶
func (x *OIDCClient) GetClientId() string
func (*OIDCClient) GetHasSecret ¶
func (x *OIDCClient) GetHasSecret() bool
func (*OIDCClient) GetIssuer ¶
func (x *OIDCClient) GetIssuer() string
func (*OIDCClient) GetRedirectUri ¶
func (x *OIDCClient) GetRedirectUri() string
func (*OIDCClient) GetUpdatedAt ¶
func (x *OIDCClient) GetUpdatedAt() *timestamppb.Timestamp
func (*OIDCClient) ProtoMessage ¶
func (*OIDCClient) ProtoMessage()
func (*OIDCClient) ProtoReflect ¶
func (x *OIDCClient) ProtoReflect() protoreflect.Message
func (*OIDCClient) Reset ¶
func (x *OIDCClient) Reset()
func (*OIDCClient) String ¶
func (x *OIDCClient) String() string
type OpenSessionParams ¶
type OpenSessionParams struct {
// contains filtered or unexported fields
}
func (*OpenSessionParams) Descriptor
deprecated
func (*OpenSessionParams) Descriptor() ([]byte, []int)
Deprecated: Use OpenSessionParams.ProtoReflect.Descriptor instead.
func (*OpenSessionParams) ProtoMessage ¶
func (*OpenSessionParams) ProtoMessage()
func (*OpenSessionParams) ProtoReflect ¶
func (x *OpenSessionParams) ProtoReflect() protoreflect.Message
func (*OpenSessionParams) Reset ¶
func (x *OpenSessionParams) Reset()
func (*OpenSessionParams) String ¶
func (x *OpenSessionParams) String() string
type OpenSessionRequest ¶
type OpenSessionRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*OpenSessionRequest) Descriptor
deprecated
func (*OpenSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenSessionRequest.ProtoReflect.Descriptor instead.
func (*OpenSessionRequest) GetEnvelope ¶
func (x *OpenSessionRequest) GetEnvelope() *Envelope
func (*OpenSessionRequest) ProtoMessage ¶
func (*OpenSessionRequest) ProtoMessage()
func (*OpenSessionRequest) ProtoReflect ¶
func (x *OpenSessionRequest) ProtoReflect() protoreflect.Message
func (*OpenSessionRequest) Reset ¶
func (x *OpenSessionRequest) Reset()
func (*OpenSessionRequest) String ¶
func (x *OpenSessionRequest) String() string
type OpenSessionResponse ¶
type OpenSessionResponse struct {
// session_token authorises read-only calls on this connection only.
SessionToken []byte `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*OpenSessionResponse) Descriptor
deprecated
func (*OpenSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenSessionResponse.ProtoReflect.Descriptor instead.
func (*OpenSessionResponse) GetExpiresAt ¶
func (x *OpenSessionResponse) GetExpiresAt() *timestamppb.Timestamp
func (*OpenSessionResponse) GetSessionToken ¶
func (x *OpenSessionResponse) GetSessionToken() []byte
func (*OpenSessionResponse) ProtoMessage ¶
func (*OpenSessionResponse) ProtoMessage()
func (*OpenSessionResponse) ProtoReflect ¶
func (x *OpenSessionResponse) ProtoReflect() protoreflect.Message
func (*OpenSessionResponse) Reset ¶
func (x *OpenSessionResponse) Reset()
func (*OpenSessionResponse) String ¶
func (x *OpenSessionResponse) String() string
type Policy ¶
type Policy struct {
// require_sk_ssh_keys refuses to store, and refuses to authenticate with, any
// SSH key that is not a FIDO-backed "sk-" key.
RequireSkSshKeys bool `protobuf:"varint,1,opt,name=require_sk_ssh_keys,json=requireSkSshKeys,proto3" json:"require_sk_ssh_keys,omitempty"`
// contains filtered or unexported fields
}
Policy holds the forge-wide settings.
func (*Policy) Descriptor
deprecated
func (*Policy) GetRequireSkSshKeys ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type RemoveSSHKeyParams ¶
type RemoveSSHKeyParams struct {
Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveSSHKeyParams) Descriptor
deprecated
func (*RemoveSSHKeyParams) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSSHKeyParams.ProtoReflect.Descriptor instead.
func (*RemoveSSHKeyParams) GetFingerprint ¶
func (x *RemoveSSHKeyParams) GetFingerprint() string
func (*RemoveSSHKeyParams) ProtoMessage ¶
func (*RemoveSSHKeyParams) ProtoMessage()
func (*RemoveSSHKeyParams) ProtoReflect ¶
func (x *RemoveSSHKeyParams) ProtoReflect() protoreflect.Message
func (*RemoveSSHKeyParams) Reset ¶
func (x *RemoveSSHKeyParams) Reset()
func (*RemoveSSHKeyParams) String ¶
func (x *RemoveSSHKeyParams) String() string
type RemoveSSHKeyRequest ¶
type RemoveSSHKeyRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveSSHKeyRequest) Descriptor
deprecated
func (*RemoveSSHKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*RemoveSSHKeyRequest) GetEnvelope ¶
func (x *RemoveSSHKeyRequest) GetEnvelope() *Envelope
func (*RemoveSSHKeyRequest) ProtoMessage ¶
func (*RemoveSSHKeyRequest) ProtoMessage()
func (*RemoveSSHKeyRequest) ProtoReflect ¶
func (x *RemoveSSHKeyRequest) ProtoReflect() protoreflect.Message
func (*RemoveSSHKeyRequest) Reset ¶
func (x *RemoveSSHKeyRequest) Reset()
func (*RemoveSSHKeyRequest) String ¶
func (x *RemoveSSHKeyRequest) String() string
type RemoveSSHKeyResponse ¶
type RemoveSSHKeyResponse struct {
// contains filtered or unexported fields
}
func (*RemoveSSHKeyResponse) Descriptor
deprecated
func (*RemoveSSHKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSSHKeyResponse.ProtoReflect.Descriptor instead.
func (*RemoveSSHKeyResponse) ProtoMessage ¶
func (*RemoveSSHKeyResponse) ProtoMessage()
func (*RemoveSSHKeyResponse) ProtoReflect ¶
func (x *RemoveSSHKeyResponse) ProtoReflect() protoreflect.Message
func (*RemoveSSHKeyResponse) Reset ¶
func (x *RemoveSSHKeyResponse) Reset()
func (*RemoveSSHKeyResponse) String ¶
func (x *RemoveSSHKeyResponse) String() string
type RepoAccess ¶
type RepoAccess struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
// collaborators are logins that may push; the owner always may.
Collaborators []string `protobuf:"bytes,3,rep,name=collaborators,proto3" json:"collaborators,omitempty"`
// protected_refs are full ref names, or a prefix ending in "/*" (for example
// "refs/heads/main", "refs/heads/release/*"). A protected ref cannot be
// deleted and only fast-forwards.
ProtectedRefs []string `protobuf:"bytes,4,rep,name=protected_refs,json=protectedRefs,proto3" json:"protected_refs,omitempty"`
// contains filtered or unexported fields
}
RepoAccess is who may push to a repository besides its owner, and which refs are protected. The repository need not exist yet (it is created outside the forge); the owner must be an enabled user.
func (*RepoAccess) Descriptor
deprecated
func (*RepoAccess) Descriptor() ([]byte, []int)
Deprecated: Use RepoAccess.ProtoReflect.Descriptor instead.
func (*RepoAccess) GetCollaborators ¶
func (x *RepoAccess) GetCollaborators() []string
func (*RepoAccess) GetOwner ¶
func (x *RepoAccess) GetOwner() string
func (*RepoAccess) GetProtectedRefs ¶
func (x *RepoAccess) GetProtectedRefs() []string
func (*RepoAccess) GetRepository ¶
func (x *RepoAccess) GetRepository() string
func (*RepoAccess) ProtoMessage ¶
func (*RepoAccess) ProtoMessage()
func (*RepoAccess) ProtoReflect ¶
func (x *RepoAccess) ProtoReflect() protoreflect.Message
func (*RepoAccess) Reset ¶
func (x *RepoAccess) Reset()
func (*RepoAccess) String ¶
func (x *RepoAccess) String() string
type RevokeAdminCredentialParams ¶
type RevokeAdminCredentialParams struct {
CredentialId []byte `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeAdminCredentialParams) Descriptor
deprecated
func (*RevokeAdminCredentialParams) Descriptor() ([]byte, []int)
Deprecated: Use RevokeAdminCredentialParams.ProtoReflect.Descriptor instead.
func (*RevokeAdminCredentialParams) GetCredentialId ¶
func (x *RevokeAdminCredentialParams) GetCredentialId() []byte
func (*RevokeAdminCredentialParams) ProtoMessage ¶
func (*RevokeAdminCredentialParams) ProtoMessage()
func (*RevokeAdminCredentialParams) ProtoReflect ¶
func (x *RevokeAdminCredentialParams) ProtoReflect() protoreflect.Message
func (*RevokeAdminCredentialParams) Reset ¶
func (x *RevokeAdminCredentialParams) Reset()
func (*RevokeAdminCredentialParams) String ¶
func (x *RevokeAdminCredentialParams) String() string
type RevokeAdminCredentialRequest ¶
type RevokeAdminCredentialRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeAdminCredentialRequest) Descriptor
deprecated
func (*RevokeAdminCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeAdminCredentialRequest.ProtoReflect.Descriptor instead.
func (*RevokeAdminCredentialRequest) GetEnvelope ¶
func (x *RevokeAdminCredentialRequest) GetEnvelope() *Envelope
func (*RevokeAdminCredentialRequest) ProtoMessage ¶
func (*RevokeAdminCredentialRequest) ProtoMessage()
func (*RevokeAdminCredentialRequest) ProtoReflect ¶
func (x *RevokeAdminCredentialRequest) ProtoReflect() protoreflect.Message
func (*RevokeAdminCredentialRequest) Reset ¶
func (x *RevokeAdminCredentialRequest) Reset()
func (*RevokeAdminCredentialRequest) String ¶
func (x *RevokeAdminCredentialRequest) String() string
type RevokeAdminCredentialResponse ¶
type RevokeAdminCredentialResponse struct {
// contains filtered or unexported fields
}
func (*RevokeAdminCredentialResponse) Descriptor
deprecated
func (*RevokeAdminCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeAdminCredentialResponse.ProtoReflect.Descriptor instead.
func (*RevokeAdminCredentialResponse) ProtoMessage ¶
func (*RevokeAdminCredentialResponse) ProtoMessage()
func (*RevokeAdminCredentialResponse) ProtoReflect ¶
func (x *RevokeAdminCredentialResponse) ProtoReflect() protoreflect.Message
func (*RevokeAdminCredentialResponse) Reset ¶
func (x *RevokeAdminCredentialResponse) Reset()
func (*RevokeAdminCredentialResponse) String ¶
func (x *RevokeAdminCredentialResponse) String() string
type SSHKey ¶
type SSHKey struct {
// fingerprint is "SHA256:" followed by the unpadded base64 of the SHA-256 of
// the key's wire encoding (what ssh-keygen -l prints).
Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
Login string `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
// key_type is the SSH algorithm name, e.g. "ssh-ed25519" or
// "sk-ssh-ed25519@openssh.com".
KeyType string `protobuf:"bytes,3,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
// security_key is true for the FIDO-backed "sk-" key types.
SecurityKey bool `protobuf:"varint,4,opt,name=security_key,json=securityKey,proto3" json:"security_key,omitempty"`
Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
SSHKey is a public key a user authenticates git over SSH with.
func (*SSHKey) Descriptor
deprecated
func (*SSHKey) GetComment ¶
func (*SSHKey) GetCreatedAt ¶
func (x *SSHKey) GetCreatedAt() *timestamppb.Timestamp
func (*SSHKey) GetFingerprint ¶
func (*SSHKey) GetKeyType ¶
func (*SSHKey) GetSecurityKey ¶
func (*SSHKey) ProtoMessage ¶
func (*SSHKey) ProtoMessage()
func (*SSHKey) ProtoReflect ¶
func (x *SSHKey) ProtoReflect() protoreflect.Message
type SetCollaboratorParams ¶
type SetCollaboratorParams struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
Login string `protobuf:"bytes,3,opt,name=login,proto3" json:"login,omitempty"`
// member true grants push, false revokes it. Idempotent.
Member bool `protobuf:"varint,4,opt,name=member,proto3" json:"member,omitempty"`
// contains filtered or unexported fields
}
func (*SetCollaboratorParams) Descriptor
deprecated
func (*SetCollaboratorParams) Descriptor() ([]byte, []int)
Deprecated: Use SetCollaboratorParams.ProtoReflect.Descriptor instead.
func (*SetCollaboratorParams) GetLogin ¶
func (x *SetCollaboratorParams) GetLogin() string
func (*SetCollaboratorParams) GetMember ¶
func (x *SetCollaboratorParams) GetMember() bool
func (*SetCollaboratorParams) GetOwner ¶
func (x *SetCollaboratorParams) GetOwner() string
func (*SetCollaboratorParams) GetRepository ¶
func (x *SetCollaboratorParams) GetRepository() string
func (*SetCollaboratorParams) ProtoMessage ¶
func (*SetCollaboratorParams) ProtoMessage()
func (*SetCollaboratorParams) ProtoReflect ¶
func (x *SetCollaboratorParams) ProtoReflect() protoreflect.Message
func (*SetCollaboratorParams) Reset ¶
func (x *SetCollaboratorParams) Reset()
func (*SetCollaboratorParams) String ¶
func (x *SetCollaboratorParams) String() string
type SetCollaboratorRequest ¶
type SetCollaboratorRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*SetCollaboratorRequest) Descriptor
deprecated
func (*SetCollaboratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCollaboratorRequest.ProtoReflect.Descriptor instead.
func (*SetCollaboratorRequest) GetEnvelope ¶
func (x *SetCollaboratorRequest) GetEnvelope() *Envelope
func (*SetCollaboratorRequest) ProtoMessage ¶
func (*SetCollaboratorRequest) ProtoMessage()
func (*SetCollaboratorRequest) ProtoReflect ¶
func (x *SetCollaboratorRequest) ProtoReflect() protoreflect.Message
func (*SetCollaboratorRequest) Reset ¶
func (x *SetCollaboratorRequest) Reset()
func (*SetCollaboratorRequest) String ¶
func (x *SetCollaboratorRequest) String() string
type SetCollaboratorResponse ¶
type SetCollaboratorResponse struct {
// contains filtered or unexported fields
}
func (*SetCollaboratorResponse) Descriptor
deprecated
func (*SetCollaboratorResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetCollaboratorResponse.ProtoReflect.Descriptor instead.
func (*SetCollaboratorResponse) ProtoMessage ¶
func (*SetCollaboratorResponse) ProtoMessage()
func (*SetCollaboratorResponse) ProtoReflect ¶
func (x *SetCollaboratorResponse) ProtoReflect() protoreflect.Message
func (*SetCollaboratorResponse) Reset ¶
func (x *SetCollaboratorResponse) Reset()
func (*SetCollaboratorResponse) String ¶
func (x *SetCollaboratorResponse) String() string
type SetOIDCClientParams ¶
type SetOIDCClientParams struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
ClientSecret []byte `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
// contains filtered or unexported fields
}
SetOIDCClientParams replaces the registration. client_secret travels only in this signed request body (never argv, environment or URL), and is stored encrypted. An empty client_secret makes a public client (PKCE only).
func (*SetOIDCClientParams) Descriptor
deprecated
func (*SetOIDCClientParams) Descriptor() ([]byte, []int)
Deprecated: Use SetOIDCClientParams.ProtoReflect.Descriptor instead.
func (*SetOIDCClientParams) GetClientId ¶
func (x *SetOIDCClientParams) GetClientId() string
func (*SetOIDCClientParams) GetClientSecret ¶
func (x *SetOIDCClientParams) GetClientSecret() []byte
func (*SetOIDCClientParams) GetIssuer ¶
func (x *SetOIDCClientParams) GetIssuer() string
func (*SetOIDCClientParams) GetRedirectUri ¶
func (x *SetOIDCClientParams) GetRedirectUri() string
func (*SetOIDCClientParams) ProtoMessage ¶
func (*SetOIDCClientParams) ProtoMessage()
func (*SetOIDCClientParams) ProtoReflect ¶
func (x *SetOIDCClientParams) ProtoReflect() protoreflect.Message
func (*SetOIDCClientParams) Reset ¶
func (x *SetOIDCClientParams) Reset()
func (*SetOIDCClientParams) String ¶
func (x *SetOIDCClientParams) String() string
type SetOIDCClientRequest ¶
type SetOIDCClientRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*SetOIDCClientRequest) Descriptor
deprecated
func (*SetOIDCClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetOIDCClientRequest.ProtoReflect.Descriptor instead.
func (*SetOIDCClientRequest) GetEnvelope ¶
func (x *SetOIDCClientRequest) GetEnvelope() *Envelope
func (*SetOIDCClientRequest) ProtoMessage ¶
func (*SetOIDCClientRequest) ProtoMessage()
func (*SetOIDCClientRequest) ProtoReflect ¶
func (x *SetOIDCClientRequest) ProtoReflect() protoreflect.Message
func (*SetOIDCClientRequest) Reset ¶
func (x *SetOIDCClientRequest) Reset()
func (*SetOIDCClientRequest) String ¶
func (x *SetOIDCClientRequest) String() string
type SetOIDCClientResponse ¶
type SetOIDCClientResponse struct {
// contains filtered or unexported fields
}
func (*SetOIDCClientResponse) Descriptor
deprecated
func (*SetOIDCClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetOIDCClientResponse.ProtoReflect.Descriptor instead.
func (*SetOIDCClientResponse) ProtoMessage ¶
func (*SetOIDCClientResponse) ProtoMessage()
func (*SetOIDCClientResponse) ProtoReflect ¶
func (x *SetOIDCClientResponse) ProtoReflect() protoreflect.Message
func (*SetOIDCClientResponse) Reset ¶
func (x *SetOIDCClientResponse) Reset()
func (*SetOIDCClientResponse) String ¶
func (x *SetOIDCClientResponse) String() string
type SetPolicyParams ¶
type SetPolicyParams struct {
Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*SetPolicyParams) Descriptor
deprecated
func (*SetPolicyParams) Descriptor() ([]byte, []int)
Deprecated: Use SetPolicyParams.ProtoReflect.Descriptor instead.
func (*SetPolicyParams) GetPolicy ¶
func (x *SetPolicyParams) GetPolicy() *Policy
func (*SetPolicyParams) ProtoMessage ¶
func (*SetPolicyParams) ProtoMessage()
func (*SetPolicyParams) ProtoReflect ¶
func (x *SetPolicyParams) ProtoReflect() protoreflect.Message
func (*SetPolicyParams) Reset ¶
func (x *SetPolicyParams) Reset()
func (*SetPolicyParams) String ¶
func (x *SetPolicyParams) String() string
type SetPolicyRequest ¶
type SetPolicyRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*SetPolicyRequest) Descriptor
deprecated
func (*SetPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPolicyRequest.ProtoReflect.Descriptor instead.
func (*SetPolicyRequest) GetEnvelope ¶
func (x *SetPolicyRequest) GetEnvelope() *Envelope
func (*SetPolicyRequest) ProtoMessage ¶
func (*SetPolicyRequest) ProtoMessage()
func (*SetPolicyRequest) ProtoReflect ¶
func (x *SetPolicyRequest) ProtoReflect() protoreflect.Message
func (*SetPolicyRequest) Reset ¶
func (x *SetPolicyRequest) Reset()
func (*SetPolicyRequest) String ¶
func (x *SetPolicyRequest) String() string
type SetPolicyResponse ¶
type SetPolicyResponse struct {
// contains filtered or unexported fields
}
func (*SetPolicyResponse) Descriptor
deprecated
func (*SetPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetPolicyResponse.ProtoReflect.Descriptor instead.
func (*SetPolicyResponse) ProtoMessage ¶
func (*SetPolicyResponse) ProtoMessage()
func (*SetPolicyResponse) ProtoReflect ¶
func (x *SetPolicyResponse) ProtoReflect() protoreflect.Message
func (*SetPolicyResponse) Reset ¶
func (x *SetPolicyResponse) Reset()
func (*SetPolicyResponse) String ¶
func (x *SetPolicyResponse) String() string
type SetRefProtectionParams ¶
type SetRefProtectionParams struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
// pattern is a full ref name under refs/, or such a prefix followed by "/*".
Pattern string `protobuf:"bytes,3,opt,name=pattern,proto3" json:"pattern,omitempty"`
// protected true protects, false lifts the protection. Idempotent.
Protected bool `protobuf:"varint,4,opt,name=protected,proto3" json:"protected,omitempty"`
// contains filtered or unexported fields
}
func (*SetRefProtectionParams) Descriptor
deprecated
func (*SetRefProtectionParams) Descriptor() ([]byte, []int)
Deprecated: Use SetRefProtectionParams.ProtoReflect.Descriptor instead.
func (*SetRefProtectionParams) GetOwner ¶
func (x *SetRefProtectionParams) GetOwner() string
func (*SetRefProtectionParams) GetPattern ¶
func (x *SetRefProtectionParams) GetPattern() string
func (*SetRefProtectionParams) GetProtected ¶
func (x *SetRefProtectionParams) GetProtected() bool
func (*SetRefProtectionParams) GetRepository ¶
func (x *SetRefProtectionParams) GetRepository() string
func (*SetRefProtectionParams) ProtoMessage ¶
func (*SetRefProtectionParams) ProtoMessage()
func (*SetRefProtectionParams) ProtoReflect ¶
func (x *SetRefProtectionParams) ProtoReflect() protoreflect.Message
func (*SetRefProtectionParams) Reset ¶
func (x *SetRefProtectionParams) Reset()
func (*SetRefProtectionParams) String ¶
func (x *SetRefProtectionParams) String() string
type SetRefProtectionRequest ¶
type SetRefProtectionRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*SetRefProtectionRequest) Descriptor
deprecated
func (*SetRefProtectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRefProtectionRequest.ProtoReflect.Descriptor instead.
func (*SetRefProtectionRequest) GetEnvelope ¶
func (x *SetRefProtectionRequest) GetEnvelope() *Envelope
func (*SetRefProtectionRequest) ProtoMessage ¶
func (*SetRefProtectionRequest) ProtoMessage()
func (*SetRefProtectionRequest) ProtoReflect ¶
func (x *SetRefProtectionRequest) ProtoReflect() protoreflect.Message
func (*SetRefProtectionRequest) Reset ¶
func (x *SetRefProtectionRequest) Reset()
func (*SetRefProtectionRequest) String ¶
func (x *SetRefProtectionRequest) String() string
type SetRefProtectionResponse ¶
type SetRefProtectionResponse struct {
// contains filtered or unexported fields
}
func (*SetRefProtectionResponse) Descriptor
deprecated
func (*SetRefProtectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetRefProtectionResponse.ProtoReflect.Descriptor instead.
func (*SetRefProtectionResponse) ProtoMessage ¶
func (*SetRefProtectionResponse) ProtoMessage()
func (*SetRefProtectionResponse) ProtoReflect ¶
func (x *SetRefProtectionResponse) ProtoReflect() protoreflect.Message
func (*SetRefProtectionResponse) Reset ¶
func (x *SetRefProtectionResponse) Reset()
func (*SetRefProtectionResponse) String ¶
func (x *SetRefProtectionResponse) String() string
type UnbindIdentityParams ¶
type UnbindIdentityParams struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
// contains filtered or unexported fields
}
func (*UnbindIdentityParams) Descriptor
deprecated
func (*UnbindIdentityParams) Descriptor() ([]byte, []int)
Deprecated: Use UnbindIdentityParams.ProtoReflect.Descriptor instead.
func (*UnbindIdentityParams) GetIssuer ¶
func (x *UnbindIdentityParams) GetIssuer() string
func (*UnbindIdentityParams) GetSubject ¶
func (x *UnbindIdentityParams) GetSubject() string
func (*UnbindIdentityParams) ProtoMessage ¶
func (*UnbindIdentityParams) ProtoMessage()
func (*UnbindIdentityParams) ProtoReflect ¶
func (x *UnbindIdentityParams) ProtoReflect() protoreflect.Message
func (*UnbindIdentityParams) Reset ¶
func (x *UnbindIdentityParams) Reset()
func (*UnbindIdentityParams) String ¶
func (x *UnbindIdentityParams) String() string
type UnbindIdentityRequest ¶
type UnbindIdentityRequest struct {
Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
// contains filtered or unexported fields
}
func (*UnbindIdentityRequest) Descriptor
deprecated
func (*UnbindIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnbindIdentityRequest.ProtoReflect.Descriptor instead.
func (*UnbindIdentityRequest) GetEnvelope ¶
func (x *UnbindIdentityRequest) GetEnvelope() *Envelope
func (*UnbindIdentityRequest) ProtoMessage ¶
func (*UnbindIdentityRequest) ProtoMessage()
func (*UnbindIdentityRequest) ProtoReflect ¶
func (x *UnbindIdentityRequest) ProtoReflect() protoreflect.Message
func (*UnbindIdentityRequest) Reset ¶
func (x *UnbindIdentityRequest) Reset()
func (*UnbindIdentityRequest) String ¶
func (x *UnbindIdentityRequest) String() string
type UnbindIdentityResponse ¶
type UnbindIdentityResponse struct {
// contains filtered or unexported fields
}
func (*UnbindIdentityResponse) Descriptor
deprecated
func (*UnbindIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnbindIdentityResponse.ProtoReflect.Descriptor instead.
func (*UnbindIdentityResponse) ProtoMessage ¶
func (*UnbindIdentityResponse) ProtoMessage()
func (*UnbindIdentityResponse) ProtoReflect ¶
func (x *UnbindIdentityResponse) ProtoReflect() protoreflect.Message
func (*UnbindIdentityResponse) Reset ¶
func (x *UnbindIdentityResponse) Reset()
func (*UnbindIdentityResponse) String ¶
func (x *UnbindIdentityResponse) String() string
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct{}
UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAdminServiceServer) AddSSHKey ¶
func (UnimplementedAdminServiceServer) AddSSHKey(context.Context, *AddSSHKeyRequest) (*AddSSHKeyResponse, error)
func (UnimplementedAdminServiceServer) BindIdentity ¶
func (UnimplementedAdminServiceServer) BindIdentity(context.Context, *BindIdentityRequest) (*BindIdentityResponse, error)
func (UnimplementedAdminServiceServer) CreateUser ¶
func (UnimplementedAdminServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedAdminServiceServer) DisableUser ¶
func (UnimplementedAdminServiceServer) DisableUser(context.Context, *DisableUserRequest) (*DisableUserResponse, error)
func (UnimplementedAdminServiceServer) GetNonce ¶
func (UnimplementedAdminServiceServer) GetNonce(context.Context, *GetNonceRequest) (*GetNonceResponse, error)
func (UnimplementedAdminServiceServer) GetOIDCClient ¶
func (UnimplementedAdminServiceServer) GetOIDCClient(context.Context, *GetOIDCClientRequest) (*GetOIDCClientResponse, error)
func (UnimplementedAdminServiceServer) GetPolicy ¶
func (UnimplementedAdminServiceServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
func (UnimplementedAdminServiceServer) GetRepoAccess ¶
func (UnimplementedAdminServiceServer) GetRepoAccess(context.Context, *GetRepoAccessRequest) (*GetRepoAccessResponse, error)
func (UnimplementedAdminServiceServer) ListAdminCredentials ¶
func (UnimplementedAdminServiceServer) ListAdminCredentials(context.Context, *ListAdminCredentialsRequest) (*ListAdminCredentialsResponse, error)
func (UnimplementedAdminServiceServer) ListIdentities ¶
func (UnimplementedAdminServiceServer) ListIdentities(context.Context, *ListIdentitiesRequest) (*ListIdentitiesResponse, error)
func (UnimplementedAdminServiceServer) ListSSHKeys ¶
func (UnimplementedAdminServiceServer) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
func (UnimplementedAdminServiceServer) ListUsers ¶
func (UnimplementedAdminServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedAdminServiceServer) OpenSession ¶
func (UnimplementedAdminServiceServer) OpenSession(context.Context, *OpenSessionRequest) (*OpenSessionResponse, error)
func (UnimplementedAdminServiceServer) RemoveSSHKey ¶
func (UnimplementedAdminServiceServer) RemoveSSHKey(context.Context, *RemoveSSHKeyRequest) (*RemoveSSHKeyResponse, error)
func (UnimplementedAdminServiceServer) RevokeAdminCredential ¶
func (UnimplementedAdminServiceServer) RevokeAdminCredential(context.Context, *RevokeAdminCredentialRequest) (*RevokeAdminCredentialResponse, error)
func (UnimplementedAdminServiceServer) SetCollaborator ¶
func (UnimplementedAdminServiceServer) SetCollaborator(context.Context, *SetCollaboratorRequest) (*SetCollaboratorResponse, error)
func (UnimplementedAdminServiceServer) SetOIDCClient ¶
func (UnimplementedAdminServiceServer) SetOIDCClient(context.Context, *SetOIDCClientRequest) (*SetOIDCClientResponse, error)
func (UnimplementedAdminServiceServer) SetPolicy ¶
func (UnimplementedAdminServiceServer) SetPolicy(context.Context, *SetPolicyRequest) (*SetPolicyResponse, error)
func (UnimplementedAdminServiceServer) SetRefProtection ¶
func (UnimplementedAdminServiceServer) SetRefProtection(context.Context, *SetRefProtectionRequest) (*SetRefProtectionResponse, error)
func (UnimplementedAdminServiceServer) UnbindIdentity ¶
func (UnimplementedAdminServiceServer) UnbindIdentity(context.Context, *UnbindIdentityRequest) (*UnbindIdentityResponse, error)
type UnimplementedEnrolServiceServer ¶
type UnimplementedEnrolServiceServer struct{}
UnimplementedEnrolServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEnrolServiceServer) BeginEnrol ¶
func (UnimplementedEnrolServiceServer) BeginEnrol(context.Context, *BeginEnrolRequest) (*BeginEnrolResponse, error)
func (UnimplementedEnrolServiceServer) FinishEnrol ¶
func (UnimplementedEnrolServiceServer) FinishEnrol(context.Context, *FinishEnrolRequest) (*FinishEnrolResponse, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type UnsafeEnrolServiceServer ¶
type UnsafeEnrolServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEnrolServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnrolServiceServer will result in compilation errors.
type User ¶
type User struct {
Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// disabled_at is unset while the user is enabled.
DisabledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=disabled_at,json=disabledAt,proto3" json:"disabled_at,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetDisabledAt ¶
func (x *User) GetDisabledAt() *timestamppb.Timestamp
func (*User) GetDisplayName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message