Documentation ¶
Overview ¶
Package auth is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterApiTokenManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterApiTokenManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApiTokenManagerClient) error
- func RegisterApiTokenManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterApiTokenManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApiTokenManagerServer) error
- func RegisterApiTokenManagerServer(s grpc.ServiceRegistrar, srv ApiTokenManagerServer)
- func RegisterAuthManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthManagerClient) error
- func RegisterAuthManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthManagerServer) error
- func RegisterAuthManagerServer(s grpc.ServiceRegistrar, srv AuthManagerServer)
- func RegisterAuthSessionManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthSessionManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthSessionManagerClient) error
- func RegisterAuthSessionManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthSessionManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthSessionManagerServer) error
- func RegisterAuthSessionManagerServer(s grpc.ServiceRegistrar, srv AuthSessionManagerServer)
- type ApiTokenInfo
- func (*ApiTokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ApiTokenInfo) GetCreationTimestamp() *timestamppb.Timestamp
- func (x *ApiTokenInfo) GetDescription() string
- func (x *ApiTokenInfo) GetExpiresTimestamp() *timestamppb.Timestamp
- func (x *ApiTokenInfo) GetName() string
- func (*ApiTokenInfo) ProtoMessage()
- func (x *ApiTokenInfo) ProtoReflect() protoreflect.Message
- func (x *ApiTokenInfo) Reset()
- func (x *ApiTokenInfo) String() string
- func (m *ApiTokenInfo) Validate() error
- func (m *ApiTokenInfo) ValidateAll() error
- type ApiTokenInfoMultiError
- type ApiTokenInfoValidationError
- func (e ApiTokenInfoValidationError) Cause() error
- func (e ApiTokenInfoValidationError) Error() string
- func (e ApiTokenInfoValidationError) ErrorName() string
- func (e ApiTokenInfoValidationError) Field() string
- func (e ApiTokenInfoValidationError) Key() bool
- func (e ApiTokenInfoValidationError) Reason() string
- type ApiTokenManagerClient
- type ApiTokenManagerServer
- type AuthContext
- func (*AuthContext) Descriptor() ([]byte, []int)deprecated
- func (x *AuthContext) GetAddr() string
- func (x *AuthContext) GetApiToken() string
- func (x *AuthContext) GetAuthToken() *AuthToken
- func (*AuthContext) ProtoMessage()
- func (x *AuthContext) ProtoReflect() protoreflect.Message
- func (x *AuthContext) Reset()
- func (x *AuthContext) String() string
- func (m *AuthContext) Validate() error
- func (m *AuthContext) ValidateAll() error
- type AuthContextMultiError
- type AuthContextValidationError
- func (e AuthContextValidationError) Cause() error
- func (e AuthContextValidationError) Error() string
- func (e AuthContextValidationError) ErrorName() string
- func (e AuthContextValidationError) Field() string
- func (e AuthContextValidationError) Key() bool
- func (e AuthContextValidationError) Reason() string
- type AuthManagerClient
- type AuthManagerServer
- type AuthManager_CliAuthClient
- type AuthManager_CliAuthServer
- type AuthSessionManagerClient
- type AuthSessionManagerServer
- type AuthToken
- func (*AuthToken) Descriptor() ([]byte, []int)deprecated
- func (x *AuthToken) GetToken() string
- func (*AuthToken) ProtoMessage()
- func (x *AuthToken) ProtoReflect() protoreflect.Message
- func (x *AuthToken) Reset()
- func (x *AuthToken) String() string
- func (m *AuthToken) Validate() error
- func (m *AuthToken) ValidateAll() error
- type AuthTokenMultiError
- type AuthTokenValidationError
- type CliAuthReq
- type CliAuthReqMultiError
- type CliAuthReqValidationError
- type CliAuthResp
- func (*CliAuthResp) Descriptor() ([]byte, []int)deprecated
- func (m *CliAuthResp) GetRespOneof() isCliAuthResp_RespOneof
- func (x *CliAuthResp) GetToken() *AuthToken
- func (x *CliAuthResp) GetUserPrompt() *CliAuthResp_UserPrompt
- func (*CliAuthResp) ProtoMessage()
- func (x *CliAuthResp) ProtoReflect() protoreflect.Message
- func (x *CliAuthResp) Reset()
- func (x *CliAuthResp) String() string
- func (m *CliAuthResp) Validate() error
- func (m *CliAuthResp) ValidateAll() error
- type CliAuthRespMultiError
- type CliAuthRespValidationError
- func (e CliAuthRespValidationError) Cause() error
- func (e CliAuthRespValidationError) Error() string
- func (e CliAuthRespValidationError) ErrorName() string
- func (e CliAuthRespValidationError) Field() string
- func (e CliAuthRespValidationError) Key() bool
- func (e CliAuthRespValidationError) Reason() string
- type CliAuthResp_Token
- type CliAuthResp_UserPrompt
- func (*CliAuthResp_UserPrompt) Descriptor() ([]byte, []int)deprecated
- func (x *CliAuthResp_UserPrompt) GetUserCode() string
- func (x *CliAuthResp_UserPrompt) GetVerificationUri() string
- func (x *CliAuthResp_UserPrompt) GetVerificationUriComplete() string
- func (*CliAuthResp_UserPrompt) ProtoMessage()
- func (x *CliAuthResp_UserPrompt) ProtoReflect() protoreflect.Message
- func (x *CliAuthResp_UserPrompt) Reset()
- func (x *CliAuthResp_UserPrompt) String() string
- func (m *CliAuthResp_UserPrompt) Validate() error
- func (m *CliAuthResp_UserPrompt) ValidateAll() error
- type CliAuthResp_UserPromptMultiError
- type CliAuthResp_UserPromptValidationError
- func (e CliAuthResp_UserPromptValidationError) Cause() error
- func (e CliAuthResp_UserPromptValidationError) Error() string
- func (e CliAuthResp_UserPromptValidationError) ErrorName() string
- func (e CliAuthResp_UserPromptValidationError) Field() string
- func (e CliAuthResp_UserPromptValidationError) Key() bool
- func (e CliAuthResp_UserPromptValidationError) Reason() string
- type CliAuthResp_UserPrompt_
- type CreateOrgApiTokenReq
- func (*CreateOrgApiTokenReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrgApiTokenReq) GetDescription() string
- func (x *CreateOrgApiTokenReq) GetExpiresTimestamp() *timestamppb.Timestamp
- func (x *CreateOrgApiTokenReq) GetName() string
- func (*CreateOrgApiTokenReq) ProtoMessage()
- func (x *CreateOrgApiTokenReq) ProtoReflect() protoreflect.Message
- func (x *CreateOrgApiTokenReq) Reset()
- func (x *CreateOrgApiTokenReq) String() string
- func (m *CreateOrgApiTokenReq) Validate() error
- func (m *CreateOrgApiTokenReq) ValidateAll() error
- type CreateOrgApiTokenReqMultiError
- type CreateOrgApiTokenReqValidationError
- func (e CreateOrgApiTokenReqValidationError) Cause() error
- func (e CreateOrgApiTokenReqValidationError) Error() string
- func (e CreateOrgApiTokenReqValidationError) ErrorName() string
- func (e CreateOrgApiTokenReqValidationError) Field() string
- func (e CreateOrgApiTokenReqValidationError) Key() bool
- func (e CreateOrgApiTokenReqValidationError) Reason() string
- type CreateOrgApiTokenResp
- func (*CreateOrgApiTokenResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrgApiTokenResp) GetApiToken() string
- func (x *CreateOrgApiTokenResp) GetInfo() *ApiTokenInfo
- func (*CreateOrgApiTokenResp) ProtoMessage()
- func (x *CreateOrgApiTokenResp) ProtoReflect() protoreflect.Message
- func (x *CreateOrgApiTokenResp) Reset()
- func (x *CreateOrgApiTokenResp) String() string
- func (m *CreateOrgApiTokenResp) Validate() error
- func (m *CreateOrgApiTokenResp) ValidateAll() error
- type CreateOrgApiTokenRespMultiError
- type CreateOrgApiTokenRespValidationError
- func (e CreateOrgApiTokenRespValidationError) Cause() error
- func (e CreateOrgApiTokenRespValidationError) Error() string
- func (e CreateOrgApiTokenRespValidationError) ErrorName() string
- func (e CreateOrgApiTokenRespValidationError) Field() string
- func (e CreateOrgApiTokenRespValidationError) Key() bool
- func (e CreateOrgApiTokenRespValidationError) Reason() string
- type DeleteOrgApiTokenReq
- func (*DeleteOrgApiTokenReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrgApiTokenReq) GetName() string
- func (*DeleteOrgApiTokenReq) ProtoMessage()
- func (x *DeleteOrgApiTokenReq) ProtoReflect() protoreflect.Message
- func (x *DeleteOrgApiTokenReq) Reset()
- func (x *DeleteOrgApiTokenReq) String() string
- func (m *DeleteOrgApiTokenReq) Validate() error
- func (m *DeleteOrgApiTokenReq) ValidateAll() error
- type DeleteOrgApiTokenReqMultiError
- type DeleteOrgApiTokenReqValidationError
- func (e DeleteOrgApiTokenReqValidationError) Cause() error
- func (e DeleteOrgApiTokenReqValidationError) Error() string
- func (e DeleteOrgApiTokenReqValidationError) ErrorName() string
- func (e DeleteOrgApiTokenReqValidationError) Field() string
- func (e DeleteOrgApiTokenReqValidationError) Key() bool
- func (e DeleteOrgApiTokenReqValidationError) Reason() string
- type DeleteOrgApiTokenResp
- func (*DeleteOrgApiTokenResp) Descriptor() ([]byte, []int)deprecated
- func (*DeleteOrgApiTokenResp) ProtoMessage()
- func (x *DeleteOrgApiTokenResp) ProtoReflect() protoreflect.Message
- func (x *DeleteOrgApiTokenResp) Reset()
- func (x *DeleteOrgApiTokenResp) String() string
- func (m *DeleteOrgApiTokenResp) Validate() error
- func (m *DeleteOrgApiTokenResp) ValidateAll() error
- type DeleteOrgApiTokenRespMultiError
- type DeleteOrgApiTokenRespValidationError
- func (e DeleteOrgApiTokenRespValidationError) Cause() error
- func (e DeleteOrgApiTokenRespValidationError) Error() string
- func (e DeleteOrgApiTokenRespValidationError) ErrorName() string
- func (e DeleteOrgApiTokenRespValidationError) Field() string
- func (e DeleteOrgApiTokenRespValidationError) Key() bool
- func (e DeleteOrgApiTokenRespValidationError) Reason() string
- type Empty
- type EmptyMultiError
- type EmptyValidationError
- type GetAuthTokenResp
- func (*GetAuthTokenResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthTokenResp) GetToken() *AuthToken
- func (x *GetAuthTokenResp) GetUser() *users.User
- func (*GetAuthTokenResp) ProtoMessage()
- func (x *GetAuthTokenResp) ProtoReflect() protoreflect.Message
- func (x *GetAuthTokenResp) Reset()
- func (x *GetAuthTokenResp) String() string
- func (m *GetAuthTokenResp) Validate() error
- func (m *GetAuthTokenResp) ValidateAll() error
- type GetAuthTokenRespMultiError
- type GetAuthTokenRespValidationError
- func (e GetAuthTokenRespValidationError) Cause() error
- func (e GetAuthTokenRespValidationError) Error() string
- func (e GetAuthTokenRespValidationError) ErrorName() string
- func (e GetAuthTokenRespValidationError) Field() string
- func (e GetAuthTokenRespValidationError) Key() bool
- func (e GetAuthTokenRespValidationError) Reason() string
- type GetAuthUrlRequest
- func (*GetAuthUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthUrlRequest) GetForCli() bool
- func (x *GetAuthUrlRequest) GetInvitation() string
- func (x *GetAuthUrlRequest) GetProdvanaOnlyAdminOrg() bool
- func (x *GetAuthUrlRequest) GetState() string
- func (*GetAuthUrlRequest) ProtoMessage()
- func (x *GetAuthUrlRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthUrlRequest) Reset()
- func (x *GetAuthUrlRequest) String() string
- func (m *GetAuthUrlRequest) Validate() error
- func (m *GetAuthUrlRequest) ValidateAll() error
- type GetAuthUrlRequestMultiError
- type GetAuthUrlRequestValidationError
- func (e GetAuthUrlRequestValidationError) Cause() error
- func (e GetAuthUrlRequestValidationError) Error() string
- func (e GetAuthUrlRequestValidationError) ErrorName() string
- func (e GetAuthUrlRequestValidationError) Field() string
- func (e GetAuthUrlRequestValidationError) Key() bool
- func (e GetAuthUrlRequestValidationError) Reason() string
- type GetAuthUrlResponse
- func (*GetAuthUrlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthUrlResponse) GetAuthUrl() string
- func (*GetAuthUrlResponse) ProtoMessage()
- func (x *GetAuthUrlResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthUrlResponse) Reset()
- func (x *GetAuthUrlResponse) String() string
- func (m *GetAuthUrlResponse) Validate() error
- func (m *GetAuthUrlResponse) ValidateAll() error
- type GetAuthUrlResponseMultiError
- type GetAuthUrlResponseValidationError
- func (e GetAuthUrlResponseValidationError) Cause() error
- func (e GetAuthUrlResponseValidationError) Error() string
- func (e GetAuthUrlResponseValidationError) ErrorName() string
- func (e GetAuthUrlResponseValidationError) Field() string
- func (e GetAuthUrlResponseValidationError) Key() bool
- func (e GetAuthUrlResponseValidationError) Reason() string
- type GetTokenRequest
- func (*GetTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenRequest) GetCode() string
- func (x *GetTokenRequest) GetForCli() bool
- func (x *GetTokenRequest) GetProdvanaOnlyAdminOrg() bool
- func (x *GetTokenRequest) GetRedirectUrl() string
- func (*GetTokenRequest) ProtoMessage()
- func (x *GetTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetTokenRequest) Reset()
- func (x *GetTokenRequest) String() string
- func (m *GetTokenRequest) Validate() error
- func (m *GetTokenRequest) ValidateAll() error
- type GetTokenRequestMultiError
- type GetTokenRequestValidationError
- func (e GetTokenRequestValidationError) Cause() error
- func (e GetTokenRequestValidationError) Error() string
- func (e GetTokenRequestValidationError) ErrorName() string
- func (e GetTokenRequestValidationError) Field() string
- func (e GetTokenRequestValidationError) Key() bool
- func (e GetTokenRequestValidationError) Reason() string
- type ListOrgApiTokensReq
- func (*ListOrgApiTokensReq) Descriptor() ([]byte, []int)deprecated
- func (*ListOrgApiTokensReq) ProtoMessage()
- func (x *ListOrgApiTokensReq) ProtoReflect() protoreflect.Message
- func (x *ListOrgApiTokensReq) Reset()
- func (x *ListOrgApiTokensReq) String() string
- func (m *ListOrgApiTokensReq) Validate() error
- func (m *ListOrgApiTokensReq) ValidateAll() error
- type ListOrgApiTokensReqMultiError
- type ListOrgApiTokensReqValidationError
- func (e ListOrgApiTokensReqValidationError) Cause() error
- func (e ListOrgApiTokensReqValidationError) Error() string
- func (e ListOrgApiTokensReqValidationError) ErrorName() string
- func (e ListOrgApiTokensReqValidationError) Field() string
- func (e ListOrgApiTokensReqValidationError) Key() bool
- func (e ListOrgApiTokensReqValidationError) Reason() string
- type ListOrgApiTokensResp
- func (*ListOrgApiTokensResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgApiTokensResp) GetTokens() []*ApiTokenInfo
- func (*ListOrgApiTokensResp) ProtoMessage()
- func (x *ListOrgApiTokensResp) ProtoReflect() protoreflect.Message
- func (x *ListOrgApiTokensResp) Reset()
- func (x *ListOrgApiTokensResp) String() string
- func (m *ListOrgApiTokensResp) Validate() error
- func (m *ListOrgApiTokensResp) ValidateAll() error
- type ListOrgApiTokensRespMultiError
- type ListOrgApiTokensRespValidationError
- func (e ListOrgApiTokensRespValidationError) Cause() error
- func (e ListOrgApiTokensRespValidationError) Error() string
- func (e ListOrgApiTokensRespValidationError) ErrorName() string
- func (e ListOrgApiTokensRespValidationError) Field() string
- func (e ListOrgApiTokensRespValidationError) Key() bool
- func (e ListOrgApiTokensRespValidationError) Reason() string
- type LogoutReq
- func (*LogoutReq) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutReq) GetForCli() bool
- func (x *LogoutReq) GetProdvanaOnlyAdminOrg() bool
- func (x *LogoutReq) GetRedirectUrl() string
- func (*LogoutReq) ProtoMessage()
- func (x *LogoutReq) ProtoReflect() protoreflect.Message
- func (x *LogoutReq) Reset()
- func (x *LogoutReq) String() string
- func (m *LogoutReq) Validate() error
- func (m *LogoutReq) ValidateAll() error
- type LogoutReqMultiError
- type LogoutReqValidationError
- type LogoutResp
- func (*LogoutResp) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutResp) GetLogoutUrl() string
- func (*LogoutResp) ProtoMessage()
- func (x *LogoutResp) ProtoReflect() protoreflect.Message
- func (x *LogoutResp) Reset()
- func (x *LogoutResp) String() string
- func (m *LogoutResp) Validate() error
- func (m *LogoutResp) ValidateAll() error
- type LogoutRespMultiError
- type LogoutRespValidationError
- type RefreshTokenReq
- func (*RefreshTokenReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenReq) GetForCli() bool
- func (x *RefreshTokenReq) GetProdvanaOnlyAdminOrg() bool
- func (x *RefreshTokenReq) GetToken() *AuthToken
- func (*RefreshTokenReq) ProtoMessage()
- func (x *RefreshTokenReq) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenReq) Reset()
- func (x *RefreshTokenReq) String() string
- func (m *RefreshTokenReq) Validate() error
- func (m *RefreshTokenReq) ValidateAll() error
- type RefreshTokenReqMultiError
- type RefreshTokenReqValidationError
- func (e RefreshTokenReqValidationError) Cause() error
- func (e RefreshTokenReqValidationError) Error() string
- func (e RefreshTokenReqValidationError) ErrorName() string
- func (e RefreshTokenReqValidationError) Field() string
- func (e RefreshTokenReqValidationError) Key() bool
- func (e RefreshTokenReqValidationError) Reason() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAdminContexts() map[string]*AuthContext
- func (x *Session) GetContexts() map[string]*AuthContext
- func (x *Session) GetCurrentAdminContext() string
- func (x *Session) GetCurrentContext() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- func (m *Session) Validate() error
- func (m *Session) ValidateAll() error
- type SessionMultiError
- type SessionValidationError
- type UnimplementedApiTokenManagerServer
- func (UnimplementedApiTokenManagerServer) CreateOrgApiToken(context.Context, *Empty) (*CreateOrgApiTokenResp, error)
- func (UnimplementedApiTokenManagerServer) CreateOrgApiToken2(context.Context, *CreateOrgApiTokenReq) (*CreateOrgApiTokenResp, error)
- func (UnimplementedApiTokenManagerServer) DeleteOrgApiToken(context.Context, *DeleteOrgApiTokenReq) (*DeleteOrgApiTokenResp, error)
- func (UnimplementedApiTokenManagerServer) ListOrgApiTokens(context.Context, *ListOrgApiTokensReq) (*ListOrgApiTokensResp, error)
- type UnimplementedAuthManagerServer
- func (UnimplementedAuthManagerServer) CliAuth(*CliAuthReq, AuthManager_CliAuthServer) error
- func (UnimplementedAuthManagerServer) GetAuthToken(context.Context, *GetTokenRequest) (*GetAuthTokenResp, error)
- func (UnimplementedAuthManagerServer) GetAuthUrl(context.Context, *GetAuthUrlRequest) (*GetAuthUrlResponse, error)
- func (UnimplementedAuthManagerServer) RefreshToken(context.Context, *RefreshTokenReq) (*GetAuthTokenResp, error)
- type UnimplementedAuthSessionManagerServer
- type UnsafeApiTokenManagerServer
- type UnsafeAuthManagerServer
- type UnsafeAuthSessionManagerServer
Constants ¶
const ( AuthManager_GetAuthToken_FullMethodName = "/prodvana.auth.AuthManager/GetAuthToken" AuthManager_GetAuthUrl_FullMethodName = "/prodvana.auth.AuthManager/GetAuthUrl" AuthManager_RefreshToken_FullMethodName = "/prodvana.auth.AuthManager/RefreshToken" AuthManager_CliAuth_FullMethodName = "/prodvana.auth.AuthManager/CliAuth" )
const ( AuthSessionManager_Check_FullMethodName = "/prodvana.auth.AuthSessionManager/Check" AuthSessionManager_Logout_FullMethodName = "/prodvana.auth.AuthSessionManager/Logout" )
const ( ApiTokenManager_CreateOrgApiToken_FullMethodName = "/prodvana.auth.ApiTokenManager/CreateOrgApiToken" ApiTokenManager_CreateOrgApiToken2_FullMethodName = "/prodvana.auth.ApiTokenManager/CreateOrgApiToken2" ApiTokenManager_DeleteOrgApiToken_FullMethodName = "/prodvana.auth.ApiTokenManager/DeleteOrgApiToken" ApiTokenManager_ListOrgApiTokens_FullMethodName = "/prodvana.auth.ApiTokenManager/ListOrgApiTokens" )
Variables ¶
var ApiTokenManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "prodvana.auth.ApiTokenManager", HandlerType: (*ApiTokenManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrgApiToken", Handler: _ApiTokenManager_CreateOrgApiToken_Handler, }, { MethodName: "CreateOrgApiToken2", Handler: _ApiTokenManager_CreateOrgApiToken2_Handler, }, { MethodName: "DeleteOrgApiToken", Handler: _ApiTokenManager_DeleteOrgApiToken_Handler, }, { MethodName: "ListOrgApiTokens", Handler: _ApiTokenManager_ListOrgApiTokens_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "prodvana/auth/auth_manager.proto", }
ApiTokenManager_ServiceDesc is the grpc.ServiceDesc for ApiTokenManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "prodvana.auth.AuthManager", HandlerType: (*AuthManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthToken", Handler: _AuthManager_GetAuthToken_Handler, }, { MethodName: "GetAuthUrl", Handler: _AuthManager_GetAuthUrl_Handler, }, { MethodName: "RefreshToken", Handler: _AuthManager_RefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CliAuth", Handler: _AuthManager_CliAuth_Handler, ServerStreams: true, }, }, Metadata: "prodvana/auth/auth_manager.proto", }
AuthManager_ServiceDesc is the grpc.ServiceDesc for AuthManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthSessionManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "prodvana.auth.AuthSessionManager", HandlerType: (*AuthSessionManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _AuthSessionManager_Check_Handler, }, { MethodName: "Logout", Handler: _AuthSessionManager_Logout_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "prodvana/auth/auth_manager.proto", }
AuthSessionManager_ServiceDesc is the grpc.ServiceDesc for AuthSessionManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_prodvana_auth_auth_manager_proto protoreflect.FileDescriptor
var File_prodvana_auth_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApiTokenManagerHandler ¶
func RegisterApiTokenManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterApiTokenManagerHandler registers the http handlers for service ApiTokenManager to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterApiTokenManagerHandlerClient ¶
func RegisterApiTokenManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApiTokenManagerClient) error
RegisterApiTokenManagerHandlerClient registers the http handlers for service ApiTokenManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApiTokenManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApiTokenManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApiTokenManagerClient" to call the correct interceptors.
func RegisterApiTokenManagerHandlerFromEndpoint ¶
func RegisterApiTokenManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterApiTokenManagerHandlerFromEndpoint is same as RegisterApiTokenManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterApiTokenManagerHandlerServer ¶
func RegisterApiTokenManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApiTokenManagerServer) error
RegisterApiTokenManagerHandlerServer registers the http handlers for service ApiTokenManager to "mux". UnaryRPC :call ApiTokenManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterApiTokenManagerHandlerFromEndpoint instead.
func RegisterApiTokenManagerServer ¶
func RegisterApiTokenManagerServer(s grpc.ServiceRegistrar, srv ApiTokenManagerServer)
func RegisterAuthManagerHandler ¶
func RegisterAuthManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthManagerHandler registers the http handlers for service AuthManager to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthManagerHandlerClient ¶
func RegisterAuthManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthManagerClient) error
RegisterAuthManagerHandlerClient registers the http handlers for service AuthManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthManagerClient" to call the correct interceptors.
func RegisterAuthManagerHandlerFromEndpoint ¶
func RegisterAuthManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthManagerHandlerFromEndpoint is same as RegisterAuthManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthManagerHandlerServer ¶
func RegisterAuthManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthManagerServer) error
RegisterAuthManagerHandlerServer registers the http handlers for service AuthManager to "mux". UnaryRPC :call AuthManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthManagerHandlerFromEndpoint instead.
func RegisterAuthManagerServer ¶
func RegisterAuthManagerServer(s grpc.ServiceRegistrar, srv AuthManagerServer)
func RegisterAuthSessionManagerHandler ¶
func RegisterAuthSessionManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthSessionManagerHandler registers the http handlers for service AuthSessionManager to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthSessionManagerHandlerClient ¶
func RegisterAuthSessionManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthSessionManagerClient) error
RegisterAuthSessionManagerHandlerClient registers the http handlers for service AuthSessionManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthSessionManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthSessionManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthSessionManagerClient" to call the correct interceptors.
func RegisterAuthSessionManagerHandlerFromEndpoint ¶
func RegisterAuthSessionManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthSessionManagerHandlerFromEndpoint is same as RegisterAuthSessionManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthSessionManagerHandlerServer ¶
func RegisterAuthSessionManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthSessionManagerServer) error
RegisterAuthSessionManagerHandlerServer registers the http handlers for service AuthSessionManager to "mux". UnaryRPC :call AuthSessionManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthSessionManagerHandlerFromEndpoint instead.
func RegisterAuthSessionManagerServer ¶
func RegisterAuthSessionManagerServer(s grpc.ServiceRegistrar, srv AuthSessionManagerServer)
Types ¶
type ApiTokenInfo ¶
type ApiTokenInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ExpiresTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_timestamp,json=expiresTimestamp,proto3" json:"expires_timestamp,omitempty"` CreationTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_timestamp,json=creationTimestamp,proto3" json:"creation_timestamp,omitempty"` // contains filtered or unexported fields }
func (*ApiTokenInfo) Descriptor
deprecated
func (*ApiTokenInfo) Descriptor() ([]byte, []int)
Deprecated: Use ApiTokenInfo.ProtoReflect.Descriptor instead.
func (*ApiTokenInfo) GetCreationTimestamp ¶
func (x *ApiTokenInfo) GetCreationTimestamp() *timestamppb.Timestamp
func (*ApiTokenInfo) GetDescription ¶
func (x *ApiTokenInfo) GetDescription() string
func (*ApiTokenInfo) GetExpiresTimestamp ¶
func (x *ApiTokenInfo) GetExpiresTimestamp() *timestamppb.Timestamp
func (*ApiTokenInfo) GetName ¶
func (x *ApiTokenInfo) GetName() string
func (*ApiTokenInfo) ProtoMessage ¶
func (*ApiTokenInfo) ProtoMessage()
func (*ApiTokenInfo) ProtoReflect ¶
func (x *ApiTokenInfo) ProtoReflect() protoreflect.Message
func (*ApiTokenInfo) Reset ¶
func (x *ApiTokenInfo) Reset()
func (*ApiTokenInfo) String ¶
func (x *ApiTokenInfo) String() string
func (*ApiTokenInfo) Validate ¶
func (m *ApiTokenInfo) Validate() error
Validate checks the field values on ApiTokenInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApiTokenInfo) ValidateAll ¶
func (m *ApiTokenInfo) ValidateAll() error
ValidateAll checks the field values on ApiTokenInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApiTokenInfoMultiError, or nil if none found.
type ApiTokenInfoMultiError ¶
type ApiTokenInfoMultiError []error
ApiTokenInfoMultiError is an error wrapping multiple validation errors returned by ApiTokenInfo.ValidateAll() if the designated constraints aren't met.
func (ApiTokenInfoMultiError) AllErrors ¶
func (m ApiTokenInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApiTokenInfoMultiError) Error ¶
func (m ApiTokenInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApiTokenInfoValidationError ¶
type ApiTokenInfoValidationError struct {
// contains filtered or unexported fields
}
ApiTokenInfoValidationError is the validation error returned by ApiTokenInfo.Validate if the designated constraints aren't met.
func (ApiTokenInfoValidationError) Cause ¶
func (e ApiTokenInfoValidationError) Cause() error
Cause function returns cause value.
func (ApiTokenInfoValidationError) Error ¶
func (e ApiTokenInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ApiTokenInfoValidationError) ErrorName ¶
func (e ApiTokenInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ApiTokenInfoValidationError) Field ¶
func (e ApiTokenInfoValidationError) Field() string
Field function returns field value.
func (ApiTokenInfoValidationError) Key ¶
func (e ApiTokenInfoValidationError) Key() bool
Key function returns key value.
func (ApiTokenInfoValidationError) Reason ¶
func (e ApiTokenInfoValidationError) Reason() string
Reason function returns reason value.
type ApiTokenManagerClient ¶
type ApiTokenManagerClient interface { // Create an api token tied to the organization. This api token is not tied to the user in anyway, // e.g. if the user is deleted, the token will continue to have access to the organization. // This token currently does not expire, so be very careful with storing them. CreateOrgApiToken(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CreateOrgApiTokenResp, error) CreateOrgApiToken2(ctx context.Context, in *CreateOrgApiTokenReq, opts ...grpc.CallOption) (*CreateOrgApiTokenResp, error) DeleteOrgApiToken(ctx context.Context, in *DeleteOrgApiTokenReq, opts ...grpc.CallOption) (*DeleteOrgApiTokenResp, error) ListOrgApiTokens(ctx context.Context, in *ListOrgApiTokensReq, opts ...grpc.CallOption) (*ListOrgApiTokensResp, error) }
ApiTokenManagerClient is the client API for ApiTokenManager 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.
func NewApiTokenManagerClient ¶
func NewApiTokenManagerClient(cc grpc.ClientConnInterface) ApiTokenManagerClient
type ApiTokenManagerServer ¶
type ApiTokenManagerServer interface { // Create an api token tied to the organization. This api token is not tied to the user in anyway, // e.g. if the user is deleted, the token will continue to have access to the organization. // This token currently does not expire, so be very careful with storing them. CreateOrgApiToken(context.Context, *Empty) (*CreateOrgApiTokenResp, error) CreateOrgApiToken2(context.Context, *CreateOrgApiTokenReq) (*CreateOrgApiTokenResp, error) DeleteOrgApiToken(context.Context, *DeleteOrgApiTokenReq) (*DeleteOrgApiTokenResp, error) ListOrgApiTokens(context.Context, *ListOrgApiTokensReq) (*ListOrgApiTokensResp, error) // contains filtered or unexported methods }
ApiTokenManagerServer is the server API for ApiTokenManager service. All implementations must embed UnimplementedApiTokenManagerServer for forward compatibility
type AuthContext ¶
type AuthContext struct { AuthToken *AuthToken `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` ApiToken string `protobuf:"bytes,2,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
func (*AuthContext) Descriptor
deprecated
func (*AuthContext) Descriptor() ([]byte, []int)
Deprecated: Use AuthContext.ProtoReflect.Descriptor instead.
func (*AuthContext) GetAddr ¶
func (x *AuthContext) GetAddr() string
func (*AuthContext) GetApiToken ¶
func (x *AuthContext) GetApiToken() string
func (*AuthContext) GetAuthToken ¶
func (x *AuthContext) GetAuthToken() *AuthToken
func (*AuthContext) ProtoMessage ¶
func (*AuthContext) ProtoMessage()
func (*AuthContext) ProtoReflect ¶
func (x *AuthContext) ProtoReflect() protoreflect.Message
func (*AuthContext) Reset ¶
func (x *AuthContext) Reset()
func (*AuthContext) String ¶
func (x *AuthContext) String() string
func (*AuthContext) Validate ¶
func (m *AuthContext) Validate() error
Validate checks the field values on AuthContext with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthContext) ValidateAll ¶
func (m *AuthContext) ValidateAll() error
ValidateAll checks the field values on AuthContext with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthContextMultiError, or nil if none found.
type AuthContextMultiError ¶
type AuthContextMultiError []error
AuthContextMultiError is an error wrapping multiple validation errors returned by AuthContext.ValidateAll() if the designated constraints aren't met.
func (AuthContextMultiError) AllErrors ¶
func (m AuthContextMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthContextMultiError) Error ¶
func (m AuthContextMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthContextValidationError ¶
type AuthContextValidationError struct {
// contains filtered or unexported fields
}
AuthContextValidationError is the validation error returned by AuthContext.Validate if the designated constraints aren't met.
func (AuthContextValidationError) Cause ¶
func (e AuthContextValidationError) Cause() error
Cause function returns cause value.
func (AuthContextValidationError) Error ¶
func (e AuthContextValidationError) Error() string
Error satisfies the builtin error interface
func (AuthContextValidationError) ErrorName ¶
func (e AuthContextValidationError) ErrorName() string
ErrorName returns error name.
func (AuthContextValidationError) Field ¶
func (e AuthContextValidationError) Field() string
Field function returns field value.
func (AuthContextValidationError) Key ¶
func (e AuthContextValidationError) Key() bool
Key function returns key value.
func (AuthContextValidationError) Reason ¶
func (e AuthContextValidationError) Reason() string
Reason function returns reason value.
type AuthManagerClient ¶
type AuthManagerClient interface { // web auth flow // TODO(naphat) we should make this only available to our UI app GetAuthToken(ctx context.Context, in *GetTokenRequest, opts ...grpc.CallOption) (*GetAuthTokenResp, error) GetAuthUrl(ctx context.Context, in *GetAuthUrlRequest, opts ...grpc.CallOption) (*GetAuthUrlResponse, error) RefreshToken(ctx context.Context, in *RefreshTokenReq, opts ...grpc.CallOption) (*GetAuthTokenResp, error) // cli auth flow // This returns a streaming response with exactly two items: // 1. Immediately, a UserPrmopt will be returned which should then be conveyed to the user // 2. Once user authenticates via a browser, a Token will be returned CliAuth(ctx context.Context, in *CliAuthReq, opts ...grpc.CallOption) (AuthManager_CliAuthClient, error) }
AuthManagerClient is the client API for AuthManager 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.
func NewAuthManagerClient ¶
func NewAuthManagerClient(cc grpc.ClientConnInterface) AuthManagerClient
type AuthManagerServer ¶
type AuthManagerServer interface { // web auth flow // TODO(naphat) we should make this only available to our UI app GetAuthToken(context.Context, *GetTokenRequest) (*GetAuthTokenResp, error) GetAuthUrl(context.Context, *GetAuthUrlRequest) (*GetAuthUrlResponse, error) RefreshToken(context.Context, *RefreshTokenReq) (*GetAuthTokenResp, error) // cli auth flow // This returns a streaming response with exactly two items: // 1. Immediately, a UserPrmopt will be returned which should then be conveyed to the user // 2. Once user authenticates via a browser, a Token will be returned CliAuth(*CliAuthReq, AuthManager_CliAuthServer) error // contains filtered or unexported methods }
AuthManagerServer is the server API for AuthManager service. All implementations must embed UnimplementedAuthManagerServer for forward compatibility
type AuthManager_CliAuthClient ¶
type AuthManager_CliAuthClient interface { Recv() (*CliAuthResp, error) grpc.ClientStream }
type AuthManager_CliAuthServer ¶
type AuthManager_CliAuthServer interface { Send(*CliAuthResp) error grpc.ServerStream }
type AuthSessionManagerClient ¶
type AuthSessionManagerClient interface { // check if user is authenticated and token is still valid Check(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*LogoutResp, error) }
AuthSessionManagerClient is the client API for AuthSessionManager 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.
func NewAuthSessionManagerClient ¶
func NewAuthSessionManagerClient(cc grpc.ClientConnInterface) AuthSessionManagerClient
type AuthSessionManagerServer ¶
type AuthSessionManagerServer interface { // check if user is authenticated and token is still valid Check(context.Context, *Empty) (*Empty, error) Logout(context.Context, *LogoutReq) (*LogoutResp, error) // contains filtered or unexported methods }
AuthSessionManagerServer is the server API for AuthSessionManager service. All implementations must embed UnimplementedAuthSessionManagerServer for forward compatibility
type AuthToken ¶
type AuthToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthToken) Descriptor
deprecated
func (*AuthToken) ProtoMessage ¶
func (*AuthToken) ProtoMessage()
func (*AuthToken) ProtoReflect ¶
func (x *AuthToken) ProtoReflect() protoreflect.Message
func (*AuthToken) Validate ¶
Validate checks the field values on AuthToken with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthToken) ValidateAll ¶
ValidateAll checks the field values on AuthToken with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthTokenMultiError, or nil if none found.
type AuthTokenMultiError ¶
type AuthTokenMultiError []error
AuthTokenMultiError is an error wrapping multiple validation errors returned by AuthToken.ValidateAll() if the designated constraints aren't met.
func (AuthTokenMultiError) AllErrors ¶
func (m AuthTokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthTokenMultiError) Error ¶
func (m AuthTokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthTokenValidationError ¶
type AuthTokenValidationError struct {
// contains filtered or unexported fields
}
AuthTokenValidationError is the validation error returned by AuthToken.Validate if the designated constraints aren't met.
func (AuthTokenValidationError) Cause ¶
func (e AuthTokenValidationError) Cause() error
Cause function returns cause value.
func (AuthTokenValidationError) Error ¶
func (e AuthTokenValidationError) Error() string
Error satisfies the builtin error interface
func (AuthTokenValidationError) ErrorName ¶
func (e AuthTokenValidationError) ErrorName() string
ErrorName returns error name.
func (AuthTokenValidationError) Field ¶
func (e AuthTokenValidationError) Field() string
Field function returns field value.
func (AuthTokenValidationError) Key ¶
func (e AuthTokenValidationError) Key() bool
Key function returns key value.
func (AuthTokenValidationError) Reason ¶
func (e AuthTokenValidationError) Reason() string
Reason function returns reason value.
type CliAuthReq ¶
type CliAuthReq struct {
// contains filtered or unexported fields
}
func (*CliAuthReq) Descriptor
deprecated
func (*CliAuthReq) Descriptor() ([]byte, []int)
Deprecated: Use CliAuthReq.ProtoReflect.Descriptor instead.
func (*CliAuthReq) ProtoMessage ¶
func (*CliAuthReq) ProtoMessage()
func (*CliAuthReq) ProtoReflect ¶
func (x *CliAuthReq) ProtoReflect() protoreflect.Message
func (*CliAuthReq) Reset ¶
func (x *CliAuthReq) Reset()
func (*CliAuthReq) String ¶
func (x *CliAuthReq) String() string
func (*CliAuthReq) Validate ¶
func (m *CliAuthReq) Validate() error
Validate checks the field values on CliAuthReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CliAuthReq) ValidateAll ¶
func (m *CliAuthReq) ValidateAll() error
ValidateAll checks the field values on CliAuthReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CliAuthReqMultiError, or nil if none found.
type CliAuthReqMultiError ¶
type CliAuthReqMultiError []error
CliAuthReqMultiError is an error wrapping multiple validation errors returned by CliAuthReq.ValidateAll() if the designated constraints aren't met.
func (CliAuthReqMultiError) AllErrors ¶
func (m CliAuthReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CliAuthReqMultiError) Error ¶
func (m CliAuthReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CliAuthReqValidationError ¶
type CliAuthReqValidationError struct {
// contains filtered or unexported fields
}
CliAuthReqValidationError is the validation error returned by CliAuthReq.Validate if the designated constraints aren't met.
func (CliAuthReqValidationError) Cause ¶
func (e CliAuthReqValidationError) Cause() error
Cause function returns cause value.
func (CliAuthReqValidationError) Error ¶
func (e CliAuthReqValidationError) Error() string
Error satisfies the builtin error interface
func (CliAuthReqValidationError) ErrorName ¶
func (e CliAuthReqValidationError) ErrorName() string
ErrorName returns error name.
func (CliAuthReqValidationError) Field ¶
func (e CliAuthReqValidationError) Field() string
Field function returns field value.
func (CliAuthReqValidationError) Key ¶
func (e CliAuthReqValidationError) Key() bool
Key function returns key value.
func (CliAuthReqValidationError) Reason ¶
func (e CliAuthReqValidationError) Reason() string
Reason function returns reason value.
type CliAuthResp ¶
type CliAuthResp struct { // Types that are assignable to RespOneof: // // *CliAuthResp_UserPrompt_ // *CliAuthResp_Token RespOneof isCliAuthResp_RespOneof `protobuf_oneof:"resp_oneof"` // contains filtered or unexported fields }
func (*CliAuthResp) Descriptor
deprecated
func (*CliAuthResp) Descriptor() ([]byte, []int)
Deprecated: Use CliAuthResp.ProtoReflect.Descriptor instead.
func (*CliAuthResp) GetRespOneof ¶
func (m *CliAuthResp) GetRespOneof() isCliAuthResp_RespOneof
func (*CliAuthResp) GetToken ¶
func (x *CliAuthResp) GetToken() *AuthToken
func (*CliAuthResp) GetUserPrompt ¶
func (x *CliAuthResp) GetUserPrompt() *CliAuthResp_UserPrompt
func (*CliAuthResp) ProtoMessage ¶
func (*CliAuthResp) ProtoMessage()
func (*CliAuthResp) ProtoReflect ¶
func (x *CliAuthResp) ProtoReflect() protoreflect.Message
func (*CliAuthResp) Reset ¶
func (x *CliAuthResp) Reset()
func (*CliAuthResp) String ¶
func (x *CliAuthResp) String() string
func (*CliAuthResp) Validate ¶
func (m *CliAuthResp) Validate() error
Validate checks the field values on CliAuthResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CliAuthResp) ValidateAll ¶
func (m *CliAuthResp) ValidateAll() error
ValidateAll checks the field values on CliAuthResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CliAuthRespMultiError, or nil if none found.
type CliAuthRespMultiError ¶
type CliAuthRespMultiError []error
CliAuthRespMultiError is an error wrapping multiple validation errors returned by CliAuthResp.ValidateAll() if the designated constraints aren't met.
func (CliAuthRespMultiError) AllErrors ¶
func (m CliAuthRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CliAuthRespMultiError) Error ¶
func (m CliAuthRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CliAuthRespValidationError ¶
type CliAuthRespValidationError struct {
// contains filtered or unexported fields
}
CliAuthRespValidationError is the validation error returned by CliAuthResp.Validate if the designated constraints aren't met.
func (CliAuthRespValidationError) Cause ¶
func (e CliAuthRespValidationError) Cause() error
Cause function returns cause value.
func (CliAuthRespValidationError) Error ¶
func (e CliAuthRespValidationError) Error() string
Error satisfies the builtin error interface
func (CliAuthRespValidationError) ErrorName ¶
func (e CliAuthRespValidationError) ErrorName() string
ErrorName returns error name.
func (CliAuthRespValidationError) Field ¶
func (e CliAuthRespValidationError) Field() string
Field function returns field value.
func (CliAuthRespValidationError) Key ¶
func (e CliAuthRespValidationError) Key() bool
Key function returns key value.
func (CliAuthRespValidationError) Reason ¶
func (e CliAuthRespValidationError) Reason() string
Reason function returns reason value.
type CliAuthResp_Token ¶
type CliAuthResp_Token struct {
Token *AuthToken `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}
type CliAuthResp_UserPrompt ¶
type CliAuthResp_UserPrompt struct { UserCode string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"` VerificationUri string `protobuf:"bytes,2,opt,name=verification_uri,json=verificationUri,proto3" json:"verification_uri,omitempty"` VerificationUriComplete string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CliAuthResp_UserPrompt) Descriptor
deprecated
func (*CliAuthResp_UserPrompt) Descriptor() ([]byte, []int)
Deprecated: Use CliAuthResp_UserPrompt.ProtoReflect.Descriptor instead.
func (*CliAuthResp_UserPrompt) GetUserCode ¶
func (x *CliAuthResp_UserPrompt) GetUserCode() string
func (*CliAuthResp_UserPrompt) GetVerificationUri ¶
func (x *CliAuthResp_UserPrompt) GetVerificationUri() string
func (*CliAuthResp_UserPrompt) GetVerificationUriComplete ¶
func (x *CliAuthResp_UserPrompt) GetVerificationUriComplete() string
func (*CliAuthResp_UserPrompt) ProtoMessage ¶
func (*CliAuthResp_UserPrompt) ProtoMessage()
func (*CliAuthResp_UserPrompt) ProtoReflect ¶
func (x *CliAuthResp_UserPrompt) ProtoReflect() protoreflect.Message
func (*CliAuthResp_UserPrompt) Reset ¶
func (x *CliAuthResp_UserPrompt) Reset()
func (*CliAuthResp_UserPrompt) String ¶
func (x *CliAuthResp_UserPrompt) String() string
func (*CliAuthResp_UserPrompt) Validate ¶
func (m *CliAuthResp_UserPrompt) Validate() error
Validate checks the field values on CliAuthResp_UserPrompt with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CliAuthResp_UserPrompt) ValidateAll ¶
func (m *CliAuthResp_UserPrompt) ValidateAll() error
ValidateAll checks the field values on CliAuthResp_UserPrompt with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CliAuthResp_UserPromptMultiError, or nil if none found.
type CliAuthResp_UserPromptMultiError ¶
type CliAuthResp_UserPromptMultiError []error
CliAuthResp_UserPromptMultiError is an error wrapping multiple validation errors returned by CliAuthResp_UserPrompt.ValidateAll() if the designated constraints aren't met.
func (CliAuthResp_UserPromptMultiError) AllErrors ¶
func (m CliAuthResp_UserPromptMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CliAuthResp_UserPromptMultiError) Error ¶
func (m CliAuthResp_UserPromptMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CliAuthResp_UserPromptValidationError ¶
type CliAuthResp_UserPromptValidationError struct {
// contains filtered or unexported fields
}
CliAuthResp_UserPromptValidationError is the validation error returned by CliAuthResp_UserPrompt.Validate if the designated constraints aren't met.
func (CliAuthResp_UserPromptValidationError) Cause ¶
func (e CliAuthResp_UserPromptValidationError) Cause() error
Cause function returns cause value.
func (CliAuthResp_UserPromptValidationError) Error ¶
func (e CliAuthResp_UserPromptValidationError) Error() string
Error satisfies the builtin error interface
func (CliAuthResp_UserPromptValidationError) ErrorName ¶
func (e CliAuthResp_UserPromptValidationError) ErrorName() string
ErrorName returns error name.
func (CliAuthResp_UserPromptValidationError) Field ¶
func (e CliAuthResp_UserPromptValidationError) Field() string
Field function returns field value.
func (CliAuthResp_UserPromptValidationError) Key ¶
func (e CliAuthResp_UserPromptValidationError) Key() bool
Key function returns key value.
func (CliAuthResp_UserPromptValidationError) Reason ¶
func (e CliAuthResp_UserPromptValidationError) Reason() string
Reason function returns reason value.
type CliAuthResp_UserPrompt_ ¶
type CliAuthResp_UserPrompt_ struct {
UserPrompt *CliAuthResp_UserPrompt `protobuf:"bytes,1,opt,name=user_prompt,json=userPrompt,proto3,oneof"`
}
type CreateOrgApiTokenReq ¶
type CreateOrgApiTokenReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ExpiresTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_timestamp,json=expiresTimestamp,proto3" json:"expires_timestamp,omitempty"` // contains filtered or unexported fields }
func (*CreateOrgApiTokenReq) Descriptor
deprecated
func (*CreateOrgApiTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrgApiTokenReq.ProtoReflect.Descriptor instead.
func (*CreateOrgApiTokenReq) GetDescription ¶
func (x *CreateOrgApiTokenReq) GetDescription() string
func (*CreateOrgApiTokenReq) GetExpiresTimestamp ¶
func (x *CreateOrgApiTokenReq) GetExpiresTimestamp() *timestamppb.Timestamp
func (*CreateOrgApiTokenReq) GetName ¶
func (x *CreateOrgApiTokenReq) GetName() string
func (*CreateOrgApiTokenReq) ProtoMessage ¶
func (*CreateOrgApiTokenReq) ProtoMessage()
func (*CreateOrgApiTokenReq) ProtoReflect ¶
func (x *CreateOrgApiTokenReq) ProtoReflect() protoreflect.Message
func (*CreateOrgApiTokenReq) Reset ¶
func (x *CreateOrgApiTokenReq) Reset()
func (*CreateOrgApiTokenReq) String ¶
func (x *CreateOrgApiTokenReq) String() string
func (*CreateOrgApiTokenReq) Validate ¶
func (m *CreateOrgApiTokenReq) Validate() error
Validate checks the field values on CreateOrgApiTokenReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrgApiTokenReq) ValidateAll ¶
func (m *CreateOrgApiTokenReq) ValidateAll() error
ValidateAll checks the field values on CreateOrgApiTokenReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrgApiTokenReqMultiError, or nil if none found.
type CreateOrgApiTokenReqMultiError ¶
type CreateOrgApiTokenReqMultiError []error
CreateOrgApiTokenReqMultiError is an error wrapping multiple validation errors returned by CreateOrgApiTokenReq.ValidateAll() if the designated constraints aren't met.
func (CreateOrgApiTokenReqMultiError) AllErrors ¶
func (m CreateOrgApiTokenReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrgApiTokenReqMultiError) Error ¶
func (m CreateOrgApiTokenReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrgApiTokenReqValidationError ¶
type CreateOrgApiTokenReqValidationError struct {
// contains filtered or unexported fields
}
CreateOrgApiTokenReqValidationError is the validation error returned by CreateOrgApiTokenReq.Validate if the designated constraints aren't met.
func (CreateOrgApiTokenReqValidationError) Cause ¶
func (e CreateOrgApiTokenReqValidationError) Cause() error
Cause function returns cause value.
func (CreateOrgApiTokenReqValidationError) Error ¶
func (e CreateOrgApiTokenReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrgApiTokenReqValidationError) ErrorName ¶
func (e CreateOrgApiTokenReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrgApiTokenReqValidationError) Field ¶
func (e CreateOrgApiTokenReqValidationError) Field() string
Field function returns field value.
func (CreateOrgApiTokenReqValidationError) Key ¶
func (e CreateOrgApiTokenReqValidationError) Key() bool
Key function returns key value.
func (CreateOrgApiTokenReqValidationError) Reason ¶
func (e CreateOrgApiTokenReqValidationError) Reason() string
Reason function returns reason value.
type CreateOrgApiTokenResp ¶
type CreateOrgApiTokenResp struct { ApiToken string `protobuf:"bytes,1,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"` Info *ApiTokenInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*CreateOrgApiTokenResp) Descriptor
deprecated
func (*CreateOrgApiTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrgApiTokenResp.ProtoReflect.Descriptor instead.
func (*CreateOrgApiTokenResp) GetApiToken ¶
func (x *CreateOrgApiTokenResp) GetApiToken() string
func (*CreateOrgApiTokenResp) GetInfo ¶
func (x *CreateOrgApiTokenResp) GetInfo() *ApiTokenInfo
func (*CreateOrgApiTokenResp) ProtoMessage ¶
func (*CreateOrgApiTokenResp) ProtoMessage()
func (*CreateOrgApiTokenResp) ProtoReflect ¶
func (x *CreateOrgApiTokenResp) ProtoReflect() protoreflect.Message
func (*CreateOrgApiTokenResp) Reset ¶
func (x *CreateOrgApiTokenResp) Reset()
func (*CreateOrgApiTokenResp) String ¶
func (x *CreateOrgApiTokenResp) String() string
func (*CreateOrgApiTokenResp) Validate ¶
func (m *CreateOrgApiTokenResp) Validate() error
Validate checks the field values on CreateOrgApiTokenResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrgApiTokenResp) ValidateAll ¶
func (m *CreateOrgApiTokenResp) ValidateAll() error
ValidateAll checks the field values on CreateOrgApiTokenResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrgApiTokenRespMultiError, or nil if none found.
type CreateOrgApiTokenRespMultiError ¶
type CreateOrgApiTokenRespMultiError []error
CreateOrgApiTokenRespMultiError is an error wrapping multiple validation errors returned by CreateOrgApiTokenResp.ValidateAll() if the designated constraints aren't met.
func (CreateOrgApiTokenRespMultiError) AllErrors ¶
func (m CreateOrgApiTokenRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrgApiTokenRespMultiError) Error ¶
func (m CreateOrgApiTokenRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrgApiTokenRespValidationError ¶
type CreateOrgApiTokenRespValidationError struct {
// contains filtered or unexported fields
}
CreateOrgApiTokenRespValidationError is the validation error returned by CreateOrgApiTokenResp.Validate if the designated constraints aren't met.
func (CreateOrgApiTokenRespValidationError) Cause ¶
func (e CreateOrgApiTokenRespValidationError) Cause() error
Cause function returns cause value.
func (CreateOrgApiTokenRespValidationError) Error ¶
func (e CreateOrgApiTokenRespValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrgApiTokenRespValidationError) ErrorName ¶
func (e CreateOrgApiTokenRespValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrgApiTokenRespValidationError) Field ¶
func (e CreateOrgApiTokenRespValidationError) Field() string
Field function returns field value.
func (CreateOrgApiTokenRespValidationError) Key ¶
func (e CreateOrgApiTokenRespValidationError) Key() bool
Key function returns key value.
func (CreateOrgApiTokenRespValidationError) Reason ¶
func (e CreateOrgApiTokenRespValidationError) Reason() string
Reason function returns reason value.
type DeleteOrgApiTokenReq ¶
type DeleteOrgApiTokenReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrgApiTokenReq) Descriptor
deprecated
func (*DeleteOrgApiTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrgApiTokenReq.ProtoReflect.Descriptor instead.
func (*DeleteOrgApiTokenReq) GetName ¶
func (x *DeleteOrgApiTokenReq) GetName() string
func (*DeleteOrgApiTokenReq) ProtoMessage ¶
func (*DeleteOrgApiTokenReq) ProtoMessage()
func (*DeleteOrgApiTokenReq) ProtoReflect ¶
func (x *DeleteOrgApiTokenReq) ProtoReflect() protoreflect.Message
func (*DeleteOrgApiTokenReq) Reset ¶
func (x *DeleteOrgApiTokenReq) Reset()
func (*DeleteOrgApiTokenReq) String ¶
func (x *DeleteOrgApiTokenReq) String() string
func (*DeleteOrgApiTokenReq) Validate ¶
func (m *DeleteOrgApiTokenReq) Validate() error
Validate checks the field values on DeleteOrgApiTokenReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteOrgApiTokenReq) ValidateAll ¶
func (m *DeleteOrgApiTokenReq) ValidateAll() error
ValidateAll checks the field values on DeleteOrgApiTokenReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteOrgApiTokenReqMultiError, or nil if none found.
type DeleteOrgApiTokenReqMultiError ¶
type DeleteOrgApiTokenReqMultiError []error
DeleteOrgApiTokenReqMultiError is an error wrapping multiple validation errors returned by DeleteOrgApiTokenReq.ValidateAll() if the designated constraints aren't met.
func (DeleteOrgApiTokenReqMultiError) AllErrors ¶
func (m DeleteOrgApiTokenReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOrgApiTokenReqMultiError) Error ¶
func (m DeleteOrgApiTokenReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOrgApiTokenReqValidationError ¶
type DeleteOrgApiTokenReqValidationError struct {
// contains filtered or unexported fields
}
DeleteOrgApiTokenReqValidationError is the validation error returned by DeleteOrgApiTokenReq.Validate if the designated constraints aren't met.
func (DeleteOrgApiTokenReqValidationError) Cause ¶
func (e DeleteOrgApiTokenReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteOrgApiTokenReqValidationError) Error ¶
func (e DeleteOrgApiTokenReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOrgApiTokenReqValidationError) ErrorName ¶
func (e DeleteOrgApiTokenReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOrgApiTokenReqValidationError) Field ¶
func (e DeleteOrgApiTokenReqValidationError) Field() string
Field function returns field value.
func (DeleteOrgApiTokenReqValidationError) Key ¶
func (e DeleteOrgApiTokenReqValidationError) Key() bool
Key function returns key value.
func (DeleteOrgApiTokenReqValidationError) Reason ¶
func (e DeleteOrgApiTokenReqValidationError) Reason() string
Reason function returns reason value.
type DeleteOrgApiTokenResp ¶
type DeleteOrgApiTokenResp struct {
// contains filtered or unexported fields
}
func (*DeleteOrgApiTokenResp) Descriptor
deprecated
func (*DeleteOrgApiTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrgApiTokenResp.ProtoReflect.Descriptor instead.
func (*DeleteOrgApiTokenResp) ProtoMessage ¶
func (*DeleteOrgApiTokenResp) ProtoMessage()
func (*DeleteOrgApiTokenResp) ProtoReflect ¶
func (x *DeleteOrgApiTokenResp) ProtoReflect() protoreflect.Message
func (*DeleteOrgApiTokenResp) Reset ¶
func (x *DeleteOrgApiTokenResp) Reset()
func (*DeleteOrgApiTokenResp) String ¶
func (x *DeleteOrgApiTokenResp) String() string
func (*DeleteOrgApiTokenResp) Validate ¶
func (m *DeleteOrgApiTokenResp) Validate() error
Validate checks the field values on DeleteOrgApiTokenResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteOrgApiTokenResp) ValidateAll ¶
func (m *DeleteOrgApiTokenResp) ValidateAll() error
ValidateAll checks the field values on DeleteOrgApiTokenResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteOrgApiTokenRespMultiError, or nil if none found.
type DeleteOrgApiTokenRespMultiError ¶
type DeleteOrgApiTokenRespMultiError []error
DeleteOrgApiTokenRespMultiError is an error wrapping multiple validation errors returned by DeleteOrgApiTokenResp.ValidateAll() if the designated constraints aren't met.
func (DeleteOrgApiTokenRespMultiError) AllErrors ¶
func (m DeleteOrgApiTokenRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOrgApiTokenRespMultiError) Error ¶
func (m DeleteOrgApiTokenRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOrgApiTokenRespValidationError ¶
type DeleteOrgApiTokenRespValidationError struct {
// contains filtered or unexported fields
}
DeleteOrgApiTokenRespValidationError is the validation error returned by DeleteOrgApiTokenResp.Validate if the designated constraints aren't met.
func (DeleteOrgApiTokenRespValidationError) Cause ¶
func (e DeleteOrgApiTokenRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteOrgApiTokenRespValidationError) Error ¶
func (e DeleteOrgApiTokenRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOrgApiTokenRespValidationError) ErrorName ¶
func (e DeleteOrgApiTokenRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOrgApiTokenRespValidationError) Field ¶
func (e DeleteOrgApiTokenRespValidationError) Field() string
Field function returns field value.
func (DeleteOrgApiTokenRespValidationError) Key ¶
func (e DeleteOrgApiTokenRespValidationError) Key() bool
Key function returns key value.
func (DeleteOrgApiTokenRespValidationError) Reason ¶
func (e DeleteOrgApiTokenRespValidationError) Reason() string
Reason function returns reason value.
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) Validate ¶
Validate checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Empty) ValidateAll ¶
ValidateAll checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyMultiError, or nil if none found.
type EmptyMultiError ¶
type EmptyMultiError []error
EmptyMultiError is an error wrapping multiple validation errors returned by Empty.ValidateAll() if the designated constraints aren't met.
func (EmptyMultiError) AllErrors ¶
func (m EmptyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyMultiError) Error ¶
func (m EmptyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyValidationError ¶
type EmptyValidationError struct {
// contains filtered or unexported fields
}
EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.
func (EmptyValidationError) Cause ¶
func (e EmptyValidationError) Cause() error
Cause function returns cause value.
func (EmptyValidationError) Error ¶
func (e EmptyValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyValidationError) ErrorName ¶
func (e EmptyValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyValidationError) Field ¶
func (e EmptyValidationError) Field() string
Field function returns field value.
func (EmptyValidationError) Key ¶
func (e EmptyValidationError) Key() bool
Key function returns key value.
func (EmptyValidationError) Reason ¶
func (e EmptyValidationError) Reason() string
Reason function returns reason value.
type GetAuthTokenResp ¶
type GetAuthTokenResp struct { Token *AuthToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` User *users.User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetAuthTokenResp) Descriptor
deprecated
func (*GetAuthTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthTokenResp.ProtoReflect.Descriptor instead.
func (*GetAuthTokenResp) GetToken ¶
func (x *GetAuthTokenResp) GetToken() *AuthToken
func (*GetAuthTokenResp) GetUser ¶
func (x *GetAuthTokenResp) GetUser() *users.User
func (*GetAuthTokenResp) ProtoMessage ¶
func (*GetAuthTokenResp) ProtoMessage()
func (*GetAuthTokenResp) ProtoReflect ¶
func (x *GetAuthTokenResp) ProtoReflect() protoreflect.Message
func (*GetAuthTokenResp) Reset ¶
func (x *GetAuthTokenResp) Reset()
func (*GetAuthTokenResp) String ¶
func (x *GetAuthTokenResp) String() string
func (*GetAuthTokenResp) Validate ¶
func (m *GetAuthTokenResp) Validate() error
Validate checks the field values on GetAuthTokenResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAuthTokenResp) ValidateAll ¶
func (m *GetAuthTokenResp) ValidateAll() error
ValidateAll checks the field values on GetAuthTokenResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAuthTokenRespMultiError, or nil if none found.
type GetAuthTokenRespMultiError ¶
type GetAuthTokenRespMultiError []error
GetAuthTokenRespMultiError is an error wrapping multiple validation errors returned by GetAuthTokenResp.ValidateAll() if the designated constraints aren't met.
func (GetAuthTokenRespMultiError) AllErrors ¶
func (m GetAuthTokenRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAuthTokenRespMultiError) Error ¶
func (m GetAuthTokenRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAuthTokenRespValidationError ¶
type GetAuthTokenRespValidationError struct {
// contains filtered or unexported fields
}
GetAuthTokenRespValidationError is the validation error returned by GetAuthTokenResp.Validate if the designated constraints aren't met.
func (GetAuthTokenRespValidationError) Cause ¶
func (e GetAuthTokenRespValidationError) Cause() error
Cause function returns cause value.
func (GetAuthTokenRespValidationError) Error ¶
func (e GetAuthTokenRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetAuthTokenRespValidationError) ErrorName ¶
func (e GetAuthTokenRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetAuthTokenRespValidationError) Field ¶
func (e GetAuthTokenRespValidationError) Field() string
Field function returns field value.
func (GetAuthTokenRespValidationError) Key ¶
func (e GetAuthTokenRespValidationError) Key() bool
Key function returns key value.
func (GetAuthTokenRespValidationError) Reason ¶
func (e GetAuthTokenRespValidationError) Reason() string
Reason function returns reason value.
type GetAuthUrlRequest ¶
type GetAuthUrlRequest struct { State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` ForCli bool `protobuf:"varint,3,opt,name=for_cli,json=forCli,proto3" json:"for_cli,omitempty"` Invitation string `protobuf:"bytes,4,opt,name=invitation,proto3" json:"invitation,omitempty"` // optional invitation id for the invite flow ProdvanaOnlyAdminOrg bool `` // prodvana internal use /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAuthUrlRequest) Descriptor
deprecated
func (*GetAuthUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthUrlRequest.ProtoReflect.Descriptor instead.
func (*GetAuthUrlRequest) GetForCli ¶
func (x *GetAuthUrlRequest) GetForCli() bool
func (*GetAuthUrlRequest) GetInvitation ¶
func (x *GetAuthUrlRequest) GetInvitation() string
func (*GetAuthUrlRequest) GetProdvanaOnlyAdminOrg ¶
func (x *GetAuthUrlRequest) GetProdvanaOnlyAdminOrg() bool
func (*GetAuthUrlRequest) GetState ¶
func (x *GetAuthUrlRequest) GetState() string
func (*GetAuthUrlRequest) ProtoMessage ¶
func (*GetAuthUrlRequest) ProtoMessage()
func (*GetAuthUrlRequest) ProtoReflect ¶
func (x *GetAuthUrlRequest) ProtoReflect() protoreflect.Message
func (*GetAuthUrlRequest) Reset ¶
func (x *GetAuthUrlRequest) Reset()
func (*GetAuthUrlRequest) String ¶
func (x *GetAuthUrlRequest) String() string
func (*GetAuthUrlRequest) Validate ¶
func (m *GetAuthUrlRequest) Validate() error
Validate checks the field values on GetAuthUrlRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAuthUrlRequest) ValidateAll ¶
func (m *GetAuthUrlRequest) ValidateAll() error
ValidateAll checks the field values on GetAuthUrlRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAuthUrlRequestMultiError, or nil if none found.
type GetAuthUrlRequestMultiError ¶
type GetAuthUrlRequestMultiError []error
GetAuthUrlRequestMultiError is an error wrapping multiple validation errors returned by GetAuthUrlRequest.ValidateAll() if the designated constraints aren't met.
func (GetAuthUrlRequestMultiError) AllErrors ¶
func (m GetAuthUrlRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAuthUrlRequestMultiError) Error ¶
func (m GetAuthUrlRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAuthUrlRequestValidationError ¶
type GetAuthUrlRequestValidationError struct {
// contains filtered or unexported fields
}
GetAuthUrlRequestValidationError is the validation error returned by GetAuthUrlRequest.Validate if the designated constraints aren't met.
func (GetAuthUrlRequestValidationError) Cause ¶
func (e GetAuthUrlRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAuthUrlRequestValidationError) Error ¶
func (e GetAuthUrlRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAuthUrlRequestValidationError) ErrorName ¶
func (e GetAuthUrlRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAuthUrlRequestValidationError) Field ¶
func (e GetAuthUrlRequestValidationError) Field() string
Field function returns field value.
func (GetAuthUrlRequestValidationError) Key ¶
func (e GetAuthUrlRequestValidationError) Key() bool
Key function returns key value.
func (GetAuthUrlRequestValidationError) Reason ¶
func (e GetAuthUrlRequestValidationError) Reason() string
Reason function returns reason value.
type GetAuthUrlResponse ¶
type GetAuthUrlResponse struct { AuthUrl string `protobuf:"bytes,1,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` // contains filtered or unexported fields }
func (*GetAuthUrlResponse) Descriptor
deprecated
func (*GetAuthUrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthUrlResponse.ProtoReflect.Descriptor instead.
func (*GetAuthUrlResponse) GetAuthUrl ¶
func (x *GetAuthUrlResponse) GetAuthUrl() string
func (*GetAuthUrlResponse) ProtoMessage ¶
func (*GetAuthUrlResponse) ProtoMessage()
func (*GetAuthUrlResponse) ProtoReflect ¶
func (x *GetAuthUrlResponse) ProtoReflect() protoreflect.Message
func (*GetAuthUrlResponse) Reset ¶
func (x *GetAuthUrlResponse) Reset()
func (*GetAuthUrlResponse) String ¶
func (x *GetAuthUrlResponse) String() string
func (*GetAuthUrlResponse) Validate ¶
func (m *GetAuthUrlResponse) Validate() error
Validate checks the field values on GetAuthUrlResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAuthUrlResponse) ValidateAll ¶
func (m *GetAuthUrlResponse) ValidateAll() error
ValidateAll checks the field values on GetAuthUrlResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAuthUrlResponseMultiError, or nil if none found.
type GetAuthUrlResponseMultiError ¶
type GetAuthUrlResponseMultiError []error
GetAuthUrlResponseMultiError is an error wrapping multiple validation errors returned by GetAuthUrlResponse.ValidateAll() if the designated constraints aren't met.
func (GetAuthUrlResponseMultiError) AllErrors ¶
func (m GetAuthUrlResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAuthUrlResponseMultiError) Error ¶
func (m GetAuthUrlResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAuthUrlResponseValidationError ¶
type GetAuthUrlResponseValidationError struct {
// contains filtered or unexported fields
}
GetAuthUrlResponseValidationError is the validation error returned by GetAuthUrlResponse.Validate if the designated constraints aren't met.
func (GetAuthUrlResponseValidationError) Cause ¶
func (e GetAuthUrlResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAuthUrlResponseValidationError) Error ¶
func (e GetAuthUrlResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAuthUrlResponseValidationError) ErrorName ¶
func (e GetAuthUrlResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAuthUrlResponseValidationError) Field ¶
func (e GetAuthUrlResponseValidationError) Field() string
Field function returns field value.
func (GetAuthUrlResponseValidationError) Key ¶
func (e GetAuthUrlResponseValidationError) Key() bool
Key function returns key value.
func (GetAuthUrlResponseValidationError) Reason ¶
func (e GetAuthUrlResponseValidationError) Reason() string
Reason function returns reason value.
type GetTokenRequest ¶
type GetTokenRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` RedirectUrl string `protobuf:"bytes,2,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` ForCli bool `protobuf:"varint,3,opt,name=for_cli,json=forCli,proto3" json:"for_cli,omitempty"` ProdvanaOnlyAdminOrg bool `` // prodvana internal use /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetTokenRequest) Descriptor
deprecated
func (*GetTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenRequest.ProtoReflect.Descriptor instead.
func (*GetTokenRequest) GetCode ¶
func (x *GetTokenRequest) GetCode() string
func (*GetTokenRequest) GetForCli ¶
func (x *GetTokenRequest) GetForCli() bool
func (*GetTokenRequest) GetProdvanaOnlyAdminOrg ¶
func (x *GetTokenRequest) GetProdvanaOnlyAdminOrg() bool
func (*GetTokenRequest) GetRedirectUrl ¶
func (x *GetTokenRequest) GetRedirectUrl() string
func (*GetTokenRequest) ProtoMessage ¶
func (*GetTokenRequest) ProtoMessage()
func (*GetTokenRequest) ProtoReflect ¶
func (x *GetTokenRequest) ProtoReflect() protoreflect.Message
func (*GetTokenRequest) Reset ¶
func (x *GetTokenRequest) Reset()
func (*GetTokenRequest) String ¶
func (x *GetTokenRequest) String() string
func (*GetTokenRequest) Validate ¶
func (m *GetTokenRequest) Validate() error
Validate checks the field values on GetTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetTokenRequest) ValidateAll ¶
func (m *GetTokenRequest) ValidateAll() error
ValidateAll checks the field values on GetTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTokenRequestMultiError, or nil if none found.
type GetTokenRequestMultiError ¶
type GetTokenRequestMultiError []error
GetTokenRequestMultiError is an error wrapping multiple validation errors returned by GetTokenRequest.ValidateAll() if the designated constraints aren't met.
func (GetTokenRequestMultiError) AllErrors ¶
func (m GetTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetTokenRequestMultiError) Error ¶
func (m GetTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetTokenRequestValidationError ¶
type GetTokenRequestValidationError struct {
// contains filtered or unexported fields
}
GetTokenRequestValidationError is the validation error returned by GetTokenRequest.Validate if the designated constraints aren't met.
func (GetTokenRequestValidationError) Cause ¶
func (e GetTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTokenRequestValidationError) Error ¶
func (e GetTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTokenRequestValidationError) ErrorName ¶
func (e GetTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTokenRequestValidationError) Field ¶
func (e GetTokenRequestValidationError) Field() string
Field function returns field value.
func (GetTokenRequestValidationError) Key ¶
func (e GetTokenRequestValidationError) Key() bool
Key function returns key value.
func (GetTokenRequestValidationError) Reason ¶
func (e GetTokenRequestValidationError) Reason() string
Reason function returns reason value.
type ListOrgApiTokensReq ¶
type ListOrgApiTokensReq struct {
// contains filtered or unexported fields
}
func (*ListOrgApiTokensReq) Descriptor
deprecated
func (*ListOrgApiTokensReq) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgApiTokensReq.ProtoReflect.Descriptor instead.
func (*ListOrgApiTokensReq) ProtoMessage ¶
func (*ListOrgApiTokensReq) ProtoMessage()
func (*ListOrgApiTokensReq) ProtoReflect ¶
func (x *ListOrgApiTokensReq) ProtoReflect() protoreflect.Message
func (*ListOrgApiTokensReq) Reset ¶
func (x *ListOrgApiTokensReq) Reset()
func (*ListOrgApiTokensReq) String ¶
func (x *ListOrgApiTokensReq) String() string
func (*ListOrgApiTokensReq) Validate ¶
func (m *ListOrgApiTokensReq) Validate() error
Validate checks the field values on ListOrgApiTokensReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrgApiTokensReq) ValidateAll ¶
func (m *ListOrgApiTokensReq) ValidateAll() error
ValidateAll checks the field values on ListOrgApiTokensReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrgApiTokensReqMultiError, or nil if none found.
type ListOrgApiTokensReqMultiError ¶
type ListOrgApiTokensReqMultiError []error
ListOrgApiTokensReqMultiError is an error wrapping multiple validation errors returned by ListOrgApiTokensReq.ValidateAll() if the designated constraints aren't met.
func (ListOrgApiTokensReqMultiError) AllErrors ¶
func (m ListOrgApiTokensReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrgApiTokensReqMultiError) Error ¶
func (m ListOrgApiTokensReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrgApiTokensReqValidationError ¶
type ListOrgApiTokensReqValidationError struct {
// contains filtered or unexported fields
}
ListOrgApiTokensReqValidationError is the validation error returned by ListOrgApiTokensReq.Validate if the designated constraints aren't met.
func (ListOrgApiTokensReqValidationError) Cause ¶
func (e ListOrgApiTokensReqValidationError) Cause() error
Cause function returns cause value.
func (ListOrgApiTokensReqValidationError) Error ¶
func (e ListOrgApiTokensReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrgApiTokensReqValidationError) ErrorName ¶
func (e ListOrgApiTokensReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrgApiTokensReqValidationError) Field ¶
func (e ListOrgApiTokensReqValidationError) Field() string
Field function returns field value.
func (ListOrgApiTokensReqValidationError) Key ¶
func (e ListOrgApiTokensReqValidationError) Key() bool
Key function returns key value.
func (ListOrgApiTokensReqValidationError) Reason ¶
func (e ListOrgApiTokensReqValidationError) Reason() string
Reason function returns reason value.
type ListOrgApiTokensResp ¶
type ListOrgApiTokensResp struct { Tokens []*ApiTokenInfo `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"` // contains filtered or unexported fields }
func (*ListOrgApiTokensResp) Descriptor
deprecated
func (*ListOrgApiTokensResp) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgApiTokensResp.ProtoReflect.Descriptor instead.
func (*ListOrgApiTokensResp) GetTokens ¶
func (x *ListOrgApiTokensResp) GetTokens() []*ApiTokenInfo
func (*ListOrgApiTokensResp) ProtoMessage ¶
func (*ListOrgApiTokensResp) ProtoMessage()
func (*ListOrgApiTokensResp) ProtoReflect ¶
func (x *ListOrgApiTokensResp) ProtoReflect() protoreflect.Message
func (*ListOrgApiTokensResp) Reset ¶
func (x *ListOrgApiTokensResp) Reset()
func (*ListOrgApiTokensResp) String ¶
func (x *ListOrgApiTokensResp) String() string
func (*ListOrgApiTokensResp) Validate ¶
func (m *ListOrgApiTokensResp) Validate() error
Validate checks the field values on ListOrgApiTokensResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrgApiTokensResp) ValidateAll ¶
func (m *ListOrgApiTokensResp) ValidateAll() error
ValidateAll checks the field values on ListOrgApiTokensResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrgApiTokensRespMultiError, or nil if none found.
type ListOrgApiTokensRespMultiError ¶
type ListOrgApiTokensRespMultiError []error
ListOrgApiTokensRespMultiError is an error wrapping multiple validation errors returned by ListOrgApiTokensResp.ValidateAll() if the designated constraints aren't met.
func (ListOrgApiTokensRespMultiError) AllErrors ¶
func (m ListOrgApiTokensRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrgApiTokensRespMultiError) Error ¶
func (m ListOrgApiTokensRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrgApiTokensRespValidationError ¶
type ListOrgApiTokensRespValidationError struct {
// contains filtered or unexported fields
}
ListOrgApiTokensRespValidationError is the validation error returned by ListOrgApiTokensResp.Validate if the designated constraints aren't met.
func (ListOrgApiTokensRespValidationError) Cause ¶
func (e ListOrgApiTokensRespValidationError) Cause() error
Cause function returns cause value.
func (ListOrgApiTokensRespValidationError) Error ¶
func (e ListOrgApiTokensRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrgApiTokensRespValidationError) ErrorName ¶
func (e ListOrgApiTokensRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrgApiTokensRespValidationError) Field ¶
func (e ListOrgApiTokensRespValidationError) Field() string
Field function returns field value.
func (ListOrgApiTokensRespValidationError) Key ¶
func (e ListOrgApiTokensRespValidationError) Key() bool
Key function returns key value.
func (ListOrgApiTokensRespValidationError) Reason ¶
func (e ListOrgApiTokensRespValidationError) Reason() string
Reason function returns reason value.
type LogoutReq ¶ added in v0.3.11
type LogoutReq struct { ForCli bool `protobuf:"varint,1,opt,name=for_cli,json=forCli,proto3" json:"for_cli,omitempty"` RedirectUrl string `protobuf:"bytes,2,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` // optional redirect url after logout ProdvanaOnlyAdminOrg bool `` // prodvana internal use /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LogoutReq) Descriptor
deprecated
added in
v0.3.11
func (*LogoutReq) GetProdvanaOnlyAdminOrg ¶ added in v0.3.11
func (*LogoutReq) GetRedirectUrl ¶ added in v0.3.11
func (*LogoutReq) ProtoMessage ¶ added in v0.3.11
func (*LogoutReq) ProtoMessage()
func (*LogoutReq) ProtoReflect ¶ added in v0.3.11
func (x *LogoutReq) ProtoReflect() protoreflect.Message
func (*LogoutReq) Validate ¶ added in v0.3.11
Validate checks the field values on LogoutReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogoutReq) ValidateAll ¶ added in v0.3.11
ValidateAll checks the field values on LogoutReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutReqMultiError, or nil if none found.
type LogoutReqMultiError ¶ added in v0.3.11
type LogoutReqMultiError []error
LogoutReqMultiError is an error wrapping multiple validation errors returned by LogoutReq.ValidateAll() if the designated constraints aren't met.
func (LogoutReqMultiError) AllErrors ¶ added in v0.3.11
func (m LogoutReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutReqMultiError) Error ¶ added in v0.3.11
func (m LogoutReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutReqValidationError ¶ added in v0.3.11
type LogoutReqValidationError struct {
// contains filtered or unexported fields
}
LogoutReqValidationError is the validation error returned by LogoutReq.Validate if the designated constraints aren't met.
func (LogoutReqValidationError) Cause ¶ added in v0.3.11
func (e LogoutReqValidationError) Cause() error
Cause function returns cause value.
func (LogoutReqValidationError) Error ¶ added in v0.3.11
func (e LogoutReqValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutReqValidationError) ErrorName ¶ added in v0.3.11
func (e LogoutReqValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutReqValidationError) Field ¶ added in v0.3.11
func (e LogoutReqValidationError) Field() string
Field function returns field value.
func (LogoutReqValidationError) Key ¶ added in v0.3.11
func (e LogoutReqValidationError) Key() bool
Key function returns key value.
func (LogoutReqValidationError) Reason ¶ added in v0.3.11
func (e LogoutReqValidationError) Reason() string
Reason function returns reason value.
type LogoutResp ¶ added in v0.3.11
type LogoutResp struct { LogoutUrl string `protobuf:"bytes,1,opt,name=logout_url,json=logoutUrl,proto3" json:"logout_url,omitempty"` // contains filtered or unexported fields }
func (*LogoutResp) Descriptor
deprecated
added in
v0.3.11
func (*LogoutResp) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResp.ProtoReflect.Descriptor instead.
func (*LogoutResp) GetLogoutUrl ¶ added in v0.3.11
func (x *LogoutResp) GetLogoutUrl() string
func (*LogoutResp) ProtoMessage ¶ added in v0.3.11
func (*LogoutResp) ProtoMessage()
func (*LogoutResp) ProtoReflect ¶ added in v0.3.11
func (x *LogoutResp) ProtoReflect() protoreflect.Message
func (*LogoutResp) Reset ¶ added in v0.3.11
func (x *LogoutResp) Reset()
func (*LogoutResp) String ¶ added in v0.3.11
func (x *LogoutResp) String() string
func (*LogoutResp) Validate ¶ added in v0.3.11
func (m *LogoutResp) Validate() error
Validate checks the field values on LogoutResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogoutResp) ValidateAll ¶ added in v0.3.11
func (m *LogoutResp) ValidateAll() error
ValidateAll checks the field values on LogoutResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutRespMultiError, or nil if none found.
type LogoutRespMultiError ¶ added in v0.3.11
type LogoutRespMultiError []error
LogoutRespMultiError is an error wrapping multiple validation errors returned by LogoutResp.ValidateAll() if the designated constraints aren't met.
func (LogoutRespMultiError) AllErrors ¶ added in v0.3.11
func (m LogoutRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutRespMultiError) Error ¶ added in v0.3.11
func (m LogoutRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutRespValidationError ¶ added in v0.3.11
type LogoutRespValidationError struct {
// contains filtered or unexported fields
}
LogoutRespValidationError is the validation error returned by LogoutResp.Validate if the designated constraints aren't met.
func (LogoutRespValidationError) Cause ¶ added in v0.3.11
func (e LogoutRespValidationError) Cause() error
Cause function returns cause value.
func (LogoutRespValidationError) Error ¶ added in v0.3.11
func (e LogoutRespValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutRespValidationError) ErrorName ¶ added in v0.3.11
func (e LogoutRespValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutRespValidationError) Field ¶ added in v0.3.11
func (e LogoutRespValidationError) Field() string
Field function returns field value.
func (LogoutRespValidationError) Key ¶ added in v0.3.11
func (e LogoutRespValidationError) Key() bool
Key function returns key value.
func (LogoutRespValidationError) Reason ¶ added in v0.3.11
func (e LogoutRespValidationError) Reason() string
Reason function returns reason value.
type RefreshTokenReq ¶
type RefreshTokenReq struct { Token *AuthToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ForCli bool `protobuf:"varint,2,opt,name=for_cli,json=forCli,proto3" json:"for_cli,omitempty"` ProdvanaOnlyAdminOrg bool `` // prodvana internal use /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RefreshTokenReq) Descriptor
deprecated
func (*RefreshTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenReq.ProtoReflect.Descriptor instead.
func (*RefreshTokenReq) GetForCli ¶
func (x *RefreshTokenReq) GetForCli() bool
func (*RefreshTokenReq) GetProdvanaOnlyAdminOrg ¶
func (x *RefreshTokenReq) GetProdvanaOnlyAdminOrg() bool
func (*RefreshTokenReq) GetToken ¶
func (x *RefreshTokenReq) GetToken() *AuthToken
func (*RefreshTokenReq) ProtoMessage ¶
func (*RefreshTokenReq) ProtoMessage()
func (*RefreshTokenReq) ProtoReflect ¶
func (x *RefreshTokenReq) ProtoReflect() protoreflect.Message
func (*RefreshTokenReq) Reset ¶
func (x *RefreshTokenReq) Reset()
func (*RefreshTokenReq) String ¶
func (x *RefreshTokenReq) String() string
func (*RefreshTokenReq) Validate ¶
func (m *RefreshTokenReq) Validate() error
Validate checks the field values on RefreshTokenReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RefreshTokenReq) ValidateAll ¶
func (m *RefreshTokenReq) ValidateAll() error
ValidateAll checks the field values on RefreshTokenReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenReqMultiError, or nil if none found.
type RefreshTokenReqMultiError ¶
type RefreshTokenReqMultiError []error
RefreshTokenReqMultiError is an error wrapping multiple validation errors returned by RefreshTokenReq.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenReqMultiError) AllErrors ¶
func (m RefreshTokenReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenReqMultiError) Error ¶
func (m RefreshTokenReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenReqValidationError ¶
type RefreshTokenReqValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenReqValidationError is the validation error returned by RefreshTokenReq.Validate if the designated constraints aren't met.
func (RefreshTokenReqValidationError) Cause ¶
func (e RefreshTokenReqValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenReqValidationError) Error ¶
func (e RefreshTokenReqValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenReqValidationError) ErrorName ¶
func (e RefreshTokenReqValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenReqValidationError) Field ¶
func (e RefreshTokenReqValidationError) Field() string
Field function returns field value.
func (RefreshTokenReqValidationError) Key ¶
func (e RefreshTokenReqValidationError) Key() bool
Key function returns key value.
func (RefreshTokenReqValidationError) Reason ¶
func (e RefreshTokenReqValidationError) Reason() string
Reason function returns reason value.
type Session ¶
type Session struct { Contexts map[string]*AuthContext `` /* 157-byte string literal not displayed */ CurrentContext string `protobuf:"bytes,4,opt,name=current_context,json=currentContext,proto3" json:"current_context,omitempty"` AdminContexts map[string]*AuthContext `` /* 188-byte string literal not displayed */ CurrentAdminContext string `protobuf:"bytes,6,opt,name=current_admin_context,json=currentAdminContext,proto3" json:"current_admin_context,omitempty"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetAdminContexts ¶
func (x *Session) GetAdminContexts() map[string]*AuthContext
func (*Session) GetContexts ¶
func (x *Session) GetContexts() map[string]*AuthContext
func (*Session) GetCurrentAdminContext ¶
func (*Session) GetCurrentContext ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
func (*Session) Validate ¶
Validate checks the field values on Session with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Session) ValidateAll ¶
ValidateAll checks the field values on Session with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SessionMultiError, or nil if none found.
type SessionMultiError ¶
type SessionMultiError []error
SessionMultiError is an error wrapping multiple validation errors returned by Session.ValidateAll() if the designated constraints aren't met.
func (SessionMultiError) AllErrors ¶
func (m SessionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SessionMultiError) Error ¶
func (m SessionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SessionValidationError ¶
type SessionValidationError struct {
// contains filtered or unexported fields
}
SessionValidationError is the validation error returned by Session.Validate if the designated constraints aren't met.
func (SessionValidationError) Cause ¶
func (e SessionValidationError) Cause() error
Cause function returns cause value.
func (SessionValidationError) Error ¶
func (e SessionValidationError) Error() string
Error satisfies the builtin error interface
func (SessionValidationError) ErrorName ¶
func (e SessionValidationError) ErrorName() string
ErrorName returns error name.
func (SessionValidationError) Field ¶
func (e SessionValidationError) Field() string
Field function returns field value.
func (SessionValidationError) Key ¶
func (e SessionValidationError) Key() bool
Key function returns key value.
func (SessionValidationError) Reason ¶
func (e SessionValidationError) Reason() string
Reason function returns reason value.
type UnimplementedApiTokenManagerServer ¶
type UnimplementedApiTokenManagerServer struct { }
UnimplementedApiTokenManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedApiTokenManagerServer) CreateOrgApiToken ¶
func (UnimplementedApiTokenManagerServer) CreateOrgApiToken(context.Context, *Empty) (*CreateOrgApiTokenResp, error)
func (UnimplementedApiTokenManagerServer) CreateOrgApiToken2 ¶
func (UnimplementedApiTokenManagerServer) CreateOrgApiToken2(context.Context, *CreateOrgApiTokenReq) (*CreateOrgApiTokenResp, error)
func (UnimplementedApiTokenManagerServer) DeleteOrgApiToken ¶
func (UnimplementedApiTokenManagerServer) DeleteOrgApiToken(context.Context, *DeleteOrgApiTokenReq) (*DeleteOrgApiTokenResp, error)
func (UnimplementedApiTokenManagerServer) ListOrgApiTokens ¶
func (UnimplementedApiTokenManagerServer) ListOrgApiTokens(context.Context, *ListOrgApiTokensReq) (*ListOrgApiTokensResp, error)
type UnimplementedAuthManagerServer ¶
type UnimplementedAuthManagerServer struct { }
UnimplementedAuthManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthManagerServer) CliAuth ¶
func (UnimplementedAuthManagerServer) CliAuth(*CliAuthReq, AuthManager_CliAuthServer) error
func (UnimplementedAuthManagerServer) GetAuthToken ¶
func (UnimplementedAuthManagerServer) GetAuthToken(context.Context, *GetTokenRequest) (*GetAuthTokenResp, error)
func (UnimplementedAuthManagerServer) GetAuthUrl ¶
func (UnimplementedAuthManagerServer) GetAuthUrl(context.Context, *GetAuthUrlRequest) (*GetAuthUrlResponse, error)
func (UnimplementedAuthManagerServer) RefreshToken ¶
func (UnimplementedAuthManagerServer) RefreshToken(context.Context, *RefreshTokenReq) (*GetAuthTokenResp, error)
type UnimplementedAuthSessionManagerServer ¶
type UnimplementedAuthSessionManagerServer struct { }
UnimplementedAuthSessionManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthSessionManagerServer) Logout ¶ added in v0.3.11
func (UnimplementedAuthSessionManagerServer) Logout(context.Context, *LogoutReq) (*LogoutResp, error)
type UnsafeApiTokenManagerServer ¶
type UnsafeApiTokenManagerServer interface {
// contains filtered or unexported methods
}
UnsafeApiTokenManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiTokenManagerServer will result in compilation errors.
type UnsafeAuthManagerServer ¶
type UnsafeAuthManagerServer interface {
// contains filtered or unexported methods
}
UnsafeAuthManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthManagerServer will result in compilation errors.
type UnsafeAuthSessionManagerServer ¶
type UnsafeAuthSessionManagerServer interface {
// contains filtered or unexported methods
}
UnsafeAuthSessionManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthSessionManagerServer will result in compilation errors.