v1

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ArtifactService_ListArtifacts_FullMethodName     = "/minder.v1.ArtifactService/ListArtifacts"
	ArtifactService_GetArtifactById_FullMethodName   = "/minder.v1.ArtifactService/GetArtifactById"
	ArtifactService_GetArtifactByName_FullMethodName = "/minder.v1.ArtifactService/GetArtifactByName"
)
View Source
const (
	OAuthService_GetAuthorizationURL_FullMethodName      = "/minder.v1.OAuthService/GetAuthorizationURL"
	OAuthService_StoreProviderToken_FullMethodName       = "/minder.v1.OAuthService/StoreProviderToken"
	OAuthService_VerifyProviderTokenFrom_FullMethodName  = "/minder.v1.OAuthService/VerifyProviderTokenFrom"
	OAuthService_VerifyProviderCredential_FullMethodName = "/minder.v1.OAuthService/VerifyProviderCredential"
)
View Source
const (
	RepositoryService_RegisterRepository_FullMethodName                 = "/minder.v1.RepositoryService/RegisterRepository"
	RepositoryService_ListRemoteRepositoriesFromProvider_FullMethodName = "/minder.v1.RepositoryService/ListRemoteRepositoriesFromProvider"
	RepositoryService_ListRepositories_FullMethodName                   = "/minder.v1.RepositoryService/ListRepositories"
	RepositoryService_GetRepositoryById_FullMethodName                  = "/minder.v1.RepositoryService/GetRepositoryById"
	RepositoryService_GetRepositoryByName_FullMethodName                = "/minder.v1.RepositoryService/GetRepositoryByName"
	RepositoryService_DeleteRepositoryById_FullMethodName               = "/minder.v1.RepositoryService/DeleteRepositoryById"
	RepositoryService_DeleteRepositoryByName_FullMethodName             = "/minder.v1.RepositoryService/DeleteRepositoryByName"
)
View Source
const (
	UserService_CreateUser_FullMethodName = "/minder.v1.UserService/CreateUser"
	UserService_DeleteUser_FullMethodName = "/minder.v1.UserService/DeleteUser"
	UserService_GetUser_FullMethodName    = "/minder.v1.UserService/GetUser"
)
View Source
const (
	ProfileService_CreateProfile_FullMethodName             = "/minder.v1.ProfileService/CreateProfile"
	ProfileService_UpdateProfile_FullMethodName             = "/minder.v1.ProfileService/UpdateProfile"
	ProfileService_PatchProfile_FullMethodName              = "/minder.v1.ProfileService/PatchProfile"
	ProfileService_DeleteProfile_FullMethodName             = "/minder.v1.ProfileService/DeleteProfile"
	ProfileService_ListProfiles_FullMethodName              = "/minder.v1.ProfileService/ListProfiles"
	ProfileService_GetProfileById_FullMethodName            = "/minder.v1.ProfileService/GetProfileById"
	ProfileService_GetProfileStatusByName_FullMethodName    = "/minder.v1.ProfileService/GetProfileStatusByName"
	ProfileService_GetProfileStatusByProject_FullMethodName = "/minder.v1.ProfileService/GetProfileStatusByProject"
	ProfileService_ListRuleTypes_FullMethodName             = "/minder.v1.ProfileService/ListRuleTypes"
	ProfileService_GetRuleTypeByName_FullMethodName         = "/minder.v1.ProfileService/GetRuleTypeByName"
	ProfileService_GetRuleTypeById_FullMethodName           = "/minder.v1.ProfileService/GetRuleTypeById"
	ProfileService_CreateRuleType_FullMethodName            = "/minder.v1.ProfileService/CreateRuleType"
	ProfileService_UpdateRuleType_FullMethodName            = "/minder.v1.ProfileService/UpdateRuleType"
	ProfileService_DeleteRuleType_FullMethodName            = "/minder.v1.ProfileService/DeleteRuleType"
)
View Source
const (
	PermissionsService_ListRoles_FullMethodName           = "/minder.v1.PermissionsService/ListRoles"
	PermissionsService_ListRoleAssignments_FullMethodName = "/minder.v1.PermissionsService/ListRoleAssignments"
	PermissionsService_AssignRole_FullMethodName          = "/minder.v1.PermissionsService/AssignRole"
	PermissionsService_RemoveRole_FullMethodName          = "/minder.v1.PermissionsService/RemoveRole"
)
View Source
const (
	ProjectsService_ListProjects_FullMethodName                   = "/minder.v1.ProjectsService/ListProjects"
	ProjectsService_CreateProject_FullMethodName                  = "/minder.v1.ProjectsService/CreateProject"
	ProjectsService_DeleteProject_FullMethodName                  = "/minder.v1.ProjectsService/DeleteProject"
	ProjectsService_UpdateProject_FullMethodName                  = "/minder.v1.ProjectsService/UpdateProject"
	ProjectsService_PatchProject_FullMethodName                   = "/minder.v1.ProjectsService/PatchProject"
	ProjectsService_CreateEntityReconciliationTask_FullMethodName = "/minder.v1.ProjectsService/CreateEntityReconciliationTask"
)
View Source
const (
	ProvidersService_GetProvider_FullMethodName           = "/minder.v1.ProvidersService/GetProvider"
	ProvidersService_ListProviders_FullMethodName         = "/minder.v1.ProvidersService/ListProviders"
	ProvidersService_CreateProvider_FullMethodName        = "/minder.v1.ProvidersService/CreateProvider"
	ProvidersService_DeleteProvider_FullMethodName        = "/minder.v1.ProvidersService/DeleteProvider"
	ProvidersService_DeleteProviderByID_FullMethodName    = "/minder.v1.ProvidersService/DeleteProviderByID"
	ProvidersService_GetUnclaimedProviders_FullMethodName = "/minder.v1.ProvidersService/GetUnclaimedProviders"
	ProvidersService_ListProviderClasses_FullMethodName   = "/minder.v1.ProvidersService/ListProviderClasses"
)
View Source
const (
	// ProfileType is the type of the profile resource.
	ProfileType = "profile"
	// ProfileTypeVersion is the version of the profile resource.
	ProfileTypeVersion = "v1"
)
View Source
const (
	// DiffTypeDep is the diff type for a dependency
	DiffTypeDep = "dep"

	// DiffTypeFull is the diff type for including all files from the PR diff
	DiffTypeFull = "full"
)
View Source
const (
	EvalResultsService_ListEvaluationResults_FullMethodName = "/minder.v1.EvalResultsService/ListEvaluationResults"
)
View Source
const (
	HealthService_CheckHealth_FullMethodName = "/minder.v1.HealthService/CheckHealth"
)
View Source
const (
	// IngestTypeDiff is the ingest type for a diff
	IngestTypeDiff = "diff"
)

Variables

View Source
var (
	ObjectOwner_name = map[int32]string{
		0: "OBJECT_OWNER_UNSPECIFIED",
		2: "OBJECT_OWNER_PROJECT",
		3: "OBJECT_OWNER_USER",
	}
	ObjectOwner_value = map[string]int32{
		"OBJECT_OWNER_UNSPECIFIED": 0,
		"OBJECT_OWNER_PROJECT":     2,
		"OBJECT_OWNER_USER":        3,
	}
)

Enum value maps for ObjectOwner.

View Source
var (
	Relation_name = map[int32]string{
		0:  "RELATION_UNSPECIFIED",
		1:  "RELATION_CREATE",
		2:  "RELATION_GET",
		3:  "RELATION_UPDATE",
		4:  "RELATION_DELETE",
		5:  "RELATION_ROLE_LIST",
		6:  "RELATION_ROLE_ASSIGNMENT_LIST",
		7:  "RELATION_ROLE_ASSIGNMENT_CREATE",
		8:  "RELATION_ROLE_ASSIGNMENT_REMOVE",
		9:  "RELATION_REPO_GET",
		10: "RELATION_REPO_CREATE",
		11: "RELATION_REPO_UPDATE",
		12: "RELATION_REPO_DELETE",
		13: "RELATION_ARTIFACT_GET",
		14: "RELATION_ARTIFACT_CREATE",
		15: "RELATION_ARTIFACT_UPDATE",
		16: "RELATION_ARTIFACT_DELETE",
		17: "RELATION_PR_GET",
		18: "RELATION_PR_CREATE",
		19: "RELATION_PR_UPDATE",
		20: "RELATION_PR_DELETE",
		21: "RELATION_PROVIDER_GET",
		22: "RELATION_PROVIDER_CREATE",
		23: "RELATION_PROVIDER_UPDATE",
		24: "RELATION_PROVIDER_DELETE",
		25: "RELATION_RULE_TYPE_GET",
		26: "RELATION_RULE_TYPE_CREATE",
		27: "RELATION_RULE_TYPE_UPDATE",
		28: "RELATION_RULE_TYPE_DELETE",
		29: "RELATION_PROFILE_GET",
		30: "RELATION_PROFILE_CREATE",
		31: "RELATION_PROFILE_UPDATE",
		32: "RELATION_PROFILE_DELETE",
		33: "RELATION_PROFILE_STATUS_GET",
		34: "RELATION_REMOTE_REPO_GET",
		35: "RELATION_ENTITY_RECONCILIATION_TASK_CREATE",
	}
	Relation_value = map[string]int32{
		"RELATION_UNSPECIFIED":                       0,
		"RELATION_CREATE":                            1,
		"RELATION_GET":                               2,
		"RELATION_UPDATE":                            3,
		"RELATION_DELETE":                            4,
		"RELATION_ROLE_LIST":                         5,
		"RELATION_ROLE_ASSIGNMENT_LIST":              6,
		"RELATION_ROLE_ASSIGNMENT_CREATE":            7,
		"RELATION_ROLE_ASSIGNMENT_REMOVE":            8,
		"RELATION_REPO_GET":                          9,
		"RELATION_REPO_CREATE":                       10,
		"RELATION_REPO_UPDATE":                       11,
		"RELATION_REPO_DELETE":                       12,
		"RELATION_ARTIFACT_GET":                      13,
		"RELATION_ARTIFACT_CREATE":                   14,
		"RELATION_ARTIFACT_UPDATE":                   15,
		"RELATION_ARTIFACT_DELETE":                   16,
		"RELATION_PR_GET":                            17,
		"RELATION_PR_CREATE":                         18,
		"RELATION_PR_UPDATE":                         19,
		"RELATION_PR_DELETE":                         20,
		"RELATION_PROVIDER_GET":                      21,
		"RELATION_PROVIDER_CREATE":                   22,
		"RELATION_PROVIDER_UPDATE":                   23,
		"RELATION_PROVIDER_DELETE":                   24,
		"RELATION_RULE_TYPE_GET":                     25,
		"RELATION_RULE_TYPE_CREATE":                  26,
		"RELATION_RULE_TYPE_UPDATE":                  27,
		"RELATION_RULE_TYPE_DELETE":                  28,
		"RELATION_PROFILE_GET":                       29,
		"RELATION_PROFILE_CREATE":                    30,
		"RELATION_PROFILE_UPDATE":                    31,
		"RELATION_PROFILE_DELETE":                    32,
		"RELATION_PROFILE_STATUS_GET":                33,
		"RELATION_REMOTE_REPO_GET":                   34,
		"RELATION_ENTITY_RECONCILIATION_TASK_CREATE": 35,
	}
)

Enum value maps for Relation.

View Source
var (
	TargetResource_name = map[int32]string{
		0: "TARGET_RESOURCE_UNSPECIFIED",
		1: "TARGET_RESOURCE_NONE",
		2: "TARGET_RESOURCE_USER",
		3: "TARGET_RESOURCE_PROJECT",
	}
	TargetResource_value = map[string]int32{
		"TARGET_RESOURCE_UNSPECIFIED": 0,
		"TARGET_RESOURCE_NONE":        1,
		"TARGET_RESOURCE_USER":        2,
		"TARGET_RESOURCE_PROJECT":     3,
	}
)

Enum value maps for TargetResource.

View Source
var (
	DepEcosystem_name = map[int32]string{
		0: "DEP_ECOSYSTEM_UNSPECIFIED",
		1: "DEP_ECOSYSTEM_NPM",
		2: "DEP_ECOSYSTEM_GO",
		3: "DEP_ECOSYSTEM_PYPI",
	}
	DepEcosystem_value = map[string]int32{
		"DEP_ECOSYSTEM_UNSPECIFIED": 0,
		"DEP_ECOSYSTEM_NPM":         1,
		"DEP_ECOSYSTEM_GO":          2,
		"DEP_ECOSYSTEM_PYPI":        3,
	}
)

Enum value maps for DepEcosystem.

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 (
	ProviderType_name = map[int32]string{
		0: "PROVIDER_TYPE_UNSPECIFIED",
		1: "PROVIDER_TYPE_GITHUB",
		2: "PROVIDER_TYPE_REST",
		3: "PROVIDER_TYPE_GIT",
		4: "PROVIDER_TYPE_OCI",
		5: "PROVIDER_TYPE_REPO_LISTER",
	}
	ProviderType_value = map[string]int32{
		"PROVIDER_TYPE_UNSPECIFIED": 0,
		"PROVIDER_TYPE_GITHUB":      1,
		"PROVIDER_TYPE_REST":        2,
		"PROVIDER_TYPE_GIT":         3,
		"PROVIDER_TYPE_OCI":         4,
		"PROVIDER_TYPE_REPO_LISTER": 5,
	}
)

Enum value maps for ProviderType.

View Source
var (
	ProviderClass_name = map[int32]string{
		0: "PROVIDER_CLASS_UNSPECIFIED",
		1: "PROVIDER_CLASS_GITHUB",
		2: "PROVIDER_CLASS_GITHUB_APP",
	}
	ProviderClass_value = map[string]int32{
		"PROVIDER_CLASS_UNSPECIFIED": 0,
		"PROVIDER_CLASS_GITHUB":      1,
		"PROVIDER_CLASS_GITHUB_APP":  2,
	}
)

Enum value maps for ProviderClass.

View Source
var (
	AuthorizationFlow_name = map[int32]string{
		0: "AUTHORIZATION_FLOW_UNSPECIFIED",
		1: "AUTHORIZATION_FLOW_NONE",
		2: "AUTHORIZATION_FLOW_USER_INPUT",
		3: "AUTHORIZATION_FLOW_OAUTH2_AUTHORIZATION_CODE_FLOW",
		4: "AUTHORIZATION_FLOW_GITHUB_APP_FLOW",
	}
	AuthorizationFlow_value = map[string]int32{
		"AUTHORIZATION_FLOW_UNSPECIFIED":                    0,
		"AUTHORIZATION_FLOW_NONE":                           1,
		"AUTHORIZATION_FLOW_USER_INPUT":                     2,
		"AUTHORIZATION_FLOW_OAUTH2_AUTHORIZATION_CODE_FLOW": 3,
		"AUTHORIZATION_FLOW_GITHUB_APP_FLOW":                4,
	}
)

Enum value maps for AuthorizationFlow.

View Source
var (
	CredentialsState_name = map[int32]string{
		0: "CREDENTIALS_STATE_UNSPECIFIED",
		1: "CREDENTIALS_STATE_SET",
		2: "CREDENTIALS_STATE_UNSET",
		3: "CREDENTIALS_STATE_NOT_APPLICABLE",
	}
	CredentialsState_value = map[string]int32{
		"CREDENTIALS_STATE_UNSPECIFIED":    0,
		"CREDENTIALS_STATE_SET":            1,
		"CREDENTIALS_STATE_UNSET":          2,
		"CREDENTIALS_STATE_NOT_APPLICABLE": 3,
	}
)

Enum value maps for CredentialsState.

View Source
var (
	Severity_Value_name = map[int32]string{
		0: "VALUE_UNSPECIFIED",
		1: "VALUE_UNKNOWN",
		2: "VALUE_INFO",
		3: "VALUE_LOW",
		4: "VALUE_MEDIUM",
		5: "VALUE_HIGH",
		6: "VALUE_CRITICAL",
	}
	Severity_Value_value = map[string]int32{
		"VALUE_UNSPECIFIED": 0,
		"VALUE_UNKNOWN":     1,
		"VALUE_INFO":        2,
		"VALUE_LOW":         3,
		"VALUE_MEDIUM":      4,
		"VALUE_HIGH":        5,
		"VALUE_CRITICAL":    6,
	}
)

Enum value maps for Severity_Value.

View Source
var (
	// ErrValidationFailed is returned when a profile fails validation
	ErrValidationFailed = fmt.Errorf("validation failed")

	// ErrBadDNSStyleName is the error returned when a name fails the
	// `dnsStyleNameRegex` regex.
	// TODO: this is an overloaded error message - consider more fine
	// grained validation so we can provide more fine grained errors.
	ErrBadDNSStyleName = errors.New(
		"name may only contain letters, numbers, hyphens and underscores, and is limited to a maximum of 63 characters",
	)
)
View Source
var (
	// ErrInvalidRuleType is returned when a rule type is invalid
	ErrInvalidRuleType = errors.New("invalid rule type")
	// ErrInvalidRuleTypeDefinition is returned when a rule type definition is invalid
	ErrInvalidRuleTypeDefinition = errors.New("invalid rule type definition")
)
View Source
var ArtifactService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.ArtifactService",
	HandlerType: (*ArtifactServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListArtifacts",
			Handler:    _ArtifactService_ListArtifacts_Handler,
		},
		{
			MethodName: "GetArtifactById",
			Handler:    _ArtifactService_GetArtifactById_Handler,
		},
		{
			MethodName: "GetArtifactByName",
			Handler:    _ArtifactService_GetArtifactByName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.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 (
	// optional string name = 42445;
	E_Name = &file_minder_v1_minder_proto_extTypes[0]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var (
	// optional minder.v1.RpcOptions rpc_options = 51077;
	E_RpcOptions = &file_minder_v1_minder_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// ErrInvalidEntity is returned when an entity is invalid
	ErrInvalidEntity = errors.New("invalid entity")
)
View Source
var EvalResultsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.EvalResultsService",
	HandlerType: (*EvalResultsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEvaluationResults",
			Handler:    _EvalResultsService_ListEvaluationResults_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

EvalResultsService_ServiceDesc is the grpc.ServiceDesc for EvalResultsService 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 File_minder_v1_minder_proto protoreflect.FileDescriptor
View Source
var HealthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.HealthService",
	HandlerType: (*HealthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CheckHealth",
			Handler:    _HealthService_CheckHealth_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.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 OAuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.OAuthService",
	HandlerType: (*OAuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAuthorizationURL",
			Handler:    _OAuthService_GetAuthorizationURL_Handler,
		},
		{
			MethodName: "StoreProviderToken",
			Handler:    _OAuthService_StoreProviderToken_Handler,
		},
		{
			MethodName: "VerifyProviderTokenFrom",
			Handler:    _OAuthService_VerifyProviderTokenFrom_Handler,
		},
		{
			MethodName: "VerifyProviderCredential",
			Handler:    _OAuthService_VerifyProviderCredential_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.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 PermissionsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.PermissionsService",
	HandlerType: (*PermissionsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListRoles",
			Handler:    _PermissionsService_ListRoles_Handler,
		},
		{
			MethodName: "ListRoleAssignments",
			Handler:    _PermissionsService_ListRoleAssignments_Handler,
		},
		{
			MethodName: "AssignRole",
			Handler:    _PermissionsService_AssignRole_Handler,
		},
		{
			MethodName: "RemoveRole",
			Handler:    _PermissionsService_RemoveRole_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

PermissionsService_ServiceDesc is the grpc.ServiceDesc for PermissionsService 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 ProfileService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.ProfileService",
	HandlerType: (*ProfileServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateProfile",
			Handler:    _ProfileService_CreateProfile_Handler,
		},
		{
			MethodName: "UpdateProfile",
			Handler:    _ProfileService_UpdateProfile_Handler,
		},
		{
			MethodName: "PatchProfile",
			Handler:    _ProfileService_PatchProfile_Handler,
		},
		{
			MethodName: "DeleteProfile",
			Handler:    _ProfileService_DeleteProfile_Handler,
		},
		{
			MethodName: "ListProfiles",
			Handler:    _ProfileService_ListProfiles_Handler,
		},
		{
			MethodName: "GetProfileById",
			Handler:    _ProfileService_GetProfileById_Handler,
		},
		{
			MethodName: "GetProfileStatusByName",
			Handler:    _ProfileService_GetProfileStatusByName_Handler,
		},
		{
			MethodName: "GetProfileStatusByProject",
			Handler:    _ProfileService_GetProfileStatusByProject_Handler,
		},
		{
			MethodName: "ListRuleTypes",
			Handler:    _ProfileService_ListRuleTypes_Handler,
		},
		{
			MethodName: "GetRuleTypeByName",
			Handler:    _ProfileService_GetRuleTypeByName_Handler,
		},
		{
			MethodName: "GetRuleTypeById",
			Handler:    _ProfileService_GetRuleTypeById_Handler,
		},
		{
			MethodName: "CreateRuleType",
			Handler:    _ProfileService_CreateRuleType_Handler,
		},
		{
			MethodName: "UpdateRuleType",
			Handler:    _ProfileService_UpdateRuleType_Handler,
		},
		{
			MethodName: "DeleteRuleType",
			Handler:    _ProfileService_DeleteRuleType_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

ProfileService_ServiceDesc is the grpc.ServiceDesc for ProfileService 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 ProjectsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.ProjectsService",
	HandlerType: (*ProjectsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListProjects",
			Handler:    _ProjectsService_ListProjects_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _ProjectsService_CreateProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _ProjectsService_DeleteProject_Handler,
		},
		{
			MethodName: "UpdateProject",
			Handler:    _ProjectsService_UpdateProject_Handler,
		},
		{
			MethodName: "PatchProject",
			Handler:    _ProjectsService_PatchProject_Handler,
		},
		{
			MethodName: "CreateEntityReconciliationTask",
			Handler:    _ProjectsService_CreateEntityReconciliationTask_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

ProjectsService_ServiceDesc is the grpc.ServiceDesc for ProjectsService 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 ProvidersService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.ProvidersService",
	HandlerType: (*ProvidersServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProvider",
			Handler:    _ProvidersService_GetProvider_Handler,
		},
		{
			MethodName: "ListProviders",
			Handler:    _ProvidersService_ListProviders_Handler,
		},
		{
			MethodName: "CreateProvider",
			Handler:    _ProvidersService_CreateProvider_Handler,
		},
		{
			MethodName: "DeleteProvider",
			Handler:    _ProvidersService_DeleteProvider_Handler,
		},
		{
			MethodName: "DeleteProviderByID",
			Handler:    _ProvidersService_DeleteProviderByID_Handler,
		},
		{
			MethodName: "GetUnclaimedProviders",
			Handler:    _ProvidersService_GetUnclaimedProviders_Handler,
		},
		{
			MethodName: "ListProviderClasses",
			Handler:    _ProvidersService_ListProviderClasses_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

ProvidersService_ServiceDesc is the grpc.ServiceDesc for ProvidersService 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: "minder.v1.RepositoryService",
	HandlerType: (*RepositoryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterRepository",
			Handler:    _RepositoryService_RegisterRepository_Handler,
		},
		{
			MethodName: "ListRemoteRepositoriesFromProvider",
			Handler:    _RepositoryService_ListRemoteRepositoriesFromProvider_Handler,
		},
		{
			MethodName: "ListRepositories",
			Handler:    _RepositoryService_ListRepositories_Handler,
		},
		{
			MethodName: "GetRepositoryById",
			Handler:    _RepositoryService_GetRepositoryById_Handler,
		},
		{
			MethodName: "GetRepositoryByName",
			Handler:    _RepositoryService_GetRepositoryByName_Handler,
		},
		{
			MethodName: "DeleteRepositoryById",
			Handler:    _RepositoryService_DeleteRepositoryById_Handler,
		},
		{
			MethodName: "DeleteRepositoryByName",
			Handler:    _RepositoryService_DeleteRepositoryByName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.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 UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserService_DeleteUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserService_GetUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.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)

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 RegisterEvalResultsServiceHandler added in v0.0.35

func RegisterEvalResultsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterEvalResultsServiceHandler registers the http handlers for service EvalResultsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterEvalResultsServiceHandlerClient added in v0.0.35

func RegisterEvalResultsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EvalResultsServiceClient) error

RegisterEvalResultsServiceHandlerClient registers the http handlers for service EvalResultsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EvalResultsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EvalResultsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EvalResultsServiceClient" to call the correct interceptors.

func RegisterEvalResultsServiceHandlerFromEndpoint added in v0.0.35

func RegisterEvalResultsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterEvalResultsServiceHandlerFromEndpoint is same as RegisterEvalResultsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterEvalResultsServiceHandlerServer added in v0.0.35

func RegisterEvalResultsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EvalResultsServiceServer) error

RegisterEvalResultsServiceHandlerServer registers the http handlers for service EvalResultsService to "mux". UnaryRPC :call EvalResultsServiceServer 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 RegisterEvalResultsServiceHandlerFromEndpoint instead.

func RegisterEvalResultsServiceServer added in v0.0.35

func RegisterEvalResultsServiceServer(s grpc.ServiceRegistrar, srv EvalResultsServiceServer)

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 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 RegisterPermissionsServiceHandler added in v0.0.28

func RegisterPermissionsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterPermissionsServiceHandler registers the http handlers for service PermissionsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterPermissionsServiceHandlerClient added in v0.0.28

func RegisterPermissionsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionsServiceClient) error

RegisterPermissionsServiceHandlerClient registers the http handlers for service PermissionsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PermissionsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PermissionsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PermissionsServiceClient" to call the correct interceptors.

func RegisterPermissionsServiceHandlerFromEndpoint added in v0.0.28

func RegisterPermissionsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterPermissionsServiceHandlerFromEndpoint is same as RegisterPermissionsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterPermissionsServiceHandlerServer added in v0.0.28

func RegisterPermissionsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionsServiceServer) error

RegisterPermissionsServiceHandlerServer registers the http handlers for service PermissionsService to "mux". UnaryRPC :call PermissionsServiceServer 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 RegisterPermissionsServiceHandlerFromEndpoint instead.

func RegisterPermissionsServiceServer added in v0.0.28

func RegisterPermissionsServiceServer(s grpc.ServiceRegistrar, srv PermissionsServiceServer)

func RegisterProfileServiceHandler

func RegisterProfileServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProfileServiceHandler registers the http handlers for service ProfileService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProfileServiceHandlerClient

func RegisterProfileServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfileServiceClient) error

RegisterProfileServiceHandlerClient registers the http handlers for service ProfileService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProfileServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProfileServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProfileServiceClient" to call the correct interceptors.

func RegisterProfileServiceHandlerFromEndpoint

func RegisterProfileServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProfileServiceHandlerFromEndpoint is same as RegisterProfileServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProfileServiceHandlerServer

func RegisterProfileServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProfileServiceServer) error

RegisterProfileServiceHandlerServer registers the http handlers for service ProfileService to "mux". UnaryRPC :call ProfileServiceServer 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 RegisterProfileServiceHandlerFromEndpoint instead.

func RegisterProfileServiceServer

func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)

func RegisterProjectsServiceHandler added in v0.0.35

func RegisterProjectsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProjectsServiceHandler registers the http handlers for service ProjectsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProjectsServiceHandlerClient added in v0.0.35

func RegisterProjectsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectsServiceClient) error

RegisterProjectsServiceHandlerClient registers the http handlers for service ProjectsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectsServiceClient" to call the correct interceptors.

func RegisterProjectsServiceHandlerFromEndpoint added in v0.0.35

func RegisterProjectsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProjectsServiceHandlerFromEndpoint is same as RegisterProjectsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProjectsServiceHandlerServer added in v0.0.35

func RegisterProjectsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectsServiceServer) error

