_go

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package _go is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ArtifactService_ListArtifacts_FullMethodName   = "/mediator.v1.ArtifactService/ListArtifacts"
	ArtifactService_GetArtifactById_FullMethodName = "/mediator.v1.ArtifactService/GetArtifactById"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	VulnerabilitiesService_GetVulnerabilities_FullMethodName   = "/mediator.v1.VulnerabilitiesService/GetVulnerabilities"
	VulnerabilitiesService_GetVulnerabilityById_FullMethodName = "/mediator.v1.VulnerabilitiesService/GetVulnerabilityById"
)
View Source
const (
	SecretsService_GetSecrets_FullMethodName    = "/mediator.v1.SecretsService/GetSecrets"
	SecretsService_GetSecretById_FullMethodName = "/mediator.v1.SecretsService/GetSecretById"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	KeyService_GetPublicKey_FullMethodName  = "/mediator.v1.KeyService/GetPublicKey"
	KeyService_CreateKeyPair_FullMethodName = "/mediator.v1.KeyService/CreateKeyPair"
)
View Source
const (
	BranchProtectionService_GetBranchProtection_FullMethodName = "/mediator.v1.BranchProtectionService/GetBranchProtection"
)
View Source
const (
	HealthService_CheckHealth_FullMethodName = "/mediator.v1.HealthService/CheckHealth"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
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)

