Documentation
¶
Overview ¶
Package _go is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterArtifactServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterArtifactServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ArtifactServiceClient) error
- func RegisterArtifactServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterArtifactServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ArtifactServiceServer) error
- func RegisterArtifactServiceServer(s grpc.ServiceRegistrar, srv ArtifactServiceServer)
- func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
- func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterBranchProtectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBranchProtectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterBranchProtectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBranchProtectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterBranchProtectionServiceServer(s grpc.ServiceRegistrar, srv BranchProtectionServiceServer)
- func RegisterGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupServiceClient) error
- func RegisterGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServiceServer) error
- func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
- func RegisterHealthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterHealthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HealthServiceClient) error
- func RegisterHealthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterHealthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HealthServiceServer) error
- func RegisterHealthServiceServer(s grpc.ServiceRegistrar, srv HealthServiceServer)
- func RegisterKeyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKeyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyServiceClient) error
- func RegisterKeyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKeyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KeyServiceServer) error
- func RegisterKeyServiceServer(s grpc.ServiceRegistrar, srv KeyServiceServer)
- func RegisterOAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OAuthServiceClient) error
- func RegisterOAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OAuthServiceServer) error
- func RegisterOAuthServiceServer(s grpc.ServiceRegistrar, srv OAuthServiceServer)
- func RegisterOrganizationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOrganizationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationServiceClient) error
- func RegisterOrganizationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOrganizationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServiceServer) error
- func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
- func RegisterPolicyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPolicyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyServiceClient) error
- func RegisterPolicyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPolicyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyServiceServer) error
- func RegisterPolicyServiceServer(s grpc.ServiceRegistrar, srv PolicyServiceServer)
- func RegisterRepositoryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRepositoryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RepositoryServiceClient) error
- func RegisterRepositoryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRepositoryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RepositoryServiceServer) error
- func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
- func RegisterRoleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRoleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleServiceClient) error
- func RegisterRoleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRoleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServiceServer) error
- func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)
- func RegisterSecretsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSecretsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SecretsServiceClient) error
- func RegisterSecretsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSecretsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SecretsServiceServer) error
- func RegisterSecretsServiceServer(s grpc.ServiceRegistrar, srv SecretsServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterVulnerabilitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVulnerabilitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterVulnerabilitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVulnerabilitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterVulnerabilitiesServiceServer(s grpc.ServiceRegistrar, srv VulnerabilitiesServiceServer)
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetArtifactPk() int64
- func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp
- func (x *Artifact) GetName() string
- func (x *Artifact) GetOwner() string
- func (x *Artifact) GetRepository() string
- func (x *Artifact) GetType() string
- func (x *Artifact) GetVisibility() string
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type ArtifactServiceClient
- type ArtifactServiceServer
- type ArtifactType
- type ArtifactVersion
- func (*ArtifactVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactVersion) GetCreatedAt() *timestamppb.Timestamp
- func (x *ArtifactVersion) GetGithubWorkflow() *GithubWorkflow
- func (x *ArtifactVersion) GetSha() string
- func (x *ArtifactVersion) GetSignatureVerification() *SignatureVerification
- func (x *ArtifactVersion) GetTags() []string
- func (x *ArtifactVersion) GetVersionId() int64
- func (*ArtifactVersion) ProtoMessage()
- func (x *ArtifactVersion) ProtoReflect() protoreflect.Message
- func (x *ArtifactVersion) Reset()
- func (x *ArtifactVersion) String() string
- type AuthServiceClient
- type AuthServiceServer
- type BranchProtection
- func (*BranchProtection) Descriptor() ([]byte, []int)deprecated
- func (x *BranchProtection) GetBranch() string
- func (x *BranchProtection) GetIsProtected() bool
- func (*BranchProtection) ProtoMessage()
- func (x *BranchProtection) ProtoReflect() protoreflect.Message
- func (x *BranchProtection) Reset()
- func (x *BranchProtection) String() string
- type BranchProtectionServiceClient
- type BranchProtectionServiceServer
- type BuiltinType
- type CheckHealthRequest
- type CheckHealthResponse
- func (*CheckHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckHealthResponse) GetStatus() string
- func (*CheckHealthResponse) ProtoMessage()
- func (x *CheckHealthResponse) ProtoReflect() protoreflect.Message
- func (x *CheckHealthResponse) Reset()
- func (x *CheckHealthResponse) String() string
- type Context
- func (*Context) Descriptor() ([]byte, []int)deprecated
- func (x *Context) GetGroup() string
- func (x *Context) GetOrganization() string
- func (x *Context) GetProvider() string
- func (*Context) ProtoMessage()
- func (x *Context) ProtoReflect() protoreflect.Message
- func (x *Context) Reset()
- func (x *Context) String() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetDescription() string
- func (x *CreateGroupRequest) GetIsProtected() bool
- func (x *CreateGroupRequest) GetName() string
- func (x *CreateGroupRequest) GetOrganizationId() int32
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- type CreateGroupResponse
- func (*CreateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateGroupResponse) GetDescription() string
- func (x *CreateGroupResponse) GetGroupId() int32
- func (x *CreateGroupResponse) GetIsProtected() bool
- func (x *CreateGroupResponse) GetName() string
- func (x *CreateGroupResponse) GetOrganizationId() int32
- func (x *CreateGroupResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateGroupResponse) ProtoMessage()
- func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGroupResponse) Reset()
- func (x *CreateGroupResponse) String() string
- type CreateKeyPairRequest
- func (*CreateKeyPairRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyPairRequest) GetGroupId() int32
- func (x *CreateKeyPairRequest) GetPassphrase() string
- func (*CreateKeyPairRequest) ProtoMessage()
- func (x *CreateKeyPairRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeyPairRequest) Reset()
- func (x *CreateKeyPairRequest) String() string
- type CreateKeyPairResponse
- func (*CreateKeyPairResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyPairResponse) GetKeyIdentifier() string
- func (x *CreateKeyPairResponse) GetPublicKey() string
- func (*CreateKeyPairResponse) ProtoMessage()
- func (x *CreateKeyPairResponse) ProtoReflect() protoreflect.Message
- func (x *CreateKeyPairResponse) Reset()
- func (x *CreateKeyPairResponse) String() string
- type CreateOrganizationRequest
- func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationRequest) GetCompany() string
- func (x *CreateOrganizationRequest) GetCreateDefaultRecords() bool
- func (x *CreateOrganizationRequest) GetName() string
- func (*CreateOrganizationRequest) ProtoMessage()
- func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationRequest) Reset()
- func (x *CreateOrganizationRequest) String() string
- type CreateOrganizationResponse
- func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationResponse) GetCompany() string
- func (x *CreateOrganizationResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateOrganizationResponse) GetDefaultGroup() *GroupRecord
- func (x *CreateOrganizationResponse) GetDefaultRoles() []*RoleRecord
- func (x *CreateOrganizationResponse) GetDefaultUser() *UserRecord
- func (x *CreateOrganizationResponse) GetId() int32
- func (x *CreateOrganizationResponse) GetName() string
- func (x *CreateOrganizationResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateOrganizationResponse) ProtoMessage()
- func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationResponse) Reset()
- func (x *CreateOrganizationResponse) String() string
- type CreatePolicyRequest
- func (*CreatePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyRequest) GetPolicy() *Policy
- func (*CreatePolicyRequest) ProtoMessage()
- func (x *CreatePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyRequest) Reset()
- func (x *CreatePolicyRequest) String() string
- type CreatePolicyResponse
- func (*CreatePolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyResponse) GetPolicy() *Policy
- func (*CreatePolicyResponse) ProtoMessage()
- func (x *CreatePolicyResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyResponse) Reset()
- func (x *CreatePolicyResponse) String() string
- type CreateRoleByGroupRequest
- func (*CreateRoleByGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleByGroupRequest) GetGroupId() int32
- func (x *CreateRoleByGroupRequest) GetIsAdmin() bool
- func (x *CreateRoleByGroupRequest) GetIsProtected() bool
- func (x *CreateRoleByGroupRequest) GetName() string
- func (x *CreateRoleByGroupRequest) GetOrganizationId() int32
- func (*CreateRoleByGroupRequest) ProtoMessage()
- func (x *CreateRoleByGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleByGroupRequest) Reset()
- func (x *CreateRoleByGroupRequest) String() string
- type CreateRoleByGroupResponse
- func (*CreateRoleByGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleByGroupResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateRoleByGroupResponse) GetGroupId() int32
- func (x *CreateRoleByGroupResponse) GetId() int32
- func (x *CreateRoleByGroupResponse) GetIsAdmin() bool
- func (x *CreateRoleByGroupResponse) GetIsProtected() bool
- func (x *CreateRoleByGroupResponse) GetName() string
- func (x *CreateRoleByGroupResponse) GetOrganizationId() int32
- func (x *CreateRoleByGroupResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateRoleByGroupResponse) ProtoMessage()
- func (x *CreateRoleByGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoleByGroupResponse) Reset()
- func (x *CreateRoleByGroupResponse) String() string
- type CreateRoleByOrganizationRequest
- func (*CreateRoleByOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleByOrganizationRequest) GetIsAdmin() bool
- func (x *CreateRoleByOrganizationRequest) GetIsProtected() bool
- func (x *CreateRoleByOrganizationRequest) GetName() string
- func (x *CreateRoleByOrganizationRequest) GetOrganizationId() int32
- func (*CreateRoleByOrganizationRequest) ProtoMessage()
- func (x *CreateRoleByOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleByOrganizationRequest) Reset()
- func (x *CreateRoleByOrganizationRequest) String() string
- type CreateRoleByOrganizationResponse
- func (*CreateRoleByOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleByOrganizationResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateRoleByOrganizationResponse) GetId() int32
- func (x *CreateRoleByOrganizationResponse) GetIsAdmin() bool
- func (x *CreateRoleByOrganizationResponse) GetIsProtected() bool
- func (x *CreateRoleByOrganizationResponse) GetName() string
- func (x *CreateRoleByOrganizationResponse) GetOrganizationId() int32
- func (x *CreateRoleByOrganizationResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateRoleByOrganizationResponse) ProtoMessage()
- func (x *CreateRoleByOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoleByOrganizationResponse) Reset()
- func (x *CreateRoleByOrganizationResponse) String() string
- type CreateRuleTypeRequest
- func (*CreateRuleTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRuleTypeRequest) GetRuleType() *RuleType
- func (*CreateRuleTypeRequest) ProtoMessage()
- func (x *CreateRuleTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRuleTypeRequest) Reset()
- func (x *CreateRuleTypeRequest) String() string
- type CreateRuleTypeResponse
- func (*CreateRuleTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRuleTypeResponse) GetRuleType() *RuleType
- func (*CreateRuleTypeResponse) ProtoMessage()
- func (x *CreateRuleTypeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRuleTypeResponse) Reset()
- func (x *CreateRuleTypeResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetFirstName() string
- func (x *CreateUserRequest) GetGroupIds() []int32
- func (x *CreateUserRequest) GetIsProtected() bool
- func (x *CreateUserRequest) GetLastName() string
- func (x *CreateUserRequest) GetNeedsPasswordChange() bool
- func (x *CreateUserRequest) GetOrganizationId() int32
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetRoleIds() []int32
- func (x *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateUserResponse) GetEmail() string
- func (x *CreateUserResponse) GetFirstName() string
- func (x *CreateUserResponse) GetId() int32
- func (x *CreateUserResponse) GetIsProtected() bool
- func (x *CreateUserResponse) GetLastName() string
- func (x *CreateUserResponse) GetNeedsPasswordChange() bool
- func (x *CreateUserResponse) GetOrganizationId() int32
- func (x *CreateUserResponse) GetPassword() string
- func (x *CreateUserResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *CreateUserResponse) GetUsername() string
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetForce() bool
- func (x *DeleteGroupRequest) GetId() int32
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- type DeleteGroupResponse
- type DeleteOrganizationRequest
- func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationRequest) GetForce() bool
- func (x *DeleteOrganizationRequest) GetId() int32
- func (*DeleteOrganizationRequest) ProtoMessage()
- func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationRequest) Reset()
- func (x *DeleteOrganizationRequest) String() string
- type DeleteOrganizationResponse
- type DeletePolicyRequest
- func (*DeletePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyRequest) GetContext() *Context
- func (x *DeletePolicyRequest) GetId() int32
- func (*DeletePolicyRequest) ProtoMessage()
- func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyRequest) Reset()
- func (x *DeletePolicyRequest) String() string
- type DeletePolicyResponse
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleRequest) GetForce() bool
- func (x *DeleteRoleRequest) GetId() int32
- func (*DeleteRoleRequest) ProtoMessage()
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleRequest) Reset()
- func (x *DeleteRoleRequest) String() string
- type DeleteRoleResponse
- type DeleteRuleTypeRequest
- func (*DeleteRuleTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRuleTypeRequest) GetContext() *Context
- func (x *DeleteRuleTypeRequest) GetId() int32
- func (*DeleteRuleTypeRequest) ProtoMessage()
- func (x *DeleteRuleTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRuleTypeRequest) Reset()
- func (x *DeleteRuleTypeRequest) String() string
- type DeleteRuleTypeResponse
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetForce() bool
- func (x *DeleteUserRequest) GetId() int32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeleteUserResponse
- type DepEcosystem
- func (DepEcosystem) Descriptor() protoreflect.EnumDescriptor
- func (x DepEcosystem) Enum() *DepEcosystem
- func (DepEcosystem) EnumDescriptor() ([]byte, []int)deprecated
- func (x DepEcosystem) Number() protoreflect.EnumNumber
- func (x DepEcosystem) String() string
- func (DepEcosystem) Type() protoreflect.EnumType
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetEcosystem() DepEcosystem
- func (x *Dependency) GetName() string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- type DiffType
- type DiffType_Ecosystem
- func (*DiffType_Ecosystem) Descriptor() ([]byte, []int)deprecated
- func (x *DiffType_Ecosystem) GetDepfile() string
- func (x *DiffType_Ecosystem) GetName() string
- func (*DiffType_Ecosystem) ProtoMessage()
- func (x *DiffType_Ecosystem) ProtoReflect() protoreflect.Message
- func (x *DiffType_Ecosystem) Reset()
- func (x *DiffType_Ecosystem) String() string
- type Entity
- type ExchangeCodeForTokenCLIRequest
- func (*ExchangeCodeForTokenCLIRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCodeForTokenCLIRequest) GetCode() string
- func (x *ExchangeCodeForTokenCLIRequest) GetGroupId() int32
- func (x *ExchangeCodeForTokenCLIRequest) GetProvider() string
- func (x *ExchangeCodeForTokenCLIRequest) GetRedirectUri() string
- func (x *ExchangeCodeForTokenCLIRequest) GetState() string
- func (*ExchangeCodeForTokenCLIRequest) ProtoMessage()
- func (x *ExchangeCodeForTokenCLIRequest) ProtoReflect() protoreflect.Message
- func (x *ExchangeCodeForTokenCLIRequest) Reset()
- func (x *ExchangeCodeForTokenCLIRequest) String() string
- type ExchangeCodeForTokenWEBRequest
- func (*ExchangeCodeForTokenWEBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCodeForTokenWEBRequest) GetCode() string
- func (x *ExchangeCodeForTokenWEBRequest) GetGroupId() int32
- func (x *ExchangeCodeForTokenWEBRequest) GetProvider() string
- func (x *ExchangeCodeForTokenWEBRequest) GetRedirectUri() string
- func (*ExchangeCodeForTokenWEBRequest) ProtoMessage()
- func (x *ExchangeCodeForTokenWEBRequest) ProtoReflect() protoreflect.Message
- func (x *ExchangeCodeForTokenWEBRequest) Reset()
- func (x *ExchangeCodeForTokenWEBRequest) String() string
- type ExchangeCodeForTokenWEBResponse
- func (*ExchangeCodeForTokenWEBResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeCodeForTokenWEBResponse) GetAccessToken() string
- func (x *ExchangeCodeForTokenWEBResponse) GetExpiresIn() int64
- func (x *ExchangeCodeForTokenWEBResponse) GetStatus() string
- func (x *ExchangeCodeForTokenWEBResponse) GetTokenType() string
- func (*ExchangeCodeForTokenWEBResponse) ProtoMessage()
- func (x *ExchangeCodeForTokenWEBResponse) ProtoReflect() protoreflect.Message
- func (x *ExchangeCodeForTokenWEBResponse) Reset()
- func (x *ExchangeCodeForTokenWEBResponse) String() string
- type FilePatch
- type GetArtifactByIdRequest
- func (*GetArtifactByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactByIdRequest) GetId() int32
- func (x *GetArtifactByIdRequest) GetLatestVersions() int32
- func (x *GetArtifactByIdRequest) GetTag() string
- func (*GetArtifactByIdRequest) ProtoMessage()
- func (x *GetArtifactByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtifactByIdRequest) Reset()
- func (x *GetArtifactByIdRequest) String() string
- type GetArtifactByIdResponse
- func (*GetArtifactByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactByIdResponse) GetArtifact() *Artifact
- func (x *GetArtifactByIdResponse) GetVersions() []*ArtifactVersion
- func (*GetArtifactByIdResponse) ProtoMessage()
- func (x *GetArtifactByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetArtifactByIdResponse) Reset()
- func (x *GetArtifactByIdResponse) String() string
- type GetAuthorizationURLRequest
- func (*GetAuthorizationURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorizationURLRequest) GetCli() bool
- func (x *GetAuthorizationURLRequest) GetGroupId() int32
- func (x *GetAuthorizationURLRequest) GetOwner() string
- func (x *GetAuthorizationURLRequest) GetPort() int32
- func (x *GetAuthorizationURLRequest) GetProvider() string
- func (*GetAuthorizationURLRequest) ProtoMessage()
- func (x *GetAuthorizationURLRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthorizationURLRequest) Reset()
- func (x *GetAuthorizationURLRequest) String() string
- type GetAuthorizationURLResponse
- func (*GetAuthorizationURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthorizationURLResponse) GetUrl() string
- func (*GetAuthorizationURLResponse) ProtoMessage()
- func (x *GetAuthorizationURLResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthorizationURLResponse) Reset()
- func (x *GetAuthorizationURLResponse) String() string
- type GetBranchProtectionRequest
- type GetBranchProtectionResponse
- func (*GetBranchProtectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBranchProtectionResponse) GetBranchProtections() []*BranchProtection
- func (*GetBranchProtectionResponse) ProtoMessage()
- func (x *GetBranchProtectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetBranchProtectionResponse) Reset()
- func (x *GetBranchProtectionResponse) String() string
- type GetGroupByIdRequest
- func (*GetGroupByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupByIdRequest) GetGroupId() int32
- func (*GetGroupByIdRequest) ProtoMessage()
- func (x *GetGroupByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupByIdRequest) Reset()
- func (x *GetGroupByIdRequest) String() string
- type GetGroupByIdResponse
- func (*GetGroupByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupByIdResponse) GetGroup() *GroupRecord
- func (x *GetGroupByIdResponse) GetRoles() []*RoleRecord
- func (x *GetGroupByIdResponse) GetUsers() []*UserRecord
- func (*GetGroupByIdResponse) ProtoMessage()
- func (x *GetGroupByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupByIdResponse) Reset()
- func (x *GetGroupByIdResponse) String() string
- type GetGroupByNameRequest
- func (*GetGroupByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupByNameRequest) GetName() string
- func (*GetGroupByNameRequest) ProtoMessage()
- func (x *GetGroupByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupByNameRequest) Reset()
- func (x *GetGroupByNameRequest) String() string
- type GetGroupByNameResponse
- func (*GetGroupByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupByNameResponse) GetGroup() *GroupRecord
- func (x *GetGroupByNameResponse) GetRoles() []*RoleRecord
- func (x *GetGroupByNameResponse) GetUsers() []*UserRecord
- func (*GetGroupByNameResponse) ProtoMessage()
- func (x *GetGroupByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupByNameResponse) Reset()
- func (x *GetGroupByNameResponse) String() string
- type GetGroupsRequest
- func (*GetGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupsRequest) GetLimit() int32
- func (x *GetGroupsRequest) GetOffset() int32
- func (x *GetGroupsRequest) GetOrganizationId() int32
- func (*GetGroupsRequest) ProtoMessage()
- func (x *GetGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupsRequest) Reset()
- func (x *GetGroupsRequest) String() string
- type GetGroupsResponse
- func (*GetGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupsResponse) GetGroups() []*GroupRecord
- func (*GetGroupsResponse) ProtoMessage()
- func (x *GetGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupsResponse) Reset()
- func (x *GetGroupsResponse) String() string
- type GetOrganizationByNameRequest
- func (*GetOrganizationByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationByNameRequest) GetName() string
- func (*GetOrganizationByNameRequest) ProtoMessage()
- func (x *GetOrganizationByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationByNameRequest) Reset()
- func (x *GetOrganizationByNameRequest) String() string
- type GetOrganizationByNameResponse
- func (*GetOrganizationByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationByNameResponse) GetGroups() []*GroupRecord
- func (x *GetOrganizationByNameResponse) GetOrganization() *OrganizationRecord
- func (x *GetOrganizationByNameResponse) GetRoles() []*RoleRecord
- func (x *GetOrganizationByNameResponse) GetUsers() []*UserRecord
- func (*GetOrganizationByNameResponse) ProtoMessage()
- func (x *GetOrganizationByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationByNameResponse) Reset()
- func (x *GetOrganizationByNameResponse) String() string
- type GetOrganizationRequest
- func (*GetOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRequest) GetOrganizationId() int32
- func (*GetOrganizationRequest) ProtoMessage()
- func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRequest) Reset()
- func (x *GetOrganizationRequest) String() string
- type GetOrganizationResponse
- func (*GetOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationResponse) GetGroups() []*GroupRecord
- func (x *GetOrganizationResponse) GetOrganization() *OrganizationRecord
- func (x *GetOrganizationResponse) GetRoles() []*RoleRecord
- func (x *GetOrganizationResponse) GetUsers() []*UserRecord
- func (*GetOrganizationResponse) ProtoMessage()
- func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationResponse) Reset()
- func (x *GetOrganizationResponse) String() string
- type GetOrganizationsRequest
- func (*GetOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationsRequest) GetLimit() int32
- func (x *GetOrganizationsRequest) GetOffset() int32
- func (*GetOrganizationsRequest) ProtoMessage()
- func (x *GetOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationsRequest) Reset()
- func (x *GetOrganizationsRequest) String() string
- type GetOrganizationsResponse
- func (*GetOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationsResponse) GetOrganizations() []*OrganizationRecord
- func (*GetOrganizationsResponse) ProtoMessage()
- func (x *GetOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationsResponse) Reset()
- func (x *GetOrganizationsResponse) String() string
- type GetPolicyByIdRequest
- func (*GetPolicyByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyByIdRequest) GetContext() *Context
- func (x *GetPolicyByIdRequest) GetId() int32
- func (*GetPolicyByIdRequest) ProtoMessage()
- func (x *GetPolicyByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyByIdRequest) Reset()
- func (x *GetPolicyByIdRequest) String() string
- type GetPolicyByIdResponse
- func (*GetPolicyByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyByIdResponse) GetPolicy() *Policy
- func (*GetPolicyByIdResponse) ProtoMessage()
- func (x *GetPolicyByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyByIdResponse) Reset()
- func (x *GetPolicyByIdResponse) String() string
- type GetPolicyStatusByGroupRequest
- func (*GetPolicyStatusByGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyStatusByGroupRequest) GetContext() *Context
- func (*GetPolicyStatusByGroupRequest) ProtoMessage()
- func (x *GetPolicyStatusByGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyStatusByGroupRequest) Reset()
- func (x *GetPolicyStatusByGroupRequest) String() string
- type GetPolicyStatusByGroupResponse
- func (*GetPolicyStatusByGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyStatusByGroupResponse) GetPolicyStatus() []*PolicyStatus
- func (*GetPolicyStatusByGroupResponse) ProtoMessage()
- func (x *GetPolicyStatusByGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyStatusByGroupResponse) Reset()
- func (x *GetPolicyStatusByGroupResponse) String() string
- type GetPolicyStatusByIdRequest
- func (*GetPolicyStatusByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyStatusByIdRequest) GetAll() bool
- func (x *GetPolicyStatusByIdRequest) GetContext() *Context
- func (x *GetPolicyStatusByIdRequest) GetEntity() *GetPolicyStatusByIdRequest_EntityTypedId
- func (m *GetPolicyStatusByIdRequest) GetEntitySelector() isGetPolicyStatusByIdRequest_EntitySelector
- func (x *GetPolicyStatusByIdRequest) GetPolicyId() int32
- func (*GetPolicyStatusByIdRequest) ProtoMessage()
- func (x *GetPolicyStatusByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyStatusByIdRequest) Reset()
- func (x *GetPolicyStatusByIdRequest) String() string
- type GetPolicyStatusByIdRequest_All
- type GetPolicyStatusByIdRequest_Entity
- type GetPolicyStatusByIdRequest_EntityTypedId
- func (*GetPolicyStatusByIdRequest_EntityTypedId) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyStatusByIdRequest_EntityTypedId) GetId() int32
- func (x *GetPolicyStatusByIdRequest_EntityTypedId) GetType() Entity
- func (*GetPolicyStatusByIdRequest_EntityTypedId) ProtoMessage()
- func (x *GetPolicyStatusByIdRequest_EntityTypedId) ProtoReflect() protoreflect.Message
- func (x *GetPolicyStatusByIdRequest_EntityTypedId) Reset()
- func (x *GetPolicyStatusByIdRequest_EntityTypedId) String() string
- type GetPolicyStatusByIdResponse
- func (*GetPolicyStatusByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyStatusByIdResponse) GetPolicyStatus() *PolicyStatus
- func (x *GetPolicyStatusByIdResponse) GetRuleEvaluationStatus() []*RuleEvaluationStatus
- func (*GetPolicyStatusByIdResponse) ProtoMessage()
- func (x *GetPolicyStatusByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyStatusByIdResponse) Reset()
- func (x *GetPolicyStatusByIdResponse) String() string
- type GetPublicKeyRequest
- func (*GetPublicKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicKeyRequest) GetKeyIdentifier() string
- func (*GetPublicKeyRequest) ProtoMessage()
- func (x *GetPublicKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublicKeyRequest) Reset()
- func (x *GetPublicKeyRequest) String() string
- type GetPublicKeyResponse
- func (*GetPublicKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicKeyResponse) GetPublicKey() string
- func (*GetPublicKeyResponse) ProtoMessage()
- func (x *GetPublicKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublicKeyResponse) Reset()
- func (x *GetPublicKeyResponse) String() string
- type GetRepositoryByIdRequest
- func (*GetRepositoryByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryByIdRequest) GetRepositoryId() int32
- func (*GetRepositoryByIdRequest) ProtoMessage()
- func (x *GetRepositoryByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryByIdRequest) Reset()
- func (x *GetRepositoryByIdRequest) String() string
- type GetRepositoryByIdResponse
- func (*GetRepositoryByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryByIdResponse) GetRepository() *RepositoryRecord
- func (*GetRepositoryByIdResponse) ProtoMessage()
- func (x *GetRepositoryByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryByIdResponse) Reset()
- func (x *GetRepositoryByIdResponse) String() string
- type GetRepositoryByNameRequest
- func (*GetRepositoryByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryByNameRequest) GetName() string
- func (x *GetRepositoryByNameRequest) GetProvider() string
- func (*GetRepositoryByNameRequest) ProtoMessage()
- func (x *GetRepositoryByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryByNameRequest) Reset()
- func (x *GetRepositoryByNameRequest) String() string
- type GetRepositoryByNameResponse
- func (*GetRepositoryByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryByNameResponse) GetRepository() *RepositoryRecord
- func (*GetRepositoryByNameResponse) ProtoMessage()
- func (x *GetRepositoryByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryByNameResponse) Reset()
- func (x *GetRepositoryByNameResponse) String() string
- type GetRoleByIdRequest
- type GetRoleByIdResponse
- func (*GetRoleByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleByIdResponse) GetRole() *RoleRecord
- func (*GetRoleByIdResponse) ProtoMessage()
- func (x *GetRoleByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoleByIdResponse) Reset()
- func (x *GetRoleByIdResponse) String() string
- type GetRoleByNameRequest
- func (*GetRoleByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleByNameRequest) GetName() string
- func (x *GetRoleByNameRequest) GetOrganizationId() int32
- func (*GetRoleByNameRequest) ProtoMessage()
- func (x *GetRoleByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoleByNameRequest) Reset()
- func (x *GetRoleByNameRequest) String() string
- type GetRoleByNameResponse
- func (*GetRoleByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleByNameResponse) GetRole() *RoleRecord
- func (*GetRoleByNameResponse) ProtoMessage()
- func (x *GetRoleByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoleByNameResponse) Reset()
- func (x *GetRoleByNameResponse) String() string
- type GetRolesByGroupRequest
- func (*GetRolesByGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolesByGroupRequest) GetGroupId() int32
- func (x *GetRolesByGroupRequest) GetLimit() int32
- func (x *GetRolesByGroupRequest) GetOffset() int32
- func (*GetRolesByGroupRequest) ProtoMessage()
- func (x *GetRolesByGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetRolesByGroupRequest) Reset()
- func (x *GetRolesByGroupRequest) String() string
- type GetRolesByGroupResponse
- func (*GetRolesByGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolesByGroupResponse) GetRoles() []*RoleRecord
- func (*GetRolesByGroupResponse) ProtoMessage()
- func (x *GetRolesByGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetRolesByGroupResponse) Reset()
- func (x *GetRolesByGroupResponse) String() string
- type GetRolesRequest
- func (*GetRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolesRequest) GetLimit() int32
- func (x *GetRolesRequest) GetOffset() int32
- func (x *GetRolesRequest) GetOrganizationId() int32
- func (*GetRolesRequest) ProtoMessage()
- func (x *GetRolesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRolesRequest) Reset()
- func (x *GetRolesRequest) String() string
- type GetRolesResponse
- type GetRuleTypeByIdRequest
- func (*GetRuleTypeByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleTypeByIdRequest) GetContext() *Context
- func (x *GetRuleTypeByIdRequest) GetId() int32
- func (*GetRuleTypeByIdRequest) ProtoMessage()
- func (x *GetRuleTypeByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuleTypeByIdRequest) Reset()
- func (x *GetRuleTypeByIdRequest) String() string
- type GetRuleTypeByIdResponse
- func (*GetRuleTypeByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleTypeByIdResponse) GetRuleType() *RuleType
- func (*GetRuleTypeByIdResponse) ProtoMessage()
- func (x *GetRuleTypeByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetRuleTypeByIdResponse) Reset()
- func (x *GetRuleTypeByIdResponse) String() string
- type GetRuleTypeByNameRequest
- func (*GetRuleTypeByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleTypeByNameRequest) GetContext() *Context
- func (x *GetRuleTypeByNameRequest) GetName() string
- func (*GetRuleTypeByNameRequest) ProtoMessage()
- func (x *GetRuleTypeByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuleTypeByNameRequest) Reset()
- func (x *GetRuleTypeByNameRequest) String() string
- type GetRuleTypeByNameResponse
- func (*GetRuleTypeByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleTypeByNameResponse) GetRuleType() *RuleType
- func (*GetRuleTypeByNameResponse) ProtoMessage()
- func (x *GetRuleTypeByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetRuleTypeByNameResponse) Reset()
- func (x *GetRuleTypeByNameResponse) String() string
- type GetSecretByIdRequest
- func (*GetSecretByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretByIdRequest) GetId() string
- func (*GetSecretByIdRequest) ProtoMessage()
- func (x *GetSecretByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretByIdRequest) Reset()
- func (x *GetSecretByIdRequest) String() string
- type GetSecretByIdResponse
- func (*GetSecretByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretByIdResponse) GetDescription() string
- func (x *GetSecretByIdResponse) GetId() string
- func (x *GetSecretByIdResponse) GetName() string
- func (*GetSecretByIdResponse) ProtoMessage()
- func (x *GetSecretByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretByIdResponse) Reset()
- func (x *GetSecretByIdResponse) String() string
- type GetSecretsRequest
- type GetSecretsResponse
- func (*GetSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretsResponse) GetSecrets() []*GetSecretByIdResponse
- func (*GetSecretsResponse) ProtoMessage()
- func (x *GetSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSecretsResponse) Reset()
- func (x *GetSecretsResponse) String() string
- type GetUserByEmailRequest
- func (*GetUserByEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByEmailRequest) GetEmail() string
- func (*GetUserByEmailRequest) ProtoMessage()
- func (x *GetUserByEmailRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByEmailRequest) Reset()
- func (x *GetUserByEmailRequest) String() string
- type GetUserByEmailResponse
- func (*GetUserByEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByEmailResponse) GetGroups() []*GroupRecord
- func (x *GetUserByEmailResponse) GetRoles() []*RoleRecord
- func (x *GetUserByEmailResponse) GetUser() *UserRecord
- func (*GetUserByEmailResponse) ProtoMessage()
- func (x *GetUserByEmailResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByEmailResponse) Reset()
- func (x *GetUserByEmailResponse) String() string
- type GetUserByIdRequest
- type GetUserByIdResponse
- func (*GetUserByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByIdResponse) GetGroups() []*GroupRecord
- func (x *GetUserByIdResponse) GetRoles() []*RoleRecord
- func (x *GetUserByIdResponse) GetUser() *UserRecord
- func (*GetUserByIdResponse) ProtoMessage()
- func (x *GetUserByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByIdResponse) Reset()
- func (x *GetUserByIdResponse) String() string
- type GetUserByUserNameRequest
- func (*GetUserByUserNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUserNameRequest) GetUsername() string
- func (*GetUserByUserNameRequest) ProtoMessage()
- func (x *GetUserByUserNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByUserNameRequest) Reset()
- func (x *GetUserByUserNameRequest) String() string
- type GetUserByUserNameResponse
- func (*GetUserByUserNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUserNameResponse) GetGroups() []*GroupRecord
- func (x *GetUserByUserNameResponse) GetRoles() []*RoleRecord
- func (x *GetUserByUserNameResponse) GetUser() *UserRecord
- func (*GetUserByUserNameResponse) ProtoMessage()
- func (x *GetUserByUserNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByUserNameResponse) Reset()
- func (x *GetUserByUserNameResponse) String() string
- type GetUserRequest
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetGroups() []*GroupRecord
- func (x *GetUserResponse) GetRoles() []*RoleRecord
- func (x *GetUserResponse) GetUser() *UserRecord
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type GetUsersByGroupRequest
- func (*GetUsersByGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersByGroupRequest) GetGroupId() int32
- func (x *GetUsersByGroupRequest) GetLimit() int32
- func (x *GetUsersByGroupRequest) GetOffset() int32
- func (*GetUsersByGroupRequest) ProtoMessage()
- func (x *GetUsersByGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersByGroupRequest) Reset()
- func (x *GetUsersByGroupRequest) String() string
- type GetUsersByGroupResponse
- func (*GetUsersByGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersByGroupResponse) GetUsers() []*UserRecord
- func (*GetUsersByGroupResponse) ProtoMessage()
- func (x *GetUsersByGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersByGroupResponse) Reset()
- func (x *GetUsersByGroupResponse) String() string
- type GetUsersByOrganizationRequest
- func (*GetUsersByOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersByOrganizationRequest) GetLimit() int32
- func (x *GetUsersByOrganizationRequest) GetOffset() int32
- func (x *GetUsersByOrganizationRequest) GetOrganizationId() int32
- func (*GetUsersByOrganizationRequest) ProtoMessage()
- func (x *GetUsersByOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersByOrganizationRequest) Reset()
- func (x *GetUsersByOrganizationRequest) String() string
- type GetUsersByOrganizationResponse
- func (*GetUsersByOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersByOrganizationResponse) GetUsers() []*UserRecord
- func (*GetUsersByOrganizationResponse) ProtoMessage()
- func (x *GetUsersByOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersByOrganizationResponse) Reset()
- func (x *GetUsersByOrganizationResponse) String() string
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersRequest) GetLimit() int32
- func (x *GetUsersRequest) GetOffset() int32
- func (*GetUsersRequest) ProtoMessage()
- func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersRequest) Reset()
- func (x *GetUsersRequest) String() string
- type GetUsersResponse
- type GetVulnerabilitiesRequest
- type GetVulnerabilitiesResponse
- func (*GetVulnerabilitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVulnerabilitiesResponse) GetVulns() []*GetVulnerabilityByIdResponse
- func (*GetVulnerabilitiesResponse) ProtoMessage()
- func (x *GetVulnerabilitiesResponse) ProtoReflect() protoreflect.Message
- func (x *GetVulnerabilitiesResponse) Reset()
- func (x *GetVulnerabilitiesResponse) String() string
- type GetVulnerabilityByIdRequest
- func (*GetVulnerabilityByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVulnerabilityByIdRequest) GetId() string
- func (*GetVulnerabilityByIdRequest) ProtoMessage()
- func (x *GetVulnerabilityByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetVulnerabilityByIdRequest) Reset()
- func (x *GetVulnerabilityByIdRequest) String() string
- type GetVulnerabilityByIdResponse
- func (*GetVulnerabilityByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVulnerabilityByIdResponse) GetAdvisroyUrl() string
- func (x *GetVulnerabilityByIdResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetVulnerabilityByIdResponse) GetGhsaid() string
- func (x *GetVulnerabilityByIdResponse) GetGithubId() int64
- func (x *GetVulnerabilityByIdResponse) GetId() uint64
- func (x *GetVulnerabilityByIdResponse) GetPackageName() string
- func (x *GetVulnerabilityByIdResponse) GetRepoId() int64
- func (x *GetVulnerabilityByIdResponse) GetRepoName() string
- func (x *GetVulnerabilityByIdResponse) GetScannedAt() *timestamppb.Timestamp
- func (x *GetVulnerabilityByIdResponse) GetSeverity() string
- func (x *GetVulnerabilityByIdResponse) GetUpgradeVersion() string
- func (x *GetVulnerabilityByIdResponse) GetVersionAffected() string
- func (*GetVulnerabilityByIdResponse) ProtoMessage()
- func (x *GetVulnerabilityByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetVulnerabilityByIdResponse) Reset()
- func (x *GetVulnerabilityByIdResponse) String() string
- type GitType
- type GithubWorkflow
- func (*GithubWorkflow) Descriptor() ([]byte, []int)deprecated
- func (x *GithubWorkflow) GetCommitSha() string
- func (x *GithubWorkflow) GetName() string
- func (x *GithubWorkflow) GetRepository() string
- func (x *GithubWorkflow) GetTrigger() string
- func (*GithubWorkflow) ProtoMessage()
- func (x *GithubWorkflow) ProtoReflect() protoreflect.Message
- func (x *GithubWorkflow) Reset()
- func (x *GithubWorkflow) String() string
- type GroupRecord
- func (*GroupRecord) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRecord) GetCreatedAt() *timestamppb.Timestamp
- func (x *GroupRecord) GetDescription() string
- func (x *GroupRecord) GetGroupId() int32
- func (x *GroupRecord) GetIsProtected() bool
- func (x *GroupRecord) GetName() string
- func (x *GroupRecord) GetOrganizationId() int32
- func (x *GroupRecord) GetUpdatedAt() *timestamppb.Timestamp
- func (*GroupRecord) ProtoMessage()
- func (x *GroupRecord) ProtoReflect() protoreflect.Message
- func (x *GroupRecord) Reset()
- func (x *GroupRecord) String() string
- type GroupServiceClient
- type GroupServiceServer
- type HealthServiceClient
- type HealthServiceServer
- type KeyServiceClient
- type KeyServiceServer
- type ListArtifactsRequest
- func (*ListArtifactsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArtifactsRequest) GetGroupId() int32
- func (x *ListArtifactsRequest) GetProvider() string
- func (*ListArtifactsRequest) ProtoMessage()
- func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message
- func (x *ListArtifactsRequest) Reset()
- func (x *ListArtifactsRequest) String() string
- type ListArtifactsResponse
- func (*ListArtifactsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListArtifactsResponse) GetResults() []*Artifact
- func (*ListArtifactsResponse) ProtoMessage()
- func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message
- func (x *ListArtifactsResponse) Reset()
- func (x *ListArtifactsResponse) String() string
- type ListPoliciesRequest
- func (*ListPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesRequest) GetContext() *Context
- func (*ListPoliciesRequest) ProtoMessage()
- func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesRequest) Reset()
- func (x *ListPoliciesRequest) String() string
- type ListPoliciesResponse
- func (*ListPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesResponse) GetPolicies() []*Policy
- func (*ListPoliciesResponse) ProtoMessage()
- func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesResponse) Reset()
- func (x *ListPoliciesResponse) String() string
- type ListRepositoriesRequest
- func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesRequest) GetFilter() RepoFilter
- func (x *ListRepositoriesRequest) GetGroupId() int32
- func (x *ListRepositoriesRequest) GetLimit() int32
- func (x *ListRepositoriesRequest) GetOffset() int32
- func (x *ListRepositoriesRequest) GetProvider() string
- func (*ListRepositoriesRequest) ProtoMessage()
- func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesRequest) Reset()
- func (x *ListRepositoriesRequest) String() string
- type ListRepositoriesResponse
- func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRepositoriesResponse) GetResults() []*RepositoryRecord
- func (*ListRepositoriesResponse) ProtoMessage()
- func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesResponse) Reset()
- func (x *ListRepositoriesResponse) String() string
- type ListRuleTypesRequest
- func (*ListRuleTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuleTypesRequest) GetContext() *Context
- func (*ListRuleTypesRequest) ProtoMessage()
- func (x *ListRuleTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRuleTypesRequest) Reset()
- func (x *ListRuleTypesRequest) String() string
- type ListRuleTypesResponse
- func (*ListRuleTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuleTypesResponse) GetRuleTypes() []*RuleType
- func (*ListRuleTypesResponse) ProtoMessage()
- func (x *ListRuleTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRuleTypesResponse) Reset()
- func (x *ListRuleTypesResponse) String() string
- type LogInRequest
- func (*LogInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogInRequest) GetPassword() string
- func (x *LogInRequest) GetUsername() string
- func (*LogInRequest) ProtoMessage()
- func (x *LogInRequest) ProtoReflect() protoreflect.Message
- func (x *LogInRequest) Reset()
- func (x *LogInRequest) String() string
- type LogInResponse
- func (*LogInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogInResponse) GetAccessToken() string
- func (x *LogInResponse) GetAccessTokenExpiresIn() int64
- func (x *LogInResponse) GetRefreshToken() string
- func (x *LogInResponse) GetRefreshTokenExpiresIn() int64
- func (*LogInResponse) ProtoMessage()
- func (x *LogInResponse) ProtoReflect() protoreflect.Message
- func (x *LogInResponse) Reset()
- func (x *LogInResponse) String() string
- type LogOutRequest
- type LogOutResponse
- type OAuthServiceClient
- type OAuthServiceServer
- type ObjectOwner
- func (ObjectOwner) Descriptor() protoreflect.EnumDescriptor
- func (x ObjectOwner) Enum() *ObjectOwner
- func (ObjectOwner) EnumDescriptor() ([]byte, []int)deprecated
- func (x ObjectOwner) Number() protoreflect.EnumNumber
- func (x ObjectOwner) String() string
- func (ObjectOwner) Type() protoreflect.EnumType
- type OrganizationRecord
- func (*OrganizationRecord) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationRecord) GetCompany() string
- func (x *OrganizationRecord) GetCreatedAt() *timestamppb.Timestamp
- func (x *OrganizationRecord) GetId() int32
- func (x *OrganizationRecord) GetName() string
- func (x *OrganizationRecord) GetUpdatedAt() *timestamppb.Timestamp
- func (*OrganizationRecord) ProtoMessage()
- func (x *OrganizationRecord) ProtoReflect() protoreflect.Message
- func (x *OrganizationRecord) Reset()
- func (x *OrganizationRecord) String() string
- type OrganizationServiceClient
- type OrganizationServiceServer
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetArtifact() []*Policy_Rule
- func (x *Policy) GetBuildEnvironment() []*Policy_Rule
- func (x *Policy) GetContext() *Context
- func (x *Policy) GetId() int32
- func (x *Policy) GetName() string
- func (x *Policy) GetPullRequest() []*Policy_Rule
- func (x *Policy) GetRepository() []*Policy_Rule
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type PolicyServiceClient
- type PolicyServiceServer
- type PolicyStatus
- func (*PolicyStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyStatus) GetLastUpdated() *timestamppb.Timestamp
- func (x *PolicyStatus) GetPolicyId() int32
- func (x *PolicyStatus) GetPolicyName() string
- func (x *PolicyStatus) GetPolicyStatus() string
- func (*PolicyStatus) ProtoMessage()
- func (x *PolicyStatus) ProtoReflect() protoreflect.Message
- func (x *PolicyStatus) Reset()
- func (x *PolicyStatus) String() string
- type Policy_Rule
- func (*Policy_Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Policy_Rule) GetDef() *structpb.Struct
- func (x *Policy_Rule) GetParams() *structpb.Struct
- func (x *Policy_Rule) GetType() string
- func (*Policy_Rule) ProtoMessage()
- func (x *Policy_Rule) ProtoReflect() protoreflect.Message
- func (x *Policy_Rule) Reset()
- func (x *Policy_Rule) String() string
- type PrDependencies
- func (*PrDependencies) Descriptor() ([]byte, []int)deprecated
- func (x *PrDependencies) GetDeps() []*PrDependencies_ContextualDependency
- func (x *PrDependencies) GetPr() *PullRequest
- func (*PrDependencies) ProtoMessage()
- func (x *PrDependencies) ProtoReflect() protoreflect.Message
- func (x *PrDependencies) Reset()
- func (x *PrDependencies) String() string
- type PrDependencies_ContextualDependency
- func (*PrDependencies_ContextualDependency) Descriptor() ([]byte, []int)deprecated
- func (x *PrDependencies_ContextualDependency) GetDep() *Dependency
- func (x *PrDependencies_ContextualDependency) GetFile() *FilePatch
- func (*PrDependencies_ContextualDependency) ProtoMessage()
- func (x *PrDependencies_ContextualDependency) ProtoReflect() protoreflect.Message
- func (x *PrDependencies_ContextualDependency) Reset()
- func (x *PrDependencies_ContextualDependency) String() string
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetContext() *Provider_Context
- func (x *Provider) GetDef() *Provider_Definition
- func (x *Provider) GetName() string
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- type Provider_Context
- func (*Provider_Context) Descriptor() ([]byte, []int)deprecated
- func (x *Provider_Context) GetGroup() string
- func (x *Provider_Context) GetOrganization() string
- func (*Provider_Context) ProtoMessage()
- func (x *Provider_Context) ProtoReflect() protoreflect.Message
- func (x *Provider_Context) Reset()
- func (x *Provider_Context) String() string
- type Provider_Definition
- func (*Provider_Definition) Descriptor() ([]byte, []int)deprecated
- func (x *Provider_Definition) GetAuth() *Provider_Definition_Auth
- func (x *Provider_Definition) GetClientTypes() *Provider_Definition_ClientTypes
- func (x *Provider_Definition) GetEndpoint() string
- func (x *Provider_Definition) GetEntities() []Entity
- func (*Provider_Definition) ProtoMessage()
- func (x *Provider_Definition) ProtoReflect() protoreflect.Message
- func (x *Provider_Definition) Reset()
- func (x *Provider_Definition) String() string
- type Provider_Definition_Auth
- func (*Provider_Definition_Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Provider_Definition_Auth) GetOauth2() *Provider_Definition_Auth_OAuth2
- func (x *Provider_Definition_Auth) GetType() Provider_Definition_Auth_Type
- func (*Provider_Definition_Auth) ProtoMessage()
- func (x *Provider_Definition_Auth) ProtoReflect() protoreflect.Message
- func (x *Provider_Definition_Auth) Reset()
- func (x *Provider_Definition_Auth) String() string
- type Provider_Definition_Auth_OAuth2
- func (*Provider_Definition_Auth_OAuth2) Descriptor() ([]byte, []int)deprecated
- func (x *Provider_Definition_Auth_OAuth2) GetAuthUrl() string
- func (x *Provider_Definition_Auth_OAuth2) GetClientId() string
- func (x *Provider_Definition_Auth_OAuth2) GetClientSecret() string
- func (x *Provider_Definition_Auth_OAuth2) GetRedirectUri() string
- func (x *Provider_Definition_Auth_OAuth2) GetScope() string
- func (x *Provider_Definition_Auth_OAuth2) GetTokenUrl() string
- func (*Provider_Definition_Auth_OAuth2) ProtoMessage()
- func (x *Provider_Definition_Auth_OAuth2) ProtoReflect() protoreflect.Message
- func (x *Provider_Definition_Auth_OAuth2) Reset()
- func (x *Provider_Definition_Auth_OAuth2) String() string
- type Provider_Definition_Auth_Type
- func (Provider_Definition_Auth_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Provider_Definition_Auth_Type) Enum() *Provider_Definition_Auth_Type
- func (Provider_Definition_Auth_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Provider_Definition_Auth_Type) Number() protoreflect.EnumNumber
- func (x Provider_Definition_Auth_Type) String() string
- func (Provider_Definition_Auth_Type) Type() protoreflect.EnumType
- type Provider_Definition_ClientTypes
- func (*Provider_Definition_ClientTypes) Descriptor() ([]byte, []int)deprecated
- func (x *Provider_Definition_ClientTypes) GetTypes() []Provider_Definition_ClientTypes_Type
- func (*Provider_Definition_ClientTypes) ProtoMessage()
- func (x *Provider_Definition_ClientTypes) ProtoReflect() protoreflect.Message
- func (x *Provider_Definition_ClientTypes) Reset()
- func (x *Provider_Definition_ClientTypes) String() string
- type Provider_Definition_ClientTypes_Type
- func (Provider_Definition_ClientTypes_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Provider_Definition_ClientTypes_Type) Enum() *Provider_Definition_ClientTypes_Type
- func (Provider_Definition_ClientTypes_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Provider_Definition_ClientTypes_Type) Number() protoreflect.EnumNumber
- func (x Provider_Definition_ClientTypes_Type) String() string
- func (Provider_Definition_ClientTypes_Type) Type() protoreflect.EnumType
- type PullRequest
- func (*PullRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullRequest) GetAuthorId() int64
- func (x *PullRequest) GetCommitSha() string
- func (x *PullRequest) GetNumber() int32
- func (x *PullRequest) GetPatches() []*FilePatch
- func (x *PullRequest) GetRepoName() string
- func (x *PullRequest) GetRepoOwner() string
- func (x *PullRequest) GetUrl() string
- func (*PullRequest) ProtoMessage()
- func (x *PullRequest) ProtoReflect() protoreflect.Message
- func (x *PullRequest) Reset()
- func (x *PullRequest) String() string
- type RefreshTokenRequest
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (x *RefreshTokenResponse) GetAccessTokenExpiresIn() int64
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type RegisterRepositoryRequest
- func (*RegisterRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRepositoryRequest) GetEvents() []string
- func (x *RegisterRepositoryRequest) GetGroupId() int32
- func (x *RegisterRepositoryRequest) GetProvider() string
- func (x *RegisterRepositoryRequest) GetRepositories() []*Repositories
- func (*RegisterRepositoryRequest) ProtoMessage()
- func (x *RegisterRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRepositoryRequest) Reset()
- func (x *RegisterRepositoryRequest) String() string
- type RegisterRepositoryResponse
- func (*RegisterRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRepositoryResponse) GetResults() []*RepositoryResult
- func (*RegisterRepositoryResponse) ProtoMessage()
- func (x *RegisterRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterRepositoryResponse) Reset()
- func (x *RegisterRepositoryResponse) String() string
- type RepoFilter
- type Repositories
- func (*Repositories) Descriptor() ([]byte, []int)deprecated
- func (x *Repositories) GetName() string
- func (x *Repositories) GetOwner() string
- func (x *Repositories) GetRepoId() int32
- func (*Repositories) ProtoMessage()
- func (x *Repositories) ProtoReflect() protoreflect.Message
- func (x *Repositories) Reset()
- func (x *Repositories) String() string
- type RepositoryRecord
- func (*RepositoryRecord) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryRecord) GetCloneUrl() string
- func (x *RepositoryRecord) GetCreatedAt() *timestamppb.Timestamp
- func (x *RepositoryRecord) GetDeployUrl() string
- func (x *RepositoryRecord) GetGroupId() int32
- func (x *RepositoryRecord) GetHookUrl() string
- func (x *RepositoryRecord) GetId() int32
- func (x *RepositoryRecord) GetIsFork() bool
- func (x *RepositoryRecord) GetIsPrivate() bool
- func (x *RepositoryRecord) GetName() string
- func (x *RepositoryRecord) GetOwner() string
- func (x *RepositoryRecord) GetProvider() string
- func (x *RepositoryRecord) GetRepoId() int32
- func (x *RepositoryRecord) GetUpdatedAt() *timestamppb.Timestamp
- func (*RepositoryRecord) ProtoMessage()
- func (x *RepositoryRecord) ProtoReflect() protoreflect.Message
- func (x *RepositoryRecord) Reset()
- func (x *RepositoryRecord) String() string
- type RepositoryResult
- func (*RepositoryResult) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryResult) GetCloneUrl() string
- func (x *RepositoryResult) GetCreatedAt() *timestamppb.Timestamp
- func (x *RepositoryResult) GetDeployUrl() string
- func (x *RepositoryResult) GetError() *wrapperspb.StringValue
- func (x *RepositoryResult) GetHookId() int64
- func (x *RepositoryResult) GetHookName() string
- func (x *RepositoryResult) GetHookType() string
- func (x *RepositoryResult) GetHookUrl() string
- func (x *RepositoryResult) GetOwner() string
- func (x *RepositoryResult) GetRegistered() bool
- func (x *RepositoryResult) GetRepoId() int32
- func (x *RepositoryResult) GetRepository() string
- func (x *RepositoryResult) GetSuccess() bool
- func (x *RepositoryResult) GetUpdatedAt() *timestamppb.Timestamp
- func (x *RepositoryResult) GetUuid() string
- func (*RepositoryResult) ProtoMessage()
- func (x *RepositoryResult) ProtoReflect() protoreflect.Message
- func (x *RepositoryResult) Reset()
- func (x *RepositoryResult) String() string
- type RepositoryServiceClient
- type RepositoryServiceServer
- type RestType
- func (*RestType) Descriptor() ([]byte, []int)deprecated
- func (x *RestType) GetBody() string
- func (x *RestType) GetEndpoint() string
- func (x *RestType) GetHeaders() []string
- func (x *RestType) GetMethod() string
- func (x *RestType) GetParse() string
- func (*RestType) ProtoMessage()
- func (x *RestType) ProtoReflect() protoreflect.Message
- func (x *RestType) Reset()
- func (x *RestType) String() string
- type RevokeOauthGroupTokenRequest
- func (*RevokeOauthGroupTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeOauthGroupTokenRequest) GetGroupId() int32
- func (x *RevokeOauthGroupTokenRequest) GetProvider() string
- func (*RevokeOauthGroupTokenRequest) ProtoMessage()
- func (x *RevokeOauthGroupTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeOauthGroupTokenRequest) Reset()
- func (x *RevokeOauthGroupTokenRequest) String() string
- type RevokeOauthGroupTokenResponse
- func (*RevokeOauthGroupTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (*RevokeOauthGroupTokenResponse) ProtoMessage()
- func (x *RevokeOauthGroupTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeOauthGroupTokenResponse) Reset()
- func (x *RevokeOauthGroupTokenResponse) String() string
- type RevokeOauthTokensRequest
- func (*RevokeOauthTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeOauthTokensRequest) GetProvider() string
- func (*RevokeOauthTokensRequest) ProtoMessage()
- func (x *RevokeOauthTokensRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeOauthTokensRequest) Reset()
- func (x *RevokeOauthTokensRequest) String() string
- type RevokeOauthTokensResponse
- func (*RevokeOauthTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeOauthTokensResponse) GetRevokedTokens() int32
- func (*RevokeOauthTokensResponse) ProtoMessage()
- func (x *RevokeOauthTokensResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeOauthTokensResponse) Reset()
- func (x *RevokeOauthTokensResponse) String() string
- type RevokeTokensRequest
- type RevokeTokensResponse
- type RevokeUserTokenRequest
- func (*RevokeUserTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserTokenRequest) GetUserId() int32
- func (*RevokeUserTokenRequest) ProtoMessage()
- func (x *RevokeUserTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeUserTokenRequest) Reset()
- func (x *RevokeUserTokenRequest) String() string
- type RevokeUserTokenResponse
- type RoleRecord
- func (*RoleRecord) Descriptor() ([]byte, []int)deprecated
- func (x *RoleRecord) GetCreatedAt() *timestamppb.Timestamp
- func (x *RoleRecord) GetGroupId() int32
- func (x *RoleRecord) GetId() int32
- func (x *RoleRecord) GetIsAdmin() bool
- func (x *RoleRecord) GetIsProtected() bool
- func (x *RoleRecord) GetName() string
- func (x *RoleRecord) GetOrganizationId() int32
- func (x *RoleRecord) GetUpdatedAt() *timestamppb.Timestamp
- func (*RoleRecord) ProtoMessage()
- func (x *RoleRecord) ProtoReflect() protoreflect.Message
- func (x *RoleRecord) Reset()
- func (x *RoleRecord) String() string
- type RoleServiceClient
- type RoleServiceServer
- type RpcOptions
- func (*RpcOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RpcOptions) GetAnonymous() bool
- func (x *RpcOptions) GetAuthScope() ObjectOwner
- func (x *RpcOptions) GetNoLog() bool
- func (x *RpcOptions) GetOwnerOnly() bool
- func (x *RpcOptions) GetRootAdminOnly() bool
- func (*RpcOptions) ProtoMessage()
- func (x *RpcOptions) ProtoReflect() protoreflect.Message
- func (x *RpcOptions) Reset()
- func (x *RpcOptions) String() string
- type RuleEvaluationStatus
- func (*RuleEvaluationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RuleEvaluationStatus) GetDetails() string
- func (x *RuleEvaluationStatus) GetEntity() string
- func (x *RuleEvaluationStatus) GetEntityInfo() map[string]string
- func (x *RuleEvaluationStatus) GetGuidance() string
- func (x *RuleEvaluationStatus) GetLastUpdated() *timestamppb.Timestamp
- func (x *RuleEvaluationStatus) GetPolicyId() int32
- func (x *RuleEvaluationStatus) GetRuleId() int32
- func (x *RuleEvaluationStatus) GetRuleName() string
- func (x *RuleEvaluationStatus) GetStatus() string
- func (*RuleEvaluationStatus) ProtoMessage()
- func (x *RuleEvaluationStatus) ProtoReflect() protoreflect.Message
- func (x *RuleEvaluationStatus) Reset()
- func (x *RuleEvaluationStatus) String() string
- type RuleType
- func (*RuleType) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType) GetContext() *Context
- func (x *RuleType) GetDef() *RuleType_Definition
- func (x *RuleType) GetDescription() string
- func (x *RuleType) GetGuidance() string
- func (x *RuleType) GetId() int32
- func (x *RuleType) GetName() string
- func (*RuleType) ProtoMessage()
- func (x *RuleType) ProtoReflect() protoreflect.Message
- func (x *RuleType) Reset()
- func (x *RuleType) String() string
- type RuleType_Definition
- func (*RuleType_Definition) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition) GetEval() *RuleType_Definition_Eval
- func (x *RuleType_Definition) GetInEntity() string
- func (x *RuleType_Definition) GetIngest() *RuleType_Definition_Ingest
- func (x *RuleType_Definition) GetParamSchema() *structpb.Struct
- func (x *RuleType_Definition) GetRuleSchema() *structpb.Struct
- func (*RuleType_Definition) ProtoMessage()
- func (x *RuleType_Definition) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition) Reset()
- func (x *RuleType_Definition) String() string
- type RuleType_Definition_Eval
- func (*RuleType_Definition_Eval) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition_Eval) GetJq() []*RuleType_Definition_Eval_JQComparison
- func (x *RuleType_Definition_Eval) GetRego() *RuleType_Definition_Eval_Rego
- func (x *RuleType_Definition_Eval) GetType() string
- func (x *RuleType_Definition_Eval) GetVulncheck() *RuleType_Definition_Eval_Vulncheck
- func (*RuleType_Definition_Eval) ProtoMessage()
- func (x *RuleType_Definition_Eval) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition_Eval) Reset()
- func (x *RuleType_Definition_Eval) String() string
- type RuleType_Definition_Eval_JQComparison
- func (*RuleType_Definition_Eval_JQComparison) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition_Eval_JQComparison) GetIngested() *RuleType_Definition_Eval_JQComparison_Operator
- func (x *RuleType_Definition_Eval_JQComparison) GetPolicy() *RuleType_Definition_Eval_JQComparison_Operator
- func (*RuleType_Definition_Eval_JQComparison) ProtoMessage()
- func (x *RuleType_Definition_Eval_JQComparison) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition_Eval_JQComparison) Reset()
- func (x *RuleType_Definition_Eval_JQComparison) String() string
- type RuleType_Definition_Eval_JQComparison_Operator
- func (*RuleType_Definition_Eval_JQComparison_Operator) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition_Eval_JQComparison_Operator) GetDef() string
- func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoMessage()
- func (x *RuleType_Definition_Eval_JQComparison_Operator) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition_Eval_JQComparison_Operator) Reset()
- func (x *RuleType_Definition_Eval_JQComparison_Operator) String() string
- type RuleType_Definition_Eval_Rego
- func (*RuleType_Definition_Eval_Rego) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition_Eval_Rego) GetDef() string
- func (x *RuleType_Definition_Eval_Rego) GetType() string
- func (*RuleType_Definition_Eval_Rego) ProtoMessage()
- func (x *RuleType_Definition_Eval_Rego) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition_Eval_Rego) Reset()
- func (x *RuleType_Definition_Eval_Rego) String() string
- type RuleType_Definition_Eval_Vulncheck
- func (*RuleType_Definition_Eval_Vulncheck) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition_Eval_Vulncheck) GetDb() string
- func (x *RuleType_Definition_Eval_Vulncheck) GetEndpoint() string
- func (*RuleType_Definition_Eval_Vulncheck) ProtoMessage()
- func (x *RuleType_Definition_Eval_Vulncheck) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition_Eval_Vulncheck) Reset()
- func (x *RuleType_Definition_Eval_Vulncheck) String() string
- type RuleType_Definition_Ingest
- func (*RuleType_Definition_Ingest) Descriptor() ([]byte, []int)deprecated
- func (x *RuleType_Definition_Ingest) GetArtifact() *ArtifactType
- func (x *RuleType_Definition_Ingest) GetBuiltin() *BuiltinType
- func (x *RuleType_Definition_Ingest) GetDiff() *DiffType
- func (x *RuleType_Definition_Ingest) GetGit() *GitType
- func (x *RuleType_Definition_Ingest) GetRest() *RestType
- func (x *RuleType_Definition_Ingest) GetType() string
- func (*RuleType_Definition_Ingest) ProtoMessage()
- func (x *RuleType_Definition_Ingest) ProtoReflect() protoreflect.Message
- func (x *RuleType_Definition_Ingest) Reset()
- func (x *RuleType_Definition_Ingest) String() string
- type SecretsServiceClient
- type SecretsServiceServer
- type SignatureVerification
- func (*SignatureVerification) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureVerification) GetCertIdentity() string
- func (x *SignatureVerification) GetCertIssuer() string
- func (x *SignatureVerification) GetIsBundleVerified() bool
- func (x *SignatureVerification) GetIsSigned() bool
- func (x *SignatureVerification) GetIsVerified() bool
- func (x *SignatureVerification) GetRekorLogId() string
- func (x *SignatureVerification) GetRekorLogIndex() int32
- func (x *SignatureVerification) GetSignatureTime() *timestamppb.Timestamp
- func (*SignatureVerification) ProtoMessage()
- func (x *SignatureVerification) ProtoReflect() protoreflect.Message
- func (x *SignatureVerification) Reset()
- func (x *SignatureVerification) String() string
- type StoreProviderTokenRequest
- func (*StoreProviderTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StoreProviderTokenRequest) GetAccessToken() string
- func (x *StoreProviderTokenRequest) GetGroupId() int32
- func (x *StoreProviderTokenRequest) GetOwner() string
- func (x *StoreProviderTokenRequest) GetProvider() string
- func (*StoreProviderTokenRequest) ProtoMessage()
- func (x *StoreProviderTokenRequest) ProtoReflect() protoreflect.Message
- func (x *StoreProviderTokenRequest) Reset()
- func (x *StoreProviderTokenRequest) String() string
- type StoreProviderTokenResponse
- type SyncRepositoriesRequest
- func (*SyncRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncRepositoriesRequest) GetGroupId() int32
- func (x *SyncRepositoriesRequest) GetProvider() string
- func (*SyncRepositoriesRequest) ProtoMessage()
- func (x *SyncRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *SyncRepositoriesRequest) Reset()
- func (x *SyncRepositoriesRequest) String() string
- type SyncRepositoriesResponse
- type UnimplementedArtifactServiceServer
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) LogIn(context.Context, *LogInRequest) (*LogInResponse, error)
- func (UnimplementedAuthServiceServer) LogOut(context.Context, *LogOutRequest) (*LogOutResponse, error)
- func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (UnimplementedAuthServiceServer) RevokeTokens(context.Context, *RevokeTokensRequest) (*RevokeTokensResponse, error)
- func (UnimplementedAuthServiceServer) RevokeUserToken(context.Context, *RevokeUserTokenRequest) (*RevokeUserTokenResponse, error)
- func (UnimplementedAuthServiceServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
- type UnimplementedBranchProtectionServiceServer
- type UnimplementedGroupServiceServer
- func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
- func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupById(context.Context, *GetGroupByIdRequest) (*GetGroupByIdResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupByName(context.Context, *GetGroupByNameRequest) (*GetGroupByNameResponse, error)
- func (UnimplementedGroupServiceServer) GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
- type UnimplementedHealthServiceServer
- type UnimplementedKeyServiceServer
- type UnimplementedOAuthServiceServer
- func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenCLI(context.Context, *ExchangeCodeForTokenCLIRequest) (*httpbody.HttpBody, error)
- func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenWEB(context.Context, *ExchangeCodeForTokenWEBRequest) (*ExchangeCodeForTokenWEBResponse, error)
- func (UnimplementedOAuthServiceServer) GetAuthorizationURL(context.Context, *GetAuthorizationURLRequest) (*GetAuthorizationURLResponse, error)
- func (UnimplementedOAuthServiceServer) RevokeOauthGroupToken(context.Context, *RevokeOauthGroupTokenRequest) (*RevokeOauthGroupTokenResponse, error)
- func (UnimplementedOAuthServiceServer) RevokeOauthTokens(context.Context, *RevokeOauthTokensRequest) (*RevokeOauthTokensResponse, error)
- func (UnimplementedOAuthServiceServer) StoreProviderToken(context.Context, *StoreProviderTokenRequest) (*StoreProviderTokenResponse, error)
- func (UnimplementedOAuthServiceServer) VerifyProviderTokenFrom(context.Context, *VerifyProviderTokenFromRequest) (*VerifyProviderTokenFromResponse, error)
- type UnimplementedOrganizationServiceServer
- func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
- func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
- func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
- func (UnimplementedOrganizationServiceServer) GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)
- func (UnimplementedOrganizationServiceServer) GetOrganizations(context.Context, *GetOrganizationsRequest) (*GetOrganizationsResponse, error)
- type UnimplementedPolicyServiceServer
- func (UnimplementedPolicyServiceServer) CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error)
- func (UnimplementedPolicyServiceServer) CreateRuleType(context.Context, *CreateRuleTypeRequest) (*CreateRuleTypeResponse, error)
- func (UnimplementedPolicyServiceServer) DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error)
- func (UnimplementedPolicyServiceServer) DeleteRuleType(context.Context, *DeleteRuleTypeRequest) (*DeleteRuleTypeResponse, error)
- func (UnimplementedPolicyServiceServer) GetPolicyById(context.Context, *GetPolicyByIdRequest) (*GetPolicyByIdResponse, error)
- func (UnimplementedPolicyServiceServer) GetPolicyStatusByGroup(context.Context, *GetPolicyStatusByGroupRequest) (*GetPolicyStatusByGroupResponse, error)
- func (UnimplementedPolicyServiceServer) GetPolicyStatusById(context.Context, *GetPolicyStatusByIdRequest) (*GetPolicyStatusByIdResponse, error)
- func (UnimplementedPolicyServiceServer) GetRuleTypeById(context.Context, *GetRuleTypeByIdRequest) (*GetRuleTypeByIdResponse, error)
- func (UnimplementedPolicyServiceServer) GetRuleTypeByName(context.Context, *GetRuleTypeByNameRequest) (*GetRuleTypeByNameResponse, error)
- func (UnimplementedPolicyServiceServer) ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
- func (UnimplementedPolicyServiceServer) ListRuleTypes(context.Context, *ListRuleTypesRequest) (*ListRuleTypesResponse, error)
- func (UnimplementedPolicyServiceServer) UpdateRuleType(context.Context, *UpdateRuleTypeRequest) (*UpdateRuleTypeResponse, error)
- type UnimplementedRepositoryServiceServer
- func (UnimplementedRepositoryServiceServer) GetRepositoryById(context.Context, *GetRepositoryByIdRequest) (*GetRepositoryByIdResponse, error)
- func (UnimplementedRepositoryServiceServer) GetRepositoryByName(context.Context, *GetRepositoryByNameRequest) (*GetRepositoryByNameResponse, error)
- func (UnimplementedRepositoryServiceServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (UnimplementedRepositoryServiceServer) RegisterRepository(context.Context, *RegisterRepositoryRequest) (*RegisterRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) SyncRepositories(context.Context, *SyncRepositoriesRequest) (*SyncRepositoriesResponse, error)
- type UnimplementedRoleServiceServer
- func (UnimplementedRoleServiceServer) CreateRoleByGroup(context.Context, *CreateRoleByGroupRequest) (*CreateRoleByGroupResponse, error)
- func (UnimplementedRoleServiceServer) CreateRoleByOrganization(context.Context, *CreateRoleByOrganizationRequest) (*CreateRoleByOrganizationResponse, error)
- func (UnimplementedRoleServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
- func (UnimplementedRoleServiceServer) GetRoleById(context.Context, *GetRoleByIdRequest) (*GetRoleByIdResponse, error)
- func (UnimplementedRoleServiceServer) GetRoleByName(context.Context, *GetRoleByNameRequest) (*GetRoleByNameResponse, error)
- func (UnimplementedRoleServiceServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error)
- func (UnimplementedRoleServiceServer) GetRolesByGroup(context.Context, *GetRolesByGroupRequest) (*GetRolesByGroupResponse, error)
- type UnimplementedSecretsServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) GetUserByEmail(context.Context, *GetUserByEmailRequest) (*GetUserByEmailResponse, error)
- func (UnimplementedUserServiceServer) GetUserById(context.Context, *GetUserByIdRequest) (*GetUserByIdResponse, error)
- func (UnimplementedUserServiceServer) GetUserByUserName(context.Context, *GetUserByUserNameRequest) (*GetUserByUserNameResponse, error)
- func (UnimplementedUserServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
- func (UnimplementedUserServiceServer) GetUsersByGroup(context.Context, *GetUsersByGroupRequest) (*GetUsersByGroupResponse, error)
- func (UnimplementedUserServiceServer) GetUsersByOrganization(context.Context, *GetUsersByOrganizationRequest) (*GetUsersByOrganizationResponse, error)
- func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- func (UnimplementedUserServiceServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
- type UnimplementedVulnerabilitiesServiceServer
- func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilities(context.Context, *GetVulnerabilitiesRequest) (*GetVulnerabilitiesResponse, error)
- func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilityById(context.Context, *GetVulnerabilityByIdRequest) (*GetVulnerabilityByIdResponse, error)
- type UnsafeArtifactServiceServer
- type UnsafeAuthServiceServer
- type UnsafeBranchProtectionServiceServer
- type UnsafeGroupServiceServer
- type UnsafeHealthServiceServer
- type UnsafeKeyServiceServer
- type UnsafeOAuthServiceServer
- type UnsafeOrganizationServiceServer
- type UnsafePolicyServiceServer
- type UnsafeRepositoryServiceServer
- type UnsafeRoleServiceServer
- type UnsafeSecretsServiceServer
- type UnsafeUserServiceServer
- type UnsafeVulnerabilitiesServiceServer
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetPassword() string
- func (x *UpdatePasswordRequest) GetPasswordConfirmation() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- type UpdatePasswordResponse
- type UpdateProfileRequest
- func (*UpdateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileRequest) GetEmail() string
- func (x *UpdateProfileRequest) GetFirstName() string
- func (x *UpdateProfileRequest) GetLastName() string
- func (*UpdateProfileRequest) ProtoMessage()
- func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileRequest) Reset()
- func (x *UpdateProfileRequest) String() string
- type UpdateProfileResponse
- type UpdateRuleTypeRequest
- func (*UpdateRuleTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleTypeRequest) GetRuleType() *RuleType
- func (*UpdateRuleTypeRequest) ProtoMessage()
- func (x *UpdateRuleTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleTypeRequest) Reset()
- func (x *UpdateRuleTypeRequest) String() string
- type UpdateRuleTypeResponse
- func (*UpdateRuleTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleTypeResponse) GetRuleType() *RuleType
- func (*UpdateRuleTypeResponse) ProtoMessage()
- func (x *UpdateRuleTypeResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleTypeResponse) Reset()
- func (x *UpdateRuleTypeResponse) String() string
- type UserRecord
- func (*UserRecord) Descriptor() ([]byte, []int)deprecated
- func (x *UserRecord) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserRecord) GetEmail() string
- func (x *UserRecord) GetFirstName() string
- func (x *UserRecord) GetId() int32
- func (x *UserRecord) GetIsProtected() bool
- func (x *UserRecord) GetLastName() string
- func (x *UserRecord) GetNeedsPasswordChange() bool
- func (x *UserRecord) GetOrganizationId() int32
- func (x *UserRecord) GetPassword() string
- func (x *UserRecord) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UserRecord) GetUsername() string
- func (*UserRecord) ProtoMessage()
- func (x *UserRecord) ProtoReflect() protoreflect.Message
- func (x *UserRecord) Reset()
- func (x *UserRecord) String() string
- type UserServiceClient
- type UserServiceServer
- type VerifyProviderTokenFromRequest
- func (*VerifyProviderTokenFromRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyProviderTokenFromRequest) GetGroupId() int32
- func (x *VerifyProviderTokenFromRequest) GetProvider() string
- func (x *VerifyProviderTokenFromRequest) GetTimestamp() *timestamppb.Timestamp
- func (*VerifyProviderTokenFromRequest) ProtoMessage()
- func (x *VerifyProviderTokenFromRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyProviderTokenFromRequest) Reset()
- func (x *VerifyProviderTokenFromRequest) String() string
- type VerifyProviderTokenFromResponse
- func (*VerifyProviderTokenFromResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyProviderTokenFromResponse) GetStatus() string
- func (*VerifyProviderTokenFromResponse) ProtoMessage()
- func (x *VerifyProviderTokenFromResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyProviderTokenFromResponse) Reset()
- func (x *VerifyProviderTokenFromResponse) String() string
- type VerifyRequest
- type VerifyResponse
- type VersionedArtifact
- func (*VersionedArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *VersionedArtifact) GetArtifact() *Artifact
- func (x *VersionedArtifact) GetVersion() *ArtifactVersion
- func (*VersionedArtifact) ProtoMessage()
- func (x *VersionedArtifact) ProtoReflect() protoreflect.Message
- func (x *VersionedArtifact) Reset()
- func (x *VersionedArtifact) String() string
- type VulnerabilitiesServiceClient
- type VulnerabilitiesServiceServer
Constants ¶
const ( ArtifactService_ListArtifacts_FullMethodName = "/mediator.v1.ArtifactService/ListArtifacts" ArtifactService_GetArtifactById_FullMethodName = "/mediator.v1.ArtifactService/GetArtifactById" )
const ( OAuthService_GetAuthorizationURL_FullMethodName = "/mediator.v1.OAuthService/GetAuthorizationURL" OAuthService_ExchangeCodeForTokenCLI_FullMethodName = "/mediator.v1.OAuthService/ExchangeCodeForTokenCLI" OAuthService_ExchangeCodeForTokenWEB_FullMethodName = "/mediator.v1.OAuthService/ExchangeCodeForTokenWEB" OAuthService_StoreProviderToken_FullMethodName = "/mediator.v1.OAuthService/StoreProviderToken" OAuthService_RevokeOauthTokens_FullMethodName = "/mediator.v1.OAuthService/RevokeOauthTokens" OAuthService_RevokeOauthGroupToken_FullMethodName = "/mediator.v1.OAuthService/RevokeOauthGroupToken" OAuthService_VerifyProviderTokenFrom_FullMethodName = "/mediator.v1.OAuthService/VerifyProviderTokenFrom" )
const ( AuthService_LogIn_FullMethodName = "/mediator.v1.AuthService/LogIn" AuthService_LogOut_FullMethodName = "/mediator.v1.AuthService/LogOut" AuthService_RevokeTokens_FullMethodName = "/mediator.v1.AuthService/RevokeTokens" AuthService_RevokeUserToken_FullMethodName = "/mediator.v1.AuthService/RevokeUserToken" AuthService_RefreshToken_FullMethodName = "/mediator.v1.AuthService/RefreshToken" AuthService_Verify_FullMethodName = "/mediator.v1.AuthService/Verify" )
const ( VulnerabilitiesService_GetVulnerabilities_FullMethodName = "/mediator.v1.VulnerabilitiesService/GetVulnerabilities" VulnerabilitiesService_GetVulnerabilityById_FullMethodName = "/mediator.v1.VulnerabilitiesService/GetVulnerabilityById" )
const ( SecretsService_GetSecrets_FullMethodName = "/mediator.v1.SecretsService/GetSecrets" SecretsService_GetSecretById_FullMethodName = "/mediator.v1.SecretsService/GetSecretById" )
const ( RepositoryService_SyncRepositories_FullMethodName = "/mediator.v1.RepositoryService/SyncRepositories" RepositoryService_RegisterRepository_FullMethodName = "/mediator.v1.RepositoryService/RegisterRepository" RepositoryService_ListRepositories_FullMethodName = "/mediator.v1.RepositoryService/ListRepositories" RepositoryService_GetRepositoryById_FullMethodName = "/mediator.v1.RepositoryService/GetRepositoryById" RepositoryService_GetRepositoryByName_FullMethodName = "/mediator.v1.RepositoryService/GetRepositoryByName" )
const ( OrganizationService_CreateOrganization_FullMethodName = "/mediator.v1.OrganizationService/CreateOrganization" OrganizationService_GetOrganizations_FullMethodName = "/mediator.v1.OrganizationService/GetOrganizations" OrganizationService_GetOrganization_FullMethodName = "/mediator.v1.OrganizationService/GetOrganization" OrganizationService_GetOrganizationByName_FullMethodName = "/mediator.v1.OrganizationService/GetOrganizationByName" OrganizationService_DeleteOrganization_FullMethodName = "/mediator.v1.OrganizationService/DeleteOrganization" )
const ( GroupService_CreateGroup_FullMethodName = "/mediator.v1.GroupService/CreateGroup" GroupService_GetGroups_FullMethodName = "/mediator.v1.GroupService/GetGroups" GroupService_GetGroupByName_FullMethodName = "/mediator.v1.GroupService/GetGroupByName" GroupService_GetGroupById_FullMethodName = "/mediator.v1.GroupService/GetGroupById" GroupService_DeleteGroup_FullMethodName = "/mediator.v1.GroupService/DeleteGroup" )
const ( RoleService_CreateRoleByOrganization_FullMethodName = "/mediator.v1.RoleService/CreateRoleByOrganization" RoleService_CreateRoleByGroup_FullMethodName = "/mediator.v1.RoleService/CreateRoleByGroup" RoleService_DeleteRole_FullMethodName = "/mediator.v1.RoleService/DeleteRole" RoleService_GetRoles_FullMethodName = "/mediator.v1.RoleService/GetRoles" RoleService_GetRolesByGroup_FullMethodName = "/mediator.v1.RoleService/GetRolesByGroup" RoleService_GetRoleById_FullMethodName = "/mediator.v1.RoleService/GetRoleById" RoleService_GetRoleByName_FullMethodName = "/mediator.v1.RoleService/GetRoleByName" )
const ( UserService_CreateUser_FullMethodName = "/mediator.v1.UserService/CreateUser" UserService_DeleteUser_FullMethodName = "/mediator.v1.UserService/DeleteUser" UserService_GetUsers_FullMethodName = "/mediator.v1.UserService/GetUsers" UserService_GetUsersByOrganization_FullMethodName = "/mediator.v1.UserService/GetUsersByOrganization" UserService_GetUsersByGroup_FullMethodName = "/mediator.v1.UserService/GetUsersByGroup" UserService_GetUserById_FullMethodName = "/mediator.v1.UserService/GetUserById" UserService_GetUserByUserName_FullMethodName = "/mediator.v1.UserService/GetUserByUserName" UserService_GetUser_FullMethodName = "/mediator.v1.UserService/GetUser" UserService_GetUserByEmail_FullMethodName = "/mediator.v1.UserService/GetUserByEmail" UserService_UpdatePassword_FullMethodName = "/mediator.v1.UserService/UpdatePassword" UserService_UpdateProfile_FullMethodName = "/mediator.v1.UserService/UpdateProfile" )
const ( PolicyService_CreatePolicy_FullMethodName = "/mediator.v1.PolicyService/CreatePolicy" PolicyService_DeletePolicy_FullMethodName = "/mediator.v1.PolicyService/DeletePolicy" PolicyService_ListPolicies_FullMethodName = "/mediator.v1.PolicyService/ListPolicies" PolicyService_GetPolicyById_FullMethodName = "/mediator.v1.PolicyService/GetPolicyById" PolicyService_GetPolicyStatusById_FullMethodName = "/mediator.v1.PolicyService/GetPolicyStatusById" PolicyService_GetPolicyStatusByGroup_FullMethodName = "/mediator.v1.PolicyService/GetPolicyStatusByGroup" PolicyService_ListRuleTypes_FullMethodName = "/mediator.v1.PolicyService/ListRuleTypes" PolicyService_GetRuleTypeByName_FullMethodName = "/mediator.v1.PolicyService/GetRuleTypeByName" PolicyService_GetRuleTypeById_FullMethodName = "/mediator.v1.PolicyService/GetRuleTypeById" PolicyService_CreateRuleType_FullMethodName = "/mediator.v1.PolicyService/CreateRuleType" PolicyService_UpdateRuleType_FullMethodName = "/mediator.v1.PolicyService/UpdateRuleType" PolicyService_DeleteRuleType_FullMethodName = "/mediator.v1.PolicyService/DeleteRuleType" )
const ( KeyService_GetPublicKey_FullMethodName = "/mediator.v1.KeyService/GetPublicKey" KeyService_CreateKeyPair_FullMethodName = "/mediator.v1.KeyService/CreateKeyPair" )
const (
BranchProtectionService_GetBranchProtection_FullMethodName = "/mediator.v1.BranchProtectionService/GetBranchProtection"
)
const (
HealthService_CheckHealth_FullMethodName = "/mediator.v1.HealthService/CheckHealth"
)
Variables ¶
var ( ObjectOwner_name = map[int32]string{ 0: "OBJECT_OWNER_UNSPECIFIED", 1: "OBJECT_OWNER_ORGANIZATION", 2: "OBJECT_OWNER_GROUP", 3: "OBJECT_OWNER_USER", } ObjectOwner_value = map[string]int32{ "OBJECT_OWNER_UNSPECIFIED": 0, "OBJECT_OWNER_ORGANIZATION": 1, "OBJECT_OWNER_GROUP": 2, "OBJECT_OWNER_USER": 3, } )
Enum value maps for ObjectOwner.
var ( DepEcosystem_name = map[int32]string{ 0: "DEP_ECOSYSTEM_UNSPECIFIED", 1: "DEP_ECOSYSTEM_NPM", } DepEcosystem_value = map[string]int32{ "DEP_ECOSYSTEM_UNSPECIFIED": 0, "DEP_ECOSYSTEM_NPM": 1, } )
Enum value maps for DepEcosystem.
var ( RepoFilter_name = map[int32]string{ 0: "REPO_FILTER_SHOW_UNSPECIFIED", 1: "REPO_FILTER_SHOW_ALL", 2: "REPO_FILTER_SHOW_NOT_REGISTERED_ONLY", 3: "REPO_FILTER_SHOW_REGISTERED_ONLY", } RepoFilter_value = map[string]int32{ "REPO_FILTER_SHOW_UNSPECIFIED": 0, "REPO_FILTER_SHOW_ALL": 1, "REPO_FILTER_SHOW_NOT_REGISTERED_ONLY": 2, "REPO_FILTER_SHOW_REGISTERED_ONLY": 3, } )
Enum value maps for RepoFilter.
var ( Entity_name = map[int32]string{ 0: "ENTITY_UNSPECIFIED", 1: "ENTITY_REPOSITORIES", 2: "ENTITY_BUILD_ENVIRONMENTS", 3: "ENTITY_ARTIFACTS", 4: "ENTITY_PULL_REQUESTS", } Entity_value = map[string]int32{ "ENTITY_UNSPECIFIED": 0, "ENTITY_REPOSITORIES": 1, "ENTITY_BUILD_ENVIRONMENTS": 2, "ENTITY_ARTIFACTS": 3, "ENTITY_PULL_REQUESTS": 4, } )
Enum value maps for Entity.
var ( Provider_Definition_Auth_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_OAUTH2", } Provider_Definition_Auth_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_OAUTH2": 1, } )
Enum value maps for Provider_Definition_Auth_Type.
var ( Provider_Definition_ClientTypes_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_REST", 2: "TYPE_GRAPHQL", } Provider_Definition_ClientTypes_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_REST": 1, "TYPE_GRAPHQL": 2, } )
Enum value maps for Provider_Definition_ClientTypes_Type.
var ArtifactService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.ArtifactService", HandlerType: (*ArtifactServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListArtifacts", Handler: _ArtifactService_ListArtifacts_Handler, }, { MethodName: "GetArtifactById", Handler: _ArtifactService_GetArtifactById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
ArtifactService_ServiceDesc is the grpc.ServiceDesc for ArtifactService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "LogIn", Handler: _AuthService_LogIn_Handler, }, { MethodName: "LogOut", Handler: _AuthService_LogOut_Handler, }, { MethodName: "RevokeTokens", Handler: _AuthService_RevokeTokens_Handler, }, { MethodName: "RevokeUserToken", Handler: _AuthService_RevokeUserToken_Handler, }, { MethodName: "RefreshToken", Handler: _AuthService_RefreshToken_Handler, }, { MethodName: "Verify", Handler: _AuthService_Verify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BranchProtectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.BranchProtectionService", HandlerType: (*BranchProtectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBranchProtection", Handler: _BranchProtectionService_GetBranchProtection_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
BranchProtectionService_ServiceDesc is the grpc.ServiceDesc for BranchProtectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
// optional mediator.v1.RpcOptions rpc_options = 51077;
E_RpcOptions = &file_mediator_v1_mediator_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
var File_mediator_v1_mediator_proto protoreflect.FileDescriptor
var GroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.GroupService", HandlerType: (*GroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGroup", Handler: _GroupService_CreateGroup_Handler, }, { MethodName: "GetGroups", Handler: _GroupService_GetGroups_Handler, }, { MethodName: "GetGroupByName", Handler: _GroupService_GetGroupByName_Handler, }, { MethodName: "GetGroupById", Handler: _GroupService_GetGroupById_Handler, }, { MethodName: "DeleteGroup", Handler: _GroupService_DeleteGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var HealthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.HealthService", HandlerType: (*HealthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CheckHealth", Handler: _HealthService_CheckHealth_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
HealthService_ServiceDesc is the grpc.ServiceDesc for HealthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var KeyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.KeyService", HandlerType: (*KeyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPublicKey", Handler: _KeyService_GetPublicKey_Handler, }, { MethodName: "CreateKeyPair", Handler: _KeyService_CreateKeyPair_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
KeyService_ServiceDesc is the grpc.ServiceDesc for KeyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OAuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.OAuthService", HandlerType: (*OAuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthorizationURL", Handler: _OAuthService_GetAuthorizationURL_Handler, }, { MethodName: "ExchangeCodeForTokenCLI", Handler: _OAuthService_ExchangeCodeForTokenCLI_Handler, }, { MethodName: "ExchangeCodeForTokenWEB", Handler: _OAuthService_ExchangeCodeForTokenWEB_Handler, }, { MethodName: "StoreProviderToken", Handler: _OAuthService_StoreProviderToken_Handler, }, { MethodName: "RevokeOauthTokens", Handler: _OAuthService_RevokeOauthTokens_Handler, }, { MethodName: "RevokeOauthGroupToken", Handler: _OAuthService_RevokeOauthGroupToken_Handler, }, { MethodName: "VerifyProviderTokenFrom", Handler: _OAuthService_VerifyProviderTokenFrom_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
OAuthService_ServiceDesc is the grpc.ServiceDesc for OAuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OrganizationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.OrganizationService", HandlerType: (*OrganizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrganization", Handler: _OrganizationService_CreateOrganization_Handler, }, { MethodName: "GetOrganizations", Handler: _OrganizationService_GetOrganizations_Handler, }, { MethodName: "GetOrganization", Handler: _OrganizationService_GetOrganization_Handler, }, { MethodName: "GetOrganizationByName", Handler: _OrganizationService_GetOrganizationByName_Handler, }, { MethodName: "DeleteOrganization", Handler: _OrganizationService_DeleteOrganization_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PolicyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.PolicyService", HandlerType: (*PolicyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePolicy", Handler: _PolicyService_CreatePolicy_Handler, }, { MethodName: "DeletePolicy", Handler: _PolicyService_DeletePolicy_Handler, }, { MethodName: "ListPolicies", Handler: _PolicyService_ListPolicies_Handler, }, { MethodName: "GetPolicyById", Handler: _PolicyService_GetPolicyById_Handler, }, { MethodName: "GetPolicyStatusById", Handler: _PolicyService_GetPolicyStatusById_Handler, }, { MethodName: "GetPolicyStatusByGroup", Handler: _PolicyService_GetPolicyStatusByGroup_Handler, }, { MethodName: "ListRuleTypes", Handler: _PolicyService_ListRuleTypes_Handler, }, { MethodName: "GetRuleTypeByName", Handler: _PolicyService_GetRuleTypeByName_Handler, }, { MethodName: "GetRuleTypeById", Handler: _PolicyService_GetRuleTypeById_Handler, }, { MethodName: "CreateRuleType", Handler: _PolicyService_CreateRuleType_Handler, }, { MethodName: "UpdateRuleType", Handler: _PolicyService_UpdateRuleType_Handler, }, { MethodName: "DeleteRuleType", Handler: _PolicyService_DeleteRuleType_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
PolicyService_ServiceDesc is the grpc.ServiceDesc for PolicyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RepositoryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.RepositoryService", HandlerType: (*RepositoryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SyncRepositories", Handler: _RepositoryService_SyncRepositories_Handler, }, { MethodName: "RegisterRepository", Handler: _RepositoryService_RegisterRepository_Handler, }, { MethodName: "ListRepositories", Handler: _RepositoryService_ListRepositories_Handler, }, { MethodName: "GetRepositoryById", Handler: _RepositoryService_GetRepositoryById_Handler, }, { MethodName: "GetRepositoryByName", Handler: _RepositoryService_GetRepositoryByName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
RepositoryService_ServiceDesc is the grpc.ServiceDesc for RepositoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RoleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.RoleService", HandlerType: (*RoleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRoleByOrganization", Handler: _RoleService_CreateRoleByOrganization_Handler, }, { MethodName: "CreateRoleByGroup", Handler: _RoleService_CreateRoleByGroup_Handler, }, { MethodName: "DeleteRole", Handler: _RoleService_DeleteRole_Handler, }, { MethodName: "GetRoles", Handler: _RoleService_GetRoles_Handler, }, { MethodName: "GetRolesByGroup", Handler: _RoleService_GetRolesByGroup_Handler, }, { MethodName: "GetRoleById", Handler: _RoleService_GetRoleById_Handler, }, { MethodName: "GetRoleByName", Handler: _RoleService_GetRoleByName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SecretsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.SecretsService", HandlerType: (*SecretsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSecrets", Handler: _SecretsService_GetSecrets_Handler, }, { MethodName: "GetSecretById", Handler: _SecretsService_GetSecretById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
SecretsService_ServiceDesc is the grpc.ServiceDesc for SecretsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "GetUsers", Handler: _UserService_GetUsers_Handler, }, { MethodName: "GetUsersByOrganization", Handler: _UserService_GetUsersByOrganization_Handler, }, { MethodName: "GetUsersByGroup", Handler: _UserService_GetUsersByGroup_Handler, }, { MethodName: "GetUserById", Handler: _UserService_GetUserById_Handler, }, { MethodName: "GetUserByUserName", Handler: _UserService_GetUserByUserName_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "GetUserByEmail", Handler: _UserService_GetUserByEmail_Handler, }, { MethodName: "UpdatePassword", Handler: _UserService_UpdatePassword_Handler, }, { MethodName: "UpdateProfile", Handler: _UserService_UpdateProfile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VulnerabilitiesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mediator.v1.VulnerabilitiesService", HandlerType: (*VulnerabilitiesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVulnerabilities", Handler: _VulnerabilitiesService_GetVulnerabilities_Handler, }, { MethodName: "GetVulnerabilityById", Handler: _VulnerabilitiesService_GetVulnerabilityById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mediator/v1/mediator.proto", }
VulnerabilitiesService_ServiceDesc is the grpc.ServiceDesc for VulnerabilitiesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterArtifactServiceHandler ¶
func RegisterArtifactServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterArtifactServiceHandler registers the http handlers for service ArtifactService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterArtifactServiceHandlerClient ¶
func RegisterArtifactServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ArtifactServiceClient) error
RegisterArtifactServiceHandlerClient registers the http handlers for service ArtifactService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ArtifactServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ArtifactServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ArtifactServiceClient" to call the correct interceptors.
func RegisterArtifactServiceHandlerFromEndpoint ¶
func RegisterArtifactServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterArtifactServiceHandlerFromEndpoint is same as RegisterArtifactServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterArtifactServiceHandlerServer ¶
func RegisterArtifactServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ArtifactServiceServer) error
RegisterArtifactServiceHandlerServer registers the http handlers for service ArtifactService to "mux". UnaryRPC :call ArtifactServiceServer 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 RegisterArtifactServiceHandlerFromEndpoint instead.
func RegisterArtifactServiceServer ¶
func RegisterArtifactServiceServer(s grpc.ServiceRegistrar, srv ArtifactServiceServer)
func RegisterAuthServiceHandler ¶
func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthServiceHandlerClient ¶
func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.
func RegisterAuthServiceHandlerFromEndpoint ¶
func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthServiceHandlerServer ¶
func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer 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 RegisterAuthServiceHandlerFromEndpoint instead.
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterBranchProtectionServiceHandler ¶
func RegisterBranchProtectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterBranchProtectionServiceHandler registers the http handlers for service BranchProtectionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBranchProtectionServiceHandlerClient ¶
func RegisterBranchProtectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BranchProtectionServiceClient) error
RegisterBranchProtectionServiceHandlerClient registers the http handlers for service BranchProtectionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BranchProtectionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BranchProtectionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BranchProtectionServiceClient" to call the correct interceptors.
func RegisterBranchProtectionServiceHandlerFromEndpoint ¶
func RegisterBranchProtectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBranchProtectionServiceHandlerFromEndpoint is same as RegisterBranchProtectionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBranchProtectionServiceHandlerServer ¶
func RegisterBranchProtectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BranchProtectionServiceServer) error
RegisterBranchProtectionServiceHandlerServer registers the http handlers for service BranchProtectionService to "mux". UnaryRPC :call BranchProtectionServiceServer 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 RegisterBranchProtectionServiceHandlerFromEndpoint instead.
func RegisterBranchProtectionServiceServer ¶
func RegisterBranchProtectionServiceServer(s grpc.ServiceRegistrar, srv BranchProtectionServiceServer)
func RegisterGroupServiceHandler ¶
func RegisterGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGroupServiceHandler registers the http handlers for service GroupService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGroupServiceHandlerClient ¶
func RegisterGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupServiceClient) error
RegisterGroupServiceHandlerClient registers the http handlers for service GroupService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GroupServiceClient" to call the correct interceptors.
func RegisterGroupServiceHandlerFromEndpoint ¶
func RegisterGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGroupServiceHandlerFromEndpoint is same as RegisterGroupServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGroupServiceHandlerServer ¶
func RegisterGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServiceServer) error
RegisterGroupServiceHandlerServer registers the http handlers for service GroupService to "mux". UnaryRPC :call GroupServiceServer 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 RegisterGroupServiceHandlerFromEndpoint instead.
func RegisterGroupServiceServer ¶
func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
func RegisterHealthServiceHandler ¶
func RegisterHealthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterHealthServiceHandler registers the http handlers for service HealthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterHealthServiceHandlerClient ¶
func RegisterHealthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HealthServiceClient) error
RegisterHealthServiceHandlerClient registers the http handlers for service HealthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HealthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HealthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HealthServiceClient" to call the correct interceptors.
func RegisterHealthServiceHandlerFromEndpoint ¶
func RegisterHealthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterHealthServiceHandlerFromEndpoint is same as RegisterHealthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterHealthServiceHandlerServer ¶
func RegisterHealthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HealthServiceServer) error
RegisterHealthServiceHandlerServer registers the http handlers for service HealthService to "mux". UnaryRPC :call HealthServiceServer 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 RegisterHealthServiceHandlerFromEndpoint instead.
func RegisterHealthServiceServer ¶
func RegisterHealthServiceServer(s grpc.ServiceRegistrar, srv HealthServiceServer)
func RegisterKeyServiceHandler ¶
func RegisterKeyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKeyServiceHandler registers the http handlers for service KeyService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKeyServiceHandlerClient ¶
func RegisterKeyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyServiceClient) error
RegisterKeyServiceHandlerClient registers the http handlers for service KeyService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KeyServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KeyServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KeyServiceClient" to call the correct interceptors.
func RegisterKeyServiceHandlerFromEndpoint ¶
func RegisterKeyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKeyServiceHandlerFromEndpoint is same as RegisterKeyServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKeyServiceHandlerServer ¶
func RegisterKeyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KeyServiceServer) error
RegisterKeyServiceHandlerServer registers the http handlers for service KeyService to "mux". UnaryRPC :call KeyServiceServer 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 RegisterKeyServiceHandlerFromEndpoint instead.
func RegisterKeyServiceServer ¶
func RegisterKeyServiceServer(s grpc.ServiceRegistrar, srv KeyServiceServer)
func RegisterOAuthServiceHandler ¶
func RegisterOAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOAuthServiceHandler registers the http handlers for service OAuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOAuthServiceHandlerClient ¶
func RegisterOAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OAuthServiceClient) error
RegisterOAuthServiceHandlerClient registers the http handlers for service OAuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OAuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OAuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OAuthServiceClient" to call the correct interceptors.
func RegisterOAuthServiceHandlerFromEndpoint ¶
func RegisterOAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOAuthServiceHandlerFromEndpoint is same as RegisterOAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOAuthServiceHandlerServer ¶
func RegisterOAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OAuthServiceServer) error
RegisterOAuthServiceHandlerServer registers the http handlers for service OAuthService to "mux". UnaryRPC :call OAuthServiceServer 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 RegisterOAuthServiceHandlerFromEndpoint instead.
func RegisterOAuthServiceServer ¶
func RegisterOAuthServiceServer(s grpc.ServiceRegistrar, srv OAuthServiceServer)
func RegisterOrganizationServiceHandler ¶
func RegisterOrganizationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOrganizationServiceHandler registers the http handlers for service OrganizationService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOrganizationServiceHandlerClient ¶
func RegisterOrganizationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationServiceClient) error
RegisterOrganizationServiceHandlerClient registers the http handlers for service OrganizationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrganizationServiceClient" to call the correct interceptors.
func RegisterOrganizationServiceHandlerFromEndpoint ¶
func RegisterOrganizationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOrganizationServiceHandlerFromEndpoint is same as RegisterOrganizationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOrganizationServiceHandlerServer ¶
func RegisterOrganizationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServiceServer) error
RegisterOrganizationServiceHandlerServer registers the http handlers for service OrganizationService to "mux". UnaryRPC :call OrganizationServiceServer 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 RegisterOrganizationServiceHandlerFromEndpoint instead.
func RegisterOrganizationServiceServer ¶
func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
func RegisterPolicyServiceHandler ¶
func RegisterPolicyServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPolicyServiceHandler registers the http handlers for service PolicyService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPolicyServiceHandlerClient ¶
func RegisterPolicyServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyServiceClient) error
RegisterPolicyServiceHandlerClient registers the http handlers for service PolicyService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PolicyServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PolicyServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PolicyServiceClient" to call the correct interceptors.
func RegisterPolicyServiceHandlerFromEndpoint ¶
func RegisterPolicyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPolicyServiceHandlerFromEndpoint is same as RegisterPolicyServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPolicyServiceHandlerServer ¶
func RegisterPolicyServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyServiceServer) error
RegisterPolicyServiceHandlerServer registers the http handlers for service PolicyService to "mux". UnaryRPC :call PolicyServiceServer 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 RegisterPolicyServiceHandlerFromEndpoint instead.
func RegisterPolicyServiceServer ¶
func RegisterPolicyServiceServer(s grpc.ServiceRegistrar, srv PolicyServiceServer)
func RegisterRepositoryServiceHandler ¶
func RegisterRepositoryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRepositoryServiceHandler registers the http handlers for service RepositoryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRepositoryServiceHandlerClient ¶
func RegisterRepositoryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RepositoryServiceClient) error
RegisterRepositoryServiceHandlerClient registers the http handlers for service RepositoryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RepositoryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RepositoryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RepositoryServiceClient" to call the correct interceptors.
func RegisterRepositoryServiceHandlerFromEndpoint ¶
func RegisterRepositoryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRepositoryServiceHandlerFromEndpoint is same as RegisterRepositoryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRepositoryServiceHandlerServer ¶
func RegisterRepositoryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RepositoryServiceServer) error
RegisterRepositoryServiceHandlerServer registers the http handlers for service RepositoryService to "mux". UnaryRPC :call RepositoryServiceServer 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 RegisterRepositoryServiceHandlerFromEndpoint instead.
func RegisterRepositoryServiceServer ¶
func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
func RegisterRoleServiceHandler ¶
func RegisterRoleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRoleServiceHandler registers the http handlers for service RoleService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRoleServiceHandlerClient ¶
func RegisterRoleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleServiceClient) error
RegisterRoleServiceHandlerClient registers the http handlers for service RoleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RoleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RoleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RoleServiceClient" to call the correct interceptors.
func RegisterRoleServiceHandlerFromEndpoint ¶
func RegisterRoleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRoleServiceHandlerFromEndpoint is same as RegisterRoleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRoleServiceHandlerServer ¶
func RegisterRoleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServiceServer) error
RegisterRoleServiceHandlerServer registers the http handlers for service RoleService to "mux". UnaryRPC :call RoleServiceServer 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 RegisterRoleServiceHandlerFromEndpoint instead.
func RegisterRoleServiceServer ¶
func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)
func RegisterSecretsServiceHandler ¶
func RegisterSecretsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSecretsServiceHandler registers the http handlers for service SecretsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSecretsServiceHandlerClient ¶
func RegisterSecretsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SecretsServiceClient) error
RegisterSecretsServiceHandlerClient registers the http handlers for service SecretsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SecretsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SecretsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SecretsServiceClient" to call the correct interceptors.
func RegisterSecretsServiceHandlerFromEndpoint ¶
func RegisterSecretsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSecretsServiceHandlerFromEndpoint is same as RegisterSecretsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSecretsServiceHandlerServer ¶
func RegisterSecretsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SecretsServiceServer) error
RegisterSecretsServiceHandlerServer registers the http handlers for service SecretsService to "mux". UnaryRPC :call SecretsServiceServer 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 RegisterSecretsServiceHandlerFromEndpoint instead.
func RegisterSecretsServiceServer ¶
func RegisterSecretsServiceServer(s grpc.ServiceRegistrar, srv SecretsServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer 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 RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func RegisterVulnerabilitiesServiceHandler ¶
func RegisterVulnerabilitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVulnerabilitiesServiceHandler registers the http handlers for service VulnerabilitiesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVulnerabilitiesServiceHandlerClient ¶
func RegisterVulnerabilitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VulnerabilitiesServiceClient) error
RegisterVulnerabilitiesServiceHandlerClient registers the http handlers for service VulnerabilitiesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VulnerabilitiesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VulnerabilitiesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VulnerabilitiesServiceClient" to call the correct interceptors.
func RegisterVulnerabilitiesServiceHandlerFromEndpoint ¶
func RegisterVulnerabilitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVulnerabilitiesServiceHandlerFromEndpoint is same as RegisterVulnerabilitiesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVulnerabilitiesServiceHandlerServer ¶
func RegisterVulnerabilitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VulnerabilitiesServiceServer) error
RegisterVulnerabilitiesServiceHandlerServer registers the http handlers for service VulnerabilitiesService to "mux". UnaryRPC :call VulnerabilitiesServiceServer 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 RegisterVulnerabilitiesServiceHandlerFromEndpoint instead.
func RegisterVulnerabilitiesServiceServer ¶
func RegisterVulnerabilitiesServiceServer(s grpc.ServiceRegistrar, srv VulnerabilitiesServiceServer)
Types ¶
type Artifact ¶
type Artifact struct {
ArtifactPk int64 `protobuf:"varint,1,opt,name=artifact_pk,json=artifactPk,proto3" json:"artifact_pk,omitempty"`
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
Visibility string `protobuf:"bytes,5,opt,name=visibility,proto3" json:"visibility,omitempty"`
Repository string `protobuf:"bytes,6,opt,name=repository,proto3" json:"repository,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*Artifact) Descriptor
deprecated
func (*Artifact) GetArtifactPk ¶ added in v0.0.2
func (*Artifact) GetCreatedAt ¶
func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp
func (*Artifact) GetRepository ¶
func (*Artifact) GetVisibility ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶
func (x *Artifact) ProtoReflect() protoreflect.Message
type ArtifactServiceClient ¶
type ArtifactServiceClient interface {
ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
GetArtifactById(ctx context.Context, in *GetArtifactByIdRequest, opts ...grpc.CallOption) (*GetArtifactByIdResponse, error)
}
ArtifactServiceClient is the client API for ArtifactService 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 NewArtifactServiceClient ¶
func NewArtifactServiceClient(cc grpc.ClientConnInterface) ArtifactServiceClient
type ArtifactServiceServer ¶
type ArtifactServiceServer interface {
ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
GetArtifactById(context.Context, *GetArtifactByIdRequest) (*GetArtifactByIdResponse, error)
// contains filtered or unexported methods
}
ArtifactServiceServer is the server API for ArtifactService service. All implementations must embed UnimplementedArtifactServiceServer for forward compatibility
type ArtifactType ¶ added in v0.0.2
type ArtifactType struct {
// contains filtered or unexported fields
}
ArtifactType defines the artifact data evaluation.
func (*ArtifactType) Descriptor
deprecated
added in
v0.0.2
func (*ArtifactType) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactType.ProtoReflect.Descriptor instead.
func (*ArtifactType) ProtoMessage ¶ added in v0.0.2
func (*ArtifactType) ProtoMessage()
func (*ArtifactType) ProtoReflect ¶ added in v0.0.2
func (x *ArtifactType) ProtoReflect() protoreflect.Message
func (*ArtifactType) Reset ¶ added in v0.0.2
func (x *ArtifactType) Reset()
func (*ArtifactType) String ¶ added in v0.0.2
func (x *ArtifactType) String() string
type ArtifactVersion ¶
type ArtifactVersion struct {
VersionId int64 `protobuf:"varint,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"`
SignatureVerification *SignatureVerification `protobuf:"bytes,4,opt,name=signature_verification,json=signatureVerification,proto3" json:"signature_verification,omitempty"`
GithubWorkflow *GithubWorkflow `protobuf:"bytes,5,opt,name=github_workflow,json=githubWorkflow,proto3,oneof" json:"github_workflow,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*ArtifactVersion) Descriptor
deprecated
func (*ArtifactVersion) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactVersion.ProtoReflect.Descriptor instead.
func (*ArtifactVersion) GetCreatedAt ¶
func (x *ArtifactVersion) GetCreatedAt() *timestamppb.Timestamp
func (*ArtifactVersion) GetGithubWorkflow ¶
func (x *ArtifactVersion) GetGithubWorkflow() *GithubWorkflow
func (*ArtifactVersion) GetSha ¶
func (x *ArtifactVersion) GetSha() string
func (*ArtifactVersion) GetSignatureVerification ¶
func (x *ArtifactVersion) GetSignatureVerification() *SignatureVerification
func (*ArtifactVersion) GetTags ¶
func (x *ArtifactVersion) GetTags() []string
func (*ArtifactVersion) GetVersionId ¶
func (x *ArtifactVersion) GetVersionId() int64
func (*ArtifactVersion) ProtoMessage ¶
func (*ArtifactVersion) ProtoMessage()
func (*ArtifactVersion) ProtoReflect ¶
func (x *ArtifactVersion) ProtoReflect() protoreflect.Message
func (*ArtifactVersion) Reset ¶
func (x *ArtifactVersion) Reset()
func (*ArtifactVersion) String ¶
func (x *ArtifactVersion) String() string
type AuthServiceClient ¶
type AuthServiceClient interface {
// LogIn to Mediator
LogIn(ctx context.Context, in *LogInRequest, opts ...grpc.CallOption) (*LogInResponse, error)
// Logout of Mediator
LogOut(ctx context.Context, in *LogOutRequest, opts ...grpc.CallOption) (*LogOutResponse, error)
// revoke all tokens for all users
RevokeTokens(ctx context.Context, in *RevokeTokensRequest, opts ...grpc.CallOption) (*RevokeTokensResponse, error)
// revoke token for an user
RevokeUserToken(ctx context.Context, in *RevokeUserTokenRequest, opts ...grpc.CallOption) (*RevokeUserTokenResponse, error)
// refresh a token
RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
// Verify user has active session to Mediator
Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
}
AuthServiceClient is the client API for AuthService 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 NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface {
// LogIn to Mediator
LogIn(context.Context, *LogInRequest) (*LogInResponse, error)
// Logout of Mediator
LogOut(context.Context, *LogOutRequest) (*LogOutResponse, error)
// revoke all tokens for all users
RevokeTokens(context.Context, *RevokeTokensRequest) (*RevokeTokensResponse, error)
// revoke token for an user
RevokeUserToken(context.Context, *RevokeUserTokenRequest) (*RevokeUserTokenResponse, error)
// refresh a token
RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
// Verify user has active session to Mediator
Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
// contains filtered or unexported methods
}
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type BranchProtection ¶
type BranchProtection struct {
Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
IsProtected bool `protobuf:"varint,2,opt,name=is_protected,json=isProtected,proto3" json:"is_protected,omitempty"` // Add other relevant fields
// contains filtered or unexported fields
}
func (*BranchProtection) Descriptor
deprecated
func (*BranchProtection) Descriptor() ([]byte, []int)
Deprecated: Use BranchProtection.ProtoReflect.Descriptor instead.
func (*BranchProtection) GetBranch ¶
func (x *BranchProtection) GetBranch() string
func (*BranchProtection) GetIsProtected ¶
func (x *BranchProtection) GetIsProtected() bool
func (*BranchProtection) ProtoMessage ¶
func (*BranchProtection) ProtoMessage()
func (*BranchProtection) ProtoReflect ¶
func (x *BranchProtection) ProtoReflect() protoreflect.Message
func (*BranchProtection) Reset ¶
func (x *BranchProtection) Reset()
func (*BranchProtection) String ¶
func (x *BranchProtection) String() string
type BranchProtectionServiceClient ¶
type BranchProtectionServiceClient interface {
GetBranchProtection(ctx context.Context, in *GetBranchProtectionRequest, opts ...grpc.CallOption) (*GetBranchProtectionResponse, error)
}
BranchProtectionServiceClient is the client API for BranchProtectionService 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 NewBranchProtectionServiceClient ¶
func NewBranchProtectionServiceClient(cc grpc.ClientConnInterface) BranchProtectionServiceClient
type BranchProtectionServiceServer ¶
type BranchProtectionServiceServer interface {
GetBranchProtection(context.Context, *GetBranchProtectionRequest) (*GetBranchProtectionResponse, error)
// contains filtered or unexported methods
}
BranchProtectionServiceServer is the server API for BranchProtectionService service. All implementations must embed UnimplementedBranchProtectionServiceServer for forward compatibility
type BuiltinType ¶
type BuiltinType struct {
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// contains filtered or unexported fields
}
BuiltinType defines the builtin data evaluation.
func (*BuiltinType) Descriptor
deprecated
func (*BuiltinType) Descriptor() ([]byte, []int)
Deprecated: Use BuiltinType.ProtoReflect.Descriptor instead.
func (*BuiltinType) GetMethod ¶
func (x *BuiltinType) GetMethod() string
func (*BuiltinType) ProtoMessage ¶
func (*BuiltinType) ProtoMessage()
func (*BuiltinType) ProtoReflect ¶
func (x *BuiltinType) ProtoReflect() protoreflect.Message
func (*BuiltinType) Reset ¶
func (x *BuiltinType) Reset()
func (*BuiltinType) String ¶
func (x *BuiltinType) String() string
type CheckHealthRequest ¶
type CheckHealthRequest struct {
// contains filtered or unexported fields
}
func (*CheckHealthRequest) Descriptor
deprecated
func (*CheckHealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckHealthRequest.ProtoReflect.Descriptor instead.
func (*CheckHealthRequest) ProtoMessage ¶
func (*CheckHealthRequest) ProtoMessage()
func (*CheckHealthRequest) ProtoReflect ¶
func (x *CheckHealthRequest) ProtoReflect() protoreflect.Message
func (*CheckHealthRequest) Reset ¶
func (x *CheckHealthRequest) Reset()
func (*CheckHealthRequest) String ¶
func (x *CheckHealthRequest) String() string
type CheckHealthResponse ¶
type CheckHealthResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*CheckHealthResponse) Descriptor
deprecated
func (*CheckHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckHealthResponse.ProtoReflect.Descriptor instead.
func (*CheckHealthResponse) GetStatus ¶
func (x *CheckHealthResponse) GetStatus() string
func (*CheckHealthResponse) ProtoMessage ¶
func (*CheckHealthResponse) ProtoMessage()
func (*CheckHealthResponse) ProtoReflect ¶
func (x *CheckHealthResponse) ProtoReflect() protoreflect.Message
func (*CheckHealthResponse) Reset ¶
func (x *CheckHealthResponse) Reset()
func (*CheckHealthResponse) String ¶
func (x *CheckHealthResponse) String() string
type Context ¶
type Context struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
Organization *string `protobuf:"bytes,2,opt,name=organization,proto3,oneof" json:"organization,omitempty"`
Group *string `protobuf:"bytes,3,opt,name=group,proto3,oneof" json:"group,omitempty"`
// contains filtered or unexported fields
}
Context defines the context in which a rule is evaluated. this normally refers to a combination of the provider, organization and group.
func (*Context) Descriptor
deprecated
func (*Context) GetOrganization ¶
func (*Context) GetProvider ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
type CreateGroupRequest ¶
type CreateGroupRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
IsProtected *bool `protobuf:"varint,4,opt,name=is_protected,json=isProtected,proto3,oneof" json:"is_protected,omitempty"`
// contains filtered or unexported fields
}
The CreateGroupRequest message represents a request to create a group
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetDescription ¶
func (x *CreateGroupRequest) GetDescription() string
func (*CreateGroupRequest) GetIsProtected ¶
func (x *CreateGroupRequest) GetIsProtected() bool
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) GetOrganizationId ¶
func (x *CreateGroupRequest) GetOrganizationId() int32
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
type CreateGroupResponse ¶
type CreateGroupResponse struct {
GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
IsProtected bool `protobuf:"varint,5,opt,name=is_protected,json=isProtected,proto3" json:"is_protected,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*CreateGroupResponse) Descriptor
deprecated
func (*CreateGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateGroupResponse) GetCreatedAt ¶
func (x *CreateGroupResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateGroupResponse) GetDescription ¶
func (x *CreateGroupResponse) GetDescription() string
func (*CreateGroupResponse) GetGroupId ¶
func (x *CreateGroupResponse) GetGroupId() int32
func (*CreateGroupResponse) GetIsProtected ¶
func (x *CreateGroupResponse) GetIsProtected() bool
func (*CreateGroupResponse) GetName ¶
func (x *CreateGroupResponse) GetName() string
func (*CreateGroupResponse) GetOrganizationId ¶
func (x *CreateGroupResponse) GetOrganizationId() int32
func (*CreateGroupResponse) GetUpdatedAt ¶
func (x *CreateGroupResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateGroupResponse) ProtoMessage ¶
func (*CreateGroupResponse) ProtoMessage()
func (*CreateGroupResponse) ProtoReflect ¶
func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateGroupResponse) Reset ¶
func (x *CreateGroupResponse) Reset()
func (*CreateGroupResponse) String ¶
func (x *CreateGroupResponse) String() string
type CreateKeyPairRequest ¶
type CreateKeyPairRequest struct {
Passphrase string `protobuf:"bytes,1,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateKeyPairRequest) Descriptor
deprecated
func (*CreateKeyPairRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyPairRequest.ProtoReflect.Descriptor instead.
func (*CreateKeyPairRequest) GetGroupId ¶
func (x *CreateKeyPairRequest) GetGroupId() int32
func (*CreateKeyPairRequest) GetPassphrase ¶
func (x *CreateKeyPairRequest) GetPassphrase() string
func (*CreateKeyPairRequest) ProtoMessage ¶
func (*CreateKeyPairRequest) ProtoMessage()
func (*CreateKeyPairRequest) ProtoReflect ¶
func (x *CreateKeyPairRequest) ProtoReflect() protoreflect.Message
func (*CreateKeyPairRequest) Reset ¶
func (x *CreateKeyPairRequest) Reset()
func (*CreateKeyPairRequest) String ¶
func (x *CreateKeyPairRequest) String() string
type CreateKeyPairResponse ¶
type CreateKeyPairResponse struct {
KeyIdentifier string `protobuf:"bytes,1,opt,name=key_identifier,json=keyIdentifier,proto3" json:"key_identifier,omitempty"`
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}
func (*CreateKeyPairResponse) Descriptor
deprecated
func (*CreateKeyPairResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyPairResponse.ProtoReflect.Descriptor instead.
func (*CreateKeyPairResponse) GetKeyIdentifier ¶
func (x *CreateKeyPairResponse) GetKeyIdentifier() string
func (*CreateKeyPairResponse) GetPublicKey ¶
func (x *CreateKeyPairResponse) GetPublicKey() string
func (*CreateKeyPairResponse) ProtoMessage ¶
func (*CreateKeyPairResponse) ProtoMessage()
func (*CreateKeyPairResponse) ProtoReflect ¶
func (x *CreateKeyPairResponse) ProtoReflect() protoreflect.Message
func (*CreateKeyPairResponse) Reset ¶
func (x *CreateKeyPairResponse) Reset()
func (*CreateKeyPairResponse) String ¶
func (x *CreateKeyPairResponse) String() string
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Company string `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
CreateDefaultRecords bool `protobuf:"varint,3,opt,name=create_default_records,json=createDefaultRecords,proto3" json:"create_default_records,omitempty"`
// contains filtered or unexported fields
}
Organization service
func (*CreateOrganizationRequest) Descriptor
deprecated
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationRequest) GetCompany ¶
func (x *CreateOrganizationRequest) GetCompany() string
func (*CreateOrganizationRequest) GetCreateDefaultRecords ¶
func (x *CreateOrganizationRequest) GetCreateDefaultRecords() bool
func (*CreateOrganizationRequest) GetName ¶
func (x *CreateOrganizationRequest) GetName() string
func (*CreateOrganizationRequest) ProtoMessage ¶
func (*CreateOrganizationRequest) ProtoMessage()
func (*CreateOrganizationRequest) ProtoReflect ¶
func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationRequest) Reset ¶
func (x *CreateOrganizationRequest) Reset()
func (*CreateOrganizationRequest) String ¶
func (x *CreateOrganizationRequest) String() string
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Company string `protobuf:"bytes,3,opt,name=company,proto3" json:"company,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
DefaultGroup *GroupRecord `protobuf:"bytes,7,opt,name=default_group,json=defaultGroup,proto3,oneof" json:"default_group,omitempty"`
DefaultRoles []*RoleRecord `protobuf:"bytes,8,rep,name=default_roles,json=defaultRoles,proto3" json:"default_roles,omitempty"`
DefaultUser *UserRecord `protobuf:"bytes,9,opt,name=default_user,json=defaultUser,proto3,oneof" json:"default_user,omitempty"`
// contains filtered or unexported fields
}
func (*CreateOrganizationResponse) Descriptor
deprecated
func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.
func (*CreateOrganizationResponse) GetCompany ¶
func (x *CreateOrganizationResponse) GetCompany() string
func (*CreateOrganizationResponse) GetCreatedAt ¶
func (x *CreateOrganizationResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateOrganizationResponse) GetDefaultGroup ¶
func (x *CreateOrganizationResponse) GetDefaultGroup() *GroupRecord
func (*CreateOrganizationResponse) GetDefaultRoles ¶
func (x *CreateOrganizationResponse) GetDefaultRoles() []*RoleRecord
func (*CreateOrganizationResponse) GetDefaultUser ¶
func (x *CreateOrganizationResponse) GetDefaultUser() *UserRecord
func (*CreateOrganizationResponse) GetId ¶
func (x *CreateOrganizationResponse) GetId() int32
func (*CreateOrganizationResponse) GetName ¶
func (x *CreateOrganizationResponse) GetName() string
func (*CreateOrganizationResponse) GetUpdatedAt ¶
func (x *CreateOrganizationResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateOrganizationResponse) ProtoMessage ¶
func (*CreateOrganizationResponse) ProtoMessage()
func (*CreateOrganizationResponse) ProtoReflect ¶
func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
func (*CreateOrganizationResponse) Reset ¶
func (x *CreateOrganizationResponse) Reset()
func (*CreateOrganizationResponse) String ¶
func (x *CreateOrganizationResponse) String() string
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
Policy service
func (*CreatePolicyRequest) Descriptor
deprecated
func (*CreatePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyRequest) GetPolicy ¶
func (x *CreatePolicyRequest) GetPolicy() *Policy
func (*CreatePolicyRequest) ProtoMessage ¶
func (*CreatePolicyRequest) ProtoMessage()
func (*CreatePolicyRequest) ProtoReflect ¶
func (x *CreatePolicyRequest) ProtoReflect() protoreflect.Message
func (*CreatePolicyRequest) Reset ¶
func (x *CreatePolicyRequest) Reset()
func (*CreatePolicyRequest) String ¶
func (x *CreatePolicyRequest) String() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePolicyResponse) Descriptor
deprecated
func (*CreatePolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyResponse.ProtoReflect.Descriptor instead.
func (*CreatePolicyResponse) GetPolicy ¶
func (x *CreatePolicyResponse) GetPolicy() *Policy
func (*CreatePolicyResponse) ProtoMessage ¶
func (*CreatePolicyResponse) ProtoMessage()
func (*CreatePolicyResponse) ProtoReflect ¶
func (x *CreatePolicyResponse) ProtoReflect() protoreflect.Message
func (*CreatePolicyResponse) Reset ¶
func (x *CreatePolicyResponse) Reset()
func (*CreatePolicyResponse) String ¶
func (x *CreatePolicyResponse) String() string
type CreateRoleByGroupRequest ¶
type CreateRoleByGroupRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
IsAdmin *bool `protobuf:"varint,4,opt,name=is_admin,json=isAdmin,proto3,oneof" json:"is_admin,omitempty"`
IsProtected *bool `protobuf:"varint,5,opt,name=is_protected,json=isProtected,proto3,oneof" json:"is_protected,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRoleByGroupRequest) Descriptor
deprecated
func (*CreateRoleByGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleByGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleByGroupRequest) GetGroupId ¶
func (x *CreateRoleByGroupRequest) GetGroupId() int32
func (*CreateRoleByGroupRequest) GetIsAdmin ¶
func (x *CreateRoleByGroupRequest) GetIsAdmin() bool
func (*CreateRoleByGroupRequest) GetIsProtected ¶
func (x *CreateRoleByGroupRequest) GetIsProtected() bool
func (*CreateRoleByGroupRequest) GetName ¶
func (x *CreateRoleByGroupRequest) GetName() string
func (*CreateRoleByGroupRequest) GetOrganizationId ¶
func (x *CreateRoleByGroupRequest) GetOrganizationId() int32
func (*CreateRoleByGroupRequest) ProtoMessage ¶
func (*CreateRoleByGroupRequest) ProtoMessage()
func (*CreateRoleByGroupRequest) ProtoReflect ¶
func (x *CreateRoleByGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleByGroupRequest) Reset ¶
func (x *CreateRoleByGroupRequest) Reset()
func (*CreateRoleByGroupRequest) String ¶
func (x *CreateRoleByGroupRequest) String() string
type CreateRoleByGroupResponse ¶
type CreateRoleByGroupResponse struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
GroupId int32 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
IsAdmin bool `protobuf:"varint,5,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
IsProtected bool `protobuf:"varint,6,opt,name=is_protected,json=isProtected,proto3" json:"is_protected,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRoleByGroupResponse) Descriptor
deprecated
func (*CreateRoleByGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleByGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateRoleByGroupResponse) GetCreatedAt ¶
func (x *CreateRoleByGroupResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateRoleByGroupResponse) GetGroupId ¶
func (x *CreateRoleByGroupResponse) GetGroupId() int32
func (*CreateRoleByGroupResponse) GetId ¶
func (x *CreateRoleByGroupResponse) GetId() int32
func (*CreateRoleByGroupResponse) GetIsAdmin ¶
func (x *CreateRoleByGroupResponse) GetIsAdmin() bool
func (*CreateRoleByGroupResponse) GetIsProtected ¶
func (x *CreateRoleByGroupResponse) GetIsProtected() bool
func (*CreateRoleByGroupResponse) GetName ¶
func (x *CreateRoleByGroupResponse) GetName() string
func (*CreateRoleByGroupResponse) GetOrganizationId ¶
func (x *CreateRoleByGroupResponse) GetOrganizationId() int32
func (*CreateRoleByGroupResponse) GetUpdatedAt ¶
func (x *CreateRoleByGroupResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateRoleByGroupResponse) ProtoMessage ¶
func (*CreateRoleByGroupResponse) ProtoMessage()
func (*CreateRoleByGroupResponse) ProtoReflect ¶
func (x *CreateRoleByGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateRoleByGroupResponse) Reset ¶
func (x *CreateRoleByGroupResponse) Reset()
func (*CreateRoleByGroupResponse) String ¶
func (x *CreateRoleByGroupResponse) String() string
type CreateRoleByOrganizationRequest ¶
type CreateRoleByOrganizationRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
IsAdmin *bool `protobuf:"varint,4,opt,name=is_admin,json=isAdmin,proto3,oneof" json:"is_admin,omitempty"`
IsProtected *bool `protobuf:"varint,5,opt,name=is_protected,json=isProtected,proto3,oneof" json:"is_protected,omitempty"`
// contains filtered or unexported fields
}
Role service
func (*CreateRoleByOrganizationRequest) Descriptor
deprecated
func (*CreateRoleByOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleByOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleByOrganizationRequest) GetIsAdmin ¶
func (x *CreateRoleByOrganizationRequest) GetIsAdmin() bool
func (*CreateRoleByOrganizationRequest) GetIsProtected ¶
func (x *CreateRoleByOrganizationRequest) GetIsProtected() bool
func (*CreateRoleByOrganizationRequest) GetName ¶
func (x *CreateRoleByOrganizationRequest) GetName() string
func (*CreateRoleByOrganizationRequest) GetOrganizationId ¶
func (x *CreateRoleByOrganizationRequest) GetOrganizationId() int32
func (*CreateRoleByOrganizationRequest) ProtoMessage ¶
func (*CreateRoleByOrganizationRequest) ProtoMessage()
func (*CreateRoleByOrganizationRequest) ProtoReflect ¶
func (x *CreateRoleByOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleByOrganizationRequest) Reset ¶
func (x *CreateRoleByOrganizationRequest) Reset()
func (*CreateRoleByOrganizationRequest) String ¶
func (x *CreateRoleByOrganizationRequest) String() string
type CreateRoleByOrganizationResponse ¶
type CreateRoleByOrganizationResponse struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
IsAdmin bool `protobuf:"varint,5,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
IsProtected bool `protobuf:"varint,6,opt,name=is_protected,json=isProtected,proto3" json:"is_protected,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRoleByOrganizationResponse) Descriptor
deprecated
func (*CreateRoleByOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleByOrganizationResponse.ProtoReflect.Descriptor instead.
func (*CreateRoleByOrganizationResponse) GetCreatedAt ¶
func (x *CreateRoleByOrganizationResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateRoleByOrganizationResponse) GetId ¶
func (x *CreateRoleByOrganizationResponse) GetId() int32
func (*CreateRoleByOrganizationResponse) GetIsAdmin ¶
func (x *CreateRoleByOrganizationResponse) GetIsAdmin() bool
func (*CreateRoleByOrganizationResponse) GetIsProtected ¶
func (x *CreateRoleByOrganizationResponse) GetIsProtected() bool
func (*CreateRoleByOrganizationResponse) GetName ¶
func (x *CreateRoleByOrganizationResponse) GetName() string
func (*CreateRoleByOrganizationResponse) GetOrganizationId ¶
func (x *CreateRoleByOrganizationResponse) GetOrganizationId() int32
func (*CreateRoleByOrganizationResponse) GetUpdatedAt ¶
func (x *CreateRoleByOrganizationResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateRoleByOrganizationResponse) ProtoMessage ¶
func (*CreateRoleByOrganizationResponse) ProtoMessage()
func (*CreateRoleByOrganizationResponse) ProtoReflect ¶
func (x *CreateRoleByOrganizationResponse) ProtoReflect() protoreflect.Message
func (*CreateRoleByOrganizationResponse) Reset ¶
func (x *CreateRoleByOrganizationResponse) Reset()
func (*CreateRoleByOrganizationResponse) String ¶
func (x *CreateRoleByOrganizationResponse) String() string
type CreateRuleTypeRequest ¶
type CreateRuleTypeRequest struct {
// rule_type is the rule type to be created.
RuleType *RuleType `protobuf:"bytes,1,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// contains filtered or unexported fields
}
CreateRuleTypeRequest is the request to create a rule type.
func (*CreateRuleTypeRequest) Descriptor
deprecated
func (*CreateRuleTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRuleTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateRuleTypeRequest) GetRuleType ¶
func (x *CreateRuleTypeRequest) GetRuleType() *RuleType
func (*CreateRuleTypeRequest) ProtoMessage ¶
func (*CreateRuleTypeRequest) ProtoMessage()
func (*CreateRuleTypeRequest) ProtoReflect ¶
func (x *CreateRuleTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateRuleTypeRequest) Reset ¶
func (x *CreateRuleTypeRequest) Reset()
func (*CreateRuleTypeRequest) String ¶
func (x *CreateRuleTypeRequest) String() string
type CreateRuleTypeResponse ¶
type CreateRuleTypeResponse struct {
// rule_type is the rule type that was created.
RuleType *RuleType `protobuf:"bytes,1,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// contains filtered or unexported fields
}
CreateRuleTypeResponse is the response to create a rule type.
func (*CreateRuleTypeResponse) Descriptor
deprecated
func (*CreateRuleTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRuleTypeResponse.ProtoReflect.Descriptor instead.
func (*CreateRuleTypeResponse) GetRuleType ¶
func (x *CreateRuleTypeResponse) GetRuleType() *RuleType
func (*CreateRuleTypeResponse) ProtoMessage ¶
func (*CreateRuleTypeResponse) ProtoMessage()
func (*CreateRuleTypeResponse) ProtoReflect ¶
func (x *CreateRuleTypeResponse) ProtoReflect() protoreflect.Message
func (*CreateRuleTypeResponse) Reset ¶
func (x *CreateRuleTypeResponse) Reset()
func (*CreateRuleTypeResponse) String ¶
func (x *CreateRuleTypeResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
Password *string `protobuf:"bytes,4,opt,name=password,proto3,oneof" json:"password,omitempty"`
FirstName *string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
LastName *string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
IsProtected *bool `protobuf:"varint,7,opt,name=is_protected,json=isProtected,proto3,oneof" json:"is_protected,omitempty"`
NeedsPasswordChange *bool `` /* 127-byte string literal not displayed */
GroupIds []int32 `protobuf:"varint,9,rep,packed,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
RoleIds []int32 `protobuf:"varint,10,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
// contains filtered or unexported fields
}
User service
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) GetFirstName ¶
func (x *CreateUserRequest) GetFirstName() string
func (*CreateUserRequest) GetGroupIds ¶
func (x *CreateUserRequest) GetGroupIds() []int32
func (*CreateUserRequest) GetIsProtected ¶
func (x *CreateUserRequest) GetIsProtected() bool
func (*CreateUserRequest) GetLastName ¶
func (x *CreateUserRequest) GetLastName() string
func (*CreateUserRequest) GetNeedsPasswordChange ¶
func (x *CreateUserRequest) GetNeedsPasswordChange() bool
func (*CreateUserRequest) GetOrganizationId ¶
func (x *CreateUserRequest) GetOrganizationId() int32
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetRoleIds ¶
func (x *CreateUserRequest) GetRoleIds() []int32
func (*CreateUserRequest) GetUsername ¶
func (x *CreateUserRequest) GetUsername() 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
type CreateUserResponse ¶
type CreateUserResponse struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
FirstName *string `protobuf:"bytes,6,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
LastName *string `protobuf:"bytes,7,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
IsProtected *bool `protobuf:"varint,8,opt,name=is_protected,json=isProtected,proto3,oneof" json:"is_protected,omitempty"`
NeedsPasswordChange *bool `` /* 127-byte string literal not displayed */
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetCreatedAt ¶
func (x *CreateUserResponse) GetCreatedAt() *timestamppb.Timestamp
func (*CreateUserResponse) GetEmail ¶
func (x *CreateUserResponse) GetEmail() string
func (*CreateUserResponse) GetFirstName ¶
func (x *CreateUserResponse) GetFirstName() string
func (*CreateUserResponse) GetId ¶
func (x *CreateUserResponse) GetId() int32
func (*CreateUserResponse) GetIsProtected ¶
func (x *CreateUserResponse) GetIsProtected() bool
func (*CreateUserResponse) GetLastName ¶
func (x *CreateUserResponse) GetLastName() string
func (*CreateUserResponse) GetNeedsPasswordChange ¶
func (x *CreateUserResponse) GetNeedsPasswordChange() bool
func (*CreateUserResponse) GetOrganizationId ¶
func (x *CreateUserResponse) GetOrganizationId() int32
func (*CreateUserResponse) GetPassword ¶
func (x *CreateUserResponse) GetPassword() string
func (*CreateUserResponse) GetUpdatedAt ¶
func (x *CreateUserResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*CreateUserResponse) GetUsername ¶
func (x *CreateUserResponse) GetUsername() string
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteGroupRequest ¶
type DeleteGroupRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"`
// contains filtered or unexported fields
}
DeleteGroupRequest represents a request to delete a group
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetForce ¶
func (x *DeleteGroupRequest) GetForce() bool
func (*DeleteGroupRequest) GetId ¶
func (x *DeleteGroupRequest) GetId() int32
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
type DeleteGroupResponse ¶
type DeleteGroupResponse struct {
// contains filtered or unexported fields
}
DeleteGroupResponse represents a response to a delete group request
func (*DeleteGroupResponse) Descriptor
deprecated
func (*DeleteGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.
func (*DeleteGroupResponse) ProtoMessage ¶
func (*DeleteGroupResponse) ProtoMessage()
func (*DeleteGroupResponse) ProtoReflect ¶
func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message
func (*DeleteGroupResponse) Reset ¶
func (x *DeleteGroupResponse) Reset()
func (*DeleteGroupResponse) String ¶
func (x *DeleteGroupResponse) String() string
type DeleteOrganizationRequest ¶
type DeleteOrganizationRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"`
// contains filtered or unexported fields
}
DeleteOrganizationRequest represents a request to delete a organization
func (*DeleteOrganizationRequest) Descriptor
deprecated
func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationRequest) GetForce ¶
func (x *DeleteOrganizationRequest) GetForce() bool
func (*DeleteOrganizationRequest) GetId ¶
func (x *DeleteOrganizationRequest) GetId() int32
func (*DeleteOrganizationRequest) ProtoMessage ¶
func (*DeleteOrganizationRequest) ProtoMessage()
func (*DeleteOrganizationRequest) ProtoReflect ¶
func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationRequest) Reset ¶
func (x *DeleteOrganizationRequest) Reset()
func (*DeleteOrganizationRequest) String ¶
func (x *DeleteOrganizationRequest) String() string
type DeleteOrganizationResponse ¶
type DeleteOrganizationResponse struct {
// contains filtered or unexported fields
}
DeleteOrganizationResponse represents a response to a delete organization request
func (*DeleteOrganizationResponse) Descriptor
deprecated
func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationResponse) ProtoMessage ¶
func (*DeleteOrganizationResponse) ProtoMessage()
func (*DeleteOrganizationResponse) ProtoReflect ¶
func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationResponse) Reset ¶
func (x *DeleteOrganizationResponse) Reset()
func (*DeleteOrganizationResponse) String ¶
func (x *DeleteOrganizationResponse) String() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct {
// context is the context in which the rule type is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// id is the id of the policy to delete
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeletePolicyRequest) Descriptor
deprecated
func (*DeletePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyRequest) GetContext ¶
func (x *DeletePolicyRequest) GetContext() *Context
func (*DeletePolicyRequest) GetId ¶
func (x *DeletePolicyRequest) GetId() int32
func (*DeletePolicyRequest) ProtoMessage ¶
func (*DeletePolicyRequest) ProtoMessage()
func (*DeletePolicyRequest) ProtoReflect ¶
func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyRequest) Reset ¶
func (x *DeletePolicyRequest) Reset()
func (*DeletePolicyRequest) String ¶
func (x *DeletePolicyRequest) String() string
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
// contains filtered or unexported fields
}
func (*DeletePolicyResponse) Descriptor
deprecated
func (*DeletePolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead.
func (*DeletePolicyResponse) ProtoMessage ¶
func (*DeletePolicyResponse) ProtoMessage()
func (*DeletePolicyResponse) ProtoReflect ¶
func (x *DeletePolicyResponse) ProtoReflect() protoreflect.Message
func (*DeletePolicyResponse) Reset ¶
func (x *DeletePolicyResponse) Reset()
func (*DeletePolicyResponse) String ¶
func (x *DeletePolicyResponse) String() string
type DeleteRoleRequest ¶
type DeleteRoleRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"`
// contains filtered or unexported fields
}
delete role
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetForce ¶
func (x *DeleteRoleRequest) GetForce() bool
func (*DeleteRoleRequest) GetId ¶
func (x *DeleteRoleRequest) GetId() int32
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRoleResponse) Descriptor
deprecated
func (*DeleteRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoleResponse) ProtoMessage ¶
func (*DeleteRoleResponse) ProtoMessage()
func (*DeleteRoleResponse) ProtoReflect ¶
func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoleResponse) Reset ¶
func (x *DeleteRoleResponse) Reset()
func (*DeleteRoleResponse) String ¶
func (x *DeleteRoleResponse) String() string
type DeleteRuleTypeRequest ¶
type DeleteRuleTypeRequest struct {
// context is the context in which the rule type is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// id is the id of the rule type to be deleted.
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
DeleteRuleTypeRequest is the request to delete a rule type.
func (*DeleteRuleTypeRequest) Descriptor
deprecated
func (*DeleteRuleTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRuleTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteRuleTypeRequest) GetContext ¶
func (x *DeleteRuleTypeRequest) GetContext() *Context
func (*DeleteRuleTypeRequest) GetId ¶
func (x *DeleteRuleTypeRequest) GetId() int32
func (*DeleteRuleTypeRequest) ProtoMessage ¶
func (*DeleteRuleTypeRequest) ProtoMessage()
func (*DeleteRuleTypeRequest) ProtoReflect ¶
func (x *DeleteRuleTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteRuleTypeRequest) Reset ¶
func (x *DeleteRuleTypeRequest) Reset()
func (*DeleteRuleTypeRequest) String ¶
func (x *DeleteRuleTypeRequest) String() string
type DeleteRuleTypeResponse ¶
type DeleteRuleTypeResponse struct {
// contains filtered or unexported fields
}
DeleteRuleTypeResponse is the response to delete a rule type.
func (*DeleteRuleTypeResponse) Descriptor
deprecated
func (*DeleteRuleTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRuleTypeResponse.ProtoReflect.Descriptor instead.
func (*DeleteRuleTypeResponse) ProtoMessage ¶
func (*DeleteRuleTypeResponse) ProtoMessage()
func (*DeleteRuleTypeResponse) ProtoReflect ¶
func (x *DeleteRuleTypeResponse) ProtoReflect() protoreflect.Message
func (*DeleteRuleTypeResponse) Reset ¶
func (x *DeleteRuleTypeResponse) Reset()
func (*DeleteRuleTypeResponse) String ¶
func (x *DeleteRuleTypeResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetForce ¶
func (x *DeleteUserRequest) GetForce() bool
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() int32
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
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type DepEcosystem ¶ added in v0.0.3
type DepEcosystem int32
const ( DepEcosystem_DEP_ECOSYSTEM_UNSPECIFIED DepEcosystem = 0 DepEcosystem_DEP_ECOSYSTEM_NPM DepEcosystem = 1 )
func (DepEcosystem) Descriptor ¶ added in v0.0.3
func (DepEcosystem) Descriptor() protoreflect.EnumDescriptor
func (DepEcosystem) Enum ¶ added in v0.0.3
func (x DepEcosystem) Enum() *DepEcosystem
func (DepEcosystem) EnumDescriptor
deprecated
added in
v0.0.3
func (DepEcosystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use DepEcosystem.Descriptor instead.
func (DepEcosystem) Number ¶ added in v0.0.3
func (x DepEcosystem) Number() protoreflect.EnumNumber
func (DepEcosystem) String ¶ added in v0.0.3
func (x DepEcosystem) String() string
func (DepEcosystem) Type ¶ added in v0.0.3
func (DepEcosystem) Type() protoreflect.EnumType
type Dependency ¶ added in v0.0.3
type Dependency struct {
Ecosystem DepEcosystem `protobuf:"varint,1,opt,name=ecosystem,proto3,enum=mediator.v1.DepEcosystem" json:"ecosystem,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*Dependency) Descriptor
deprecated
added in
v0.0.3
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetEcosystem ¶ added in v0.0.3
func (x *Dependency) GetEcosystem() DepEcosystem
func (*Dependency) GetName ¶ added in v0.0.3
func (x *Dependency) GetName() string
func (*Dependency) GetVersion ¶ added in v0.0.3
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶ added in v0.0.3
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶ added in v0.0.3
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶ added in v0.0.3
func (x *Dependency) Reset()
func (*Dependency) String ¶ added in v0.0.3
func (x *Dependency) String() string
type DiffType ¶ added in v0.0.3
type DiffType struct {
Ecosystems []*DiffType_Ecosystem `protobuf:"bytes,1,rep,name=ecosystems,proto3" json:"ecosystems,omitempty"`
// contains filtered or unexported fields
}
DiffType defines the diff data ingester.
func (*DiffType) Descriptor
deprecated
added in
v0.0.3
func (*DiffType) GetEcosystems ¶ added in v0.0.3
func (x *DiffType) GetEcosystems() []*DiffType_Ecosystem
func (*DiffType) ProtoMessage ¶ added in v0.0.3
func (*DiffType) ProtoMessage()
func (*DiffType) ProtoReflect ¶ added in v0.0.3
func (x *DiffType) ProtoReflect() protoreflect.Message
type DiffType_Ecosystem ¶ added in v0.0.3
type DiffType_Ecosystem struct {
// name is the name of the ecosystem.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// depfile is the file that contains the dependencies for this ecosystem
Depfile string `protobuf:"bytes,2,opt,name=depfile,proto3" json:"depfile,omitempty"`
// contains filtered or unexported fields
}
func (*DiffType_Ecosystem) Descriptor
deprecated
added in
v0.0.3
func (*DiffType_Ecosystem) Descriptor() ([]byte, []int)
Deprecated: Use DiffType_Ecosystem.ProtoReflect.Descriptor instead.
func (*DiffType_Ecosystem) GetDepfile ¶ added in v0.0.3
func (x *DiffType_Ecosystem) GetDepfile() string
func (*DiffType_Ecosystem) GetName ¶ added in v0.0.3
func (x *DiffType_Ecosystem) GetName() string
func (*DiffType_Ecosystem) ProtoMessage ¶ added in v0.0.3
func (*DiffType_Ecosystem) ProtoMessage()
func (*DiffType_Ecosystem) ProtoReflect ¶ added in v0.0.3
func (x *DiffType_Ecosystem) ProtoReflect() protoreflect.Message
func (*DiffType_Ecosystem) Reset ¶ added in v0.0.3
func (x *DiffType_Ecosystem) Reset()
func (*DiffType_Ecosystem) String ¶ added in v0.0.3
func (x *DiffType_Ecosystem) String() string
type Entity ¶
type Entity int32
Entity defines the entity that is supported by the provider.
func (Entity) Descriptor ¶
func (Entity) Descriptor() protoreflect.EnumDescriptor
func (Entity) EnumDescriptor
deprecated
func (Entity) Number ¶
func (x Entity) Number() protoreflect.EnumNumber
func (Entity) Type ¶
func (Entity) Type() protoreflect.EnumType
type ExchangeCodeForTokenCLIRequest ¶
type ExchangeCodeForTokenCLIRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
// contains filtered or unexported fields
}
func (*ExchangeCodeForTokenCLIRequest) Descriptor
deprecated
func (*ExchangeCodeForTokenCLIRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeCodeForTokenCLIRequest.ProtoReflect.Descriptor instead.
func (*ExchangeCodeForTokenCLIRequest) GetCode ¶
func (x *ExchangeCodeForTokenCLIRequest) GetCode() string
func (*ExchangeCodeForTokenCLIRequest) GetGroupId ¶
func (x *ExchangeCodeForTokenCLIRequest) GetGroupId() int32
func (*ExchangeCodeForTokenCLIRequest) GetProvider ¶
func (x *ExchangeCodeForTokenCLIRequest) GetProvider() string
func (*ExchangeCodeForTokenCLIRequest) GetRedirectUri ¶
func (x *ExchangeCodeForTokenCLIRequest) GetRedirectUri() string
func (*ExchangeCodeForTokenCLIRequest) GetState ¶
func (x *ExchangeCodeForTokenCLIRequest) GetState() string
func (*ExchangeCodeForTokenCLIRequest) ProtoMessage ¶
func (*ExchangeCodeForTokenCLIRequest) ProtoMessage()
func (*ExchangeCodeForTokenCLIRequest) ProtoReflect ¶
func (x *ExchangeCodeForTokenCLIRequest) ProtoReflect() protoreflect.Message
func (*ExchangeCodeForTokenCLIRequest) Reset ¶
func (x *ExchangeCodeForTokenCLIRequest) Reset()
func (*ExchangeCodeForTokenCLIRequest) String ¶
func (x *ExchangeCodeForTokenCLIRequest) String() string
type ExchangeCodeForTokenWEBRequest ¶
type ExchangeCodeForTokenWEBRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
// contains filtered or unexported fields
}
func (*ExchangeCodeForTokenWEBRequest) Descriptor
deprecated
func (*ExchangeCodeForTokenWEBRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeCodeForTokenWEBRequest.ProtoReflect.Descriptor instead.
func (*ExchangeCodeForTokenWEBRequest) GetCode ¶
func (x *ExchangeCodeForTokenWEBRequest) GetCode() string
func (*ExchangeCodeForTokenWEBRequest) GetGroupId ¶
func (x *ExchangeCodeForTokenWEBRequest) GetGroupId() int32
func (*ExchangeCodeForTokenWEBRequest) GetProvider ¶
func (x *ExchangeCodeForTokenWEBRequest) GetProvider() string
func (*ExchangeCodeForTokenWEBRequest) GetRedirectUri ¶
func (x *ExchangeCodeForTokenWEBRequest) GetRedirectUri() string
func (*ExchangeCodeForTokenWEBRequest) ProtoMessage ¶
func (*ExchangeCodeForTokenWEBRequest) ProtoMessage()
func (*ExchangeCodeForTokenWEBRequest) ProtoReflect ¶
func (x *ExchangeCodeForTokenWEBRequest) ProtoReflect() protoreflect.Message
func (*ExchangeCodeForTokenWEBRequest) Reset ¶
func (x *ExchangeCodeForTokenWEBRequest) Reset()
func (*ExchangeCodeForTokenWEBRequest) String ¶
func (x *ExchangeCodeForTokenWEBRequest) String() string
type ExchangeCodeForTokenWEBResponse ¶
type ExchangeCodeForTokenWEBResponse struct {
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ExchangeCodeForTokenWEBResponse) Descriptor
deprecated
func (*ExchangeCodeForTokenWEBResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeCodeForTokenWEBResponse.ProtoReflect.Descriptor instead.
func (*ExchangeCodeForTokenWEBResponse) GetAccessToken ¶
func (x *ExchangeCodeForTokenWEBResponse) GetAccessToken() string
func (*ExchangeCodeForTokenWEBResponse) GetExpiresIn ¶
func (x *ExchangeCodeForTokenWEBResponse) GetExpiresIn() int64
func (*ExchangeCodeForTokenWEBResponse) GetStatus ¶
func (x *ExchangeCodeForTokenWEBResponse) GetStatus() string
func (*ExchangeCodeForTokenWEBResponse) GetTokenType ¶
func (x *ExchangeCodeForTokenWEBResponse) GetTokenType() string
func (*ExchangeCodeForTokenWEBResponse) ProtoMessage ¶
func (*ExchangeCodeForTokenWEBResponse) ProtoMessage()
func (*ExchangeCodeForTokenWEBResponse) ProtoReflect ¶
func (x *ExchangeCodeForTokenWEBResponse) ProtoReflect() protoreflect.Message
func (*ExchangeCodeForTokenWEBResponse) Reset ¶
func (x *ExchangeCodeForTokenWEBResponse) Reset()
func (*ExchangeCodeForTokenWEBResponse) String ¶
func (x *ExchangeCodeForTokenWEBResponse) String() string
type FilePatch ¶ added in v0.0.3
type FilePatch struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // file changed, e.g. package-lock.json
PatchUrl string `protobuf:"bytes,2,opt,name=patch_url,json=patchUrl,proto3" json:"patch_url,omitempty"` // points to the the raw patchfile
// contains filtered or unexported fields
}
func (*FilePatch) Descriptor
deprecated
added in
v0.0.3
func (*FilePatch) GetPatchUrl ¶ added in v0.0.3
func (*FilePatch) ProtoMessage ¶ added in v0.0.3
func (*FilePatch) ProtoMessage()
func (*FilePatch) ProtoReflect ¶ added in v0.0.3
func (x *FilePatch) ProtoReflect() protoreflect.Message
type GetArtifactByIdRequest ¶
type GetArtifactByIdRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
LatestVersions int32 `protobuf:"varint,5,opt,name=latest_versions,json=latestVersions,proto3" json:"latest_versions,omitempty"`
Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
// contains filtered or unexported fields
}
func (*GetArtifactByIdRequest) Descriptor
deprecated
func (*GetArtifactByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactByIdRequest.ProtoReflect.Descriptor instead.
func (*GetArtifactByIdRequest) GetId ¶
func (x *GetArtifactByIdRequest) GetId() int32
func (*GetArtifactByIdRequest) GetLatestVersions ¶
func (x *GetArtifactByIdRequest) GetLatestVersions() int32
func (*GetArtifactByIdRequest) GetTag ¶
func (x *GetArtifactByIdRequest) GetTag() string
func (*GetArtifactByIdRequest) ProtoMessage ¶
func (*GetArtifactByIdRequest) ProtoMessage()
func (*GetArtifactByIdRequest) ProtoReflect ¶
func (x *GetArtifactByIdRequest) ProtoReflect() protoreflect.Message
func (*GetArtifactByIdRequest) Reset ¶
func (x *GetArtifactByIdRequest) Reset()
func (*GetArtifactByIdRequest) String ¶
func (x *GetArtifactByIdRequest) String() string
type GetArtifactByIdResponse ¶
type GetArtifactByIdResponse struct {
Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
Versions []*ArtifactVersion `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"`
// contains filtered or unexported fields
}
func (*GetArtifactByIdResponse) Descriptor
deprecated
func (*GetArtifactByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactByIdResponse.ProtoReflect.Descriptor instead.
func (*GetArtifactByIdResponse) GetArtifact ¶
func (x *GetArtifactByIdResponse) GetArtifact() *Artifact
func (*GetArtifactByIdResponse) GetVersions ¶
func (x *GetArtifactByIdResponse) GetVersions() []*ArtifactVersion
func (*GetArtifactByIdResponse) ProtoMessage ¶
func (*GetArtifactByIdResponse) ProtoMessage()
func (*GetArtifactByIdResponse) ProtoReflect ¶
func (x *GetArtifactByIdResponse) ProtoReflect() protoreflect.Message
func (*GetArtifactByIdResponse) Reset ¶
func (x *GetArtifactByIdResponse) Reset()
func (*GetArtifactByIdResponse) String ¶
func (x *GetArtifactByIdResponse) String() string
type GetAuthorizationURLRequest ¶
type GetAuthorizationURLRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Cli bool `protobuf:"varint,3,opt,name=cli,proto3" json:"cli,omitempty"`
Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
Owner *string `protobuf:"bytes,5,opt,name=owner,proto3,oneof" json:"owner,omitempty"`
// contains filtered or unexported fields
}
func (*GetAuthorizationURLRequest) Descriptor
deprecated
func (*GetAuthorizationURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizationURLRequest.ProtoReflect.Descriptor instead.
func (*GetAuthorizationURLRequest) GetCli ¶
func (x *GetAuthorizationURLRequest) GetCli() bool
func (*GetAuthorizationURLRequest) GetGroupId ¶
func (x *GetAuthorizationURLRequest) GetGroupId() int32
func (*GetAuthorizationURLRequest) GetOwner ¶
func (x *GetAuthorizationURLRequest) GetOwner() string
func (*GetAuthorizationURLRequest) GetPort ¶
func (x *GetAuthorizationURLRequest) GetPort() int32
func (*GetAuthorizationURLRequest) GetProvider ¶
func (x *GetAuthorizationURLRequest) GetProvider() string
func (*GetAuthorizationURLRequest) ProtoMessage ¶
func (*GetAuthorizationURLRequest) ProtoMessage()
func (*GetAuthorizationURLRequest) ProtoReflect ¶
func (x *GetAuthorizationURLRequest) ProtoReflect() protoreflect.Message
func (*GetAuthorizationURLRequest) Reset ¶
func (x *GetAuthorizationURLRequest) Reset()
func (*GetAuthorizationURLRequest) String ¶
func (x *GetAuthorizationURLRequest) String() string
type GetAuthorizationURLResponse ¶
type GetAuthorizationURLResponse struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*GetAuthorizationURLResponse) Descriptor
deprecated
func (*GetAuthorizationURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizationURLResponse.ProtoReflect.Descriptor instead.
func (*GetAuthorizationURLResponse) GetUrl ¶
func (x *GetAuthorizationURLResponse) GetUrl() string
func (*GetAuthorizationURLResponse) ProtoMessage ¶
func (*GetAuthorizationURLResponse) ProtoMessage()
func (*GetAuthorizationURLResponse) ProtoReflect ¶
func (x *GetAuthorizationURLResponse) ProtoReflect() protoreflect.Message
func (*GetAuthorizationURLResponse) Reset ¶
func (x *GetAuthorizationURLResponse) Reset()
func (*GetAuthorizationURLResponse) String ¶
func (x *GetAuthorizationURLResponse) String() string
type GetBranchProtectionRequest ¶
type GetBranchProtectionRequest struct {
// contains filtered or unexported fields
}
func (*GetBranchProtectionRequest) Descriptor
deprecated
func (*GetBranchProtectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBranchProtectionRequest.ProtoReflect.Descriptor instead.
func (*GetBranchProtectionRequest) ProtoMessage ¶
func (*GetBranchProtectionRequest) ProtoMessage()
func (*GetBranchProtectionRequest) ProtoReflect ¶
func (x *GetBranchProtectionRequest) ProtoReflect() protoreflect.Message
func (*GetBranchProtectionRequest) Reset ¶
func (x *GetBranchProtectionRequest) Reset()
func (*GetBranchProtectionRequest) String ¶
func (x *GetBranchProtectionRequest) String() string
type GetBranchProtectionResponse ¶
type GetBranchProtectionResponse struct {
BranchProtections []*BranchProtection `protobuf:"bytes,1,rep,name=branch_protections,json=branchProtections,proto3" json:"branch_protections,omitempty"`
// contains filtered or unexported fields
}
func (*GetBranchProtectionResponse) Descriptor
deprecated
func (*GetBranchProtectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBranchProtectionResponse.ProtoReflect.Descriptor instead.
func (*GetBranchProtectionResponse) GetBranchProtections ¶
func (x *GetBranchProtectionResponse) GetBranchProtections() []*BranchProtection
func (*GetBranchProtectionResponse) ProtoMessage ¶
func (*GetBranchProtectionResponse) ProtoMessage()
func (*GetBranchProtectionResponse) ProtoReflect ¶
func (x *GetBranchProtectionResponse) ProtoReflect() protoreflect.Message
func (*GetBranchProtectionResponse) Reset ¶
func (x *GetBranchProtectionResponse) Reset()
func (*GetBranchProtectionResponse) String ¶
func (x *GetBranchProtectionResponse) String() string
type GetGroupByIdRequest ¶
type GetGroupByIdRequest struct {
GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
The GetGroupByIdRequest message represents a request to get a group by ID
func (*GetGroupByIdRequest) Descriptor
deprecated
func (*GetGroupByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupByIdRequest.ProtoReflect.Descriptor instead.
func (*GetGroupByIdRequest) GetGroupId ¶
func (x *GetGroupByIdRequest) GetGroupId() int32
func (*GetGroupByIdRequest) ProtoMessage ¶
func (*GetGroupByIdRequest) ProtoMessage()
func (*GetGroupByIdRequest) ProtoReflect ¶
func (x *GetGroupByIdRequest) ProtoReflect() protoreflect.Message
func (*GetGroupByIdRequest) Reset ¶
func (x *GetGroupByIdRequest) Reset()
func (*GetGroupByIdRequest) String ¶
func (x *GetGroupByIdRequest) String() string
type GetGroupByIdResponse ¶
type GetGroupByIdResponse struct {
Group *GroupRecord `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
Users []*UserRecord `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetGroupByIdResponse) Descriptor
deprecated
func (*GetGroupByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupByIdResponse.ProtoReflect.Descriptor instead.
func (*GetGroupByIdResponse) GetGroup ¶
func (x *GetGroupByIdResponse) GetGroup() *GroupRecord
func (*GetGroupByIdResponse) GetRoles ¶
func (x *GetGroupByIdResponse) GetRoles() []*RoleRecord
func (*GetGroupByIdResponse) GetUsers ¶
func (x *GetGroupByIdResponse) GetUsers() []*UserRecord
func (*GetGroupByIdResponse) ProtoMessage ¶
func (*GetGroupByIdResponse) ProtoMessage()
func (*GetGroupByIdResponse) ProtoReflect ¶
func (x *GetGroupByIdResponse) ProtoReflect() protoreflect.Message
func (*GetGroupByIdResponse) Reset ¶
func (x *GetGroupByIdResponse) Reset()
func (*GetGroupByIdResponse) String ¶
func (x *GetGroupByIdResponse) String() string
type GetGroupByNameRequest ¶
type GetGroupByNameRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The GetGroupByNameRequest message represents a request to get a group by name
func (*GetGroupByNameRequest) Descriptor
deprecated
func (*GetGroupByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupByNameRequest.ProtoReflect.Descriptor instead.
func (*GetGroupByNameRequest) GetName ¶
func (x *GetGroupByNameRequest) GetName() string
func (*GetGroupByNameRequest) ProtoMessage ¶
func (*GetGroupByNameRequest) ProtoMessage()
func (*GetGroupByNameRequest) ProtoReflect ¶
func (x *GetGroupByNameRequest) ProtoReflect() protoreflect.Message
func (*GetGroupByNameRequest) Reset ¶
func (x *GetGroupByNameRequest) Reset()
func (*GetGroupByNameRequest) String ¶
func (x *GetGroupByNameRequest) String() string
type GetGroupByNameResponse ¶
type GetGroupByNameResponse struct {
Group *GroupRecord `protobuf:"bytes,1,opt,name=group,proto3,oneof" json:"group,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
Users []*UserRecord `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetGroupByNameResponse) Descriptor
deprecated
func (*GetGroupByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupByNameResponse.ProtoReflect.Descriptor instead.
func (*GetGroupByNameResponse) GetGroup ¶
func (x *GetGroupByNameResponse) GetGroup() *GroupRecord
func (*GetGroupByNameResponse) GetRoles ¶
func (x *GetGroupByNameResponse) GetRoles() []*RoleRecord
func (*GetGroupByNameResponse) GetUsers ¶
func (x *GetGroupByNameResponse) GetUsers() []*UserRecord
func (*GetGroupByNameResponse) ProtoMessage ¶
func (*GetGroupByNameResponse) ProtoMessage()
func (*GetGroupByNameResponse) ProtoReflect ¶
func (x *GetGroupByNameResponse) ProtoReflect() protoreflect.Message
func (*GetGroupByNameResponse) Reset ¶
func (x *GetGroupByNameResponse) Reset()
func (*GetGroupByNameResponse) String ¶
func (x *GetGroupByNameResponse) String() string
type GetGroupsRequest ¶
type GetGroupsRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
The GetGroupsRequest message represents a request to get an array of groups
func (*GetGroupsRequest) Descriptor
deprecated
func (*GetGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupsRequest.ProtoReflect.Descriptor instead.
func (*GetGroupsRequest) GetLimit ¶
func (x *GetGroupsRequest) GetLimit() int32
func (*GetGroupsRequest) GetOffset ¶
func (x *GetGroupsRequest) GetOffset() int32
func (*GetGroupsRequest) GetOrganizationId ¶
func (x *GetGroupsRequest) GetOrganizationId() int32
func (*GetGroupsRequest) ProtoMessage ¶
func (*GetGroupsRequest) ProtoMessage()
func (*GetGroupsRequest) ProtoReflect ¶
func (x *GetGroupsRequest) ProtoReflect() protoreflect.Message
func (*GetGroupsRequest) Reset ¶
func (x *GetGroupsRequest) Reset()
func (*GetGroupsRequest) String ¶
func (x *GetGroupsRequest) String() string
type GetGroupsResponse ¶
type GetGroupsResponse struct {
Groups []*GroupRecord `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// contains filtered or unexported fields
}
The GetGroupsResponse message represents a response with an array of groups
func (*GetGroupsResponse) Descriptor
deprecated
func (*GetGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupsResponse.ProtoReflect.Descriptor instead.
func (*GetGroupsResponse) GetGroups ¶
func (x *GetGroupsResponse) GetGroups() []*GroupRecord
func (*GetGroupsResponse) ProtoMessage ¶
func (*GetGroupsResponse) ProtoMessage()
func (*GetGroupsResponse) ProtoReflect ¶
func (x *GetGroupsResponse) ProtoReflect() protoreflect.Message
func (*GetGroupsResponse) Reset ¶
func (x *GetGroupsResponse) Reset()
func (*GetGroupsResponse) String ¶
func (x *GetGroupsResponse) String() string
type GetOrganizationByNameRequest ¶
type GetOrganizationByNameRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
get organization by name
func (*GetOrganizationByNameRequest) Descriptor
deprecated
func (*GetOrganizationByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationByNameRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationByNameRequest) GetName ¶
func (x *GetOrganizationByNameRequest) GetName() string
func (*GetOrganizationByNameRequest) ProtoMessage ¶
func (*GetOrganizationByNameRequest) ProtoMessage()
func (*GetOrganizationByNameRequest) ProtoReflect ¶
func (x *GetOrganizationByNameRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationByNameRequest) Reset ¶
func (x *GetOrganizationByNameRequest) Reset()
func (*GetOrganizationByNameRequest) String ¶
func (x *GetOrganizationByNameRequest) String() string
type GetOrganizationByNameResponse ¶
type GetOrganizationByNameResponse struct {
Organization *OrganizationRecord `protobuf:"bytes,1,opt,name=organization,proto3,oneof" json:"organization,omitempty"`
Groups []*GroupRecord `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
Users []*UserRecord `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrganizationByNameResponse) Descriptor
deprecated
func (*GetOrganizationByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationByNameResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationByNameResponse) GetGroups ¶
func (x *GetOrganizationByNameResponse) GetGroups() []*GroupRecord
func (*GetOrganizationByNameResponse) GetOrganization ¶
func (x *GetOrganizationByNameResponse) GetOrganization() *OrganizationRecord
func (*GetOrganizationByNameResponse) GetRoles ¶
func (x *GetOrganizationByNameResponse) GetRoles() []*RoleRecord
func (*GetOrganizationByNameResponse) GetUsers ¶
func (x *GetOrganizationByNameResponse) GetUsers() []*UserRecord
func (*GetOrganizationByNameResponse) ProtoMessage ¶
func (*GetOrganizationByNameResponse) ProtoMessage()
func (*GetOrganizationByNameResponse) ProtoReflect ¶
func (x *GetOrganizationByNameResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationByNameResponse) Reset ¶
func (x *GetOrganizationByNameResponse) Reset()
func (*GetOrganizationByNameResponse) String ¶
func (x *GetOrganizationByNameResponse) String() string
type GetOrganizationRequest ¶
type GetOrganizationRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
// contains filtered or unexported fields
}
get organization by id
func (*GetOrganizationRequest) Descriptor
deprecated
func (*GetOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationRequest) GetOrganizationId ¶
func (x *GetOrganizationRequest) GetOrganizationId() int32
func (*GetOrganizationRequest) ProtoMessage ¶
func (*GetOrganizationRequest) ProtoMessage()
func (*GetOrganizationRequest) ProtoReflect ¶
func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationRequest) Reset ¶
func (x *GetOrganizationRequest) Reset()
func (*GetOrganizationRequest) String ¶
func (x *GetOrganizationRequest) String() string
type GetOrganizationResponse ¶
type GetOrganizationResponse struct {
Organization *OrganizationRecord `protobuf:"bytes,1,opt,name=organization,proto3,oneof" json:"organization,omitempty"`
Groups []*GroupRecord `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
Users []*UserRecord `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrganizationResponse) Descriptor
deprecated
func (*GetOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationResponse) GetGroups ¶
func (x *GetOrganizationResponse) GetGroups() []*GroupRecord
func (*GetOrganizationResponse) GetOrganization ¶
func (x *GetOrganizationResponse) GetOrganization() *OrganizationRecord
func (*GetOrganizationResponse) GetRoles ¶
func (x *GetOrganizationResponse) GetRoles() []*RoleRecord
func (*GetOrganizationResponse) GetUsers ¶
func (x *GetOrganizationResponse) GetUsers() []*UserRecord
func (*GetOrganizationResponse) ProtoMessage ¶
func (*GetOrganizationResponse) ProtoMessage()
func (*GetOrganizationResponse) ProtoReflect ¶
func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationResponse) Reset ¶
func (x *GetOrganizationResponse) Reset()
func (*GetOrganizationResponse) String ¶
func (x *GetOrganizationResponse) String() string
type GetOrganizationsRequest ¶
type GetOrganizationsRequest struct {
Limit *int32 `protobuf:"varint,1,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
Offset *int32 `protobuf:"varint,2,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// contains filtered or unexported fields
}
list organizations
func (*GetOrganizationsRequest) Descriptor
deprecated
func (*GetOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationsRequest) GetLimit ¶
func (x *GetOrganizationsRequest) GetLimit() int32
func (*GetOrganizationsRequest) GetOffset ¶
func (x *GetOrganizationsRequest) GetOffset() int32
func (*GetOrganizationsRequest) ProtoMessage ¶
func (*GetOrganizationsRequest) ProtoMessage()
func (*GetOrganizationsRequest) ProtoReflect ¶
func (x *GetOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationsRequest) Reset ¶
func (x *GetOrganizationsRequest) Reset()
func (*GetOrganizationsRequest) String ¶
func (x *GetOrganizationsRequest) String() string
type GetOrganizationsResponse ¶
type GetOrganizationsResponse struct {
Organizations []*OrganizationRecord `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrganizationsResponse) Descriptor
deprecated
func (*GetOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationsResponse) GetOrganizations ¶
func (x *GetOrganizationsResponse) GetOrganizations() []*OrganizationRecord
func (*GetOrganizationsResponse) ProtoMessage ¶
func (*GetOrganizationsResponse) ProtoMessage()
func (*GetOrganizationsResponse) ProtoReflect ¶
func (x *GetOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationsResponse) Reset ¶
func (x *GetOrganizationsResponse) Reset()
func (*GetOrganizationsResponse) String ¶
func (x *GetOrganizationsResponse) String() string
type GetPolicyByIdRequest ¶
type GetPolicyByIdRequest struct {
// context is the context which contains the policies
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// id is the id of the policy to get
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
get policy by id
func (*GetPolicyByIdRequest) Descriptor
deprecated
func (*GetPolicyByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyByIdRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyByIdRequest) GetContext ¶
func (x *GetPolicyByIdRequest) GetContext() *Context
func (*GetPolicyByIdRequest) GetId ¶
func (x *GetPolicyByIdRequest) GetId() int32
func (*GetPolicyByIdRequest) ProtoMessage ¶
func (*GetPolicyByIdRequest) ProtoMessage()
func (*GetPolicyByIdRequest) ProtoReflect ¶
func (x *GetPolicyByIdRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyByIdRequest) Reset ¶
func (x *GetPolicyByIdRequest) Reset()
func (*GetPolicyByIdRequest) String ¶
func (x *GetPolicyByIdRequest) String() string
type GetPolicyByIdResponse ¶
type GetPolicyByIdResponse struct {
Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyByIdResponse) Descriptor
deprecated
func (*GetPolicyByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyByIdResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyByIdResponse) GetPolicy ¶
func (x *GetPolicyByIdResponse) GetPolicy() *Policy
func (*GetPolicyByIdResponse) ProtoMessage ¶
func (*GetPolicyByIdResponse) ProtoMessage()
func (*GetPolicyByIdResponse) ProtoReflect ¶
func (x *GetPolicyByIdResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyByIdResponse) Reset ¶
func (x *GetPolicyByIdResponse) Reset()
func (*GetPolicyByIdResponse) String ¶
func (x *GetPolicyByIdResponse) String() string
type GetPolicyStatusByGroupRequest ¶
type GetPolicyStatusByGroupRequest struct {
// context is the context in which the rule type is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyStatusByGroupRequest) Descriptor
deprecated
func (*GetPolicyStatusByGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyStatusByGroupRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyStatusByGroupRequest) GetContext ¶
func (x *GetPolicyStatusByGroupRequest) GetContext() *Context
func (*GetPolicyStatusByGroupRequest) ProtoMessage ¶
func (*GetPolicyStatusByGroupRequest) ProtoMessage()
func (*GetPolicyStatusByGroupRequest) ProtoReflect ¶
func (x *GetPolicyStatusByGroupRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyStatusByGroupRequest) Reset ¶
func (x *GetPolicyStatusByGroupRequest) Reset()
func (*GetPolicyStatusByGroupRequest) String ¶
func (x *GetPolicyStatusByGroupRequest) String() string
type GetPolicyStatusByGroupResponse ¶
type GetPolicyStatusByGroupResponse struct {
// policy_status is the status of the policy
PolicyStatus []*PolicyStatus `protobuf:"bytes,1,rep,name=policy_status,json=policyStatus,proto3" json:"policy_status,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyStatusByGroupResponse) Descriptor
deprecated
func (*GetPolicyStatusByGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyStatusByGroupResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyStatusByGroupResponse) GetPolicyStatus ¶
func (x *GetPolicyStatusByGroupResponse) GetPolicyStatus() []*PolicyStatus
func (*GetPolicyStatusByGroupResponse) ProtoMessage ¶
func (*GetPolicyStatusByGroupResponse) ProtoMessage()
func (*GetPolicyStatusByGroupResponse) ProtoReflect ¶
func (x *GetPolicyStatusByGroupResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyStatusByGroupResponse) Reset ¶
func (x *GetPolicyStatusByGroupResponse) Reset()
func (*GetPolicyStatusByGroupResponse) String ¶
func (x *GetPolicyStatusByGroupResponse) String() string
type GetPolicyStatusByIdRequest ¶
type GetPolicyStatusByIdRequest struct {
// context is the context in which the rule type is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// policy_id is the id of the policy to get
PolicyId int32 `protobuf:"varint,2,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
// Types that are assignable to EntitySelector:
//
// *GetPolicyStatusByIdRequest_Entity
// *GetPolicyStatusByIdRequest_All
EntitySelector isGetPolicyStatusByIdRequest_EntitySelector `protobuf_oneof:"entity_selector"`
// contains filtered or unexported fields
}
func (*GetPolicyStatusByIdRequest) Descriptor
deprecated
func (*GetPolicyStatusByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyStatusByIdRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyStatusByIdRequest) GetAll ¶
func (x *GetPolicyStatusByIdRequest) GetAll() bool
func (*GetPolicyStatusByIdRequest) GetContext ¶
func (x *GetPolicyStatusByIdRequest) GetContext() *Context
func (*GetPolicyStatusByIdRequest) GetEntity ¶
func (x *GetPolicyStatusByIdRequest) GetEntity() *GetPolicyStatusByIdRequest_EntityTypedId
func (*GetPolicyStatusByIdRequest) GetEntitySelector ¶
func (m *GetPolicyStatusByIdRequest) GetEntitySelector() isGetPolicyStatusByIdRequest_EntitySelector
func (*GetPolicyStatusByIdRequest) GetPolicyId ¶
func (x *GetPolicyStatusByIdRequest) GetPolicyId() int32
func (*GetPolicyStatusByIdRequest) ProtoMessage ¶
func (*GetPolicyStatusByIdRequest) ProtoMessage()
func (*GetPolicyStatusByIdRequest) ProtoReflect ¶
func (x *GetPolicyStatusByIdRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyStatusByIdRequest) Reset ¶
func (x *GetPolicyStatusByIdRequest) Reset()
func (*GetPolicyStatusByIdRequest) String ¶
func (x *GetPolicyStatusByIdRequest) String() string
type GetPolicyStatusByIdRequest_All ¶
type GetPolicyStatusByIdRequest_All struct {
All bool `protobuf:"varint,4,opt,name=all,proto3,oneof"`
}
type GetPolicyStatusByIdRequest_Entity ¶
type GetPolicyStatusByIdRequest_Entity struct {
Entity *GetPolicyStatusByIdRequest_EntityTypedId `protobuf:"bytes,3,opt,name=entity,proto3,oneof"`
}
type GetPolicyStatusByIdRequest_EntityTypedId ¶
type GetPolicyStatusByIdRequest_EntityTypedId struct {
// entity is the entity to get status for. Incompatible with `all`
Type Entity `protobuf:"varint,1,opt,name=type,proto3,enum=mediator.v1.Entity" json:"type,omitempty"`
// repo_id is the id of the repo to get status for. Incompatible with `all`
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
EntiryTypeId is a message that carries an ID together with a type to uniquely identify an entity such as (repo, 1), (artifact, 2), ... if the struct is reused in other messages, it should be moved to a top-level definition
func (*GetPolicyStatusByIdRequest_EntityTypedId) Descriptor
deprecated
func (*GetPolicyStatusByIdRequest_EntityTypedId) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyStatusByIdRequest_EntityTypedId.ProtoReflect.Descriptor instead.
func (*GetPolicyStatusByIdRequest_EntityTypedId) GetId ¶
func (x *GetPolicyStatusByIdRequest_EntityTypedId) GetId() int32
func (*GetPolicyStatusByIdRequest_EntityTypedId) GetType ¶
func (x *GetPolicyStatusByIdRequest_EntityTypedId) GetType() Entity
func (*GetPolicyStatusByIdRequest_EntityTypedId) ProtoMessage ¶
func (*GetPolicyStatusByIdRequest_EntityTypedId) ProtoMessage()
func (*GetPolicyStatusByIdRequest_EntityTypedId) ProtoReflect ¶
func (x *GetPolicyStatusByIdRequest_EntityTypedId) ProtoReflect() protoreflect.Message
func (*GetPolicyStatusByIdRequest_EntityTypedId) Reset ¶
func (x *GetPolicyStatusByIdRequest_EntityTypedId) Reset()
func (*GetPolicyStatusByIdRequest_EntityTypedId) String ¶
func (x *GetPolicyStatusByIdRequest_EntityTypedId) String() string
type GetPolicyStatusByIdResponse ¶
type GetPolicyStatusByIdResponse struct {
// policy_status is the status of the policy
PolicyStatus *PolicyStatus `protobuf:"bytes,1,opt,name=policy_status,json=policyStatus,proto3" json:"policy_status,omitempty"`
// rule_evaluation_status is the status of the rules
RuleEvaluationStatus []*RuleEvaluationStatus `protobuf:"bytes,2,rep,name=rule_evaluation_status,json=ruleEvaluationStatus,proto3" json:"rule_evaluation_status,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyStatusByIdResponse) Descriptor
deprecated
func (*GetPolicyStatusByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyStatusByIdResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyStatusByIdResponse) GetPolicyStatus ¶
func (x *GetPolicyStatusByIdResponse) GetPolicyStatus() *PolicyStatus
func (*GetPolicyStatusByIdResponse) GetRuleEvaluationStatus ¶
func (x *GetPolicyStatusByIdResponse) GetRuleEvaluationStatus() []*RuleEvaluationStatus
func (*GetPolicyStatusByIdResponse) ProtoMessage ¶
func (*GetPolicyStatusByIdResponse) ProtoMessage()
func (*GetPolicyStatusByIdResponse) ProtoReflect ¶
func (x *GetPolicyStatusByIdResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyStatusByIdResponse) Reset ¶
func (x *GetPolicyStatusByIdResponse) Reset()
func (*GetPolicyStatusByIdResponse) String ¶
func (x *GetPolicyStatusByIdResponse) String() string
type GetPublicKeyRequest ¶
type GetPublicKeyRequest struct {
KeyIdentifier string `protobuf:"bytes,1,opt,name=key_identifier,json=keyIdentifier,proto3" json:"key_identifier,omitempty"`
// contains filtered or unexported fields
}
func (*GetPublicKeyRequest) Descriptor
deprecated
func (*GetPublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*GetPublicKeyRequest) GetKeyIdentifier ¶
func (x *GetPublicKeyRequest) GetKeyIdentifier() string
func (*GetPublicKeyRequest) ProtoMessage ¶
func (*GetPublicKeyRequest) ProtoMessage()
func (*GetPublicKeyRequest) ProtoReflect ¶
func (x *GetPublicKeyRequest) ProtoReflect() protoreflect.Message
func (*GetPublicKeyRequest) Reset ¶
func (x *GetPublicKeyRequest) Reset()
func (*GetPublicKeyRequest) String ¶
func (x *GetPublicKeyRequest) String() string
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct {
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}
func (*GetPublicKeyResponse) Descriptor
deprecated
func (*GetPublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*GetPublicKeyResponse) GetPublicKey ¶
func (x *GetPublicKeyResponse) GetPublicKey() string
func (*GetPublicKeyResponse) ProtoMessage ¶
func (*GetPublicKeyResponse) ProtoMessage()
func (*GetPublicKeyResponse) ProtoReflect ¶
func (x *GetPublicKeyResponse) ProtoReflect() protoreflect.Message
func (*GetPublicKeyResponse) Reset ¶
func (x *GetPublicKeyResponse) Reset()
func (*GetPublicKeyResponse) String ¶
func (x *GetPublicKeyResponse) String() string
type GetRepositoryByIdRequest ¶
type GetRepositoryByIdRequest struct {
RepositoryId int32 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetRepositoryByIdRequest) Descriptor
deprecated
func (*GetRepositoryByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryByIdRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryByIdRequest) GetRepositoryId ¶
func (x *GetRepositoryByIdRequest) GetRepositoryId() int32
func (*GetRepositoryByIdRequest) ProtoMessage ¶
func (*GetRepositoryByIdRequest) ProtoMessage()
func (*GetRepositoryByIdRequest) ProtoReflect ¶
func (x *GetRepositoryByIdRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryByIdRequest) Reset ¶
func (x *GetRepositoryByIdRequest) Reset()
func (*GetRepositoryByIdRequest) String ¶
func (x *GetRepositoryByIdRequest) String() string
type GetRepositoryByIdResponse ¶
type GetRepositoryByIdResponse struct {
Repository *RepositoryRecord `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// contains filtered or unexported fields
}
func (*GetRepositoryByIdResponse) Descriptor
deprecated
func (*GetRepositoryByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryByIdResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryByIdResponse) GetRepository ¶
func (x *GetRepositoryByIdResponse) GetRepository() *RepositoryRecord
func (*GetRepositoryByIdResponse) ProtoMessage ¶
func (*GetRepositoryByIdResponse) ProtoMessage()
func (*GetRepositoryByIdResponse) ProtoReflect ¶
func (x *GetRepositoryByIdResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryByIdResponse) Reset ¶
func (x *GetRepositoryByIdResponse) Reset()
func (*GetRepositoryByIdResponse) String ¶
func (x *GetRepositoryByIdResponse) String() string
type GetRepositoryByNameRequest ¶
type GetRepositoryByNameRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetRepositoryByNameRequest) Descriptor
deprecated
func (*GetRepositoryByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryByNameRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryByNameRequest) GetName ¶
func (x *GetRepositoryByNameRequest) GetName() string
func (*GetRepositoryByNameRequest) GetProvider ¶
func (x *GetRepositoryByNameRequest) GetProvider() string
func (*GetRepositoryByNameRequest) ProtoMessage ¶
func (*GetRepositoryByNameRequest) ProtoMessage()
func (*GetRepositoryByNameRequest) ProtoReflect ¶
func (x *GetRepositoryByNameRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryByNameRequest) Reset ¶
func (x *GetRepositoryByNameRequest) Reset()
func (*GetRepositoryByNameRequest) String ¶
func (x *GetRepositoryByNameRequest) String() string
type GetRepositoryByNameResponse ¶
type GetRepositoryByNameResponse struct {
Repository *RepositoryRecord `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// contains filtered or unexported fields
}
func (*GetRepositoryByNameResponse) Descriptor
deprecated
func (*GetRepositoryByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryByNameResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryByNameResponse) GetRepository ¶
func (x *GetRepositoryByNameResponse) GetRepository() *RepositoryRecord
func (*GetRepositoryByNameResponse) ProtoMessage ¶
func (*GetRepositoryByNameResponse) ProtoMessage()
func (*GetRepositoryByNameResponse) ProtoReflect ¶
func (x *GetRepositoryByNameResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryByNameResponse) Reset ¶
func (x *GetRepositoryByNameResponse) Reset()
func (*GetRepositoryByNameResponse) String ¶
func (x *GetRepositoryByNameResponse) String() string
type GetRoleByIdRequest ¶
type GetRoleByIdRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
get role by id
func (*GetRoleByIdRequest) Descriptor
deprecated
func (*GetRoleByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleByIdRequest.ProtoReflect.Descriptor instead.
func (*GetRoleByIdRequest) GetId ¶
func (x *GetRoleByIdRequest) GetId() int32
func (*GetRoleByIdRequest) ProtoMessage ¶
func (*GetRoleByIdRequest) ProtoMessage()
func (*GetRoleByIdRequest) ProtoReflect ¶
func (x *GetRoleByIdRequest) ProtoReflect() protoreflect.Message
func (*GetRoleByIdRequest) Reset ¶
func (x *GetRoleByIdRequest) Reset()
func (*GetRoleByIdRequest) String ¶
func (x *GetRoleByIdRequest) String() string
type GetRoleByIdResponse ¶
type GetRoleByIdResponse struct {
Role *RoleRecord `protobuf:"bytes,1,opt,name=role,proto3,oneof" json:"role,omitempty"`
// contains filtered or unexported fields
}
func (*GetRoleByIdResponse) Descriptor
deprecated
func (*GetRoleByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleByIdResponse.ProtoReflect.Descriptor instead.
func (*GetRoleByIdResponse) GetRole ¶
func (x *GetRoleByIdResponse) GetRole() *RoleRecord
func (*GetRoleByIdResponse) ProtoMessage ¶
func (*GetRoleByIdResponse) ProtoMessage()
func (*GetRoleByIdResponse) ProtoReflect ¶
func (x *GetRoleByIdResponse) ProtoReflect() protoreflect.Message
func (*GetRoleByIdResponse) Reset ¶
func (x *GetRoleByIdResponse) Reset()
func (*GetRoleByIdResponse) String ¶
func (x *GetRoleByIdResponse) String() string
type GetRoleByNameRequest ¶
type GetRoleByNameRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
get role by group and name
func (*GetRoleByNameRequest) Descriptor
deprecated
func (*GetRoleByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleByNameRequest.ProtoReflect.Descriptor instead.
func (*GetRoleByNameRequest) GetName ¶
func (x *GetRoleByNameRequest) GetName() string
func (*GetRoleByNameRequest) GetOrganizationId ¶
func (x *GetRoleByNameRequest) GetOrganizationId() int32
func (*GetRoleByNameRequest) ProtoMessage ¶
func (*GetRoleByNameRequest) ProtoMessage()
func (*GetRoleByNameRequest) ProtoReflect ¶
func (x *GetRoleByNameRequest) ProtoReflect() protoreflect.Message
func (*GetRoleByNameRequest) Reset ¶
func (x *GetRoleByNameRequest) Reset()
func (*GetRoleByNameRequest) String ¶
func (x *GetRoleByNameRequest) String() string
type GetRoleByNameResponse ¶
type GetRoleByNameResponse struct {
Role *RoleRecord `protobuf:"bytes,1,opt,name=role,proto3,oneof" json:"role,omitempty"`
// contains filtered or unexported fields
}
func (*GetRoleByNameResponse) Descriptor
deprecated
func (*GetRoleByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleByNameResponse.ProtoReflect.Descriptor instead.
func (*GetRoleByNameResponse) GetRole ¶
func (x *GetRoleByNameResponse) GetRole() *RoleRecord
func (*GetRoleByNameResponse) ProtoMessage ¶
func (*GetRoleByNameResponse) ProtoMessage()
func (*GetRoleByNameResponse) ProtoReflect ¶
func (x *GetRoleByNameResponse) ProtoReflect() protoreflect.Message
func (*GetRoleByNameResponse) Reset ¶
func (x *GetRoleByNameResponse) Reset()
func (*GetRoleByNameResponse) String ¶
func (x *GetRoleByNameResponse) String() string
type GetRolesByGroupRequest ¶
type GetRolesByGroupRequest struct {
GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
Offset *int32 `protobuf:"varint,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*GetRolesByGroupRequest) Descriptor
deprecated
func (*GetRolesByGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesByGroupRequest.ProtoReflect.Descriptor instead.
func (*GetRolesByGroupRequest) GetGroupId ¶
func (x *GetRolesByGroupRequest) GetGroupId() int32
func (*GetRolesByGroupRequest) GetLimit ¶
func (x *GetRolesByGroupRequest) GetLimit() int32
func (*GetRolesByGroupRequest) GetOffset ¶
func (x *GetRolesByGroupRequest) GetOffset() int32
func (*GetRolesByGroupRequest) ProtoMessage ¶
func (*GetRolesByGroupRequest) ProtoMessage()
func (*GetRolesByGroupRequest) ProtoReflect ¶
func (x *GetRolesByGroupRequest) ProtoReflect() protoreflect.Message
func (*GetRolesByGroupRequest) Reset ¶
func (x *GetRolesByGroupRequest) Reset()
func (*GetRolesByGroupRequest) String ¶
func (x *GetRolesByGroupRequest) String() string
type GetRolesByGroupResponse ¶
type GetRolesByGroupResponse struct {
Roles []*RoleRecord `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*GetRolesByGroupResponse) Descriptor
deprecated
func (*GetRolesByGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesByGroupResponse.ProtoReflect.Descriptor instead.
func (*GetRolesByGroupResponse) GetRoles ¶
func (x *GetRolesByGroupResponse) GetRoles() []*RoleRecord
func (*GetRolesByGroupResponse) ProtoMessage ¶
func (*GetRolesByGroupResponse) ProtoMessage()
func (*GetRolesByGroupResponse) ProtoReflect ¶
func (x *GetRolesByGroupResponse) ProtoReflect() protoreflect.Message
func (*GetRolesByGroupResponse) Reset ¶
func (x *GetRolesByGroupResponse) Reset()
func (*GetRolesByGroupResponse) String ¶
func (x *GetRolesByGroupResponse) String() string
type GetRolesRequest ¶
type GetRolesRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
Offset *int32 `protobuf:"varint,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// contains filtered or unexported fields
}
list roles
func (*GetRolesRequest) Descriptor
deprecated
func (*GetRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead.
func (*GetRolesRequest) GetLimit ¶
func (x *GetRolesRequest) GetLimit() int32
func (*GetRolesRequest) GetOffset ¶
func (x *GetRolesRequest) GetOffset() int32
func (*GetRolesRequest) GetOrganizationId ¶
func (x *GetRolesRequest) GetOrganizationId() int32
func (*GetRolesRequest) ProtoMessage ¶
func (*GetRolesRequest) ProtoMessage()
func (*GetRolesRequest) ProtoReflect ¶
func (x *GetRolesRequest) ProtoReflect() protoreflect.Message
func (*GetRolesRequest) Reset ¶
func (x *GetRolesRequest) Reset()
func (*GetRolesRequest) String ¶
func (x *GetRolesRequest) String() string
type GetRolesResponse ¶
type GetRolesResponse struct {
Roles []*RoleRecord `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*GetRolesResponse) Descriptor
deprecated
func (*GetRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRolesResponse.ProtoReflect.Descriptor instead.
func (*GetRolesResponse) GetRoles ¶
func (x *GetRolesResponse) GetRoles() []*RoleRecord
func (*GetRolesResponse) ProtoMessage ¶
func (*GetRolesResponse) ProtoMessage()
func (*GetRolesResponse) ProtoReflect ¶
func (x *GetRolesResponse) ProtoReflect() protoreflect.Message
func (*GetRolesResponse) Reset ¶
func (x *GetRolesResponse) Reset()
func (*GetRolesResponse) String ¶
func (x *GetRolesResponse) String() string
type GetRuleTypeByIdRequest ¶
type GetRuleTypeByIdRequest struct {
// context is the context in which the rule type is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// id is the id of the rule type.
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
GetRuleTypeByIdRequest is the request to get a rule type by id.
func (*GetRuleTypeByIdRequest) Descriptor
deprecated
func (*GetRuleTypeByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleTypeByIdRequest.ProtoReflect.Descriptor instead.
func (*GetRuleTypeByIdRequest) GetContext ¶
func (x *GetRuleTypeByIdRequest) GetContext() *Context
func (*GetRuleTypeByIdRequest) GetId ¶
func (x *GetRuleTypeByIdRequest) GetId() int32
func (*GetRuleTypeByIdRequest) ProtoMessage ¶
func (*GetRuleTypeByIdRequest) ProtoMessage()
func (*GetRuleTypeByIdRequest) ProtoReflect ¶
func (x *GetRuleTypeByIdRequest) ProtoReflect() protoreflect.Message
func (*GetRuleTypeByIdRequest) Reset ¶
func (x *GetRuleTypeByIdRequest) Reset()
func (*GetRuleTypeByIdRequest) String ¶
func (x *GetRuleTypeByIdRequest) String() string
type GetRuleTypeByIdResponse ¶
type GetRuleTypeByIdResponse struct {
// rule_type is the rule type.
RuleType *RuleType `protobuf:"bytes,1,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// contains filtered or unexported fields
}
GetRuleTypeByIdResponse is the response to get a rule type by id.
func (*GetRuleTypeByIdResponse) Descriptor
deprecated
func (*GetRuleTypeByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleTypeByIdResponse.ProtoReflect.Descriptor instead.
func (*GetRuleTypeByIdResponse) GetRuleType ¶
func (x *GetRuleTypeByIdResponse) GetRuleType() *RuleType
func (*GetRuleTypeByIdResponse) ProtoMessage ¶
func (*GetRuleTypeByIdResponse) ProtoMessage()
func (*GetRuleTypeByIdResponse) ProtoReflect ¶
func (x *GetRuleTypeByIdResponse) ProtoReflect() protoreflect.Message
func (*GetRuleTypeByIdResponse) Reset ¶
func (x *GetRuleTypeByIdResponse) Reset()
func (*GetRuleTypeByIdResponse) String ¶
func (x *GetRuleTypeByIdResponse) String() string
type GetRuleTypeByNameRequest ¶
type GetRuleTypeByNameRequest struct {
// context is the context in which the rule type is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// name is the name of the rule type.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetRuleTypeByNameRequest is the request to get a rule type by name.
func (*GetRuleTypeByNameRequest) Descriptor
deprecated
func (*GetRuleTypeByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleTypeByNameRequest.ProtoReflect.Descriptor instead.
func (*GetRuleTypeByNameRequest) GetContext ¶
func (x *GetRuleTypeByNameRequest) GetContext() *Context
func (*GetRuleTypeByNameRequest) GetName ¶
func (x *GetRuleTypeByNameRequest) GetName() string
func (*GetRuleTypeByNameRequest) ProtoMessage ¶
func (*GetRuleTypeByNameRequest) ProtoMessage()
func (*GetRuleTypeByNameRequest) ProtoReflect ¶
func (x *GetRuleTypeByNameRequest) ProtoReflect() protoreflect.Message
func (*GetRuleTypeByNameRequest) Reset ¶
func (x *GetRuleTypeByNameRequest) Reset()
func (*GetRuleTypeByNameRequest) String ¶
func (x *GetRuleTypeByNameRequest) String() string
type GetRuleTypeByNameResponse ¶
type GetRuleTypeByNameResponse struct {
// rule_type is the rule type.
RuleType *RuleType `protobuf:"bytes,1,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// contains filtered or unexported fields
}
GetRuleTypeByNameResponse is the response to get a rule type by name.
func (*GetRuleTypeByNameResponse) Descriptor
deprecated
func (*GetRuleTypeByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleTypeByNameResponse.ProtoReflect.Descriptor instead.
func (*GetRuleTypeByNameResponse) GetRuleType ¶
func (x *GetRuleTypeByNameResponse) GetRuleType() *RuleType
func (*GetRuleTypeByNameResponse) ProtoMessage ¶
func (*GetRuleTypeByNameResponse) ProtoMessage()
func (*GetRuleTypeByNameResponse) ProtoReflect ¶
func (x *GetRuleTypeByNameResponse) ProtoReflect() protoreflect.Message
func (*GetRuleTypeByNameResponse) Reset ¶
func (x *GetRuleTypeByNameResponse) Reset()
func (*GetRuleTypeByNameResponse) String ¶
func (x *GetRuleTypeByNameResponse) String() string
type GetSecretByIdRequest ¶
type GetSecretByIdRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSecretByIdRequest) Descriptor
deprecated
func (*GetSecretByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretByIdRequest.ProtoReflect.Descriptor instead.
func (*GetSecretByIdRequest) GetId ¶
func (x *GetSecretByIdRequest) GetId() string
func (*GetSecretByIdRequest) ProtoMessage ¶
func (*GetSecretByIdRequest) ProtoMessage()
func (*GetSecretByIdRequest) ProtoReflect ¶
func (x *GetSecretByIdRequest) ProtoReflect() protoreflect.Message
func (*GetSecretByIdRequest) Reset ¶
func (x *GetSecretByIdRequest) Reset()
func (*GetSecretByIdRequest) String ¶
func (x *GetSecretByIdRequest) String() string
type GetSecretByIdResponse ¶
type GetSecretByIdResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Add other relevant fields
// contains filtered or unexported fields
}
func (*GetSecretByIdResponse) Descriptor
deprecated
func (*GetSecretByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretByIdResponse.ProtoReflect.Descriptor instead.
func (*GetSecretByIdResponse) GetDescription ¶
func (x *GetSecretByIdResponse) GetDescription() string
func (*GetSecretByIdResponse) GetId ¶
func (x *GetSecretByIdResponse) GetId() string
func (*GetSecretByIdResponse) GetName ¶
func (x *GetSecretByIdResponse) GetName() string
func (*GetSecretByIdResponse) ProtoMessage ¶
func (*GetSecretByIdResponse) ProtoMessage()
func (*GetSecretByIdResponse) ProtoReflect ¶
func (x *GetSecretByIdResponse) ProtoReflect() protoreflect.Message
func (*GetSecretByIdResponse) Reset ¶
func (x *GetSecretByIdResponse) Reset()
func (*GetSecretByIdResponse) String ¶
func (x *GetSecretByIdResponse) String() string
type GetSecretsRequest ¶
type GetSecretsRequest struct {
// contains filtered or unexported fields
}
func (*GetSecretsRequest) Descriptor
deprecated
func (*GetSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsRequest.ProtoReflect.Descriptor instead.
func (*GetSecretsRequest) ProtoMessage ¶
func (*GetSecretsRequest) ProtoMessage()
func (*GetSecretsRequest) ProtoReflect ¶
func (x *GetSecretsRequest) ProtoReflect() protoreflect.Message
func (*GetSecretsRequest) Reset ¶
func (x *GetSecretsRequest) Reset()
func (*GetSecretsRequest) String ¶
func (x *GetSecretsRequest) String() string
type GetSecretsResponse ¶
type GetSecretsResponse struct {
Secrets []*GetSecretByIdResponse `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
// contains filtered or unexported fields
}
func (*GetSecretsResponse) Descriptor
deprecated
func (*GetSecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretsResponse.ProtoReflect.Descriptor instead.
func (*GetSecretsResponse) GetSecrets ¶
func (x *GetSecretsResponse) GetSecrets() []*GetSecretByIdResponse
func (*GetSecretsResponse) ProtoMessage ¶
func (*GetSecretsResponse) ProtoMessage()
func (*GetSecretsResponse) ProtoReflect ¶
func (x *GetSecretsResponse) ProtoReflect() protoreflect.Message
func (*GetSecretsResponse) Reset ¶
func (x *GetSecretsResponse) Reset()
func (*GetSecretsResponse) String ¶
func (x *GetSecretsResponse) String() string
type GetUserByEmailRequest ¶
type GetUserByEmailRequest struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
get user by email
func (*GetUserByEmailRequest) Descriptor
deprecated
func (*GetUserByEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByEmailRequest.ProtoReflect.Descriptor instead.
func (*GetUserByEmailRequest) GetEmail ¶
func (x *GetUserByEmailRequest) GetEmail() string
func (*GetUserByEmailRequest) ProtoMessage ¶
func (*GetUserByEmailRequest) ProtoMessage()
func (*GetUserByEmailRequest) ProtoReflect ¶
func (x *GetUserByEmailRequest) ProtoReflect() protoreflect.Message
func (*GetUserByEmailRequest) Reset ¶
func (x *GetUserByEmailRequest) Reset()
func (*GetUserByEmailRequest) String ¶
func (x *GetUserByEmailRequest) String() string
type GetUserByEmailResponse ¶
type GetUserByEmailResponse struct {
User *UserRecord `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
Groups []*GroupRecord `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserByEmailResponse) Descriptor
deprecated
func (*GetUserByEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByEmailResponse.ProtoReflect.Descriptor instead.
func (*GetUserByEmailResponse) GetGroups ¶
func (x *GetUserByEmailResponse) GetGroups() []*GroupRecord
func (*GetUserByEmailResponse) GetRoles ¶
func (x *GetUserByEmailResponse) GetRoles() []*RoleRecord
func (*GetUserByEmailResponse) GetUser ¶
func (x *GetUserByEmailResponse) GetUser() *UserRecord
func (*GetUserByEmailResponse) ProtoMessage ¶
func (*GetUserByEmailResponse) ProtoMessage()
func (*GetUserByEmailResponse) ProtoReflect ¶
func (x *GetUserByEmailResponse) ProtoReflect() protoreflect.Message
func (*GetUserByEmailResponse) Reset ¶
func (x *GetUserByEmailResponse) Reset()
func (*GetUserByEmailResponse) String ¶
func (x *GetUserByEmailResponse) String() string
type GetUserByIdRequest ¶
type GetUserByIdRequest struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
get user by id
func (*GetUserByIdRequest) Descriptor
deprecated
func (*GetUserByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIdRequest.ProtoReflect.Descriptor instead.
func (*GetUserByIdRequest) GetId ¶
func (x *GetUserByIdRequest) GetId() int32
func (*GetUserByIdRequest) ProtoMessage ¶
func (*GetUserByIdRequest) ProtoMessage()
func (*GetUserByIdRequest) ProtoReflect ¶
func (x *GetUserByIdRequest) ProtoReflect() protoreflect.Message
func (*GetUserByIdRequest) Reset ¶
func (x *GetUserByIdRequest) Reset()
func (*GetUserByIdRequest) String ¶
func (x *GetUserByIdRequest) String() string
type GetUserByIdResponse ¶
type GetUserByIdResponse struct {
User *UserRecord `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
Groups []*GroupRecord `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserByIdResponse) Descriptor
deprecated
func (*GetUserByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIdResponse.ProtoReflect.Descriptor instead.
func (*GetUserByIdResponse) GetGroups ¶
func (x *GetUserByIdResponse) GetGroups() []*GroupRecord
func (*GetUserByIdResponse) GetRoles ¶
func (x *GetUserByIdResponse) GetRoles() []*RoleRecord
func (*GetUserByIdResponse) GetUser ¶
func (x *GetUserByIdResponse) GetUser() *UserRecord
func (*GetUserByIdResponse) ProtoMessage ¶
func (*GetUserByIdResponse) ProtoMessage()
func (*GetUserByIdResponse) ProtoReflect ¶
func (x *GetUserByIdResponse) ProtoReflect() protoreflect.Message
func (*GetUserByIdResponse) Reset ¶
func (x *GetUserByIdResponse) Reset()
func (*GetUserByIdResponse) String ¶
func (x *GetUserByIdResponse) String() string
type GetUserByUserNameRequest ¶
type GetUserByUserNameRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
get user by username
func (*GetUserByUserNameRequest) Descriptor
deprecated
func (*GetUserByUserNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUserNameRequest.ProtoReflect.Descriptor instead.
func (*GetUserByUserNameRequest) GetUsername ¶
func (x *GetUserByUserNameRequest) GetUsername() string
func (*GetUserByUserNameRequest) ProtoMessage ¶
func (*GetUserByUserNameRequest) ProtoMessage()
func (*GetUserByUserNameRequest) ProtoReflect ¶
func (x *GetUserByUserNameRequest) ProtoReflect() protoreflect.Message
func (*GetUserByUserNameRequest) Reset ¶
func (x *GetUserByUserNameRequest) Reset()
func (*GetUserByUserNameRequest) String ¶
func (x *GetUserByUserNameRequest) String() string
type GetUserByUserNameResponse ¶
type GetUserByUserNameResponse struct {
User *UserRecord `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
Groups []*GroupRecord `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserByUserNameResponse) Descriptor
deprecated
func (*GetUserByUserNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUserNameResponse.ProtoReflect.Descriptor instead.
func (*GetUserByUserNameResponse) GetGroups ¶
func (x *GetUserByUserNameResponse) GetGroups() []*GroupRecord
func (*GetUserByUserNameResponse) GetRoles ¶
func (x *GetUserByUserNameResponse) GetRoles() []*RoleRecord
func (*GetUserByUserNameResponse) GetUser ¶
func (x *GetUserByUserNameResponse) GetUser() *UserRecord
func (*GetUserByUserNameResponse) ProtoMessage ¶
func (*GetUserByUserNameResponse) ProtoMessage()
func (*GetUserByUserNameResponse) ProtoReflect ¶
func (x *GetUserByUserNameResponse) ProtoReflect() protoreflect.Message
func (*GetUserByUserNameResponse) Reset ¶
func (x *GetUserByUserNameResponse) Reset()
func (*GetUserByUserNameResponse) String ¶
func (x *GetUserByUserNameResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct {
// contains filtered or unexported fields
}
get user
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct {
User *UserRecord `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
Groups []*GroupRecord `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
Roles []*RoleRecord `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetGroups ¶
func (x *GetUserResponse) GetGroups() []*GroupRecord
func (*GetUserResponse) GetRoles ¶
func (x *GetUserResponse) GetRoles() []*RoleRecord
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *UserRecord
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUsersByGroupRequest ¶
type GetUsersByGroupRequest struct {
GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
Offset *int32 `protobuf:"varint,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersByGroupRequest) Descriptor
deprecated
func (*GetUsersByGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersByGroupRequest.ProtoReflect.Descriptor instead.
func (*GetUsersByGroupRequest) GetGroupId ¶
func (x *GetUsersByGroupRequest) GetGroupId() int32
func (*GetUsersByGroupRequest) GetLimit ¶
func (x *GetUsersByGroupRequest) GetLimit() int32
func (*GetUsersByGroupRequest) GetOffset ¶
func (x *GetUsersByGroupRequest) GetOffset() int32
func (*GetUsersByGroupRequest) ProtoMessage ¶
func (*GetUsersByGroupRequest) ProtoMessage()
func (*GetUsersByGroupRequest) ProtoReflect ¶
func (x *GetUsersByGroupRequest) ProtoReflect() protoreflect.Message
func (*GetUsersByGroupRequest) Reset ¶
func (x *GetUsersByGroupRequest) Reset()
func (*GetUsersByGroupRequest) String ¶
func (x *GetUsersByGroupRequest) String() string
type GetUsersByGroupResponse ¶
type GetUsersByGroupResponse struct {
Users []*UserRecord `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersByGroupResponse) Descriptor
deprecated
func (*GetUsersByGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersByGroupResponse.ProtoReflect.Descriptor instead.
func (*GetUsersByGroupResponse) GetUsers ¶
func (x *GetUsersByGroupResponse) GetUsers() []*UserRecord
func (*GetUsersByGroupResponse) ProtoMessage ¶
func (*GetUsersByGroupResponse) ProtoMessage()
func (*GetUsersByGroupResponse) ProtoReflect ¶
func (x *GetUsersByGroupResponse) ProtoReflect() protoreflect.Message
func (*GetUsersByGroupResponse) Reset ¶
func (x *GetUsersByGroupResponse) Reset()
func (*GetUsersByGroupResponse) String ¶
func (x *GetUsersByGroupResponse) String() string
type GetUsersByOrganizationRequest ¶
type GetUsersByOrganizationRequest struct {
OrganizationId int32 `protobuf:"varint,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
Offset *int32 `protobuf:"varint,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersByOrganizationRequest) Descriptor
deprecated
func (*GetUsersByOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersByOrganizationRequest.ProtoReflect.Descriptor instead.
func (*GetUsersByOrganizationRequest) GetLimit ¶
func (x *GetUsersByOrganizationRequest) GetLimit() int32
func (*GetUsersByOrganizationRequest) GetOffset ¶
func (x *GetUsersByOrganizationRequest) GetOffset() int32
func (*GetUsersByOrganizationRequest) GetOrganizationId ¶
func (x *GetUsersByOrganizationRequest) GetOrganizationId() int32
func (*GetUsersByOrganizationRequest) ProtoMessage ¶
func (*GetUsersByOrganizationRequest) ProtoMessage()
func (*GetUsersByOrganizationRequest) ProtoReflect ¶
func (x *GetUsersByOrganizationRequest) ProtoReflect() protoreflect.Message
func (*GetUsersByOrganizationRequest) Reset ¶
func (x *GetUsersByOrganizationRequest) Reset()
func (*GetUsersByOrganizationRequest) String ¶
func (x *GetUsersByOrganizationRequest) String() string
type GetUsersByOrganizationResponse ¶
type GetUsersByOrganizationResponse struct {
Users []*UserRecord `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersByOrganizationResponse) Descriptor
deprecated
func (*GetUsersByOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersByOrganizationResponse.ProtoReflect.Descriptor instead.
func (*GetUsersByOrganizationResponse) GetUsers ¶
func (x *GetUsersByOrganizationResponse) GetUsers() []*UserRecord
func (*GetUsersByOrganizationResponse) ProtoMessage ¶
func (*GetUsersByOrganizationResponse) ProtoMessage()
func (*GetUsersByOrganizationResponse) ProtoReflect ¶
func (x *GetUsersByOrganizationResponse) ProtoReflect() protoreflect.Message
func (*GetUsersByOrganizationResponse) Reset ¶
func (x *GetUsersByOrganizationResponse) Reset()
func (*GetUsersByOrganizationResponse) String ¶
func (x *GetUsersByOrganizationResponse) String() string
type GetUsersRequest ¶
type GetUsersRequest struct {
Limit *int32 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
Offset *int32 `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// contains filtered or unexported fields
}
list users
func (*GetUsersRequest) Descriptor
deprecated
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
func (*GetUsersRequest) GetLimit ¶
func (x *GetUsersRequest) GetLimit() int32
func (*GetUsersRequest) GetOffset ¶
func (x *GetUsersRequest) GetOffset() int32
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶
func (x *GetUsersRequest) String() string
type GetUsersResponse ¶
type GetUsersResponse struct {
Users []*UserRecord `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
// contains filtered or unexported fields
}
func (*GetUsersResponse) Descriptor
deprecated
func (*GetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.
func (*GetUsersResponse) GetUsers ¶
func (x *GetUsersResponse) GetUsers() []*UserRecord
func (*GetUsersResponse) ProtoMessage ¶
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) ProtoReflect ¶
func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
func (*GetUsersResponse) Reset ¶
func (x *GetUsersResponse) Reset()
func (*GetUsersResponse) String ¶
func (x *GetUsersResponse) String() string
type GetVulnerabilitiesRequest ¶
type GetVulnerabilitiesRequest struct {
// contains filtered or unexported fields
}
func (*GetVulnerabilitiesRequest) Descriptor
deprecated
func (*GetVulnerabilitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVulnerabilitiesRequest.ProtoReflect.Descriptor instead.
func (*GetVulnerabilitiesRequest) ProtoMessage ¶
func (*GetVulnerabilitiesRequest) ProtoMessage()
func (*GetVulnerabilitiesRequest) ProtoReflect ¶
func (x *GetVulnerabilitiesRequest) ProtoReflect() protoreflect.Message
func (*GetVulnerabilitiesRequest) Reset ¶
func (x *GetVulnerabilitiesRequest) Reset()
func (*GetVulnerabilitiesRequest) String ¶
func (x *GetVulnerabilitiesRequest) String() string
type GetVulnerabilitiesResponse ¶
type GetVulnerabilitiesResponse struct {
Vulns []*GetVulnerabilityByIdResponse `protobuf:"bytes,1,rep,name=vulns,proto3" json:"vulns,omitempty"`
// contains filtered or unexported fields
}
func (*GetVulnerabilitiesResponse) Descriptor
deprecated
func (*GetVulnerabilitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVulnerabilitiesResponse.ProtoReflect.Descriptor instead.
func (*GetVulnerabilitiesResponse) GetVulns ¶
func (x *GetVulnerabilitiesResponse) GetVulns() []*GetVulnerabilityByIdResponse
func (*GetVulnerabilitiesResponse) ProtoMessage ¶
func (*GetVulnerabilitiesResponse) ProtoMessage()
func (*GetVulnerabilitiesResponse) ProtoReflect ¶
func (x *GetVulnerabilitiesResponse) ProtoReflect() protoreflect.Message
func (*GetVulnerabilitiesResponse) Reset ¶
func (x *GetVulnerabilitiesResponse) Reset()
func (*GetVulnerabilitiesResponse) String ¶
func (x *GetVulnerabilitiesResponse) String() string
type GetVulnerabilityByIdRequest ¶
type GetVulnerabilityByIdRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetVulnerabilityByIdRequest) Descriptor
deprecated
func (*GetVulnerabilityByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVulnerabilityByIdRequest.ProtoReflect.Descriptor instead.
func (*GetVulnerabilityByIdRequest) GetId ¶
func (x *GetVulnerabilityByIdRequest) GetId() string
func (*GetVulnerabilityByIdRequest) ProtoMessage ¶
func (*GetVulnerabilityByIdRequest) ProtoMessage()
func (*GetVulnerabilityByIdRequest) ProtoReflect ¶
func (x *GetVulnerabilityByIdRequest) ProtoReflect() protoreflect.Message
func (*GetVulnerabilityByIdRequest) Reset ¶
func (x *GetVulnerabilityByIdRequest) Reset()
func (*GetVulnerabilityByIdRequest) String ¶
func (x *GetVulnerabilityByIdRequest) String() string
type GetVulnerabilityByIdResponse ¶
type GetVulnerabilityByIdResponse struct {
// May require adjustment, currently set up for GitHub Security Advisories only
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
GithubId int64 `protobuf:"varint,2,opt,name=github_id,json=githubId,proto3" json:"github_id,omitempty"`
RepoId int64 `protobuf:"varint,3,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
RepoName string `protobuf:"bytes,4,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
PackageName string `protobuf:"bytes,5,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
Severity string `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"`
VersionAffected string `protobuf:"bytes,7,opt,name=version_affected,json=versionAffected,proto3" json:"version_affected,omitempty"`
UpgradeVersion string `protobuf:"bytes,8,opt,name=upgrade_version,json=upgradeVersion,proto3" json:"upgrade_version,omitempty"`
Ghsaid string `protobuf:"bytes,9,opt,name=ghsaid,proto3" json:"ghsaid,omitempty"`
AdvisroyUrl string `protobuf:"bytes,10,opt,name=advisroy_url,json=advisroyUrl,proto3" json:"advisroy_url,omitempty"`
ScannedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=scanned_at,json=scannedAt,proto3" json:"scanned_at,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*GetVulnerabilityByIdResponse) Descriptor
deprecated
func (*GetVulnerabilityByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVulnerabilityByIdResponse.ProtoReflect.Descriptor instead.
func (*GetVulnerabilityByIdResponse) GetAdvisroyUrl ¶
func (x *GetVulnerabilityByIdResponse) GetAdvisroyUrl() string
func (*GetVulnerabilityByIdResponse) GetCreatedAt ¶
func (x *GetVulnerabilityByIdResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GetVulnerabilityByIdResponse) GetGhsaid ¶
func (x *GetVulnerabilityByIdResponse) GetGhsaid() string
func (*GetVulnerabilityByIdResponse) GetGithubId ¶
func (x *GetVulnerabilityByIdResponse) GetGithubId() int64
func (*GetVulnerabilityByIdResponse) GetId ¶
func (x *GetVulnerabilityByIdResponse) GetId() uint64
func (*GetVulnerabilityByIdResponse) GetPackageName ¶
func (x *GetVulnerabilityByIdResponse) GetPackageName() string
func (*GetVulnerabilityByIdResponse) GetRepoId ¶
func (x *GetVulnerabilityByIdResponse) GetRepoId() int64
func (*GetVulnerabilityByIdResponse) GetRepoName ¶
func (x *GetVulnerabilityByIdResponse) GetRepoName() string
func (*GetVulnerabilityByIdResponse) GetScannedAt ¶
func (x *GetVulnerabilityByIdResponse) GetScannedAt() *timestamppb.Timestamp
func (*GetVulnerabilityByIdResponse) GetSeverity ¶
func (x *GetVulnerabilityByIdResponse) GetSeverity() string
func (*GetVulnerabilityByIdResponse) GetUpgradeVersion ¶
func (x *GetVulnerabilityByIdResponse) GetUpgradeVersion() string
func (*GetVulnerabilityByIdResponse) GetVersionAffected ¶
func (x *GetVulnerabilityByIdResponse) GetVersionAffected() string
func (*GetVulnerabilityByIdResponse) ProtoMessage ¶
func (*GetVulnerabilityByIdResponse) ProtoMessage()
func (*GetVulnerabilityByIdResponse) ProtoReflect ¶
func (x *GetVulnerabilityByIdResponse) ProtoReflect() protoreflect.Message
func (*GetVulnerabilityByIdResponse) Reset ¶
func (x *GetVulnerabilityByIdResponse) Reset()
func (*GetVulnerabilityByIdResponse) String ¶
func (x *GetVulnerabilityByIdResponse) String() string
type GitType ¶ added in v0.0.2
type GitType struct {
// clone_url is the url of the git repository.
CloneUrl string `protobuf:"bytes,1,opt,name=clone_url,json=cloneUrl,proto3" json:"clone_url,omitempty"`
// branch is the branch of the git repository.
Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
// contains filtered or unexported fields
}
GitType defines the git data ingester.
func (*GitType) Descriptor
deprecated
added in
v0.0.2
func (*GitType) GetCloneUrl ¶ added in v0.0.2
func (*GitType) ProtoMessage ¶ added in v0.0.2
func (*GitType) ProtoMessage()
func (*GitType) ProtoReflect ¶ added in v0.0.2
func (x *GitType) ProtoReflect() protoreflect.Message
type GithubWorkflow ¶
type GithubWorkflow struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
Trigger string `protobuf:"bytes,4,opt,name=trigger,proto3" json:"trigger,omitempty"`
// contains filtered or unexported fields
}
func (*GithubWorkflow) Descriptor
deprecated
func (*GithubWorkflow) Descriptor() ([]byte, []int)
Deprecated: Use GithubWorkflow.ProtoReflect.Descriptor instead.
func (*GithubWorkflow) GetCommitSha ¶
func (x *GithubWorkflow) GetCommitSha() string
func (*GithubWorkflow) GetName ¶
func (x *GithubWorkflow) GetName() string
func (*GithubWorkflow) GetRepository ¶
func (x *GithubWorkflow) GetRepository() string
func (*GithubWorkflow) GetTrigger ¶
func (x *GithubWorkflow) GetTrigger() string
func (*GithubWorkflow) ProtoMessage ¶
func (*GithubWorkflow) ProtoMessage()
func (*GithubWorkflow) ProtoReflect ¶
func (x *GithubWorkflow) ProtoReflect() protoreflect.Message
func (*GithubWorkflow) Reset ¶
func (x *GithubWorkflow) Reset()
func (*GithubWorkflow) String ¶
func (x *GithubWorkflow) String() string
type GroupRecord ¶
type GroupRecord struct {
GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
IsProtected bool `protobuf:"varint,5,opt,name=is_protected,json=isProtected,proto3" json:"is_protected,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
BUF does not allow grouping (which is a shame)
func (*GroupRecord) Descriptor
deprecated
func (*GroupRecord) Descriptor() ([]byte, []int)
Deprecated: Use GroupRecord.ProtoReflect.Descriptor instead.
func (*GroupRecord) GetCreatedAt ¶
func (x *GroupRecord) GetCreatedAt() *timestamppb.Timestamp
func (*GroupRecord) GetDescription ¶
func (x *GroupRecord) GetDescription() string
func (*GroupRecord) GetGroupId ¶
func (x *GroupRecord) GetGroupId() int32
func (*GroupRecord) GetIsProtected ¶
func (x *GroupRecord) GetIsProtected() bool
func (*GroupRecord) GetName ¶
func (x *GroupRecord) GetName() string
func (*GroupRecord) GetOrganizationId ¶
func (x *GroupRecord) GetOrganizationId() int32
func (*GroupRecord) GetUpdatedAt ¶
func (x *GroupRecord) GetUpdatedAt() *timestamppb.Timestamp
func (*GroupRecord) ProtoMessage ¶
func (*GroupRecord) ProtoMessage()
func (*GroupRecord) ProtoReflect ¶
func (x *GroupRecord) ProtoReflect() protoreflect.Message
func (*GroupRecord) Reset ¶
func (x *GroupRecord) Reset()
func (*GroupRecord) String ¶
func (x *GroupRecord) String() string
type GroupServiceClient ¶
type GroupServiceClient interface {
CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error)
GetGroups(ctx context.Context, in *GetGroupsRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error)
GetGroupByName(ctx context.Context, in *GetGroupByNameRequest, opts ...grpc.CallOption) (*GetGroupByNameResponse, error)
GetGroupById(ctx context.Context, in *GetGroupByIdRequest, opts ...grpc.CallOption) (*GetGroupByIdResponse, error)
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error)
}
GroupServiceClient is the client API for GroupService 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 NewGroupServiceClient ¶
func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient
type GroupServiceServer ¶
type GroupServiceServer interface {
CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
GetGroupByName(context.Context, *GetGroupByNameRequest) (*GetGroupByNameResponse, error)
GetGroupById(context.Context, *GetGroupByIdRequest) (*GetGroupByIdResponse, error)
DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
// contains filtered or unexported methods
}
GroupServiceServer is the server API for GroupService service. All implementations must embed UnimplementedGroupServiceServer for forward compatibility
type HealthServiceClient ¶
type HealthServiceClient interface {
CheckHealth(ctx context.Context, in *CheckHealthRequest, opts ...grpc.CallOption) (*CheckHealthResponse, error)
}
HealthServiceClient is the client API for HealthService 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 NewHealthServiceClient ¶
func NewHealthServiceClient(cc grpc.ClientConnInterface) HealthServiceClient
type HealthServiceServer ¶
type HealthServiceServer interface {
CheckHealth(context.Context, *CheckHealthRequest) (*CheckHealthResponse, error)
// contains filtered or unexported methods
}
HealthServiceServer is the server API for HealthService service. All implementations must embed UnimplementedHealthServiceServer for forward compatibility
type KeyServiceClient ¶
type KeyServiceClient interface {
GetPublicKey(ctx context.Context, in *GetPublicKeyRequest, opts ...grpc.CallOption) (*GetPublicKeyResponse, error)
CreateKeyPair(ctx context.Context, in *CreateKeyPairRequest, opts ...grpc.CallOption) (*CreateKeyPairResponse, error)
}
KeyServiceClient is the client API for KeyService 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 NewKeyServiceClient ¶
func NewKeyServiceClient(cc grpc.ClientConnInterface) KeyServiceClient
type KeyServiceServer ¶
type KeyServiceServer interface {
GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
CreateKeyPair(context.Context, *CreateKeyPairRequest) (*CreateKeyPairResponse, error)
// contains filtered or unexported methods
}
KeyServiceServer is the server API for KeyService service. All implementations must embed UnimplementedKeyServiceServer for forward compatibility
type ListArtifactsRequest ¶
type ListArtifactsRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListArtifactsRequest) Descriptor
deprecated
func (*ListArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ListArtifactsRequest) GetGroupId ¶
func (x *ListArtifactsRequest) GetGroupId() int32
func (*ListArtifactsRequest) GetProvider ¶
func (x *ListArtifactsRequest) GetProvider() string
func (*ListArtifactsRequest) ProtoMessage ¶
func (*ListArtifactsRequest) ProtoMessage()
func (*ListArtifactsRequest) ProtoReflect ¶
func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ListArtifactsRequest) Reset ¶
func (x *ListArtifactsRequest) Reset()
func (*ListArtifactsRequest) String ¶
func (x *ListArtifactsRequest) String() string
type ListArtifactsResponse ¶
type ListArtifactsResponse struct {
Results []*Artifact `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*ListArtifactsResponse) Descriptor
deprecated
func (*ListArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ListArtifactsResponse) GetResults ¶
func (x *ListArtifactsResponse) GetResults() []*Artifact
func (*ListArtifactsResponse) ProtoMessage ¶
func (*ListArtifactsResponse) ProtoMessage()
func (*ListArtifactsResponse) ProtoReflect ¶
func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ListArtifactsResponse) Reset ¶
func (x *ListArtifactsResponse) Reset()
func (*ListArtifactsResponse) String ¶
func (x *ListArtifactsResponse) String() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct {
// context is the context which contains the policies
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
list policies
func (*ListPoliciesRequest) Descriptor
deprecated
func (*ListPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListPoliciesRequest) GetContext ¶
func (x *ListPoliciesRequest) GetContext() *Context
func (*ListPoliciesRequest) ProtoMessage ¶
func (*ListPoliciesRequest) ProtoMessage()
func (*ListPoliciesRequest) ProtoReflect ¶
func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListPoliciesRequest) Reset ¶
func (x *ListPoliciesRequest) Reset()
func (*ListPoliciesRequest) String ¶
func (x *ListPoliciesRequest) String() string
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
// contains filtered or unexported fields
}
func (*ListPoliciesResponse) Descriptor
deprecated
func (*ListPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListPoliciesResponse) GetPolicies ¶
func (x *ListPoliciesResponse) GetPolicies() []*Policy
func (*ListPoliciesResponse) ProtoMessage ¶
func (*ListPoliciesResponse) ProtoMessage()
func (*ListPoliciesResponse) ProtoReflect ¶
func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListPoliciesResponse) Reset ¶
func (x *ListPoliciesResponse) Reset()
func (*ListPoliciesResponse) String ¶
func (x *ListPoliciesResponse) String() string
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
Filter RepoFilter `protobuf:"varint,5,opt,name=filter,proto3,enum=mediator.v1.RepoFilter" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ListRepositoriesRequest) Descriptor
deprecated
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetFilter ¶
func (x *ListRepositoriesRequest) GetFilter() RepoFilter
func (*ListRepositoriesRequest) GetGroupId ¶
func (x *ListRepositoriesRequest) GetGroupId() int32
func (*ListRepositoriesRequest) GetLimit ¶
func (x *ListRepositoriesRequest) GetLimit() int32
func (*ListRepositoriesRequest) GetOffset ¶
func (x *ListRepositoriesRequest) GetOffset() int32
func (*ListRepositoriesRequest) GetProvider ¶
func (x *ListRepositoriesRequest) GetProvider() string
func (*ListRepositoriesRequest) ProtoMessage ¶
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect ¶
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset ¶
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String ¶
func (x *ListRepositoriesRequest) String() string
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct {
Results []*RepositoryRecord `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*ListRepositoriesResponse) Descriptor
deprecated
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetResults ¶
func (x *ListRepositoriesResponse) GetResults() []*RepositoryRecord
func (*ListRepositoriesResponse) ProtoMessage ¶
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect ¶
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset ¶
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String ¶
func (x *ListRepositoriesResponse) String() string
type ListRuleTypesRequest ¶
type ListRuleTypesRequest struct {
// context is the context in which the rule types are evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
ListRuleTypesRequest is the request to list rule types.
func (*ListRuleTypesRequest) Descriptor
deprecated
func (*ListRuleTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRuleTypesRequest.ProtoReflect.Descriptor instead.
func (*ListRuleTypesRequest) GetContext ¶
func (x *ListRuleTypesRequest) GetContext() *Context
func (*ListRuleTypesRequest) ProtoMessage ¶
func (*ListRuleTypesRequest) ProtoMessage()
func (*ListRuleTypesRequest) ProtoReflect ¶
func (x *ListRuleTypesRequest) ProtoReflect() protoreflect.Message
func (*ListRuleTypesRequest) Reset ¶
func (x *ListRuleTypesRequest) Reset()
func (*ListRuleTypesRequest) String ¶
func (x *ListRuleTypesRequest) String() string
type ListRuleTypesResponse ¶
type ListRuleTypesResponse struct {
// rule_types is the list of rule types.
RuleTypes []*RuleType `protobuf:"bytes,1,rep,name=rule_types,json=ruleTypes,proto3" json:"rule_types,omitempty"`
// contains filtered or unexported fields
}
ListRuleTypesResponse is the response to list rule types.
func (*ListRuleTypesResponse) Descriptor
deprecated
func (*ListRuleTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRuleTypesResponse.ProtoReflect.Descriptor instead.
func (*ListRuleTypesResponse) GetRuleTypes ¶
func (x *ListRuleTypesResponse) GetRuleTypes() []*RuleType
func (*ListRuleTypesResponse) ProtoMessage ¶
func (*ListRuleTypesResponse) ProtoMessage()
func (*ListRuleTypesResponse) ProtoReflect ¶
func (x *ListRuleTypesResponse) ProtoReflect() protoreflect.Message
func (*ListRuleTypesResponse) Reset ¶
func (x *ListRuleTypesResponse) Reset()
func (*ListRuleTypesResponse) String ¶
func (x *ListRuleTypesResponse) String() string
type LogInRequest ¶
type LogInRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*LogInRequest) Descriptor
deprecated
func (*LogInRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogInRequest.ProtoReflect.Descriptor instead.
func (*LogInRequest) GetPassword ¶
func (x *LogInRequest) GetPassword() string
func (*LogInRequest) GetUsername ¶
func (x *LogInRequest) GetUsername() string
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
type LogInResponse ¶
type LogInResponse struct {
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
RefreshTokenExpiresIn int64 `` /* 129-byte string literal not displayed */
AccessTokenExpiresIn int64 `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*LogInResponse) Descriptor
deprecated
func (*LogInResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogInResponse.ProtoReflect.Descriptor instead.
func (*LogInResponse) GetAccessToken ¶
func (x *LogInResponse) GetAccessToken() string
func (*LogInResponse) GetAccessTokenExpiresIn ¶
func (x *LogInResponse) GetAccessTokenExpiresIn() int64
func (*LogInResponse) GetRefreshToken ¶
func (x *LogInResponse) GetRefreshToken() string
func (*LogInResponse) GetRefreshTokenExpiresIn ¶
func (x *LogInResponse) GetRefreshTokenExpiresIn() int64
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
type LogOutRequest ¶
type LogOutRequest struct {
// contains filtered or unexported fields
}
func (*LogOutRequest) Descriptor
deprecated
func (*LogOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogOutRequest.ProtoReflect.Descriptor instead.
func (*LogOutRequest) ProtoMessage ¶
func (*LogOutRequest) ProtoMessage()
func (*LogOutRequest) ProtoReflect ¶
func (x *LogOutRequest) ProtoReflect() protoreflect.Message
func (*LogOutRequest) Reset ¶
func (x *LogOutRequest) Reset()
func (*LogOutRequest) String ¶
func (x *LogOutRequest) String() string
type LogOutResponse ¶
type LogOutResponse struct {
// contains filtered or unexported fields
}
func (*LogOutResponse) Descriptor
deprecated
func (*LogOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogOutResponse.ProtoReflect.Descriptor instead.
func (*LogOutResponse) ProtoMessage ¶
func (*LogOutResponse) ProtoMessage()
func (*LogOutResponse) ProtoReflect ¶
func (x *LogOutResponse) ProtoReflect() protoreflect.Message
func (*LogOutResponse) Reset ¶
func (x *LogOutResponse) Reset()
func (*LogOutResponse) String ¶
func (x *LogOutResponse) String() string
type OAuthServiceClient ¶
type OAuthServiceClient interface {
GetAuthorizationURL(ctx context.Context, in *GetAuthorizationURLRequest, opts ...grpc.CallOption) (*GetAuthorizationURLResponse, error)
// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
ExchangeCodeForTokenCLI(ctx context.Context, in *ExchangeCodeForTokenCLIRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
ExchangeCodeForTokenWEB(ctx context.Context, in *ExchangeCodeForTokenWEBRequest, opts ...grpc.CallOption) (*ExchangeCodeForTokenWEBResponse, error)
StoreProviderToken(ctx context.Context, in *StoreProviderTokenRequest, opts ...grpc.CallOption) (*StoreProviderTokenResponse, error)
// revoke all tokens for all users
RevokeOauthTokens(ctx context.Context, in *RevokeOauthTokensRequest, opts ...grpc.CallOption) (*RevokeOauthTokensResponse, error)
// revoke token for a group
RevokeOauthGroupToken(ctx context.Context, in *RevokeOauthGroupTokenRequest, opts ...grpc.CallOption) (*RevokeOauthGroupTokenResponse, error)
// VerifyProviderTokenFrom verifies that a token has been created for a provider since given timestamp
VerifyProviderTokenFrom(ctx context.Context, in *VerifyProviderTokenFromRequest, opts ...grpc.CallOption) (*VerifyProviderTokenFromResponse, error)
}
OAuthServiceClient is the client API for OAuthService 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 NewOAuthServiceClient ¶
func NewOAuthServiceClient(cc grpc.ClientConnInterface) OAuthServiceClient
type OAuthServiceServer ¶
type OAuthServiceServer interface {
GetAuthorizationURL(context.Context, *GetAuthorizationURLRequest) (*GetAuthorizationURLResponse, error)
// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
ExchangeCodeForTokenCLI(context.Context, *ExchangeCodeForTokenCLIRequest) (*httpbody.HttpBody, error)
ExchangeCodeForTokenWEB(context.Context, *ExchangeCodeForTokenWEBRequest) (*ExchangeCodeForTokenWEBResponse, error)
StoreProviderToken(context.Context, *StoreProviderTokenRequest) (*StoreProviderTokenResponse, error)
// revoke all tokens for all users
RevokeOauthTokens(context.Context, *RevokeOauthTokensRequest) (*RevokeOauthTokensResponse, error)
// revoke token for a group
RevokeOauthGroupToken(context.Context, *RevokeOauthGroupTokenRequest) (*RevokeOauthGroupTokenResponse, error)
// VerifyProviderTokenFrom verifies that a token has been created for a provider since given timestamp
VerifyProviderTokenFrom(context.Context, *VerifyProviderTokenFromRequest) (*VerifyProviderTokenFromResponse, error)
// contains filtered or unexported methods
}
OAuthServiceServer is the server API for OAuthService service. All implementations must embed UnimplementedOAuthServiceServer for forward compatibility
type ObjectOwner ¶ added in v0.0.3
type ObjectOwner int32
const ( ObjectOwner_OBJECT_OWNER_UNSPECIFIED ObjectOwner = 0 ObjectOwner_OBJECT_OWNER_ORGANIZATION ObjectOwner = 1 ObjectOwner_OBJECT_OWNER_GROUP ObjectOwner = 2 ObjectOwner_OBJECT_OWNER_USER ObjectOwner = 3 )
func (ObjectOwner) Descriptor ¶ added in v0.0.3
func (ObjectOwner) Descriptor() protoreflect.EnumDescriptor
func (ObjectOwner) Enum ¶ added in v0.0.3
func (x ObjectOwner) Enum() *ObjectOwner
func (ObjectOwner) EnumDescriptor
deprecated
added in
v0.0.3
func (ObjectOwner) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectOwner.Descriptor instead.
func (ObjectOwner) Number ¶ added in v0.0.3
func (x ObjectOwner) Number() protoreflect.EnumNumber
func (ObjectOwner) String ¶ added in v0.0.3
func (x ObjectOwner) String() string
func (ObjectOwner) Type ¶ added in v0.0.3
func (ObjectOwner) Type() protoreflect.EnumType
type OrganizationRecord ¶
type OrganizationRecord struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Company string `protobuf:"bytes,3,opt,name=company,proto3" json:"company,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*OrganizationRecord) Descriptor
deprecated
func (*OrganizationRecord) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationRecord.ProtoReflect.Descriptor instead.
func (*OrganizationRecord) GetCompany ¶
func (x *OrganizationRecord) GetCompany() string
func (*OrganizationRecord) GetCreatedAt ¶
func (x *OrganizationRecord) GetCreatedAt() *timestamppb.Timestamp
func (*OrganizationRecord) GetId ¶
func (x *OrganizationRecord) GetId() int32
func (*OrganizationRecord) GetName ¶
func (x *OrganizationRecord) GetName() string
func (*OrganizationRecord) GetUpdatedAt ¶
func (x *OrganizationRecord) GetUpdatedAt() *timestamppb.Timestamp
func (*OrganizationRecord) ProtoMessage ¶
func (*OrganizationRecord) ProtoMessage()
func (*OrganizationRecord) ProtoReflect ¶
func (x *OrganizationRecord) ProtoReflect() protoreflect.Message
func (*OrganizationRecord) Reset ¶
func (x *OrganizationRecord) Reset()
func (*OrganizationRecord) String ¶
func (x *OrganizationRecord) String() string
type OrganizationServiceClient ¶
type OrganizationServiceClient interface {
CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error)
GetOrganizations(ctx context.Context, in *GetOrganizationsRequest, opts ...grpc.CallOption) (*GetOrganizationsResponse, error)
GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error)
GetOrganizationByName(ctx context.Context, in *GetOrganizationByNameRequest, opts ...grpc.CallOption) (*GetOrganizationByNameResponse, error)
DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error)
}
OrganizationServiceClient is the client API for OrganizationService 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 NewOrganizationServiceClient ¶
func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient
type OrganizationServiceServer ¶
type OrganizationServiceServer interface {
CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
GetOrganizations(context.Context, *GetOrganizationsRequest) (*GetOrganizationsResponse, error)
GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)
DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
// contains filtered or unexported methods
}
OrganizationServiceServer is the server API for OrganizationService service. All implementations must embed UnimplementedOrganizationServiceServer for forward compatibility
type Policy ¶ added in v0.0.3
type Policy struct {
// context is the context in which the policy is evaluated.
Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// id is the id of the policy.
// This is optional and is set by the system.
Id *int32 `protobuf:"varint,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
// name is the name of the policy instance.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// These are the entities that one could set in the policy.
Repository []*Policy_Rule `protobuf:"bytes,4,rep,name=repository,proto3" json:"repository,omitempty"`
BuildEnvironment []*Policy_Rule `protobuf:"bytes,5,rep,name=build_environment,json=buildEnvironment,proto3" json:"build_environment,omitempty"`
Artifact []*Policy_Rule `protobuf:"bytes,6,rep,name=artifact,proto3" json:"artifact,omitempty"`
PullRequest []*Policy_Rule `protobuf:"bytes,7,rep,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
// contains filtered or unexported fields
}
Policy defines a policy that is user defined.
func (*Policy) Descriptor
deprecated
added in
v0.0.3
func (*Policy) GetArtifact ¶ added in v0.0.3
func (x *Policy) GetArtifact() []*Policy_Rule
func (*Policy) GetBuildEnvironment ¶ added in v0.0.3
func (x *Policy) GetBuildEnvironment() []*Policy_Rule
func (*Policy) GetContext ¶ added in v0.0.3
func (*Policy) GetPullRequest ¶ added in v0.0.3
func (x *Policy) GetPullRequest() []*Policy_Rule
func (*Policy) GetRepository ¶ added in v0.0.3
func (x *Policy) GetRepository() []*Policy_Rule
func (*Policy) ProtoMessage ¶ added in v0.0.3
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶ added in v0.0.3
func (x *Policy) ProtoReflect() protoreflect.Message
type PolicyServiceClient ¶
type PolicyServiceClient interface {
CreatePolicy(ctx context.Context, in *CreatePolicyRequest, opts ...grpc.CallOption) (*CreatePolicyResponse, error)
DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error)
ListPolicies(ctx context.Context, in *ListPoliciesRequest, opts ...grpc.CallOption) (*ListPoliciesResponse, error)
GetPolicyById(ctx context.Context, in *GetPolicyByIdRequest, opts ...grpc.CallOption) (*GetPolicyByIdResponse, error)
GetPolicyStatusById(ctx context.Context, in *GetPolicyStatusByIdRequest, opts ...grpc.CallOption) (*GetPolicyStatusByIdResponse, error)
GetPolicyStatusByGroup(ctx context.Context, in *GetPolicyStatusByGroupRequest, opts ...grpc.CallOption) (*GetPolicyStatusByGroupResponse, error)
ListRuleTypes(ctx context.Context, in *ListRuleTypesRequest, opts ...grpc.CallOption) (*ListRuleTypesResponse, error)
GetRuleTypeByName(ctx context.Context, in *GetRuleTypeByNameRequest, opts ...grpc.CallOption) (*GetRuleTypeByNameResponse, error)
GetRuleTypeById(ctx context.Context, in *GetRuleTypeByIdRequest, opts ...grpc.CallOption) (*GetRuleTypeByIdResponse, error)
CreateRuleType(ctx context.Context, in *CreateRuleTypeRequest, opts ...grpc.CallOption) (*CreateRuleTypeResponse, error)
UpdateRuleType(ctx context.Context, in *UpdateRuleTypeRequest, opts ...grpc.CallOption) (*UpdateRuleTypeResponse, error)
DeleteRuleType(ctx context.Context, in *DeleteRuleTypeRequest, opts ...grpc.CallOption) (*DeleteRuleTypeResponse, error)
}
PolicyServiceClient is the client API for PolicyService 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 NewPolicyServiceClient ¶
func NewPolicyServiceClient(cc grpc.ClientConnInterface) PolicyServiceClient
type PolicyServiceServer ¶
type PolicyServiceServer interface {
CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error)
DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error)
ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
GetPolicyById(context.Context, *GetPolicyByIdRequest) (*GetPolicyByIdResponse, error)
GetPolicyStatusById(context.Context, *GetPolicyStatusByIdRequest) (*GetPolicyStatusByIdResponse, error)
GetPolicyStatusByGroup(context.Context, *GetPolicyStatusByGroupRequest) (*GetPolicyStatusByGroupResponse, error)
ListRuleTypes(context.Context, *ListRuleTypesRequest) (*ListRuleTypesResponse, error)
GetRuleTypeByName(context.Context, *GetRuleTypeByNameRequest) (*GetRuleTypeByNameResponse, error)
GetRuleTypeById(context.Context, *GetRuleTypeByIdRequest) (*GetRuleTypeByIdResponse, error)
CreateRuleType(context.Context, *CreateRuleTypeRequest) (*CreateRuleTypeResponse, error)
UpdateRuleType(context.Context, *UpdateRuleTypeRequest) (*UpdateRuleTypeResponse, error)
DeleteRuleType(context.Context, *DeleteRuleTypeRequest) (*DeleteRuleTypeResponse, error)
// contains filtered or unexported methods
}
PolicyServiceServer is the server API for PolicyService service. All implementations must embed UnimplementedPolicyServiceServer for forward compatibility
type PolicyStatus ¶
type PolicyStatus struct {
// policy_id is the id of the policy
PolicyId int32 `protobuf:"varint,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
// policy_name is the name of the policy
PolicyName string `protobuf:"bytes,2,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
// policy_status is the status of the policy
PolicyStatus string `protobuf:"bytes,3,opt,name=policy_status,json=policyStatus,proto3" json:"policy_status,omitempty"`
// last_updated is the last time the policy was updated
LastUpdated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
// contains filtered or unexported fields
}
get the overall policy status
func (*PolicyStatus) Descriptor
deprecated
func (*PolicyStatus) Descriptor() ([]byte, []int)
Deprecated: Use PolicyStatus.ProtoReflect.Descriptor instead.
func (*PolicyStatus) GetLastUpdated ¶
func (x *PolicyStatus) GetLastUpdated() *timestamppb.Timestamp
func (*PolicyStatus) GetPolicyId ¶
func (x *PolicyStatus) GetPolicyId() int32
func (*PolicyStatus) GetPolicyName ¶
func (x *PolicyStatus) GetPolicyName() string
func (*PolicyStatus) GetPolicyStatus ¶
func (x *PolicyStatus) GetPolicyStatus() string
func (*PolicyStatus) ProtoMessage ¶
func (*PolicyStatus) ProtoMessage()
func (*PolicyStatus) ProtoReflect ¶
func (x *PolicyStatus) ProtoReflect() protoreflect.Message
func (*PolicyStatus) Reset ¶
func (x *PolicyStatus) Reset()
func (*PolicyStatus) String ¶
func (x *PolicyStatus) String() string
type Policy_Rule ¶ added in v0.0.3
type Policy_Rule struct {
// type is the type of the rule to be instantiated.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// params are the parameters that are passed to the rule.
// This is optional and depends on the rule type.
Params *structpb.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
// def is the definition of the rule.
// This depends on the rule type.
Def *structpb.Struct `protobuf:"bytes,3,opt,name=def,proto3" json:"def,omitempty"`
// contains filtered or unexported fields
}
Rule defines the individual call of a certain rule type.
func (*Policy_Rule) Descriptor
deprecated
added in
v0.0.3
func (*Policy_Rule) Descriptor() ([]byte, []int)
Deprecated: Use Policy_Rule.ProtoReflect.Descriptor instead.
func (*Policy_Rule) GetDef ¶ added in v0.0.3
func (x *Policy_Rule) GetDef() *structpb.Struct
func (*Policy_Rule) GetParams ¶ added in v0.0.3
func (x *Policy_Rule) GetParams() *structpb.Struct
func (*Policy_Rule) GetType ¶ added in v0.0.3
func (x *Policy_Rule) GetType() string
func (*Policy_Rule) ProtoMessage ¶ added in v0.0.3
func (*Policy_Rule) ProtoMessage()
func (*Policy_Rule) ProtoReflect ¶ added in v0.0.3
func (x *Policy_Rule) ProtoReflect() protoreflect.Message
func (*Policy_Rule) Reset ¶ added in v0.0.3
func (x *Policy_Rule) Reset()
func (*Policy_Rule) String ¶ added in v0.0.3
func (x *Policy_Rule) String() string
type PrDependencies ¶ added in v0.0.3
type PrDependencies struct {
Pr *PullRequest `protobuf:"bytes,1,opt,name=pr,proto3" json:"pr,omitempty"`
Deps []*PrDependencies_ContextualDependency `protobuf:"bytes,2,rep,name=deps,proto3" json:"deps,omitempty"`
// contains filtered or unexported fields
}
func (*PrDependencies) Descriptor
deprecated
added in
v0.0.3
func (*PrDependencies) Descriptor() ([]byte, []int)
Deprecated: Use PrDependencies.ProtoReflect.Descriptor instead.
func (*PrDependencies) GetDeps ¶ added in v0.0.3
func (x *PrDependencies) GetDeps() []*PrDependencies_ContextualDependency
func (*PrDependencies) GetPr ¶ added in v0.0.3
func (x *PrDependencies) GetPr() *PullRequest
func (*PrDependencies) ProtoMessage ¶ added in v0.0.3
func (*PrDependencies) ProtoMessage()
func (*PrDependencies) ProtoReflect ¶ added in v0.0.3
func (x *PrDependencies) ProtoReflect() protoreflect.Message
func (*PrDependencies) Reset ¶ added in v0.0.3
func (x *PrDependencies) Reset()
func (*PrDependencies) String ¶ added in v0.0.3
func (x *PrDependencies) String() string
type PrDependencies_ContextualDependency ¶ added in v0.0.3
type PrDependencies_ContextualDependency struct {
Dep *Dependency `protobuf:"bytes,1,opt,name=dep,proto3" json:"dep,omitempty"`
File *FilePatch `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*PrDependencies_ContextualDependency) Descriptor
deprecated
added in
v0.0.3
func (*PrDependencies_ContextualDependency) Descriptor() ([]byte, []int)
Deprecated: Use PrDependencies_ContextualDependency.ProtoReflect.Descriptor instead.
func (*PrDependencies_ContextualDependency) GetDep ¶ added in v0.0.3
func (x *PrDependencies_ContextualDependency) GetDep() *Dependency
func (*PrDependencies_ContextualDependency) GetFile ¶ added in v0.0.3
func (x *PrDependencies_ContextualDependency) GetFile() *FilePatch
func (*PrDependencies_ContextualDependency) ProtoMessage ¶ added in v0.0.3
func (*PrDependencies_ContextualDependency) ProtoMessage()
func (*PrDependencies_ContextualDependency) ProtoReflect ¶ added in v0.0.3
func (x *PrDependencies_ContextualDependency) ProtoReflect() protoreflect.Message
func (*PrDependencies_ContextualDependency) Reset ¶ added in v0.0.3
func (x *PrDependencies_ContextualDependency) Reset()
func (*PrDependencies_ContextualDependency) String ¶ added in v0.0.3
func (x *PrDependencies_ContextualDependency) String() string
type Provider ¶
type Provider struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Context *Provider_Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
Def *Provider_Definition `protobuf:"bytes,3,opt,name=def,proto3" json:"def,omitempty"`
// contains filtered or unexported fields
}
Provider defines a provider that is used to connect to a certain service. This is used to define the context in which a rule is evaluated and serves as a data ingestion point. They are top level entities and are scoped to an organization.
func (*Provider) Descriptor
deprecated
func (*Provider) GetContext ¶
func (x *Provider) GetContext() *Provider_Context
func (*Provider) GetDef ¶
func (x *Provider) GetDef() *Provider_Definition
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
type Provider_Context ¶
type Provider_Context struct {
Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
Context defines the context in which a provider is evaluated. Given thta a provider is a top level entity, it may only be scoped to an organization.
func (*Provider_Context) Descriptor
deprecated
func (*Provider_Context) Descriptor() ([]byte, []int)
Deprecated: Use Provider_Context.ProtoReflect.Descriptor instead.
func (*Provider_Context) GetGroup ¶
func (x *Provider_Context) GetGroup() string
func (*Provider_Context) GetOrganization ¶
func (x *Provider_Context) GetOrganization() string
func (*Provider_Context) ProtoMessage ¶
func (*Provider_Context) ProtoMessage()
func (*Provider_Context) ProtoReflect ¶
func (x *Provider_Context) ProtoReflect() protoreflect.Message
func (*Provider_Context) Reset ¶
func (x *Provider_Context) Reset()
func (*Provider_Context) String ¶
func (x *Provider_Context) String() string
type Provider_Definition ¶
type Provider_Definition struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Auth *Provider_Definition_Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
// ClientTypes defines the client types that are supported by the provider.
ClientTypes *Provider_Definition_ClientTypes `protobuf:"bytes,3,opt,name=client_types,json=clientTypes,proto3" json:"client_types,omitempty"`
// entities defines the entities that are supported by the provider.
Entities []Entity `protobuf:"varint,4,rep,packed,name=entities,proto3,enum=mediator.v1.Entity" json:"entities,omitempty"`
// contains filtered or unexported fields
}
Definition defines the definition of the provider. This is used to define the connection to the provider.
func (*Provider_Definition) Descriptor
deprecated
func (*Provider_Definition) Descriptor() ([]byte, []int)
Deprecated: Use Provider_Definition.ProtoReflect.Descriptor instead.
func (*Provider_Definition) GetAuth ¶
func (x *Provider_Definition) GetAuth() *Provider_Definition_Auth
func (*Provider_Definition) GetClientTypes ¶
func (x *Provider_Definition) GetClientTypes() *Provider_Definition_ClientTypes
func (*Provider_Definition) GetEndpoint ¶
func (x *Provider_Definition) GetEndpoint() string
func (*Provider_Definition) GetEntities ¶
func (x *Provider_Definition) GetEntities() []Entity
func (*Provider_Definition) ProtoMessage ¶
func (*Provider_Definition) ProtoMessage()
func (*Provider_Definition) ProtoReflect ¶
func (x *Provider_Definition) ProtoReflect() protoreflect.Message
func (*Provider_Definition) Reset ¶
func (x *Provider_Definition) Reset()
func (*Provider_Definition) String ¶
func (x *Provider_Definition) String() string
type Provider_Definition_Auth ¶
type Provider_Definition_Auth struct {
Type Provider_Definition_Auth_Type `protobuf:"varint,1,opt,name=type,proto3,enum=mediator.v1.Provider_Definition_Auth_Type" json:"type,omitempty"`
Oauth2 *Provider_Definition_Auth_OAuth2 `protobuf:"bytes,2,opt,name=oauth2,proto3,oneof" json:"oauth2,omitempty"`
// contains filtered or unexported fields
}
Auth defines the authentication mechanism to be used.
func (*Provider_Definition_Auth) Descriptor
deprecated
func (*Provider_Definition_Auth) Descriptor() ([]byte, []int)
Deprecated: Use Provider_Definition_Auth.ProtoReflect.Descriptor instead.
func (*Provider_Definition_Auth) GetOauth2 ¶
func (x *Provider_Definition_Auth) GetOauth2() *Provider_Definition_Auth_OAuth2
func (*Provider_Definition_Auth) GetType ¶
func (x *Provider_Definition_Auth) GetType() Provider_Definition_Auth_Type
func (*Provider_Definition_Auth) ProtoMessage ¶
func (*Provider_Definition_Auth) ProtoMessage()
func (*Provider_Definition_Auth) ProtoReflect ¶
func (x *Provider_Definition_Auth) ProtoReflect() protoreflect.Message
func (*Provider_Definition_Auth) Reset ¶
func (x *Provider_Definition_Auth) Reset()
func (*Provider_Definition_Auth) String ¶
func (x *Provider_Definition_Auth) String() string
type Provider_Definition_Auth_OAuth2 ¶
type Provider_Definition_Auth_OAuth2 struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
AuthUrl string `protobuf:"bytes,4,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
TokenUrl string `protobuf:"bytes,5,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
// contains filtered or unexported fields
}
OAuth2 defines the OAuth2 authentication mechanism.
func (*Provider_Definition_Auth_OAuth2) Descriptor
deprecated
func (*Provider_Definition_Auth_OAuth2) Descriptor() ([]byte, []int)
Deprecated: Use Provider_Definition_Auth_OAuth2.ProtoReflect.Descriptor instead.
func (*Provider_Definition_Auth_OAuth2) GetAuthUrl ¶
func (x *Provider_Definition_Auth_OAuth2) GetAuthUrl() string
func (*Provider_Definition_Auth_OAuth2) GetClientId ¶
func (x *Provider_Definition_Auth_OAuth2) GetClientId() string
func (*Provider_Definition_Auth_OAuth2) GetClientSecret ¶
func (x *Provider_Definition_Auth_OAuth2) GetClientSecret() string
func (*Provider_Definition_Auth_OAuth2) GetRedirectUri ¶
func (x *Provider_Definition_Auth_OAuth2) GetRedirectUri() string
func (*Provider_Definition_Auth_OAuth2) GetScope ¶
func (x *Provider_Definition_Auth_OAuth2) GetScope() string
func (*Provider_Definition_Auth_OAuth2) GetTokenUrl ¶
func (x *Provider_Definition_Auth_OAuth2) GetTokenUrl() string
func (*Provider_Definition_Auth_OAuth2) ProtoMessage ¶
func (*Provider_Definition_Auth_OAuth2) ProtoMessage()
func (*Provider_Definition_Auth_OAuth2) ProtoReflect ¶
func (x *Provider_Definition_Auth_OAuth2) ProtoReflect() protoreflect.Message
func (*Provider_Definition_Auth_OAuth2) Reset ¶
func (x *Provider_Definition_Auth_OAuth2) Reset()
func (*Provider_Definition_Auth_OAuth2) String ¶
func (x *Provider_Definition_Auth_OAuth2) String() string
type Provider_Definition_Auth_Type ¶
type Provider_Definition_Auth_Type int32
const ( Provider_Definition_Auth_TYPE_UNSPECIFIED Provider_Definition_Auth_Type = 0 // TYPE_OAUTH2 defines the OAuth2 authentication mechanism. Provider_Definition_Auth_TYPE_OAUTH2 Provider_Definition_Auth_Type = 1 )
func (Provider_Definition_Auth_Type) Descriptor ¶
func (Provider_Definition_Auth_Type) Descriptor() protoreflect.EnumDescriptor
func (Provider_Definition_Auth_Type) Enum ¶
func (x Provider_Definition_Auth_Type) Enum() *Provider_Definition_Auth_Type
func (Provider_Definition_Auth_Type) EnumDescriptor
deprecated
func (Provider_Definition_Auth_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Provider_Definition_Auth_Type.Descriptor instead.
func (Provider_Definition_Auth_Type) Number ¶
func (x Provider_Definition_Auth_Type) Number() protoreflect.EnumNumber
func (Provider_Definition_Auth_Type) String ¶
func (x Provider_Definition_Auth_Type) String() string
func (Provider_Definition_Auth_Type) Type ¶
func (Provider_Definition_Auth_Type) Type() protoreflect.EnumType
type Provider_Definition_ClientTypes ¶
type Provider_Definition_ClientTypes struct {
Types []Provider_Definition_ClientTypes_Type `protobuf:"varint,1,rep,packed,name=types,proto3,enum=mediator.v1.Provider_Definition_ClientTypes_Type" json:"types,omitempty"`
// contains filtered or unexported fields
}
ClientTypes defines the client types that are supported by the provider. This is used to define the types of clients that are supported by the provider.
func (*Provider_Definition_ClientTypes) Descriptor
deprecated
func (*Provider_Definition_ClientTypes) Descriptor() ([]byte, []int)
Deprecated: Use Provider_Definition_ClientTypes.ProtoReflect.Descriptor instead.
func (*Provider_Definition_ClientTypes) GetTypes ¶
func (x *Provider_Definition_ClientTypes) GetTypes() []Provider_Definition_ClientTypes_Type
func (*Provider_Definition_ClientTypes) ProtoMessage ¶
func (*Provider_Definition_ClientTypes) ProtoMessage()
func (*Provider_Definition_ClientTypes) ProtoReflect ¶
func (x *Provider_Definition_ClientTypes) ProtoReflect() protoreflect.Message
func (*Provider_Definition_ClientTypes) Reset ¶
func (x *Provider_Definition_ClientTypes) Reset()
func (*Provider_Definition_ClientTypes) String ¶
func (x *Provider_Definition_ClientTypes) String() string
type Provider_Definition_ClientTypes_Type ¶
type Provider_Definition_ClientTypes_Type int32
Type defines the type of client that is supported by the provider.
const ( Provider_Definition_ClientTypes_TYPE_UNSPECIFIED Provider_Definition_ClientTypes_Type = 0 Provider_Definition_ClientTypes_TYPE_REST Provider_Definition_ClientTypes_Type = 1 Provider_Definition_ClientTypes_TYPE_GRAPHQL Provider_Definition_ClientTypes_Type = 2 )
func (Provider_Definition_ClientTypes_Type) Descriptor ¶
func (Provider_Definition_ClientTypes_Type) Descriptor() protoreflect.EnumDescriptor
func (Provider_Definition_ClientTypes_Type) Enum ¶
func (x Provider_Definition_ClientTypes_Type) Enum() *Provider_Definition_ClientTypes_Type
func (Provider_Definition_ClientTypes_Type) EnumDescriptor
deprecated
func (Provider_Definition_ClientTypes_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Provider_Definition_ClientTypes_Type.Descriptor instead.
func (Provider_Definition_ClientTypes_Type) Number ¶
func (x Provider_Definition_ClientTypes_Type) Number() protoreflect.EnumNumber
func (Provider_Definition_ClientTypes_Type) String ¶
func (x Provider_Definition_ClientTypes_Type) String() string
func (Provider_Definition_ClientTypes_Type) Type ¶
func (Provider_Definition_ClientTypes_Type) Type() protoreflect.EnumType
type PullRequest ¶ added in v0.0.3
type PullRequest struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // The full URL to the PR
CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` // Commit SHA of the PR HEAD. Will be useful to submit a review
Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // The sequential PR number (not the DB PK!)
RepoOwner string `protobuf:"bytes,4,opt,name=repo_owner,json=repoOwner,proto3" json:"repo_owner,omitempty"` // The owner of the repo, will be used to submit a review
RepoName string `protobuf:"bytes,5,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"` // The name of the repo, will be used to submit a review
Patches []*FilePatch `protobuf:"bytes,6,rep,name=patches,proto3" json:"patches,omitempty"` // The list of files changed in the PR. Does not include file contents
AuthorId int64 `protobuf:"varint,7,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` // The author of the PR, will be used to check if we can request changes
// contains filtered or unexported fields
}
func (*PullRequest) Descriptor
deprecated
added in
v0.0.3
func (*PullRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullRequest.ProtoReflect.Descriptor instead.
func (*PullRequest) GetAuthorId ¶ added in v0.0.3
func (x *PullRequest) GetAuthorId() int64
func (*PullRequest) GetCommitSha ¶ added in v0.0.3
func (x *PullRequest) GetCommitSha() string
func (*PullRequest) GetNumber ¶ added in v0.0.3
func (x *PullRequest) GetNumber() int32
func (*PullRequest) GetPatches ¶ added in v0.0.3
func (x *PullRequest) GetPatches() []*FilePatch
func (*PullRequest) GetRepoName ¶ added in v0.0.3
func (x *PullRequest) GetRepoName() string
func (*PullRequest) GetRepoOwner ¶ added in v0.0.3
func (x *PullRequest) GetRepoOwner() string
func (*PullRequest) GetUrl ¶ added in v0.0.3
func (x *PullRequest) GetUrl() string
func (*PullRequest) ProtoMessage ¶ added in v0.0.3
func (*PullRequest) ProtoMessage()
func (*PullRequest) ProtoReflect ¶ added in v0.0.3
func (x *PullRequest) ProtoReflect() protoreflect.Message
func (*PullRequest) Reset ¶ added in v0.0.3
func (x *PullRequest) Reset()
func (*PullRequest) String ¶ added in v0.0.3
func (x *PullRequest) String() string
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
// contains filtered or unexported fields
}
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶
type RefreshTokenResponse struct {
AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
AccessTokenExpiresIn int64 `` /* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*RefreshTokenResponse) Descriptor
deprecated
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) GetAccessToken ¶
func (x *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) GetAccessTokenExpiresIn ¶
func (x *RefreshTokenResponse) GetAccessTokenExpiresIn() int64
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶
func (x *RefreshTokenResponse) String() string
type RegisterRepositoryRequest ¶
type RegisterRepositoryRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Repositories []*Repositories `protobuf:"bytes,3,rep,name=repositories,proto3" json:"repositories,omitempty"`
Events []string `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterRepositoryRequest) Descriptor
deprecated
func (*RegisterRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRepositoryRequest.ProtoReflect.Descriptor instead.
func (*RegisterRepositoryRequest) GetEvents ¶
func (x *RegisterRepositoryRequest) GetEvents() []string
func (*RegisterRepositoryRequest) GetGroupId ¶
func (x *RegisterRepositoryRequest) GetGroupId() int32
func (*RegisterRepositoryRequest) GetProvider ¶
func (x *RegisterRepositoryRequest) GetProvider() string
func (*RegisterRepositoryRequest) GetRepositories ¶
func (x *RegisterRepositoryRequest) GetRepositories() []*Repositories
func (*RegisterRepositoryRequest) ProtoMessage ¶
func (*RegisterRepositoryRequest) ProtoMessage()
func (*RegisterRepositoryRequest) ProtoReflect ¶
func (x *RegisterRepositoryRequest) ProtoReflect() protoreflect.Message
func (*RegisterRepositoryRequest) Reset ¶
func (x *RegisterRepositoryRequest) Reset()
func (*RegisterRepositoryRequest) String ¶
func (x *RegisterRepositoryRequest) String() string
type RegisterRepositoryResponse ¶
type RegisterRepositoryResponse struct {
Results []*RepositoryResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterRepositoryResponse) Descriptor
deprecated
func (*RegisterRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRepositoryResponse.ProtoReflect.Descriptor instead.
func (*RegisterRepositoryResponse) GetResults ¶
func (x *RegisterRepositoryResponse) GetResults() []*RepositoryResult
func (*RegisterRepositoryResponse) ProtoMessage ¶
func (*RegisterRepositoryResponse) ProtoMessage()
func (*RegisterRepositoryResponse) ProtoReflect ¶
func (x *RegisterRepositoryResponse) ProtoReflect() protoreflect.Message
func (*RegisterRepositoryResponse) Reset ¶
func (x *RegisterRepositoryResponse) Reset()
func (*RegisterRepositoryResponse) String ¶
func (x *RegisterRepositoryResponse) String() string
type RepoFilter ¶
type RepoFilter int32
Repo filter enum
const ( RepoFilter_REPO_FILTER_SHOW_UNSPECIFIED RepoFilter = 0 RepoFilter_REPO_FILTER_SHOW_ALL RepoFilter = 1 RepoFilter_REPO_FILTER_SHOW_NOT_REGISTERED_ONLY RepoFilter = 2 RepoFilter_REPO_FILTER_SHOW_REGISTERED_ONLY RepoFilter = 3 )
func (RepoFilter) Descriptor ¶
func (RepoFilter) Descriptor() protoreflect.EnumDescriptor
func (RepoFilter) Enum ¶
func (x RepoFilter) Enum() *RepoFilter
func (RepoFilter) EnumDescriptor
deprecated
func (RepoFilter) EnumDescriptor() ([]byte, []int)
Deprecated: Use RepoFilter.Descriptor instead.
func (RepoFilter) Number ¶
func (x RepoFilter) Number() protoreflect.EnumNumber
func (RepoFilter) String ¶
func (x RepoFilter) String() string
func (RepoFilter) Type ¶
func (RepoFilter) Type() protoreflect.EnumType
type Repositories ¶
type Repositories struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
RepoId int32 `protobuf:"varint,3,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
// contains filtered or unexported fields
}
func (*Repositories) Descriptor
deprecated
func (*Repositories) Descriptor() ([]byte, []int)
Deprecated: Use Repositories.ProtoReflect.Descriptor instead.
func (*Repositories) GetName ¶
func (x *Repositories) GetName() string
func (*Repositories) GetOwner ¶
func (x *Repositories) GetOwner() string
func (*Repositories) GetRepoId ¶
func (x *Repositories) GetRepoId() int32
func (*Repositories) ProtoMessage ¶
func (*Repositories) ProtoMessage()
func (*Repositories) ProtoReflect ¶
func (x *Repositories) ProtoReflect() protoreflect.Message
func (*Repositories) Reset ¶
func (x *Repositories) Reset()
func (*Repositories) String ¶
func (x *Repositories) String() string
type RepositoryRecord ¶
type RepositoryRecord struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
RepoId int32 `protobuf:"varint,6,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
IsPrivate bool `protobuf:"varint,7,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
IsFork bool `protobuf:"varint,8,opt,name=is_fork,json=isFork,proto3" json:"is_fork,omitempty"`
HookUrl string `protobuf:"bytes,9,opt,name=hook_url,json=hookUrl,proto3" json:"hook_url,omitempty"`
DeployUrl string `protobuf:"bytes,10,opt,name=deploy_url,json=deployUrl,proto3" json:"deploy_url,omitempty"`
CloneUrl string `protobuf:"bytes,11,opt,name=clone_url,json=cloneUrl,proto3" json:"clone_url,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
RepositoryRecord is used for registering repositories.
func (*RepositoryRecord) Descriptor
deprecated
func (*RepositoryRecord) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryRecord.ProtoReflect.Descriptor instead.
func (*RepositoryRecord) GetCloneUrl ¶ added in v0.0.2
func (x *RepositoryRecord) GetCloneUrl() string
func (*RepositoryRecord) GetCreatedAt ¶
func (x *RepositoryRecord) GetCreatedAt() *timestamppb.Timestamp
func (*RepositoryRecord) GetDeployUrl ¶
func (x *RepositoryRecord) GetDeployUrl() string
func (*RepositoryRecord) GetGroupId ¶
func (x *RepositoryRecord) GetGroupId() int32
func (*RepositoryRecord) GetHookUrl ¶
func (x *RepositoryRecord) GetHookUrl() string
func (*RepositoryRecord) GetId ¶
func (x *RepositoryRecord) GetId() int32
func (*RepositoryRecord) GetIsFork ¶
func (x *RepositoryRecord) GetIsFork() bool
func (*RepositoryRecord) GetIsPrivate ¶
func (x *RepositoryRecord) GetIsPrivate() bool
func (*RepositoryRecord) GetName ¶
func (x *RepositoryRecord) GetName() string
func (*RepositoryRecord) GetOwner ¶
func (x *RepositoryRecord) GetOwner() string
func (*RepositoryRecord) GetProvider ¶
func (x *RepositoryRecord) GetProvider() string
func (*RepositoryRecord) GetRepoId ¶
func (x *RepositoryRecord) GetRepoId() int32
func (*RepositoryRecord) GetUpdatedAt ¶
func (x *RepositoryRecord) GetUpdatedAt() *timestamppb.Timestamp
func (*RepositoryRecord) ProtoMessage ¶
func (*RepositoryRecord) ProtoMessage()
func (*RepositoryRecord) ProtoReflect ¶
func (x *RepositoryRecord) ProtoReflect() protoreflect.Message
func (*RepositoryRecord) Reset ¶
func (x *RepositoryRecord) Reset()
func (*RepositoryRecord) String ¶
func (x *RepositoryRecord) String() string
type RepositoryResult ¶
type RepositoryResult struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
RepoId int32 `protobuf:"varint,3,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
HookId int64 `protobuf:"varint,4,opt,name=hook_id,json=hookId,proto3" json:"hook_id,omitempty"`
HookUrl string `protobuf:"bytes,5,opt,name=hook_url,json=hookUrl,proto3" json:"hook_url,omitempty"`
DeployUrl string `protobuf:"bytes,6,opt,name=deploy_url,json=deployUrl,proto3" json:"deploy_url,omitempty"`
CloneUrl string `protobuf:"bytes,7,opt,name=clone_url,json=cloneUrl,proto3" json:"clone_url,omitempty"`
HookName string `protobuf:"bytes,8,opt,name=hook_name,json=hookName,proto3" json:"hook_name,omitempty"`
HookType string `protobuf:"bytes,9,opt,name=hook_type,json=hookType,proto3" json:"hook_type,omitempty"`
Success bool `protobuf:"varint,10,opt,name=success,proto3" json:"success,omitempty"`
Uuid string `protobuf:"bytes,11,opt,name=uuid,proto3" json:"uuid,omitempty"`
Registered bool `protobuf:"varint,12,opt,name=registered,proto3" json:"registered,omitempty"`
Error *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*RepositoryResult) Descriptor
deprecated
func (*RepositoryResult) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryResult.ProtoReflect.Descriptor instead.
func (*RepositoryResult) GetCloneUrl ¶ added in v0.0.2
func (x *RepositoryResult) GetCloneUrl() string
func (*RepositoryResult) GetCreatedAt ¶
func (x *RepositoryResult) GetCreatedAt() *timestamppb.Timestamp
func (*RepositoryResult) GetDeployUrl ¶
func (x *RepositoryResult) GetDeployUrl() string
func (*RepositoryResult) GetError ¶
func (x *RepositoryResult) GetError() *wrapperspb.StringValue
func (*RepositoryResult) GetHookId ¶
func (x *RepositoryResult) GetHookId() int64
func (*RepositoryResult) GetHookName ¶
func (x *RepositoryResult) GetHookName() string
func (*RepositoryResult) GetHookType ¶
func (x *RepositoryResult) GetHookType() string
func (*RepositoryResult) GetHookUrl ¶
func (x *RepositoryResult) GetHookUrl() string
func (*RepositoryResult) GetOwner ¶
func (x *RepositoryResult) GetOwner() string
func (*RepositoryResult) GetRegistered ¶
func (x *RepositoryResult) GetRegistered() bool
func (*RepositoryResult) GetRepoId ¶
func (x *RepositoryResult) GetRepoId() int32
func (*RepositoryResult) GetRepository ¶
func (x *RepositoryResult) GetRepository() string
func (*RepositoryResult) GetSuccess ¶
func (x *RepositoryResult) GetSuccess() bool
func (*RepositoryResult) GetUpdatedAt ¶
func (x *RepositoryResult) GetUpdatedAt() *timestamppb.Timestamp
func (*RepositoryResult) GetUuid ¶
func (x *RepositoryResult) GetUuid() string
func (*RepositoryResult) ProtoMessage ¶
func (*RepositoryResult) ProtoMessage()
func (*RepositoryResult) ProtoReflect ¶
func (x *RepositoryResult) ProtoReflect() protoreflect.Message
func (*RepositoryResult) Reset ¶
func (x *RepositoryResult) Reset()
func (*RepositoryResult) String ¶
func (x *RepositoryResult) String() string
type RepositoryServiceClient ¶
type RepositoryServiceClient interface {
SyncRepositories(ctx context.Context, in *SyncRepositoriesRequest, opts ...grpc.CallOption) (*SyncRepositoriesResponse, error)
RegisterRepository(ctx context.Context, in *RegisterRepositoryRequest, opts ...grpc.CallOption) (*RegisterRepositoryResponse, error)
ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
GetRepositoryById(ctx context.Context, in *GetRepositoryByIdRequest, opts ...grpc.CallOption) (*GetRepositoryByIdResponse, error)
GetRepositoryByName(ctx context.Context, in *GetRepositoryByNameRequest, opts ...grpc.CallOption) (*GetRepositoryByNameResponse, error)
}
RepositoryServiceClient is the client API for RepositoryService 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 NewRepositoryServiceClient ¶
func NewRepositoryServiceClient(cc grpc.ClientConnInterface) RepositoryServiceClient
type RepositoryServiceServer ¶
type RepositoryServiceServer interface {
SyncRepositories(context.Context, *SyncRepositoriesRequest) (*SyncRepositoriesResponse, error)
RegisterRepository(context.Context, *RegisterRepositoryRequest) (*RegisterRepositoryResponse, error)
ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
GetRepositoryById(context.Context, *GetRepositoryByIdRequest) (*GetRepositoryByIdResponse, error)
GetRepositoryByName(context.Context, *GetRepositoryByNameRequest) (*GetRepositoryByNameResponse, error)
// contains filtered or unexported methods
}
RepositoryServiceServer is the server API for RepositoryService service. All implementations must embed UnimplementedRepositoryServiceServer for forward compatibility
type RestType ¶
type RestType struct {
// endpoint is the endpoint to fetch data from.
// This can be a URL or the path on the API.bool
// This is a required field and must be set.
// This is also evaluated via a template which allows
// us dynamically fill in the values.
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// method is the method to use to fetch data.
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
// headers are the headers to be sent to the endpoint.
Headers []string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
// body is the body to be sent to the endpoint.
Body *string `protobuf:"bytes,4,opt,name=body,proto3,oneof" json:"body,omitempty"`
// parse is the parsing mechanism to be used to parse the data.
Parse string `protobuf:"bytes,5,opt,name=parse,proto3" json:"parse,omitempty"`
// contains filtered or unexported fields
}
RestType defines the rest data evaluation. This is used to fetch data from a REST endpoint.
func (*RestType) Descriptor
deprecated
func (*RestType) GetEndpoint ¶
func (*RestType) GetHeaders ¶
func (*RestType) ProtoMessage ¶
func (*RestType) ProtoMessage()
func (*RestType) ProtoReflect ¶
func (x *RestType) ProtoReflect() protoreflect.Message
type RevokeOauthGroupTokenRequest ¶
type RevokeOauthGroupTokenRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeOauthGroupTokenRequest) Descriptor
deprecated
func (*RevokeOauthGroupTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeOauthGroupTokenRequest.ProtoReflect.Descriptor instead.
func (*RevokeOauthGroupTokenRequest) GetGroupId ¶
func (x *RevokeOauthGroupTokenRequest) GetGroupId() int32
func (*RevokeOauthGroupTokenRequest) GetProvider ¶
func (x *RevokeOauthGroupTokenRequest) GetProvider() string
func (*RevokeOauthGroupTokenRequest) ProtoMessage ¶
func (*RevokeOauthGroupTokenRequest) ProtoMessage()
func (*RevokeOauthGroupTokenRequest) ProtoReflect ¶
func (x *RevokeOauthGroupTokenRequest) ProtoReflect() protoreflect.Message
func (*RevokeOauthGroupTokenRequest) Reset ¶
func (x *RevokeOauthGroupTokenRequest) Reset()
func (*RevokeOauthGroupTokenRequest) String ¶
func (x *RevokeOauthGroupTokenRequest) String() string
type RevokeOauthGroupTokenResponse ¶
type RevokeOauthGroupTokenResponse struct {
// contains filtered or unexported fields
}
func (*RevokeOauthGroupTokenResponse) Descriptor
deprecated
func (*RevokeOauthGroupTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeOauthGroupTokenResponse.ProtoReflect.Descriptor instead.
func (*RevokeOauthGroupTokenResponse) ProtoMessage ¶
func (*RevokeOauthGroupTokenResponse) ProtoMessage()
func (*RevokeOauthGroupTokenResponse) ProtoReflect ¶
func (x *RevokeOauthGroupTokenResponse) ProtoReflect() protoreflect.Message
func (*RevokeOauthGroupTokenResponse) Reset ¶
func (x *RevokeOauthGroupTokenResponse) Reset()
func (*RevokeOauthGroupTokenResponse) String ¶
func (x *RevokeOauthGroupTokenResponse) String() string
type RevokeOauthTokensRequest ¶
type RevokeOauthTokensRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeOauthTokensRequest) Descriptor
deprecated
func (*RevokeOauthTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeOauthTokensRequest.ProtoReflect.Descriptor instead.
func (*RevokeOauthTokensRequest) GetProvider ¶
func (x *RevokeOauthTokensRequest) GetProvider() string
func (*RevokeOauthTokensRequest) ProtoMessage ¶
func (*RevokeOauthTokensRequest) ProtoMessage()
func (*RevokeOauthTokensRequest) ProtoReflect ¶
func (x *RevokeOauthTokensRequest) ProtoReflect() protoreflect.Message
func (*RevokeOauthTokensRequest) Reset ¶
func (x *RevokeOauthTokensRequest) Reset()
func (*RevokeOauthTokensRequest) String ¶
func (x *RevokeOauthTokensRequest) String() string
type RevokeOauthTokensResponse ¶
type RevokeOauthTokensResponse struct {
RevokedTokens int32 `protobuf:"varint,1,opt,name=revoked_tokens,json=revokedTokens,proto3" json:"revoked_tokens,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeOauthTokensResponse) Descriptor
deprecated
func (*RevokeOauthTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeOauthTokensResponse.ProtoReflect.Descriptor instead.
func (*RevokeOauthTokensResponse) GetRevokedTokens ¶
func (x *RevokeOauthTokensResponse) GetRevokedTokens() int32
func (*RevokeOauthTokensResponse) ProtoMessage ¶
func (*RevokeOauthTokensResponse) ProtoMessage()
func (*RevokeOauthTokensResponse) ProtoReflect ¶
func (x *RevokeOauthTokensResponse) ProtoReflect() protoreflect.Message
func (*RevokeOauthTokensResponse) Reset ¶
func (x *RevokeOauthTokensResponse) Reset()
func (*RevokeOauthTokensResponse) String ¶
func (x *RevokeOauthTokensResponse) String() string
type RevokeTokensRequest ¶
type RevokeTokensRequest struct {
// contains filtered or unexported fields
}
func (*RevokeTokensRequest) Descriptor
deprecated
func (*RevokeTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTokensRequest.ProtoReflect.Descriptor instead.
func (*RevokeTokensRequest) ProtoMessage ¶
func (*RevokeTokensRequest) ProtoMessage()
func (*RevokeTokensRequest) ProtoReflect ¶
func (x *RevokeTokensRequest) ProtoReflect() protoreflect.Message
func (*RevokeTokensRequest) Reset ¶
func (x *RevokeTokensRequest) Reset()
func (*RevokeTokensRequest) String ¶
func (x *RevokeTokensRequest) String() string
type RevokeTokensResponse ¶
type RevokeTokensResponse struct {
// contains filtered or unexported fields
}
func (*RevokeTokensResponse) Descriptor
deprecated
func (*RevokeTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTokensResponse.ProtoReflect.Descriptor instead.
func (*RevokeTokensResponse) ProtoMessage ¶
func (*RevokeTokensResponse) ProtoMessage()
func (*RevokeTokensResponse) ProtoReflect ¶
func (x *RevokeTokensResponse) ProtoReflect() protoreflect.Message
func (*RevokeTokensResponse) Reset ¶
func (x *RevokeTokensResponse) Reset()
func (*RevokeTokensResponse) String ¶
func (x *RevokeTokensResponse) String() string
type RevokeUserTokenRequest ¶
type RevokeUserTokenRequest struct {
UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeUserTokenRequest) Descriptor
deprecated
func (*RevokeUserTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeUserTokenRequest.ProtoReflect.Descriptor instead.
func (*RevokeUserTokenRequest) GetUserId ¶
func (x *RevokeUserTokenRequest) GetUserId() int32
func (*RevokeUserTokenRequest) ProtoMessage ¶
func (*RevokeUserTokenRequest) ProtoMessage()
func (*RevokeUserTokenRequest) ProtoReflect ¶
func (x *RevokeUserTokenRequest) ProtoReflect() protoreflect.Message
func (*RevokeUserTokenRequest) Reset ¶
func (x *RevokeUserTokenRequest) Reset()
func (*RevokeUserTokenRequest) String ¶
func (x *RevokeUserTokenRequest) String() string
type RevokeUserTokenResponse ¶
type RevokeUserTokenResponse struct {
// contains filtered or unexported fields
}
func (*RevokeUserTokenResponse) Descriptor
deprecated
func (*RevokeUserTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeUserTokenResponse.ProtoReflect.Descriptor instead.
func (*RevokeUserTokenResponse) ProtoMessage ¶
func (*RevokeUserTokenResponse) ProtoMessage()
func (*RevokeUserTokenResponse) ProtoReflect ¶
func (x *RevokeUserTokenResponse) ProtoReflect() protoreflect.Message
func (*RevokeUserTokenResponse) Reset ¶
func (x *RevokeUserTokenResponse) Reset()
func (*RevokeUserTokenResponse) String ¶
func (x *RevokeUserTokenResponse) String() string
type RoleRecord ¶
type RoleRecord struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
GroupId *int32 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3,oneof" json:"group_id,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
IsAdmin bool `protobuf:"varint,5,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
IsProtected bool `protobuf:"varint,6,opt,name=is_protected,json=isProtected,proto3" json:"is_protected,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*RoleRecord) Descriptor
deprecated
func (*RoleRecord) Descriptor() ([]byte, []int)
Deprecated: Use RoleRecord.ProtoReflect.Descriptor instead.
func (*RoleRecord) GetCreatedAt ¶
func (x *RoleRecord) GetCreatedAt() *timestamppb.Timestamp
func (*RoleRecord) GetGroupId ¶
func (x *RoleRecord) GetGroupId() int32
func (*RoleRecord) GetId ¶
func (x *RoleRecord) GetId() int32
func (*RoleRecord) GetIsAdmin ¶
func (x *RoleRecord) GetIsAdmin() bool
func (*RoleRecord) GetIsProtected ¶
func (x *RoleRecord) GetIsProtected() bool
func (*RoleRecord) GetName ¶
func (x *RoleRecord) GetName() string
func (*RoleRecord) GetOrganizationId ¶
func (x *RoleRecord) GetOrganizationId() int32
func (*RoleRecord) GetUpdatedAt ¶
func (x *RoleRecord) GetUpdatedAt() *timestamppb.Timestamp
func (*RoleRecord) ProtoMessage ¶
func (*RoleRecord) ProtoMessage()
func (*RoleRecord) ProtoReflect ¶
func (x *RoleRecord) ProtoReflect() protoreflect.Message
func (*RoleRecord) Reset ¶
func (x *RoleRecord) Reset()
func (*RoleRecord) String ¶
func (x *RoleRecord) String() string
type RoleServiceClient ¶
type RoleServiceClient interface {
CreateRoleByOrganization(ctx context.Context, in *CreateRoleByOrganizationRequest, opts ...grpc.CallOption) (*CreateRoleByOrganizationResponse, error)
CreateRoleByGroup(ctx context.Context, in *CreateRoleByGroupRequest, opts ...grpc.CallOption) (*CreateRoleByGroupResponse, error)
DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error)
GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error)
GetRolesByGroup(ctx context.Context, in *GetRolesByGroupRequest, opts ...grpc.CallOption) (*GetRolesByGroupResponse, error)
GetRoleById(ctx context.Context, in *GetRoleByIdRequest, opts ...grpc.CallOption) (*GetRoleByIdResponse, error)
GetRoleByName(ctx context.Context, in *GetRoleByNameRequest, opts ...grpc.CallOption) (*GetRoleByNameResponse, error)
}
RoleServiceClient is the client API for RoleService 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 NewRoleServiceClient ¶
func NewRoleServiceClient(cc grpc.ClientConnInterface) RoleServiceClient
type RoleServiceServer ¶
type RoleServiceServer interface {
CreateRoleByOrganization(context.Context, *CreateRoleByOrganizationRequest) (*CreateRoleByOrganizationResponse, error)
CreateRoleByGroup(context.Context, *CreateRoleByGroupRequest) (*CreateRoleByGroupResponse, error)
DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error)
GetRolesByGroup(context.Context, *GetRolesByGroupRequest) (*GetRolesByGroupResponse, error)
GetRoleById(context.Context, *GetRoleByIdRequest) (*GetRoleByIdResponse, error)
GetRoleByName(context.Context, *GetRoleByNameRequest) (*GetRoleByNameResponse, error)
// contains filtered or unexported methods
}
RoleServiceServer is the server API for RoleService service. All implementations must embed UnimplementedRoleServiceServer for forward compatibility
type RpcOptions ¶ added in v0.0.3
type RpcOptions struct {
Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"`
NoLog bool `protobuf:"varint,2,opt,name=no_log,json=noLog,proto3" json:"no_log,omitempty"`
OwnerOnly bool `protobuf:"varint,3,opt,name=owner_only,json=ownerOnly,proto3" json:"owner_only,omitempty"`
RootAdminOnly bool `protobuf:"varint,4,opt,name=root_admin_only,json=rootAdminOnly,proto3" json:"root_admin_only,omitempty"`
AuthScope ObjectOwner `protobuf:"varint,5,opt,name=auth_scope,json=authScope,proto3,enum=mediator.v1.ObjectOwner" json:"auth_scope,omitempty"`
// contains filtered or unexported fields
}
func (*RpcOptions) Descriptor
deprecated
added in
v0.0.3
func (*RpcOptions) Descriptor() ([]byte, []int)
Deprecated: Use RpcOptions.ProtoReflect.Descriptor instead.
func (*RpcOptions) GetAnonymous ¶ added in v0.0.3
func (x *RpcOptions) GetAnonymous() bool
func (*RpcOptions) GetAuthScope ¶ added in v0.0.3
func (x *RpcOptions) GetAuthScope() ObjectOwner
func (*RpcOptions) GetNoLog ¶ added in v0.0.3
func (x *RpcOptions) GetNoLog() bool
func (*RpcOptions) GetOwnerOnly ¶ added in v0.0.3
func (x *RpcOptions) GetOwnerOnly() bool
func (*RpcOptions) GetRootAdminOnly ¶ added in v0.0.3
func (x *RpcOptions) GetRootAdminOnly() bool
func (*RpcOptions) ProtoMessage ¶ added in v0.0.3
func (*RpcOptions) ProtoMessage()
func (*RpcOptions) ProtoReflect ¶ added in v0.0.3
func (x *RpcOptions) ProtoReflect() protoreflect.Message
func (*RpcOptions) Reset ¶ added in v0.0.3
func (x *RpcOptions) Reset()
func (*RpcOptions) String ¶ added in v0.0.3
func (x *RpcOptions) String() string
type RuleEvaluationStatus ¶
type RuleEvaluationStatus struct {
// policy_id is the id of the policy
PolicyId int32 `protobuf:"varint,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
// rule_id is the id of the rule
RuleId int32 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// rule_name is the name of the rule
RuleName string `protobuf:"bytes,3,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
// entity is the entity that was evaluated
Entity string `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"`
// status is the status of the evaluation
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
// last_updated is the last time the policy was updated
LastUpdated *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
// entity_info is the information about the entity
EntityInfo map[string]string `` /* 179-byte string literal not displayed */
// details is the description of the evaluation if any
Details string `protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"`
// guidance is the guidance for the evaluation if any
Guidance string `protobuf:"bytes,9,opt,name=guidance,proto3" json:"guidance,omitempty"`
// contains filtered or unexported fields
}
get the status of the rules for a given policy
func (*RuleEvaluationStatus) Descriptor
deprecated
func (*RuleEvaluationStatus) Descriptor() ([]byte, []int)
Deprecated: Use RuleEvaluationStatus.ProtoReflect.Descriptor instead.
func (*RuleEvaluationStatus) GetDetails ¶
func (x *RuleEvaluationStatus) GetDetails() string
func (*RuleEvaluationStatus) GetEntity ¶
func (x *RuleEvaluationStatus) GetEntity() string
func (*RuleEvaluationStatus) GetEntityInfo ¶
func (x *RuleEvaluationStatus) GetEntityInfo() map[string]string
func (*RuleEvaluationStatus) GetGuidance ¶ added in v0.0.2
func (x *RuleEvaluationStatus) GetGuidance() string
func (*RuleEvaluationStatus) GetLastUpdated ¶
func (x *RuleEvaluationStatus) GetLastUpdated() *timestamppb.Timestamp
func (*RuleEvaluationStatus) GetPolicyId ¶
func (x *RuleEvaluationStatus) GetPolicyId() int32
func (*RuleEvaluationStatus) GetRuleId ¶
func (x *RuleEvaluationStatus) GetRuleId() int32
func (*RuleEvaluationStatus) GetRuleName ¶
func (x *RuleEvaluationStatus) GetRuleName() string
func (*RuleEvaluationStatus) GetStatus ¶
func (x *RuleEvaluationStatus) GetStatus() string
func (*RuleEvaluationStatus) ProtoMessage ¶
func (*RuleEvaluationStatus) ProtoMessage()
func (*RuleEvaluationStatus) ProtoReflect ¶
func (x *RuleEvaluationStatus) ProtoReflect() protoreflect.Message
func (*RuleEvaluationStatus) Reset ¶
func (x *RuleEvaluationStatus) Reset()
func (*RuleEvaluationStatus) String ¶
func (x *RuleEvaluationStatus) String() string
type RuleType ¶
type RuleType struct {
// id is the id of the rule type.
// This is mostly optional and is set by the server.
Id *int32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
// name is the name of the rule type.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// context is the context in which the rule is evaluated.
Context *Context `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
// def is the definition of the rule type.
Def *RuleType_Definition `protobuf:"bytes,4,opt,name=def,proto3" json:"def,omitempty"`
// description is the description of the rule type.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// guidance are instructions we give the user in case a rule fails.
Guidance string `protobuf:"bytes,6,opt,name=guidance,proto3" json:"guidance,omitempty"`
// contains filtered or unexported fields
}
RuleType defines rules that may or may not be user defined. The version is assumed from the folder's version.
func (*RuleType) Descriptor
deprecated
func (*RuleType) GetContext ¶
func (*RuleType) GetDef ¶
func (x *RuleType) GetDef() *RuleType_Definition
func (*RuleType) GetDescription ¶
func (*RuleType) GetGuidance ¶ added in v0.0.2
func (*RuleType) ProtoMessage ¶
func (*RuleType) ProtoMessage()
func (*RuleType) ProtoReflect ¶
func (x *RuleType) ProtoReflect() protoreflect.Message
type RuleType_Definition ¶
type RuleType_Definition struct {
// in_entity is the entity in which the rule is evaluated.
// This can be repository, build_environment or artifact.
InEntity string `protobuf:"bytes,1,opt,name=in_entity,json=inEntity,proto3" json:"in_entity,omitempty"`
// rule_schema is the schema of the rule. This is expressed in JSON Schema.
RuleSchema *structpb.Struct `protobuf:"bytes,2,opt,name=rule_schema,json=ruleSchema,proto3" json:"rule_schema,omitempty"`
// param_schema is the schema of the parameters that are passed to the rule.
// This is expressed in JSON Schema.
ParamSchema *structpb.Struct `protobuf:"bytes,3,opt,name=param_schema,json=paramSchema,proto3,oneof" json:"param_schema,omitempty"`
Ingest *RuleType_Definition_Ingest `protobuf:"bytes,4,opt,name=ingest,proto3" json:"ingest,omitempty"`
Eval *RuleType_Definition_Eval `protobuf:"bytes,5,opt,name=eval,proto3" json:"eval,omitempty"`
// contains filtered or unexported fields
}
Definition defines the rule type. It encompases the schema and the data evaluation.
func (*RuleType_Definition) Descriptor
deprecated
func (*RuleType_Definition) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition.ProtoReflect.Descriptor instead.
func (*RuleType_Definition) GetEval ¶ added in v0.0.2
func (x *RuleType_Definition) GetEval() *RuleType_Definition_Eval
func (*RuleType_Definition) GetInEntity ¶
func (x *RuleType_Definition) GetInEntity() string
func (*RuleType_Definition) GetIngest ¶ added in v0.0.2
func (x *RuleType_Definition) GetIngest() *RuleType_Definition_Ingest
func (*RuleType_Definition) GetParamSchema ¶
func (x *RuleType_Definition) GetParamSchema() *structpb.Struct
func (*RuleType_Definition) GetRuleSchema ¶
func (x *RuleType_Definition) GetRuleSchema() *structpb.Struct
func (*RuleType_Definition) ProtoMessage ¶
func (*RuleType_Definition) ProtoMessage()
func (*RuleType_Definition) ProtoReflect ¶
func (x *RuleType_Definition) ProtoReflect() protoreflect.Message
func (*RuleType_Definition) Reset ¶
func (x *RuleType_Definition) Reset()
func (*RuleType_Definition) String ¶
func (x *RuleType_Definition) String() string
type RuleType_Definition_Eval ¶ added in v0.0.2
type RuleType_Definition_Eval struct {
// type is the type of the data evaluation.
// Right now only `jq` is supported as a driver
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// jq is only used if the `jq` type is selected.
// It defines the comparisons that are made between
// the ingested data and the policy rule.
Jq []*RuleType_Definition_Eval_JQComparison `protobuf:"bytes,2,rep,name=jq,proto3" json:"jq,omitempty"`
// rego is only used if the `rego` type is selected.
Rego *RuleType_Definition_Eval_Rego `protobuf:"bytes,3,opt,name=rego,proto3,oneof" json:"rego,omitempty"`
// vulncheck is only used if the `vulncheck` type is selected.
Vulncheck *RuleType_Definition_Eval_Vulncheck `protobuf:"bytes,4,opt,name=vulncheck,proto3,oneof" json:"vulncheck,omitempty"`
// contains filtered or unexported fields
}
Eval defines the data evaluation definition. This pertains to the way we traverse data from the upstream endpoint and how we compare it to the rule.
func (*RuleType_Definition_Eval) Descriptor
deprecated
added in
v0.0.2
func (*RuleType_Definition_Eval) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition_Eval.ProtoReflect.Descriptor instead.
func (*RuleType_Definition_Eval) GetJq ¶ added in v0.0.2
func (x *RuleType_Definition_Eval) GetJq() []*RuleType_Definition_Eval_JQComparison
func (*RuleType_Definition_Eval) GetRego ¶ added in v0.0.2
func (x *RuleType_Definition_Eval) GetRego() *RuleType_Definition_Eval_Rego
func (*RuleType_Definition_Eval) GetType ¶ added in v0.0.2
func (x *RuleType_Definition_Eval) GetType() string
func (*RuleType_Definition_Eval) GetVulncheck ¶ added in v0.0.3
func (x *RuleType_Definition_Eval) GetVulncheck() *RuleType_Definition_Eval_Vulncheck
func (*RuleType_Definition_Eval) ProtoMessage ¶ added in v0.0.2
func (*RuleType_Definition_Eval) ProtoMessage()
func (*RuleType_Definition_Eval) ProtoReflect ¶ added in v0.0.2
func (x *RuleType_Definition_Eval) ProtoReflect() protoreflect.Message
func (*RuleType_Definition_Eval) Reset ¶ added in v0.0.2
func (x *RuleType_Definition_Eval) Reset()
func (*RuleType_Definition_Eval) String ¶ added in v0.0.2
func (x *RuleType_Definition_Eval) String() string
type RuleType_Definition_Eval_JQComparison ¶ added in v0.0.2
type RuleType_Definition_Eval_JQComparison struct {
// Ingested points to the data retrieved in the `ingest` section
Ingested *RuleType_Definition_Eval_JQComparison_Operator `protobuf:"bytes,1,opt,name=ingested,proto3" json:"ingested,omitempty"`
// Policy points to the policy itself.
Policy *RuleType_Definition_Eval_JQComparison_Operator `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*RuleType_Definition_Eval_JQComparison) Descriptor
deprecated
added in
v0.0.2
func (*RuleType_Definition_Eval_JQComparison) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition_Eval_JQComparison.ProtoReflect.Descriptor instead.
func (*RuleType_Definition_Eval_JQComparison) GetIngested ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison) GetIngested() *RuleType_Definition_Eval_JQComparison_Operator
func (*RuleType_Definition_Eval_JQComparison) GetPolicy ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison) GetPolicy() *RuleType_Definition_Eval_JQComparison_Operator
func (*RuleType_Definition_Eval_JQComparison) ProtoMessage ¶ added in v0.0.2
func (*RuleType_Definition_Eval_JQComparison) ProtoMessage()
func (*RuleType_Definition_Eval_JQComparison) ProtoReflect ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison) ProtoReflect() protoreflect.Message
func (*RuleType_Definition_Eval_JQComparison) Reset ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison) Reset()
func (*RuleType_Definition_Eval_JQComparison) String ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison) String() string
type RuleType_Definition_Eval_JQComparison_Operator ¶ added in v0.0.2
type RuleType_Definition_Eval_JQComparison_Operator struct {
Def string `protobuf:"bytes,1,opt,name=def,proto3" json:"def,omitempty"`
// contains filtered or unexported fields
}
func (*RuleType_Definition_Eval_JQComparison_Operator) Descriptor
deprecated
added in
v0.0.2
func (*RuleType_Definition_Eval_JQComparison_Operator) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition_Eval_JQComparison_Operator.ProtoReflect.Descriptor instead.
func (*RuleType_Definition_Eval_JQComparison_Operator) GetDef ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison_Operator) GetDef() string
func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoMessage ¶ added in v0.0.2
func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoMessage()
func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoReflect ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison_Operator) ProtoReflect() protoreflect.Message
func (*RuleType_Definition_Eval_JQComparison_Operator) Reset ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison_Operator) Reset()
func (*RuleType_Definition_Eval_JQComparison_Operator) String ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_JQComparison_Operator) String() string
type RuleType_Definition_Eval_Rego ¶ added in v0.0.2
type RuleType_Definition_Eval_Rego struct {
// type is the type of evaluation engine to use
// for rego. We currently have two modes of operation:
// - deny-by-default: this is the default mode of operation
// where we deny access by default and allow access only
// if the policy explicitly allows it. It expects the
// policy to set an `allow` variable to true or false.
// - constraints: this is the mode of operation where we
// allow access by default and deny access only if a
// violation is found. It expects the policy to set a
// `violations` variable with a "msg" field.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// def is the definition of the rego policy.
Def string `protobuf:"bytes,2,opt,name=def,proto3" json:"def,omitempty"`
// contains filtered or unexported fields
}
func (*RuleType_Definition_Eval_Rego) Descriptor
deprecated
added in
v0.0.2
func (*RuleType_Definition_Eval_Rego) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition_Eval_Rego.ProtoReflect.Descriptor instead.
func (*RuleType_Definition_Eval_Rego) GetDef ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_Rego) GetDef() string
func (*RuleType_Definition_Eval_Rego) GetType ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_Rego) GetType() string
func (*RuleType_Definition_Eval_Rego) ProtoMessage ¶ added in v0.0.2
func (*RuleType_Definition_Eval_Rego) ProtoMessage()
func (*RuleType_Definition_Eval_Rego) ProtoReflect ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_Rego) ProtoReflect() protoreflect.Message
func (*RuleType_Definition_Eval_Rego) Reset ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_Rego) Reset()
func (*RuleType_Definition_Eval_Rego) String ¶ added in v0.0.2
func (x *RuleType_Definition_Eval_Rego) String() string
type RuleType_Definition_Eval_Vulncheck ¶ added in v0.0.3
type RuleType_Definition_Eval_Vulncheck struct {
// db is the database to use for the vulncheck, e.g. OSV
Db string `protobuf:"bytes,1,opt,name=db,proto3" json:"db,omitempty"`
// e.g. https://api.osv.dev/v1/query
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*RuleType_Definition_Eval_Vulncheck) Descriptor
deprecated
added in
v0.0.3
func (*RuleType_Definition_Eval_Vulncheck) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition_Eval_Vulncheck.ProtoReflect.Descriptor instead.
func (*RuleType_Definition_Eval_Vulncheck) GetDb ¶ added in v0.0.3
func (x *RuleType_Definition_Eval_Vulncheck) GetDb() string
func (*RuleType_Definition_Eval_Vulncheck) GetEndpoint ¶ added in v0.0.3
func (x *RuleType_Definition_Eval_Vulncheck) GetEndpoint() string
func (*RuleType_Definition_Eval_Vulncheck) ProtoMessage ¶ added in v0.0.3
func (*RuleType_Definition_Eval_Vulncheck) ProtoMessage()
func (*RuleType_Definition_Eval_Vulncheck) ProtoReflect ¶ added in v0.0.3
func (x *RuleType_Definition_Eval_Vulncheck) ProtoReflect() protoreflect.Message
func (*RuleType_Definition_Eval_Vulncheck) Reset ¶ added in v0.0.3
func (x *RuleType_Definition_Eval_Vulncheck) Reset()
func (*RuleType_Definition_Eval_Vulncheck) String ¶ added in v0.0.3
func (x *RuleType_Definition_Eval_Vulncheck) String() string
type RuleType_Definition_Ingest ¶ added in v0.0.2
type RuleType_Definition_Ingest struct {
// type is the type of the data ingestion.
// we currently support rest, artifact and builtin.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// rest is the rest data ingestion.
// this is only used if the type is rest.
Rest *RestType `protobuf:"bytes,3,opt,name=rest,proto3,oneof" json:"rest,omitempty"`
// builtin is the builtin data ingestion.
Builtin *BuiltinType `protobuf:"bytes,4,opt,name=builtin,proto3,oneof" json:"builtin,omitempty"`
// artifact is the artifact data ingestion.
Artifact *ArtifactType `protobuf:"bytes,5,opt,name=artifact,proto3,oneof" json:"artifact,omitempty"`
// git is the git data ingestion.
Git *GitType `protobuf:"bytes,6,opt,name=git,proto3,oneof" json:"git,omitempty"`
// diff is the diff data ingestion.
Diff *DiffType `protobuf:"bytes,7,opt,name=diff,proto3,oneof" json:"diff,omitempty"`
// contains filtered or unexported fields
}
Ingest defines how the data is ingested.
func (*RuleType_Definition_Ingest) Descriptor
deprecated
added in
v0.0.2
func (*RuleType_Definition_Ingest) Descriptor() ([]byte, []int)
Deprecated: Use RuleType_Definition_Ingest.ProtoReflect.Descriptor instead.
func (*RuleType_Definition_Ingest) GetArtifact ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) GetArtifact() *ArtifactType
func (*RuleType_Definition_Ingest) GetBuiltin ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) GetBuiltin() *BuiltinType
func (*RuleType_Definition_Ingest) GetDiff ¶ added in v0.0.3
func (x *RuleType_Definition_Ingest) GetDiff() *DiffType
func (*RuleType_Definition_Ingest) GetGit ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) GetGit() *GitType
func (*RuleType_Definition_Ingest) GetRest ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) GetRest() *RestType
func (*RuleType_Definition_Ingest) GetType ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) GetType() string
func (*RuleType_Definition_Ingest) ProtoMessage ¶ added in v0.0.2
func (*RuleType_Definition_Ingest) ProtoMessage()
func (*RuleType_Definition_Ingest) ProtoReflect ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) ProtoReflect() protoreflect.Message
func (*RuleType_Definition_Ingest) Reset ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) Reset()
func (*RuleType_Definition_Ingest) String ¶ added in v0.0.2
func (x *RuleType_Definition_Ingest) String() string
type SecretsServiceClient ¶
type SecretsServiceClient interface {
GetSecrets(ctx context.Context, in *GetSecretsRequest, opts ...grpc.CallOption) (*GetSecretsResponse, error)
GetSecretById(ctx context.Context, in *GetSecretByIdRequest, opts ...grpc.CallOption) (*GetSecretByIdResponse, error)
}
SecretsServiceClient is the client API for SecretsService 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 NewSecretsServiceClient ¶
func NewSecretsServiceClient(cc grpc.ClientConnInterface) SecretsServiceClient
type SecretsServiceServer ¶
type SecretsServiceServer interface {
GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, error)
GetSecretById(context.Context, *GetSecretByIdRequest) (*GetSecretByIdResponse, error)
// contains filtered or unexported methods
}
SecretsServiceServer is the server API for SecretsService service. All implementations must embed UnimplementedSecretsServiceServer for forward compatibility
type SignatureVerification ¶
type SignatureVerification struct {
IsSigned bool `protobuf:"varint,1,opt,name=is_signed,json=isSigned,proto3" json:"is_signed,omitempty"`
IsVerified bool `protobuf:"varint,2,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"`
IsBundleVerified bool `protobuf:"varint,3,opt,name=is_bundle_verified,json=isBundleVerified,proto3" json:"is_bundle_verified,omitempty"`
CertIdentity *string `protobuf:"bytes,4,opt,name=cert_identity,json=certIdentity,proto3,oneof" json:"cert_identity,omitempty"`
CertIssuer *string `protobuf:"bytes,5,opt,name=cert_issuer,json=certIssuer,proto3,oneof" json:"cert_issuer,omitempty"`
RekorLogId *string `protobuf:"bytes,6,opt,name=rekor_log_id,json=rekorLogId,proto3,oneof" json:"rekor_log_id,omitempty"`
RekorLogIndex *int32 `protobuf:"varint,7,opt,name=rekor_log_index,json=rekorLogIndex,proto3,oneof" json:"rekor_log_index,omitempty"`
SignatureTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=signature_time,json=signatureTime,proto3,oneof" json:"signature_time,omitempty"`
// contains filtered or unexported fields
}
func (*SignatureVerification) Descriptor
deprecated
func (*SignatureVerification) Descriptor() ([]byte, []int)
Deprecated: Use SignatureVerification.ProtoReflect.Descriptor instead.
func (*SignatureVerification) GetCertIdentity ¶
func (x *SignatureVerification) GetCertIdentity() string
func (*SignatureVerification) GetCertIssuer ¶
func (x *SignatureVerification) GetCertIssuer() string
func (*SignatureVerification) GetIsBundleVerified ¶
func (x *SignatureVerification) GetIsBundleVerified() bool
func (*SignatureVerification) GetIsSigned ¶
func (x *SignatureVerification) GetIsSigned() bool
func (*SignatureVerification) GetIsVerified ¶
func (x *SignatureVerification) GetIsVerified() bool
func (*SignatureVerification) GetRekorLogId ¶
func (x *SignatureVerification) GetRekorLogId() string
func (*SignatureVerification) GetRekorLogIndex ¶
func (x *SignatureVerification) GetRekorLogIndex() int32
func (*SignatureVerification) GetSignatureTime ¶
func (x *SignatureVerification) GetSignatureTime() *timestamppb.Timestamp
func (*SignatureVerification) ProtoMessage ¶
func (*SignatureVerification) ProtoMessage()
func (*SignatureVerification) ProtoReflect ¶
func (x *SignatureVerification) ProtoReflect() protoreflect.Message
func (*SignatureVerification) Reset ¶
func (x *SignatureVerification) Reset()
func (*SignatureVerification) String ¶
func (x *SignatureVerification) String() string
type StoreProviderTokenRequest ¶
type StoreProviderTokenRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
Owner *string `protobuf:"bytes,4,opt,name=owner,proto3,oneof" json:"owner,omitempty"`
// contains filtered or unexported fields
}
func (*StoreProviderTokenRequest) Descriptor
deprecated
func (*StoreProviderTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use StoreProviderTokenRequest.ProtoReflect.Descriptor instead.
func (*StoreProviderTokenRequest) GetAccessToken ¶
func (x *StoreProviderTokenRequest) GetAccessToken() string
func (*StoreProviderTokenRequest) GetGroupId ¶
func (x *StoreProviderTokenRequest) GetGroupId() int32
func (*StoreProviderTokenRequest) GetOwner ¶
func (x *StoreProviderTokenRequest) GetOwner() string
func (*StoreProviderTokenRequest) GetProvider ¶
func (x *StoreProviderTokenRequest) GetProvider() string
func (*StoreProviderTokenRequest) ProtoMessage ¶
func (*StoreProviderTokenRequest) ProtoMessage()
func (*StoreProviderTokenRequest) ProtoReflect ¶
func (x *StoreProviderTokenRequest) ProtoReflect() protoreflect.Message
func (*StoreProviderTokenRequest) Reset ¶
func (x *StoreProviderTokenRequest) Reset()
func (*StoreProviderTokenRequest) String ¶
func (x *StoreProviderTokenRequest) String() string
type StoreProviderTokenResponse ¶
type StoreProviderTokenResponse struct {
// contains filtered or unexported fields
}
func (*StoreProviderTokenResponse) Descriptor
deprecated
func (*StoreProviderTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use StoreProviderTokenResponse.ProtoReflect.Descriptor instead.
func (*StoreProviderTokenResponse) ProtoMessage ¶
func (*StoreProviderTokenResponse) ProtoMessage()
func (*StoreProviderTokenResponse) ProtoReflect ¶
func (x *StoreProviderTokenResponse) ProtoReflect() protoreflect.Message
func (*StoreProviderTokenResponse) Reset ¶
func (x *StoreProviderTokenResponse) Reset()
func (*StoreProviderTokenResponse) String ¶
func (x *StoreProviderTokenResponse) String() string
type SyncRepositoriesRequest ¶
type SyncRepositoriesRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// contains filtered or unexported fields
}
func (*SyncRepositoriesRequest) Descriptor
deprecated
func (*SyncRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*SyncRepositoriesRequest) GetGroupId ¶
func (x *SyncRepositoriesRequest) GetGroupId() int32
func (*SyncRepositoriesRequest) GetProvider ¶
func (x *SyncRepositoriesRequest) GetProvider() string
func (*SyncRepositoriesRequest) ProtoMessage ¶
func (*SyncRepositoriesRequest) ProtoMessage()
func (*SyncRepositoriesRequest) ProtoReflect ¶
func (x *SyncRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*SyncRepositoriesRequest) Reset ¶
func (x *SyncRepositoriesRequest) Reset()
func (*SyncRepositoriesRequest) String ¶
func (x *SyncRepositoriesRequest) String() string
type SyncRepositoriesResponse ¶
type SyncRepositoriesResponse struct {
// contains filtered or unexported fields
}
func (*SyncRepositoriesResponse) Descriptor
deprecated
func (*SyncRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*SyncRepositoriesResponse) ProtoMessage ¶
func (*SyncRepositoriesResponse) ProtoMessage()
func (*SyncRepositoriesResponse) ProtoReflect ¶
func (x *SyncRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*SyncRepositoriesResponse) Reset ¶
func (x *SyncRepositoriesResponse) Reset()
func (*SyncRepositoriesResponse) String ¶
func (x *SyncRepositoriesResponse) String() string
type UnimplementedArtifactServiceServer ¶
type UnimplementedArtifactServiceServer struct {
}
UnimplementedArtifactServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedArtifactServiceServer) GetArtifactById ¶
func (UnimplementedArtifactServiceServer) GetArtifactById(context.Context, *GetArtifactByIdRequest) (*GetArtifactByIdResponse, error)
func (UnimplementedArtifactServiceServer) ListArtifacts ¶
func (UnimplementedArtifactServiceServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct {
}
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) LogIn ¶
func (UnimplementedAuthServiceServer) LogIn(context.Context, *LogInRequest) (*LogInResponse, error)
func (UnimplementedAuthServiceServer) LogOut ¶
func (UnimplementedAuthServiceServer) LogOut(context.Context, *LogOutRequest) (*LogOutResponse, error)
func (UnimplementedAuthServiceServer) RefreshToken ¶
func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (UnimplementedAuthServiceServer) RevokeTokens ¶
func (UnimplementedAuthServiceServer) RevokeTokens(context.Context, *RevokeTokensRequest) (*RevokeTokensResponse, error)
func (UnimplementedAuthServiceServer) RevokeUserToken ¶
func (UnimplementedAuthServiceServer) RevokeUserToken(context.Context, *RevokeUserTokenRequest) (*RevokeUserTokenResponse, error)
func (UnimplementedAuthServiceServer) Verify ¶
func (UnimplementedAuthServiceServer) Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
type UnimplementedBranchProtectionServiceServer ¶
type UnimplementedBranchProtectionServiceServer struct {
}
UnimplementedBranchProtectionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBranchProtectionServiceServer) GetBranchProtection ¶
func (UnimplementedBranchProtectionServiceServer) GetBranchProtection(context.Context, *GetBranchProtectionRequest) (*GetBranchProtectionResponse, error)
type UnimplementedGroupServiceServer ¶
type UnimplementedGroupServiceServer struct {
}
UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGroupServiceServer) CreateGroup ¶
func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
func (UnimplementedGroupServiceServer) DeleteGroup ¶
func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
func (UnimplementedGroupServiceServer) GetGroupById ¶
func (UnimplementedGroupServiceServer) GetGroupById(context.Context, *GetGroupByIdRequest) (*GetGroupByIdResponse, error)
func (UnimplementedGroupServiceServer) GetGroupByName ¶
func (UnimplementedGroupServiceServer) GetGroupByName(context.Context, *GetGroupByNameRequest) (*GetGroupByNameResponse, error)
func (UnimplementedGroupServiceServer) GetGroups ¶
func (UnimplementedGroupServiceServer) GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
type UnimplementedHealthServiceServer ¶
type UnimplementedHealthServiceServer struct {
}
UnimplementedHealthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHealthServiceServer) CheckHealth ¶
func (UnimplementedHealthServiceServer) CheckHealth(context.Context, *CheckHealthRequest) (*CheckHealthResponse, error)
type UnimplementedKeyServiceServer ¶
type UnimplementedKeyServiceServer struct {
}
UnimplementedKeyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKeyServiceServer) CreateKeyPair ¶
func (UnimplementedKeyServiceServer) CreateKeyPair(context.Context, *CreateKeyPairRequest) (*CreateKeyPairResponse, error)
func (UnimplementedKeyServiceServer) GetPublicKey ¶
func (UnimplementedKeyServiceServer) GetPublicKey(context.Context, *GetPublicKeyRequest) (*GetPublicKeyResponse, error)
type UnimplementedOAuthServiceServer ¶
type UnimplementedOAuthServiceServer struct {
}
UnimplementedOAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenCLI ¶
func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenCLI(context.Context, *ExchangeCodeForTokenCLIRequest) (*httpbody.HttpBody, error)
func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenWEB ¶
func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenWEB(context.Context, *ExchangeCodeForTokenWEBRequest) (*ExchangeCodeForTokenWEBResponse, error)
func (UnimplementedOAuthServiceServer) GetAuthorizationURL ¶
func (UnimplementedOAuthServiceServer) GetAuthorizationURL(context.Context, *GetAuthorizationURLRequest) (*GetAuthorizationURLResponse, error)
func (UnimplementedOAuthServiceServer) RevokeOauthGroupToken ¶
func (UnimplementedOAuthServiceServer) RevokeOauthGroupToken(context.Context, *RevokeOauthGroupTokenRequest) (*RevokeOauthGroupTokenResponse, error)
func (UnimplementedOAuthServiceServer) RevokeOauthTokens ¶
func (UnimplementedOAuthServiceServer) RevokeOauthTokens(context.Context, *RevokeOauthTokensRequest) (*RevokeOauthTokensResponse, error)
func (UnimplementedOAuthServiceServer) StoreProviderToken ¶
func (UnimplementedOAuthServiceServer) StoreProviderToken(context.Context, *StoreProviderTokenRequest) (*StoreProviderTokenResponse, error)
func (UnimplementedOAuthServiceServer) VerifyProviderTokenFrom ¶
func (UnimplementedOAuthServiceServer) VerifyProviderTokenFrom(context.Context, *VerifyProviderTokenFromRequest) (*VerifyProviderTokenFromResponse, error)
type UnimplementedOrganizationServiceServer ¶
type UnimplementedOrganizationServiceServer struct {
}
UnimplementedOrganizationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrganizationServiceServer) CreateOrganization ¶
func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
func (UnimplementedOrganizationServiceServer) DeleteOrganization ¶
func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
func (UnimplementedOrganizationServiceServer) GetOrganization ¶
func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
func (UnimplementedOrganizationServiceServer) GetOrganizationByName ¶
func (UnimplementedOrganizationServiceServer) GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)
func (UnimplementedOrganizationServiceServer) GetOrganizations ¶
func (UnimplementedOrganizationServiceServer) GetOrganizations(context.Context, *GetOrganizationsRequest) (*GetOrganizationsResponse, error)
type UnimplementedPolicyServiceServer ¶
type UnimplementedPolicyServiceServer struct {
}
UnimplementedPolicyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPolicyServiceServer) CreatePolicy ¶
func (UnimplementedPolicyServiceServer) CreatePolicy(context.Context, *CreatePolicyRequest) (*CreatePolicyResponse, error)
func (UnimplementedPolicyServiceServer) CreateRuleType ¶
func (UnimplementedPolicyServiceServer) CreateRuleType(context.Context, *CreateRuleTypeRequest) (*CreateRuleTypeResponse, error)
func (UnimplementedPolicyServiceServer) DeletePolicy ¶
func (UnimplementedPolicyServiceServer) DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error)
func (UnimplementedPolicyServiceServer) DeleteRuleType ¶
func (UnimplementedPolicyServiceServer) DeleteRuleType(context.Context, *DeleteRuleTypeRequest) (*DeleteRuleTypeResponse, error)
func (UnimplementedPolicyServiceServer) GetPolicyById ¶
func (UnimplementedPolicyServiceServer) GetPolicyById(context.Context, *GetPolicyByIdRequest) (*GetPolicyByIdResponse, error)
func (UnimplementedPolicyServiceServer) GetPolicyStatusByGroup ¶
func (UnimplementedPolicyServiceServer) GetPolicyStatusByGroup(context.Context, *GetPolicyStatusByGroupRequest) (*GetPolicyStatusByGroupResponse, error)
func (UnimplementedPolicyServiceServer) GetPolicyStatusById ¶
func (UnimplementedPolicyServiceServer) GetPolicyStatusById(context.Context, *GetPolicyStatusByIdRequest) (*GetPolicyStatusByIdResponse, error)
func (UnimplementedPolicyServiceServer) GetRuleTypeById ¶
func (UnimplementedPolicyServiceServer) GetRuleTypeById(context.Context, *GetRuleTypeByIdRequest) (*GetRuleTypeByIdResponse, error)
func (UnimplementedPolicyServiceServer) GetRuleTypeByName ¶
func (UnimplementedPolicyServiceServer) GetRuleTypeByName(context.Context, *GetRuleTypeByNameRequest) (*GetRuleTypeByNameResponse, error)
func (UnimplementedPolicyServiceServer) ListPolicies ¶
func (UnimplementedPolicyServiceServer) ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
func (UnimplementedPolicyServiceServer) ListRuleTypes ¶
func (UnimplementedPolicyServiceServer) ListRuleTypes(context.Context, *ListRuleTypesRequest) (*ListRuleTypesResponse, error)
func (UnimplementedPolicyServiceServer) UpdateRuleType ¶
func (UnimplementedPolicyServiceServer) UpdateRuleType(context.Context, *UpdateRuleTypeRequest) (*UpdateRuleTypeResponse, error)
type UnimplementedRepositoryServiceServer ¶
type UnimplementedRepositoryServiceServer struct {
}
UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRepositoryServiceServer) GetRepositoryById ¶
func (UnimplementedRepositoryServiceServer) GetRepositoryById(context.Context, *GetRepositoryByIdRequest) (*GetRepositoryByIdResponse, error)
func (UnimplementedRepositoryServiceServer) GetRepositoryByName ¶
func (UnimplementedRepositoryServiceServer) GetRepositoryByName(context.Context, *GetRepositoryByNameRequest) (*GetRepositoryByNameResponse, error)
func (UnimplementedRepositoryServiceServer) ListRepositories ¶
func (UnimplementedRepositoryServiceServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (UnimplementedRepositoryServiceServer) RegisterRepository ¶
func (UnimplementedRepositoryServiceServer) RegisterRepository(context.Context, *RegisterRepositoryRequest) (*RegisterRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) SyncRepositories ¶
func (UnimplementedRepositoryServiceServer) SyncRepositories(context.Context, *SyncRepositoriesRequest) (*SyncRepositoriesResponse, error)
type UnimplementedRoleServiceServer ¶
type UnimplementedRoleServiceServer struct {
}
UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleServiceServer) CreateRoleByGroup ¶
func (UnimplementedRoleServiceServer) CreateRoleByGroup(context.Context, *CreateRoleByGroupRequest) (*CreateRoleByGroupResponse, error)
func (UnimplementedRoleServiceServer) CreateRoleByOrganization ¶
func (UnimplementedRoleServiceServer) CreateRoleByOrganization(context.Context, *CreateRoleByOrganizationRequest) (*CreateRoleByOrganizationResponse, error)
func (UnimplementedRoleServiceServer) DeleteRole ¶
func (UnimplementedRoleServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
func (UnimplementedRoleServiceServer) GetRoleById ¶
func (UnimplementedRoleServiceServer) GetRoleById(context.Context, *GetRoleByIdRequest) (*GetRoleByIdResponse, error)
func (UnimplementedRoleServiceServer) GetRoleByName ¶
func (UnimplementedRoleServiceServer) GetRoleByName(context.Context, *GetRoleByNameRequest) (*GetRoleByNameResponse, error)
func (UnimplementedRoleServiceServer) GetRoles ¶
func (UnimplementedRoleServiceServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error)
func (UnimplementedRoleServiceServer) GetRolesByGroup ¶
func (UnimplementedRoleServiceServer) GetRolesByGroup(context.Context, *GetRolesByGroupRequest) (*GetRolesByGroupResponse, error)
type UnimplementedSecretsServiceServer ¶
type UnimplementedSecretsServiceServer struct {
}
UnimplementedSecretsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSecretsServiceServer) GetSecretById ¶
func (UnimplementedSecretsServiceServer) GetSecretById(context.Context, *GetSecretByIdRequest) (*GetSecretByIdResponse, error)
func (UnimplementedSecretsServiceServer) GetSecrets ¶
func (UnimplementedSecretsServiceServer) GetSecrets(context.Context, *GetSecretsRequest) (*GetSecretsResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct {
}
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) GetUserByEmail ¶
func (UnimplementedUserServiceServer) GetUserByEmail(context.Context, *GetUserByEmailRequest) (*GetUserByEmailResponse, error)
func (UnimplementedUserServiceServer) GetUserById ¶
func (UnimplementedUserServiceServer) GetUserById(context.Context, *GetUserByIdRequest) (*GetUserByIdResponse, error)
func (UnimplementedUserServiceServer) GetUserByUserName ¶
func (UnimplementedUserServiceServer) GetUserByUserName(context.Context, *GetUserByUserNameRequest) (*GetUserByUserNameResponse, error)
func (UnimplementedUserServiceServer) GetUsers ¶
func (UnimplementedUserServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
func (UnimplementedUserServiceServer) GetUsersByGroup ¶
func (UnimplementedUserServiceServer) GetUsersByGroup(context.Context, *GetUsersByGroupRequest) (*GetUsersByGroupResponse, error)
func (UnimplementedUserServiceServer) GetUsersByOrganization ¶
func (UnimplementedUserServiceServer) GetUsersByOrganization(context.Context, *GetUsersByOrganizationRequest) (*GetUsersByOrganizationResponse, error)
func (UnimplementedUserServiceServer) UpdatePassword ¶
func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
func (UnimplementedUserServiceServer) UpdateProfile ¶
func (UnimplementedUserServiceServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
type UnimplementedVulnerabilitiesServiceServer ¶
type UnimplementedVulnerabilitiesServiceServer struct {
}
UnimplementedVulnerabilitiesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilities ¶
func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilities(context.Context, *GetVulnerabilitiesRequest) (*GetVulnerabilitiesResponse, error)
func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilityById ¶
func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilityById(context.Context, *GetVulnerabilityByIdRequest) (*GetVulnerabilityByIdResponse, error)
type UnsafeArtifactServiceServer ¶
type UnsafeArtifactServiceServer interface {
// contains filtered or unexported methods
}
UnsafeArtifactServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ArtifactServiceServer will result in compilation errors.
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeBranchProtectionServiceServer ¶
type UnsafeBranchProtectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBranchProtectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BranchProtectionServiceServer will result in compilation errors.
type UnsafeGroupServiceServer ¶
type UnsafeGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServiceServer will result in compilation errors.
type UnsafeHealthServiceServer ¶
type UnsafeHealthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHealthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HealthServiceServer will result in compilation errors.
type UnsafeKeyServiceServer ¶
type UnsafeKeyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKeyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyServiceServer will result in compilation errors.
type UnsafeOAuthServiceServer ¶
type UnsafeOAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OAuthServiceServer will result in compilation errors.
type UnsafeOrganizationServiceServer ¶
type UnsafeOrganizationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServiceServer will result in compilation errors.
type UnsafePolicyServiceServer ¶
type UnsafePolicyServiceServer interface {
// contains filtered or unexported methods
}
UnsafePolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyServiceServer will result in compilation errors.
type UnsafeRepositoryServiceServer ¶
type UnsafeRepositoryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryServiceServer will result in compilation errors.
type UnsafeRoleServiceServer ¶
type UnsafeRoleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRoleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleServiceServer will result in compilation errors.
type UnsafeSecretsServiceServer ¶
type UnsafeSecretsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecretsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretsServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UnsafeVulnerabilitiesServiceServer ¶
type UnsafeVulnerabilitiesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVulnerabilitiesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VulnerabilitiesServiceServer will result in compilation errors.
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
PasswordConfirmation string `protobuf:"bytes,2,opt,name=password_confirmation,json=passwordConfirmation,proto3" json:"password_confirmation,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetPassword ¶
func (x *UpdatePasswordRequest) GetPassword() string
func (*UpdatePasswordRequest) GetPasswordConfirmation ¶
func (x *UpdatePasswordRequest) GetPasswordConfirmation() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordResponse) Descriptor
deprecated
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) ProtoReflect ¶
func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResponse) Reset ¶
func (x *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) String ¶
func (x *UpdatePasswordResponse) String() string
type UpdateProfileRequest ¶
type UpdateProfileRequest struct {
Email *string `protobuf:"bytes,1,opt,name=email,proto3,oneof" json:"email,omitempty"`
FirstName *string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
LastName *string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateProfileRequest) Descriptor
deprecated
func (*UpdateProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateProfileRequest) GetEmail ¶
func (x *UpdateProfileRequest) GetEmail() string
func (*UpdateProfileRequest) GetFirstName ¶
func (x *UpdateProfileRequest) GetFirstName() string
func (*UpdateProfileRequest) GetLastName ¶
func (x *UpdateProfileRequest) GetLastName() string
func (*UpdateProfileRequest) ProtoMessage ¶
func (*UpdateProfileRequest) ProtoMessage()
func (*UpdateProfileRequest) ProtoReflect ¶
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateProfileRequest) Reset ¶
func (x *UpdateProfileRequest) Reset()
func (*UpdateProfileRequest) String ¶
func (x *UpdateProfileRequest) String() string
type UpdateProfileResponse ¶
type UpdateProfileResponse struct {
// contains filtered or unexported fields
}
func (*UpdateProfileResponse) Descriptor
deprecated
func (*UpdateProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.
func (*UpdateProfileResponse) ProtoMessage ¶
func (*UpdateProfileResponse) ProtoMessage()
func (*UpdateProfileResponse) ProtoReflect ¶
func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
func (*UpdateProfileResponse) Reset ¶
func (x *UpdateProfileResponse) Reset()
func (*UpdateProfileResponse) String ¶
func (x *UpdateProfileResponse) String() string
type UpdateRuleTypeRequest ¶
type UpdateRuleTypeRequest struct {
// rule_type is the rule type to be updated.
RuleType *RuleType `protobuf:"bytes,2,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// contains filtered or unexported fields
}
UpdateRuleTypeRequest is the request to update a rule type.
func (*UpdateRuleTypeRequest) Descriptor
deprecated
func (*UpdateRuleTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuleTypeRequest) GetRuleType ¶
func (x *UpdateRuleTypeRequest) GetRuleType() *RuleType
func (*UpdateRuleTypeRequest) ProtoMessage ¶
func (*UpdateRuleTypeRequest) ProtoMessage()
func (*UpdateRuleTypeRequest) ProtoReflect ¶
func (x *UpdateRuleTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateRuleTypeRequest) Reset ¶
func (x *UpdateRuleTypeRequest) Reset()
func (*UpdateRuleTypeRequest) String ¶
func (x *UpdateRuleTypeRequest) String() string
type UpdateRuleTypeResponse ¶
type UpdateRuleTypeResponse struct {
// rule_type is the rule type that was updated.
RuleType *RuleType `protobuf:"bytes,1,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// contains filtered or unexported fields
}
UpdateRuleTypeResponse is the response to update a rule type.
func (*UpdateRuleTypeResponse) Descriptor
deprecated
func (*UpdateRuleTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleTypeResponse.ProtoReflect.Descriptor instead.
func (*UpdateRuleTypeResponse) GetRuleType ¶
func (x *UpdateRuleTypeResponse) GetRuleType() *RuleType
func (*UpdateRuleTypeResponse) ProtoMessage ¶
func (*UpdateRuleTypeResponse) ProtoMessage()
func (*UpdateRuleTypeResponse) ProtoReflect ¶
func (x *UpdateRuleTypeResponse) ProtoReflect() protoreflect.Message
func (*UpdateRuleTypeResponse) Reset ¶
func (x *UpdateRuleTypeResponse) Reset()
func (*UpdateRuleTypeResponse) String ¶
func (x *UpdateRuleTypeResponse) String() string
type UserRecord ¶
type UserRecord struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrganizationId int32 `protobuf:"varint,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
FirstName *string `protobuf:"bytes,6,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
LastName *string `protobuf:"bytes,7,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
IsProtected *bool `protobuf:"varint,8,opt,name=is_protected,json=isProtected,proto3,oneof" json:"is_protected,omitempty"`
NeedsPasswordChange *bool `` /* 127-byte string literal not displayed */
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
user record to be returned
func (*UserRecord) Descriptor
deprecated
func (*UserRecord) Descriptor() ([]byte, []int)
Deprecated: Use UserRecord.ProtoReflect.Descriptor instead.
func (*UserRecord) GetCreatedAt ¶
func (x *UserRecord) GetCreatedAt() *timestamppb.Timestamp
func (*UserRecord) GetEmail ¶
func (x *UserRecord) GetEmail() string
func (*UserRecord) GetFirstName ¶
func (x *UserRecord) GetFirstName() string
func (*UserRecord) GetId ¶
func (x *UserRecord) GetId() int32
func (*UserRecord) GetIsProtected ¶
func (x *UserRecord) GetIsProtected() bool
func (*UserRecord) GetLastName ¶
func (x *UserRecord) GetLastName() string
func (*UserRecord) GetNeedsPasswordChange ¶
func (x *UserRecord) GetNeedsPasswordChange() bool
func (*UserRecord) GetOrganizationId ¶
func (x *UserRecord) GetOrganizationId() int32
func (*UserRecord) GetPassword ¶
func (x *UserRecord) GetPassword() string
func (*UserRecord) GetUpdatedAt ¶
func (x *UserRecord) GetUpdatedAt() *timestamppb.Timestamp
func (*UserRecord) GetUsername ¶
func (x *UserRecord) GetUsername() string
func (*UserRecord) ProtoMessage ¶
func (*UserRecord) ProtoMessage()
func (*UserRecord) ProtoReflect ¶
func (x *UserRecord) ProtoReflect() protoreflect.Message
func (*UserRecord) Reset ¶
func (x *UserRecord) Reset()
func (*UserRecord) String ¶
func (x *UserRecord) String() string
type UserServiceClient ¶
type UserServiceClient interface {
CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error)
GetUsersByOrganization(ctx context.Context, in *GetUsersByOrganizationRequest, opts ...grpc.CallOption) (*GetUsersByOrganizationResponse, error)
GetUsersByGroup(ctx context.Context, in *GetUsersByGroupRequest, opts ...grpc.CallOption) (*GetUsersByGroupResponse, error)
GetUserById(ctx context.Context, in *GetUserByIdRequest, opts ...grpc.CallOption) (*GetUserByIdResponse, error)
GetUserByUserName(ctx context.Context, in *GetUserByUserNameRequest, opts ...grpc.CallOption) (*GetUserByUserNameResponse, error)
GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
GetUserByEmail(ctx context.Context, in *GetUserByEmailRequest, opts ...grpc.CallOption) (*GetUserByEmailResponse, error)
UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error)
UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error)
}
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface {
CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
GetUsersByOrganization(context.Context, *GetUsersByOrganizationRequest) (*GetUsersByOrganizationResponse, error)
GetUsersByGroup(context.Context, *GetUsersByGroupRequest) (*GetUsersByGroupResponse, error)
GetUserById(context.Context, *GetUserByIdRequest) (*GetUserByIdResponse, error)
GetUserByUserName(context.Context, *GetUserByUserNameRequest) (*GetUserByUserNameResponse, error)
GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
GetUserByEmail(context.Context, *GetUserByEmailRequest) (*GetUserByEmailResponse, error)
UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
// contains filtered or unexported methods
}
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type VerifyProviderTokenFromRequest ¶
type VerifyProviderTokenFromRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
GroupId int32 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyProviderTokenFromRequest) Descriptor
deprecated
func (*VerifyProviderTokenFromRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProviderTokenFromRequest.ProtoReflect.Descriptor instead.
func (*VerifyProviderTokenFromRequest) GetGroupId ¶
func (x *VerifyProviderTokenFromRequest) GetGroupId() int32
func (*VerifyProviderTokenFromRequest) GetProvider ¶
func (x *VerifyProviderTokenFromRequest) GetProvider() string
func (*VerifyProviderTokenFromRequest) GetTimestamp ¶
func (x *VerifyProviderTokenFromRequest) GetTimestamp() *timestamppb.Timestamp
func (*VerifyProviderTokenFromRequest) ProtoMessage ¶
func (*VerifyProviderTokenFromRequest) ProtoMessage()
func (*VerifyProviderTokenFromRequest) ProtoReflect ¶
func (x *VerifyProviderTokenFromRequest) ProtoReflect() protoreflect.Message
func (*VerifyProviderTokenFromRequest) Reset ¶
func (x *VerifyProviderTokenFromRequest) Reset()
func (*VerifyProviderTokenFromRequest) String ¶
func (x *VerifyProviderTokenFromRequest) String() string
type VerifyProviderTokenFromResponse ¶
type VerifyProviderTokenFromResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyProviderTokenFromResponse) Descriptor
deprecated
func (*VerifyProviderTokenFromResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProviderTokenFromResponse.ProtoReflect.Descriptor instead.
func (*VerifyProviderTokenFromResponse) GetStatus ¶
func (x *VerifyProviderTokenFromResponse) GetStatus() string
func (*VerifyProviderTokenFromResponse) ProtoMessage ¶
func (*VerifyProviderTokenFromResponse) ProtoMessage()
func (*VerifyProviderTokenFromResponse) ProtoReflect ¶
func (x *VerifyProviderTokenFromResponse) ProtoReflect() protoreflect.Message
func (*VerifyProviderTokenFromResponse) Reset ¶
func (x *VerifyProviderTokenFromResponse) Reset()
func (*VerifyProviderTokenFromResponse) String ¶
func (x *VerifyProviderTokenFromResponse) String() string
type VerifyRequest ¶
type VerifyRequest struct {
// contains filtered or unexported fields
}
func (*VerifyRequest) Descriptor
deprecated
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (x *VerifyRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequest) Reset ¶
func (x *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (x *VerifyRequest) String() string
type VerifyResponse ¶
type VerifyResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyResponse) Descriptor
deprecated
func (*VerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.
func (*VerifyResponse) GetStatus ¶
func (x *VerifyResponse) GetStatus() string
func (*VerifyResponse) ProtoMessage ¶
func (*VerifyResponse) ProtoMessage()
func (*VerifyResponse) ProtoReflect ¶
func (x *VerifyResponse) ProtoReflect() protoreflect.Message
func (*VerifyResponse) Reset ¶
func (x *VerifyResponse) Reset()
func (*VerifyResponse) String ¶
func (x *VerifyResponse) String() string
type VersionedArtifact ¶ added in v0.0.2
type VersionedArtifact struct {
Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
Version *ArtifactVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*VersionedArtifact) Descriptor
deprecated
added in
v0.0.2
func (*VersionedArtifact) Descriptor() ([]byte, []int)
Deprecated: Use VersionedArtifact.ProtoReflect.Descriptor instead.
func (*VersionedArtifact) GetArtifact ¶ added in v0.0.2
func (x *VersionedArtifact) GetArtifact() *Artifact
func (*VersionedArtifact) GetVersion ¶ added in v0.0.2
func (x *VersionedArtifact) GetVersion() *ArtifactVersion
func (*VersionedArtifact) ProtoMessage ¶ added in v0.0.2
func (*VersionedArtifact) ProtoMessage()
func (*VersionedArtifact) ProtoReflect ¶ added in v0.0.2
func (x *VersionedArtifact) ProtoReflect() protoreflect.Message
func (*VersionedArtifact) Reset ¶ added in v0.0.2
func (x *VersionedArtifact) Reset()
func (*VersionedArtifact) String ¶ added in v0.0.2
func (x *VersionedArtifact) String() string
type VulnerabilitiesServiceClient ¶
type VulnerabilitiesServiceClient interface {
GetVulnerabilities(ctx context.Context, in *GetVulnerabilitiesRequest, opts ...grpc.CallOption) (*GetVulnerabilitiesResponse, error)
GetVulnerabilityById(ctx context.Context, in *GetVulnerabilityByIdRequest, opts ...grpc.CallOption) (*GetVulnerabilityByIdResponse, error)
}
VulnerabilitiesServiceClient is the client API for VulnerabilitiesService 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 NewVulnerabilitiesServiceClient ¶
func NewVulnerabilitiesServiceClient(cc grpc.ClientConnInterface) VulnerabilitiesServiceClient
type VulnerabilitiesServiceServer ¶
type VulnerabilitiesServiceServer interface {
GetVulnerabilities(context.Context, *GetVulnerabilitiesRequest) (*GetVulnerabilitiesResponse, error)
GetVulnerabilityById(context.Context, *GetVulnerabilityByIdRequest) (*GetVulnerabilityByIdResponse, error)
// contains filtered or unexported methods
}
VulnerabilitiesServiceServer is the server API for VulnerabilitiesService service. All implementations must embed UnimplementedVulnerabilitiesServiceServer for forward compatibility