RegisterProjectsServiceHandlerServer registers the http handlers for service ProjectsService to "mux". UnaryRPC :call ProjectsServiceServer 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 RegisterProjectsServiceHandlerFromEndpoint instead.

func RegisterProjectsServiceServer added in v0.0.35

func RegisterProjectsServiceServer(s grpc.ServiceRegistrar, srv ProjectsServiceServer)

func RegisterProvidersServiceHandler added in v0.0.30

func RegisterProvidersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterProvidersServiceHandler registers the http handlers for service ProvidersService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterProvidersServiceHandlerClient added in v0.0.30

func RegisterProvidersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProvidersServiceClient) error

RegisterProvidersServiceHandlerClient registers the http handlers for service ProvidersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProvidersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProvidersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProvidersServiceClient" to call the correct interceptors.

func RegisterProvidersServiceHandlerFromEndpoint added in v0.0.30

func RegisterProvidersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterProvidersServiceHandlerFromEndpoint is same as RegisterProvidersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterProvidersServiceHandlerServer added in v0.0.30

func RegisterProvidersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProvidersServiceServer) error

RegisterProvidersServiceHandlerServer registers the http handlers for service ProvidersService to "mux". UnaryRPC :call ProvidersServiceServer 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 RegisterProvidersServiceHandlerFromEndpoint instead.

func RegisterProvidersServiceServer added in v0.0.30

func RegisterProvidersServiceServer(s grpc.ServiceRegistrar, srv ProvidersServiceServer)

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

Types

type Artifact

type Artifact struct {
	ArtifactPk string                 `protobuf:"bytes,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"`
	Versions   []*ArtifactVersion     `protobuf:"bytes,7,rep,name=versions,proto3" json:"versions,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Context    *Context               `protobuf:"bytes,9,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*Artifact) Descriptor deprecated

func (*Artifact) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetArtifactPk

func (x *Artifact) GetArtifactPk() string

func (*Artifact) GetContext added in v0.0.43

func (x *Artifact) GetContext() *Context

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) GetTypeLower added in v0.0.29

func (a *Artifact) GetTypeLower() string

GetTypeLower returns the type of the artifact entity in lowercase

func (*Artifact) GetVersions

func (x *Artifact) GetVersions() []*ArtifactVersion

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)
	GetArtifactByName(ctx context.Context, in *GetArtifactByNameRequest, opts ...grpc.CallOption) (*GetArtifactByNameResponse, 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)
	GetArtifactByName(context.Context, *GetArtifactByNameRequest) (*GetArtifactByNameResponse, error)
	// contains filtered or unexported methods
}

ArtifactServiceServer is the server API for ArtifactService service. All implementations must embed UnimplementedArtifactServiceServer for forward compatibility

type ArtifactType

type ArtifactType struct {
	// contains filtered or unexported fields
}

ArtifactType defines the artifact data evaluation.

func (*ArtifactType) Descriptor deprecated

func (*ArtifactType) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactType.ProtoReflect.Descriptor instead.

func (*ArtifactType) ProtoMessage

func (*ArtifactType) ProtoMessage()

func (*ArtifactType) ProtoReflect

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

func (*ArtifactType) Reset

func (x *ArtifactType) Reset()

func (*ArtifactType) String

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"`
	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) GetSha

func (x *ArtifactVersion) GetSha() string

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 AssignRoleRequest added in v0.0.28

