Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterV1Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterV1HandlerClient(ctx context.Context, mux *runtime.ServeMux, client V1Client) error
- func RegisterV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterV1HandlerServer(ctx context.Context, mux *runtime.ServeMux, server V1Server) error
- 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
- func (m *ApiKey) ValidateAll() error
- type ApiKeyMultiError
- 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
- func (m *CreateCredResponse) ValidateAll() error
- type CreateCredResponseMultiError
- 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
- func (m *CreateDestinationRequest) ValidateAll() error
- type CreateDestinationRequestMultiError
- 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 (x *CreateDestinationRequest_Kubernetes) GetSaToken() 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
- func (m *CreateDestinationRequest_Kubernetes) ValidateAll() error
- type CreateDestinationRequest_KubernetesMultiError
- 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
- func (m *CreateSourceRequest) ValidateAll() error
- type CreateSourceRequestMultiError
- 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
- func (m *CreateSourceRequest_Okta) ValidateAll() error
- type CreateSourceRequest_OktaMultiError
- 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
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- 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
- func (m *DeleteSourceRequest) ValidateAll() error
- type DeleteSourceRequestMultiError
- 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
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- 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
- func (m *Destination) ValidateAll() error
- type DestinationMultiError
- 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 (x *Destination_Kubernetes) GetSaToken() 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
- func (m *Destination_Kubernetes) ValidateAll() error
- type Destination_KubernetesMultiError
- 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 Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetDetails() []*ErrorDetails
- func (x *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- func (m *Error) Validate() error
- func (m *Error) ValidateAll() error
- type ErrorDetails
- func (*ErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorDetails) GetDescription() string
- func (x *ErrorDetails) GetName() string
- func (*ErrorDetails) ProtoMessage()
- func (x *ErrorDetails) ProtoReflect() protoreflect.Message
- func (x *ErrorDetails) Reset()
- func (x *ErrorDetails) String() string
- func (m *ErrorDetails) Validate() error
- func (m *ErrorDetails) ValidateAll() error
- type ErrorDetailsMultiError
- type ErrorDetailsValidationError
- func (e ErrorDetailsValidationError) Cause() error
- func (e ErrorDetailsValidationError) Error() string
- func (e ErrorDetailsValidationError) ErrorName() string
- func (e ErrorDetailsValidationError) Field() string
- func (e ErrorDetailsValidationError) Key() bool
- func (e ErrorDetailsValidationError) Reason() string
- type ErrorMultiError
- type ErrorValidationError
- type KubernetesRoleType
- func (KubernetesRoleType) Descriptor() protoreflect.EnumDescriptor
- func (x KubernetesRoleType) Enum() *KubernetesRoleType
- func (KubernetesRoleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x KubernetesRoleType) Number() protoreflect.EnumNumber
- func (x KubernetesRoleType) String() string
- func (KubernetesRoleType) Type() protoreflect.EnumType
- 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
- func (m *ListApiKeyResponse) ValidateAll() error
- type ListApiKeyResponseMultiError
- 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
- func (m *ListDestinationsResponse) ValidateAll() error
- type ListDestinationsResponseMultiError
- 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 ListRolesRequest
- func (*ListRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolesRequest) GetDestinationId() string
- func (*ListRolesRequest) ProtoMessage()
- func (x *ListRolesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRolesRequest) Reset()
- func (x *ListRolesRequest) String() string
- func (m *ListRolesRequest) Validate() error
- func (m *ListRolesRequest) ValidateAll() error
- type ListRolesRequestMultiError
- type ListRolesRequestValidationError
- func (e ListRolesRequestValidationError) Cause() error
- func (e ListRolesRequestValidationError) Error() string
- func (e ListRolesRequestValidationError) ErrorName() string
- func (e ListRolesRequestValidationError) Field() string
- func (e ListRolesRequestValidationError) Key() bool
- func (e ListRolesRequestValidationError) Reason() string
- type ListRolesResponse
- func (*ListRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolesResponse) GetRoles() []*Role
- func (*ListRolesResponse) ProtoMessage()
- func (x *ListRolesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRolesResponse) Reset()
- func (x *ListRolesResponse) String() string
- func (m *ListRolesResponse) Validate() error
- func (m *ListRolesResponse) ValidateAll() error
- type ListRolesResponseMultiError
- type ListRolesResponseValidationError
- func (e ListRolesResponseValidationError) Cause() error
- func (e ListRolesResponseValidationError) Error() string
- func (e ListRolesResponseValidationError) ErrorName() string
- func (e ListRolesResponseValidationError) Field() string
- func (e ListRolesResponseValidationError) Key() bool
- func (e ListRolesResponseValidationError) 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
- func (m *ListSourcesResponse) ValidateAll() error
- type ListSourcesResponseMultiError
- 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
- func (m *ListUsersRequest) ValidateAll() error
- type ListUsersRequestMultiError
- 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
- func (m *ListUsersResponse) ValidateAll() error
- type ListUsersResponseMultiError
- 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
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- 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
- func (m *LoginRequest_Infra) ValidateAll() error
- type LoginRequest_InfraMultiError
- 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
- func (m *LoginRequest_Okta) ValidateAll() error
- type LoginRequest_OktaMultiError
- 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
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- 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 Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetCreated() int64
- func (x *Role) GetDestination() *Destination
- func (x *Role) GetId() string
- func (x *Role) GetKind() KubernetesRoleType
- func (x *Role) GetName() string
- func (x *Role) GetUpdated() int64
- func (x *Role) GetUsers() []*User
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) ValidateAll() error
- type RoleMultiError
- type RoleValidationError
- 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
- func (m *SignupRequest) ValidateAll() error
- type SignupRequestMultiError
- 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
- func (m *Source) ValidateAll() error
- type SourceMultiError
- 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
- func (m *Source_Okta) ValidateAll() error
- type Source_OktaMultiError
- 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
- func (m *StatusResponse) ValidateAll() error
- type StatusResponseMultiError
- 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) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, 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)
- func (UnimplementedV1Server) Version(context.Context, *emptypb.Empty) (*VersionResponse, 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
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserValidationError
- type V1Client
- type V1Server
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
- func (m *VersionResponse) Validate() error
- func (m *VersionResponse) ValidateAll() error
- type VersionResponseMultiError
- type VersionResponseValidationError
- func (e VersionResponseValidationError) Cause() error
- func (e VersionResponseValidationError) Error() string
- func (e VersionResponseValidationError) ErrorName() string
- func (e VersionResponseValidationError) Field() string
- func (e VersionResponseValidationError) Key() bool
- func (e VersionResponseValidationError) Reason() string
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 ( KubernetesRoleType_name = map[int32]string{ 0: "ROLE", 1: "CLUSTER_ROLE", } KubernetesRoleType_value = map[string]int32{ "ROLE": 0, "CLUSTER_ROLE": 1, } )
Enum value maps for KubernetesRoleType.
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: "ListRoles", Handler: _V1_ListRoles_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, }, { MethodName: "Version", Handler: _V1_Version_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 RegisterV1Handler ¶ added in v0.0.13
RegisterV1Handler registers the http handlers for service V1 to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterV1HandlerClient ¶ added in v0.0.13
RegisterV1HandlerClient registers the http handlers for service V1 to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "V1Client". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "V1Client" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "V1Client" to call the correct interceptors.
func RegisterV1HandlerFromEndpoint ¶ added in v0.0.13
func RegisterV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterV1HandlerFromEndpoint is same as RegisterV1Handler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterV1HandlerServer ¶ added in v0.0.13
RegisterV1HandlerServer registers the http handlers for service V1 to "mux". UnaryRPC :call V1Server directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterV1HandlerFromEndpoint instead.
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
func (*ApiKey) Validate ¶
Validate checks the field values on ApiKey with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApiKey) ValidateAll ¶ added in v0.0.12
ValidateAll checks the field values on ApiKey with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApiKeyMultiError, or nil if none found.
type ApiKeyMultiError ¶ added in v0.0.12
type ApiKeyMultiError []error
ApiKeyMultiError is an error wrapping multiple validation errors returned by ApiKey.ValidateAll() if the designated constraints aren't met.
func (ApiKeyMultiError) AllErrors ¶ added in v0.0.12
func (m ApiKeyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApiKeyMultiError) Error ¶ added in v0.0.12
func (m ApiKeyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*CreateCredResponse) ValidateAll ¶ added in v0.0.12
func (m *CreateCredResponse) ValidateAll() error
ValidateAll checks the field values on CreateCredResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCredResponseMultiError, or nil if none found.
type CreateCredResponseMultiError ¶ added in v0.0.12
type CreateCredResponseMultiError []error
CreateCredResponseMultiError is an error wrapping multiple validation errors returned by CreateCredResponse.ValidateAll() if the designated constraints aren't met.
func (CreateCredResponseMultiError) AllErrors ¶ added in v0.0.12
func (m CreateCredResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCredResponseMultiError) Error ¶ added in v0.0.12
func (m CreateCredResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*CreateDestinationRequest) ValidateAll ¶ added in v0.0.12
func (m *CreateDestinationRequest) ValidateAll() error
ValidateAll checks the field values on CreateDestinationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDestinationRequestMultiError, or nil if none found.
type CreateDestinationRequestMultiError ¶ added in v0.0.12
type CreateDestinationRequestMultiError []error
CreateDestinationRequestMultiError is an error wrapping multiple validation errors returned by CreateDestinationRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDestinationRequestMultiError) AllErrors ¶ added in v0.0.12
func (m CreateDestinationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDestinationRequestMultiError) Error ¶ added in v0.0.12
func (m CreateDestinationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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"` SaToken string `protobuf:"bytes,4,opt,name=sa_token,json=saToken,proto3" json:"sa_token,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) GetSaToken ¶ added in v0.0.11
func (x *CreateDestinationRequest_Kubernetes) GetSaToken() 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, the first error encountered is returned, or nil if there are no violations.
func (*CreateDestinationRequest_Kubernetes) ValidateAll ¶ added in v0.0.12
func (m *CreateDestinationRequest_Kubernetes) ValidateAll() error
ValidateAll checks the field values on CreateDestinationRequest_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDestinationRequest_KubernetesMultiError, or nil if none found.
type CreateDestinationRequest_KubernetesMultiError ¶ added in v0.0.12
type CreateDestinationRequest_KubernetesMultiError []error
CreateDestinationRequest_KubernetesMultiError is an error wrapping multiple validation errors returned by CreateDestinationRequest_Kubernetes.ValidateAll() if the designated constraints aren't met.
func (CreateDestinationRequest_KubernetesMultiError) AllErrors ¶ added in v0.0.12
func (m CreateDestinationRequest_KubernetesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDestinationRequest_KubernetesMultiError) Error ¶ added in v0.0.12
func (m CreateDestinationRequest_KubernetesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*CreateSourceRequest) ValidateAll ¶ added in v0.0.12
func (m *CreateSourceRequest) ValidateAll() error
ValidateAll checks the field values on CreateSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSourceRequestMultiError, or nil if none found.
type CreateSourceRequestMultiError ¶ added in v0.0.12
type CreateSourceRequestMultiError []error
CreateSourceRequestMultiError is an error wrapping multiple validation errors returned by CreateSourceRequest.ValidateAll() if the designated constraints aren't met.
func (CreateSourceRequestMultiError) AllErrors ¶ added in v0.0.12
func (m CreateSourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateSourceRequestMultiError) Error ¶ added in v0.0.12
func (m CreateSourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*CreateSourceRequest_Okta) ValidateAll ¶ added in v0.0.12
func (m *CreateSourceRequest_Okta) ValidateAll() error
ValidateAll checks the field values on CreateSourceRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSourceRequest_OktaMultiError, or nil if none found.
type CreateSourceRequest_OktaMultiError ¶ added in v0.0.12
type CreateSourceRequest_OktaMultiError []error
CreateSourceRequest_OktaMultiError is an error wrapping multiple validation errors returned by CreateSourceRequest_Okta.ValidateAll() if the designated constraints aren't met.
func (CreateSourceRequest_OktaMultiError) AllErrors ¶ added in v0.0.12
func (m CreateSourceRequest_OktaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateSourceRequest_OktaMultiError) Error ¶ added in v0.0.12
func (m CreateSourceRequest_OktaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserRequest) ValidateAll ¶ added in v0.0.12
func (m *CreateUserRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.
type CreateUserRequestMultiError ¶ added in v0.0.12
type CreateUserRequestMultiError []error
CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserRequestMultiError) AllErrors ¶ added in v0.0.12
func (m CreateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserRequestMultiError) Error ¶ added in v0.0.12
func (m CreateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*DeleteSourceRequest) ValidateAll ¶ added in v0.0.12
func (m *DeleteSourceRequest) ValidateAll() error
ValidateAll checks the field values on DeleteSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSourceRequestMultiError, or nil if none found.
type DeleteSourceRequestMultiError ¶ added in v0.0.12
type DeleteSourceRequestMultiError []error
DeleteSourceRequestMultiError is an error wrapping multiple validation errors returned by DeleteSourceRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteSourceRequestMultiError) AllErrors ¶ added in v0.0.12
func (m DeleteSourceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteSourceRequestMultiError) Error ¶ added in v0.0.12
func (m DeleteSourceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*DeleteUserRequest) ValidateAll ¶ added in v0.0.12
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶ added in v0.0.12
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶ added in v0.0.12
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶ added in v0.0.12
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*Destination) ValidateAll ¶ added in v0.0.12
func (m *Destination) ValidateAll() error
ValidateAll checks the field values on Destination with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DestinationMultiError, or nil if none found.
type DestinationMultiError ¶ added in v0.0.12
type DestinationMultiError []error
DestinationMultiError is an error wrapping multiple validation errors returned by Destination.ValidateAll() if the designated constraints aren't met.
func (DestinationMultiError) AllErrors ¶ added in v0.0.12
func (m DestinationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DestinationMultiError) Error ¶ added in v0.0.12
func (m DestinationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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"` SaToken string `protobuf:"bytes,4,opt,name=sa_token,json=saToken,proto3" json:"sa_token,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) GetSaToken ¶ added in v0.0.11
func (x *Destination_Kubernetes) GetSaToken() 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, the first error encountered is returned, or nil if there are no violations.
func (*Destination_Kubernetes) ValidateAll ¶ added in v0.0.12
func (m *Destination_Kubernetes) ValidateAll() error
ValidateAll checks the field values on Destination_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Destination_KubernetesMultiError, or nil if none found.
type Destination_KubernetesMultiError ¶ added in v0.0.12
type Destination_KubernetesMultiError []error
Destination_KubernetesMultiError is an error wrapping multiple validation errors returned by Destination_Kubernetes.ValidateAll() if the designated constraints aren't met.
func (Destination_KubernetesMultiError) AllErrors ¶ added in v0.0.12
func (m Destination_KubernetesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Destination_KubernetesMultiError) Error ¶ added in v0.0.12
func (m Destination_KubernetesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 Error ¶ added in v0.0.13
type Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Details []*ErrorDetails `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
added in
v0.0.13
func (*Error) GetDetails ¶ added in v0.0.13
func (x *Error) GetDetails() []*ErrorDetails
func (*Error) GetMessage ¶ added in v0.0.13
func (*Error) ProtoMessage ¶ added in v0.0.13
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v0.0.13
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) Validate ¶ added in v0.0.13
Validate checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Error) ValidateAll ¶ added in v0.0.13
ValidateAll checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErrorMultiError, or nil if none found.
type ErrorDetails ¶ added in v0.0.13
type ErrorDetails struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*ErrorDetails) Descriptor
deprecated
added in
v0.0.13
func (*ErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.
func (*ErrorDetails) GetDescription ¶ added in v0.0.13
func (x *ErrorDetails) GetDescription() string
func (*ErrorDetails) GetName ¶ added in v0.0.13
func (x *ErrorDetails) GetName() string
func (*ErrorDetails) ProtoMessage ¶ added in v0.0.13
func (*ErrorDetails) ProtoMessage()
func (*ErrorDetails) ProtoReflect ¶ added in v0.0.13
func (x *ErrorDetails) ProtoReflect() protoreflect.Message
func (*ErrorDetails) Reset ¶ added in v0.0.13
func (x *ErrorDetails) Reset()
func (*ErrorDetails) String ¶ added in v0.0.13
func (x *ErrorDetails) String() string
func (*ErrorDetails) Validate ¶ added in v0.0.13
func (m *ErrorDetails) Validate() error
Validate checks the field values on ErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ErrorDetails) ValidateAll ¶ added in v0.0.13
func (m *ErrorDetails) ValidateAll() error
ValidateAll checks the field values on ErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErrorDetailsMultiError, or nil if none found.
type ErrorDetailsMultiError ¶ added in v0.0.13
type ErrorDetailsMultiError []error
ErrorDetailsMultiError is an error wrapping multiple validation errors returned by ErrorDetails.ValidateAll() if the designated constraints aren't met.
func (ErrorDetailsMultiError) AllErrors ¶ added in v0.0.13
func (m ErrorDetailsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorDetailsMultiError) Error ¶ added in v0.0.13
func (m ErrorDetailsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorDetailsValidationError ¶ added in v0.0.13
type ErrorDetailsValidationError struct {
// contains filtered or unexported fields
}
ErrorDetailsValidationError is the validation error returned by ErrorDetails.Validate if the designated constraints aren't met.
func (ErrorDetailsValidationError) Cause ¶ added in v0.0.13
func (e ErrorDetailsValidationError) Cause() error
Cause function returns cause value.
func (ErrorDetailsValidationError) Error ¶ added in v0.0.13
func (e ErrorDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorDetailsValidationError) ErrorName ¶ added in v0.0.13
func (e ErrorDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorDetailsValidationError) Field ¶ added in v0.0.13
func (e ErrorDetailsValidationError) Field() string
Field function returns field value.
func (ErrorDetailsValidationError) Key ¶ added in v0.0.13
func (e ErrorDetailsValidationError) Key() bool
Key function returns key value.
func (ErrorDetailsValidationError) Reason ¶ added in v0.0.13
func (e ErrorDetailsValidationError) Reason() string
Reason function returns reason value.
type ErrorMultiError ¶ added in v0.0.13
type ErrorMultiError []error
ErrorMultiError is an error wrapping multiple validation errors returned by Error.ValidateAll() if the designated constraints aren't met.
func (ErrorMultiError) AllErrors ¶ added in v0.0.13
func (m ErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorMultiError) Error ¶ added in v0.0.13
func (m ErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorValidationError ¶ added in v0.0.13
type ErrorValidationError struct {
// contains filtered or unexported fields
}
ErrorValidationError is the validation error returned by Error.Validate if the designated constraints aren't met.
func (ErrorValidationError) Cause ¶ added in v0.0.13
func (e ErrorValidationError) Cause() error
Cause function returns cause value.
func (ErrorValidationError) Error ¶ added in v0.0.13
func (e ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorValidationError) ErrorName ¶ added in v0.0.13
func (e ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorValidationError) Field ¶ added in v0.0.13
func (e ErrorValidationError) Field() string
Field function returns field value.
func (ErrorValidationError) Key ¶ added in v0.0.13
func (e ErrorValidationError) Key() bool
Key function returns key value.
func (ErrorValidationError) Reason ¶ added in v0.0.13
func (e ErrorValidationError) Reason() string
Reason function returns reason value.
type KubernetesRoleType ¶ added in v0.0.13
type KubernetesRoleType int32
const ( KubernetesRoleType_ROLE KubernetesRoleType = 0 KubernetesRoleType_CLUSTER_ROLE KubernetesRoleType = 1 )
func (KubernetesRoleType) Descriptor ¶ added in v0.0.13
func (KubernetesRoleType) Descriptor() protoreflect.EnumDescriptor
func (KubernetesRoleType) Enum ¶ added in v0.0.13
func (x KubernetesRoleType) Enum() *KubernetesRoleType
func (KubernetesRoleType) EnumDescriptor
deprecated
added in
v0.0.13
func (KubernetesRoleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use KubernetesRoleType.Descriptor instead.
func (KubernetesRoleType) Number ¶ added in v0.0.13
func (x KubernetesRoleType) Number() protoreflect.EnumNumber
func (KubernetesRoleType) String ¶ added in v0.0.13
func (x KubernetesRoleType) String() string
func (KubernetesRoleType) Type ¶ added in v0.0.13
func (KubernetesRoleType) Type() protoreflect.EnumType
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, the first error encountered is returned, or nil if there are no violations.
func (*ListApiKeyResponse) ValidateAll ¶ added in v0.0.12
func (m *ListApiKeyResponse) ValidateAll() error
ValidateAll checks the field values on ListApiKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListApiKeyResponseMultiError, or nil if none found.
type ListApiKeyResponseMultiError ¶ added in v0.0.12
type ListApiKeyResponseMultiError []error
ListApiKeyResponseMultiError is an error wrapping multiple validation errors returned by ListApiKeyResponse.ValidateAll() if the designated constraints aren't met.
func (ListApiKeyResponseMultiError) AllErrors ¶ added in v0.0.12
func (m ListApiKeyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListApiKeyResponseMultiError) Error ¶ added in v0.0.12
func (m ListApiKeyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ListDestinationsResponse) ValidateAll ¶ added in v0.0.12
func (m *ListDestinationsResponse) ValidateAll() error
ValidateAll checks the field values on ListDestinationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDestinationsResponseMultiError, or nil if none found.
type ListDestinationsResponseMultiError ¶ added in v0.0.12
type ListDestinationsResponseMultiError []error
ListDestinationsResponseMultiError is an error wrapping multiple validation errors returned by ListDestinationsResponse.ValidateAll() if the designated constraints aren't met.
func (ListDestinationsResponseMultiError) AllErrors ¶ added in v0.0.12
func (m ListDestinationsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDestinationsResponseMultiError) Error ¶ added in v0.0.12
func (m ListDestinationsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ListRolesRequest ¶ added in v0.0.13
type ListRolesRequest struct { DestinationId string `protobuf:"bytes,10,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // contains filtered or unexported fields }
func (*ListRolesRequest) Descriptor
deprecated
added in
v0.0.13
func (*ListRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.
func (*ListRolesRequest) GetDestinationId ¶ added in v0.0.13
func (x *ListRolesRequest) GetDestinationId() string
func (*ListRolesRequest) ProtoMessage ¶ added in v0.0.13
func (*ListRolesRequest) ProtoMessage()
func (*ListRolesRequest) ProtoReflect ¶ added in v0.0.13
func (x *ListRolesRequest) ProtoReflect() protoreflect.Message
func (*ListRolesRequest) Reset ¶ added in v0.0.13
func (x *ListRolesRequest) Reset()
func (*ListRolesRequest) String ¶ added in v0.0.13
func (x *ListRolesRequest) String() string
func (*ListRolesRequest) Validate ¶ added in v0.0.13
func (m *ListRolesRequest) Validate() error
Validate checks the field values on ListRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListRolesRequest) ValidateAll ¶ added in v0.0.13
func (m *ListRolesRequest) ValidateAll() error
ValidateAll checks the field values on ListRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRolesRequestMultiError, or nil if none found.
type ListRolesRequestMultiError ¶ added in v0.0.13
type ListRolesRequestMultiError []error
ListRolesRequestMultiError is an error wrapping multiple validation errors returned by ListRolesRequest.ValidateAll() if the designated constraints aren't met.
func (ListRolesRequestMultiError) AllErrors ¶ added in v0.0.13
func (m ListRolesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRolesRequestMultiError) Error ¶ added in v0.0.13
func (m ListRolesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRolesRequestValidationError ¶ added in v0.0.13
type ListRolesRequestValidationError struct {
// contains filtered or unexported fields
}
ListRolesRequestValidationError is the validation error returned by ListRolesRequest.Validate if the designated constraints aren't met.
func (ListRolesRequestValidationError) Cause ¶ added in v0.0.13
func (e ListRolesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListRolesRequestValidationError) Error ¶ added in v0.0.13
func (e ListRolesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListRolesRequestValidationError) ErrorName ¶ added in v0.0.13
func (e ListRolesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListRolesRequestValidationError) Field ¶ added in v0.0.13
func (e ListRolesRequestValidationError) Field() string
Field function returns field value.
func (ListRolesRequestValidationError) Key ¶ added in v0.0.13
func (e ListRolesRequestValidationError) Key() bool
Key function returns key value.
func (ListRolesRequestValidationError) Reason ¶ added in v0.0.13
func (e ListRolesRequestValidationError) Reason() string
Reason function returns reason value.
type ListRolesResponse ¶ added in v0.0.13
type ListRolesResponse struct { Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListRolesResponse) Descriptor
deprecated
added in
v0.0.13
func (*ListRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.
func (*ListRolesResponse) GetRoles ¶ added in v0.0.13
func (x *ListRolesResponse) GetRoles() []*Role
func (*ListRolesResponse) ProtoMessage ¶ added in v0.0.13
func (*ListRolesResponse) ProtoMessage()
func (*ListRolesResponse) ProtoReflect ¶ added in v0.0.13
func (x *ListRolesResponse) ProtoReflect() protoreflect.Message
func (*ListRolesResponse) Reset ¶ added in v0.0.13
func (x *ListRolesResponse) Reset()
func (*ListRolesResponse) String ¶ added in v0.0.13
func (x *ListRolesResponse) String() string
func (*ListRolesResponse) Validate ¶ added in v0.0.13
func (m *ListRolesResponse) Validate() error
Validate checks the field values on ListRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListRolesResponse) ValidateAll ¶ added in v0.0.13
func (m *ListRolesResponse) ValidateAll() error
ValidateAll checks the field values on ListRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRolesResponseMultiError, or nil if none found.
type ListRolesResponseMultiError ¶ added in v0.0.13
type ListRolesResponseMultiError []error
ListRolesResponseMultiError is an error wrapping multiple validation errors returned by ListRolesResponse.ValidateAll() if the designated constraints aren't met.
func (ListRolesResponseMultiError) AllErrors ¶ added in v0.0.13
func (m ListRolesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRolesResponseMultiError) Error ¶ added in v0.0.13
func (m ListRolesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRolesResponseValidationError ¶ added in v0.0.13
type ListRolesResponseValidationError struct {
// contains filtered or unexported fields
}
ListRolesResponseValidationError is the validation error returned by ListRolesResponse.Validate if the designated constraints aren't met.
func (ListRolesResponseValidationError) Cause ¶ added in v0.0.13
func (e ListRolesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListRolesResponseValidationError) Error ¶ added in v0.0.13
func (e ListRolesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListRolesResponseValidationError) ErrorName ¶ added in v0.0.13
func (e ListRolesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListRolesResponseValidationError) Field ¶ added in v0.0.13
func (e ListRolesResponseValidationError) Field() string
Field function returns field value.
func (ListRolesResponseValidationError) Key ¶ added in v0.0.13
func (e ListRolesResponseValidationError) Key() bool
Key function returns key value.
func (ListRolesResponseValidationError) Reason ¶ added in v0.0.13
func (e ListRolesResponseValidationError) 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, the first error encountered is returned, or nil if there are no violations.
func (*ListSourcesResponse) ValidateAll ¶ added in v0.0.12
func (m *ListSourcesResponse) ValidateAll() error
ValidateAll checks the field values on ListSourcesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSourcesResponseMultiError, or nil if none found.
type ListSourcesResponseMultiError ¶ added in v0.0.12
type ListSourcesResponseMultiError []error
ListSourcesResponseMultiError is an error wrapping multiple validation errors returned by ListSourcesResponse.ValidateAll() if the designated constraints aren't met.
func (ListSourcesResponseMultiError) AllErrors ¶ added in v0.0.12
func (m ListSourcesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListSourcesResponseMultiError) Error ¶ added in v0.0.12
func (m ListSourcesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ListUsersRequest) ValidateAll ¶ added in v0.0.12
func (m *ListUsersRequest) ValidateAll() error
ValidateAll checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersRequestMultiError, or nil if none found.
type ListUsersRequestMultiError ¶ added in v0.0.12
type ListUsersRequestMultiError []error
ListUsersRequestMultiError is an error wrapping multiple validation errors returned by ListUsersRequest.ValidateAll() if the designated constraints aren't met.
func (ListUsersRequestMultiError) AllErrors ¶ added in v0.0.12
func (m ListUsersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersRequestMultiError) Error ¶ added in v0.0.12
func (m ListUsersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*ListUsersResponse) ValidateAll ¶ added in v0.0.12
func (m *ListUsersResponse) ValidateAll() error
ValidateAll checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersResponseMultiError, or nil if none found.
type ListUsersResponseMultiError ¶ added in v0.0.12
type ListUsersResponseMultiError []error
ListUsersResponseMultiError is an error wrapping multiple validation errors returned by ListUsersResponse.ValidateAll() if the designated constraints aren't met.
func (ListUsersResponseMultiError) AllErrors ¶ added in v0.0.12
func (m ListUsersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersResponseMultiError) Error ¶ added in v0.0.12
func (m ListUsersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*LoginRequest) ValidateAll ¶ added in v0.0.12
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶ added in v0.0.12
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶ added in v0.0.12
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶ added in v0.0.12
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*LoginRequest_Infra) ValidateAll ¶ added in v0.0.12
func (m *LoginRequest_Infra) ValidateAll() error
ValidateAll checks the field values on LoginRequest_Infra with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequest_InfraMultiError, or nil if none found.
type LoginRequest_InfraMultiError ¶ added in v0.0.12
type LoginRequest_InfraMultiError []error
LoginRequest_InfraMultiError is an error wrapping multiple validation errors returned by LoginRequest_Infra.ValidateAll() if the designated constraints aren't met.
func (LoginRequest_InfraMultiError) AllErrors ¶ added in v0.0.12
func (m LoginRequest_InfraMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequest_InfraMultiError) Error ¶ added in v0.0.12
func (m LoginRequest_InfraMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*LoginRequest_Okta) ValidateAll ¶ added in v0.0.12
func (m *LoginRequest_Okta) ValidateAll() error
ValidateAll checks the field values on LoginRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequest_OktaMultiError, or nil if none found.
type LoginRequest_OktaMultiError ¶ added in v0.0.12
type LoginRequest_OktaMultiError []error
LoginRequest_OktaMultiError is an error wrapping multiple validation errors returned by LoginRequest_Okta.ValidateAll() if the designated constraints aren't met.
func (LoginRequest_OktaMultiError) AllErrors ¶ added in v0.0.12
func (m LoginRequest_OktaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequest_OktaMultiError) Error ¶ added in v0.0.12
func (m LoginRequest_OktaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*LoginResponse) ValidateAll ¶ added in v0.0.12
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶ added in v0.0.12
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶ added in v0.0.12
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶ added in v0.0.12
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 Role ¶ added in v0.0.13
type Role 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"` Users []*User `protobuf:"bytes,40,rep,name=users,proto3" json:"users,omitempty"` Destination *Destination `protobuf:"bytes,50,opt,name=destination,proto3" json:"destination,omitempty"` Name string `protobuf:"bytes,60,opt,name=name,proto3" json:"name,omitempty"` Kind KubernetesRoleType `protobuf:"varint,70,opt,name=kind,proto3,enum=v1.KubernetesRoleType" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
added in
v0.0.13
func (*Role) GetCreated ¶ added in v0.0.13
func (*Role) GetDestination ¶ added in v0.0.13
func (x *Role) GetDestination() *Destination
func (*Role) GetKind ¶ added in v0.0.13
func (x *Role) GetKind() KubernetesRoleType
func (*Role) GetUpdated ¶ added in v0.0.13
func (*Role) ProtoMessage ¶ added in v0.0.13
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶ added in v0.0.13
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Validate ¶ added in v0.0.13
Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Role) ValidateAll ¶ added in v0.0.13
ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.
type RoleMultiError ¶ added in v0.0.13
type RoleMultiError []error
RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.
func (RoleMultiError) AllErrors ¶ added in v0.0.13
func (m RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleMultiError) Error ¶ added in v0.0.13
func (m RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleValidationError ¶ added in v0.0.13
type RoleValidationError struct {
// contains filtered or unexported fields
}
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
func (RoleValidationError) Cause ¶ added in v0.0.13
func (e RoleValidationError) Cause() error
Cause function returns cause value.
func (RoleValidationError) Error ¶ added in v0.0.13
func (e RoleValidationError) Error() string
Error satisfies the builtin error interface
func (RoleValidationError) ErrorName ¶ added in v0.0.13
func (e RoleValidationError) ErrorName() string
ErrorName returns error name.
func (RoleValidationError) Field ¶ added in v0.0.13
func (e RoleValidationError) Field() string
Field function returns field value.
func (RoleValidationError) Key ¶ added in v0.0.13
func (e RoleValidationError) Key() bool
Key function returns key value.
func (RoleValidationError) Reason ¶ added in v0.0.13
func (e RoleValidationError) 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, the first error encountered is returned, or nil if there are no violations.
func (*SignupRequest) ValidateAll ¶ added in v0.0.12
func (m *SignupRequest) ValidateAll() error
ValidateAll checks the field values on SignupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignupRequestMultiError, or nil if none found.
type SignupRequestMultiError ¶ added in v0.0.12
type SignupRequestMultiError []error
SignupRequestMultiError is an error wrapping multiple validation errors returned by SignupRequest.ValidateAll() if the designated constraints aren't met.
func (SignupRequestMultiError) AllErrors ¶ added in v0.0.12
func (m SignupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignupRequestMultiError) Error ¶ added in v0.0.12
func (m SignupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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
func (*Source) Validate ¶
Validate checks the field values on Source with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Source) ValidateAll ¶ added in v0.0.12
ValidateAll checks the field values on Source with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceMultiError, or nil if none found.
type SourceMultiError ¶ added in v0.0.12
type SourceMultiError []error
SourceMultiError is an error wrapping multiple validation errors returned by Source.ValidateAll() if the designated constraints aren't met.
func (SourceMultiError) AllErrors ¶ added in v0.0.12
func (m SourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceMultiError) Error ¶ added in v0.0.12
func (m SourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*Source_Okta) ValidateAll ¶ added in v0.0.12
func (m *Source_Okta) ValidateAll() error
ValidateAll checks the field values on Source_Okta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Source_OktaMultiError, or nil if none found.
type Source_OktaMultiError ¶ added in v0.0.12
type Source_OktaMultiError []error
Source_OktaMultiError is an error wrapping multiple validation errors returned by Source_Okta.ValidateAll() if the designated constraints aren't met.
func (Source_OktaMultiError) AllErrors ¶ added in v0.0.12
func (m Source_OktaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Source_OktaMultiError) Error ¶ added in v0.0.12
func (m Source_OktaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*StatusResponse) ValidateAll ¶ added in v0.0.12
func (m *StatusResponse) ValidateAll() error
ValidateAll checks the field values on StatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusResponseMultiError, or nil if none found.
type StatusResponseMultiError ¶ added in v0.0.12
type StatusResponseMultiError []error
StatusResponseMultiError is an error wrapping multiple validation errors returned by StatusResponse.ValidateAll() if the designated constraints aren't met.
func (StatusResponseMultiError) AllErrors ¶ added in v0.0.12
func (m StatusResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusResponseMultiError) Error ¶ added in v0.0.12
func (m StatusResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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) ListRoles ¶ added in v0.0.13
func (UnimplementedV1Server) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, 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)
func (UnimplementedV1Server) Version ¶ added in v0.0.9
func (UnimplementedV1Server) Version(context.Context, *emptypb.Empty) (*VersionResponse, 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
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶ added in v0.0.12
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserMultiError ¶ added in v0.0.12
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶ added in v0.0.12
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶ added in v0.0.12
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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) ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, 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) Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, 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) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, 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) Version(context.Context, *emptypb.Empty) (*VersionResponse, error) // contains filtered or unexported methods }
V1Server is the server API for V1 service. All implementations must embed UnimplementedV1Server for forward compatibility
type VersionResponse ¶ added in v0.0.9
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
added in
v0.0.9
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶ added in v0.0.9
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶ added in v0.0.9
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶ added in v0.0.9
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶ added in v0.0.9
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶ added in v0.0.9
func (x *VersionResponse) String() string
func (*VersionResponse) Validate ¶ added in v0.0.9
func (m *VersionResponse) Validate() error
Validate checks the field values on VersionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VersionResponse) ValidateAll ¶ added in v0.0.12
func (m *VersionResponse) ValidateAll() error
ValidateAll checks the field values on VersionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VersionResponseMultiError, or nil if none found.
type VersionResponseMultiError ¶ added in v0.0.12
type VersionResponseMultiError []error
VersionResponseMultiError is an error wrapping multiple validation errors returned by VersionResponse.ValidateAll() if the designated constraints aren't met.
func (VersionResponseMultiError) AllErrors ¶ added in v0.0.12
func (m VersionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionResponseMultiError) Error ¶ added in v0.0.12
func (m VersionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionResponseValidationError ¶ added in v0.0.9
type VersionResponseValidationError struct {
// contains filtered or unexported fields
}
VersionResponseValidationError is the validation error returned by VersionResponse.Validate if the designated constraints aren't met.
func (VersionResponseValidationError) Cause ¶ added in v0.0.9
func (e VersionResponseValidationError) Cause() error
Cause function returns cause value.
func (VersionResponseValidationError) Error ¶ added in v0.0.9
func (e VersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VersionResponseValidationError) ErrorName ¶ added in v0.0.9
func (e VersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VersionResponseValidationError) Field ¶ added in v0.0.9
func (e VersionResponseValidationError) Field() string
Field function returns field value.
func (VersionResponseValidationError) Key ¶ added in v0.0.9
func (e VersionResponseValidationError) Key() bool
Key function returns key value.
func (VersionResponseValidationError) Reason ¶ added in v0.0.9
func (e VersionResponseValidationError) Reason() string
Reason function returns reason value.