View Source
var (
	// optional mediator.v1.RpcOptions rpc_options = 51077;
	E_RpcOptions = &file_mediator_v1_mediator_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_mediator_v1_mediator_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetArtifactPk added in v0.0.2

func (x *Artifact) GetArtifactPk() int64

func (*Artifact) GetCreatedAt

func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetOwner

func (x *Artifact) GetOwner() string

func (*Artifact) GetRepository

func (x *Artifact) GetRepository() string

func (*Artifact) GetType

func (x *Artifact) GetType() string

func (*Artifact) GetVisibility

func (x *Artifact) GetVisibility() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

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.

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.

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetGroup

func (x *Context) GetGroup() string

func (*Context) GetOrganization

func (x *Context) GetOrganization() string

func (*Context) GetProvider

func (x *Context) GetProvider() string

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

func (x *Context) ProtoReflect() protoreflect.Message

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

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 (*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 (*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 (*CreateOrganizationResponse) ProtoMessage

func (*CreateOrganizationResponse) ProtoMessage()

func (*CreateOrganizationResponse) ProtoReflect

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 (*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 (*CreateRoleByOrganizationRequest) GetOrganizationId

func (x *CreateRoleByOrganizationRequest) GetOrganizationId() int32

func (*CreateRoleByOrganizationRequest) ProtoMessage

func (*CreateRoleByOrganizationRequest) ProtoMessage()

func (*CreateRoleByOrganizationRequest) ProtoReflect

func (*CreateRoleByOrganizationRequest) Reset

func (*CreateRoleByOrganizationRequest) 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 (*CreateRoleByOrganizationResponse) GetId

func (*CreateRoleByOrganizationResponse) GetIsAdmin

func (x *CreateRoleByOrganizationResponse) GetIsAdmin() bool

func (*CreateRoleByOrganizationResponse) GetIsProtected

func (x *CreateRoleByOrganizationResponse) GetIsProtected() bool

func (*CreateRoleByOrganizationResponse) GetName

func (*CreateRoleByOrganizationResponse) GetOrganizationId

func (x *CreateRoleByOrganizationResponse) GetOrganizationId() int32

func (*CreateRoleByOrganizationResponse) GetUpdatedAt

func (*CreateRoleByOrganizationResponse) ProtoMessage

func (*CreateRoleByOrganizationResponse) ProtoMessage()

func (*CreateRoleByOrganizationResponse) ProtoReflect

func (*CreateRoleByOrganizationResponse) Reset

func (*CreateRoleByOrganizationResponse) 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 (*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 (*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) 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 (DepEcosystem) String added in v0.0.3

func (x DepEcosystem) String() string

func (DepEcosystem) Type added in v0.0.3

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) Descriptor() ([]byte, []int)

Deprecated: Use DiffType.ProtoReflect.Descriptor instead.

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

func (*DiffType) Reset added in v0.0.3

func (x *DiffType) Reset()

func (*DiffType) String added in v0.0.3

func (x *DiffType) String() string

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.

const (
	Entity_ENTITY_UNSPECIFIED        Entity = 0
	Entity_ENTITY_REPOSITORIES       Entity = 1
	Entity_ENTITY_BUILD_ENVIRONMENTS Entity = 2
	Entity_ENTITY_ARTIFACTS          Entity = 3
	Entity_ENTITY_PULL_REQUESTS      Entity = 4
)

func (Entity) Descriptor

func (Entity) Descriptor() protoreflect.EnumDescriptor

func (Entity) Enum

func (x Entity) Enum() *Entity

func (Entity) EnumDescriptor deprecated

func (Entity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Entity.Descriptor instead.

func (Entity) Number

func (x Entity) Number() protoreflect.EnumNumber

func (Entity) String

func (x Entity) String() string

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 (*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 (*ExchangeCodeForTokenCLIRequest) Reset

func (x *ExchangeCodeForTokenCLIRequest) Reset()

func (*ExchangeCodeForTokenCLIRequest) 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 (*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 (*ExchangeCodeForTokenWEBRequest) Reset

func (x *ExchangeCodeForTokenWEBRequest) Reset()

func (*ExchangeCodeForTokenWEBRequest) 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 (*ExchangeCodeForTokenWEBResponse) Reset

func (*ExchangeCodeForTokenWEBResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use FilePatch.ProtoReflect.Descriptor instead.

func (*FilePatch) GetName added in v0.0.3

func (x *FilePatch) GetName() string

func (*FilePatch) GetPatchUrl added in v0.0.3

func (x *FilePatch) GetPatchUrl() string

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

func (*FilePatch) Reset added in v0.0.3

func (x *FilePatch) Reset()

func (*FilePatch) String added in v0.0.3

func (x *FilePatch) String() string

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 (*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 (*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 (*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 (*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 (*GetOrganizationByNameRequest) Reset

func (x *GetOrganizationByNameRequest) Reset()

func (*GetOrganizationByNameRequest) 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 (*GetOrganizationByNameResponse) Reset

func (x *GetOrganizationByNameResponse) Reset()

func (*GetOrganizationByNameResponse) 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 (*GetPolicyStatusByGroupRequest) Reset

func (x *GetPolicyStatusByGroupRequest) Reset()

func (*GetPolicyStatusByGroupRequest) 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 (*GetPolicyStatusByGroupResponse) Reset

func (x *GetPolicyStatusByGroupResponse) Reset()

func (*GetPolicyStatusByGroupResponse) 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 (*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 (*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 (*GetPolicyStatusByIdRequest_EntityTypedId) GetType

func (*GetPolicyStatusByIdRequest_EntityTypedId) ProtoMessage

func (*GetPolicyStatusByIdRequest_EntityTypedId) ProtoReflect

func (*GetPolicyStatusByIdRequest_EntityTypedId) Reset

func (*GetPolicyStatusByIdRequest_EntityTypedId) 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 (*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 (*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 (*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 (*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 (*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 (*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 (*GetUsersByOrganizationRequest) Reset

func (x *GetUsersByOrganizationRequest) Reset()

func (*GetUsersByOrganizationRequest) 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 (*GetUsersByOrganizationResponse) Reset

func (x *GetUsersByOrganizationResponse) Reset()

func (*GetUsersByOrganizationResponse) 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 (*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 (*GetVulnerabilitiesResponse) ProtoMessage

func (*GetVulnerabilitiesResponse) ProtoMessage()

func (*GetVulnerabilitiesResponse) ProtoReflect

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 (*GetVulnerabilityByIdRequest) ProtoMessage

func (*GetVulnerabilityByIdRequest) ProtoMessage()

func (*GetVulnerabilityByIdRequest) ProtoReflect

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 (*GetVulnerabilityByIdResponse) GetGhsaid

func (x *GetVulnerabilityByIdResponse) GetGhsaid() string

func (*GetVulnerabilityByIdResponse) GetGithubId

func (x *GetVulnerabilityByIdResponse) GetGithubId() int64

func (*GetVulnerabilityByIdResponse) GetId

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 (*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 (*GetVulnerabilityByIdResponse) Reset

func (x *GetVulnerabilityByIdResponse) Reset()

func (*GetVulnerabilityByIdResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use GitType.ProtoReflect.Descriptor instead.

func (*GitType) GetBranch added in v0.0.2

func (x *GitType) GetBranch() string

func (*GitType) GetCloneUrl added in v0.0.2

func (x *GitType) GetCloneUrl() string

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

func (*GitType) Reset added in v0.0.2

func (x *GitType) Reset()

func (*GitType) String added in v0.0.2

func (x *GitType) String() string

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.

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.

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.

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) 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

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

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 (x *Policy) GetContext() *Context

func (*Policy) GetId added in v0.0.3

func (x *Policy) GetId() int32

func (*Policy) GetName added in v0.0.3

func (x *Policy) GetName() string

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

func (*Policy) Reset added in v0.0.3

func (x *Policy) Reset()

func (*Policy) String added in v0.0.3

func (x *Policy) String() string

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.

type PolicyServiceServer

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 (*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 (*PrDependencies_ContextualDependency) GetFile added in v0.0.3

func (*PrDependencies_ContextualDependency) ProtoMessage added in v0.0.3

func (*PrDependencies_ContextualDependency) ProtoMessage()

func (*PrDependencies_ContextualDependency) ProtoReflect added in v0.0.3

func (*PrDependencies_ContextualDependency) Reset added in v0.0.3

func (*PrDependencies_ContextualDependency) String added in v0.0.3

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) Descriptor() ([]byte, []int)

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetContext

func (x *Provider) GetContext() *Provider_Context

func (*Provider) GetDef

func (x *Provider) GetDef() *Provider_Definition

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

func (x *Provider) ProtoReflect() protoreflect.Message

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) String() string

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 (*Provider_Definition) GetClientTypes

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 (*Provider_Definition_Auth) GetType

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 (*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 (*Provider_Definition_Auth_OAuth2) Reset

func (*Provider_Definition_Auth_OAuth2) 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) Enum

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 (Provider_Definition_Auth_Type) String

func (Provider_Definition_Auth_Type) Type

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 (*Provider_Definition_ClientTypes) ProtoMessage

func (*Provider_Definition_ClientTypes) ProtoMessage()

func (*Provider_Definition_ClientTypes) ProtoReflect

func (*Provider_Definition_ClientTypes) Reset

func (*Provider_Definition_ClientTypes) 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) Enum

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 (Provider_Definition_ClientTypes_Type) String

func (Provider_Definition_ClientTypes_Type) Type

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 (*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 (*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

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use RestType.ProtoReflect.Descriptor instead.

func (*RestType) GetBody

func (x *RestType) GetBody() string

func (*RestType) GetEndpoint

func (x *RestType) GetEndpoint() string

func (*RestType) GetHeaders

func (x *RestType) GetHeaders() []string

func (*RestType) GetMethod

func (x *RestType) GetMethod() string

func (*RestType) GetParse

func (x *RestType) GetParse() string

func (*RestType) ProtoMessage

func (*RestType) ProtoMessage()

func (*RestType) ProtoReflect

func (x *RestType) ProtoReflect() protoreflect.Message

func (*RestType) Reset

func (x *RestType) Reset()

func (*RestType) String

func (x *RestType) String() string

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 (*RevokeOauthGroupTokenRequest) Reset

func (x *RevokeOauthGroupTokenRequest) Reset()

func (*RevokeOauthGroupTokenRequest) 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 (*RevokeOauthGroupTokenResponse) Reset

func (x *RevokeOauthGroupTokenResponse) Reset()

func (*RevokeOauthGroupTokenResponse) 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 (*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

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.

type RoleServiceServer

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) Descriptor() ([]byte, []int)

Deprecated: Use RuleType.ProtoReflect.Descriptor instead.

func (*RuleType) GetContext

func (x *RuleType) GetContext() *Context

func (*RuleType) GetDef

func (x *RuleType) GetDef() *RuleType_Definition

func (*RuleType) GetDescription

func (x *RuleType) GetDescription() string

func (*RuleType) GetGuidance added in v0.0.2

func (x *RuleType) GetGuidance() string

func (*RuleType) GetId

func (x *RuleType) GetId() int32

func (*RuleType) GetName

func (x *RuleType) GetName() string

func (*RuleType) ProtoMessage

func (*RuleType) ProtoMessage()

func (*RuleType) ProtoReflect

func (x *RuleType) ProtoReflect() protoreflect.Message

func (*RuleType) Reset

func (x *RuleType) Reset()

func (*RuleType) String

func (x *RuleType) String() string

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 (*RuleType_Definition) GetInEntity

func (x *RuleType_Definition) GetInEntity() string

func (*RuleType_Definition) GetIngest added in v0.0.2

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 (*RuleType_Definition_Eval) GetRego added in v0.0.2

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 (*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 (*RuleType_Definition_Eval_JQComparison) GetPolicy added in v0.0.2

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 (*RuleType_Definition_Eval_JQComparison) Reset added in v0.0.2

func (*RuleType_Definition_Eval_JQComparison) String added in v0.0.2

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

Deprecated: Use RuleType_Definition_Eval_JQComparison_Operator.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_JQComparison_Operator) GetDef added in v0.0.2

func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoMessage added in v0.0.2

func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoReflect added in v0.0.2

func (*RuleType_Definition_Eval_JQComparison_Operator) Reset added in v0.0.2

func (*RuleType_Definition_Eval_JQComparison_Operator) String added in v0.0.2

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 (*RuleType_Definition_Eval_Rego) GetType added in v0.0.2

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 (*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

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 (*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 (*RuleType_Definition_Eval_Vulncheck) Reset added in v0.0.3

func (*RuleType_Definition_Eval_Vulncheck) String added in v0.0.3

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 (*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.

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 (*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 (*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) ListArtifacts

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) LogIn

func (UnimplementedAuthServiceServer) LogOut

func (UnimplementedAuthServiceServer) RefreshToken

func (UnimplementedAuthServiceServer) RevokeTokens

func (UnimplementedAuthServiceServer) RevokeUserToken

func (UnimplementedAuthServiceServer) Verify

type UnimplementedBranchProtectionServiceServer

type UnimplementedBranchProtectionServiceServer struct {
}

UnimplementedBranchProtectionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBranchProtectionServiceServer) GetBranchProtection

type UnimplementedGroupServiceServer

type UnimplementedGroupServiceServer struct {
}

UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGroupServiceServer) CreateGroup

func (UnimplementedGroupServiceServer) DeleteGroup

func (UnimplementedGroupServiceServer) GetGroupById

func (UnimplementedGroupServiceServer) GetGroupByName

func (UnimplementedGroupServiceServer) GetGroups

type UnimplementedHealthServiceServer

type UnimplementedHealthServiceServer struct {
}

UnimplementedHealthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHealthServiceServer) CheckHealth

type UnimplementedKeyServiceServer

type UnimplementedKeyServiceServer struct {
}

UnimplementedKeyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedKeyServiceServer) CreateKeyPair

func (UnimplementedKeyServiceServer) GetPublicKey

type UnimplementedOAuthServiceServer

type UnimplementedOAuthServiceServer struct {
}

UnimplementedOAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOAuthServiceServer) ExchangeCodeForTokenCLI

func (UnimplementedOAuthServiceServer) RevokeOauthTokens

func (UnimplementedOAuthServiceServer) StoreProviderToken

type UnimplementedOrganizationServiceServer

type UnimplementedOrganizationServiceServer struct {
}

UnimplementedOrganizationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrganizationServiceServer) CreateOrganization

func (UnimplementedOrganizationServiceServer) DeleteOrganization

func (UnimplementedOrganizationServiceServer) GetOrganization

func (UnimplementedOrganizationServiceServer) GetOrganizations

type UnimplementedPolicyServiceServer

type UnimplementedPolicyServiceServer struct {
}

UnimplementedPolicyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPolicyServiceServer) CreatePolicy

func (UnimplementedPolicyServiceServer) CreateRuleType

func (UnimplementedPolicyServiceServer) DeletePolicy

func (UnimplementedPolicyServiceServer) DeleteRuleType

func (UnimplementedPolicyServiceServer) GetPolicyById

func (UnimplementedPolicyServiceServer) GetRuleTypeById

func (UnimplementedPolicyServiceServer) GetRuleTypeByName

func (UnimplementedPolicyServiceServer) ListPolicies

func (UnimplementedPolicyServiceServer) ListRuleTypes

func (UnimplementedPolicyServiceServer) UpdateRuleType

type UnimplementedRepositoryServiceServer

type UnimplementedRepositoryServiceServer struct {
}

UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRepositoryServiceServer) GetRepositoryById

func (UnimplementedRepositoryServiceServer) GetRepositoryByName

func (UnimplementedRepositoryServiceServer) ListRepositories

func (UnimplementedRepositoryServiceServer) RegisterRepository

func (UnimplementedRepositoryServiceServer) SyncRepositories

type UnimplementedRoleServiceServer

type UnimplementedRoleServiceServer struct {
}

UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRoleServiceServer) CreateRoleByGroup

func (UnimplementedRoleServiceServer) DeleteRole

func (UnimplementedRoleServiceServer) GetRoleById

func (UnimplementedRoleServiceServer) GetRoleByName

func (UnimplementedRoleServiceServer) GetRoles

func (UnimplementedRoleServiceServer) GetRolesByGroup

type UnimplementedSecretsServiceServer

type UnimplementedSecretsServiceServer struct {
}

UnimplementedSecretsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSecretsServiceServer) GetSecretById

func (UnimplementedSecretsServiceServer) GetSecrets

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) GetUserByEmail

func (UnimplementedUserServiceServer) GetUserById

func (UnimplementedUserServiceServer) GetUserByUserName

func (UnimplementedUserServiceServer) GetUsers

func (UnimplementedUserServiceServer) GetUsersByGroup

func (UnimplementedUserServiceServer) UpdatePassword

func (UnimplementedUserServiceServer) UpdateProfile

type UnimplementedVulnerabilitiesServiceServer

type UnimplementedVulnerabilitiesServiceServer struct {
}

UnimplementedVulnerabilitiesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilities

func (UnimplementedVulnerabilitiesServiceServer) GetVulnerabilityById

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

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.

type UserServiceServer

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 (*VerifyProviderTokenFromRequest) ProtoMessage

func (*VerifyProviderTokenFromRequest) ProtoMessage()

func (*VerifyProviderTokenFromRequest) ProtoReflect

func (*VerifyProviderTokenFromRequest) Reset

func (x *VerifyProviderTokenFromRequest) Reset()

func (*VerifyProviderTokenFromRequest) 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 (*VerifyProviderTokenFromResponse) Reset

func (*VerifyProviderTokenFromResponse) 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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL