Documentation ¶
Index ¶
- Variables
- func RegisterV1Server(s grpc.ServiceRegistrar, srv V1Server)
- type ApiKey
- func (*ApiKey) Descriptor() ([]byte, []int)deprecated
- func (x *ApiKey) GetCreated() int64
- func (x *ApiKey) GetId() string
- func (x *ApiKey) GetKey() string
- func (x *ApiKey) GetName() string
- func (x *ApiKey) GetUpdated() int64
- func (*ApiKey) ProtoMessage()
- func (x *ApiKey) ProtoReflect() protoreflect.Message
- func (x *ApiKey) Reset()
- func (x *ApiKey) String() string
- func (m *ApiKey) Validate() error
- type ApiKeyValidationError
- type CreateCredResponse
- func (*CreateCredResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredResponse) GetExpires() int64
- func (x *CreateCredResponse) GetToken() string
- func (*CreateCredResponse) ProtoMessage()
- func (x *CreateCredResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCredResponse) Reset()
- func (x *CreateCredResponse) String() string
- func (m *CreateCredResponse) Validate() error
- type CreateCredResponseValidationError
- func (e CreateCredResponseValidationError) Cause() error
- func (e CreateCredResponseValidationError) Error() string
- func (e CreateCredResponseValidationError) ErrorName() string
- func (e CreateCredResponseValidationError) Field() string
- func (e CreateCredResponseValidationError) Key() bool
- func (e CreateCredResponseValidationError) Reason() string
- type CreateDestinationRequest
- func (*CreateDestinationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDestinationRequest) GetKubernetes() *CreateDestinationRequest_Kubernetes
- func (x *CreateDestinationRequest) GetName() string
- func (x *CreateDestinationRequest) GetType() DestinationType
- func (*CreateDestinationRequest) ProtoMessage()
- func (x *CreateDestinationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDestinationRequest) Reset()
- func (x *CreateDestinationRequest) String() string
- func (m *CreateDestinationRequest) Validate() error
- type CreateDestinationRequestValidationError
- func (e CreateDestinationRequestValidationError) Cause() error
- func (e CreateDestinationRequestValidationError) Error() string
- func (e CreateDestinationRequestValidationError) ErrorName() string
- func (e CreateDestinationRequestValidationError) Field() string
- func (e CreateDestinationRequestValidationError) Key() bool
- func (e CreateDestinationRequestValidationError) Reason() string
- type CreateDestinationRequest_Kubernetes
- func (*CreateDestinationRequest_Kubernetes) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDestinationRequest_Kubernetes) GetCa() string
- func (x *CreateDestinationRequest_Kubernetes) GetEndpoint() string
- func (x *CreateDestinationRequest_Kubernetes) GetNamespace() string
- func (*CreateDestinationRequest_Kubernetes) ProtoMessage()
- func (x *CreateDestinationRequest_Kubernetes) ProtoReflect() protoreflect.Message
- func (x *CreateDestinationRequest_Kubernetes) Reset()
- func (x *CreateDestinationRequest_Kubernetes) String() string
- func (m *CreateDestinationRequest_Kubernetes) Validate() error
- type CreateDestinationRequest_KubernetesValidationError
- func (e CreateDestinationRequest_KubernetesValidationError) Cause() error
- func (e CreateDestinationRequest_KubernetesValidationError) Error() string
- func (e CreateDestinationRequest_KubernetesValidationError) ErrorName() string
- func (e CreateDestinationRequest_KubernetesValidationError) Field() string
- func (e CreateDestinationRequest_KubernetesValidationError) Key() bool
- func (e CreateDestinationRequest_KubernetesValidationError) Reason() string
- type CreateSourceRequest
- func (*CreateSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSourceRequest) GetOkta() *CreateSourceRequest_Okta
- func (x *CreateSourceRequest) GetType() SourceType
- func (*CreateSourceRequest) ProtoMessage()
- func (x *CreateSourceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSourceRequest) Reset()
- func (x *CreateSourceRequest) String() string
- func (m *CreateSourceRequest) Validate() error
- type CreateSourceRequestValidationError
- func (e CreateSourceRequestValidationError) Cause() error
- func (e CreateSourceRequestValidationError) Error() string
- func (e CreateSourceRequestValidationError) ErrorName() string
- func (e CreateSourceRequestValidationError) Field() string
- func (e CreateSourceRequestValidationError) Key() bool
- func (e CreateSourceRequestValidationError) Reason() string
- type CreateSourceRequest_Okta
- func (*CreateSourceRequest_Okta) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSourceRequest_Okta) GetApiToken() string
- func (x *CreateSourceRequest_Okta) GetClientId() string
- func (x *CreateSourceRequest_Okta) GetClientSecret() string
- func (x *CreateSourceRequest_Okta) GetDomain() string
- func (*CreateSourceRequest_Okta) ProtoMessage()
- func (x *CreateSourceRequest_Okta) ProtoReflect() protoreflect.Message
- func (x *CreateSourceRequest_Okta) Reset()
- func (x *CreateSourceRequest_Okta) String() string
- func (m *CreateSourceRequest_Okta) Validate() error
- type CreateSourceRequest_OktaValidationError
- func (e CreateSourceRequest_OktaValidationError) Cause() error
- func (e CreateSourceRequest_OktaValidationError) Error() string
- func (e CreateSourceRequest_OktaValidationError) ErrorName() string
- func (e CreateSourceRequest_OktaValidationError) Field() string
- func (e CreateSourceRequest_OktaValidationError) Key() bool
- func (e CreateSourceRequest_OktaValidationError) Reason() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetPassword() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() error
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type DeleteSourceRequest
- func (*DeleteSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSourceRequest) GetId() string
- func (*DeleteSourceRequest) ProtoMessage()
- func (x *DeleteSourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSourceRequest) Reset()
- func (x *DeleteSourceRequest) String() string
- func (m *DeleteSourceRequest) Validate() error
- type DeleteSourceRequestValidationError
- func (e DeleteSourceRequestValidationError) Cause() error
- func (e DeleteSourceRequestValidationError) Error() string
- func (e DeleteSourceRequestValidationError) ErrorName() string
- func (e DeleteSourceRequestValidationError) Field() string
- func (e DeleteSourceRequestValidationError) Key() bool
- func (e DeleteSourceRequestValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetId() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type Destination
- func (*Destination) Descriptor() ([]byte, []int)deprecated
- func (x *Destination) GetCreated() int64
- func (x *Destination) GetId() string
- func (x *Destination) GetKubernetes() *Destination_Kubernetes
- func (x *Destination) GetName() string
- func (x *Destination) GetType() DestinationType
- func (x *Destination) GetUpdated() int64
- func (*Destination) ProtoMessage()
- func (x *Destination) ProtoReflect() protoreflect.Message
- func (x *Destination) Reset()
- func (x *Destination) String() string
- func (m *Destination) Validate() error
- type DestinationType
- func (DestinationType) Descriptor() protoreflect.EnumDescriptor
- func (x DestinationType) Enum() *DestinationType
- func (DestinationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DestinationType) Number() protoreflect.EnumNumber
- func (x DestinationType) String() string
- func (DestinationType) Type() protoreflect.EnumType
- type DestinationValidationError
- func (e DestinationValidationError) Cause() error
- func (e DestinationValidationError) Error() string
- func (e DestinationValidationError) ErrorName() string
- func (e DestinationValidationError) Field() string
- func (e DestinationValidationError) Key() bool
- func (e DestinationValidationError) Reason() string
- type Destination_Kubernetes
- func (*Destination_Kubernetes) Descriptor() ([]byte, []int)deprecated
- func (x *Destination_Kubernetes) GetCa() string
- func (x *Destination_Kubernetes) GetEndpoint() string
- func (x *Destination_Kubernetes) GetNamespace() string
- func (*Destination_Kubernetes) ProtoMessage()
- func (x *Destination_Kubernetes) ProtoReflect() protoreflect.Message
- func (x *Destination_Kubernetes) Reset()
- func (x *Destination_Kubernetes) String() string
- func (m *Destination_Kubernetes) Validate() error
- type Destination_KubernetesValidationError
- func (e Destination_KubernetesValidationError) Cause() error
- func (e Destination_KubernetesValidationError) Error() string
- func (e Destination_KubernetesValidationError) ErrorName() string
- func (e Destination_KubernetesValidationError) Field() string
- func (e Destination_KubernetesValidationError) Key() bool
- func (e Destination_KubernetesValidationError) Reason() string
- type ListApiKeyResponse
- func (*ListApiKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiKeyResponse) GetApiKeys() []*ApiKey
- func (*ListApiKeyResponse) ProtoMessage()
- func (x *ListApiKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ListApiKeyResponse) Reset()
- func (x *ListApiKeyResponse) String() string
- func (m *ListApiKeyResponse) Validate() error
- type ListApiKeyResponseValidationError
- func (e ListApiKeyResponseValidationError) Cause() error
- func (e ListApiKeyResponseValidationError) Error() string
- func (e ListApiKeyResponseValidationError) ErrorName() string
- func (e ListApiKeyResponseValidationError) Field() string
- func (e ListApiKeyResponseValidationError) Key() bool
- func (e ListApiKeyResponseValidationError) Reason() string
- type ListDestinationsResponse
- func (*ListDestinationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDestinationsResponse) GetDestinations() []*Destination
- func (*ListDestinationsResponse) ProtoMessage()
- func (x *ListDestinationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDestinationsResponse) Reset()
- func (x *ListDestinationsResponse) String() string
- func (m *ListDestinationsResponse) Validate() error
- type ListDestinationsResponseValidationError
- func (e ListDestinationsResponseValidationError) Cause() error
- func (e ListDestinationsResponseValidationError) Error() string
- func (e ListDestinationsResponseValidationError) ErrorName() string
- func (e ListDestinationsResponseValidationError) Field() string
- func (e ListDestinationsResponseValidationError) Key() bool
- func (e ListDestinationsResponseValidationError) Reason() string
- type ListPermissionsRequest
- func (*ListPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsRequest) GetDestinationId() string
- func (*ListPermissionsRequest) ProtoMessage()
- func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsRequest) Reset()
- func (x *ListPermissionsRequest) String() string
- func (m *ListPermissionsRequest) Validate() error
- type ListPermissionsRequestValidationError
- func (e ListPermissionsRequestValidationError) Cause() error
- func (e ListPermissionsRequestValidationError) Error() string
- func (e ListPermissionsRequestValidationError) ErrorName() string
- func (e ListPermissionsRequestValidationError) Field() string
- func (e ListPermissionsRequestValidationError) Key() bool
- func (e ListPermissionsRequestValidationError) Reason() string
- type ListPermissionsResponse
- func (*ListPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsResponse) GetPermissions() []*Permission
- func (*ListPermissionsResponse) ProtoMessage()
- func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsResponse) Reset()
- func (x *ListPermissionsResponse) String() string
- func (m *ListPermissionsResponse) Validate() error
- type ListPermissionsResponseValidationError
- func (e ListPermissionsResponseValidationError) Cause() error
- func (e ListPermissionsResponseValidationError) Error() string
- func (e ListPermissionsResponseValidationError) ErrorName() string
- func (e ListPermissionsResponseValidationError) Field() string
- func (e ListPermissionsResponseValidationError) Key() bool
- func (e ListPermissionsResponseValidationError) Reason() string
- type ListSourcesResponse
- func (*ListSourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSourcesResponse) GetSources() []*Source
- func (*ListSourcesResponse) ProtoMessage()
- func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSourcesResponse) Reset()
- func (x *ListSourcesResponse) String() string
- func (m *ListSourcesResponse) Validate() error
- type ListSourcesResponseValidationError
- func (e ListSourcesResponseValidationError) Cause() error
- func (e ListSourcesResponseValidationError) Error() string
- func (e ListSourcesResponseValidationError) ErrorName() string
- func (e ListSourcesResponseValidationError) Field() string
- func (e ListSourcesResponseValidationError) Key() bool
- func (e ListSourcesResponseValidationError) Reason() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetEmail() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- func (m *ListUsersRequest) Validate() error
- type ListUsersRequestValidationError
- func (e ListUsersRequestValidationError) Cause() error
- func (e ListUsersRequestValidationError) Error() string
- func (e ListUsersRequestValidationError) ErrorName() string
- func (e ListUsersRequestValidationError) Field() string
- func (e ListUsersRequestValidationError) Key() bool
- func (e ListUsersRequestValidationError) Reason() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- func (m *ListUsersResponse) Validate() error
- type ListUsersResponseValidationError
- func (e ListUsersResponseValidationError) Cause() error
- func (e ListUsersResponseValidationError) Error() string
- func (e ListUsersResponseValidationError) ErrorName() string
- func (e ListUsersResponseValidationError) Field() string
- func (e ListUsersResponseValidationError) Key() bool
- func (e ListUsersResponseValidationError) Reason() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetInfra() *LoginRequest_Infra
- func (x *LoginRequest) GetOkta() *LoginRequest_Okta
- func (x *LoginRequest) GetType() SourceType
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginRequest_Infra
- func (*LoginRequest_Infra) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest_Infra) GetEmail() string
- func (x *LoginRequest_Infra) GetPassword() string
- func (*LoginRequest_Infra) ProtoMessage()
- func (x *LoginRequest_Infra) ProtoReflect() protoreflect.Message
- func (x *LoginRequest_Infra) Reset()
- func (x *LoginRequest_Infra) String() string
- func (m *LoginRequest_Infra) Validate() error
- type LoginRequest_InfraValidationError
- func (e LoginRequest_InfraValidationError) Cause() error
- func (e LoginRequest_InfraValidationError) Error() string
- func (e LoginRequest_InfraValidationError) ErrorName() string
- func (e LoginRequest_InfraValidationError) Field() string
- func (e LoginRequest_InfraValidationError) Key() bool
- func (e LoginRequest_InfraValidationError) Reason() string
- type LoginRequest_Okta
- func (*LoginRequest_Okta) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest_Okta) GetCode() string
- func (x *LoginRequest_Okta) GetDomain() string
- func (*LoginRequest_Okta) ProtoMessage()
- func (x *LoginRequest_Okta) ProtoReflect() protoreflect.Message
- func (x *LoginRequest_Okta) Reset()
- func (x *LoginRequest_Okta) String() string
- func (m *LoginRequest_Okta) Validate() error
- type LoginRequest_OktaValidationError
- func (e LoginRequest_OktaValidationError) Cause() error
- func (e LoginRequest_OktaValidationError) Error() string
- func (e LoginRequest_OktaValidationError) ErrorName() string
- func (e LoginRequest_OktaValidationError) Field() string
- func (e LoginRequest_OktaValidationError) Key() bool
- func (e LoginRequest_OktaValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetToken() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetCreated() int64
- func (x *Permission) GetDestination() *Destination
- func (x *Permission) GetId() string
- func (x *Permission) GetRole() string
- func (x *Permission) GetUpdated() int64
- func (x *Permission) GetUser() *User
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- func (m *Permission) Validate() error
- type PermissionValidationError
- type SignupRequest
- func (*SignupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignupRequest) GetEmail() string
- func (x *SignupRequest) GetPassword() string
- func (*SignupRequest) ProtoMessage()
- func (x *SignupRequest) ProtoReflect() protoreflect.Message
- func (x *SignupRequest) Reset()
- func (x *SignupRequest) String() string
- func (m *SignupRequest) Validate() error
- type SignupRequestValidationError
- func (e SignupRequestValidationError) Cause() error
- func (e SignupRequestValidationError) Error() string
- func (e SignupRequestValidationError) ErrorName() string
- func (e SignupRequestValidationError) Field() string
- func (e SignupRequestValidationError) Key() bool
- func (e SignupRequestValidationError) Reason() string
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetCreated() int64
- func (x *Source) GetId() string
- func (x *Source) GetOkta() *Source_Okta
- func (x *Source) GetType() SourceType
- func (x *Source) GetUpdated() int64
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- func (m *Source) Validate() error
- type SourceType
- type SourceValidationError
- type Source_Okta
- func (*Source_Okta) Descriptor() ([]byte, []int)deprecated
- func (x *Source_Okta) GetClientId() string
- func (x *Source_Okta) GetDomain() string
- func (*Source_Okta) ProtoMessage()
- func (x *Source_Okta) ProtoReflect() protoreflect.Message
- func (x *Source_Okta) Reset()
- func (x *Source_Okta) String() string
- func (m *Source_Okta) Validate() error
- type Source_OktaValidationError
- func (e Source_OktaValidationError) Cause() error
- func (e Source_OktaValidationError) Error() string
- func (e Source_OktaValidationError) ErrorName() string
- func (e Source_OktaValidationError) Field() string
- func (e Source_OktaValidationError) Key() bool
- func (e Source_OktaValidationError) Reason() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetAdmin() bool
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- func (m *StatusResponse) Validate() error
- type StatusResponseValidationError
- func (e StatusResponseValidationError) Cause() error
- func (e StatusResponseValidationError) Error() string
- func (e StatusResponseValidationError) ErrorName() string
- func (e StatusResponseValidationError) Field() string
- func (e StatusResponseValidationError) Key() bool
- func (e StatusResponseValidationError) Reason() string
- type UnimplementedV1Server
- func (UnimplementedV1Server) CreateCred(context.Context, *emptypb.Empty) (*CreateCredResponse, error)
- func (UnimplementedV1Server) CreateDestination(context.Context, *CreateDestinationRequest) (*Destination, error)
- func (UnimplementedV1Server) CreateSource(context.Context, *CreateSourceRequest) (*Source, error)
- func (UnimplementedV1Server) CreateUser(context.Context, *CreateUserRequest) (*User, error)
- func (UnimplementedV1Server) DeleteSource(context.Context, *DeleteSourceRequest) (*emptypb.Empty, error)
- func (UnimplementedV1Server) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedV1Server) ListApiKeys(context.Context, *emptypb.Empty) (*ListApiKeyResponse, error)
- func (UnimplementedV1Server) ListDestinations(context.Context, *emptypb.Empty) (*ListDestinationsResponse, error)
- func (UnimplementedV1Server) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
- func (UnimplementedV1Server) ListSources(context.Context, *emptypb.Empty) (*ListSourcesResponse, error)
- func (UnimplementedV1Server) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedV1Server) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedV1Server) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedV1Server) Signup(context.Context, *SignupRequest) (*LoginResponse, error)
- func (UnimplementedV1Server) Status(context.Context, *emptypb.Empty) (*StatusResponse, error)
- type UnsafeV1Server
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAdmin() bool
- func (x *User) GetCreated() int64
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (x *User) GetUpdated() int64
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- type UserValidationError
- type V1Client
- type V1Server
Constants ¶
This section is empty.
Variables ¶
var ( SourceType_name = map[int32]string{ 0: "INFRA", 1: "OKTA", } SourceType_value = map[string]int32{ "INFRA": 0, "OKTA": 1, } )
Enum value maps for SourceType.
var ( DestinationType_name = map[int32]string{ 0: "KUBERNETES", } DestinationType_value = map[string]int32{ "KUBERNETES": 0, } )
Enum value maps for DestinationType.
var File_v1_proto protoreflect.FileDescriptor
var V1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.V1", HandlerType: (*V1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListUsers", Handler: _V1_ListUsers_Handler, }, { MethodName: "CreateUser", Handler: _V1_CreateUser_Handler, }, { MethodName: "DeleteUser", Handler: _V1_DeleteUser_Handler, }, { MethodName: "ListDestinations", Handler: _V1_ListDestinations_Handler, }, { MethodName: "CreateDestination", Handler: _V1_CreateDestination_Handler, }, { MethodName: "ListSources", Handler: _V1_ListSources_Handler, }, { MethodName: "CreateSource", Handler: _V1_CreateSource_Handler, }, { MethodName: "DeleteSource", Handler: _V1_DeleteSource_Handler, }, { MethodName: "ListPermissions", Handler: _V1_ListPermissions_Handler, }, { MethodName: "CreateCred", Handler: _V1_CreateCred_Handler, }, { MethodName: "ListApiKeys", Handler: _V1_ListApiKeys_Handler, }, { MethodName: "Login", Handler: _V1_Login_Handler, }, { MethodName: "Logout", Handler: _V1_Logout_Handler, }, { MethodName: "Signup", Handler: _V1_Signup_Handler, }, { MethodName: "Status", Handler: _V1_Status_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1.proto", }
V1_ServiceDesc is the grpc.ServiceDesc for V1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterV1Server ¶
func RegisterV1Server(s grpc.ServiceRegistrar, srv V1Server)
Types ¶
type ApiKey ¶
type ApiKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"` Name string `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"` Key string `protobuf:"bytes,50,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ApiKey) Descriptor
deprecated
func (*ApiKey) GetCreated ¶
func (*ApiKey) GetUpdated ¶
func (*ApiKey) ProtoMessage ¶
func (*ApiKey) ProtoMessage()
func (*ApiKey) ProtoReflect ¶
func (x *ApiKey) ProtoReflect() protoreflect.Message
type ApiKeyValidationError ¶
type ApiKeyValidationError struct {
// contains filtered or unexported fields
}
ApiKeyValidationError is the validation error returned by ApiKey.Validate if the designated constraints aren't met.
func (ApiKeyValidationError) Cause ¶
func (e ApiKeyValidationError) Cause() error
Cause function returns cause value.
func (ApiKeyValidationError) Error ¶
func (e ApiKeyValidationError) Error() string
Error satisfies the builtin error interface
func (ApiKeyValidationError) ErrorName ¶
func (e ApiKeyValidationError) ErrorName() string
ErrorName returns error name.
func (ApiKeyValidationError) Field ¶
func (e ApiKeyValidationError) Field() string
Field function returns field value.
func (ApiKeyValidationError) Key ¶
func (e ApiKeyValidationError) Key() bool
Key function returns key value.
func (ApiKeyValidationError) Reason ¶
func (e ApiKeyValidationError) Reason() string
Reason function returns reason value.
type CreateCredResponse ¶
type CreateCredResponse struct { Token string `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"` Expires int64 `protobuf:"varint,20,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*CreateCredResponse) Descriptor
deprecated
func (*CreateCredResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredResponse.ProtoReflect.Descriptor instead.
func (*CreateCredResponse) GetExpires ¶
func (x *CreateCredResponse) GetExpires() int64
func (*CreateCredResponse) GetToken ¶
func (x *CreateCredResponse) GetToken() string
func (*CreateCredResponse) ProtoMessage ¶
func (*CreateCredResponse) ProtoMessage()
func (*CreateCredResponse) ProtoReflect ¶
func (x *CreateCredResponse) ProtoReflect() protoreflect.Message
func (*CreateCredResponse) Reset ¶
func (x *CreateCredResponse) Reset()
func (*CreateCredResponse) String ¶
func (x *CreateCredResponse) String() string
func (*CreateCredResponse) Validate ¶
func (m *CreateCredResponse) Validate() error
Validate checks the field values on CreateCredResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateCredResponseValidationError ¶
type CreateCredResponseValidationError struct {
// contains filtered or unexported fields
}
CreateCredResponseValidationError is the validation error returned by CreateCredResponse.Validate if the designated constraints aren't met.
func (CreateCredResponseValidationError) Cause ¶
func (e CreateCredResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateCredResponseValidationError) Error ¶
func (e CreateCredResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCredResponseValidationError) ErrorName ¶
func (e CreateCredResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCredResponseValidationError) Field ¶
func (e CreateCredResponseValidationError) Field() string
Field function returns field value.
func (CreateCredResponseValidationError) Key ¶
func (e CreateCredResponseValidationError) Key() bool
Key function returns key value.
func (CreateCredResponseValidationError) Reason ¶
func (e CreateCredResponseValidationError) Reason() string
Reason function returns reason value.
type CreateDestinationRequest ¶
type CreateDestinationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type DestinationType `protobuf:"varint,20,opt,name=type,proto3,enum=v1.DestinationType" json:"type,omitempty"` Kubernetes *CreateDestinationRequest_Kubernetes `protobuf:"bytes,30,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"` // contains filtered or unexported fields }
func (*CreateDestinationRequest) Descriptor
deprecated
func (*CreateDestinationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDestinationRequest.ProtoReflect.Descriptor instead.
func (*CreateDestinationRequest) GetKubernetes ¶
func (x *CreateDestinationRequest) GetKubernetes() *CreateDestinationRequest_Kubernetes
func (*CreateDestinationRequest) GetName ¶
func (x *CreateDestinationRequest) GetName() string
func (*CreateDestinationRequest) GetType ¶
func (x *CreateDestinationRequest) GetType() DestinationType
func (*CreateDestinationRequest) ProtoMessage ¶
func (*CreateDestinationRequest) ProtoMessage()
func (*CreateDestinationRequest) ProtoReflect ¶
func (x *CreateDestinationRequest) ProtoReflect() protoreflect.Message
func (*CreateDestinationRequest) Reset ¶
func (x *CreateDestinationRequest) Reset()
func (*CreateDestinationRequest) String ¶
func (x *CreateDestinationRequest) String() string
func (*CreateDestinationRequest) Validate ¶
func (m *CreateDestinationRequest) Validate() error
Validate checks the field values on CreateDestinationRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateDestinationRequestValidationError ¶
type CreateDestinationRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDestinationRequestValidationError is the validation error returned by CreateDestinationRequest.Validate if the designated constraints aren't met.
func (CreateDestinationRequestValidationError) Cause ¶
func (e CreateDestinationRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDestinationRequestValidationError) Error ¶
func (e CreateDestinationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDestinationRequestValidationError) ErrorName ¶
func (e CreateDestinationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDestinationRequestValidationError) Field ¶
func (e CreateDestinationRequestValidationError) Field() string
Field function returns field value.
func (CreateDestinationRequestValidationError) Key ¶
func (e CreateDestinationRequestValidationError) Key() bool
Key function returns key value.
func (CreateDestinationRequestValidationError) Reason ¶
func (e CreateDestinationRequestValidationError) Reason() string
Reason function returns reason value.
type CreateDestinationRequest_Kubernetes ¶
type CreateDestinationRequest_Kubernetes struct { Ca string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"` Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*CreateDestinationRequest_Kubernetes) Descriptor
deprecated
func (*CreateDestinationRequest_Kubernetes) Descriptor() ([]byte, []int)
Deprecated: Use CreateDestinationRequest_Kubernetes.ProtoReflect.Descriptor instead.
func (*CreateDestinationRequest_Kubernetes) GetCa ¶
func (x *CreateDestinationRequest_Kubernetes) GetCa() string
func (*CreateDestinationRequest_Kubernetes) GetEndpoint ¶
func (x *CreateDestinationRequest_Kubernetes) GetEndpoint() string
func (*CreateDestinationRequest_Kubernetes) GetNamespace ¶ added in v0.0.7
func (x *CreateDestinationRequest_Kubernetes) GetNamespace() string
func (*CreateDestinationRequest_Kubernetes) ProtoMessage ¶
func (*CreateDestinationRequest_Kubernetes) ProtoMessage()
func (*CreateDestinationRequest_Kubernetes) ProtoReflect ¶
func (x *CreateDestinationRequest_Kubernetes) ProtoReflect() protoreflect.Message
func (*CreateDestinationRequest_Kubernetes) Reset ¶
func (x *CreateDestinationRequest_Kubernetes) Reset()
func (*CreateDestinationRequest_Kubernetes) String ¶
func (x *CreateDestinationRequest_Kubernetes) String() string
func (*CreateDestinationRequest_Kubernetes) Validate ¶
func (m *CreateDestinationRequest_Kubernetes) Validate() error
Validate checks the field values on CreateDestinationRequest_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateDestinationRequest_KubernetesValidationError ¶
type CreateDestinationRequest_KubernetesValidationError struct {
// contains filtered or unexported fields
}
CreateDestinationRequest_KubernetesValidationError is the validation error returned by CreateDestinationRequest_Kubernetes.Validate if the designated constraints aren't met.
func (CreateDestinationRequest_KubernetesValidationError) Cause ¶
func (e CreateDestinationRequest_KubernetesValidationError) Cause() error
Cause function returns cause value.
func (CreateDestinationRequest_KubernetesValidationError) Error ¶
func (e CreateDestinationRequest_KubernetesValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDestinationRequest_KubernetesValidationError) ErrorName ¶
func (e CreateDestinationRequest_KubernetesValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDestinationRequest_KubernetesValidationError) Field ¶
func (e CreateDestinationRequest_KubernetesValidationError) Field() string
Field function returns field value.
func (CreateDestinationRequest_KubernetesValidationError) Key ¶
func (e CreateDestinationRequest_KubernetesValidationError) Key() bool
Key function returns key value.
func (CreateDestinationRequest_KubernetesValidationError) Reason ¶
func (e CreateDestinationRequest_KubernetesValidationError) Reason() string
Reason function returns reason value.
type CreateSourceRequest ¶
type CreateSourceRequest struct { Type SourceType `protobuf:"varint,10,opt,name=type,proto3,enum=v1.SourceType" json:"type,omitempty"` Okta *CreateSourceRequest_Okta `protobuf:"bytes,20,opt,name=okta,proto3" json:"okta,omitempty"` // contains filtered or unexported fields }
func (*CreateSourceRequest) Descriptor
deprecated
func (*CreateSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSourceRequest.ProtoReflect.Descriptor instead.
func (*CreateSourceRequest) GetOkta ¶
func (x *CreateSourceRequest) GetOkta() *CreateSourceRequest_Okta
func (*CreateSourceRequest) GetType ¶
func (x *CreateSourceRequest) GetType() SourceType
func (*CreateSourceRequest) ProtoMessage ¶
func (*CreateSourceRequest) ProtoMessage()
func (*CreateSourceRequest) ProtoReflect ¶
func (x *CreateSourceRequest) ProtoReflect() protoreflect.Message
func (*CreateSourceRequest) Reset ¶
func (x *CreateSourceRequest) Reset()
func (*CreateSourceRequest) String ¶
func (x *CreateSourceRequest) String() string
func (*CreateSourceRequest) Validate ¶
func (m *CreateSourceRequest) Validate() error
Validate checks the field values on CreateSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateSourceRequestValidationError ¶
type CreateSourceRequestValidationError struct {
// contains filtered or unexported fields
}
CreateSourceRequestValidationError is the validation error returned by CreateSourceRequest.Validate if the designated constraints aren't met.
func (CreateSourceRequestValidationError) Cause ¶
func (e CreateSourceRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateSourceRequestValidationError) Error ¶
func (e CreateSourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSourceRequestValidationError) ErrorName ¶
func (e CreateSourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSourceRequestValidationError) Field ¶
func (e CreateSourceRequestValidationError) Field() string
Field function returns field value.
func (CreateSourceRequestValidationError) Key ¶
func (e CreateSourceRequestValidationError) Key() bool
Key function returns key value.
func (CreateSourceRequestValidationError) Reason ¶
func (e CreateSourceRequestValidationError) Reason() string
Reason function returns reason value.
type CreateSourceRequest_Okta ¶
type CreateSourceRequest_Okta struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` ApiToken string `protobuf:"bytes,4,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"` // contains filtered or unexported fields }
func (*CreateSourceRequest_Okta) Descriptor
deprecated
func (*CreateSourceRequest_Okta) Descriptor() ([]byte, []int)
Deprecated: Use CreateSourceRequest_Okta.ProtoReflect.Descriptor instead.
func (*CreateSourceRequest_Okta) GetApiToken ¶
func (x *CreateSourceRequest_Okta) GetApiToken() string
func (*CreateSourceRequest_Okta) GetClientId ¶
func (x *CreateSourceRequest_Okta) GetClientId() string
func (*CreateSourceRequest_Okta) GetClientSecret ¶
func (x *CreateSourceRequest_Okta) GetClientSecret() string
func (*CreateSourceRequest_Okta) GetDomain ¶
func (x *CreateSourceRequest_Okta) GetDomain() string
func (*CreateSourceRequest_Okta) ProtoMessage ¶
func (*CreateSourceRequest_Okta) ProtoMessage()
func (*CreateSourceRequest_Okta) ProtoReflect ¶
func (x *CreateSourceRequest_Okta) ProtoReflect() protoreflect.Message
func (*CreateSourceRequest_Okta) Reset ¶
func (x *CreateSourceRequest_Okta) Reset()
func (*CreateSourceRequest_Okta) String ¶
func (x *CreateSourceRequest_Okta) String() string
func (*CreateSourceRequest_Okta) Validate ¶
func (m *CreateSourceRequest_Okta) Validate() error
Validate checks the field values on CreateSourceRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateSourceRequest_OktaValidationError ¶
type CreateSourceRequest_OktaValidationError struct {
// contains filtered or unexported fields
}
CreateSourceRequest_OktaValidationError is the validation error returned by CreateSourceRequest_Okta.Validate if the designated constraints aren't met.
func (CreateSourceRequest_OktaValidationError) Cause ¶
func (e CreateSourceRequest_OktaValidationError) Cause() error
Cause function returns cause value.
func (CreateSourceRequest_OktaValidationError) Error ¶
func (e CreateSourceRequest_OktaValidationError) Error() string
Error satisfies the builtin error interface
func (CreateSourceRequest_OktaValidationError) ErrorName ¶
func (e CreateSourceRequest_OktaValidationError) ErrorName() string
ErrorName returns error name.
func (CreateSourceRequest_OktaValidationError) Field ¶
func (e CreateSourceRequest_OktaValidationError) Field() string
Field function returns field value.
func (CreateSourceRequest_OktaValidationError) Key ¶
func (e CreateSourceRequest_OktaValidationError) Key() bool
Key function returns key value.
func (CreateSourceRequest_OktaValidationError) Reason ¶
func (e CreateSourceRequest_OktaValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() error
Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateUserRequestValidationError ¶
type CreateUserRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
func (CreateUserRequestValidationError) Cause ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteSourceRequest ¶
type DeleteSourceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSourceRequest) Descriptor
deprecated
func (*DeleteSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteSourceRequest) GetId ¶
func (x *DeleteSourceRequest) GetId() string
func (*DeleteSourceRequest) ProtoMessage ¶
func (*DeleteSourceRequest) ProtoMessage()
func (*DeleteSourceRequest) ProtoReflect ¶
func (x *DeleteSourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteSourceRequest) Reset ¶
func (x *DeleteSourceRequest) Reset()
func (*DeleteSourceRequest) String ¶
func (x *DeleteSourceRequest) String() string
func (*DeleteSourceRequest) Validate ¶
func (m *DeleteSourceRequest) Validate() error
Validate checks the field values on DeleteSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteSourceRequestValidationError ¶
type DeleteSourceRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteSourceRequestValidationError is the validation error returned by DeleteSourceRequest.Validate if the designated constraints aren't met.
func (DeleteSourceRequestValidationError) Cause ¶
func (e DeleteSourceRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteSourceRequestValidationError) Error ¶
func (e DeleteSourceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteSourceRequestValidationError) ErrorName ¶
func (e DeleteSourceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteSourceRequestValidationError) Field ¶
func (e DeleteSourceRequestValidationError) Field() string
Field function returns field value.
func (DeleteSourceRequestValidationError) Key ¶
func (e DeleteSourceRequestValidationError) Key() bool
Key function returns key value.
func (DeleteSourceRequestValidationError) Reason ¶
func (e DeleteSourceRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type Destination ¶
type Destination struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Type DestinationType `protobuf:"varint,50,opt,name=type,proto3,enum=v1.DestinationType" json:"type,omitempty"` Kubernetes *Destination_Kubernetes `protobuf:"bytes,60,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"` // contains filtered or unexported fields }
func (*Destination) Descriptor
deprecated
func (*Destination) Descriptor() ([]byte, []int)
Deprecated: Use Destination.ProtoReflect.Descriptor instead.
func (*Destination) GetCreated ¶
func (x *Destination) GetCreated() int64
func (*Destination) GetId ¶
func (x *Destination) GetId() string
func (*Destination) GetKubernetes ¶
func (x *Destination) GetKubernetes() *Destination_Kubernetes
func (*Destination) GetName ¶
func (x *Destination) GetName() string
func (*Destination) GetType ¶
func (x *Destination) GetType() DestinationType
func (*Destination) GetUpdated ¶
func (x *Destination) GetUpdated() int64
func (*Destination) ProtoMessage ¶
func (*Destination) ProtoMessage()
func (*Destination) ProtoReflect ¶
func (x *Destination) ProtoReflect() protoreflect.Message
func (*Destination) Reset ¶
func (x *Destination) Reset()
func (*Destination) String ¶
func (x *Destination) String() string
func (*Destination) Validate ¶
func (m *Destination) Validate() error
Validate checks the field values on Destination with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DestinationType ¶
type DestinationType int32
const (
DestinationType_KUBERNETES DestinationType = 0
)
func (DestinationType) Descriptor ¶
func (DestinationType) Descriptor() protoreflect.EnumDescriptor
func (DestinationType) Enum ¶
func (x DestinationType) Enum() *DestinationType
func (DestinationType) EnumDescriptor
deprecated
func (DestinationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DestinationType.Descriptor instead.
func (DestinationType) Number ¶
func (x DestinationType) Number() protoreflect.EnumNumber
func (DestinationType) String ¶
func (x DestinationType) String() string
func (DestinationType) Type ¶
func (DestinationType) Type() protoreflect.EnumType
type DestinationValidationError ¶
type DestinationValidationError struct {
// contains filtered or unexported fields
}
DestinationValidationError is the validation error returned by Destination.Validate if the designated constraints aren't met.
func (DestinationValidationError) Cause ¶
func (e DestinationValidationError) Cause() error
Cause function returns cause value.
func (DestinationValidationError) Error ¶
func (e DestinationValidationError) Error() string
Error satisfies the builtin error interface
func (DestinationValidationError) ErrorName ¶
func (e DestinationValidationError) ErrorName() string
ErrorName returns error name.
func (DestinationValidationError) Field ¶
func (e DestinationValidationError) Field() string
Field function returns field value.
func (DestinationValidationError) Key ¶
func (e DestinationValidationError) Key() bool
Key function returns key value.
func (DestinationValidationError) Reason ¶
func (e DestinationValidationError) Reason() string
Reason function returns reason value.
type Destination_Kubernetes ¶
type Destination_Kubernetes struct { Ca string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"` Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*Destination_Kubernetes) Descriptor
deprecated
func (*Destination_Kubernetes) Descriptor() ([]byte, []int)
Deprecated: Use Destination_Kubernetes.ProtoReflect.Descriptor instead.
func (*Destination_Kubernetes) GetCa ¶
func (x *Destination_Kubernetes) GetCa() string
func (*Destination_Kubernetes) GetEndpoint ¶
func (x *Destination_Kubernetes) GetEndpoint() string
func (*Destination_Kubernetes) GetNamespace ¶ added in v0.0.7
func (x *Destination_Kubernetes) GetNamespace() string
func (*Destination_Kubernetes) ProtoMessage ¶
func (*Destination_Kubernetes) ProtoMessage()
func (*Destination_Kubernetes) ProtoReflect ¶
func (x *Destination_Kubernetes) ProtoReflect() protoreflect.Message
func (*Destination_Kubernetes) Reset ¶
func (x *Destination_Kubernetes) Reset()
func (*Destination_Kubernetes) String ¶
func (x *Destination_Kubernetes) String() string
func (*Destination_Kubernetes) Validate ¶
func (m *Destination_Kubernetes) Validate() error
Validate checks the field values on Destination_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type Destination_KubernetesValidationError ¶
type Destination_KubernetesValidationError struct {
// contains filtered or unexported fields
}
Destination_KubernetesValidationError is the validation error returned by Destination_Kubernetes.Validate if the designated constraints aren't met.
func (Destination_KubernetesValidationError) Cause ¶
func (e Destination_KubernetesValidationError) Cause() error
Cause function returns cause value.
func (Destination_KubernetesValidationError) Error ¶
func (e Destination_KubernetesValidationError) Error() string
Error satisfies the builtin error interface
func (Destination_KubernetesValidationError) ErrorName ¶
func (e Destination_KubernetesValidationError) ErrorName() string
ErrorName returns error name.
func (Destination_KubernetesValidationError) Field ¶
func (e Destination_KubernetesValidationError) Field() string
Field function returns field value.
func (Destination_KubernetesValidationError) Key ¶
func (e Destination_KubernetesValidationError) Key() bool
Key function returns key value.
func (Destination_KubernetesValidationError) Reason ¶
func (e Destination_KubernetesValidationError) Reason() string
Reason function returns reason value.
type ListApiKeyResponse ¶
type ListApiKeyResponse struct { ApiKeys []*ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` // contains filtered or unexported fields }
func (*ListApiKeyResponse) Descriptor
deprecated
func (*ListApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApiKeyResponse.ProtoReflect.Descriptor instead.
func (*ListApiKeyResponse) GetApiKeys ¶
func (x *ListApiKeyResponse) GetApiKeys() []*ApiKey
func (*ListApiKeyResponse) ProtoMessage ¶
func (*ListApiKeyResponse) ProtoMessage()
func (*ListApiKeyResponse) ProtoReflect ¶
func (x *ListApiKeyResponse) ProtoReflect() protoreflect.Message
func (*ListApiKeyResponse) Reset ¶
func (x *ListApiKeyResponse) Reset()
func (*ListApiKeyResponse) String ¶
func (x *ListApiKeyResponse) String() string
func (*ListApiKeyResponse) Validate ¶
func (m *ListApiKeyResponse) Validate() error
Validate checks the field values on ListApiKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListApiKeyResponseValidationError ¶
type ListApiKeyResponseValidationError struct {
// contains filtered or unexported fields
}
ListApiKeyResponseValidationError is the validation error returned by ListApiKeyResponse.Validate if the designated constraints aren't met.
func (ListApiKeyResponseValidationError) Cause ¶
func (e ListApiKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (ListApiKeyResponseValidationError) Error ¶
func (e ListApiKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListApiKeyResponseValidationError) ErrorName ¶
func (e ListApiKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListApiKeyResponseValidationError) Field ¶
func (e ListApiKeyResponseValidationError) Field() string
Field function returns field value.
func (ListApiKeyResponseValidationError) Key ¶
func (e ListApiKeyResponseValidationError) Key() bool
Key function returns key value.
func (ListApiKeyResponseValidationError) Reason ¶
func (e ListApiKeyResponseValidationError) Reason() string
Reason function returns reason value.
type ListDestinationsResponse ¶
type ListDestinationsResponse struct { Destinations []*Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"` // contains filtered or unexported fields }
func (*ListDestinationsResponse) Descriptor
deprecated
func (*ListDestinationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDestinationsResponse.ProtoReflect.Descriptor instead.
func (*ListDestinationsResponse) GetDestinations ¶
func (x *ListDestinationsResponse) GetDestinations() []*Destination
func (*ListDestinationsResponse) ProtoMessage ¶
func (*ListDestinationsResponse) ProtoMessage()
func (*ListDestinationsResponse) ProtoReflect ¶
func (x *ListDestinationsResponse) ProtoReflect() protoreflect.Message
func (*ListDestinationsResponse) Reset ¶
func (x *ListDestinationsResponse) Reset()
func (*ListDestinationsResponse) String ¶
func (x *ListDestinationsResponse) String() string
func (*ListDestinationsResponse) Validate ¶
func (m *ListDestinationsResponse) Validate() error
Validate checks the field values on ListDestinationsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListDestinationsResponseValidationError ¶
type ListDestinationsResponseValidationError struct {
// contains filtered or unexported fields
}
ListDestinationsResponseValidationError is the validation error returned by ListDestinationsResponse.Validate if the designated constraints aren't met.
func (ListDestinationsResponseValidationError) Cause ¶
func (e ListDestinationsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDestinationsResponseValidationError) Error ¶
func (e ListDestinationsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDestinationsResponseValidationError) ErrorName ¶
func (e ListDestinationsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDestinationsResponseValidationError) Field ¶
func (e ListDestinationsResponseValidationError) Field() string
Field function returns field value.
func (ListDestinationsResponseValidationError) Key ¶
func (e ListDestinationsResponseValidationError) Key() bool
Key function returns key value.
func (ListDestinationsResponseValidationError) Reason ¶
func (e ListDestinationsResponseValidationError) Reason() string
Reason function returns reason value.
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { DestinationId string `protobuf:"bytes,10,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // contains filtered or unexported fields }
func (*ListPermissionsRequest) Descriptor
deprecated
func (*ListPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.
func (*ListPermissionsRequest) GetDestinationId ¶
func (x *ListPermissionsRequest) GetDestinationId() string
func (*ListPermissionsRequest) ProtoMessage ¶
func (*ListPermissionsRequest) ProtoMessage()
func (*ListPermissionsRequest) ProtoReflect ¶
func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message
func (*ListPermissionsRequest) Reset ¶
func (x *ListPermissionsRequest) Reset()
func (*ListPermissionsRequest) String ¶
func (x *ListPermissionsRequest) String() string
func (*ListPermissionsRequest) Validate ¶
func (m *ListPermissionsRequest) Validate() error
Validate checks the field values on ListPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListPermissionsRequestValidationError ¶
type ListPermissionsRequestValidationError struct {
// contains filtered or unexported fields
}
ListPermissionsRequestValidationError is the validation error returned by ListPermissionsRequest.Validate if the designated constraints aren't met.
func (ListPermissionsRequestValidationError) Cause ¶
func (e ListPermissionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListPermissionsRequestValidationError) Error ¶
func (e ListPermissionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListPermissionsRequestValidationError) ErrorName ¶
func (e ListPermissionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListPermissionsRequestValidationError) Field ¶
func (e ListPermissionsRequestValidationError) Field() string
Field function returns field value.
func (ListPermissionsRequestValidationError) Key ¶
func (e ListPermissionsRequestValidationError) Key() bool
Key function returns key value.
func (ListPermissionsRequestValidationError) Reason ¶
func (e ListPermissionsRequestValidationError) Reason() string
Reason function returns reason value.
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*ListPermissionsResponse) Descriptor
deprecated
func (*ListPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.
func (*ListPermissionsResponse) GetPermissions ¶
func (x *ListPermissionsResponse) GetPermissions() []*Permission
func (*ListPermissionsResponse) ProtoMessage ¶
func (*ListPermissionsResponse) ProtoMessage()
func (*ListPermissionsResponse) ProtoReflect ¶
func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
func (*ListPermissionsResponse) Reset ¶
func (x *ListPermissionsResponse) Reset()
func (*ListPermissionsResponse) String ¶
func (x *ListPermissionsResponse) String() string
func (*ListPermissionsResponse) Validate ¶
func (m *ListPermissionsResponse) Validate() error
Validate checks the field values on ListPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListPermissionsResponseValidationError ¶
type ListPermissionsResponseValidationError struct {
// contains filtered or unexported fields
}
ListPermissionsResponseValidationError is the validation error returned by ListPermissionsResponse.Validate if the designated constraints aren't met.
func (ListPermissionsResponseValidationError) Cause ¶
func (e ListPermissionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListPermissionsResponseValidationError) Error ¶
func (e ListPermissionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListPermissionsResponseValidationError) ErrorName ¶
func (e ListPermissionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListPermissionsResponseValidationError) Field ¶
func (e ListPermissionsResponseValidationError) Field() string
Field function returns field value.
func (ListPermissionsResponseValidationError) Key ¶
func (e ListPermissionsResponseValidationError) Key() bool
Key function returns key value.
func (ListPermissionsResponseValidationError) Reason ¶
func (e ListPermissionsResponseValidationError) Reason() string
Reason function returns reason value.
type ListSourcesResponse ¶
type ListSourcesResponse struct { Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` // contains filtered or unexported fields }
func (*ListSourcesResponse) Descriptor
deprecated
func (*ListSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead.
func (*ListSourcesResponse) GetSources ¶
func (x *ListSourcesResponse) GetSources() []*Source
func (*ListSourcesResponse) ProtoMessage ¶
func (*ListSourcesResponse) ProtoMessage()
func (*ListSourcesResponse) ProtoReflect ¶
func (x *ListSourcesResponse) ProtoReflect() protoreflect.Message
func (*ListSourcesResponse) Reset ¶
func (x *ListSourcesResponse) Reset()
func (*ListSourcesResponse) String ¶
func (x *ListSourcesResponse) String() string
func (*ListSourcesResponse) Validate ¶
func (m *ListSourcesResponse) Validate() error
Validate checks the field values on ListSourcesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListSourcesResponseValidationError ¶
type ListSourcesResponseValidationError struct {
// contains filtered or unexported fields
}
ListSourcesResponseValidationError is the validation error returned by ListSourcesResponse.Validate if the designated constraints aren't met.
func (ListSourcesResponseValidationError) Cause ¶
func (e ListSourcesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListSourcesResponseValidationError) Error ¶
func (e ListSourcesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListSourcesResponseValidationError) ErrorName ¶
func (e ListSourcesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListSourcesResponseValidationError) Field ¶
func (e ListSourcesResponseValidationError) Field() string
Field function returns field value.
func (ListSourcesResponseValidationError) Key ¶
func (e ListSourcesResponseValidationError) Key() bool
Key function returns key value.
func (ListSourcesResponseValidationError) Reason ¶
func (e ListSourcesResponseValidationError) Reason() string
Reason function returns reason value.
type ListUsersRequest ¶
type ListUsersRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetEmail ¶
func (x *ListUsersRequest) GetEmail() string
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
func (*ListUsersRequest) Validate ¶
func (m *ListUsersRequest) Validate() error
Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListUsersRequestValidationError ¶
type ListUsersRequestValidationError struct {
// contains filtered or unexported fields
}
ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.
func (ListUsersRequestValidationError) Cause ¶
func (e ListUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUsersRequestValidationError) Error ¶
func (e ListUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersRequestValidationError) ErrorName ¶
func (e ListUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersRequestValidationError) Field ¶
func (e ListUsersRequestValidationError) Field() string
Field function returns field value.
func (ListUsersRequestValidationError) Key ¶
func (e ListUsersRequestValidationError) Key() bool
Key function returns key value.
func (ListUsersRequestValidationError) Reason ¶
func (e ListUsersRequestValidationError) Reason() string
Reason function returns reason value.
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
func (*ListUsersResponse) Validate ¶
func (m *ListUsersResponse) Validate() error
Validate checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListUsersResponseValidationError ¶
type ListUsersResponseValidationError struct {
// contains filtered or unexported fields
}
ListUsersResponseValidationError is the validation error returned by ListUsersResponse.Validate if the designated constraints aren't met.
func (ListUsersResponseValidationError) Cause ¶
func (e ListUsersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUsersResponseValidationError) Error ¶
func (e ListUsersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersResponseValidationError) ErrorName ¶
func (e ListUsersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersResponseValidationError) Field ¶
func (e ListUsersResponseValidationError) Field() string
Field function returns field value.
func (ListUsersResponseValidationError) Key ¶
func (e ListUsersResponseValidationError) Key() bool
Key function returns key value.
func (ListUsersResponseValidationError) Reason ¶
func (e ListUsersResponseValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { Type SourceType `protobuf:"varint,10,opt,name=type,proto3,enum=v1.SourceType" json:"type,omitempty"` Infra *LoginRequest_Infra `protobuf:"bytes,20,opt,name=infra,proto3" json:"infra,omitempty"` Okta *LoginRequest_Okta `protobuf:"bytes,30,opt,name=okta,proto3" json:"okta,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetInfra ¶
func (x *LoginRequest) GetInfra() *LoginRequest_Infra
func (*LoginRequest) GetOkta ¶
func (x *LoginRequest) GetOkta() *LoginRequest_Okta
func (*LoginRequest) GetType ¶
func (x *LoginRequest) GetType() SourceType
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginRequest_Infra ¶
type LoginRequest_Infra struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest_Infra) Descriptor
deprecated
func (*LoginRequest_Infra) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest_Infra.ProtoReflect.Descriptor instead.
func (*LoginRequest_Infra) GetEmail ¶
func (x *LoginRequest_Infra) GetEmail() string
func (*LoginRequest_Infra) GetPassword ¶
func (x *LoginRequest_Infra) GetPassword() string
func (*LoginRequest_Infra) ProtoMessage ¶
func (*LoginRequest_Infra) ProtoMessage()
func (*LoginRequest_Infra) ProtoReflect ¶
func (x *LoginRequest_Infra) ProtoReflect() protoreflect.Message
func (*LoginRequest_Infra) Reset ¶
func (x *LoginRequest_Infra) Reset()
func (*LoginRequest_Infra) String ¶
func (x *LoginRequest_Infra) String() string
func (*LoginRequest_Infra) Validate ¶
func (m *LoginRequest_Infra) Validate() error
Validate checks the field values on LoginRequest_Infra with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LoginRequest_InfraValidationError ¶
type LoginRequest_InfraValidationError struct {
// contains filtered or unexported fields
}
LoginRequest_InfraValidationError is the validation error returned by LoginRequest_Infra.Validate if the designated constraints aren't met.
func (LoginRequest_InfraValidationError) Cause ¶
func (e LoginRequest_InfraValidationError) Cause() error
Cause function returns cause value.
func (LoginRequest_InfraValidationError) Error ¶
func (e LoginRequest_InfraValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequest_InfraValidationError) ErrorName ¶
func (e LoginRequest_InfraValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequest_InfraValidationError) Field ¶
func (e LoginRequest_InfraValidationError) Field() string
Field function returns field value.
func (LoginRequest_InfraValidationError) Key ¶
func (e LoginRequest_InfraValidationError) Key() bool
Key function returns key value.
func (LoginRequest_InfraValidationError) Reason ¶
func (e LoginRequest_InfraValidationError) Reason() string
Reason function returns reason value.
type LoginRequest_Okta ¶
type LoginRequest_Okta struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest_Okta) Descriptor
deprecated
func (*LoginRequest_Okta) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest_Okta.ProtoReflect.Descriptor instead.
func (*LoginRequest_Okta) GetCode ¶
func (x *LoginRequest_Okta) GetCode() string
func (*LoginRequest_Okta) GetDomain ¶
func (x *LoginRequest_Okta) GetDomain() string
func (*LoginRequest_Okta) ProtoMessage ¶
func (*LoginRequest_Okta) ProtoMessage()
func (*LoginRequest_Okta) ProtoReflect ¶
func (x *LoginRequest_Okta) ProtoReflect() protoreflect.Message
func (*LoginRequest_Okta) Reset ¶
func (x *LoginRequest_Okta) Reset()
func (*LoginRequest_Okta) String ¶
func (x *LoginRequest_Okta) String() string
func (*LoginRequest_Okta) Validate ¶
func (m *LoginRequest_Okta) Validate() error
Validate checks the field values on LoginRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LoginRequest_OktaValidationError ¶
type LoginRequest_OktaValidationError struct {
// contains filtered or unexported fields
}
LoginRequest_OktaValidationError is the validation error returned by LoginRequest_Okta.Validate if the designated constraints aren't met.
func (LoginRequest_OktaValidationError) Cause ¶
func (e LoginRequest_OktaValidationError) Cause() error
Cause function returns cause value.
func (LoginRequest_OktaValidationError) Error ¶
func (e LoginRequest_OktaValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequest_OktaValidationError) ErrorName ¶
func (e LoginRequest_OktaValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequest_OktaValidationError) Field ¶
func (e LoginRequest_OktaValidationError) Field() string
Field function returns field value.
func (LoginRequest_OktaValidationError) Key ¶
func (e LoginRequest_OktaValidationError) Key() bool
Key function returns key value.
func (LoginRequest_OktaValidationError) Reason ¶
func (e LoginRequest_OktaValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type Permission ¶
type Permission struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"` User *User `protobuf:"bytes,40,opt,name=user,proto3" json:"user,omitempty"` Destination *Destination `protobuf:"bytes,50,opt,name=destination,proto3" json:"destination,omitempty"` Role string `protobuf:"bytes,60,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetCreated ¶
func (x *Permission) GetCreated() int64
func (*Permission) GetDestination ¶
func (x *Permission) GetDestination() *Destination
func (*Permission) GetId ¶
func (x *Permission) GetId() string
func (*Permission) GetRole ¶
func (x *Permission) GetRole() string
func (*Permission) GetUpdated ¶
func (x *Permission) GetUpdated() int64
func (*Permission) GetUser ¶
func (x *Permission) GetUser() *User
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) String ¶
func (x *Permission) String() string
func (*Permission) Validate ¶
func (m *Permission) Validate() error
Validate checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermissionValidationError ¶
type PermissionValidationError struct {
// contains filtered or unexported fields
}
PermissionValidationError is the validation error returned by Permission.Validate if the designated constraints aren't met.
func (PermissionValidationError) Cause ¶
func (e PermissionValidationError) Cause() error
Cause function returns cause value.
func (PermissionValidationError) Error ¶
func (e PermissionValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionValidationError) ErrorName ¶
func (e PermissionValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionValidationError) Field ¶
func (e PermissionValidationError) Field() string
Field function returns field value.
func (PermissionValidationError) Key ¶
func (e PermissionValidationError) Key() bool
Key function returns key value.
func (PermissionValidationError) Reason ¶
func (e PermissionValidationError) Reason() string
Reason function returns reason value.
type SignupRequest ¶
type SignupRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*SignupRequest) Descriptor
deprecated
func (*SignupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.
func (*SignupRequest) GetEmail ¶
func (x *SignupRequest) GetEmail() string
func (*SignupRequest) GetPassword ¶
func (x *SignupRequest) GetPassword() string
func (*SignupRequest) ProtoMessage ¶
func (*SignupRequest) ProtoMessage()
func (*SignupRequest) ProtoReflect ¶
func (x *SignupRequest) ProtoReflect() protoreflect.Message
func (*SignupRequest) Reset ¶
func (x *SignupRequest) Reset()
func (*SignupRequest) String ¶
func (x *SignupRequest) String() string
func (*SignupRequest) Validate ¶
func (m *SignupRequest) Validate() error
Validate checks the field values on SignupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SignupRequestValidationError ¶
type SignupRequestValidationError struct {
// contains filtered or unexported fields
}
SignupRequestValidationError is the validation error returned by SignupRequest.Validate if the designated constraints aren't met.
func (SignupRequestValidationError) Cause ¶
func (e SignupRequestValidationError) Cause() error
Cause function returns cause value.
func (SignupRequestValidationError) Error ¶
func (e SignupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SignupRequestValidationError) ErrorName ¶
func (e SignupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SignupRequestValidationError) Field ¶
func (e SignupRequestValidationError) Field() string
Field function returns field value.
func (SignupRequestValidationError) Key ¶
func (e SignupRequestValidationError) Key() bool
Key function returns key value.
func (SignupRequestValidationError) Reason ¶
func (e SignupRequestValidationError) Reason() string
Reason function returns reason value.
type Source ¶
type Source struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"` Type SourceType `protobuf:"varint,40,opt,name=type,proto3,enum=v1.SourceType" json:"type,omitempty"` Okta *Source_Okta `protobuf:"bytes,50,opt,name=okta,proto3" json:"okta,omitempty"` // contains filtered or unexported fields }
func (*Source) Descriptor
deprecated
func (*Source) GetCreated ¶
func (*Source) GetOkta ¶
func (x *Source) GetOkta() *Source_Okta
func (*Source) GetType ¶
func (x *Source) GetType() SourceType
func (*Source) GetUpdated ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
type SourceType ¶
type SourceType int32
const ( SourceType_INFRA SourceType = 0 SourceType_OKTA SourceType = 1 )
func (SourceType) Descriptor ¶
func (SourceType) Descriptor() protoreflect.EnumDescriptor
func (SourceType) Enum ¶
func (x SourceType) Enum() *SourceType
func (SourceType) EnumDescriptor
deprecated
func (SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SourceType.Descriptor instead.
func (SourceType) Number ¶
func (x SourceType) Number() protoreflect.EnumNumber
func (SourceType) String ¶
func (x SourceType) String() string
func (SourceType) Type ¶
func (SourceType) Type() protoreflect.EnumType
type SourceValidationError ¶
type SourceValidationError struct {
// contains filtered or unexported fields
}
SourceValidationError is the validation error returned by Source.Validate if the designated constraints aren't met.
func (SourceValidationError) Cause ¶
func (e SourceValidationError) Cause() error
Cause function returns cause value.
func (SourceValidationError) Error ¶
func (e SourceValidationError) Error() string
Error satisfies the builtin error interface
func (SourceValidationError) ErrorName ¶
func (e SourceValidationError) ErrorName() string
ErrorName returns error name.
func (SourceValidationError) Field ¶
func (e SourceValidationError) Field() string
Field function returns field value.
func (SourceValidationError) Key ¶
func (e SourceValidationError) Key() bool
Key function returns key value.
func (SourceValidationError) Reason ¶
func (e SourceValidationError) Reason() string
Reason function returns reason value.
type Source_Okta ¶
type Source_Okta struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*Source_Okta) Descriptor
deprecated
func (*Source_Okta) Descriptor() ([]byte, []int)
Deprecated: Use Source_Okta.ProtoReflect.Descriptor instead.
func (*Source_Okta) GetClientId ¶
func (x *Source_Okta) GetClientId() string
func (*Source_Okta) GetDomain ¶
func (x *Source_Okta) GetDomain() string
func (*Source_Okta) ProtoMessage ¶
func (*Source_Okta) ProtoMessage()
func (*Source_Okta) ProtoReflect ¶
func (x *Source_Okta) ProtoReflect() protoreflect.Message
func (*Source_Okta) Reset ¶
func (x *Source_Okta) Reset()
func (*Source_Okta) String ¶
func (x *Source_Okta) String() string
func (*Source_Okta) Validate ¶
func (m *Source_Okta) Validate() error
Validate checks the field values on Source_Okta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type Source_OktaValidationError ¶
type Source_OktaValidationError struct {
// contains filtered or unexported fields
}
Source_OktaValidationError is the validation error returned by Source_Okta.Validate if the designated constraints aren't met.
func (Source_OktaValidationError) Cause ¶
func (e Source_OktaValidationError) Cause() error
Cause function returns cause value.
func (Source_OktaValidationError) Error ¶
func (e Source_OktaValidationError) Error() string
Error satisfies the builtin error interface
func (Source_OktaValidationError) ErrorName ¶
func (e Source_OktaValidationError) ErrorName() string
ErrorName returns error name.
func (Source_OktaValidationError) Field ¶
func (e Source_OktaValidationError) Field() string
Field function returns field value.
func (Source_OktaValidationError) Key ¶
func (e Source_OktaValidationError) Key() bool
Key function returns key value.
func (Source_OktaValidationError) Reason ¶
func (e Source_OktaValidationError) Reason() string
Reason function returns reason value.
type StatusResponse ¶
type StatusResponse struct { Admin bool `protobuf:"varint,1,opt,name=admin,proto3" json:"admin,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetAdmin ¶
func (x *StatusResponse) GetAdmin() bool
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
func (*StatusResponse) Validate ¶
func (m *StatusResponse) Validate() error
Validate checks the field values on StatusResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StatusResponseValidationError ¶
type StatusResponseValidationError struct {
// contains filtered or unexported fields
}
StatusResponseValidationError is the validation error returned by StatusResponse.Validate if the designated constraints aren't met.
func (StatusResponseValidationError) Cause ¶
func (e StatusResponseValidationError) Cause() error
Cause function returns cause value.
func (StatusResponseValidationError) Error ¶
func (e StatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatusResponseValidationError) ErrorName ¶
func (e StatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatusResponseValidationError) Field ¶
func (e StatusResponseValidationError) Field() string
Field function returns field value.
func (StatusResponseValidationError) Key ¶
func (e StatusResponseValidationError) Key() bool
Key function returns key value.
func (StatusResponseValidationError) Reason ¶
func (e StatusResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedV1Server ¶
type UnimplementedV1Server struct { }
UnimplementedV1Server must be embedded to have forward compatible implementations.
func (UnimplementedV1Server) CreateCred ¶
func (UnimplementedV1Server) CreateCred(context.Context, *emptypb.Empty) (*CreateCredResponse, error)
func (UnimplementedV1Server) CreateDestination ¶
func (UnimplementedV1Server) CreateDestination(context.Context, *CreateDestinationRequest) (*Destination, error)
func (UnimplementedV1Server) CreateSource ¶
func (UnimplementedV1Server) CreateSource(context.Context, *CreateSourceRequest) (*Source, error)
func (UnimplementedV1Server) CreateUser ¶
func (UnimplementedV1Server) CreateUser(context.Context, *CreateUserRequest) (*User, error)
func (UnimplementedV1Server) DeleteSource ¶
func (UnimplementedV1Server) DeleteSource(context.Context, *DeleteSourceRequest) (*emptypb.Empty, error)
func (UnimplementedV1Server) DeleteUser ¶
func (UnimplementedV1Server) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedV1Server) ListApiKeys ¶
func (UnimplementedV1Server) ListApiKeys(context.Context, *emptypb.Empty) (*ListApiKeyResponse, error)
func (UnimplementedV1Server) ListDestinations ¶
func (UnimplementedV1Server) ListDestinations(context.Context, *emptypb.Empty) (*ListDestinationsResponse, error)
func (UnimplementedV1Server) ListPermissions ¶
func (UnimplementedV1Server) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
func (UnimplementedV1Server) ListSources ¶
func (UnimplementedV1Server) ListSources(context.Context, *emptypb.Empty) (*ListSourcesResponse, error)
func (UnimplementedV1Server) ListUsers ¶
func (UnimplementedV1Server) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedV1Server) Login ¶
func (UnimplementedV1Server) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedV1Server) Signup ¶
func (UnimplementedV1Server) Signup(context.Context, *SignupRequest) (*LoginResponse, error)
func (UnimplementedV1Server) Status ¶
func (UnimplementedV1Server) Status(context.Context, *emptypb.Empty) (*StatusResponse, error)
type UnsafeV1Server ¶
type UnsafeV1Server interface {
// contains filtered or unexported methods
}
UnsafeV1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to V1Server will result in compilation errors.
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Created int64 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` Updated int64 `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"` Email string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"` Admin bool `protobuf:"varint,20,opt,name=admin,proto3" json:"admin,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreated ¶
func (*User) GetUpdated ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type V1Client ¶
type V1Client interface { ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListDestinations(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListDestinationsResponse, error) CreateDestination(ctx context.Context, in *CreateDestinationRequest, opts ...grpc.CallOption) (*Destination, error) ListSources(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSourcesResponse, error) CreateSource(ctx context.Context, in *CreateSourceRequest, opts ...grpc.CallOption) (*Source, error) DeleteSource(ctx context.Context, in *DeleteSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error) CreateCred(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateCredResponse, error) ListApiKeys(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListApiKeyResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Signup(ctx context.Context, in *SignupRequest, opts ...grpc.CallOption) (*LoginResponse, error) Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatusResponse, error) }
V1Client is the client API for V1 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 NewV1Client ¶
func NewV1Client(cc grpc.ClientConnInterface) V1Client
type V1Server ¶
type V1Server interface { ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) CreateUser(context.Context, *CreateUserRequest) (*User, error) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) ListDestinations(context.Context, *emptypb.Empty) (*ListDestinationsResponse, error) CreateDestination(context.Context, *CreateDestinationRequest) (*Destination, error) ListSources(context.Context, *emptypb.Empty) (*ListSourcesResponse, error) CreateSource(context.Context, *CreateSourceRequest) (*Source, error) DeleteSource(context.Context, *DeleteSourceRequest) (*emptypb.Empty, error) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error) CreateCred(context.Context, *emptypb.Empty) (*CreateCredResponse, error) ListApiKeys(context.Context, *emptypb.Empty) (*ListApiKeyResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Signup(context.Context, *SignupRequest) (*LoginResponse, error) Status(context.Context, *emptypb.Empty) (*StatusResponse, error) // contains filtered or unexported methods }
V1Server is the server API for V1 service. All implementations must embed UnimplementedV1Server for forward compatibility