type AssignRoleRequest struct {

	// context is the context in which the role assignment is evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// role_assignment is the role assignment to be created.
	RoleAssignment *RoleAssignment `protobuf:"bytes,2,opt,name=role_assignment,json=roleAssignment,proto3" json:"role_assignment,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignRoleRequest) Descriptor deprecated added in v0.0.28

func (*AssignRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssignRoleRequest.ProtoReflect.Descriptor instead.

func (*AssignRoleRequest) GetContext added in v0.0.28

func (x *AssignRoleRequest) GetContext() *Context

func (*AssignRoleRequest) GetRoleAssignment added in v0.0.28

func (x *AssignRoleRequest) GetRoleAssignment() *RoleAssignment

func (*AssignRoleRequest) ProtoMessage added in v0.0.28

func (*AssignRoleRequest) ProtoMessage()

func (*AssignRoleRequest) ProtoReflect added in v0.0.28

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

func (*AssignRoleRequest) Reset added in v0.0.28

func (x *AssignRoleRequest) Reset()

func (*AssignRoleRequest) String added in v0.0.28

func (x *AssignRoleRequest) String() string

type AssignRoleResponse added in v0.0.28

type AssignRoleResponse struct {

	// role_assignment is the role assignment that was created.
	RoleAssignment *RoleAssignment `protobuf:"bytes,1,opt,name=role_assignment,json=roleAssignment,proto3" json:"role_assignment,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignRoleResponse) Descriptor deprecated added in v0.0.28

func (*AssignRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssignRoleResponse.ProtoReflect.Descriptor instead.

func (*AssignRoleResponse) GetRoleAssignment added in v0.0.28

func (x *AssignRoleResponse) GetRoleAssignment() *RoleAssignment

func (*AssignRoleResponse) ProtoMessage added in v0.0.28

func (*AssignRoleResponse) ProtoMessage()

func (*AssignRoleResponse) ProtoReflect added in v0.0.28

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

func (*AssignRoleResponse) Reset added in v0.0.28

func (x *AssignRoleResponse) Reset()

func (*AssignRoleResponse) String added in v0.0.28

func (x *AssignRoleResponse) String() string

type AuthorizationFlow added in v0.0.35

type AuthorizationFlow int32
const (
	AuthorizationFlow_AUTHORIZATION_FLOW_UNSPECIFIED                    AuthorizationFlow = 0
	AuthorizationFlow_AUTHORIZATION_FLOW_NONE                           AuthorizationFlow = 1
	AuthorizationFlow_AUTHORIZATION_FLOW_USER_INPUT                     AuthorizationFlow = 2
	AuthorizationFlow_AUTHORIZATION_FLOW_OAUTH2_AUTHORIZATION_CODE_FLOW AuthorizationFlow = 3
	AuthorizationFlow_AUTHORIZATION_FLOW_GITHUB_APP_FLOW                AuthorizationFlow = 4
)

func (AuthorizationFlow) Descriptor added in v0.0.35

func (AuthorizationFlow) Enum added in v0.0.35

func (AuthorizationFlow) EnumDescriptor deprecated added in v0.0.35

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

Deprecated: Use AuthorizationFlow.Descriptor instead.

func (AuthorizationFlow) Number added in v0.0.35

func (AuthorizationFlow) String added in v0.0.35

func (x AuthorizationFlow) String() string

func (AuthorizationFlow) ToString added in v0.0.35

func (a AuthorizationFlow) ToString() string

ToString returns the string representation of the AuthorizationFlow

func (AuthorizationFlow) Type added in v0.0.35

type AuthorizationParams added in v0.0.36

type AuthorizationParams struct {

	// authorization_url is an external URL to use to authorize the provider.
	AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizationParams) Descriptor deprecated added in v0.0.36

func (*AuthorizationParams) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizationParams.ProtoReflect.Descriptor instead.

func (*AuthorizationParams) GetAuthorizationUrl added in v0.0.36

func (x *AuthorizationParams) GetAuthorizationUrl() string

func (*AuthorizationParams) ProtoMessage added in v0.0.36

func (*AuthorizationParams) ProtoMessage()

func (*AuthorizationParams) ProtoReflect added in v0.0.36

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

func (*AuthorizationParams) Reset added in v0.0.36

func (x *AuthorizationParams) Reset()

func (*AuthorizationParams) String added in v0.0.36

func (x *AuthorizationParams) String() string

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

	// name of the provider
	Provider *string `protobuf:"bytes,1,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
	// ID of the project
	Project             *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"`
	RetiredOrganization *string `protobuf:"bytes,2,opt,name=retired_organization,json=retiredOrganization,proto3,oneof" json:"retired_organization,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 project.

func (*Context) Descriptor deprecated

func (*Context) Descriptor() ([]byte, []int)

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetProject

func (x *Context) GetProject() string

func (*Context) GetProvider

func (x *Context) GetProvider() string

func (*Context) GetRetiredOrganization added in v0.0.20

func (x *Context) GetRetiredOrganization() 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 CreateEntityReconciliationTaskRequest added in v0.0.36

type CreateEntityReconciliationTaskRequest struct {

	// entity is the entity to be reconciled.
	Entity *EntityTypedId `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// context is the context in which the entity reconciliation task is created.
	Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityReconciliationTaskRequest) Descriptor deprecated added in v0.0.36

func (*CreateEntityReconciliationTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEntityReconciliationTaskRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityReconciliationTaskRequest) GetContext added in v0.0.36

func (*CreateEntityReconciliationTaskRequest) GetEntity added in v0.0.36

func (*CreateEntityReconciliationTaskRequest) ProtoMessage added in v0.0.36

func (*CreateEntityReconciliationTaskRequest) ProtoMessage()

func (*CreateEntityReconciliationTaskRequest) ProtoReflect added in v0.0.36

func (*CreateEntityReconciliationTaskRequest) Reset added in v0.0.36

func (*CreateEntityReconciliationTaskRequest) String added in v0.0.36

type CreateEntityReconciliationTaskResponse added in v0.0.36

type CreateEntityReconciliationTaskResponse struct {
	// contains filtered or unexported fields
}

func (*CreateEntityReconciliationTaskResponse) Descriptor deprecated added in v0.0.36

func (*CreateEntityReconciliationTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateEntityReconciliationTaskResponse.ProtoReflect.Descriptor instead.

func (*CreateEntityReconciliationTaskResponse) ProtoMessage added in v0.0.36

func (*CreateEntityReconciliationTaskResponse) ProtoReflect added in v0.0.36

func (*CreateEntityReconciliationTaskResponse) Reset added in v0.0.36

func (*CreateEntityReconciliationTaskResponse) String added in v0.0.36

type CreateProfileRequest

type CreateProfileRequest struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

Profile service

func (*CreateProfileRequest) Descriptor deprecated

func (*CreateProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProfileRequest.ProtoReflect.Descriptor instead.

func (*CreateProfileRequest) GetContext added in v0.0.21

func (r *CreateProfileRequest) GetContext() *Context

GetContext returns the context from the nested Profile

func (*CreateProfileRequest) GetProfile

func (x *CreateProfileRequest) GetProfile() *Profile

func (*CreateProfileRequest) ProtoMessage

func (*CreateProfileRequest) ProtoMessage()

func (*CreateProfileRequest) ProtoReflect

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

func (*CreateProfileRequest) Reset

func (x *CreateProfileRequest) Reset()

func (*CreateProfileRequest) String

func (x *CreateProfileRequest) String() string

type CreateProfileResponse

type CreateProfileResponse struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProfileResponse) Descriptor deprecated

func (*CreateProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateProfileResponse.ProtoReflect.Descriptor instead.

func (*CreateProfileResponse) GetProfile

func (x *CreateProfileResponse) GetProfile() *Profile

func (*CreateProfileResponse) ProtoMessage

func (*CreateProfileResponse) ProtoMessage()

func (*CreateProfileResponse) ProtoReflect

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

func (*CreateProfileResponse) Reset

func (x *CreateProfileResponse) Reset()

func (*CreateProfileResponse) String

func (x *CreateProfileResponse) String() string

type CreateProjectRequest added in v0.0.35

type CreateProjectRequest struct {

	// context is the context in which the project is created.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// name is the name of the project to create.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated added in v0.0.35

func (*CreateProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetContext added in v0.0.35

func (x *CreateProjectRequest) GetContext() *Context

func (*CreateProjectRequest) GetName added in v0.0.35

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) ProtoMessage added in v0.0.35

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect added in v0.0.35

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

func (*CreateProjectRequest) Reset added in v0.0.35

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String added in v0.0.35

func (x *CreateProjectRequest) String() string

type CreateProjectResponse added in v0.0.35

type CreateProjectResponse struct {

	// project is the project that was created.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectResponse) Descriptor deprecated added in v0.0.35

func (*CreateProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetProject added in v0.0.35

func (x *CreateProjectResponse) GetProject() *Project

func (*CreateProjectResponse) ProtoMessage added in v0.0.35

func (*CreateProjectResponse) ProtoMessage()

func (*CreateProjectResponse) ProtoReflect added in v0.0.35

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

func (*CreateProjectResponse) Reset added in v0.0.35

func (x *CreateProjectResponse) Reset()

func (*CreateProjectResponse) String added in v0.0.35

func (x *CreateProjectResponse) String() string

type CreateProviderRequest added in v0.0.36

type CreateProviderRequest struct {

	// context is the context in which the provider is created.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// provider is the provider to be created.
	Provider *Provider `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProviderRequest) Descriptor deprecated added in v0.0.36

func (*CreateProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateProviderRequest) GetContext added in v0.0.36

func (x *CreateProviderRequest) GetContext() *Context

func (*CreateProviderRequest) GetProvider added in v0.0.36

func (x *CreateProviderRequest) GetProvider() *Provider

func (*CreateProviderRequest) ProtoMessage added in v0.0.36

func (*CreateProviderRequest) ProtoMessage()

func (*CreateProviderRequest) ProtoReflect added in v0.0.36

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

func (*CreateProviderRequest) Reset added in v0.0.36

func (x *CreateProviderRequest) Reset()

func (*CreateProviderRequest) String added in v0.0.36

func (x *CreateProviderRequest) String() string

type CreateProviderResponse added in v0.0.36

type CreateProviderResponse struct {

	// provider is the provider that was created.
	Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// authorization provides additional authorization information needed
	// to complete the initialization of the provider.
	Authorization *AuthorizationParams `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProviderResponse) Descriptor deprecated added in v0.0.36

func (*CreateProviderResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateProviderResponse.ProtoReflect.Descriptor instead.

func (*CreateProviderResponse) GetAuthorization added in v0.0.36

func (x *CreateProviderResponse) GetAuthorization() *AuthorizationParams

func (*CreateProviderResponse) GetProvider added in v0.0.36

func (x *CreateProviderResponse) GetProvider() *Provider

func (*CreateProviderResponse) ProtoMessage added in v0.0.36

func (*CreateProviderResponse) ProtoMessage()

func (*CreateProviderResponse) ProtoReflect added in v0.0.36

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

func (*CreateProviderResponse) Reset added in v0.0.36

func (x *CreateProviderResponse) Reset()

func (*CreateProviderResponse) String added in v0.0.36

func (x *CreateProviderResponse) String() string

type CreateRuleTypeRequest

type CreateRuleTypeRequest struct {

	// rule_type is the rule type to be created.
	RuleType *RuleType `protobuf:"bytes,1,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
	// contains filtered or unexported fields
}

CreateRuleTypeRequest is the request to create a rule type.

func (*CreateRuleTypeRequest) Descriptor deprecated

func (*CreateRuleTypeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRuleTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateRuleTypeRequest) GetContext added in v0.0.21

func (r *CreateRuleTypeRequest) GetContext() *Context

GetContext returns the context from the nested RuleType

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 {
	// contains filtered or unexported fields
}

User service

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

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"`
	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	OrganizatioName string                 `protobuf:"bytes,3,opt,name=organizatio_name,json=organizatioName,proto3" json:"organizatio_name,omitempty"`
	ProjectId       string                 `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ProjectName     string                 `protobuf:"bytes,5,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	IdentitySubject string                 `protobuf:"bytes,6,opt,name=identity_subject,json=identitySubject,proto3" json:"identity_subject,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Context         *Context               `protobuf:"bytes,8,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

func (*CreateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetContext added in v0.0.21

func (x *CreateUserResponse) GetContext() *Context

func (*CreateUserResponse) GetCreatedAt

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

func (*CreateUserResponse) GetId

func (x *CreateUserResponse) GetId() int32

func (*CreateUserResponse) GetIdentitySubject

func (x *CreateUserResponse) GetIdentitySubject() string

func (*CreateUserResponse) GetOrganizatioName deprecated

func (x *CreateUserResponse) GetOrganizatioName() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*CreateUserResponse) GetOrganizationId deprecated

func (x *CreateUserResponse) GetOrganizationId() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*CreateUserResponse) GetProjectId

func (x *CreateUserResponse) GetProjectId() string

func (*CreateUserResponse) GetProjectName

func (x *CreateUserResponse) GetProjectName() 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 CredentialsState added in v0.0.39

type CredentialsState int32
const (
	CredentialsState_CREDENTIALS_STATE_UNSPECIFIED    CredentialsState = 0
	CredentialsState_CREDENTIALS_STATE_SET            CredentialsState = 1
	CredentialsState_CREDENTIALS_STATE_UNSET          CredentialsState = 2
	CredentialsState_CREDENTIALS_STATE_NOT_APPLICABLE CredentialsState = 3
)

func (CredentialsState) Descriptor added in v0.0.39

func (CredentialsState) Enum added in v0.0.39

func (CredentialsState) EnumDescriptor deprecated added in v0.0.39

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

Deprecated: Use CredentialsState.Descriptor instead.

func (CredentialsState) Number added in v0.0.39

func (CredentialsState) String added in v0.0.39

func (x CredentialsState) String() string

func (CredentialsState) ToString added in v0.0.39

func (c CredentialsState) ToString() string

ToString returns the string representation of the CredentialsState

func (CredentialsState) Type added in v0.0.39

type DeleteProfileRequest

type DeleteProfileRequest 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 profile to delete
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProfileRequest) Descriptor deprecated

func (*DeleteProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) GetContext

func (x *DeleteProfileRequest) GetContext() *Context

func (*DeleteProfileRequest) GetId

func (x *DeleteProfileRequest) GetId() string

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

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

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

type DeleteProfileResponse

type DeleteProfileResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteProfileResponse) Descriptor deprecated

func (*DeleteProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.

func (*DeleteProfileResponse) ProtoMessage

func (*DeleteProfileResponse) ProtoMessage()

func (*DeleteProfileResponse) ProtoReflect

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

func (*DeleteProfileResponse) Reset

func (x *DeleteProfileResponse) Reset()

func (*DeleteProfileResponse) String

func (x *DeleteProfileResponse) String() string

type DeleteProjectRequest added in v0.0.35

type DeleteProjectRequest struct {

	// context is the context in which the project is deleted.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectRequest) Descriptor deprecated added in v0.0.35

func (*DeleteProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetContext added in v0.0.35

func (x *DeleteProjectRequest) GetContext() *Context

func (*DeleteProjectRequest) ProtoMessage added in v0.0.35

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect added in v0.0.35

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

func (*DeleteProjectRequest) Reset added in v0.0.35

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String added in v0.0.35

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse added in v0.0.35

type DeleteProjectResponse struct {

	// project_id is the id of the project that was deleted.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProjectResponse) Descriptor deprecated added in v0.0.35

func (*DeleteProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) GetProjectId added in v0.0.35

func (x *DeleteProjectResponse) GetProjectId() string

func (*DeleteProjectResponse) ProtoMessage added in v0.0.35

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect added in v0.0.35

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

func (*DeleteProjectResponse) Reset added in v0.0.35

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String added in v0.0.35

func (x *DeleteProjectResponse) String() string

type DeleteProviderByIDRequest added in v0.0.40

type DeleteProviderByIDRequest struct {

	// context is the context in which the provider is deleted. Only the project is required in this context.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// id is the id of the provider to delete
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProviderByIDRequest) Descriptor deprecated added in v0.0.40

func (*DeleteProviderByIDRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProviderByIDRequest.ProtoReflect.Descriptor instead.

func (*DeleteProviderByIDRequest) GetContext added in v0.0.40

func (x *DeleteProviderByIDRequest) GetContext() *Context

func (*DeleteProviderByIDRequest) GetId added in v0.0.40

func (x *DeleteProviderByIDRequest) GetId() string

func (*DeleteProviderByIDRequest) ProtoMessage added in v0.0.40

func (*DeleteProviderByIDRequest) ProtoMessage()

func (*DeleteProviderByIDRequest) ProtoReflect added in v0.0.40

func (*DeleteProviderByIDRequest) Reset added in v0.0.40

func (x *DeleteProviderByIDRequest) Reset()

func (*DeleteProviderByIDRequest) String added in v0.0.40

func (x *DeleteProviderByIDRequest) String() string

type DeleteProviderByIDResponse added in v0.0.40

type DeleteProviderByIDResponse struct {

	// id is the id of the provider that was deleted
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProviderByIDResponse) Descriptor deprecated added in v0.0.40

func (*DeleteProviderByIDResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProviderByIDResponse.ProtoReflect.Descriptor instead.

func (*DeleteProviderByIDResponse) GetId added in v0.0.40

func (*DeleteProviderByIDResponse) ProtoMessage added in v0.0.40

func (*DeleteProviderByIDResponse) ProtoMessage()

func (*DeleteProviderByIDResponse) ProtoReflect added in v0.0.40

func (*DeleteProviderByIDResponse) Reset added in v0.0.40

func (x *DeleteProviderByIDResponse) Reset()

func (*DeleteProviderByIDResponse) String added in v0.0.40

func (x *DeleteProviderByIDResponse) String() string

type DeleteProviderRequest added in v0.0.36

type DeleteProviderRequest struct {

	// context is the context in which the provider is deleted.  Both
	// project and provider are required in this context.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProviderRequest) Descriptor deprecated added in v0.0.36

func (*DeleteProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteProviderRequest) GetContext added in v0.0.36

func (x *DeleteProviderRequest) GetContext() *Context

func (*DeleteProviderRequest) ProtoMessage added in v0.0.36

func (*DeleteProviderRequest) ProtoMessage()

func (*DeleteProviderRequest) ProtoReflect added in v0.0.36

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

func (*DeleteProviderRequest) Reset added in v0.0.36

func (x *DeleteProviderRequest) Reset()

func (*DeleteProviderRequest) String added in v0.0.36

func (x *DeleteProviderRequest) String() string

type DeleteProviderResponse added in v0.0.36

type DeleteProviderResponse struct {

	// name is the name of the provider that was deleted
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProviderResponse) Descriptor deprecated added in v0.0.36

func (*DeleteProviderResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProviderResponse.ProtoReflect.Descriptor instead.

func (*DeleteProviderResponse) GetName added in v0.0.40

func (x *DeleteProviderResponse) GetName() string

func (*DeleteProviderResponse) ProtoMessage added in v0.0.36

func (*DeleteProviderResponse) ProtoMessage()

func (*DeleteProviderResponse) ProtoReflect added in v0.0.36

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

func (*DeleteProviderResponse) Reset added in v0.0.36

func (x *DeleteProviderResponse) Reset()

func (*DeleteProviderResponse) String added in v0.0.36

func (x *DeleteProviderResponse) String() string

type DeleteRepositoryByIdRequest

type DeleteRepositoryByIdRequest struct {
	RepositoryId string   `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	Context      *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryByIdRequest) Descriptor deprecated

func (*DeleteRepositoryByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryByIdRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryByIdRequest) GetContext added in v0.0.21

func (x *DeleteRepositoryByIdRequest) GetContext() *Context

func (*DeleteRepositoryByIdRequest) GetRepositoryId

func (x *DeleteRepositoryByIdRequest) GetRepositoryId() string

func (*DeleteRepositoryByIdRequest) ProtoMessage

func (*DeleteRepositoryByIdRequest) ProtoMessage()

func (*DeleteRepositoryByIdRequest) ProtoReflect

func (*DeleteRepositoryByIdRequest) Reset

func (x *DeleteRepositoryByIdRequest) Reset()

func (*DeleteRepositoryByIdRequest) String

func (x *DeleteRepositoryByIdRequest) String() string

type DeleteRepositoryByIdResponse

type DeleteRepositoryByIdResponse struct {
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryByIdResponse) Descriptor deprecated

func (*DeleteRepositoryByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryByIdResponse.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryByIdResponse) GetRepositoryId

func (x *DeleteRepositoryByIdResponse) GetRepositoryId() string

func (*DeleteRepositoryByIdResponse) ProtoMessage

func (*DeleteRepositoryByIdResponse) ProtoMessage()

func (*DeleteRepositoryByIdResponse) ProtoReflect

func (*DeleteRepositoryByIdResponse) Reset

func (x *DeleteRepositoryByIdResponse) Reset()

func (*DeleteRepositoryByIdResponse) String

type DeleteRepositoryByNameRequest

type DeleteRepositoryByNameRequest struct {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Name     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Context  *Context `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryByNameRequest) Descriptor deprecated

func (*DeleteRepositoryByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryByNameRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryByNameRequest) GetContext added in v0.0.21

func (x *DeleteRepositoryByNameRequest) GetContext() *Context

func (*DeleteRepositoryByNameRequest) GetName

func (*DeleteRepositoryByNameRequest) GetProvider deprecated

func (x *DeleteRepositoryByNameRequest) GetProvider() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*DeleteRepositoryByNameRequest) ProtoMessage

func (*DeleteRepositoryByNameRequest) ProtoMessage()

func (*DeleteRepositoryByNameRequest) ProtoReflect

func (*DeleteRepositoryByNameRequest) Reset

func (x *DeleteRepositoryByNameRequest) Reset()

func (*DeleteRepositoryByNameRequest) String

type DeleteRepositoryByNameResponse

type DeleteRepositoryByNameResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryByNameResponse) Descriptor deprecated

func (*DeleteRepositoryByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryByNameResponse.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryByNameResponse) GetName

func (*DeleteRepositoryByNameResponse) ProtoMessage

func (*DeleteRepositoryByNameResponse) ProtoMessage()

func (*DeleteRepositoryByNameResponse) ProtoReflect

func (*DeleteRepositoryByNameResponse) Reset

func (x *DeleteRepositoryByNameResponse) Reset()

func (*DeleteRepositoryByNameResponse) 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 string `protobuf:"bytes,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() string

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 {
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

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

type DepEcosystem int32
const (
	DepEcosystem_DEP_ECOSYSTEM_UNSPECIFIED DepEcosystem = 0
	DepEcosystem_DEP_ECOSYSTEM_NPM         DepEcosystem = 1
	DepEcosystem_DEP_ECOSYSTEM_GO          DepEcosystem = 2
	DepEcosystem_DEP_ECOSYSTEM_PYPI        DepEcosystem = 3
)

func (DepEcosystem) AsString

func (ecosystem DepEcosystem) AsString() string

AsString returns the string representation of the DepEcosystem

func (DepEcosystem) Descriptor

func (DepEcosystem) Enum

func (x DepEcosystem) Enum() *DepEcosystem

func (DepEcosystem) EnumDescriptor deprecated

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

Deprecated: Use DepEcosystem.Descriptor instead.

func (DepEcosystem) Number

func (DepEcosystem) String

func (x DepEcosystem) String() string

func (DepEcosystem) Type

type Dependency

type Dependency struct {
	Ecosystem DepEcosystem `protobuf:"varint,1,opt,name=ecosystem,proto3,enum=minder.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

func (*Dependency) Descriptor() ([]byte, []int)

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetEcosystem

func (x *Dependency) GetEcosystem() DepEcosystem

func (*Dependency) GetName

func (x *Dependency) GetName() string

func (*Dependency) GetVersion

func (x *Dependency) GetVersion() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect

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

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type DiffType

type DiffType struct {

	// ecosystems is the list of ecosystems to be used
	// for the "dep" diff type.
	Ecosystems []*DiffType_Ecosystem `protobuf:"bytes,1,rep,name=ecosystems,proto3" json:"ecosystems,omitempty"`
	// type is the type of diff ingestor to use.
	// The default is "dep" which will leverage
	// the ecosystems array.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

DiffType defines the diff data ingester.

func (*DiffType) Descriptor deprecated

func (*DiffType) Descriptor() ([]byte, []int)

Deprecated: Use DiffType.ProtoReflect.Descriptor instead.

func (*DiffType) GetEcosystems

func (x *DiffType) GetEcosystems() []*DiffType_Ecosystem

func (*DiffType) GetType added in v0.0.22

func (x *DiffType) GetType() string

func (*DiffType) ProtoMessage

func (*DiffType) ProtoMessage()

func (*DiffType) ProtoReflect

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

func (*DiffType) Reset

func (x *DiffType) Reset()

func (*DiffType) String

func (x *DiffType) String() string

func (*DiffType) Validate added in v0.0.22

func (diffing *DiffType) Validate() error

Validate validates a rule type definition ingest diff

type DiffType_Ecosystem

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

func (*DiffType_Ecosystem) Descriptor() ([]byte, []int)

Deprecated: Use DiffType_Ecosystem.ProtoReflect.Descriptor instead.

func (*DiffType_Ecosystem) GetDepfile

func (x *DiffType_Ecosystem) GetDepfile() string

func (*DiffType_Ecosystem) GetName

func (x *DiffType_Ecosystem) GetName() string

func (*DiffType_Ecosystem) ProtoMessage

func (*DiffType_Ecosystem) ProtoMessage()

func (*DiffType_Ecosystem) ProtoReflect

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

func (*DiffType_Ecosystem) Reset

func (x *DiffType_Ecosystem) Reset()

func (*DiffType_Ecosystem) String

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 EntityFromString

func EntityFromString(entity string) Entity

EntityFromString returns the Entity enum from a string. Typically used in CLI when constructing a protobuf message

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

func (entity Entity) IsValid() bool

IsValid returns true if the entity type is valid

func (Entity) Number

func (x Entity) Number() protoreflect.EnumNumber

func (Entity) String

func (x Entity) String() string

func (Entity) ToString

func (entity Entity) ToString() string

ToString returns the string representation of the entity type

func (Entity) Type

func (Entity) Type() protoreflect.EnumType

func (*Entity) Validate

func (entity *Entity) Validate() error

Validate ensures that an entity is valid

type EntityType

type EntityType string

EntityType is the type of entity

const (
	// RepositoryEntity is a repository entity
	RepositoryEntity EntityType = "repository"
	// BuildEnvironmentEntity is a build environment entity
	BuildEnvironmentEntity EntityType = "build_environment"
	// ArtifactEntity is an artifact entity
	ArtifactEntity EntityType = "artifact"
	// PullRequestEntity is a pull request entity
	PullRequestEntity EntityType = "pull_request"
	// UnknownEntity is an explicitly unknown entity
	UnknownEntity EntityType = "unknown"
)

Entity types as string-like enums. Used in CLI and other user-facing code

func (EntityType) String

func (e EntityType) String() string

String returns the string representation of the entity type

type EntityTypedId added in v0.0.35

type EntityTypedId struct {

	// entity is the entity to get status for. Incompatible with `all`
	Type Entity `protobuf:"varint,1,opt,name=type,proto3,enum=minder.v1.Entity" json:"type,omitempty"`
	// id is the ID of the entity to get status for. Incompatible with `all`
	Id string `protobuf:"bytes,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), ...

func (*EntityTypedId) Descriptor deprecated added in v0.0.35

func (*EntityTypedId) Descriptor() ([]byte, []int)

Deprecated: Use EntityTypedId.ProtoReflect.Descriptor instead.

func (*EntityTypedId) GetId added in v0.0.35

func (x *EntityTypedId) GetId() string

func (*EntityTypedId) GetType added in v0.0.35

func (x *EntityTypedId) GetType() Entity

func (*EntityTypedId) ProtoMessage added in v0.0.35

func (*EntityTypedId) ProtoMessage()

func (*EntityTypedId) ProtoReflect added in v0.0.35

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

func (*EntityTypedId) Reset added in v0.0.35

func (x *EntityTypedId) Reset()

func (*EntityTypedId) String added in v0.0.35

func (x *EntityTypedId) String() string

type EvalResultAlert added in v0.0.35

type EvalResultAlert struct {

	// status is the status of the alert
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// last_updated is the last time the alert was performed or attempted
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// details is the description of the alert attempt if any
	Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	// url is the URL to the alert
	Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

EvalResultAlert holds the alert details for a given rule evaluation

func (*EvalResultAlert) Descriptor deprecated added in v0.0.35

func (*EvalResultAlert) Descriptor() ([]byte, []int)

Deprecated: Use EvalResultAlert.ProtoReflect.Descriptor instead.

func (*EvalResultAlert) GetDetails added in v0.0.35

func (x *EvalResultAlert) GetDetails() string

func (*EvalResultAlert) GetLastUpdated added in v0.0.35

func (x *EvalResultAlert) GetLastUpdated() *timestamppb.Timestamp

func (*EvalResultAlert) GetStatus added in v0.0.35

func (x *EvalResultAlert) GetStatus() string

func (*EvalResultAlert) GetUrl added in v0.0.35

func (x *EvalResultAlert) GetUrl() string

func (*EvalResultAlert) ProtoMessage added in v0.0.35

func (*EvalResultAlert) ProtoMessage()

func (*EvalResultAlert) ProtoReflect added in v0.0.35

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

func (*EvalResultAlert) Reset added in v0.0.35

func (x *EvalResultAlert) Reset()

func (*EvalResultAlert) String added in v0.0.35

func (x *EvalResultAlert) String() string

type EvalResultsServiceClient added in v0.0.35

type EvalResultsServiceClient interface {
	ListEvaluationResults(ctx context.Context, in *ListEvaluationResultsRequest, opts ...grpc.CallOption) (*ListEvaluationResultsResponse, error)
}

EvalResultsServiceClient is the client API for EvalResultsService 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 NewEvalResultsServiceClient added in v0.0.35

func NewEvalResultsServiceClient(cc grpc.ClientConnInterface) EvalResultsServiceClient

type EvalResultsServiceServer added in v0.0.35

type EvalResultsServiceServer interface {
	ListEvaluationResults(context.Context, *ListEvaluationResultsRequest) (*ListEvaluationResultsResponse, error)
	// contains filtered or unexported methods
}

EvalResultsServiceServer is the server API for EvalResultsService service. All implementations must embed UnimplementedEvalResultsServiceServer for forward compatibility

type GetArtifactByIdRequest

type GetArtifactByIdRequest struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Context *Context `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArtifactByIdRequest) Descriptor deprecated

func (*GetArtifactByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetArtifactByIdRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactByIdRequest) GetContext added in v0.0.21

func (x *GetArtifactByIdRequest) GetContext() *Context

func (*GetArtifactByIdRequest) GetId

func (x *GetArtifactByIdRequest) GetId() 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 GetArtifactByNameRequest added in v0.0.22

type GetArtifactByNameRequest struct {
	Name    string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Context *Context `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetArtifactByNameRequest) Descriptor deprecated added in v0.0.22

func (*GetArtifactByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetArtifactByNameRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactByNameRequest) GetContext added in v0.0.22

func (x *GetArtifactByNameRequest) GetContext() *Context

func (*GetArtifactByNameRequest) GetName added in v0.0.22

func (x *GetArtifactByNameRequest) GetName() string

func (*GetArtifactByNameRequest) ProtoMessage added in v0.0.22

func (*GetArtifactByNameRequest) ProtoMessage()

func (*GetArtifactByNameRequest) ProtoReflect added in v0.0.22

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

func (*GetArtifactByNameRequest) Reset added in v0.0.22

func (x *GetArtifactByNameRequest) Reset()

func (*GetArtifactByNameRequest) String added in v0.0.22

func (x *GetArtifactByNameRequest) String() string

type GetArtifactByNameResponse added in v0.0.22

type GetArtifactByNameResponse 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 (*GetArtifactByNameResponse) Descriptor deprecated added in v0.0.22

func (*GetArtifactByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetArtifactByNameResponse.ProtoReflect.Descriptor instead.

func (*GetArtifactByNameResponse) GetArtifact added in v0.0.22

func (x *GetArtifactByNameResponse) GetArtifact() *Artifact

func (*GetArtifactByNameResponse) GetVersions added in v0.0.22

func (x *GetArtifactByNameResponse) GetVersions() []*ArtifactVersion

func (*GetArtifactByNameResponse) ProtoMessage added in v0.0.22

func (*GetArtifactByNameResponse) ProtoMessage()

func (*GetArtifactByNameResponse) ProtoReflect added in v0.0.22

func (*GetArtifactByNameResponse) Reset added in v0.0.22

func (x *GetArtifactByNameResponse) Reset()

func (*GetArtifactByNameResponse) String added in v0.0.22

func (x *GetArtifactByNameResponse) String() string

type GetAuthorizationURLRequest

type GetAuthorizationURLRequest struct {
	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"`
	Context     *Context `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	RedirectUrl *string  `protobuf:"bytes,7,opt,name=redirect_url,json=redirectUrl,proto3,oneof" json:"redirect_url,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) GetContext added in v0.0.21

func (x *GetAuthorizationURLRequest) GetContext() *Context

func (*GetAuthorizationURLRequest) GetOwner

func (x *GetAuthorizationURLRequest) GetOwner() string

func (*GetAuthorizationURLRequest) GetPort

func (x *GetAuthorizationURLRequest) GetPort() int32

func (*GetAuthorizationURLRequest) GetRedirectUrl added in v0.0.32

func (x *GetAuthorizationURLRequest) GetRedirectUrl() 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"`
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuthorizationURLResponse) Descriptor deprecated

func (*GetAuthorizationURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAuthorizationURLResponse.ProtoReflect.Descriptor instead.

func (*GetAuthorizationURLResponse) GetState added in v0.0.39

func (x *GetAuthorizationURLResponse) GetState() string

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 GetProfileByIdRequest

type GetProfileByIdRequest struct {

	// context is the context which contains the profiles
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// id is the id of the profile to get
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

get profile by id

func (*GetProfileByIdRequest) Descriptor deprecated

func (*GetProfileByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileByIdRequest.ProtoReflect.Descriptor instead.

func (*GetProfileByIdRequest) GetContext

func (x *GetProfileByIdRequest) GetContext() *Context

func (*GetProfileByIdRequest) GetId

func (x *GetProfileByIdRequest) GetId() string

func (*GetProfileByIdRequest) ProtoMessage

func (*GetProfileByIdRequest) ProtoMessage()

func (*GetProfileByIdRequest) ProtoReflect

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

func (*GetProfileByIdRequest) Reset

func (x *GetProfileByIdRequest) Reset()

func (*GetProfileByIdRequest) String

func (x *GetProfileByIdRequest) String() string

type GetProfileByIdResponse

type GetProfileByIdResponse struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileByIdResponse) Descriptor deprecated

func (*GetProfileByIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileByIdResponse.ProtoReflect.Descriptor instead.

func (*GetProfileByIdResponse) GetProfile

func (x *GetProfileByIdResponse) GetProfile() *Profile

func (*GetProfileByIdResponse) ProtoMessage

func (*GetProfileByIdResponse) ProtoMessage()

func (*GetProfileByIdResponse) ProtoReflect

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

func (*GetProfileByIdResponse) Reset

func (x *GetProfileByIdResponse) Reset()

func (*GetProfileByIdResponse) String

func (x *GetProfileByIdResponse) String() string

type GetProfileStatusByNameRequest

type GetProfileStatusByNameRequest 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 profile to get
	Name   string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Entity *EntityTypedId `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	All    bool           `protobuf:"varint,4,opt,name=all,proto3" json:"all,omitempty"`
	// rule is the type of the rule. Deprecated in favor of rule_type
	//
	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Rule     string `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule,omitempty"`
	RuleType string `protobuf:"bytes,6,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
	RuleName string `protobuf:"bytes,7,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileStatusByNameRequest) Descriptor deprecated

func (*GetProfileStatusByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileStatusByNameRequest.ProtoReflect.Descriptor instead.

func (*GetProfileStatusByNameRequest) GetAll

func (x *GetProfileStatusByNameRequest) GetAll() bool

func (*GetProfileStatusByNameRequest) GetContext

func (x *GetProfileStatusByNameRequest) GetContext() *Context

func (*GetProfileStatusByNameRequest) GetEntity

func (*GetProfileStatusByNameRequest) GetName

func (*GetProfileStatusByNameRequest) GetRule deprecated

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*GetProfileStatusByNameRequest) GetRuleName added in v0.0.28

func (x *GetProfileStatusByNameRequest) GetRuleName() string

func (*GetProfileStatusByNameRequest) GetRuleType added in v0.0.28

func (x *GetProfileStatusByNameRequest) GetRuleType() string

func (*GetProfileStatusByNameRequest) ProtoMessage

func (*GetProfileStatusByNameRequest) ProtoMessage()

func (*GetProfileStatusByNameRequest) ProtoReflect

func (*GetProfileStatusByNameRequest) Reset

func (x *GetProfileStatusByNameRequest) Reset()

func (*GetProfileStatusByNameRequest) String

type GetProfileStatusByNameResponse

type GetProfileStatusByNameResponse struct {

	// profile_status is the status of the profile
	ProfileStatus *ProfileStatus `protobuf:"bytes,1,opt,name=profile_status,json=profileStatus,proto3" json:"profile_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 (*GetProfileStatusByNameResponse) Descriptor deprecated

func (*GetProfileStatusByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileStatusByNameResponse.ProtoReflect.Descriptor instead.

func (*GetProfileStatusByNameResponse) GetProfileStatus

func (x *GetProfileStatusByNameResponse) GetProfileStatus() *ProfileStatus

func (*GetProfileStatusByNameResponse) GetRuleEvaluationStatus

func (x *GetProfileStatusByNameResponse) GetRuleEvaluationStatus() []*RuleEvaluationStatus

func (*GetProfileStatusByNameResponse) ProtoMessage

func (*GetProfileStatusByNameResponse) ProtoMessage()

func (*GetProfileStatusByNameResponse) ProtoReflect

func (*GetProfileStatusByNameResponse) Reset

func (x *GetProfileStatusByNameResponse) Reset()

func (*GetProfileStatusByNameResponse) String

type GetProfileStatusByProjectRequest

type GetProfileStatusByProjectRequest 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 (*GetProfileStatusByProjectRequest) Descriptor deprecated

func (*GetProfileStatusByProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileStatusByProjectRequest.ProtoReflect.Descriptor instead.

func (*GetProfileStatusByProjectRequest) GetContext

func (x *GetProfileStatusByProjectRequest) GetContext() *Context

func (*GetProfileStatusByProjectRequest) ProtoMessage

func (*GetProfileStatusByProjectRequest) ProtoMessage()

func (*GetProfileStatusByProjectRequest) ProtoReflect

func (*GetProfileStatusByProjectRequest) Reset

func (*GetProfileStatusByProjectRequest) String

type GetProfileStatusByProjectResponse

type GetProfileStatusByProjectResponse struct {

	// profile_status is the status of the profile
	ProfileStatus []*ProfileStatus `protobuf:"bytes,1,rep,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileStatusByProjectResponse) Descriptor deprecated

func (*GetProfileStatusByProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileStatusByProjectResponse.ProtoReflect.Descriptor instead.

func (*GetProfileStatusByProjectResponse) GetProfileStatus

func (x *GetProfileStatusByProjectResponse) GetProfileStatus() []*ProfileStatus

func (*GetProfileStatusByProjectResponse) ProtoMessage

func (*GetProfileStatusByProjectResponse) ProtoMessage()

func (*GetProfileStatusByProjectResponse) ProtoReflect

func (*GetProfileStatusByProjectResponse) Reset

func (*GetProfileStatusByProjectResponse) String

type GetProviderRequest added in v0.0.35

type GetProviderRequest struct {

	// context is the context in which the provider is evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// name is the name of the provider to get.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderRequest) Descriptor deprecated added in v0.0.35

func (*GetProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.

func (*GetProviderRequest) GetContext added in v0.0.35

func (x *GetProviderRequest) GetContext() *Context

func (*GetProviderRequest) GetName added in v0.0.35

func (x *GetProviderRequest) GetName() string

func (*GetProviderRequest) ProtoMessage added in v0.0.35

func (*GetProviderRequest) ProtoMessage()

func (*GetProviderRequest) ProtoReflect added in v0.0.35

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

func (*GetProviderRequest) Reset added in v0.0.35

func (x *GetProviderRequest) Reset()

func (*GetProviderRequest) String added in v0.0.35

func (x *GetProviderRequest) String() string

type GetProviderResponse added in v0.0.35

type GetProviderResponse struct {

	// provider is the provider that was retrieved.
	Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderResponse) Descriptor deprecated added in v0.0.35

func (*GetProviderResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProviderResponse.ProtoReflect.Descriptor instead.

func (*GetProviderResponse) GetProvider added in v0.0.35

func (x *GetProviderResponse) GetProvider() *Provider

func (*GetProviderResponse) ProtoMessage added in v0.0.35

func (*GetProviderResponse) ProtoMessage()

func (*GetProviderResponse) ProtoReflect added in v0.0.35

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

func (*GetProviderResponse) Reset added in v0.0.35

func (x *GetProviderResponse) Reset()

func (*GetProviderResponse) String added in v0.0.35

func (x *GetProviderResponse) String() string

type GetRepositoryByIdRequest

type GetRepositoryByIdRequest struct {
	RepositoryId string   `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	Context      *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryByIdRequest) Descriptor deprecated

func (*GetRepositoryByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryByIdRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryByIdRequest) GetContext added in v0.0.21

func (x *GetRepositoryByIdRequest) GetContext() *Context

func (*GetRepositoryByIdRequest) GetRepositoryId

func (x *GetRepositoryByIdRequest) GetRepositoryId() string

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 *Repository `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() *Repository

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 {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Name     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Context  *Context `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryByNameRequest) Descriptor deprecated

func (*GetRepositoryByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryByNameRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryByNameRequest) GetContext added in v0.0.21

func (x *GetRepositoryByNameRequest) GetContext() *Context

func (*GetRepositoryByNameRequest) GetName

func (x *GetRepositoryByNameRequest) GetName() string

func (*GetRepositoryByNameRequest) GetProvider deprecated

func (x *GetRepositoryByNameRequest) GetProvider() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

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 *Repository `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() *Repository

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 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 string `protobuf:"bytes,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() string

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 GetUnclaimedProvidersRequest added in v0.0.36

type GetUnclaimedProvidersRequest struct {

	// context is the context in which the set of providers are evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnclaimedProvidersRequest) Descriptor deprecated added in v0.0.36

func (*GetUnclaimedProvidersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUnclaimedProvidersRequest.ProtoReflect.Descriptor instead.

func (*GetUnclaimedProvidersRequest) GetContext added in v0.0.36

func (x *GetUnclaimedProvidersRequest) GetContext() *Context

func (*GetUnclaimedProvidersRequest) ProtoMessage added in v0.0.36

func (*GetUnclaimedProvidersRequest) ProtoMessage()

func (*GetUnclaimedProvidersRequest) ProtoReflect added in v0.0.36

func (*GetUnclaimedProvidersRequest) Reset added in v0.0.36

func (x *GetUnclaimedProvidersRequest) Reset()

func (*GetUnclaimedProvidersRequest) String added in v0.0.36

type GetUnclaimedProvidersResponse added in v0.0.36

type GetUnclaimedProvidersResponse struct {

	// providers is a set of parameters which can be supplied to allow the user
	// to assign existing unclaimed credentials to a new provider in the project
	// via CreateProvider().
	Providers []*ProviderParameter `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUnclaimedProvidersResponse) Descriptor deprecated added in v0.0.36

func (*GetUnclaimedProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUnclaimedProvidersResponse.ProtoReflect.Descriptor instead.

func (*GetUnclaimedProvidersResponse) GetProviders added in v0.0.36

func (x *GetUnclaimedProvidersResponse) GetProviders() []*ProviderParameter

func (*GetUnclaimedProvidersResponse) ProtoMessage added in v0.0.36

func (*GetUnclaimedProvidersResponse) ProtoMessage()

func (*GetUnclaimedProvidersResponse) ProtoReflect added in v0.0.36

func (*GetUnclaimedProvidersResponse) Reset added in v0.0.36

func (x *GetUnclaimedProvidersResponse) Reset()

func (*GetUnclaimedProvidersResponse) String added in v0.0.36

type GetUserRequest

type GetUserRequest struct {
	// contains filtered or unexported fields
}

list users 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"`
	Projects []*Project  `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

func (*GetUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetProjects

func (x *GetUserResponse) GetProjects() []*Project

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 GitHubAppParams added in v0.0.36

type GitHubAppParams struct {

	// The GitHub installation ID for the app.  On create, this is the only
	// parameter used; the organization parameters are ignored.
	InstallationId int64 `protobuf:"varint,1,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	// The GitHub organization slug where the app is installed.  This is an
	// output-only parameter, and is validated on input if set (i.e. the value
	// must be either empty or match the org of the installation_id).
	Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// The GitHub organization ID where the app is installed.  This is an
	// output-only parameter, and is validated on input if set (i.e. the value
	// must be either empty or match the org of the installation_id).
	OrganizationId int64 `protobuf:"varint,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

GitHubAppParams is the parameters for a GitHub App provider.

func (*GitHubAppParams) Descriptor deprecated added in v0.0.36

func (*GitHubAppParams) Descriptor() ([]byte, []int)

Deprecated: Use GitHubAppParams.ProtoReflect.Descriptor instead.

func (*GitHubAppParams) GetInstallationId added in v0.0.36

func (x *GitHubAppParams) GetInstallationId() int64

func (*GitHubAppParams) GetOrganization added in v0.0.36

func (x *GitHubAppParams) GetOrganization() string

func (*GitHubAppParams) GetOrganizationId added in v0.0.36

func (x *GitHubAppParams) GetOrganizationId() int64

func (*GitHubAppParams) ProtoMessage added in v0.0.36

func (*GitHubAppParams) ProtoMessage()

func (*GitHubAppParams) ProtoReflect added in v0.0.36

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

func (*GitHubAppParams) Reset added in v0.0.36

func (x *GitHubAppParams) Reset()

func (*GitHubAppParams) String added in v0.0.36

func (x *GitHubAppParams) String() string

type GitHubAppProviderConfig added in v0.0.37

type GitHubAppProviderConfig struct {

	// Endpoint is the GitHub API endpoint. If using the public GitHub API, Endpoint can be left blank.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

GitHubAppProviderConfig contains the configuration for the GitHub App provider

func (*GitHubAppProviderConfig) Descriptor deprecated added in v0.0.37

func (*GitHubAppProviderConfig) Descriptor() ([]byte, []int)

Deprecated: Use GitHubAppProviderConfig.ProtoReflect.Descriptor instead.

func (*GitHubAppProviderConfig) GetEndpoint added in v0.0.37

func (x *GitHubAppProviderConfig) GetEndpoint() string

func (*GitHubAppProviderConfig) ProtoMessage added in v0.0.37

func (*GitHubAppProviderConfig) ProtoMessage()

func (*GitHubAppProviderConfig) ProtoReflect added in v0.0.37

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

func (*GitHubAppProviderConfig) Reset added in v0.0.37

func (x *GitHubAppProviderConfig) Reset()

func (*GitHubAppProviderConfig) String added in v0.0.37

func (x *GitHubAppProviderConfig) String() string

func (*GitHubAppProviderConfig) Validate added in v0.0.37

func (_ *GitHubAppProviderConfig) Validate() error

Validate is a utility function which allows for the validation of a struct.

type GitHubProviderConfig

type GitHubProviderConfig struct {

	// Endpoint is the GitHub API endpoint. If using the public GitHub API, Endpoint can be left blank.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

GitHubProviderConfig contains the configuration for the GitHub client

Endpoint: is the GitHub API endpoint

If using the public GitHub API, Endpoint can be left blank disable revive linting for this struct as there is nothing wrong with the naming convention

func (*GitHubProviderConfig) Descriptor deprecated

func (*GitHubProviderConfig) Descriptor() ([]byte, []int)

Deprecated: Use GitHubProviderConfig.ProtoReflect.Descriptor instead.

func (*GitHubProviderConfig) GetEndpoint

func (x *GitHubProviderConfig) GetEndpoint() string

func (*GitHubProviderConfig) ProtoMessage

func (*GitHubProviderConfig) ProtoMessage()

func (*GitHubProviderConfig) ProtoReflect

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

func (*GitHubProviderConfig) Reset

func (x *GitHubProviderConfig) Reset()

func (*GitHubProviderConfig) String

func (x *GitHubProviderConfig) String() string

func (*GitHubProviderConfig) Validate

func (_ *GitHubProviderConfig) Validate() error

Validate is a utility function which allows for the validation of a struct.

type GitType

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

func (*GitType) Descriptor() ([]byte, []int)

Deprecated: Use GitType.ProtoReflect.Descriptor instead.

func (*GitType) GetBranch

func (x *GitType) GetBranch() string

func (*GitType) GetCloneUrl

func (x *GitType) GetCloneUrl() string

func (*GitType) ProtoMessage

func (*GitType) ProtoMessage()

func (*GitType) ProtoReflect

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

func (*GitType) Reset

func (x *GitType) Reset()

func (*GitType) String

func (x *GitType) String() string

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 ListArtifactsRequest

type ListArtifactsRequest struct {
	Provider string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Context  *Context `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	From     string   `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

func (*ListArtifactsRequest) Descriptor deprecated

func (*ListArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetContext added in v0.0.21

func (x *ListArtifactsRequest) GetContext() *Context

func (*ListArtifactsRequest) GetFrom added in v0.0.22

func (x *ListArtifactsRequest) GetFrom() string

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 ListEvaluationResultsRequest added in v0.0.35

type ListEvaluationResultsRequest struct {

	// context is the context in which the evaluation results are evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// profile is the profile name or ID to retrieve results for.
	// If empty, return evaluation results for profiles selected by
	// an empty label_filter.
	//
	// Types that are assignable to ProfileSelector:
	//
	//	*ListEvaluationResultsRequest_Profile
	//	*ListEvaluationResultsRequest_LabelFilter
	ProfileSelector isListEvaluationResultsRequest_ProfileSelector `protobuf_oneof:"profile_selector"`
	// If set, only return evaluation results for the named entities.
	// If empty, return evaluation results for all entities
	Entity []*EntityTypedId `protobuf:"bytes,4,rep,name=entity,proto3" json:"entity,omitempty"`
	// If set, only return evaluation results for the named rules.
	// If empty, return evaluation results for all rules
	RuleName []string `protobuf:"bytes,5,rep,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEvaluationResultsRequest) Descriptor deprecated added in v0.0.35

func (*ListEvaluationResultsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEvaluationResultsRequest.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsRequest) GetContext added in v0.0.35

func (x *ListEvaluationResultsRequest) GetContext() *Context

func (*ListEvaluationResultsRequest) GetEntity added in v0.0.35

func (x *ListEvaluationResultsRequest) GetEntity() []*EntityTypedId

func (*ListEvaluationResultsRequest) GetLabelFilter added in v0.0.35

func (x *ListEvaluationResultsRequest) GetLabelFilter() string

func (*ListEvaluationResultsRequest) GetProfile added in v0.0.35

func (x *ListEvaluationResultsRequest) GetProfile() string

func (*ListEvaluationResultsRequest) GetProfileSelector added in v0.0.35

func (m *ListEvaluationResultsRequest) GetProfileSelector() isListEvaluationResultsRequest_ProfileSelector

func (*ListEvaluationResultsRequest) GetRuleName added in v0.0.35

func (x *ListEvaluationResultsRequest) GetRuleName() []string

func (*ListEvaluationResultsRequest) ProtoMessage added in v0.0.35

func (*ListEvaluationResultsRequest) ProtoMessage()

func (*ListEvaluationResultsRequest) ProtoReflect added in v0.0.35

func (*ListEvaluationResultsRequest) Reset added in v0.0.35

func (x *ListEvaluationResultsRequest) Reset()

func (*ListEvaluationResultsRequest) String added in v0.0.35

type ListEvaluationResultsRequest_LabelFilter added in v0.0.35

type ListEvaluationResultsRequest_LabelFilter struct {
	// Filter profiles to only those matching the specified labels.
	//
	// The default is to return all user-created profiles; the string "*" can
	// be used to select all profiles, including system profiles.  This syntax
	// may be expanded in the future.
	LabelFilter string `protobuf:"bytes,3,opt,name=label_filter,json=labelFilter,proto3,oneof"`
}

type ListEvaluationResultsRequest_Profile added in v0.0.35

type ListEvaluationResultsRequest_Profile struct {
	// ID can contain either a profile name or an ID
	Profile string `protobuf:"bytes,2,opt,name=profile,proto3,oneof"`
}

type ListEvaluationResultsResponse added in v0.0.35

type ListEvaluationResultsResponse struct {

	// Each entity selected by the list request will have _single_ entry in entities which contains results of all evaluations for each profile.
	Entities []*ListEvaluationResultsResponse_EntityEvaluationResults `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEvaluationResultsResponse) Descriptor deprecated added in v0.0.35

func (*ListEvaluationResultsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEvaluationResultsResponse.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsResponse) GetEntities added in v0.0.35

func (*ListEvaluationResultsResponse) ProtoMessage added in v0.0.35

func (*ListEvaluationResultsResponse) ProtoMessage()

func (*ListEvaluationResultsResponse) ProtoReflect added in v0.0.35

func (*ListEvaluationResultsResponse) Reset added in v0.0.35

func (x *ListEvaluationResultsResponse) Reset()

func (*ListEvaluationResultsResponse) String added in v0.0.35

type ListEvaluationResultsResponse_EntityEvaluationResults added in v0.0.35

type ListEvaluationResultsResponse_EntityEvaluationResults struct {
	Entity   *EntityTypedId                                                  `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Profiles []*ListEvaluationResultsResponse_EntityProfileEvaluationResults `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEvaluationResultsResponse_EntityEvaluationResults) Descriptor deprecated added in v0.0.35

Deprecated: Use ListEvaluationResultsResponse_EntityEvaluationResults.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsResponse_EntityEvaluationResults) GetEntity added in v0.0.35

func (*ListEvaluationResultsResponse_EntityEvaluationResults) GetProfiles added in v0.0.35

func (*ListEvaluationResultsResponse_EntityEvaluationResults) ProtoMessage added in v0.0.35

func (*ListEvaluationResultsResponse_EntityEvaluationResults) ProtoReflect added in v0.0.35

func (*ListEvaluationResultsResponse_EntityEvaluationResults) Reset added in v0.0.35

func (*ListEvaluationResultsResponse_EntityEvaluationResults) String added in v0.0.35

type ListEvaluationResultsResponse_EntityProfileEvaluationResults added in v0.0.35

type ListEvaluationResultsResponse_EntityProfileEvaluationResults struct {

	// profile_status is the status of the profile - id, name, status, last_updated
	ProfileStatus *ProfileStatus `protobuf:"bytes,1,opt,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"`
	// Note that some fields like profile_id and entity might be empty
	// Eventually we might replace this type with another one that fits the API better
	Results []*RuleEvaluationStatus `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) Descriptor deprecated added in v0.0.35

Deprecated: Use ListEvaluationResultsResponse_EntityProfileEvaluationResults.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) GetProfileStatus added in v0.0.35

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) GetResults added in v0.0.35

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) ProtoMessage added in v0.0.35

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) ProtoReflect added in v0.0.35

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) Reset added in v0.0.35

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) String added in v0.0.35

type ListProfilesRequest

type ListProfilesRequest struct {

	// context is the context which contains the profiles
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// Filter profiles to only those matching the specified labels.
	//
	// The default is to return all user-created profiles; the string "*" can
	// be used to select all profiles, including system profiles.  This syntax
	// may be expanded in the future.
	LabelFilter string `protobuf:"bytes,2,opt,name=label_filter,json=labelFilter,proto3" json:"label_filter,omitempty"`
	// contains filtered or unexported fields
}

list profiles

func (*ListProfilesRequest) Descriptor deprecated

func (*ListProfilesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.

func (*ListProfilesRequest) GetContext

func (x *ListProfilesRequest) GetContext() *Context

func (*ListProfilesRequest) GetLabelFilter added in v0.0.35

func (x *ListProfilesRequest) GetLabelFilter() string

func (*ListProfilesRequest) ProtoMessage

func (*ListProfilesRequest) ProtoMessage()

func (*ListProfilesRequest) ProtoReflect

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

func (*ListProfilesRequest) Reset

func (x *ListProfilesRequest) Reset()

func (*ListProfilesRequest) String

func (x *ListProfilesRequest) String() string

type ListProfilesResponse

type ListProfilesResponse struct {
	Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProfilesResponse) Descriptor deprecated

func (*ListProfilesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProfilesResponse.ProtoReflect.Descriptor instead.

func (*ListProfilesResponse) GetProfiles

func (x *ListProfilesResponse) GetProfiles() []*Profile

func (*ListProfilesResponse) ProtoMessage

func (*ListProfilesResponse) ProtoMessage()

func (*ListProfilesResponse) ProtoReflect

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

func (*ListProfilesResponse) Reset

func (x *ListProfilesResponse) Reset()

func (*ListProfilesResponse) String

func (x *ListProfilesResponse) String() string

type ListProjectsRequest added in v0.0.35

type ListProjectsRequest struct {
	// contains filtered or unexported fields
}

func (*ListProjectsRequest) Descriptor deprecated added in v0.0.35

func (*ListProjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) ProtoMessage added in v0.0.35

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect added in v0.0.35

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

func (*ListProjectsRequest) Reset added in v0.0.35

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String added in v0.0.35

func (x *ListProjectsRequest) String() string

type ListProjectsResponse added in v0.0.35

type ListProjectsResponse struct {
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsResponse) Descriptor deprecated added in v0.0.35

func (*ListProjectsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetProjects added in v0.0.35

func (x *ListProjectsResponse) GetProjects() []*Project

func (*ListProjectsResponse) ProtoMessage added in v0.0.35

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect added in v0.0.35

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

func (*ListProjectsResponse) Reset added in v0.0.35

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String added in v0.0.35

func (x *ListProjectsResponse) String() string

type ListProviderClassesRequest added in v0.0.38

type ListProviderClassesRequest struct {

	// context is the context in which the provider classes are evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProviderClassesRequest) Descriptor deprecated added in v0.0.38

func (*ListProviderClassesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProviderClassesRequest.ProtoReflect.Descriptor instead.

func (*ListProviderClassesRequest) GetContext added in v0.0.38

func (x *ListProviderClassesRequest) GetContext() *Context

func (*ListProviderClassesRequest) ProtoMessage added in v0.0.38

func (*ListProviderClassesRequest) ProtoMessage()

func (*ListProviderClassesRequest) ProtoReflect added in v0.0.38

func (*ListProviderClassesRequest) Reset added in v0.0.38

func (x *ListProviderClassesRequest) Reset()

func (*ListProviderClassesRequest) String added in v0.0.38

func (x *ListProviderClassesRequest) String() string

type ListProviderClassesResponse added in v0.0.38

type ListProviderClassesResponse struct {

	// provider_classes is the list of provider classes.
	ProviderClasses []string `protobuf:"bytes,1,rep,name=provider_classes,json=providerClasses,proto3" json:"provider_classes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProviderClassesResponse) Descriptor deprecated added in v0.0.38

func (*ListProviderClassesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProviderClassesResponse.ProtoReflect.Descriptor instead.

func (*ListProviderClassesResponse) GetProviderClasses added in v0.0.38

func (x *ListProviderClassesResponse) GetProviderClasses() []string

func (*ListProviderClassesResponse) ProtoMessage added in v0.0.38

func (*ListProviderClassesResponse) ProtoMessage()

func (*ListProviderClassesResponse) ProtoReflect added in v0.0.38

func (*ListProviderClassesResponse) Reset added in v0.0.38

func (x *ListProviderClassesResponse) Reset()

func (*ListProviderClassesResponse) String added in v0.0.38

func (x *ListProviderClassesResponse) String() string

type ListProvidersRequest added in v0.0.30

type ListProvidersRequest struct {

	// context is the context in which the providers are evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// limit is the maximum number of providers to return.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// cursor is the cursor to use for the page of results, empty if at the beginning
	Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProvidersRequest) Descriptor deprecated added in v0.0.30

func (*ListProvidersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListProvidersRequest) GetContext added in v0.0.30

func (x *ListProvidersRequest) GetContext() *Context

func (*ListProvidersRequest) GetCursor added in v0.0.30

func (x *ListProvidersRequest) GetCursor() string

func (*ListProvidersRequest) GetLimit added in v0.0.30

func (x *ListProvidersRequest) GetLimit() int32

func (*ListProvidersRequest) ProtoMessage added in v0.0.30

func (*ListProvidersRequest) ProtoMessage()

func (*ListProvidersRequest) ProtoReflect added in v0.0.30

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

func (*ListProvidersRequest) Reset added in v0.0.30

func (x *ListProvidersRequest) Reset()

func (*ListProvidersRequest) String added in v0.0.30

func (x *ListProvidersRequest) String() string

type ListProvidersResponse added in v0.0.30

type ListProvidersResponse struct {
	Providers []*Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// cursor is the cursor to use for the next page of results, empty if at the end
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProvidersResponse) Descriptor deprecated added in v0.0.30

func (*ListProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListProvidersResponse) GetCursor added in v0.0.30

func (x *ListProvidersResponse) GetCursor() string

func (*ListProvidersResponse) GetProviders added in v0.0.30

func (x *ListProvidersResponse) GetProviders() []*Provider

func (*ListProvidersResponse) ProtoMessage added in v0.0.30

func (*ListProvidersResponse) ProtoMessage()

func (*ListProvidersResponse) ProtoReflect added in v0.0.30

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

func (*ListProvidersResponse) Reset added in v0.0.30

func (x *ListProvidersResponse) Reset()

func (*ListProvidersResponse) String added in v0.0.30

func (x *ListProvidersResponse) String() string

type ListRemoteRepositoriesFromProviderRequest

type ListRemoteRepositoriesFromProviderRequest struct {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Context  *Context `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRemoteRepositoriesFromProviderRequest) Descriptor deprecated

func (*ListRemoteRepositoriesFromProviderRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRemoteRepositoriesFromProviderRequest.ProtoReflect.Descriptor instead.

func (*ListRemoteRepositoriesFromProviderRequest) GetContext added in v0.0.21

func (*ListRemoteRepositoriesFromProviderRequest) GetProvider deprecated

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*ListRemoteRepositoriesFromProviderRequest) ProtoMessage

func (*ListRemoteRepositoriesFromProviderRequest) ProtoReflect

func (*ListRemoteRepositoriesFromProviderRequest) Reset

func (*ListRemoteRepositoriesFromProviderRequest) String

type ListRemoteRepositoriesFromProviderResponse

type ListRemoteRepositoriesFromProviderResponse struct {
	Results []*UpstreamRepositoryRef `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRemoteRepositoriesFromProviderResponse) Descriptor deprecated

Deprecated: Use ListRemoteRepositoriesFromProviderResponse.ProtoReflect.Descriptor instead.

func (*ListRemoteRepositoriesFromProviderResponse) GetResults

func (*ListRemoteRepositoriesFromProviderResponse) ProtoMessage

func (*ListRemoteRepositoriesFromProviderResponse) ProtoReflect

func (*ListRemoteRepositoriesFromProviderResponse) Reset

func (*ListRemoteRepositoriesFromProviderResponse) String

type ListRepositoriesRequest

type ListRepositoriesRequest struct {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Limit    int64    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Context  *Context `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	Cursor   string   `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoriesRequest) Descriptor deprecated

func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoriesRequest) GetContext added in v0.0.21

func (x *ListRepositoriesRequest) GetContext() *Context

func (*ListRepositoriesRequest) GetCursor added in v0.0.27

func (x *ListRepositoriesRequest) GetCursor() string

func (*ListRepositoriesRequest) GetLimit

func (x *ListRepositoriesRequest) GetLimit() int64

func (*ListRepositoriesRequest) GetProvider deprecated

func (x *ListRepositoriesRequest) GetProvider() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

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 []*Repository `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// cursor is the cursor to use for the next page of results, empty if at the end
	Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoriesResponse) Descriptor deprecated

func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoriesResponse) GetCursor added in v0.0.27

func (x *ListRepositoriesResponse) GetCursor() string

func (*ListRepositoriesResponse) GetResults

func (x *ListRepositoriesResponse) GetResults() []*Repository

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 ListRoleAssignmentsRequest added in v0.0.28

type ListRoleAssignmentsRequest struct {

	// context is the context in which the role assignments are evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoleAssignmentsRequest) Descriptor deprecated added in v0.0.28

func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRoleAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListRoleAssignmentsRequest) GetContext added in v0.0.28

func (x *ListRoleAssignmentsRequest) GetContext() *Context

func (*ListRoleAssignmentsRequest) ProtoMessage added in v0.0.28

func (*ListRoleAssignmentsRequest) ProtoMessage()

func (*ListRoleAssignmentsRequest) ProtoReflect added in v0.0.28

func (*ListRoleAssignmentsRequest) Reset added in v0.0.28

func (x *ListRoleAssignmentsRequest) Reset()

func (*ListRoleAssignmentsRequest) String added in v0.0.28

func (x *ListRoleAssignmentsRequest) String() string

type ListRoleAssignmentsResponse added in v0.0.28

type ListRoleAssignmentsResponse struct {
	RoleAssignments []*RoleAssignment `protobuf:"bytes,1,rep,name=role_assignments,json=roleAssignments,proto3" json:"role_assignments,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoleAssignmentsResponse) Descriptor deprecated added in v0.0.28

func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRoleAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListRoleAssignmentsResponse) GetRoleAssignments added in v0.0.28

func (x *ListRoleAssignmentsResponse) GetRoleAssignments() []*RoleAssignment

func (*ListRoleAssignmentsResponse) ProtoMessage added in v0.0.28

func (*ListRoleAssignmentsResponse) ProtoMessage()

func (*ListRoleAssignmentsResponse) ProtoReflect added in v0.0.28

func (*ListRoleAssignmentsResponse) Reset added in v0.0.28

func (x *ListRoleAssignmentsResponse) Reset()

func (*ListRoleAssignmentsResponse) String added in v0.0.28

func (x *ListRoleAssignmentsResponse) String() string

type ListRolesRequest added in v0.0.28

type ListRolesRequest struct {

	// context is the context in which the roles are evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesRequest) Descriptor deprecated added in v0.0.28

func (*ListRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetContext added in v0.0.28

func (x *ListRolesRequest) GetContext() *Context

func (*ListRolesRequest) ProtoMessage added in v0.0.28

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect added in v0.0.28

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

func (*ListRolesRequest) Reset added in v0.0.28

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String added in v0.0.28

func (x *ListRolesRequest) String() string

type ListRolesResponse added in v0.0.28

type ListRolesResponse struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResponse) Descriptor deprecated added in v0.0.28

func (*ListRolesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetRoles added in v0.0.28

func (x *ListRolesResponse) GetRoles() []*Role

func (*ListRolesResponse) ProtoMessage added in v0.0.28

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect added in v0.0.28

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

func (*ListRolesResponse) Reset added in v0.0.28

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String added in v0.0.28

func (x *ListRolesResponse) 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 OAuthServiceClient

type OAuthServiceClient interface {
	GetAuthorizationURL(ctx context.Context, in *GetAuthorizationURLRequest, opts ...grpc.CallOption) (*GetAuthorizationURLResponse, error)
	StoreProviderToken(ctx context.Context, in *StoreProviderTokenRequest, opts ...grpc.CallOption) (*StoreProviderTokenResponse, error)
	// Deprecated: Do not use.
	// 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)
	// VerifyProviderCredential verifies that a credential has been created matching the enrollment nonce
	VerifyProviderCredential(ctx context.Context, in *VerifyProviderCredentialRequest, opts ...grpc.CallOption) (*VerifyProviderCredentialResponse, 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)
	StoreProviderToken(context.Context, *StoreProviderTokenRequest) (*StoreProviderTokenResponse, error)
	// Deprecated: Do not use.
	// VerifyProviderTokenFrom verifies that a token has been created for a provider since given timestamp
	VerifyProviderTokenFrom(context.Context, *VerifyProviderTokenFromRequest) (*VerifyProviderTokenFromResponse, error)
	// VerifyProviderCredential verifies that a credential has been created matching the enrollment nonce
	VerifyProviderCredential(context.Context, *VerifyProviderCredentialRequest) (*VerifyProviderCredentialResponse, error)
	// contains filtered or unexported methods
}

OAuthServiceServer is the server API for OAuthService service. All implementations must embed UnimplementedOAuthServiceServer for forward compatibility

type ObjectOwner

type ObjectOwner int32
const (
	ObjectOwner_OBJECT_OWNER_UNSPECIFIED ObjectOwner = 0
	ObjectOwner_OBJECT_OWNER_PROJECT     ObjectOwner = 2
	ObjectOwner_OBJECT_OWNER_USER        ObjectOwner = 3
)

func (ObjectOwner) Descriptor

func (ObjectOwner) Enum

func (x ObjectOwner) Enum() *ObjectOwner

func (ObjectOwner) EnumDescriptor deprecated

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

Deprecated: Use ObjectOwner.Descriptor instead.

func (ObjectOwner) Number

func (x ObjectOwner) Number() protoreflect.EnumNumber

func (ObjectOwner) String

func (x ObjectOwner) String() string

func (ObjectOwner) Type

type PatchProfileRequest added in v0.0.35

type PatchProfileRequest struct {

	// The context in which the patch is applied. Provided explicitly
	// so that the patch itself can be minimal and contain only
	// the attribute to set, e.g. remediate=true
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// The id of the profile to patch. Same explanation about explicitness
	// as for the context
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The patch to apply to the profile
	Patch *Profile `protobuf:"bytes,3,opt,name=patch,proto3" json:"patch,omitempty"`
	// needed to enable PATCH, see https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/patch_feature/
	// is not exposed to the API user
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchProfileRequest) Descriptor deprecated added in v0.0.35

func (*PatchProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatchProfileRequest.ProtoReflect.Descriptor instead.

func (*PatchProfileRequest) GetContext added in v0.0.35

func (x *PatchProfileRequest) GetContext() *Context

func (*PatchProfileRequest) GetId added in v0.0.35

func (x *PatchProfileRequest) GetId() string

func (*PatchProfileRequest) GetPatch added in v0.0.35

func (x *PatchProfileRequest) GetPatch() *Profile

func (*PatchProfileRequest) GetUpdateMask added in v0.0.35

func (x *PatchProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*PatchProfileRequest) ProtoMessage added in v0.0.35

func (*PatchProfileRequest) ProtoMessage()

func (*PatchProfileRequest) ProtoReflect added in v0.0.35

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

func (*PatchProfileRequest) Reset added in v0.0.35

func (x *PatchProfileRequest) Reset()

func (*PatchProfileRequest) String added in v0.0.35

func (x *PatchProfileRequest) String() string

type PatchProfileResponse added in v0.0.35

type PatchProfileResponse struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchProfileResponse) Descriptor deprecated added in v0.0.35

func (*PatchProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use PatchProfileResponse.ProtoReflect.Descriptor instead.

func (*PatchProfileResponse) GetProfile added in v0.0.35

func (x *PatchProfileResponse) GetProfile() *Profile

func (*PatchProfileResponse) ProtoMessage added in v0.0.35

func (*PatchProfileResponse) ProtoMessage()

func (*PatchProfileResponse) ProtoReflect added in v0.0.35

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

func (*PatchProfileResponse) Reset added in v0.0.35

func (x *PatchProfileResponse) Reset()

func (*PatchProfileResponse) String added in v0.0.35

func (x *PatchProfileResponse) String() string

type PatchProjectRequest added in v0.0.36

type PatchProjectRequest struct {

	// context is the context in which the project is updated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// patch is the patch to apply to the project
	Patch *ProjectPatch `protobuf:"bytes,3,opt,name=patch,proto3" json:"patch,omitempty"`
	// needed to enable PATCH, see https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/patch_feature/
	// is not exposed to the API user
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchProjectRequest) Descriptor deprecated added in v0.0.36

func (*PatchProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatchProjectRequest.ProtoReflect.Descriptor instead.

func (*PatchProjectRequest) GetContext added in v0.0.36

func (x *PatchProjectRequest) GetContext() *Context

func (*PatchProjectRequest) GetPatch added in v0.0.36

func (x *PatchProjectRequest) GetPatch() *ProjectPatch

func (*PatchProjectRequest) GetUpdateMask added in v0.0.36

func (x *PatchProjectRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*PatchProjectRequest) ProtoMessage added in v0.0.36

func (*PatchProjectRequest) ProtoMessage()

func (*PatchProjectRequest) ProtoReflect added in v0.0.36

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

func (*PatchProjectRequest) Reset added in v0.0.36

func (x *PatchProjectRequest) Reset()

func (*PatchProjectRequest) String added in v0.0.36

func (x *PatchProjectRequest) String() string

type PatchProjectResponse added in v0.0.36

type PatchProjectResponse struct {

	// project is the project that was updated.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchProjectResponse) Descriptor deprecated added in v0.0.36

func (*PatchProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use PatchProjectResponse.ProtoReflect.Descriptor instead.

func (*PatchProjectResponse) GetProject added in v0.0.36

func (x *PatchProjectResponse) GetProject() *Project

func (*PatchProjectResponse) ProtoMessage added in v0.0.36

func (*PatchProjectResponse) ProtoMessage()

func (*PatchProjectResponse) ProtoReflect added in v0.0.36

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

func (*PatchProjectResponse) Reset added in v0.0.36

func (x *PatchProjectResponse) Reset()

func (*PatchProjectResponse) String added in v0.0.36

func (x *PatchProjectResponse) String() string

type PermissionsServiceClient added in v0.0.28

type PermissionsServiceClient interface {
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
	ListRoleAssignments(ctx context.Context, in *ListRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListRoleAssignmentsResponse, error)
	AssignRole(ctx context.Context, in *AssignRoleRequest, opts ...grpc.CallOption) (*AssignRoleResponse, error)
	RemoveRole(ctx context.Context, in *RemoveRoleRequest, opts ...grpc.CallOption) (*RemoveRoleResponse, error)
}

PermissionsServiceClient is the client API for PermissionsService 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 NewPermissionsServiceClient added in v0.0.28

func NewPermissionsServiceClient(cc grpc.ClientConnInterface) PermissionsServiceClient

type PermissionsServiceServer added in v0.0.28

type PermissionsServiceServer interface {
	ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
	ListRoleAssignments(context.Context, *ListRoleAssignmentsRequest) (*ListRoleAssignmentsResponse, error)
	AssignRole(context.Context, *AssignRoleRequest) (*AssignRoleResponse, error)
	RemoveRole(context.Context, *RemoveRoleRequest) (*RemoveRoleResponse, error)
	// contains filtered or unexported methods
}

PermissionsServiceServer is the server API for PermissionsService service. All implementations must embed UnimplementedPermissionsServiceServer for forward compatibility

type PrContents added in v0.0.30

type PrContents struct {
	Pr    *PullRequest       `protobuf:"bytes,1,opt,name=pr,proto3" json:"pr,omitempty"`
	Files []*PrContents_File `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*PrContents) Descriptor deprecated added in v0.0.30

func (*PrContents) Descriptor() ([]byte, []int)

Deprecated: Use PrContents.ProtoReflect.Descriptor instead.

func (*PrContents) GetFiles added in v0.0.30

func (x *PrContents) GetFiles() []*PrContents_File

func (*PrContents) GetPr added in v0.0.30

func (x *PrContents) GetPr() *PullRequest

func (*PrContents) ProtoMessage added in v0.0.30

func (*PrContents) ProtoMessage()

func (*PrContents) ProtoReflect added in v0.0.30

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

func (*PrContents) Reset added in v0.0.30

func (x *PrContents) Reset()

func (*PrContents) String added in v0.0.30

func (x *PrContents) String() string

type PrContents_File added in v0.0.30

type PrContents_File struct {
	Name         string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FilePatchUrl string                  `protobuf:"bytes,2,opt,name=file_patch_url,json=filePatchUrl,proto3" json:"file_patch_url,omitempty"`
	PatchLines   []*PrContents_File_Line `protobuf:"bytes,3,rep,name=patch_lines,json=patchLines,proto3" json:"patch_lines,omitempty"`
	// contains filtered or unexported fields
}

func (*PrContents_File) Descriptor deprecated added in v0.0.30

func (*PrContents_File) Descriptor() ([]byte, []int)

Deprecated: Use PrContents_File.ProtoReflect.Descriptor instead.

func (*PrContents_File) GetFilePatchUrl added in v0.0.30

func (x *PrContents_File) GetFilePatchUrl() string

func (*PrContents_File) GetName added in v0.0.30

func (x *PrContents_File) GetName() string

func (*PrContents_File) GetPatchLines added in v0.0.30

func (x *PrContents_File) GetPatchLines() []*PrContents_File_Line

func (*PrContents_File) ProtoMessage added in v0.0.30

func (*PrContents_File) ProtoMessage()

func (*PrContents_File) ProtoReflect added in v0.0.30

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

func (*PrContents_File) Reset added in v0.0.30

func (x *PrContents_File) Reset()

func (*PrContents_File) String added in v0.0.30

func (x *PrContents_File) String() string

type PrContents_File_Line added in v0.0.30

type PrContents_File_Line struct {

	// Deliberately left as an int32: a diff with more than 2^31 lines
	// could lead to various problems while processing.
	LineNumber int32  `protobuf:"varint,1,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	Content    string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*PrContents_File_Line) Descriptor deprecated added in v0.0.30

func (*PrContents_File_Line) Descriptor() ([]byte, []int)

Deprecated: Use PrContents_File_Line.ProtoReflect.Descriptor instead.

func (*PrContents_File_Line) GetContent added in v0.0.30

func (x *PrContents_File_Line) GetContent() string

func (*PrContents_File_Line) GetLineNumber added in v0.0.30

func (x *PrContents_File_Line) GetLineNumber() int32

func (*PrContents_File_Line) ProtoMessage added in v0.0.30

func (*PrContents_File_Line) ProtoMessage()

func (*PrContents_File_Line) ProtoReflect added in v0.0.30

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

func (*PrContents_File_Line) Reset added in v0.0.30

func (x *PrContents_File_Line) Reset()

func (*PrContents_File_Line) String added in v0.0.30

func (x *PrContents_File_Line) String() string

type PrDependencies

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

func (*PrDependencies) Descriptor() ([]byte, []int)

Deprecated: Use PrDependencies.ProtoReflect.Descriptor instead.

func (*PrDependencies) GetDeps

func (*PrDependencies) GetPr

func (x *PrDependencies) GetPr() *PullRequest

func (*PrDependencies) ProtoMessage

func (*PrDependencies) ProtoMessage()

func (*PrDependencies) ProtoReflect

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

func (*PrDependencies) Reset

func (x *PrDependencies) Reset()

func (*PrDependencies) String

func (x *PrDependencies) String() string

type PrDependencies_ContextualDependency

type PrDependencies_ContextualDependency struct {
	Dep  *Dependency                                    `protobuf:"bytes,1,opt,name=dep,proto3" json:"dep,omitempty"`
	File *PrDependencies_ContextualDependency_FilePatch `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*PrDependencies_ContextualDependency) Descriptor deprecated

func (*PrDependencies_ContextualDependency) Descriptor() ([]byte, []int)

Deprecated: Use PrDependencies_ContextualDependency.ProtoReflect.Descriptor instead.

func (*PrDependencies_ContextualDependency) GetDep

func (*PrDependencies_ContextualDependency) GetFile

func (*PrDependencies_ContextualDependency) ProtoMessage

func (*PrDependencies_ContextualDependency) ProtoMessage()

func (*PrDependencies_ContextualDependency) ProtoReflect

func (*PrDependencies_ContextualDependency) Reset

func (*PrDependencies_ContextualDependency) String

type PrDependencies_ContextualDependency_FilePatch

type PrDependencies_ContextualDependency_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 (*PrDependencies_ContextualDependency_FilePatch) Descriptor deprecated

Deprecated: Use PrDependencies_ContextualDependency_FilePatch.ProtoReflect.Descriptor instead.

func (*PrDependencies_ContextualDependency_FilePatch) GetName

func (*PrDependencies_ContextualDependency_FilePatch) GetPatchUrl

func (*PrDependencies_ContextualDependency_FilePatch) ProtoMessage

func (*PrDependencies_ContextualDependency_FilePatch) ProtoReflect

func (*PrDependencies_ContextualDependency_FilePatch) Reset

func (*PrDependencies_ContextualDependency_FilePatch) String

type Profile

type Profile struct {

	// context is the context in which the profile is evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// id is the id of the profile.
	// This is optional and is set by the system.
	Id *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// name is the name of the profile instance.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// labels are a set of system-provided attributes which can be used to
	// filter profiles and status results.  Labels cannot be set by the user,
	// but are returned in ListProfiles.
	//
	// Labels use DNS label constraints, with a possible namespace prefix
	// separated by a colon (:).  They are intended to allow filtering, but
	// not to store arbitrary metadata.
	// DNS labels are 1-63 character alphanumeric strings with internal hyphens.
	// An RE2-style validation regex would be:
	//
	// DNS_STR = "[a-zA-Z0-9](?[-a-zA-Z0-9]{0,61}[a-zA-Z0-9])?"
	// ($DNS_STR:)?$DNS_STR
	Labels []string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty"`
	// These are the entities that one could set in the profile.
	Repository       []*Profile_Rule `protobuf:"bytes,4,rep,name=repository,proto3" json:"repository,omitempty"`
	BuildEnvironment []*Profile_Rule `protobuf:"bytes,5,rep,name=build_environment,json=buildEnvironment,proto3" json:"build_environment,omitempty"`
	Artifact         []*Profile_Rule `protobuf:"bytes,6,rep,name=artifact,proto3" json:"artifact,omitempty"`
	PullRequest      []*Profile_Rule `protobuf:"bytes,7,rep,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	// whether and how to remediate (on,off,dry_run)
	// this is optional and defaults to "off"
	Remediate *string `protobuf:"bytes,8,opt,name=remediate,proto3,oneof" json:"remediate,omitempty"`
	// whether and how to alert (on,off,dry_run)
	// this is optional and defaults to "on"
	Alert *string `protobuf:"bytes,9,opt,name=alert,proto3,oneof" json:"alert,omitempty"`
	// type is a placeholder for the object type. It should always be set to "profile".
	Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	// version is the version of the profile type. In this case, it is "v1"
	Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`
	// display_name is the display name of the profile.
	DisplayName string `protobuf:"bytes,13,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Profile defines a profile that is user defined.

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAlert

func (x *Profile) GetAlert() string

func (*Profile) GetArtifact

func (x *Profile) GetArtifact() []*Profile_Rule

func (*Profile) GetBuildEnvironment

func (x *Profile) GetBuildEnvironment() []*Profile_Rule

func (*Profile) GetContext

func (x *Profile) GetContext() *Context

func (*Profile) GetDisplayName added in v0.0.37

func (x *Profile) GetDisplayName() string

func (*Profile) GetId

func (x *Profile) GetId() string

func (*Profile) GetLabels added in v0.0.35

func (x *Profile) GetLabels() []string

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetPullRequest

func (x *Profile) GetPullRequest() []*Profile_Rule

func (*Profile) GetRemediate

func (x *Profile) GetRemediate() string

func (*Profile) GetRepository

func (x *Profile) GetRepository() []*Profile_Rule

func (*Profile) GetType added in v0.0.21

func (x *Profile) GetType() string

func (*Profile) GetVersion added in v0.0.21

func (x *Profile) GetVersion() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

func (*Profile) Validate

func (p *Profile) Validate() error

Validate validates a pipeline profile

type ProfileServiceClient

type ProfileServiceClient interface {
	CreateProfile(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*CreateProfileResponse, error)
	UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error)
	PatchProfile(ctx context.Context, in *PatchProfileRequest, opts ...grpc.CallOption) (*PatchProfileResponse, error)
	DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileResponse, error)
	ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error)
	GetProfileById(ctx context.Context, in *GetProfileByIdRequest, opts ...grpc.CallOption) (*GetProfileByIdResponse, error)
	GetProfileStatusByName(ctx context.Context, in *GetProfileStatusByNameRequest, opts ...grpc.CallOption) (*GetProfileStatusByNameResponse, error)
	GetProfileStatusByProject(ctx context.Context, in *GetProfileStatusByProjectRequest, opts ...grpc.CallOption) (*GetProfileStatusByProjectResponse, 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)
}

ProfileServiceClient is the client API for ProfileService 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 ProfileServiceServer

ProfileServiceServer is the server API for ProfileService service. All implementations must embed UnimplementedProfileServiceServer for forward compatibility

type ProfileStatus

type ProfileStatus struct {

	// profile_id is the id of the profile
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// profile_name is the name of the profile
	ProfileName string `protobuf:"bytes,2,opt,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	// profile_status is the status of the profile
	ProfileStatus string `protobuf:"bytes,3,opt,name=profile_status,json=profileStatus,proto3" json:"profile_status,omitempty"`
	// last_updated is the last time the profile was updated
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// profile_display_name is the display name of the profile
	ProfileDisplayName string `protobuf:"bytes,5,opt,name=profile_display_name,json=profileDisplayName,proto3" json:"profile_display_name,omitempty"`
	// contains filtered or unexported fields
}

get the overall profile status

func (*ProfileStatus) Descriptor deprecated

func (*ProfileStatus) Descriptor() ([]byte, []int)

Deprecated: Use ProfileStatus.ProtoReflect.Descriptor instead.

func (*ProfileStatus) GetLastUpdated

func (x *ProfileStatus) GetLastUpdated() *timestamppb.Timestamp

func (*ProfileStatus) GetProfileDisplayName added in v0.0.37

func (x *ProfileStatus) GetProfileDisplayName() string

func (*ProfileStatus) GetProfileId

func (x *ProfileStatus) GetProfileId() string

func (*ProfileStatus) GetProfileName

func (x *ProfileStatus) GetProfileName() string

func (*ProfileStatus) GetProfileStatus

func (x *ProfileStatus) GetProfileStatus() string

func (*ProfileStatus) ProtoMessage

func (*ProfileStatus) ProtoMessage()

func (*ProfileStatus) ProtoReflect

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

func (*ProfileStatus) Reset

func (x *ProfileStatus) Reset()

func (*ProfileStatus) String

func (x *ProfileStatus) String() string

type Profile_Rule

type Profile_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"`
	// name is the descriptive name of the rule, not to be confused with type
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Rule defines the individual call of a certain rule type.

func (*Profile_Rule) Descriptor deprecated

func (*Profile_Rule) Descriptor() ([]byte, []int)

Deprecated: Use Profile_Rule.ProtoReflect.Descriptor instead.

func (*Profile_Rule) GetDef

func (x *Profile_Rule) GetDef() *structpb.Struct

func (*Profile_Rule) GetName added in v0.0.28

func (x *Profile_Rule) GetName() string

func (*Profile_Rule) GetParams

func (x *Profile_Rule) GetParams() *structpb.Struct

func (*Profile_Rule) GetType

func (x *Profile_Rule) GetType() string

func (*Profile_Rule) ProtoMessage

func (*Profile_Rule) ProtoMessage()

func (*Profile_Rule) ProtoReflect

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

func (*Profile_Rule) Reset

func (x *Profile_Rule) Reset()

func (*Profile_Rule) String

func (x *Profile_Rule) String() string

type Project

type Project struct {
	ProjectId   string                 `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_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"`
	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"`
	// display_name allows for a human-readable name to be used.
	// display_names are short *non-unique* strings to provide
	// a user-friendly name for presentation in lists, etc.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Project API Objects

func (*Project) Descriptor deprecated

func (*Project) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCreatedAt

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

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetDisplayName added in v0.0.36

func (x *Project) GetDisplayName() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetProjectId

func (x *Project) GetProjectId() string

func (*Project) GetUpdatedAt

func (x *Project) GetUpdatedAt() *timestamppb.Timestamp

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectPatch added in v0.0.36

type ProjectPatch struct {

	// display_name is the display name of the project to update.
	DisplayName *string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// description is the description of the project to update.
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectPatch) Descriptor deprecated added in v0.0.36

func (*ProjectPatch) Descriptor() ([]byte, []int)

Deprecated: Use ProjectPatch.ProtoReflect.Descriptor instead.

func (*ProjectPatch) GetDescription added in v0.0.36

func (x *ProjectPatch) GetDescription() string

func (*ProjectPatch) GetDisplayName added in v0.0.36

func (x *ProjectPatch) GetDisplayName() string

func (*ProjectPatch) ProtoMessage added in v0.0.36

func (*ProjectPatch) ProtoMessage()

func (*ProjectPatch) ProtoReflect added in v0.0.36

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

func (*ProjectPatch) Reset added in v0.0.36

func (x *ProjectPatch) Reset()

func (*ProjectPatch) String added in v0.0.36

func (x *ProjectPatch) String() string

type ProjectsServiceClient added in v0.0.35

type ProjectsServiceClient interface {
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error)
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error)
	UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error)
	PatchProject(ctx context.Context, in *PatchProjectRequest, opts ...grpc.CallOption) (*PatchProjectResponse, error)
	CreateEntityReconciliationTask(ctx context.Context, in *CreateEntityReconciliationTaskRequest, opts ...grpc.CallOption) (*CreateEntityReconciliationTaskResponse, error)
}

ProjectsServiceClient is the client API for ProjectsService 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 NewProjectsServiceClient added in v0.0.35

func NewProjectsServiceClient(cc grpc.ClientConnInterface) ProjectsServiceClient

type ProjectsServiceServer added in v0.0.35

ProjectsServiceServer is the server API for ProjectsService service. All implementations must embed UnimplementedProjectsServiceServer for forward compatibility

type Provider

type Provider struct {

	// name is the name of the provider.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// class is the name of the provider implementation, eg. 'github' or 'gh-app'.
	Class string `protobuf:"bytes,7,opt,name=class,proto3" json:"class,omitempty"`
	// project is the project where the provider is.  This is ignored on input
	// in favor of the context field in CreateProviderRequest.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// version is the version of the provider.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// implements is the list of interfaces that the provider implements.
	Implements []ProviderType `protobuf:"varint,4,rep,packed,name=implements,proto3,enum=minder.v1.ProviderType" json:"implements,omitempty"`
	// config is the configuration of the provider.
	Config *structpb.Struct `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// auth_flows is the list of authorization flows that the provider supports.
	AuthFlows []AuthorizationFlow `` /* 129-byte string literal not displayed */
	// parameters is the list of parameters that the provider requires.
	Parameters *ProviderParameter `protobuf:"bytes,8,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// credentials_state is the state of the credentials for the provider.
	// This is an output-only field. It may be: "set", "unset", "not_applicable".
	CredentialsState string `protobuf:"bytes,9,opt,name=credentials_state,json=credentialsState,proto3" json:"credentials_state,omitempty"`
	// contains filtered or unexported fields
}

func (*Provider) Descriptor deprecated

func (*Provider) Descriptor() ([]byte, []int)

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) GetAuthFlows added in v0.0.35

func (x *Provider) GetAuthFlows() []AuthorizationFlow

func (*Provider) GetClass added in v0.0.36

func (x *Provider) GetClass() string

func (*Provider) GetConfig added in v0.0.30

func (x *Provider) GetConfig() *structpb.Struct

func (*Provider) GetCredentialsState added in v0.0.37

func (x *Provider) GetCredentialsState() string

func (*Provider) GetImplements

func (x *Provider) GetImplements() []ProviderType

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) GetParameters added in v0.0.36

func (x *Provider) GetParameters() *ProviderParameter

func (*Provider) GetProject added in v0.0.30

func (x *Provider) GetProject() string

func (*Provider) GetVersion

func (x *Provider) GetVersion() 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

func (*Provider) SupportsAuthFlow added in v0.0.35

func (p *Provider) SupportsAuthFlow(flow AuthorizationFlow) bool

SupportsAuthFlow returns true if the provider supports the given auth flow

type ProviderClass added in v0.0.39

type ProviderClass int32
const (
	ProviderClass_PROVIDER_CLASS_UNSPECIFIED ProviderClass = 0
	ProviderClass_PROVIDER_CLASS_GITHUB      ProviderClass = 1
	ProviderClass_PROVIDER_CLASS_GITHUB_APP  ProviderClass = 2
)

func (ProviderClass) Descriptor added in v0.0.39

func (ProviderClass) Enum added in v0.0.39

func (x ProviderClass) Enum() *ProviderClass

func (ProviderClass) EnumDescriptor deprecated added in v0.0.39

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

Deprecated: Use ProviderClass.Descriptor instead.

func (ProviderClass) Number added in v0.0.39

func (ProviderClass) String added in v0.0.39

func (x ProviderClass) String() string

func (ProviderClass) ToString added in v0.0.39

func (p ProviderClass) ToString() string

ToString returns the string representation of the ProviderClass

func (ProviderClass) Type added in v0.0.39

type ProviderParameter added in v0.0.36

type ProviderParameter struct {

	// Types that are assignable to Parameters:
	//
	//	*ProviderParameter_GithubApp
	Parameters isProviderParameter_Parameters `protobuf_oneof:"parameters"`
	// contains filtered or unexported fields
}

func (*ProviderParameter) Descriptor deprecated added in v0.0.36

func (*ProviderParameter) Descriptor() ([]byte, []int)

Deprecated: Use ProviderParameter.ProtoReflect.Descriptor instead.

func (*ProviderParameter) GetGithubApp added in v0.0.36

func (x *ProviderParameter) GetGithubApp() *GitHubAppParams

func (*ProviderParameter) GetParameters added in v0.0.36

func (m *ProviderParameter) GetParameters() isProviderParameter_Parameters

func (*ProviderParameter) ProtoMessage added in v0.0.36

func (*ProviderParameter) ProtoMessage()

func (*ProviderParameter) ProtoReflect added in v0.0.36

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

func (*ProviderParameter) Reset added in v0.0.36

func (x *ProviderParameter) Reset()

func (*ProviderParameter) String added in v0.0.36

func (x *ProviderParameter) String() string

type ProviderParameter_GithubApp added in v0.0.36

type ProviderParameter_GithubApp struct {
	GithubApp *GitHubAppParams `protobuf:"bytes,1,opt,name=github_app,json=githubApp,proto3,oneof"`
}

type ProviderType added in v0.0.30

type ProviderType int32

ProviderTrait is the type of the provider.

const (
	ProviderType_PROVIDER_TYPE_UNSPECIFIED ProviderType = 0
	ProviderType_PROVIDER_TYPE_GITHUB      ProviderType = 1
	ProviderType_PROVIDER_TYPE_REST        ProviderType = 2
	ProviderType_PROVIDER_TYPE_GIT         ProviderType = 3
	ProviderType_PROVIDER_TYPE_OCI         ProviderType = 4
	ProviderType_PROVIDER_TYPE_REPO_LISTER ProviderType = 5
)

func (ProviderType) Descriptor added in v0.0.30

func (ProviderType) Enum added in v0.0.30

func (x ProviderType) Enum() *ProviderType

func (ProviderType) EnumDescriptor deprecated added in v0.0.30

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

Deprecated: Use ProviderType.Descriptor instead.

func (ProviderType) Number added in v0.0.30

func (ProviderType) String added in v0.0.30

func (x ProviderType) String() string

func (ProviderType) ToString added in v0.0.30

func (provt ProviderType) ToString() string

ToString returns the string representation of the ProviderType

func (ProviderType) Type added in v0.0.30

type ProvidersServiceClient added in v0.0.30

type ProvidersServiceClient interface {
	GetProvider(ctx context.Context, in *GetProviderRequest, opts ...grpc.CallOption) (*GetProviderResponse, error)
	ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error)
	CreateProvider(ctx context.Context, in *CreateProviderRequest, opts ...grpc.CallOption) (*CreateProviderResponse, error)
	DeleteProvider(ctx context.Context, in *DeleteProviderRequest, opts ...grpc.CallOption) (*DeleteProviderResponse, error)
	DeleteProviderByID(ctx context.Context, in *DeleteProviderByIDRequest, opts ...grpc.CallOption) (*DeleteProviderByIDResponse, error)
	// GetUnclaimedProviders returns a list of known provider configurations
	// that this user could claim based on their identity.  This is a read-only
	// operation for use by clients which wish to present a menu of options.
	GetUnclaimedProviders(ctx context.Context, in *GetUnclaimedProvidersRequest, opts ...grpc.CallOption) (*GetUnclaimedProvidersResponse, error)
	ListProviderClasses(ctx context.Context, in *ListProviderClassesRequest, opts ...grpc.CallOption) (*ListProviderClassesResponse, error)
}

ProvidersServiceClient is the client API for ProvidersService 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 NewProvidersServiceClient added in v0.0.30

func NewProvidersServiceClient(cc grpc.ClientConnInterface) ProvidersServiceClient

type ProvidersServiceServer added in v0.0.30

type ProvidersServiceServer interface {
	GetProvider(context.Context, *GetProviderRequest) (*GetProviderResponse, error)
	ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
	CreateProvider(context.Context, *CreateProviderRequest) (*CreateProviderResponse, error)
	DeleteProvider(context.Context, *DeleteProviderRequest) (*DeleteProviderResponse, error)
	DeleteProviderByID(context.Context, *DeleteProviderByIDRequest) (*DeleteProviderByIDResponse, error)
	// GetUnclaimedProviders returns a list of known provider configurations
	// that this user could claim based on their identity.  This is a read-only
	// operation for use by clients which wish to present a menu of options.
	GetUnclaimedProviders(context.Context, *GetUnclaimedProvidersRequest) (*GetUnclaimedProvidersResponse, error)
	ListProviderClasses(context.Context, *ListProviderClassesRequest) (*ListProviderClassesResponse, error)
	// contains filtered or unexported methods
}

ProvidersServiceServer is the server API for ProvidersService service. All implementations must embed UnimplementedProvidersServiceServer for forward compatibility

type PullRequest

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    int64    `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
	AuthorId  int64    `protobuf:"varint,6,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
	Action    string   `protobuf:"bytes,7,opt,name=action,proto3" json:"action,omitempty"`                        // The action that triggered the webhook
	Context   *Context `protobuf:"bytes,8,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*PullRequest) Descriptor deprecated

func (*PullRequest) Descriptor() ([]byte, []int)

Deprecated: Use PullRequest.ProtoReflect.Descriptor instead.

func (*PullRequest) GetAction

func (x *PullRequest) GetAction() string

func (*PullRequest) GetAuthorId

func (x *PullRequest) GetAuthorId() int64

func (*PullRequest) GetCommitSha

func (x *PullRequest) GetCommitSha() string

func (*PullRequest) GetContext added in v0.0.43

func (x *PullRequest) GetContext() *Context

func (*PullRequest) GetNumber

func (x *PullRequest) GetNumber() int64

func (*PullRequest) GetRepoName

func (x *PullRequest) GetRepoName() string

func (*PullRequest) GetRepoOwner

func (x *PullRequest) GetRepoOwner() string

func (*PullRequest) GetUrl

func (x *PullRequest) GetUrl() string

func (*PullRequest) ProtoMessage

func (*PullRequest) ProtoMessage()

func (*PullRequest) ProtoReflect

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

func (*PullRequest) Reset

func (x *PullRequest) Reset()

func (*PullRequest) String

func (x *PullRequest) String() string

type RESTProviderConfig

type RESTProviderConfig struct {

	// base_url is the base URL for the REST provider.
	BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// contains filtered or unexported fields
}

RESTProviderConfig contains the configuration for the REST provider.

func (*RESTProviderConfig) Descriptor deprecated

func (*RESTProviderConfig) Descriptor() ([]byte, []int)

Deprecated: Use RESTProviderConfig.ProtoReflect.Descriptor instead.

func (*RESTProviderConfig) GetBaseUrl

func (x *RESTProviderConfig) GetBaseUrl() string

func (*RESTProviderConfig) ProtoMessage

func (*RESTProviderConfig) ProtoMessage()

func (*RESTProviderConfig) ProtoReflect

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

func (*RESTProviderConfig) Reset

func (x *RESTProviderConfig) Reset()

func (*RESTProviderConfig) String

func (x *RESTProviderConfig) String() string

func (*RESTProviderConfig) Validate

func (rpcfg *RESTProviderConfig) Validate() error

Validate is a utility function which allows for the validation of a struct.

type RegisterRepoResult

type RegisterRepoResult struct {
	Repository *Repository                `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	Status     *RegisterRepoResult_Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRepoResult) Descriptor deprecated

func (*RegisterRepoResult) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRepoResult.ProtoReflect.Descriptor instead.

func (*RegisterRepoResult) GetRepository

func (x *RegisterRepoResult) GetRepository() *Repository

func (*RegisterRepoResult) GetStatus

func (*RegisterRepoResult) ProtoMessage

func (*RegisterRepoResult) ProtoMessage()

func (*RegisterRepoResult) ProtoReflect

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

func (*RegisterRepoResult) Reset

func (x *RegisterRepoResult) Reset()

func (*RegisterRepoResult) String

func (x *RegisterRepoResult) String() string

type RegisterRepoResult_Status

type RegisterRepoResult_Status struct {
	Success bool    `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Error   *string `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRepoResult_Status) Descriptor deprecated

func (*RegisterRepoResult_Status) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRepoResult_Status.ProtoReflect.Descriptor instead.

func (*RegisterRepoResult_Status) GetError

func (x *RegisterRepoResult_Status) GetError() string

func (*RegisterRepoResult_Status) GetSuccess

func (x *RegisterRepoResult_Status) GetSuccess() bool

func (*RegisterRepoResult_Status) ProtoMessage

func (*RegisterRepoResult_Status) ProtoMessage()

func (*RegisterRepoResult_Status) ProtoReflect

func (*RegisterRepoResult_Status) Reset

func (x *RegisterRepoResult_Status) Reset()

func (*RegisterRepoResult_Status) String

func (x *RegisterRepoResult_Status) String() string

type RegisterRepositoryRequest

type RegisterRepositoryRequest struct {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider   string                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Repository *UpstreamRepositoryRef `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	Context    *Context               `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRepositoryRequest) Descriptor deprecated

func (*RegisterRepositoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRepositoryRequest.ProtoReflect.Descriptor instead.

func (*RegisterRepositoryRequest) GetContext added in v0.0.21

func (x *RegisterRepositoryRequest) GetContext() *Context

func (*RegisterRepositoryRequest) GetProvider deprecated

func (x *RegisterRepositoryRequest) GetProvider() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*RegisterRepositoryRequest) GetRepository

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 {
	Result *RegisterRepoResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRepositoryResponse) Descriptor deprecated

func (*RegisterRepositoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRepositoryResponse.ProtoReflect.Descriptor instead.

func (*RegisterRepositoryResponse) GetResult

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 Relation added in v0.0.28

type Relation int32
const (
	Relation_RELATION_UNSPECIFIED                       Relation = 0
	Relation_RELATION_CREATE                            Relation = 1
	Relation_RELATION_GET                               Relation = 2
	Relation_RELATION_UPDATE                            Relation = 3
	Relation_RELATION_DELETE                            Relation = 4
	Relation_RELATION_ROLE_LIST                         Relation = 5
	Relation_RELATION_ROLE_ASSIGNMENT_LIST              Relation = 6
	Relation_RELATION_ROLE_ASSIGNMENT_CREATE            Relation = 7
	Relation_RELATION_ROLE_ASSIGNMENT_REMOVE            Relation = 8
	Relation_RELATION_REPO_GET                          Relation = 9
	Relation_RELATION_REPO_CREATE                       Relation = 10
	Relation_RELATION_REPO_UPDATE                       Relation = 11
	Relation_RELATION_REPO_DELETE                       Relation = 12
	Relation_RELATION_ARTIFACT_GET                      Relation = 13
	Relation_RELATION_ARTIFACT_CREATE                   Relation = 14
	Relation_RELATION_ARTIFACT_UPDATE                   Relation = 15
	Relation_RELATION_ARTIFACT_DELETE                   Relation = 16
	Relation_RELATION_PR_GET                            Relation = 17
	Relation_RELATION_PR_CREATE                         Relation = 18
	Relation_RELATION_PR_UPDATE                         Relation = 19
	Relation_RELATION_PR_DELETE                         Relation = 20
	Relation_RELATION_PROVIDER_GET                      Relation = 21
	Relation_RELATION_PROVIDER_CREATE                   Relation = 22
	Relation_RELATION_PROVIDER_UPDATE                   Relation = 23
	Relation_RELATION_PROVIDER_DELETE                   Relation = 24
	Relation_RELATION_RULE_TYPE_GET                     Relation = 25
	Relation_RELATION_RULE_TYPE_CREATE                  Relation = 26
	Relation_RELATION_RULE_TYPE_UPDATE                  Relation = 27
	Relation_RELATION_RULE_TYPE_DELETE                  Relation = 28
	Relation_RELATION_PROFILE_GET                       Relation = 29
	Relation_RELATION_PROFILE_CREATE                    Relation = 30
	Relation_RELATION_PROFILE_UPDATE                    Relation = 31
	Relation_RELATION_PROFILE_DELETE                    Relation = 32
	Relation_RELATION_PROFILE_STATUS_GET                Relation = 33
	Relation_RELATION_REMOTE_REPO_GET                   Relation = 34
	Relation_RELATION_ENTITY_RECONCILIATION_TASK_CREATE Relation = 35
)

func (Relation) Descriptor added in v0.0.28

func (Relation) Descriptor() protoreflect.EnumDescriptor

func (Relation) Enum added in v0.0.28

func (x Relation) Enum() *Relation

func (Relation) EnumDescriptor deprecated added in v0.0.28

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

Deprecated: Use Relation.Descriptor instead.

func (Relation) Number added in v0.0.28

func (x Relation) Number() protoreflect.EnumNumber

func (Relation) String added in v0.0.28

func (x Relation) String() string

func (Relation) Type added in v0.0.28

type RemoveRoleRequest added in v0.0.28

type RemoveRoleRequest struct {

	// context is the context in which the role assignment is evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// role_assignment is the role assignment to be removed.
	RoleAssignment *RoleAssignment `protobuf:"bytes,2,opt,name=role_assignment,json=roleAssignment,proto3" json:"role_assignment,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRoleRequest) Descriptor deprecated added in v0.0.28

func (*RemoveRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveRoleRequest.ProtoReflect.Descriptor instead.

func (*RemoveRoleRequest) GetContext added in v0.0.28

func (x *RemoveRoleRequest) GetContext() *Context

func (*RemoveRoleRequest) GetRoleAssignment added in v0.0.28

func (x *RemoveRoleRequest) GetRoleAssignment() *RoleAssignment

func (*RemoveRoleRequest) ProtoMessage added in v0.0.28

func (*RemoveRoleRequest) ProtoMessage()

func (*RemoveRoleRequest) ProtoReflect added in v0.0.28

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

func (*RemoveRoleRequest) Reset added in v0.0.28

func (x *RemoveRoleRequest) Reset()

func (*RemoveRoleRequest) String added in v0.0.28

func (x *RemoveRoleRequest) String() string

type RemoveRoleResponse added in v0.0.28

type RemoveRoleResponse struct {

	// role_assignment is the role assignment that was removed.
	RoleAssignment *RoleAssignment `protobuf:"bytes,1,opt,name=role_assignment,json=roleAssignment,proto3" json:"role_assignment,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRoleResponse) Descriptor deprecated added in v0.0.28

func (*RemoveRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveRoleResponse.ProtoReflect.Descriptor instead.

func (*RemoveRoleResponse) GetRoleAssignment added in v0.0.28

func (x *RemoveRoleResponse) GetRoleAssignment() *RoleAssignment

func (*RemoveRoleResponse) ProtoMessage added in v0.0.28

func (*RemoveRoleResponse) ProtoMessage()

func (*RemoveRoleResponse) ProtoReflect added in v0.0.28

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

func (*RemoveRoleResponse) Reset added in v0.0.28

func (x *RemoveRoleResponse) Reset()

func (*RemoveRoleResponse) String added in v0.0.28

func (x *RemoveRoleResponse) String() string

type Repository

type Repository struct {
	Id            *string                `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` // This is optional when returning remote repositories
	Context       *Context               `protobuf:"bytes,2,opt,name=context,proto3,oneof" json:"context,omitempty"`
	Owner         string                 `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	RepoId        int64                  `protobuf:"varint,5,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	HookId        int64                  `protobuf:"varint,6,opt,name=hook_id,json=hookId,proto3" json:"hook_id,omitempty"`
	HookUrl       string                 `protobuf:"bytes,7,opt,name=hook_url,json=hookUrl,proto3" json:"hook_url,omitempty"`
	DeployUrl     string                 `protobuf:"bytes,8,opt,name=deploy_url,json=deployUrl,proto3" json:"deploy_url,omitempty"`
	CloneUrl      string                 `protobuf:"bytes,9,opt,name=clone_url,json=cloneUrl,proto3" json:"clone_url,omitempty"`
	HookName      string                 `protobuf:"bytes,10,opt,name=hook_name,json=hookName,proto3" json:"hook_name,omitempty"`
	HookType      string                 `protobuf:"bytes,11,opt,name=hook_type,json=hookType,proto3" json:"hook_type,omitempty"`
	HookUuid      string                 `protobuf:"bytes,12,opt,name=hook_uuid,json=hookUuid,proto3" json:"hook_uuid,omitempty"`
	IsPrivate     bool                   `protobuf:"varint,13,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	IsFork        bool                   `protobuf:"varint,14,opt,name=is_fork,json=isFork,proto3" json:"is_fork,omitempty"`
	Registered    bool                   `protobuf:"varint,15,opt,name=registered,proto3" json:"registered,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DefaultBranch string                 `protobuf:"bytes,18,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
	License       string                 `protobuf:"bytes,19,opt,name=license,proto3" json:"license,omitempty"`
	// contains filtered or unexported fields
}

func (*Repository) Descriptor deprecated

func (*Repository) Descriptor() ([]byte, []int)

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetCloneUrl

func (x *Repository) GetCloneUrl() string

func (*Repository) GetContext

func (x *Repository) GetContext() *Context

func (*Repository) GetCreatedAt

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

func (*Repository) GetDefaultBranch added in v0.0.21

func (x *Repository) GetDefaultBranch() string

func (*Repository) GetDeployUrl

func (x *Repository) GetDeployUrl() string

func (*Repository) GetHookId

func (x *Repository) GetHookId() int64

func (*Repository) GetHookName

func (x *Repository) GetHookName() string

func (*Repository) GetHookType

func (x *Repository) GetHookType() string

func (*Repository) GetHookUrl

func (x *Repository) GetHookUrl() string

func (*Repository) GetHookUuid

func (x *Repository) GetHookUuid() string

func (*Repository) GetId

func (x *Repository) GetId() string

func (*Repository) GetIsFork

func (x *Repository) GetIsFork() bool

func (*Repository) GetIsPrivate

func (x *Repository) GetIsPrivate() bool

func (*Repository) GetLicense added in v0.0.35

func (x *Repository) GetLicense() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetOwner

func (x *Repository) GetOwner() string

func (*Repository) GetRegistered

func (x *Repository) GetRegistered() bool

func (*Repository) GetRepoId

func (x *Repository) GetRepoId() int64

func (*Repository) GetUpdatedAt

func (x *Repository) GetUpdatedAt() *timestamppb.Timestamp

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

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

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

type RepositoryServiceClient

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

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"`
	// fallback provides a body that the ingester would return in case
	// the REST call returns a non-200 status code.
	Fallback []*RestType_Fallback `protobuf:"bytes,6,rep,name=fallback,proto3" json:"fallback,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) GetFallback

func (x *RestType) GetFallback() []*RestType_Fallback

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 RestType_Fallback

type RestType_Fallback struct {
	HttpCode int32  `protobuf:"varint,1,opt,name=http_code,json=httpCode,proto3" json:"http_code,omitempty"`
	Body     string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*RestType_Fallback) Descriptor deprecated

func (*RestType_Fallback) Descriptor() ([]byte, []int)

Deprecated: Use RestType_Fallback.ProtoReflect.Descriptor instead.

func (*RestType_Fallback) GetBody

func (x *RestType_Fallback) GetBody() string

func (*RestType_Fallback) GetHttpCode

func (x *RestType_Fallback) GetHttpCode() int32

func (*RestType_Fallback) ProtoMessage

func (*RestType_Fallback) ProtoMessage()

func (*RestType_Fallback) ProtoReflect

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

func (*RestType_Fallback) Reset

func (x *RestType_Fallback) Reset()

func (*RestType_Fallback) String

func (x *RestType_Fallback) String() string

type Role added in v0.0.28

type Role struct {

	// name is the name of the role.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// description is the description of the role.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated added in v0.0.28

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDescription added in v0.0.28

func (x *Role) GetDescription() string

func (*Role) GetName added in v0.0.28

func (x *Role) GetName() string

func (*Role) ProtoMessage added in v0.0.28

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v0.0.28

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

func (*Role) Reset added in v0.0.28

func (x *Role) Reset()

func (*Role) String added in v0.0.28

func (x *Role) String() string

type RoleAssignment added in v0.0.28

type RoleAssignment struct {

	// role is the role that is assigned.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// subject is the subject to which the role is assigned.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// projectt is the projectt in which the role is assigned.
	Project *string `protobuf:"bytes,4,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleAssignment) Descriptor deprecated added in v0.0.28

func (*RoleAssignment) Descriptor() ([]byte, []int)

Deprecated: Use RoleAssignment.ProtoReflect.Descriptor instead.

func (*RoleAssignment) GetProject added in v0.0.28

func (x *RoleAssignment) GetProject() string

func (*RoleAssignment) GetRole added in v0.0.28

func (x *RoleAssignment) GetRole() string

func (*RoleAssignment) GetSubject added in v0.0.28

func (x *RoleAssignment) GetSubject() string

func (*RoleAssignment) ProtoMessage added in v0.0.28

func (*RoleAssignment) ProtoMessage()

func (*RoleAssignment) ProtoReflect added in v0.0.28

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

func (*RoleAssignment) Reset added in v0.0.28

func (x *RoleAssignment) Reset()

func (*RoleAssignment) String added in v0.0.28

func (x *RoleAssignment) String() string

type RpcOptions

type RpcOptions struct {
	NoLog          bool           `protobuf:"varint,2,opt,name=no_log,json=noLog,proto3" json:"no_log,omitempty"`
	TargetResource TargetResource `` /* 134-byte string literal not displayed */
	Relation       Relation       `protobuf:"varint,7,opt,name=relation,proto3,enum=minder.v1.Relation" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcOptions) Descriptor deprecated

func (*RpcOptions) Descriptor() ([]byte, []int)

Deprecated: Use RpcOptions.ProtoReflect.Descriptor instead.

func (*RpcOptions) GetNoLog

func (x *RpcOptions) GetNoLog() bool

func (*RpcOptions) GetRelation added in v0.0.28

func (x *RpcOptions) GetRelation() Relation

func (*RpcOptions) GetTargetResource added in v0.0.28

func (x *RpcOptions) GetTargetResource() TargetResource

func (*RpcOptions) ProtoMessage

func (*RpcOptions) ProtoMessage()

func (*RpcOptions) ProtoReflect

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

func (*RpcOptions) Reset

func (x *RpcOptions) Reset()

func (*RpcOptions) String

func (x *RpcOptions) String() string

type RuleEvaluationStatus

type RuleEvaluationStatus struct {

	// profile_id is the id of the profile
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// rule_id is the id of the rule
	RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// rule_name is the type of the rule. Deprecated in favor of rule_type_name
	//
	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	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 profile 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"`
	// remediation_status is the status of the remediation
	RemediationStatus string `protobuf:"bytes,10,opt,name=remediation_status,json=remediationStatus,proto3" json:"remediation_status,omitempty"`
	// remediation_last_updated is the last time the remediation was performed or attempted
	RemediationLastUpdated *timestamppb.Timestamp `` /* 136-byte string literal not displayed */
	// remediation_details is the description of the remediation attempt if any
	RemediationDetails string `protobuf:"bytes,12,opt,name=remediation_details,json=remediationDetails,proto3" json:"remediation_details,omitempty"`
	// rule_type_name is the name of the rule
	RuleTypeName string `protobuf:"bytes,13,opt,name=rule_type_name,json=ruleTypeName,proto3" json:"rule_type_name,omitempty"`
	// rule_description_name is the name to describe the rule
	RuleDescriptionName string `protobuf:"bytes,14,opt,name=rule_description_name,json=ruleDescriptionName,proto3" json:"rule_description_name,omitempty"`
	// alert holds the alert details if the rule generated an alert in an external system
	Alert *EvalResultAlert `protobuf:"bytes,15,opt,name=alert,proto3" json:"alert,omitempty"`
	// severity is the severity of the rule
	Severity *Severity `protobuf:"bytes,16,opt,name=severity,proto3" json:"severity,omitempty"`
	// rule_evaluation_id is the id of the rule evaluation
	RuleEvaluationId string `protobuf:"bytes,17,opt,name=rule_evaluation_id,json=ruleEvaluationId,proto3" json:"rule_evaluation_id,omitempty"`
	// remediation_url is a url to get more data about a remediation, for PRs is the link to the PR
	RemediationUrl string `protobuf:"bytes,18,opt,name=remediation_url,json=remediationUrl,proto3" json:"remediation_url,omitempty"`
	// rule_display_name captures the display name of the rule
	RuleDisplayName string `protobuf:"bytes,19,opt,name=rule_display_name,json=ruleDisplayName,proto3" json:"rule_display_name,omitempty"`
	// contains filtered or unexported fields
}

get the status of the rules for a given profile

func (*RuleEvaluationStatus) Descriptor deprecated

func (*RuleEvaluationStatus) Descriptor() ([]byte, []int)

Deprecated: Use RuleEvaluationStatus.ProtoReflect.Descriptor instead.

func (*RuleEvaluationStatus) GetAlert added in v0.0.35

func (x *RuleEvaluationStatus) GetAlert() *EvalResultAlert

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

func (x *RuleEvaluationStatus) GetGuidance() string

func (*RuleEvaluationStatus) GetLastUpdated

func (x *RuleEvaluationStatus) GetLastUpdated() *timestamppb.Timestamp

func (*RuleEvaluationStatus) GetProfileId

func (x *RuleEvaluationStatus) GetProfileId() string

func (*RuleEvaluationStatus) GetRemediationDetails

func (x *RuleEvaluationStatus) GetRemediationDetails() string

func (*RuleEvaluationStatus) GetRemediationLastUpdated

func (x *RuleEvaluationStatus) GetRemediationLastUpdated() *timestamppb.Timestamp

func (*RuleEvaluationStatus) GetRemediationStatus

func (x *RuleEvaluationStatus) GetRemediationStatus() string

func (*RuleEvaluationStatus) GetRemediationUrl added in v0.0.39

func (x *RuleEvaluationStatus) GetRemediationUrl() string

func (*RuleEvaluationStatus) GetRuleDescriptionName added in v0.0.28

func (x *RuleEvaluationStatus) GetRuleDescriptionName() string

func (*RuleEvaluationStatus) GetRuleDisplayName added in v0.0.39

func (x *RuleEvaluationStatus) GetRuleDisplayName() string

func (*RuleEvaluationStatus) GetRuleEvaluationId added in v0.0.37

func (x *RuleEvaluationStatus) GetRuleEvaluationId() string

func (*RuleEvaluationStatus) GetRuleId

func (x *RuleEvaluationStatus) GetRuleId() string

func (*RuleEvaluationStatus) GetRuleName deprecated

func (x *RuleEvaluationStatus) GetRuleName() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

func (*RuleEvaluationStatus) GetRuleTypeName added in v0.0.28

func (x *RuleEvaluationStatus) GetRuleTypeName() string

func (*RuleEvaluationStatus) GetSeverity added in v0.0.35

func (x *RuleEvaluationStatus) GetSeverity() *Severity

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 *string `protobuf:"bytes,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"`
	// display_name is the display name of the rule type.
	DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_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"`
	// severity is the severity of the rule type.
	Severity *Severity `protobuf:"bytes,7,opt,name=severity,proto3" json:"severity,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 ParseRuleType

func ParseRuleType(r io.Reader) (*RuleType, error)

ParseRuleType parses a rule type from a reader

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) GetDisplayName added in v0.0.38

func (x *RuleType) GetDisplayName() string

func (*RuleType) GetGuidance

func (x *RuleType) GetGuidance() string

func (*RuleType) GetId

func (x *RuleType) GetId() string

func (*RuleType) GetName

func (x *RuleType) GetName() string

func (*RuleType) GetSeverity added in v0.0.32

func (x *RuleType) GetSeverity() *Severity

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

func (*RuleType) Validate

func (rt *RuleType) Validate() error

Validate ensures that a rule type is valid

func (*RuleType) WithDefaultDisplayName added in v0.0.38

func (r *RuleType) WithDefaultDisplayName() *RuleType

WithDefaultDisplayName sets the display name if it is not set

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"`
	Remediate   *RuleType_Definition_Remediate `protobuf:"bytes,6,opt,name=remediate,proto3" json:"remediate,omitempty"`
	Alert       *RuleType_Definition_Alert     `protobuf:"bytes,7,opt,name=alert,proto3" json:"alert,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) GetAlert

func (*RuleType_Definition) GetEval

func (*RuleType_Definition) GetInEntity

func (x *RuleType_Definition) GetInEntity() string

func (*RuleType_Definition) GetIngest

func (*RuleType_Definition) GetParamSchema

func (x *RuleType_Definition) GetParamSchema() *structpb.Struct

func (*RuleType_Definition) GetRemediate

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

func (*RuleType_Definition) Validate

func (def *RuleType_Definition) Validate() error

Validate validates a rule type definition

type RuleType_Definition_Alert

type RuleType_Definition_Alert struct {
	Type             string                                 `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	SecurityAdvisory *RuleType_Definition_Alert_AlertTypeSA `protobuf:"bytes,2,opt,name=security_advisory,json=securityAdvisory,proto3,oneof" json:"security_advisory,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Alert) Descriptor deprecated

func (*RuleType_Definition_Alert) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Alert.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Alert) GetSecurityAdvisory

func (*RuleType_Definition_Alert) GetType

func (x *RuleType_Definition_Alert) GetType() string

func (*RuleType_Definition_Alert) ProtoMessage

func (*RuleType_Definition_Alert) ProtoMessage()

func (*RuleType_Definition_Alert) ProtoReflect

func (*RuleType_Definition_Alert) Reset

func (x *RuleType_Definition_Alert) Reset()

func (*RuleType_Definition_Alert) String

func (x *RuleType_Definition_Alert) String() string

type RuleType_Definition_Alert_AlertTypeSA

type RuleType_Definition_Alert_AlertTypeSA struct {
	Severity string `protobuf:"bytes,1,opt,name=severity,proto3" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Alert_AlertTypeSA) Descriptor deprecated

func (*RuleType_Definition_Alert_AlertTypeSA) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Alert_AlertTypeSA.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Alert_AlertTypeSA) GetSeverity

func (*RuleType_Definition_Alert_AlertTypeSA) ProtoMessage

func (*RuleType_Definition_Alert_AlertTypeSA) ProtoMessage()

func (*RuleType_Definition_Alert_AlertTypeSA) ProtoReflect

func (*RuleType_Definition_Alert_AlertTypeSA) Reset

func (*RuleType_Definition_Alert_AlertTypeSA) String

type RuleType_Definition_Eval

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 profile 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"`
	// The trusty type is no longer used, but is still here for backwards
	// compatibility with existing stored rules
	Trusty *RuleType_Definition_Eval_Trusty `protobuf:"bytes,5,opt,name=trusty,proto3,oneof" json:"trusty,omitempty"`
	// homoglyphs is only used if the `homoglyphs` type is selected.
	Homoglyphs *RuleType_Definition_Eval_Homoglyphs `protobuf:"bytes,6,opt,name=homoglyphs,proto3,oneof" json:"homoglyphs,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

func (*RuleType_Definition_Eval) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Eval.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval) GetHomoglyphs added in v0.0.31

func (*RuleType_Definition_Eval) GetJq

func (*RuleType_Definition_Eval) GetRego

func (*RuleType_Definition_Eval) GetTrusty

func (*RuleType_Definition_Eval) GetType

func (x *RuleType_Definition_Eval) GetType() string

func (*RuleType_Definition_Eval) GetVulncheck

func (*RuleType_Definition_Eval) ProtoMessage

func (*RuleType_Definition_Eval) ProtoMessage()

func (*RuleType_Definition_Eval) ProtoReflect

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

func (*RuleType_Definition_Eval) Reset

func (x *RuleType_Definition_Eval) Reset()

func (*RuleType_Definition_Eval) String

func (x *RuleType_Definition_Eval) String() string

type RuleType_Definition_Eval_Homoglyphs added in v0.0.31

type RuleType_Definition_Eval_Homoglyphs struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Eval_Homoglyphs) Descriptor deprecated added in v0.0.31

func (*RuleType_Definition_Eval_Homoglyphs) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Eval_Homoglyphs.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_Homoglyphs) GetType added in v0.0.31

func (*RuleType_Definition_Eval_Homoglyphs) ProtoMessage added in v0.0.31

func (*RuleType_Definition_Eval_Homoglyphs) ProtoMessage()

func (*RuleType_Definition_Eval_Homoglyphs) ProtoReflect added in v0.0.31

func (*RuleType_Definition_Eval_Homoglyphs) Reset added in v0.0.31

func (*RuleType_Definition_Eval_Homoglyphs) String added in v0.0.31

type RuleType_Definition_Eval_JQComparison

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"`
	// Profile points to the profile itself.
	Profile *RuleType_Definition_Eval_JQComparison_Operator `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Eval_JQComparison) Descriptor deprecated

func (*RuleType_Definition_Eval_JQComparison) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Eval_JQComparison.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_JQComparison) GetIngested

func (*RuleType_Definition_Eval_JQComparison) GetProfile

func (*RuleType_Definition_Eval_JQComparison) ProtoMessage

func (*RuleType_Definition_Eval_JQComparison) ProtoMessage()

func (*RuleType_Definition_Eval_JQComparison) ProtoReflect

func (*RuleType_Definition_Eval_JQComparison) Reset

func (*RuleType_Definition_Eval_JQComparison) String

type RuleType_Definition_Eval_JQComparison_Operator

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

Deprecated: Use RuleType_Definition_Eval_JQComparison_Operator.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_JQComparison_Operator) GetDef

func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoMessage

func (*RuleType_Definition_Eval_JQComparison_Operator) ProtoReflect

func (*RuleType_Definition_Eval_JQComparison_Operator) Reset

func (*RuleType_Definition_Eval_JQComparison_Operator) String

type RuleType_Definition_Eval_Rego

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 profile explicitly allows it. It expects the
	//     profile 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 profile 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 profile.
	Def string `protobuf:"bytes,2,opt,name=def,proto3" json:"def,omitempty"`
	// how are violations reported. This is only used if the
	// `constraints` type is selected. The default is `text`
	// which returns human-readable text. The other option is
	// `json` which returns a JSON array containing the violations.
	ViolationFormat *string `protobuf:"bytes,3,opt,name=violation_format,json=violationFormat,proto3,oneof" json:"violation_format,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Eval_Rego) Descriptor deprecated

func (*RuleType_Definition_Eval_Rego) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Eval_Rego.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_Rego) GetDef

func (*RuleType_Definition_Eval_Rego) GetType

func (*RuleType_Definition_Eval_Rego) GetViolationFormat added in v0.0.19

func (x *RuleType_Definition_Eval_Rego) GetViolationFormat() string

func (*RuleType_Definition_Eval_Rego) ProtoMessage

func (*RuleType_Definition_Eval_Rego) ProtoMessage()

func (*RuleType_Definition_Eval_Rego) ProtoReflect

func (*RuleType_Definition_Eval_Rego) Reset

func (x *RuleType_Definition_Eval_Rego) Reset()

func (*RuleType_Definition_Eval_Rego) String

type RuleType_Definition_Eval_Trusty

type RuleType_Definition_Eval_Trusty struct {

	// This is no longer used, but is still here for backwards
	// compatibility with existing stored rules
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Eval_Trusty) Descriptor deprecated

func (*RuleType_Definition_Eval_Trusty) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Eval_Trusty.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_Trusty) GetEndpoint

func (x *RuleType_Definition_Eval_Trusty) GetEndpoint() string

func (*RuleType_Definition_Eval_Trusty) ProtoMessage

func (*RuleType_Definition_Eval_Trusty) ProtoMessage()

func (*RuleType_Definition_Eval_Trusty) ProtoReflect

func (*RuleType_Definition_Eval_Trusty) Reset

func (*RuleType_Definition_Eval_Trusty) String

type RuleType_Definition_Eval_Vulncheck

type RuleType_Definition_Eval_Vulncheck struct {
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Eval_Vulncheck) Descriptor deprecated

func (*RuleType_Definition_Eval_Vulncheck) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Eval_Vulncheck.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_Vulncheck) ProtoMessage

func (*RuleType_Definition_Eval_Vulncheck) ProtoMessage()

func (*RuleType_Definition_Eval_Vulncheck) ProtoReflect

func (*RuleType_Definition_Eval_Vulncheck) Reset

func (*RuleType_Definition_Eval_Vulncheck) String

type RuleType_Definition_Ingest

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

func (*RuleType_Definition_Ingest) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Ingest.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Ingest) GetArtifact

func (x *RuleType_Definition_Ingest) GetArtifact() *ArtifactType

func (*RuleType_Definition_Ingest) GetBuiltin

func (x *RuleType_Definition_Ingest) GetBuiltin() *BuiltinType

func (*RuleType_Definition_Ingest) GetDiff

func (x *RuleType_Definition_Ingest) GetDiff() *DiffType

func (*RuleType_Definition_Ingest) GetGit

func (x *RuleType_Definition_Ingest) GetGit() *GitType

func (*RuleType_Definition_Ingest) GetRest

func (x *RuleType_Definition_Ingest) GetRest() *RestType

func (*RuleType_Definition_Ingest) GetType

func (x *RuleType_Definition_Ingest) GetType() string

func (*RuleType_Definition_Ingest) ProtoMessage

func (*RuleType_Definition_Ingest) ProtoMessage()

func (*RuleType_Definition_Ingest) ProtoReflect

func (*RuleType_Definition_Ingest) Reset

func (x *RuleType_Definition_Ingest) Reset()

func (*RuleType_Definition_Ingest) String

func (x *RuleType_Definition_Ingest) String() string

func (*RuleType_Definition_Ingest) Validate added in v0.0.22

func (ing *RuleType_Definition_Ingest) Validate() error

Validate validates a rule type definition ingest

type RuleType_Definition_Remediate

type RuleType_Definition_Remediate struct {
	Type               string                                                `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Rest               *RestType                                             `protobuf:"bytes,2,opt,name=rest,proto3,oneof" json:"rest,omitempty"`
	GhBranchProtection *RuleType_Definition_Remediate_GhBranchProtectionType `protobuf:"bytes,3,opt,name=gh_branch_protection,json=ghBranchProtection,proto3,oneof" json:"gh_branch_protection,omitempty"`
	PullRequest        *RuleType_Definition_Remediate_PullRequestRemediation `protobuf:"bytes,4,opt,name=pull_request,json=pullRequest,proto3,oneof" json:"pull_request,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Remediate) Descriptor deprecated

func (*RuleType_Definition_Remediate) Descriptor() ([]byte, []int)

Deprecated: Use RuleType_Definition_Remediate.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Remediate) GetGhBranchProtection

func (*RuleType_Definition_Remediate) GetPullRequest

func (*RuleType_Definition_Remediate) GetRest

func (*RuleType_Definition_Remediate) GetType

func (*RuleType_Definition_Remediate) ProtoMessage

func (*RuleType_Definition_Remediate) ProtoMessage()

func (*RuleType_Definition_Remediate) ProtoReflect

func (*RuleType_Definition_Remediate) Reset

func (x *RuleType_Definition_Remediate) Reset()

func (*RuleType_Definition_Remediate) String

type RuleType_Definition_Remediate_GhBranchProtectionType

type RuleType_Definition_Remediate_GhBranchProtectionType struct {
	Patch string `protobuf:"bytes,1,opt,name=patch,proto3" json:"patch,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Remediate_GhBranchProtectionType) Descriptor deprecated

Deprecated: Use RuleType_Definition_Remediate_GhBranchProtectionType.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Remediate_GhBranchProtectionType) GetPatch

func (*RuleType_Definition_Remediate_GhBranchProtectionType) ProtoMessage

func (*RuleType_Definition_Remediate_GhBranchProtectionType) ProtoReflect

func (*RuleType_Definition_Remediate_GhBranchProtectionType) Reset

func (*RuleType_Definition_Remediate_GhBranchProtectionType) String

type RuleType_Definition_Remediate_PullRequestRemediation

type RuleType_Definition_Remediate_PullRequestRemediation struct {

	// the title of the PR
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the body of the PR
	Body     string                                                          `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Contents []*RuleType_Definition_Remediate_PullRequestRemediation_Content `protobuf:"bytes,3,rep,name=contents,proto3" json:"contents,omitempty"`
	// the method to use to create the PR. For now, these are supported:
	// -- minder.content - ensures that the content of the file is exactly as specified
	//
	//	refer to the Content message for more details
	//
	// -- minder.actions.replace_tags_with_sha - finds any github actions within a workflow
	//
	//	file and replaces the tag with the SHA
	Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// If the method is minder.actions.replace_tags_with_sha, this is the configuration
	// for that method
	ActionsReplaceTagsWithSha *RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

the name stutters a bit but we already use a PullRequest message for handling PR entities

func (*RuleType_Definition_Remediate_PullRequestRemediation) Descriptor deprecated

Deprecated: Use RuleType_Definition_Remediate_PullRequestRemediation.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetActionsReplaceTagsWithSha added in v0.0.21

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetBody

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetContents

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetMethod added in v0.0.21

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetTitle

func (*RuleType_Definition_Remediate_PullRequestRemediation) ProtoMessage

func (*RuleType_Definition_Remediate_PullRequestRemediation) ProtoReflect

func (*RuleType_Definition_Remediate_PullRequestRemediation) Reset

func (*RuleType_Definition_Remediate_PullRequestRemediation) String

func (*RuleType_Definition_Remediate_PullRequestRemediation) Validate

Validate validates a rule definition

type RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha added in v0.0.21

type RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha struct {

	// List of actions to exclude from the replacement
	Exclude []string `protobuf:"bytes,1,rep,name=exclude,proto3" json:"exclude,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) Descriptor deprecated added in v0.0.21

Deprecated: Use RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) GetExclude added in v0.0.21

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) ProtoMessage added in v0.0.21

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) ProtoReflect added in v0.0.21

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) Reset added in v0.0.21

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) String added in v0.0.21

type RuleType_Definition_Remediate_PullRequestRemediation_Content

type RuleType_Definition_Remediate_PullRequestRemediation_Content struct {

	// the file to patch
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// how to patch the file. For now, only replace is supported
	Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// the content of the file
	Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// the GIT mode of the file. Not UNIX mode! String because the GH API also uses strings
	// the usual modes are: 100644 for regular files, 100755 for executable files and
	// 040000 for submodules (which we don't use but now you know the meaning of the 1 in 100644)
	// see e.g. https://github.com/go-git/go-git/blob/32e0172851c35ae2fac495069c923330040903d2/plumbing/filemode/filemode.go#L16
	Mode *string `protobuf:"bytes,3,opt,name=mode,proto3,oneof" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) Descriptor deprecated

Deprecated: Use RuleType_Definition_Remediate_PullRequestRemediation_Content.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) GetAction

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) GetContent

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) GetMode

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) GetPath

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) ProtoMessage

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) ProtoReflect

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) Reset

func (*RuleType_Definition_Remediate_PullRequestRemediation_Content) String

type Severity added in v0.0.32

type Severity struct {

	// value is the severity value.
	Value Severity_Value `protobuf:"varint,1,opt,name=value,proto3,enum=minder.v1.Severity_Value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Severity defines the severity of the rule.

func (*Severity) Descriptor deprecated added in v0.0.32

func (*Severity) Descriptor() ([]byte, []int)

Deprecated: Use Severity.ProtoReflect.Descriptor instead.

func (*Severity) EnsureDefault added in v0.0.32

func (s *Severity) EnsureDefault() *Severity

EnsureDefault ensures the rule type has a default value

func (*Severity) GetValue added in v0.0.32

func (x *Severity) GetValue() Severity_Value

func (*Severity) InitializedStringValue added in v0.0.32

func (s *Severity) InitializedStringValue() string

InitializedStringValue returns the string value of the severity with initialization done.

func (*Severity) ProtoMessage added in v0.0.32

func (*Severity) ProtoMessage()

func (*Severity) ProtoReflect added in v0.0.32

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

func (*Severity) Reset added in v0.0.32

func (x *Severity) Reset()

func (*Severity) String added in v0.0.32

func (x *Severity) String() string

type Severity_Value added in v0.0.32

type Severity_Value int32

Value enumerates the severity values.

const (
	Severity_VALUE_UNSPECIFIED Severity_Value = 0
	// unknown severity means that the severity is unknown or hasn't
	// been set.
	Severity_VALUE_UNKNOWN Severity_Value = 1
	// info severity means that the severity is informational and
	// does not incur risk.
	Severity_VALUE_INFO Severity_Value = 2
	// low severity means that the severity is low and does not
	// incur significant risk.
	Severity_VALUE_LOW Severity_Value = 3
	// medium severity means that the severity is medium and may
	// incur some risk.
	Severity_VALUE_MEDIUM Severity_Value = 4
	// high severity means that the severity is high and may incur
	// significant risk.
	Severity_VALUE_HIGH Severity_Value = 5
	// critical severity means that the severity is critical and
	// requires immediate attention.
	Severity_VALUE_CRITICAL Severity_Value = 6
)

func (*Severity_Value) AsString added in v0.0.32

func (s *Severity_Value) AsString() string

AsString returns a human-readable string for the severity value

func (Severity_Value) Descriptor added in v0.0.32

func (Severity_Value) Enum added in v0.0.32

func (x Severity_Value) Enum() *Severity_Value

func (Severity_Value) EnumDescriptor deprecated added in v0.0.32

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

Deprecated: Use Severity_Value.Descriptor instead.

func (*Severity_Value) FromString added in v0.0.32

func (s *Severity_Value) FromString(str string) error

FromString sets the severity value from a string

func (*Severity_Value) MarshalJSON added in v0.0.32

func (s *Severity_Value) MarshalJSON() ([]byte, error)

MarshalJSON marshals the severity value to a JSON string

func (Severity_Value) Number added in v0.0.32

func (Severity_Value) String added in v0.0.32

func (x Severity_Value) String() string

func (Severity_Value) Type added in v0.0.32

func (*Severity_Value) UnmarshalJSON added in v0.0.32

func (s *Severity_Value) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the severity value from a JSON string

type StoreProviderTokenRequest

type StoreProviderTokenRequest struct {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider    string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,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"`
	Context     *Context `protobuf:"bytes,5,opt,name=context,proto3" json:"context,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) GetContext added in v0.0.21

func (x *StoreProviderTokenRequest) GetContext() *Context

func (*StoreProviderTokenRequest) GetOwner

func (x *StoreProviderTokenRequest) GetOwner() string

func (*StoreProviderTokenRequest) GetProvider deprecated

func (x *StoreProviderTokenRequest) GetProvider() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

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 TargetResource added in v0.0.28

type TargetResource int32
const (
	TargetResource_TARGET_RESOURCE_UNSPECIFIED TargetResource = 0
	TargetResource_TARGET_RESOURCE_NONE        TargetResource = 1
	TargetResource_TARGET_RESOURCE_USER        TargetResource = 2
	TargetResource_TARGET_RESOURCE_PROJECT     TargetResource = 3
)

func (TargetResource) Descriptor added in v0.0.28

func (TargetResource) Enum added in v0.0.28

func (x TargetResource) Enum() *TargetResource

func (TargetResource) EnumDescriptor deprecated added in v0.0.28

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

Deprecated: Use TargetResource.Descriptor instead.

func (TargetResource) Number added in v0.0.28

func (TargetResource) String added in v0.0.28

func (x TargetResource) String() string

func (TargetResource) Type added in v0.0.28

type UnimplementedArtifactServiceServer

type UnimplementedArtifactServiceServer struct {
}

UnimplementedArtifactServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedArtifactServiceServer) GetArtifactById

func (UnimplementedArtifactServiceServer) GetArtifactByName added in v0.0.22

func (UnimplementedArtifactServiceServer) ListArtifacts

type UnimplementedEvalResultsServiceServer added in v0.0.35

type UnimplementedEvalResultsServiceServer struct {
}

UnimplementedEvalResultsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEvalResultsServiceServer) ListEvaluationResults added in v0.0.35

type UnimplementedHealthServiceServer

type UnimplementedHealthServiceServer struct {
}

UnimplementedHealthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHealthServiceServer) CheckHealth

type UnimplementedOAuthServiceServer

type UnimplementedOAuthServiceServer struct {
}

UnimplementedOAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOAuthServiceServer) StoreProviderToken

func (UnimplementedOAuthServiceServer) VerifyProviderCredential added in v0.0.39

type UnimplementedPermissionsServiceServer added in v0.0.28

type UnimplementedPermissionsServiceServer struct {
}

UnimplementedPermissionsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPermissionsServiceServer) AssignRole added in v0.0.28

func (UnimplementedPermissionsServiceServer) ListRoleAssignments added in v0.0.28

func (UnimplementedPermissionsServiceServer) ListRoles added in v0.0.28

func (UnimplementedPermissionsServiceServer) RemoveRole added in v0.0.28

type UnimplementedProfileServiceServer

type UnimplementedProfileServiceServer struct {
}

UnimplementedProfileServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProfileServiceServer) CreateProfile

func (UnimplementedProfileServiceServer) CreateRuleType

func (UnimplementedProfileServiceServer) DeleteProfile

func (UnimplementedProfileServiceServer) DeleteRuleType

func (UnimplementedProfileServiceServer) GetProfileById

func (UnimplementedProfileServiceServer) GetRuleTypeById

func (UnimplementedProfileServiceServer) GetRuleTypeByName

func (UnimplementedProfileServiceServer) ListProfiles

func (UnimplementedProfileServiceServer) ListRuleTypes

func (UnimplementedProfileServiceServer) PatchProfile added in v0.0.35

func (UnimplementedProfileServiceServer) UpdateProfile added in v0.0.16

func (UnimplementedProfileServiceServer) UpdateRuleType

type UnimplementedProjectsServiceServer added in v0.0.35

type UnimplementedProjectsServiceServer struct {
}

UnimplementedProjectsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProjectsServiceServer) CreateEntityReconciliationTask added in v0.0.36

func (UnimplementedProjectsServiceServer) CreateProject added in v0.0.35

func (UnimplementedProjectsServiceServer) DeleteProject added in v0.0.35

func (UnimplementedProjectsServiceServer) ListProjects added in v0.0.35

func (UnimplementedProjectsServiceServer) PatchProject added in v0.0.36

func (UnimplementedProjectsServiceServer) UpdateProject added in v0.0.36

type UnimplementedProvidersServiceServer added in v0.0.30

type UnimplementedProvidersServiceServer struct {
}

UnimplementedProvidersServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProvidersServiceServer) CreateProvider added in v0.0.36

func (UnimplementedProvidersServiceServer) DeleteProvider added in v0.0.36

func (UnimplementedProvidersServiceServer) DeleteProviderByID added in v0.0.40

func (UnimplementedProvidersServiceServer) GetProvider added in v0.0.35

func (UnimplementedProvidersServiceServer) GetUnclaimedProviders added in v0.0.36

func (UnimplementedProvidersServiceServer) ListProviderClasses added in v0.0.38

func (UnimplementedProvidersServiceServer) ListProviders added in v0.0.30

type UnimplementedRepositoryServiceServer

type UnimplementedRepositoryServiceServer struct {
}

UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRepositoryServiceServer) DeleteRepositoryById

func (UnimplementedRepositoryServiceServer) GetRepositoryById

func (UnimplementedRepositoryServiceServer) GetRepositoryByName

func (UnimplementedRepositoryServiceServer) ListRepositories

func (UnimplementedRepositoryServiceServer) RegisterRepository

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

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 UnsafeEvalResultsServiceServer added in v0.0.35

type UnsafeEvalResultsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEvalResultsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EvalResultsServiceServer 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 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 UnsafePermissionsServiceServer added in v0.0.28

type UnsafePermissionsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePermissionsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PermissionsServiceServer will result in compilation errors.

type UnsafeProfileServiceServer

type UnsafeProfileServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServiceServer will result in compilation errors.

type UnsafeProjectsServiceServer added in v0.0.35

type UnsafeProjectsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProjectsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsServiceServer will result in compilation errors.

type UnsafeProvidersServiceServer added in v0.0.30

type UnsafeProvidersServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProvidersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProvidersServiceServer 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 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 UpdateProfileRequest added in v0.0.16

type UpdateProfileRequest struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileRequest) Descriptor deprecated added in v0.0.16

func (*UpdateProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest) GetContext added in v0.0.21

func (r *UpdateProfileRequest) GetContext() *Context

GetContext returns the context from the nested Profile

func (*UpdateProfileRequest) GetProfile added in v0.0.16

func (x *UpdateProfileRequest) GetProfile() *Profile

func (*UpdateProfileRequest) ProtoMessage added in v0.0.16

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) ProtoReflect added in v0.0.16

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

func (*UpdateProfileRequest) Reset added in v0.0.16

func (x *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String added in v0.0.16

func (x *UpdateProfileRequest) String() string

type UpdateProfileResponse added in v0.0.16

type UpdateProfileResponse struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileResponse) Descriptor deprecated added in v0.0.16

func (*UpdateProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.

func (*UpdateProfileResponse) GetProfile added in v0.0.16

func (x *UpdateProfileResponse) GetProfile() *Profile

func (*UpdateProfileResponse) ProtoMessage added in v0.0.16

func (*UpdateProfileResponse) ProtoMessage()

func (*UpdateProfileResponse) ProtoReflect added in v0.0.16

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

func (*UpdateProfileResponse) Reset added in v0.0.16

func (x *UpdateProfileResponse) Reset()

func (*UpdateProfileResponse) String added in v0.0.16

func (x *UpdateProfileResponse) String() string

type UpdateProjectRequest added in v0.0.36

type UpdateProjectRequest struct {

	// context is the context in which the project is updated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// display_name is the display name of the project to update.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// description is the description of the project to update.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectRequest) Descriptor deprecated added in v0.0.36

func (*UpdateProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetContext added in v0.0.36

func (x *UpdateProjectRequest) GetContext() *Context

func (*UpdateProjectRequest) GetDescription added in v0.0.36

func (x *UpdateProjectRequest) GetDescription() string

func (*UpdateProjectRequest) GetDisplayName added in v0.0.36

func (x *UpdateProjectRequest) GetDisplayName() string

func (*UpdateProjectRequest) ProtoMessage added in v0.0.36

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect added in v0.0.36

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

func (*UpdateProjectRequest) Reset added in v0.0.36

func (x *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) String added in v0.0.36

func (x *UpdateProjectRequest) String() string

type UpdateProjectResponse added in v0.0.36

type UpdateProjectResponse struct {

	// project is the project that was updated.
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProjectResponse) Descriptor deprecated added in v0.0.36

func (*UpdateProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead.

func (*UpdateProjectResponse) GetProject added in v0.0.36

func (x *UpdateProjectResponse) GetProject() *Project

func (*UpdateProjectResponse) ProtoMessage added in v0.0.36

func (*UpdateProjectResponse) ProtoMessage()

func (*UpdateProjectResponse) ProtoReflect added in v0.0.36

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

func (*UpdateProjectResponse) Reset added in v0.0.36

func (x *UpdateProjectResponse) Reset()

func (*UpdateProjectResponse) String added in v0.0.36

func (x *UpdateProjectResponse) 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) GetContext added in v0.0.21

func (r *UpdateRuleTypeRequest) GetContext() *Context

GetContext returns the context from the nested RuleType

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 UpstreamRepositoryRef

type UpstreamRepositoryRef 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"`
	// The upstream identity of the repository, as an integer.
	// This is only set on output, and is ignored on input.
	RepoId  int64    `protobuf:"varint,3,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	Context *Context `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*UpstreamRepositoryRef) Descriptor deprecated

func (*UpstreamRepositoryRef) Descriptor() ([]byte, []int)

Deprecated: Use UpstreamRepositoryRef.ProtoReflect.Descriptor instead.

func (*UpstreamRepositoryRef) GetContext added in v0.0.38

func (x *UpstreamRepositoryRef) GetContext() *Context

func (*UpstreamRepositoryRef) GetName

func (x *UpstreamRepositoryRef) GetName() string

func (*UpstreamRepositoryRef) GetOwner

func (x *UpstreamRepositoryRef) GetOwner() string

func (*UpstreamRepositoryRef) GetRepoId

func (x *UpstreamRepositoryRef) GetRepoId() int64

func (*UpstreamRepositoryRef) ProtoMessage

func (*UpstreamRepositoryRef) ProtoMessage()

func (*UpstreamRepositoryRef) ProtoReflect

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

func (*UpstreamRepositoryRef) Reset

func (x *UpstreamRepositoryRef) Reset()

func (*UpstreamRepositoryRef) String

func (x *UpstreamRepositoryRef) String() string

type UserRecord

type UserRecord struct {
	Id              int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	IdentitySubject string                 `protobuf:"bytes,3,opt,name=identity_subject,json=identitySubject,proto3" json:"identity_subject,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt       *timestamppb.Timestamp `protobuf:"bytes,5,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) GetId

func (x *UserRecord) GetId() int32

func (*UserRecord) GetIdentitySubject

func (x *UserRecord) GetIdentitySubject() string

func (*UserRecord) GetUpdatedAt

func (x *UserRecord) GetUpdatedAt() *timestamppb.Timestamp

func (*UserRecord) ProtoMessage

func (*UserRecord) ProtoMessage()

func (*UserRecord) ProtoReflect

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

func (*UserRecord) Reset

func (x *UserRecord) Reset()

func (*UserRecord) String

func (x *UserRecord) String() string

type UserServiceClient

type UserServiceClient interface {
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserServiceServer

type UserServiceServer interface {
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type Validator

type Validator interface {
	Validate() error
}

Validator is an interface which allows for the validation of a struct.

type VerifyProviderCredentialRequest added in v0.0.39

type VerifyProviderCredentialRequest struct {
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// enrollment_nonce is the state parameter returned when enrolling the provider
	EnrollmentNonce string `protobuf:"bytes,2,opt,name=enrollment_nonce,json=enrollmentNonce,proto3" json:"enrollment_nonce,omitempty"`
	// contains filtered or unexported fields
}

VerifyProviderCredentialRequest contains the enrollment nonce (aka state) that was used when enrolling the provider

func (*VerifyProviderCredentialRequest) Descriptor deprecated added in v0.0.39

func (*VerifyProviderCredentialRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyProviderCredentialRequest.ProtoReflect.Descriptor instead.

func (*VerifyProviderCredentialRequest) GetContext added in v0.0.39

func (x *VerifyProviderCredentialRequest) GetContext() *Context

func (*VerifyProviderCredentialRequest) GetEnrollmentNonce added in v0.0.39

func (x *VerifyProviderCredentialRequest) GetEnrollmentNonce() string

func (*VerifyProviderCredentialRequest) ProtoMessage added in v0.0.39

func (*VerifyProviderCredentialRequest) ProtoMessage()

func (*VerifyProviderCredentialRequest) ProtoReflect added in v0.0.39

func (*VerifyProviderCredentialRequest) Reset added in v0.0.39

func (*VerifyProviderCredentialRequest) String added in v0.0.39

type VerifyProviderCredentialResponse added in v0.0.39

type VerifyProviderCredentialResponse struct {
	Created      bool   `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"`
	ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	// contains filtered or unexported fields
}

VerifyProviderCredentialRequest responds with a boolean indicating if the provider has been created and the provider name, if it has been created

func (*VerifyProviderCredentialResponse) Descriptor deprecated added in v0.0.39

func (*VerifyProviderCredentialResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyProviderCredentialResponse.ProtoReflect.Descriptor instead.

func (*VerifyProviderCredentialResponse) GetCreated added in v0.0.39

func (x *VerifyProviderCredentialResponse) GetCreated() bool

func (*VerifyProviderCredentialResponse) GetProviderName added in v0.0.39

func (x *VerifyProviderCredentialResponse) GetProviderName() string

func (*VerifyProviderCredentialResponse) ProtoMessage added in v0.0.39

func (*VerifyProviderCredentialResponse) ProtoMessage()

func (*VerifyProviderCredentialResponse) ProtoReflect added in v0.0.39

func (*VerifyProviderCredentialResponse) Reset added in v0.0.39

func (*VerifyProviderCredentialResponse) String added in v0.0.39

type VerifyProviderTokenFromRequest

type VerifyProviderTokenFromRequest struct {

	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Provider  string                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Context   *Context               `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyProviderTokenFromRequest) Descriptor deprecated

func (*VerifyProviderTokenFromRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyProviderTokenFromRequest.ProtoReflect.Descriptor instead.

func (*VerifyProviderTokenFromRequest) GetContext added in v0.0.21

func (x *VerifyProviderTokenFromRequest) GetContext() *Context

func (*VerifyProviderTokenFromRequest) GetProvider deprecated

func (x *VerifyProviderTokenFromRequest) GetProvider() string

Deprecated: Marked as deprecated in minder/v1/minder.proto.

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

Jump to

Keyboard shortcuts

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