v1

package
v0.0.73 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 31 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"
	UserService_ListInvitations_FullMethodName   = "/minder.v1.UserService/ListInvitations"
	UserService_ResolveInvitation_FullMethodName = "/minder.v1.UserService/ResolveInvitation"
)
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_GetProfileByName_FullMethodName          = "/minder.v1.ProfileService/GetProfileByName"
	ProfileService_GetProfileStatusByName_FullMethodName    = "/minder.v1.ProfileService/GetProfileStatusByName"
	ProfileService_GetProfileStatusByProject_FullMethodName = "/minder.v1.ProfileService/GetProfileStatusByProject"
)
View Source
const (
	RuleTypeService_ListRuleTypes_FullMethodName     = "/minder.v1.RuleTypeService/ListRuleTypes"
	RuleTypeService_GetRuleTypeByName_FullMethodName = "/minder.v1.RuleTypeService/GetRuleTypeByName"
	RuleTypeService_GetRuleTypeById_FullMethodName   = "/minder.v1.RuleTypeService/GetRuleTypeById"
	RuleTypeService_CreateRuleType_FullMethodName    = "/minder.v1.RuleTypeService/CreateRuleType"
	RuleTypeService_UpdateRuleType_FullMethodName    = "/minder.v1.RuleTypeService/UpdateRuleType"
	RuleTypeService_DeleteRuleType_FullMethodName    = "/minder.v1.RuleTypeService/DeleteRuleType"
)
View Source
const (
	EvalResultsService_ListEvaluationResults_FullMethodName = "/minder.v1.EvalResultsService/ListEvaluationResults"
	EvalResultsService_ListEvaluationHistory_FullMethodName = "/minder.v1.EvalResultsService/ListEvaluationHistory"
	EvalResultsService_GetEvaluationHistory_FullMethodName  = "/minder.v1.EvalResultsService/GetEvaluationHistory"
)
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_UpdateRole_FullMethodName          = "/minder.v1.PermissionsService/UpdateRole"
	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_ListChildProjects_FullMethodName              = "/minder.v1.ProjectsService/ListChildProjects"
	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_PatchProvider_FullMethodName               = "/minder.v1.ProvidersService/PatchProvider"
	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_ListProviderClasses_FullMethodName         = "/minder.v1.ProvidersService/ListProviderClasses"
	ProvidersService_ReconcileEntityRegistration_FullMethodName = "/minder.v1.ProvidersService/ReconcileEntityRegistration"
)
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"

	// DiffTypeNewDeps returns scalibr dependency diffs
	DiffTypeNewDeps = "new-dep"

	// DiffTypeFull is the diff type for including all files from the PR diff
	DiffTypeFull = "full"
)
View Source
const (
	HealthService_CheckHealth_FullMethodName = "/minder.v1.HealthService/CheckHealth"
)
View Source
const (
	// IngestTypeDiff is the ingest type for a diff
	IngestTypeDiff = "diff"
)
View Source
const (
	InviteService_GetInviteDetails_FullMethodName = "/minder.v1.InviteService/GetInviteDetails"
)
View Source
const (
	// VersionV1 is the v1 version of most API resources
	VersionV1 = "v1"
)

Variables

View Source
var (
	// ErrInvalidResource is returned when an invalid resource is provided
	ErrInvalidResource = fmt.Errorf("invalid resource")
	// ErrInvalidResourceType is returned when an invalid resource type is provided
	ErrInvalidResourceType = fmt.Errorf("invalid resource type")
	// ErrNotAResource is returned when the provided resource is not a Minder resource
	ErrNotAResource = fmt.Errorf("not a Minder resource")
	// ErrResourceTypeMismatch is returned when the resource type does not match the provided resource
	ErrResourceTypeMismatch = fmt.Errorf("resource type mismatch")
)
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",
		36: "RELATION_ENTITY_RECONCILE",
		37: "RELATION_ROLE_ASSIGNMENT_UPDATE",
	}
	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,
		"RELATION_ENTITY_RECONCILE":                  36,
		"RELATION_ROLE_ASSIGNMENT_UPDATE":            37,
	}
)

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 (
	Entity_name = map[int32]string{
		0: "ENTITY_UNSPECIFIED",
		1: "ENTITY_REPOSITORIES",
		2: "ENTITY_BUILD_ENVIRONMENTS",
		3: "ENTITY_ARTIFACTS",
		4: "ENTITY_PULL_REQUESTS",
		5: "ENTITY_RELEASE",
		6: "ENTITY_PIPELINE_RUN",
		7: "ENTITY_TASK_RUN",
		8: "ENTITY_BUILD",
	}
	Entity_value = map[string]int32{
		"ENTITY_UNSPECIFIED":        0,
		"ENTITY_REPOSITORIES":       1,
		"ENTITY_BUILD_ENVIRONMENTS": 2,
		"ENTITY_ARTIFACTS":          3,
		"ENTITY_PULL_REQUESTS":      4,
		"ENTITY_RELEASE":            5,
		"ENTITY_PIPELINE_RUN":       6,
		"ENTITY_TASK_RUN":           7,
		"ENTITY_BUILD":              8,
	}
)

Enum value maps for Entity.

View Source
var (
	RuleTypeReleasePhase_name = map[int32]string{
		0: "RULE_TYPE_RELEASE_PHASE_UNSPECIFIED",
		1: "RULE_TYPE_RELEASE_PHASE_ALPHA",
		2: "RULE_TYPE_RELEASE_PHASE_BETA",
		3: "RULE_TYPE_RELEASE_PHASE_GA",
		4: "RULE_TYPE_RELEASE_PHASE_DEPRECATED",
	}
	RuleTypeReleasePhase_value = map[string]int32{
		"RULE_TYPE_RELEASE_PHASE_UNSPECIFIED": 0,
		"RULE_TYPE_RELEASE_PHASE_ALPHA":       1,
		"RULE_TYPE_RELEASE_PHASE_BETA":        2,
		"RULE_TYPE_RELEASE_PHASE_GA":          3,
		"RULE_TYPE_RELEASE_PHASE_DEPRECATED":  4,
	}
)

Enum value maps for RuleTypeReleasePhase.

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",
		6: "PROVIDER_TYPE_IMAGE_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,
		"PROVIDER_TYPE_IMAGE_LISTER": 6,
	}
)

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",
		3: "PROVIDER_CLASS_GHCR",
		4: "PROVIDER_CLASS_DOCKERHUB",
	}
	ProviderClass_value = map[string]int32{
		"PROVIDER_CLASS_UNSPECIFIED": 0,
		"PROVIDER_CLASS_GITHUB":      1,
		"PROVIDER_CLASS_GITHUB_APP":  2,
		"PROVIDER_CLASS_GHCR":        3,
		"PROVIDER_CLASS_DOCKERHUB":   4,
	}
)

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,
		},
		{
			MethodName: "ListEvaluationHistory",
			Handler:    _EvalResultsService_ListEvaluationHistory_Handler,
		},
		{
			MethodName: "GetEvaluationHistory",
			Handler:    _EvalResultsService_GetEvaluationHistory_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 InviteService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.InviteService",
	HandlerType: (*InviteServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetInviteDetails",
			Handler:    _InviteService_GetInviteDetails_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

InviteService_ServiceDesc is the grpc.ServiceDesc for InviteService 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: "UpdateRole",
			Handler:    _PermissionsService_UpdateRole_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: "GetProfileByName",
			Handler:    _ProfileService_GetProfileByName_Handler,
		},
		{
			MethodName: "GetProfileStatusByName",
			Handler:    _ProfileService_GetProfileStatusByName_Handler,
		},
		{
			MethodName: "GetProfileStatusByProject",
			Handler:    _ProfileService_GetProfileStatusByProject_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: "ListChildProjects",
			Handler:    _ProjectsService_ListChildProjects_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: "PatchProvider",
			Handler:    _ProvidersService_PatchProvider_Handler,
		},
		{
			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: "ListProviderClasses",
			Handler:    _ProvidersService_ListProviderClasses_Handler,
		},
		{
			MethodName: "ReconcileEntityRegistration",
			Handler:    _ProvidersService_ReconcileEntityRegistration_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 RuleTypeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "minder.v1.RuleTypeService",
	HandlerType: (*RuleTypeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListRuleTypes",
			Handler:    _RuleTypeService_ListRuleTypes_Handler,
		},
		{
			MethodName: "GetRuleTypeByName",
			Handler:    _RuleTypeService_GetRuleTypeByName_Handler,
		},
		{
			MethodName: "GetRuleTypeById",
			Handler:    _RuleTypeService_GetRuleTypeById_Handler,
		},
		{
			MethodName: "CreateRuleType",
			Handler:    _RuleTypeService_CreateRuleType_Handler,
		},
		{
			MethodName: "UpdateRuleType",
			Handler:    _RuleTypeService_UpdateRuleType_Handler,
		},
		{
			MethodName: "DeleteRuleType",
			Handler:    _RuleTypeService_DeleteRuleType_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "minder/v1/minder.proto",
}

RuleTypeService_ServiceDesc is the grpc.ServiceDesc for RuleTypeService 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,
		},
		{
			MethodName: "ListInvitations",
			Handler:    _UserService_ListInvitations_Handler,
		},
		{
			MethodName: "ResolveInvitation",
			Handler:    _UserService_ResolveInvitation_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 ParseResource added in v0.0.69

func ParseResource(r io.Reader, rm ResourceMeta) error

ParseResource is a generic parser for Minder resources. It will attempt to parse the resource into the correct type based on the version and type of the resource.

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterArtifactServiceServer

func RegisterArtifactServiceServer(s grpc.ServiceRegistrar, srv ArtifactServiceServer)

func RegisterEvalResultsServiceHandler

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

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. This client ignores the HTTP middlewares.

func RegisterEvalResultsServiceHandlerFromEndpoint

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

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterEvalResultsServiceServer

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterHealthServiceServer

func RegisterHealthServiceServer(s grpc.ServiceRegistrar, srv HealthServiceServer)

func RegisterInviteServiceHandler

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

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

func RegisterInviteServiceHandlerClient

func RegisterInviteServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InviteServiceClient) error

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

func RegisterInviteServiceHandlerFromEndpoint

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

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

func RegisterInviteServiceHandlerServer

func RegisterInviteServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InviteServiceServer) error

RegisterInviteServiceHandlerServer registers the http handlers for service InviteService to "mux". UnaryRPC :call InviteServiceServer 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 RegisterInviteServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterInviteServiceServer

func RegisterInviteServiceServer(s grpc.ServiceRegistrar, srv InviteServiceServer)

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterOAuthServiceServer

func RegisterOAuthServiceServer(s grpc.ServiceRegistrar, srv OAuthServiceServer)

func RegisterPermissionsServiceHandler

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

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. This client ignores the HTTP middlewares.

func RegisterPermissionsServiceHandlerFromEndpoint

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

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterPermissionsServiceServer

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterProfileServiceServer

func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)

func RegisterProjectsServiceHandler

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

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. This client ignores the HTTP middlewares.

func RegisterProjectsServiceHandlerFromEndpoint

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

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterProjectsServiceServer

func RegisterProjectsServiceServer(s grpc.ServiceRegistrar, srv ProjectsServiceServer)

func RegisterProvidersServiceHandler

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

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. This client ignores the HTTP middlewares.

func RegisterProvidersServiceHandlerFromEndpoint

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

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterProvidersServiceServer

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterRepositoryServiceServer

func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)

func RegisterRuleTypeServiceHandler

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

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

func RegisterRuleTypeServiceHandlerClient

func RegisterRuleTypeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RuleTypeServiceClient) error

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

func RegisterRuleTypeServiceHandlerFromEndpoint

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

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

func RegisterRuleTypeServiceHandlerServer

func RegisterRuleTypeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RuleTypeServiceServer) error

RegisterRuleTypeServiceHandlerServer registers the http handlers for service RuleTypeService to "mux". UnaryRPC :call RuleTypeServiceServer 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 RegisterRuleTypeServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterRuleTypeServiceServer

func RegisterRuleTypeServiceServer(s grpc.ServiceRegistrar, srv RuleTypeServiceServer)

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

func ResourceMatches added in v0.0.69

func ResourceMatches(rt ResourceType, r protoreflect.ProtoMessage) bool

ResourceMatches checks if the resource type matches the provided resource.

func ResourceTypeIsValid added in v0.0.69

func ResourceTypeIsValid(rt ResourceType) bool

ResourceTypeIsValid checks if the resource type is valid

func Validate added in v0.0.69

func Validate(r ResourceMeta) error

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

func YouMayHaveTheWrongResource added in v0.0.69

func YouMayHaveTheWrongResource(err error) bool

YouMayHaveTheWrongResource is a utility function to verify if the given error is due to the resource type mismatch.

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

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

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

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

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

Deprecated: Use AssignRoleRequest.ProtoReflect.Descriptor instead.

func (*AssignRoleRequest) GetContext

func (x *AssignRoleRequest) GetContext() *Context

func (*AssignRoleRequest) GetRoleAssignment

func (x *AssignRoleRequest) GetRoleAssignment() *RoleAssignment

func (*AssignRoleRequest) ProtoMessage

func (*AssignRoleRequest) ProtoMessage()

func (*AssignRoleRequest) ProtoReflect

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

func (*AssignRoleRequest) Reset

func (x *AssignRoleRequest) Reset()

func (*AssignRoleRequest) String

func (x *AssignRoleRequest) String() string

type AssignRoleResponse

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"`
	// invitation contains the details of the invitation for the
	// assigned user to join the project if the user is not already
	// a member.
	Invitation *Invitation `protobuf:"bytes,2,opt,name=invitation,proto3" json:"invitation,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignRoleResponse) Descriptor deprecated

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

Deprecated: Use AssignRoleResponse.ProtoReflect.Descriptor instead.

func (*AssignRoleResponse) GetInvitation

func (x *AssignRoleResponse) GetInvitation() *Invitation

func (*AssignRoleResponse) GetRoleAssignment

func (x *AssignRoleResponse) GetRoleAssignment() *RoleAssignment

func (*AssignRoleResponse) ProtoMessage

func (*AssignRoleResponse) ProtoMessage()

func (*AssignRoleResponse) ProtoReflect

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

func (*AssignRoleResponse) Reset

func (x *AssignRoleResponse) Reset()

func (*AssignRoleResponse) String

func (x *AssignRoleResponse) String() string

type AuthorizationFlow

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

func (AuthorizationFlow) Enum

func (AuthorizationFlow) EnumDescriptor deprecated

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

Deprecated: Use AuthorizationFlow.Descriptor instead.

func (AuthorizationFlow) Number

func (AuthorizationFlow) String

func (x AuthorizationFlow) String() string

func (AuthorizationFlow) ToString

func (a AuthorizationFlow) ToString() string

ToString returns the string representation of the AuthorizationFlow

func (AuthorizationFlow) Type

type AuthorizationParams

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

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

Deprecated: Use AuthorizationParams.ProtoReflect.Descriptor instead.

func (*AuthorizationParams) GetAuthorizationUrl

func (x *AuthorizationParams) GetAuthorizationUrl() string

func (*AuthorizationParams) ProtoMessage

func (*AuthorizationParams) ProtoMessage()

func (*AuthorizationParams) ProtoReflect

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

func (*AuthorizationParams) Reset

func (x *AuthorizationParams) Reset()

func (*AuthorizationParams) String

func (x *AuthorizationParams) String() string

type AutoRegistration

type AutoRegistration struct {

	// enabled is the list of entities that are enabled for auto-registration.
	Entities map[string]*EntityAutoRegistrationConfig `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

AutoRegistration is the configuration for auto-registering entities. When nothing is set, it means that auto-registration is disabled. There is no difference between disabled and undefined so for the "let's not auto-register anything" case we'd just let the repeated string empty

func (*AutoRegistration) Descriptor deprecated

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

Deprecated: Use AutoRegistration.ProtoReflect.Descriptor instead.

func (*AutoRegistration) GetEntities

func (*AutoRegistration) ProtoMessage

func (*AutoRegistration) ProtoMessage()

func (*AutoRegistration) ProtoReflect

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

func (*AutoRegistration) Reset

func (x *AutoRegistration) Reset()

func (*AutoRegistration) String

func (x *AutoRegistration) String() string

func (*AutoRegistration) Validate

func (a *AutoRegistration) Validate() error

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

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 Build

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

func (*Build) Descriptor deprecated

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) ProtoReflect

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

func (*Build) Reset

func (x *Build) Reset()

func (*Build) String

func (x *Build) 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.  If empty or unset, will select the user's default project
	// if they only have one 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

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 ContextV2

type ContextV2 struct {

	// project is the project ID.  If empty or unset, will select the user's default project
	// if they only have one project.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// name of the provider. Set to empty string when not applicable.
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

ContextV2 defines the context in which a rule is evaluated.

func (*ContextV2) Descriptor deprecated

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

Deprecated: Use ContextV2.ProtoReflect.Descriptor instead.

func (*ContextV2) GetProjectId

func (x *ContextV2) GetProjectId() string

func (*ContextV2) GetProvider

func (x *ContextV2) GetProvider() string

func (*ContextV2) ProtoMessage

func (*ContextV2) ProtoMessage()

func (*ContextV2) ProtoReflect

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

func (*ContextV2) Reset

func (x *ContextV2) Reset()

func (*ContextV2) String

func (x *ContextV2) String() string

type CreateEntityReconciliationTaskRequest

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

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

Deprecated: Use CreateEntityReconciliationTaskRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityReconciliationTaskRequest) GetContext

func (*CreateEntityReconciliationTaskRequest) GetEntity

func (*CreateEntityReconciliationTaskRequest) ProtoMessage

func (*CreateEntityReconciliationTaskRequest) ProtoMessage()

func (*CreateEntityReconciliationTaskRequest) ProtoReflect

func (*CreateEntityReconciliationTaskRequest) Reset

func (*CreateEntityReconciliationTaskRequest) String

type CreateEntityReconciliationTaskResponse

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

func (*CreateEntityReconciliationTaskResponse) Descriptor deprecated

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

Deprecated: Use CreateEntityReconciliationTaskResponse.ProtoReflect.Descriptor instead.

func (*CreateEntityReconciliationTaskResponse) ProtoMessage

func (*CreateEntityReconciliationTaskResponse) ProtoReflect

func (*CreateEntityReconciliationTaskResponse) Reset

func (*CreateEntityReconciliationTaskResponse) String

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

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

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

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetContext

func (x *CreateProjectRequest) GetContext() *Context

func (*CreateProjectRequest) GetName

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

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

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type CreateProjectResponse

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

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

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetProject

func (x *CreateProjectResponse) GetProject() *Project

func (*CreateProjectResponse) ProtoMessage

func (*CreateProjectResponse) ProtoMessage()

func (*CreateProjectResponse) ProtoReflect

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

func (*CreateProjectResponse) Reset

func (x *CreateProjectResponse) Reset()

func (*CreateProjectResponse) String

func (x *CreateProjectResponse) String() string

type CreateProviderRequest

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

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

Deprecated: Use CreateProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateProviderRequest) GetContext

func (x *CreateProviderRequest) GetContext() *Context

func (*CreateProviderRequest) GetProvider

func (x *CreateProviderRequest) GetProvider() *Provider

func (*CreateProviderRequest) ProtoMessage

func (*CreateProviderRequest) ProtoMessage()

func (*CreateProviderRequest) ProtoReflect

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

func (*CreateProviderRequest) Reset

func (x *CreateProviderRequest) Reset()

func (*CreateProviderRequest) String

func (x *CreateProviderRequest) String() string

type CreateProviderResponse

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

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

Deprecated: Use CreateProviderResponse.ProtoReflect.Descriptor instead.

func (*CreateProviderResponse) GetAuthorization

func (x *CreateProviderResponse) GetAuthorization() *AuthorizationParams

func (*CreateProviderResponse) GetProvider

func (x *CreateProviderResponse) GetProvider() *Provider

func (*CreateProviderResponse) ProtoMessage

func (*CreateProviderResponse) ProtoMessage()

func (*CreateProviderResponse) ProtoReflect

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

func (*CreateProviderResponse) Reset

func (x *CreateProviderResponse) Reset()

func (*CreateProviderResponse) String

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

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

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

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

func (CredentialsState) Enum

func (CredentialsState) EnumDescriptor deprecated

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

Deprecated: Use CredentialsState.Descriptor instead.

func (CredentialsState) Number

func (CredentialsState) String

func (x CredentialsState) String() string

func (CredentialsState) ToString

func (c CredentialsState) ToString() string

ToString returns the string representation of the CredentialsState

func (CredentialsState) Type

type Cursor

type Cursor struct {

	// cursor is the index to start from within the collection being
	// retrieved. It's an opaque payload specified and interpreted on
	// an per-rpc basis.
	Cursor string `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// size is the number of items to retrieve from the collection.
	// 0 uses a server-defined default.
	Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

Cursor message to be used in request messages. Its purpose is to allow clients to specify the subset of records to retrieve by means of index within a collection, along with the number of items to retrieve.

func (*Cursor) Descriptor deprecated

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

Deprecated: Use Cursor.ProtoReflect.Descriptor instead.

func (*Cursor) GetCursor

func (x *Cursor) GetCursor() string

func (*Cursor) GetSize

func (x *Cursor) GetSize() uint32

func (*Cursor) ProtoMessage

func (*Cursor) ProtoMessage()

func (*Cursor) ProtoReflect

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

func (*Cursor) Reset

func (x *Cursor) Reset()

func (*Cursor) String

func (x *Cursor) String() string

type CursorPage

type CursorPage struct {

	// Total number of records matching the request. This is optional.
	TotalRecords uint32 `protobuf:"varint,1,opt,name=total_records,json=totalRecords,proto3" json:"total_records,omitempty"`
	// Cursor pointing to retrieve results logically placed after the
	// ones shipped with the message containing this struct.
	Next *Cursor `protobuf:"bytes,2,opt,name=next,proto3" json:"next,omitempty"`
	// Cursor pointing to retrieve results logically placed before the
	// ones shipped with the message containing this struct.
	Prev *Cursor `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"`
	// contains filtered or unexported fields
}

CursorPage message used in response messages. Its purpose is to send to clients links pointing to next and/or previous collection subsets with respect to the one containing this struct.

func (*CursorPage) Descriptor deprecated

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

Deprecated: Use CursorPage.ProtoReflect.Descriptor instead.

func (*CursorPage) GetNext

func (x *CursorPage) GetNext() *Cursor

func (*CursorPage) GetPrev

func (x *CursorPage) GetPrev() *Cursor

func (*CursorPage) GetTotalRecords

func (x *CursorPage) GetTotalRecords() uint32

func (*CursorPage) ProtoMessage

func (*CursorPage) ProtoMessage()

func (*CursorPage) ProtoReflect

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

func (*CursorPage) Reset

func (x *CursorPage) Reset()

func (*CursorPage) String

func (x *CursorPage) String() string

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

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

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

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetContext

func (x *DeleteProjectRequest) GetContext() *Context

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

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

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse

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

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

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) GetProjectId

func (x *DeleteProjectResponse) GetProjectId() string

func (*DeleteProjectResponse) ProtoMessage

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect

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

func (*DeleteProjectResponse) Reset

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String

func (x *DeleteProjectResponse) String() string

type DeleteProviderByIDRequest

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

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

Deprecated: Use DeleteProviderByIDRequest.ProtoReflect.Descriptor instead.

func (*DeleteProviderByIDRequest) GetContext

func (x *DeleteProviderByIDRequest) GetContext() *Context

func (*DeleteProviderByIDRequest) GetId

func (x *DeleteProviderByIDRequest) GetId() string

func (*DeleteProviderByIDRequest) ProtoMessage

func (*DeleteProviderByIDRequest) ProtoMessage()

func (*DeleteProviderByIDRequest) ProtoReflect

func (*DeleteProviderByIDRequest) Reset

func (x *DeleteProviderByIDRequest) Reset()

func (*DeleteProviderByIDRequest) String

func (x *DeleteProviderByIDRequest) String() string

type DeleteProviderByIDResponse

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

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

Deprecated: Use DeleteProviderByIDResponse.ProtoReflect.Descriptor instead.

func (*DeleteProviderByIDResponse) GetId

func (*DeleteProviderByIDResponse) ProtoMessage

func (*DeleteProviderByIDResponse) ProtoMessage()

func (*DeleteProviderByIDResponse) ProtoReflect

func (*DeleteProviderByIDResponse) Reset

func (x *DeleteProviderByIDResponse) Reset()

func (*DeleteProviderByIDResponse) String

func (x *DeleteProviderByIDResponse) String() string

type DeleteProviderRequest

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

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

Deprecated: Use DeleteProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteProviderRequest) GetContext

func (x *DeleteProviderRequest) GetContext() *Context

func (*DeleteProviderRequest) ProtoMessage

func (*DeleteProviderRequest) ProtoMessage()

func (*DeleteProviderRequest) ProtoReflect

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

func (*DeleteProviderRequest) Reset

func (x *DeleteProviderRequest) Reset()

func (*DeleteProviderRequest) String

func (x *DeleteProviderRequest) String() string

type DeleteProviderResponse

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

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

Deprecated: Use DeleteProviderResponse.ProtoReflect.Descriptor instead.

func (*DeleteProviderResponse) GetName

func (x *DeleteProviderResponse) GetName() string

func (*DeleteProviderResponse) ProtoMessage

func (*DeleteProviderResponse) ProtoMessage()

func (*DeleteProviderResponse) ProtoReflect

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

func (*DeleteProviderResponse) Reset

func (x *DeleteProviderResponse) Reset()

func (*DeleteProviderResponse) String

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

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

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

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

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 DockerHubProviderConfig

type DockerHubProviderConfig struct {

	// namespace is the namespace for the DockerHub provider.
	Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

DockerHubProviderConfig contains the configuration for the DockerHub provider.

Namespace: is the namespace for the DockerHub provider.

func (*DockerHubProviderConfig) Descriptor deprecated

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

Deprecated: Use DockerHubProviderConfig.ProtoReflect.Descriptor instead.

func (*DockerHubProviderConfig) GetNamespace

func (x *DockerHubProviderConfig) GetNamespace() string

func (*DockerHubProviderConfig) ProtoMessage

func (*DockerHubProviderConfig) ProtoMessage()

func (*DockerHubProviderConfig) ProtoReflect

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

func (*DockerHubProviderConfig) Reset

func (x *DockerHubProviderConfig) Reset()

func (*DockerHubProviderConfig) String

func (x *DockerHubProviderConfig) String() string

func (*DockerHubProviderConfig) Validate

func (d *DockerHubProviderConfig) Validate() error

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

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
	Entity_ENTITY_RELEASE            Entity = 5
	Entity_ENTITY_PIPELINE_RUN       Entity = 6
	Entity_ENTITY_TASK_RUN           Entity = 7
	Entity_ENTITY_BUILD              Entity = 8
)

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 EntityAutoRegistrationConfig

type EntityAutoRegistrationConfig struct {
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityAutoRegistrationConfig) Descriptor deprecated

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

Deprecated: Use EntityAutoRegistrationConfig.ProtoReflect.Descriptor instead.

func (*EntityAutoRegistrationConfig) GetEnabled

func (x *EntityAutoRegistrationConfig) GetEnabled() bool

func (*EntityAutoRegistrationConfig) ProtoMessage

func (*EntityAutoRegistrationConfig) ProtoMessage()

func (*EntityAutoRegistrationConfig) ProtoReflect

func (*EntityAutoRegistrationConfig) Reset

func (x *EntityAutoRegistrationConfig) Reset()

func (*EntityAutoRegistrationConfig) String

type EntityInstance

type EntityInstance struct {

	// id is the unique identifier of the entity.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// context is the context in which the entity is evaluated.
	Context *ContextV2 `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// name is the name of the entity.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// type is the type of the entity.
	// DISCUSSION: If we're aiming for a BYO entity type, we should probably
	// have this be a string, and have the user provide the type.
	Type Entity `protobuf:"varint,4,opt,name=type,proto3,enum=minder.v1.Entity" json:"type,omitempty"`
	// properties is a map of properties of the entity.
	Properties *structpb.Struct `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

used for parsing resources in ruletypes

func (*EntityInstance) Descriptor deprecated

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

Deprecated: Use EntityInstance.ProtoReflect.Descriptor instead.

func (*EntityInstance) GetContext

func (x *EntityInstance) GetContext() *ContextV2

func (*EntityInstance) GetId

func (x *EntityInstance) GetId() string

func (*EntityInstance) GetName

func (x *EntityInstance) GetName() string

func (*EntityInstance) GetProperties

func (x *EntityInstance) GetProperties() *structpb.Struct

func (*EntityInstance) GetType

func (x *EntityInstance) GetType() Entity

func (*EntityInstance) ProtoMessage

func (*EntityInstance) ProtoMessage()

func (*EntityInstance) ProtoReflect

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

func (*EntityInstance) Reset

func (x *EntityInstance) Reset()

func (*EntityInstance) String

func (x *EntityInstance) String() string

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"
	// ReleaseEntity is an entity abstracting a release
	ReleaseEntity EntityType = "release"
	// PipelineRunEntity is an entity abstracting a pipeline run (eg a workflow)
	PipelineRunEntity EntityType = "pipeline_run"
	// TaskRunEntity is an entity abstracting a task run (eg a step)
	TaskRunEntity EntityType = "task_run"
	// BuildEntity is an entity that represents a software build
	BuildEntity EntityType = "build"
	// 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

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

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

Deprecated: Use EntityTypedId.ProtoReflect.Descriptor instead.

func (*EntityTypedId) GetId

func (x *EntityTypedId) GetId() string

func (*EntityTypedId) GetType

func (x *EntityTypedId) GetType() Entity

func (*EntityTypedId) ProtoMessage

func (*EntityTypedId) ProtoMessage()

func (*EntityTypedId) ProtoReflect

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

func (*EntityTypedId) Reset

func (x *EntityTypedId) Reset()

func (*EntityTypedId) String

func (x *EntityTypedId) String() string

type EvalResultAlert

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

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

Deprecated: Use EvalResultAlert.ProtoReflect.Descriptor instead.

func (*EvalResultAlert) GetDetails

func (x *EvalResultAlert) GetDetails() string

func (*EvalResultAlert) GetLastUpdated

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

func (*EvalResultAlert) GetStatus

func (x *EvalResultAlert) GetStatus() string

func (*EvalResultAlert) GetUrl

func (x *EvalResultAlert) GetUrl() string

func (*EvalResultAlert) ProtoMessage

func (*EvalResultAlert) ProtoMessage()

func (*EvalResultAlert) ProtoReflect

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

func (*EvalResultAlert) Reset

func (x *EvalResultAlert) Reset()

func (*EvalResultAlert) String

func (x *EvalResultAlert) String() string

type EvalResultsServiceClient

type EvalResultsServiceClient interface {
	ListEvaluationResults(ctx context.Context, in *ListEvaluationResultsRequest, opts ...grpc.CallOption) (*ListEvaluationResultsResponse, error)
	ListEvaluationHistory(ctx context.Context, in *ListEvaluationHistoryRequest, opts ...grpc.CallOption) (*ListEvaluationHistoryResponse, error)
	GetEvaluationHistory(ctx context.Context, in *GetEvaluationHistoryRequest, opts ...grpc.CallOption) (*GetEvaluationHistoryResponse, 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.

type EvalResultsServiceServer

type EvalResultsServiceServer interface {
	ListEvaluationResults(context.Context, *ListEvaluationResultsRequest) (*ListEvaluationResultsResponse, error)
	ListEvaluationHistory(context.Context, *ListEvaluationHistoryRequest) (*ListEvaluationHistoryResponse, error)
	GetEvaluationHistory(context.Context, *GetEvaluationHistoryRequest) (*GetEvaluationHistoryResponse, error)
	// contains filtered or unexported methods
}

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

type EvaluationHistory

type EvaluationHistory struct {

	// entity contains details of the entity which was evaluated.
	Entity *EvaluationHistoryEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// rule contains details of the rule which the entity was evaluated against.
	Rule *EvaluationHistoryRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	// status contains the evaluation status.
	Status *EvaluationHistoryStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// alert contains details of the alerts for this evaluation.
	Alert *EvaluationHistoryAlert `protobuf:"bytes,4,opt,name=alert,proto3" json:"alert,omitempty"`
	// remediation contains details of the remediation for this evaluation.
	Remediation *EvaluationHistoryRemediation `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"`
	// created_at is the timestamp of creation of this evaluation
	EvaluatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=evaluated_at,json=evaluatedAt,proto3" json:"evaluated_at,omitempty"`
	// id is the unique identifier of the evaluation.
	Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluationHistory) Descriptor deprecated

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

Deprecated: Use EvaluationHistory.ProtoReflect.Descriptor instead.

func (*EvaluationHistory) GetAlert

func (*EvaluationHistory) GetEntity

func (*EvaluationHistory) GetEvaluatedAt

func (x *EvaluationHistory) GetEvaluatedAt() *timestamppb.Timestamp

func (*EvaluationHistory) GetId

func (x *EvaluationHistory) GetId() string

func (*EvaluationHistory) GetRemediation

func (x *EvaluationHistory) GetRemediation() *EvaluationHistoryRemediation

func (*EvaluationHistory) GetRule

func (*EvaluationHistory) GetStatus

func (*EvaluationHistory) ProtoMessage

func (*EvaluationHistory) ProtoMessage()

func (*EvaluationHistory) ProtoReflect

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

func (*EvaluationHistory) Reset

func (x *EvaluationHistory) Reset()

func (*EvaluationHistory) String

func (x *EvaluationHistory) String() string

type EvaluationHistoryAlert

type EvaluationHistoryAlert struct {

	// status is one of (on, off, error, skipped, not available)
	// not using enums to mirror the behaviour of the existing API contracts.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// details contains optional details about the alert.
	// the structure and contents are alert specific, and are subject to change.
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluationHistoryAlert) Descriptor deprecated

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

Deprecated: Use EvaluationHistoryAlert.ProtoReflect.Descriptor instead.

func (*EvaluationHistoryAlert) GetDetails

func (x *EvaluationHistoryAlert) GetDetails() string

func (*EvaluationHistoryAlert) GetStatus

func (x *EvaluationHistoryAlert) GetStatus() string

func (*EvaluationHistoryAlert) ProtoMessage

func (*EvaluationHistoryAlert) ProtoMessage()

func (*EvaluationHistoryAlert) ProtoReflect

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

func (*EvaluationHistoryAlert) Reset

func (x *EvaluationHistoryAlert) Reset()

func (*EvaluationHistoryAlert) String

func (x *EvaluationHistoryAlert) String() string

type EvaluationHistoryEntity

type EvaluationHistoryEntity struct {

	// id is the unique identifier of the entity.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// type is the entity type.
	Type Entity `protobuf:"varint,2,opt,name=type,proto3,enum=minder.v1.Entity" json:"type,omitempty"`
	// name is the entity name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluationHistoryEntity) Descriptor deprecated

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

Deprecated: Use EvaluationHistoryEntity.ProtoReflect.Descriptor instead.

func (*EvaluationHistoryEntity) GetId

func (x *EvaluationHistoryEntity) GetId() string

func (*EvaluationHistoryEntity) GetName

func (x *EvaluationHistoryEntity) GetName() string

func (*EvaluationHistoryEntity) GetType

func (x *EvaluationHistoryEntity) GetType() Entity

func (*EvaluationHistoryEntity) ProtoMessage

func (*EvaluationHistoryEntity) ProtoMessage()

func (*EvaluationHistoryEntity) ProtoReflect

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

func (*EvaluationHistoryEntity) Reset

func (x *EvaluationHistoryEntity) Reset()

func (*EvaluationHistoryEntity) String

func (x *EvaluationHistoryEntity) String() string

type EvaluationHistoryRemediation

type EvaluationHistoryRemediation struct {

	// status is one of (success, error, failure, skipped, not available)
	// not using enums to mirror the behaviour of the existing API contracts.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// details contains optional details about the remediation.
	// the structure and contents are remediation specific, and are subject to change.
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluationHistoryRemediation) Descriptor deprecated

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

Deprecated: Use EvaluationHistoryRemediation.ProtoReflect.Descriptor instead.

func (*EvaluationHistoryRemediation) GetDetails

func (x *EvaluationHistoryRemediation) GetDetails() string

func (*EvaluationHistoryRemediation) GetStatus

func (x *EvaluationHistoryRemediation) GetStatus() string

func (*EvaluationHistoryRemediation) ProtoMessage

func (*EvaluationHistoryRemediation) ProtoMessage()

func (*EvaluationHistoryRemediation) ProtoReflect

func (*EvaluationHistoryRemediation) Reset

func (x *EvaluationHistoryRemediation) Reset()

func (*EvaluationHistoryRemediation) String

type EvaluationHistoryRule

type EvaluationHistoryRule struct {

	// name is the name of the rule instance.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// type is the name of the rule type.
	RuleType string `protobuf:"bytes,2,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
	// profile is the name of the profile which contains the rule.
	Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	// severity is the severity of the rule type.
	Severity *Severity `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluationHistoryRule) Descriptor deprecated

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

Deprecated: Use EvaluationHistoryRule.ProtoReflect.Descriptor instead.

func (*EvaluationHistoryRule) GetName

func (x *EvaluationHistoryRule) GetName() string

func (*EvaluationHistoryRule) GetProfile

func (x *EvaluationHistoryRule) GetProfile() string

func (*EvaluationHistoryRule) GetRuleType

func (x *EvaluationHistoryRule) GetRuleType() string

func (*EvaluationHistoryRule) GetSeverity

func (x *EvaluationHistoryRule) GetSeverity() *Severity

func (*EvaluationHistoryRule) ProtoMessage

func (*EvaluationHistoryRule) ProtoMessage()

func (*EvaluationHistoryRule) ProtoReflect

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

func (*EvaluationHistoryRule) Reset

func (x *EvaluationHistoryRule) Reset()

func (*EvaluationHistoryRule) String

func (x *EvaluationHistoryRule) String() string

type EvaluationHistoryStatus

type EvaluationHistoryStatus struct {

	// status is one of (success, error, failure, skipped)
	// not using enums to mirror the behaviour of the existing API contracts.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// details contains optional details about the evaluation.
	// the structure and contents are rule type specific, and are subject to change.
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluationHistoryStatus) Descriptor deprecated

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

Deprecated: Use EvaluationHistoryStatus.ProtoReflect.Descriptor instead.

func (*EvaluationHistoryStatus) GetDetails

func (x *EvaluationHistoryStatus) GetDetails() string

func (*EvaluationHistoryStatus) GetStatus

func (x *EvaluationHistoryStatus) GetStatus() string

func (*EvaluationHistoryStatus) ProtoMessage

func (*EvaluationHistoryStatus) ProtoMessage()

func (*EvaluationHistoryStatus) ProtoReflect

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

func (*EvaluationHistoryStatus) Reset

func (x *EvaluationHistoryStatus) Reset()

func (*EvaluationHistoryStatus) String

func (x *EvaluationHistoryStatus) String() string

type GHCRProviderConfig

type GHCRProviderConfig struct {

	// namespace is the namespace for the GHCR provider.
	Namespace *string `protobuf:"bytes,1,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

GHCRProviderConfig contains the configuration for the GHCR provider.

Namespace: is the namespace for the GHCR provider.

func (*GHCRProviderConfig) Descriptor deprecated

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

Deprecated: Use GHCRProviderConfig.ProtoReflect.Descriptor instead.

func (*GHCRProviderConfig) GetNamespace

func (x *GHCRProviderConfig) GetNamespace() string

func (*GHCRProviderConfig) ProtoMessage

func (*GHCRProviderConfig) ProtoMessage()

func (*GHCRProviderConfig) ProtoReflect

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

func (*GHCRProviderConfig) Reset

func (x *GHCRProviderConfig) Reset()

func (*GHCRProviderConfig) String

func (x *GHCRProviderConfig) String() string

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

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

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

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

Deprecated: Use GetArtifactByNameRequest.ProtoReflect.Descriptor instead.

func (*GetArtifactByNameRequest) GetContext

func (x *GetArtifactByNameRequest) GetContext() *Context

func (*GetArtifactByNameRequest) GetName

func (x *GetArtifactByNameRequest) GetName() string

func (*GetArtifactByNameRequest) ProtoMessage

func (*GetArtifactByNameRequest) ProtoMessage()

func (*GetArtifactByNameRequest) ProtoReflect

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

func (*GetArtifactByNameRequest) Reset

func (x *GetArtifactByNameRequest) Reset()

func (*GetArtifactByNameRequest) String

func (x *GetArtifactByNameRequest) String() string

type GetArtifactByNameResponse

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

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

Deprecated: Use GetArtifactByNameResponse.ProtoReflect.Descriptor instead.

func (*GetArtifactByNameResponse) GetArtifact

func (x *GetArtifactByNameResponse) GetArtifact() *Artifact

func (*GetArtifactByNameResponse) GetVersions

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

func (*GetArtifactByNameResponse) ProtoMessage

func (*GetArtifactByNameResponse) ProtoMessage()

func (*GetArtifactByNameResponse) ProtoReflect

func (*GetArtifactByNameResponse) Reset

func (x *GetArtifactByNameResponse) Reset()

func (*GetArtifactByNameResponse) String

func (x *GetArtifactByNameResponse) String() string

type GetAuthorizationURLRequest

type GetAuthorizationURLRequest struct {
	Cli         bool     `protobuf:"varint,3,opt,name=cli,proto3" json:"cli,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"`
	// config is a JSON object that can be used to pass additional configuration
	Config        *structpb.Struct `protobuf:"bytes,8,opt,name=config,proto3" json:"config,omitempty"`
	ProviderClass string           `protobuf:"bytes,9,opt,name=provider_class,json=providerClass,proto3" json:"provider_class,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) GetConfig

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

func (*GetAuthorizationURLRequest) GetContext

func (x *GetAuthorizationURLRequest) GetContext() *Context

func (*GetAuthorizationURLRequest) GetOwner

func (x *GetAuthorizationURLRequest) GetOwner() string

func (*GetAuthorizationURLRequest) GetProviderClass

func (x *GetAuthorizationURLRequest) GetProviderClass() string

func (*GetAuthorizationURLRequest) GetRedirectUrl

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

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 GetEvaluationHistoryRequest

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

GetEvaluationHistoryRequest represents a request for the GetEvaluationHistory endpoint

func (*GetEvaluationHistoryRequest) Descriptor deprecated

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

Deprecated: Use GetEvaluationHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetEvaluationHistoryRequest) GetContext

func (x *GetEvaluationHistoryRequest) GetContext() *Context

func (*GetEvaluationHistoryRequest) GetId

func (*GetEvaluationHistoryRequest) ProtoMessage

func (*GetEvaluationHistoryRequest) ProtoMessage()

func (*GetEvaluationHistoryRequest) ProtoReflect

func (*GetEvaluationHistoryRequest) Reset

func (x *GetEvaluationHistoryRequest) Reset()

func (*GetEvaluationHistoryRequest) String

func (x *GetEvaluationHistoryRequest) String() string

type GetEvaluationHistoryResponse

type GetEvaluationHistoryResponse struct {

	// The requested record
	Evaluation *EvaluationHistory `protobuf:"bytes,1,opt,name=evaluation,proto3" json:"evaluation,omitempty"`
	// contains filtered or unexported fields
}

GetEvaluationHistoryResponse represents a response message for the GetEvaluationHistory RPC.

func (*GetEvaluationHistoryResponse) Descriptor deprecated

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

Deprecated: Use GetEvaluationHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetEvaluationHistoryResponse) GetEvaluation

func (x *GetEvaluationHistoryResponse) GetEvaluation() *EvaluationHistory

func (*GetEvaluationHistoryResponse) ProtoMessage

func (*GetEvaluationHistoryResponse) ProtoMessage()

func (*GetEvaluationHistoryResponse) ProtoReflect

func (*GetEvaluationHistoryResponse) Reset

func (x *GetEvaluationHistoryResponse) Reset()

func (*GetEvaluationHistoryResponse) String

type GetInviteDetailsRequest

type GetInviteDetailsRequest struct {

	// Invite nonce/code to retrieve details for
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInviteDetailsRequest) Descriptor deprecated

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

Deprecated: Use GetInviteDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetInviteDetailsRequest) GetCode

func (x *GetInviteDetailsRequest) GetCode() string

func (*GetInviteDetailsRequest) ProtoMessage

func (*GetInviteDetailsRequest) ProtoMessage()

func (*GetInviteDetailsRequest) ProtoReflect

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

func (*GetInviteDetailsRequest) Reset

func (x *GetInviteDetailsRequest) Reset()

func (*GetInviteDetailsRequest) String

func (x *GetInviteDetailsRequest) String() string

type GetInviteDetailsResponse

type GetInviteDetailsResponse struct {

	// Project associated with the invite
	ProjectDisplay string `protobuf:"bytes,1,opt,name=project_display,json=projectDisplay,proto3" json:"project_display,omitempty"`
	// Sponsor of the invite
	SponsorDisplay string `protobuf:"bytes,2,opt,name=sponsor_display,json=sponsorDisplay,proto3" json:"sponsor_display,omitempty"`
	// expires_at is the time at which the invitation expires.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// expired is true if the invitation has expired
	Expired bool `protobuf:"varint,4,opt,name=expired,proto3" json:"expired,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInviteDetailsResponse) Descriptor deprecated

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

Deprecated: Use GetInviteDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetInviteDetailsResponse) GetExpired

func (x *GetInviteDetailsResponse) GetExpired() bool

func (*GetInviteDetailsResponse) GetExpiresAt

func (x *GetInviteDetailsResponse) GetExpiresAt() *timestamppb.Timestamp

func (*GetInviteDetailsResponse) GetProjectDisplay

func (x *GetInviteDetailsResponse) GetProjectDisplay() string

func (*GetInviteDetailsResponse) GetSponsorDisplay

func (x *GetInviteDetailsResponse) GetSponsorDisplay() string

func (*GetInviteDetailsResponse) ProtoMessage

func (*GetInviteDetailsResponse) ProtoMessage()

func (*GetInviteDetailsResponse) ProtoReflect

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

func (*GetInviteDetailsResponse) Reset

func (x *GetInviteDetailsResponse) Reset()

func (*GetInviteDetailsResponse) String

func (x *GetInviteDetailsResponse) 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 GetProfileByNameRequest

type GetProfileByNameRequest 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"`
	// contains filtered or unexported fields
}

get profile by name

func (*GetProfileByNameRequest) Descriptor deprecated

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

Deprecated: Use GetProfileByNameRequest.ProtoReflect.Descriptor instead.

func (*GetProfileByNameRequest) GetContext

func (x *GetProfileByNameRequest) GetContext() *Context

func (*GetProfileByNameRequest) GetName

func (x *GetProfileByNameRequest) GetName() string

func (*GetProfileByNameRequest) ProtoMessage

func (*GetProfileByNameRequest) ProtoMessage()

func (*GetProfileByNameRequest) ProtoReflect

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

func (*GetProfileByNameRequest) Reset

func (x *GetProfileByNameRequest) Reset()

func (*GetProfileByNameRequest) String

func (x *GetProfileByNameRequest) String() string

type GetProfileByNameResponse

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

func (*GetProfileByNameResponse) Descriptor deprecated

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

Deprecated: Use GetProfileByNameResponse.ProtoReflect.Descriptor instead.

func (*GetProfileByNameResponse) GetProfile

func (x *GetProfileByNameResponse) GetProfile() *Profile

func (*GetProfileByNameResponse) ProtoMessage

func (*GetProfileByNameResponse) ProtoMessage()

func (*GetProfileByNameResponse) ProtoReflect

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

func (*GetProfileByNameResponse) Reset

func (x *GetProfileByNameResponse) Reset()

func (*GetProfileByNameResponse) String

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

func (x *GetProfileStatusByNameRequest) GetRuleName() string

func (*GetProfileStatusByNameRequest) GetRuleType

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

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

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

Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.

func (*GetProviderRequest) GetContext

func (x *GetProviderRequest) GetContext() *Context

func (*GetProviderRequest) GetName

func (x *GetProviderRequest) GetName() string

func (*GetProviderRequest) ProtoMessage

func (*GetProviderRequest) ProtoMessage()

func (*GetProviderRequest) ProtoReflect

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

func (*GetProviderRequest) Reset

func (x *GetProviderRequest) Reset()

func (*GetProviderRequest) String

func (x *GetProviderRequest) String() string

type GetProviderResponse

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

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

Deprecated: Use GetProviderResponse.ProtoReflect.Descriptor instead.

func (*GetProviderResponse) GetProvider

func (x *GetProviderResponse) GetProvider() *Provider

func (*GetProviderResponse) ProtoMessage

func (*GetProviderResponse) ProtoMessage()

func (*GetProviderResponse) ProtoReflect

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

func (*GetProviderResponse) Reset

func (x *GetProviderResponse) Reset()

func (*GetProviderResponse) String

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

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

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 GetUserRequest

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

get user

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *UserRecord `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
	// This will be deprecated in favor of the project_roles field
	//
	// Deprecated: Marked as deprecated in minder/v1/minder.proto.
	Projects     []*Project     `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
	ProjectRoles []*ProjectRole `protobuf:"bytes,3,rep,name=project_roles,json=projectRoles,proto3" json:"project_roles,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetProjectRoles

func (x *GetUserResponse) GetProjectRoles() []*ProjectRole

func (*GetUserResponse) GetProjects deprecated

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

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

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

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

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

Deprecated: Use GitHubAppParams.ProtoReflect.Descriptor instead.

func (*GitHubAppParams) GetInstallationId

func (x *GitHubAppParams) GetInstallationId() int64

func (*GitHubAppParams) GetOrganization

func (x *GitHubAppParams) GetOrganization() string

func (*GitHubAppParams) GetOrganizationId

func (x *GitHubAppParams) GetOrganizationId() int64

func (*GitHubAppParams) ProtoMessage

func (*GitHubAppParams) ProtoMessage()

func (*GitHubAppParams) ProtoReflect

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

func (*GitHubAppParams) Reset

func (x *GitHubAppParams) Reset()

func (*GitHubAppParams) String

func (x *GitHubAppParams) String() string

type GitHubAppProviderConfig

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,oneof" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

GitHubAppProviderConfig contains the configuration for the GitHub App provider

func (*GitHubAppProviderConfig) Descriptor deprecated

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

Deprecated: Use GitHubAppProviderConfig.ProtoReflect.Descriptor instead.

func (*GitHubAppProviderConfig) GetEndpoint

func (x *GitHubAppProviderConfig) GetEndpoint() string

func (*GitHubAppProviderConfig) ProtoMessage

func (*GitHubAppProviderConfig) ProtoMessage()

func (*GitHubAppProviderConfig) ProtoReflect

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

func (*GitHubAppProviderConfig) Reset

func (x *GitHubAppProviderConfig) Reset()

func (*GitHubAppProviderConfig) String

func (x *GitHubAppProviderConfig) String() string

func (*GitHubAppProviderConfig) Validate

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,oneof" 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 GitLabProviderConfig

type GitLabProviderConfig struct {

	// Endpoint is the GitLab API endpoint. If using the public GitLab API, Endpoint can be left blank.
	Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// group is the GitLab group to use for the provider
	Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

GitLabProviderConfig contains the configuration for the GitLab provider.

Endpoint: is the GitLab API endpoint

If using the public GitLab API, Endpoint can be left blank

func (*GitLabProviderConfig) Descriptor deprecated

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

Deprecated: Use GitLabProviderConfig.ProtoReflect.Descriptor instead.

func (*GitLabProviderConfig) GetEndpoint

func (x *GitLabProviderConfig) GetEndpoint() string

func (*GitLabProviderConfig) GetGroup

func (x *GitLabProviderConfig) GetGroup() string

func (*GitLabProviderConfig) ProtoMessage

func (*GitLabProviderConfig) ProtoMessage()

func (*GitLabProviderConfig) ProtoReflect

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

func (*GitLabProviderConfig) Reset

func (x *GitLabProviderConfig) Reset()

func (*GitLabProviderConfig) String

func (x *GitLabProviderConfig) String() string

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.

Simple Health Check Service replies with OK

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.

Simple Health Check Service replies with OK

type Invitation

type Invitation struct {

	// role is the role that would be assigned if the user
	// accepts the invitation.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// email is the email address of the invited user.  This is
	// presented as a convenience for display purposes, and does
	// not affect who can accept the invitation using the code.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// project is the project to which the user is invited.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// code is a unique identifier for the invitation, which can
	// be used by the recipient to accept or reject the invitation.
	// The code is only transmitted in response to AssignRole or
	// ListInvitations RPCs, and not transmitted in
	// ListRoleAssignments or other calls.
	Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	// created_at is the time at which the invitation was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// expires_at is the time at which the invitation expires.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// expired is true if the invitation has expired.
	Expired bool `protobuf:"varint,9,opt,name=expired,proto3" json:"expired,omitempty"`
	// sponsor is the account (ID) of the user who created the invitation.
	Sponsor string `protobuf:"bytes,7,opt,name=sponsor,proto3" json:"sponsor,omitempty"`
	// sponsor_display is the display name of the user who created the
	// invitation.
	SponsorDisplay string `protobuf:"bytes,8,opt,name=sponsor_display,json=sponsorDisplay,proto3" json:"sponsor_display,omitempty"`
	// project_display is the display name of the project to which the user
	// is invited.
	ProjectDisplay string `protobuf:"bytes,10,opt,name=project_display,json=projectDisplay,proto3" json:"project_display,omitempty"`
	// inviteURL is the URL that can be used to accept the invitation.
	InviteUrl string `protobuf:"bytes,11,opt,name=invite_url,json=inviteUrl,proto3" json:"invite_url,omitempty"`
	// emailSkipped is true if the email was not sent to the invitee.
	EmailSkipped bool `protobuf:"varint,12,opt,name=email_skipped,json=emailSkipped,proto3" json:"email_skipped,omitempty"`
	// contains filtered or unexported fields
}

func (*Invitation) Descriptor deprecated

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

Deprecated: Use Invitation.ProtoReflect.Descriptor instead.

func (*Invitation) GetCode

func (x *Invitation) GetCode() string

func (*Invitation) GetCreatedAt

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

func (*Invitation) GetEmail

func (x *Invitation) GetEmail() string

func (*Invitation) GetEmailSkipped

func (x *Invitation) GetEmailSkipped() bool

func (*Invitation) GetExpired

func (x *Invitation) GetExpired() bool

func (*Invitation) GetExpiresAt

func (x *Invitation) GetExpiresAt() *timestamppb.Timestamp

func (*Invitation) GetInviteUrl

func (x *Invitation) GetInviteUrl() string

func (*Invitation) GetProject

func (x *Invitation) GetProject() string

func (*Invitation) GetProjectDisplay

func (x *Invitation) GetProjectDisplay() string

func (*Invitation) GetRole

func (x *Invitation) GetRole() string

func (*Invitation) GetSponsor

func (x *Invitation) GetSponsor() string

func (*Invitation) GetSponsorDisplay

func (x *Invitation) GetSponsorDisplay() string

func (*Invitation) ProtoMessage

func (*Invitation) ProtoMessage()

func (*Invitation) ProtoReflect

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

func (*Invitation) Reset

func (x *Invitation) Reset()

func (*Invitation) String

func (x *Invitation) String() string

type InviteServiceClient

type InviteServiceClient interface {
	GetInviteDetails(ctx context.Context, in *GetInviteDetailsRequest, opts ...grpc.CallOption) (*GetInviteDetailsResponse, error)
}

InviteServiceClient is the client API for InviteService 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 InviteServiceServer

type InviteServiceServer interface {
	GetInviteDetails(context.Context, *GetInviteDetailsRequest) (*GetInviteDetailsResponse, error)
	// contains filtered or unexported methods
}

InviteServiceServer is the server API for InviteService service. All implementations must embed UnimplementedInviteServiceServer for forward compatibility.

type ListArtifactsRequest

type ListArtifactsRequest 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"`
	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

func (x *ListArtifactsRequest) GetContext() *Context

func (*ListArtifactsRequest) GetFrom

func (x *ListArtifactsRequest) GetFrom() string

func (*ListArtifactsRequest) GetProvider deprecated

func (x *ListArtifactsRequest) GetProvider() string

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

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 ListChildProjectsRequest

type ListChildProjectsRequest struct {

	// context is the context in which the child projects are listed.
	Context *ContextV2 `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// recursive is true if child projects should be listed recursively.
	Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChildProjectsRequest) Descriptor deprecated

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

Deprecated: Use ListChildProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListChildProjectsRequest) GetContext

func (x *ListChildProjectsRequest) GetContext() *ContextV2

func (*ListChildProjectsRequest) GetRecursive

func (x *ListChildProjectsRequest) GetRecursive() bool

func (*ListChildProjectsRequest) ProtoMessage

func (*ListChildProjectsRequest) ProtoMessage()

func (*ListChildProjectsRequest) ProtoReflect

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

func (*ListChildProjectsRequest) Reset

func (x *ListChildProjectsRequest) Reset()

func (*ListChildProjectsRequest) String

func (x *ListChildProjectsRequest) String() string

type ListChildProjectsResponse

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

func (*ListChildProjectsResponse) Descriptor deprecated

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

Deprecated: Use ListChildProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListChildProjectsResponse) GetProjects

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

func (*ListChildProjectsResponse) ProtoMessage

func (*ListChildProjectsResponse) ProtoMessage()

func (*ListChildProjectsResponse) ProtoReflect

func (*ListChildProjectsResponse) Reset

func (x *ListChildProjectsResponse) Reset()

func (*ListChildProjectsResponse) String

func (x *ListChildProjectsResponse) String() string

type ListEvaluationHistoryRequest

type ListEvaluationHistoryRequest struct {
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// List of entity types to retrieve.
	EntityType []string `protobuf:"bytes,2,rep,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	// List of entity names to retrieve.
	EntityName []string `protobuf:"bytes,3,rep,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"`
	// List of profile names to retrieve.
	ProfileName []string `protobuf:"bytes,4,rep,name=profile_name,json=profileName,proto3" json:"profile_name,omitempty"`
	// List of evaluation statuses to retrieve.
	Status []string `protobuf:"bytes,5,rep,name=status,proto3" json:"status,omitempty"`
	// List of remediation statuses to retrieve.
	Remediation []string `protobuf:"bytes,6,rep,name=remediation,proto3" json:"remediation,omitempty"`
	// List of alert statuses to retrieve.
	Alert []string `protobuf:"bytes,7,rep,name=alert,proto3" json:"alert,omitempty"`
	// Timestamp representing the start time of the selection window.
	From *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=from,proto3" json:"from,omitempty"`
	// Timestamp representing the end time of the selection window.
	To *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=to,proto3" json:"to,omitempty"`
	// Cursor object to select the "page" of data to retrieve.
	Cursor *Cursor `protobuf:"bytes,10,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

ListEvaluationHistoryRequest represents a request message for the ListEvaluationHistory RPC.

Most of its fields are used for filtering, except for `cursor` which is used for pagination.

func (*ListEvaluationHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListEvaluationHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListEvaluationHistoryRequest) GetAlert

func (x *ListEvaluationHistoryRequest) GetAlert() []string

func (*ListEvaluationHistoryRequest) GetContext

func (x *ListEvaluationHistoryRequest) GetContext() *Context

func (*ListEvaluationHistoryRequest) GetCursor

func (x *ListEvaluationHistoryRequest) GetCursor() *Cursor

func (*ListEvaluationHistoryRequest) GetEntityName

func (x *ListEvaluationHistoryRequest) GetEntityName() []string

func (*ListEvaluationHistoryRequest) GetEntityType

func (x *ListEvaluationHistoryRequest) GetEntityType() []string

func (*ListEvaluationHistoryRequest) GetFrom

func (*ListEvaluationHistoryRequest) GetProfileName

func (x *ListEvaluationHistoryRequest) GetProfileName() []string

func (*ListEvaluationHistoryRequest) GetRemediation

func (x *ListEvaluationHistoryRequest) GetRemediation() []string

func (*ListEvaluationHistoryRequest) GetStatus

func (x *ListEvaluationHistoryRequest) GetStatus() []string

func (*ListEvaluationHistoryRequest) GetTo

func (*ListEvaluationHistoryRequest) ProtoMessage

func (*ListEvaluationHistoryRequest) ProtoMessage()

func (*ListEvaluationHistoryRequest) ProtoReflect

func (*ListEvaluationHistoryRequest) Reset

func (x *ListEvaluationHistoryRequest) Reset()

func (*ListEvaluationHistoryRequest) String

type ListEvaluationHistoryResponse

type ListEvaluationHistoryResponse struct {

	// List of records retrieved.
	Data []*EvaluationHistory `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// Metadata of the current page and pointers to next and/or
	// previous pages.
	Page *CursorPage `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

ListEvaluationHistoryResponse represents a response message for the ListEvaluationHistory RPC.

It ships a collection of records retrieved and pointers to get to the next and/or previous pages of data.

func (*ListEvaluationHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListEvaluationHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListEvaluationHistoryResponse) GetData

func (*ListEvaluationHistoryResponse) GetPage

func (*ListEvaluationHistoryResponse) ProtoMessage

func (*ListEvaluationHistoryResponse) ProtoMessage()

func (*ListEvaluationHistoryResponse) ProtoReflect

func (*ListEvaluationHistoryResponse) Reset

func (x *ListEvaluationHistoryResponse) Reset()

func (*ListEvaluationHistoryResponse) String

type ListEvaluationResultsRequest

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

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

Deprecated: Use ListEvaluationResultsRequest.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsRequest) GetContext

func (x *ListEvaluationResultsRequest) GetContext() *Context

func (*ListEvaluationResultsRequest) GetEntity

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

func (*ListEvaluationResultsRequest) GetLabelFilter

func (x *ListEvaluationResultsRequest) GetLabelFilter() string

func (*ListEvaluationResultsRequest) GetProfile

func (x *ListEvaluationResultsRequest) GetProfile() string

func (*ListEvaluationResultsRequest) GetProfileSelector

func (m *ListEvaluationResultsRequest) GetProfileSelector() isListEvaluationResultsRequest_ProfileSelector

func (*ListEvaluationResultsRequest) GetRuleName

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

func (*ListEvaluationResultsRequest) ProtoMessage

func (*ListEvaluationResultsRequest) ProtoMessage()

func (*ListEvaluationResultsRequest) ProtoReflect

func (*ListEvaluationResultsRequest) Reset

func (x *ListEvaluationResultsRequest) Reset()

func (*ListEvaluationResultsRequest) String

type ListEvaluationResultsRequest_LabelFilter

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

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

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

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

Deprecated: Use ListEvaluationResultsResponse.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsResponse) GetEntities

func (*ListEvaluationResultsResponse) ProtoMessage

func (*ListEvaluationResultsResponse) ProtoMessage()

func (*ListEvaluationResultsResponse) ProtoReflect

func (*ListEvaluationResultsResponse) Reset

func (x *ListEvaluationResultsResponse) Reset()

func (*ListEvaluationResultsResponse) String

type ListEvaluationResultsResponse_EntityEvaluationResults

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

Deprecated: Use ListEvaluationResultsResponse_EntityEvaluationResults.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsResponse_EntityEvaluationResults) GetEntity

func (*ListEvaluationResultsResponse_EntityEvaluationResults) GetProfiles

func (*ListEvaluationResultsResponse_EntityEvaluationResults) ProtoMessage

func (*ListEvaluationResultsResponse_EntityEvaluationResults) ProtoReflect

func (*ListEvaluationResultsResponse_EntityEvaluationResults) Reset

func (*ListEvaluationResultsResponse_EntityEvaluationResults) String

type ListEvaluationResultsResponse_EntityProfileEvaluationResults

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

Deprecated: Use ListEvaluationResultsResponse_EntityProfileEvaluationResults.ProtoReflect.Descriptor instead.

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) GetProfileStatus

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) GetResults

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) ProtoMessage

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) ProtoReflect

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) Reset

func (*ListEvaluationResultsResponse_EntityProfileEvaluationResults) String

type ListInvitationsRequest

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

func (*ListInvitationsRequest) Descriptor deprecated

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

Deprecated: Use ListInvitationsRequest.ProtoReflect.Descriptor instead.

func (*ListInvitationsRequest) ProtoMessage

func (*ListInvitationsRequest) ProtoMessage()

func (*ListInvitationsRequest) ProtoReflect

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

func (*ListInvitationsRequest) Reset

func (x *ListInvitationsRequest) Reset()

func (*ListInvitationsRequest) String

func (x *ListInvitationsRequest) String() string

type ListInvitationsResponse

type ListInvitationsResponse struct {
	Invitations []*Invitation `protobuf:"bytes,1,rep,name=invitations,proto3" json:"invitations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInvitationsResponse) Descriptor deprecated

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

Deprecated: Use ListInvitationsResponse.ProtoReflect.Descriptor instead.

func (*ListInvitationsResponse) GetInvitations

func (x *ListInvitationsResponse) GetInvitations() []*Invitation

func (*ListInvitationsResponse) ProtoMessage

func (*ListInvitationsResponse) ProtoMessage()

func (*ListInvitationsResponse) ProtoReflect

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

func (*ListInvitationsResponse) Reset

func (x *ListInvitationsResponse) Reset()

func (*ListInvitationsResponse) String

func (x *ListInvitationsResponse) String() string

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

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

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

func (*ListProjectsRequest) Descriptor deprecated

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

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

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

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

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

func (*ListProjectsResponse) Descriptor deprecated

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

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetProjects

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

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

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

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type ListProviderClassesRequest

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

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

Deprecated: Use ListProviderClassesRequest.ProtoReflect.Descriptor instead.

func (*ListProviderClassesRequest) GetContext

func (x *ListProviderClassesRequest) GetContext() *Context

func (*ListProviderClassesRequest) ProtoMessage

func (*ListProviderClassesRequest) ProtoMessage()

func (*ListProviderClassesRequest) ProtoReflect

func (*ListProviderClassesRequest) Reset

func (x *ListProviderClassesRequest) Reset()

func (*ListProviderClassesRequest) String

func (x *ListProviderClassesRequest) String() string

type ListProviderClassesResponse

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

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

Deprecated: Use ListProviderClassesResponse.ProtoReflect.Descriptor instead.

func (*ListProviderClassesResponse) GetProviderClasses

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

func (*ListProviderClassesResponse) ProtoMessage

func (*ListProviderClassesResponse) ProtoMessage()

func (*ListProviderClassesResponse) ProtoReflect

func (*ListProviderClassesResponse) Reset

func (x *ListProviderClassesResponse) Reset()

func (*ListProviderClassesResponse) String

func (x *ListProviderClassesResponse) String() string

type ListProvidersRequest

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.
	// 0 uses a server-defined default.
	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

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

Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListProvidersRequest) GetContext

func (x *ListProvidersRequest) GetContext() *Context

func (*ListProvidersRequest) GetCursor

func (x *ListProvidersRequest) GetCursor() string

func (*ListProvidersRequest) GetLimit

func (x *ListProvidersRequest) GetLimit() int32

func (*ListProvidersRequest) ProtoMessage

func (*ListProvidersRequest) ProtoMessage()

func (*ListProvidersRequest) ProtoReflect

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

func (*ListProvidersRequest) Reset

func (x *ListProvidersRequest) Reset()

func (*ListProvidersRequest) String

func (x *ListProvidersRequest) String() string

type ListProvidersResponse

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

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

Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListProvidersResponse) GetCursor

func (x *ListProvidersResponse) GetCursor() string

func (*ListProvidersResponse) GetProviders

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

func (*ListProvidersResponse) ProtoMessage

func (*ListProvidersResponse) ProtoMessage()

func (*ListProvidersResponse) ProtoReflect

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

func (*ListProvidersResponse) Reset

func (x *ListProvidersResponse) Reset()

func (*ListProvidersResponse) String

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

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"`
	// entities is the same list as the repositories, but it
	// uses the new UpstreamEntityRef message. This is what
	// we'll migrate to eventually.
	Entities []*RegistrableUpstreamEntityRef `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRemoteRepositoriesFromProviderResponse) Descriptor deprecated

Deprecated: Use ListRemoteRepositoriesFromProviderResponse.ProtoReflect.Descriptor instead.

func (*ListRemoteRepositoriesFromProviderResponse) GetEntities

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

func (x *ListRepositoriesRequest) GetContext() *Context

func (*ListRepositoriesRequest) GetCursor

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

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

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

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

Deprecated: Use ListRoleAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListRoleAssignmentsRequest) GetContext

func (x *ListRoleAssignmentsRequest) GetContext() *Context

func (*ListRoleAssignmentsRequest) ProtoMessage

func (*ListRoleAssignmentsRequest) ProtoMessage()

func (*ListRoleAssignmentsRequest) ProtoReflect

func (*ListRoleAssignmentsRequest) Reset

func (x *ListRoleAssignmentsRequest) Reset()

func (*ListRoleAssignmentsRequest) String

func (x *ListRoleAssignmentsRequest) String() string

type ListRoleAssignmentsResponse

type ListRoleAssignmentsResponse struct {

	// role_assignments contains permission grants which have been accepted
	// by a user.
	RoleAssignments []*RoleAssignment `protobuf:"bytes,1,rep,name=role_assignments,json=roleAssignments,proto3" json:"role_assignments,omitempty"`
	// invitations contains outstanding role invitations which have not yet
	// been accepted by a user.
	Invitations []*Invitation `protobuf:"bytes,2,rep,name=invitations,proto3" json:"invitations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoleAssignmentsResponse) Descriptor deprecated

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

Deprecated: Use ListRoleAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListRoleAssignmentsResponse) GetInvitations

func (x *ListRoleAssignmentsResponse) GetInvitations() []*Invitation

func (*ListRoleAssignmentsResponse) GetRoleAssignments

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

func (*ListRoleAssignmentsResponse) ProtoMessage

func (*ListRoleAssignmentsResponse) ProtoMessage()

func (*ListRoleAssignmentsResponse) ProtoReflect

func (*ListRoleAssignmentsResponse) Reset

func (x *ListRoleAssignmentsResponse) Reset()

func (*ListRoleAssignmentsResponse) String

func (x *ListRoleAssignmentsResponse) String() string

type ListRolesRequest

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

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

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetContext

func (x *ListRolesRequest) GetContext() *Context

func (*ListRolesRequest) ProtoMessage

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect

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

func (*ListRolesRequest) Reset

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String

func (x *ListRolesRequest) String() string

type ListRolesResponse

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

func (*ListRolesResponse) Descriptor deprecated

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

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetRoles

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

func (*ListRolesResponse) ProtoMessage

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect

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

func (*ListRolesResponse) Reset

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String

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

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

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

Deprecated: Use PatchProfileRequest.ProtoReflect.Descriptor instead.

func (*PatchProfileRequest) GetContext

func (x *PatchProfileRequest) GetContext() *Context

func (*PatchProfileRequest) GetId

func (x *PatchProfileRequest) GetId() string

func (*PatchProfileRequest) GetPatch

func (x *PatchProfileRequest) GetPatch() *Profile

func (*PatchProfileRequest) GetUpdateMask

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

func (*PatchProfileRequest) ProtoMessage

func (*PatchProfileRequest) ProtoMessage()

func (*PatchProfileRequest) ProtoReflect

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

func (*PatchProfileRequest) Reset

func (x *PatchProfileRequest) Reset()

func (*PatchProfileRequest) String

func (x *PatchProfileRequest) String() string

type PatchProfileResponse

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

func (*PatchProfileResponse) Descriptor deprecated

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

Deprecated: Use PatchProfileResponse.ProtoReflect.Descriptor instead.

func (*PatchProfileResponse) GetProfile

func (x *PatchProfileResponse) GetProfile() *Profile

func (*PatchProfileResponse) ProtoMessage

func (*PatchProfileResponse) ProtoMessage()

func (*PatchProfileResponse) ProtoReflect

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

func (*PatchProfileResponse) Reset

func (x *PatchProfileResponse) Reset()

func (*PatchProfileResponse) String

func (x *PatchProfileResponse) String() string

type PatchProjectRequest

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

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

Deprecated: Use PatchProjectRequest.ProtoReflect.Descriptor instead.

func (*PatchProjectRequest) GetContext

func (x *PatchProjectRequest) GetContext() *Context

func (*PatchProjectRequest) GetPatch

func (x *PatchProjectRequest) GetPatch() *ProjectPatch

func (*PatchProjectRequest) GetUpdateMask

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

func (*PatchProjectRequest) ProtoMessage

func (*PatchProjectRequest) ProtoMessage()

func (*PatchProjectRequest) ProtoReflect

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

func (*PatchProjectRequest) Reset

func (x *PatchProjectRequest) Reset()

func (*PatchProjectRequest) String

func (x *PatchProjectRequest) String() string

type PatchProjectResponse

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

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

Deprecated: Use PatchProjectResponse.ProtoReflect.Descriptor instead.

func (*PatchProjectResponse) GetProject

func (x *PatchProjectResponse) GetProject() *Project

func (*PatchProjectResponse) ProtoMessage

func (*PatchProjectResponse) ProtoMessage()

func (*PatchProjectResponse) ProtoReflect

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

func (*PatchProjectResponse) Reset

func (x *PatchProjectResponse) Reset()

func (*PatchProjectResponse) String

func (x *PatchProjectResponse) String() string

type PatchProviderRequest

type PatchProviderRequest struct {
	Context    *Context               `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	Patch      *Provider              `protobuf:"bytes,2,opt,name=patch,proto3" json:"patch,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchProviderRequest) Descriptor deprecated

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

Deprecated: Use PatchProviderRequest.ProtoReflect.Descriptor instead.

func (*PatchProviderRequest) GetContext

func (x *PatchProviderRequest) GetContext() *Context

func (*PatchProviderRequest) GetPatch

func (x *PatchProviderRequest) GetPatch() *Provider

func (*PatchProviderRequest) GetUpdateMask

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

func (*PatchProviderRequest) ProtoMessage

func (*PatchProviderRequest) ProtoMessage()

func (*PatchProviderRequest) ProtoReflect

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

func (*PatchProviderRequest) Reset

func (x *PatchProviderRequest) Reset()

func (*PatchProviderRequest) String

func (x *PatchProviderRequest) String() string

type PatchProviderResponse

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

func (*PatchProviderResponse) Descriptor deprecated

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

Deprecated: Use PatchProviderResponse.ProtoReflect.Descriptor instead.

func (*PatchProviderResponse) GetProvider

func (x *PatchProviderResponse) GetProvider() *Provider

func (*PatchProviderResponse) ProtoMessage

func (*PatchProviderResponse) ProtoMessage()

func (*PatchProviderResponse) ProtoReflect

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

func (*PatchProviderResponse) Reset

func (x *PatchProviderResponse) Reset()

func (*PatchProviderResponse) String

func (x *PatchProviderResponse) String() string

type PermissionsServiceClient

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)
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*UpdateRoleResponse, 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.

type PermissionsServiceServer

type PermissionsServiceServer interface {
	ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
	ListRoleAssignments(context.Context, *ListRoleAssignmentsRequest) (*ListRoleAssignmentsResponse, error)
	AssignRole(context.Context, *AssignRoleRequest) (*AssignRoleResponse, error)
	UpdateRole(context.Context, *UpdateRoleRequest) (*UpdateRoleResponse, 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 PipelineRun

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

func (*PipelineRun) Descriptor deprecated

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

Deprecated: Use PipelineRun.ProtoReflect.Descriptor instead.

func (*PipelineRun) ProtoMessage

func (*PipelineRun) ProtoMessage()

func (*PipelineRun) ProtoReflect

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

func (*PipelineRun) Reset

func (x *PipelineRun) Reset()

func (*PipelineRun) String

func (x *PipelineRun) String() 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"`
	Release          []*Profile_Rule     `protobuf:"bytes,15,rep,name=release,proto3" json:"release,omitempty"`
	PipelineRun      []*Profile_Rule     `protobuf:"bytes,16,rep,name=pipeline_run,json=pipelineRun,proto3" json:"pipeline_run,omitempty"`
	TaskRun          []*Profile_Rule     `protobuf:"bytes,17,rep,name=task_run,json=taskRun,proto3" json:"task_run,omitempty"`
	Build            []*Profile_Rule     `protobuf:"bytes,18,rep,name=build,proto3" json:"build,omitempty"`
	Selection        []*Profile_Selector `protobuf:"bytes,14,rep,name=selection,proto3" json:"selection,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) GetBuild

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

func (*Profile) GetBuildEnvironment

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

func (*Profile) GetContext

func (x *Profile) GetContext() *Context

func (*Profile) GetDisplayName

func (x *Profile) GetDisplayName() string

func (*Profile) GetId

func (x *Profile) GetId() string

func (*Profile) GetLabels

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

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetPipelineRun

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

func (*Profile) GetPullRequest

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

func (*Profile) GetRelease

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

func (*Profile) GetRemediate

func (x *Profile) GetRemediate() string

func (*Profile) GetRepository

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

func (*Profile) GetSelection

func (x *Profile) GetSelection() []*Profile_Selector

func (*Profile) GetTaskRun

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

func (*Profile) GetType

func (x *Profile) GetType() string

func (*Profile) GetVersion

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

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.  One of profile_id or profile_name must be set.
	ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// profile_name is the name of the profile.  One of profile_id or profile_name must be set.
	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 as output

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

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

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 Profile_Selector

type Profile_Selector struct {

	// id is optional and use for updates to match upserts as well as read operations. It is ignored for creates.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// entity is the entity to select.
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// expr is the expression to select the entity.
	Selector string `protobuf:"bytes,4,opt,name=selector,proto3" json:"selector,omitempty"`
	// description is the human-readable description of the selector.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile_Selector) Descriptor deprecated

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

Deprecated: Use Profile_Selector.ProtoReflect.Descriptor instead.

func (*Profile_Selector) GetDescription

func (x *Profile_Selector) GetDescription() string

func (*Profile_Selector) GetEntity

func (x *Profile_Selector) GetEntity() string

func (*Profile_Selector) GetId

func (x *Profile_Selector) GetId() string

func (*Profile_Selector) GetSelector

func (x *Profile_Selector) GetSelector() string

func (*Profile_Selector) ProtoMessage

func (*Profile_Selector) ProtoMessage()

func (*Profile_Selector) ProtoReflect

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

func (*Profile_Selector) Reset

func (x *Profile_Selector) Reset()

func (*Profile_Selector) String

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

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

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

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

Deprecated: Use ProjectPatch.ProtoReflect.Descriptor instead.

func (*ProjectPatch) GetDescription

func (x *ProjectPatch) GetDescription() string

func (*ProjectPatch) GetDisplayName

func (x *ProjectPatch) GetDisplayName() string

func (*ProjectPatch) ProtoMessage

func (*ProjectPatch) ProtoMessage()

func (*ProjectPatch) ProtoReflect

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

func (*ProjectPatch) Reset

func (x *ProjectPatch) Reset()

func (*ProjectPatch) String

func (x *ProjectPatch) String() string

type ProjectRole

type ProjectRole struct {
	Role    *Role    `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Project *Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectRole has the project along with the role the user has in the project

func (*ProjectRole) Descriptor deprecated

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

Deprecated: Use ProjectRole.ProtoReflect.Descriptor instead.

func (*ProjectRole) GetProject

func (x *ProjectRole) GetProject() *Project

func (*ProjectRole) GetRole

func (x *ProjectRole) GetRole() *Role

func (*ProjectRole) ProtoMessage

func (*ProjectRole) ProtoMessage()

func (*ProjectRole) ProtoReflect

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

func (*ProjectRole) Reset

func (x *ProjectRole) Reset()

func (*ProjectRole) String

func (x *ProjectRole) String() string

type ProjectsServiceClient

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.

type ProjectsServiceServer

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

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

func (*Provider) GetClass

func (x *Provider) GetClass() string

func (*Provider) GetConfig

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

func (*Provider) GetCredentialsState

func (x *Provider) GetCredentialsState() string

func (*Provider) GetImplements

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

func (*Provider) GetName

func (x *Provider) GetName() string

func (*Provider) GetParameters

func (x *Provider) GetParameters() *ProviderParameter

func (*Provider) GetProject

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

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

SupportsAuthFlow returns true if the provider supports the given auth flow

type ProviderClass

type ProviderClass int32
const (
	ProviderClass_PROVIDER_CLASS_UNSPECIFIED ProviderClass = 0
	ProviderClass_PROVIDER_CLASS_GITHUB      ProviderClass = 1
	ProviderClass_PROVIDER_CLASS_GITHUB_APP  ProviderClass = 2
	ProviderClass_PROVIDER_CLASS_GHCR        ProviderClass = 3
	ProviderClass_PROVIDER_CLASS_DOCKERHUB   ProviderClass = 4
)

func (ProviderClass) Descriptor

func (ProviderClass) Enum

func (x ProviderClass) Enum() *ProviderClass

func (ProviderClass) EnumDescriptor deprecated

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

Deprecated: Use ProviderClass.Descriptor instead.

func (ProviderClass) Number

func (ProviderClass) String

func (x ProviderClass) String() string

func (ProviderClass) ToString

func (p ProviderClass) ToString() string

ToString returns the string representation of the ProviderClass

func (ProviderClass) Type

type ProviderConfig

type ProviderConfig struct {

	// auto_registration is the configuration for auto-registering entities.
	AutoRegistration *AutoRegistration `protobuf:"bytes,1,opt,name=auto_registration,json=autoRegistration,proto3,oneof" json:"auto_registration,omitempty"`
	// contains filtered or unexported fields
}

ProviderConfig contains the generic configuration for a provider.

func (*ProviderConfig) Descriptor deprecated

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

Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.

func (*ProviderConfig) GetAutoRegistration

func (x *ProviderConfig) GetAutoRegistration() *AutoRegistration

func (*ProviderConfig) ProtoMessage

func (*ProviderConfig) ProtoMessage()

func (*ProviderConfig) ProtoReflect

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

func (*ProviderConfig) Reset

func (x *ProviderConfig) Reset()

func (*ProviderConfig) String

func (x *ProviderConfig) String() string

func (*ProviderConfig) Validate

func (p *ProviderConfig) Validate() error

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

type ProviderParameter

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

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

Deprecated: Use ProviderParameter.ProtoReflect.Descriptor instead.

func (*ProviderParameter) GetGithubApp

func (x *ProviderParameter) GetGithubApp() *GitHubAppParams

func (*ProviderParameter) GetParameters

func (m *ProviderParameter) GetParameters() isProviderParameter_Parameters

func (*ProviderParameter) ProtoMessage

func (*ProviderParameter) ProtoMessage()

func (*ProviderParameter) ProtoReflect

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

func (*ProviderParameter) Reset

func (x *ProviderParameter) Reset()

func (*ProviderParameter) String

func (x *ProviderParameter) String() string

type ProviderParameter_GithubApp

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

type ProviderType

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
	ProviderType_PROVIDER_TYPE_IMAGE_LISTER ProviderType = 6
)

func (ProviderType) Descriptor

func (ProviderType) Enum

func (x ProviderType) Enum() *ProviderType

func (ProviderType) EnumDescriptor deprecated

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

Deprecated: Use ProviderType.Descriptor instead.

func (ProviderType) Number

func (ProviderType) String

func (x ProviderType) String() string

func (ProviderType) ToString

func (provt ProviderType) ToString() string

ToString returns the string representation of the ProviderType

func (ProviderType) Type

type ProvidersServiceClient

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.

type ProvidersServiceServer

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"`
	// properties is a map of properties of the entity.
	Properties     *structpb.Struct `protobuf:"bytes,9,opt,name=properties,proto3" json:"properties,omitempty"`
	BaseCloneUrl   string           `protobuf:"bytes,10,opt,name=base_clone_url,json=baseCloneUrl,proto3" json:"base_clone_url,omitempty"`       // URL used to clone the base repository
	TargetCloneUrl string           `protobuf:"bytes,11,opt,name=target_clone_url,json=targetCloneUrl,proto3" json:"target_clone_url,omitempty"` // URL used to clone the target repository
	BaseRef        string           `protobuf:"bytes,12,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`                        // The base ref of the PR
	TargetRef      string           `protobuf:"bytes,13,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`                  // The target ref of the PR
	// 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) GetBaseCloneUrl

func (x *PullRequest) GetBaseCloneUrl() string

func (*PullRequest) GetBaseRef

func (x *PullRequest) GetBaseRef() string

func (*PullRequest) GetCommitSha

func (x *PullRequest) GetCommitSha() string

func (*PullRequest) GetContext

func (x *PullRequest) GetContext() *Context

func (*PullRequest) GetNumber

func (x *PullRequest) GetNumber() int64

func (*PullRequest) GetProperties

func (x *PullRequest) GetProperties() *structpb.Struct

func (*PullRequest) GetRepoName

func (x *PullRequest) GetRepoName() string

func (*PullRequest) GetRepoOwner

func (x *PullRequest) GetRepoOwner() string

func (*PullRequest) GetTargetCloneUrl

func (x *PullRequest) GetTargetCloneUrl() string

func (*PullRequest) GetTargetRef

func (x *PullRequest) GetTargetRef() 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,oneof" 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 ReconcileEntityRegistrationRequest

type ReconcileEntityRegistrationRequest struct {
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// entity is the entity type
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*ReconcileEntityRegistrationRequest) Descriptor deprecated

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

Deprecated: Use ReconcileEntityRegistrationRequest.ProtoReflect.Descriptor instead.

func (*ReconcileEntityRegistrationRequest) GetContext

func (*ReconcileEntityRegistrationRequest) GetEntity

func (*ReconcileEntityRegistrationRequest) ProtoMessage

func (*ReconcileEntityRegistrationRequest) ProtoMessage()

func (*ReconcileEntityRegistrationRequest) ProtoReflect

func (*ReconcileEntityRegistrationRequest) Reset

func (*ReconcileEntityRegistrationRequest) String

type ReconcileEntityRegistrationResponse

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

func (*ReconcileEntityRegistrationResponse) Descriptor deprecated

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

Deprecated: Use ReconcileEntityRegistrationResponse.ProtoReflect.Descriptor instead.

func (*ReconcileEntityRegistrationResponse) ProtoMessage

func (*ReconcileEntityRegistrationResponse) ProtoMessage()

func (*ReconcileEntityRegistrationResponse) ProtoReflect

func (*ReconcileEntityRegistrationResponse) Reset

func (*ReconcileEntityRegistrationResponse) String

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"`
	// entity is the entity to register. This is the same as the repository
	// field, but uses the new UpstreamEntityRef message. This is what we'll
	// migrate to eventually.
	Entity *UpstreamEntityRef `protobuf:"bytes,5,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRepositoryRequest) Descriptor deprecated

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

Deprecated: Use RegisterRepositoryRequest.ProtoReflect.Descriptor instead.

func (*RegisterRepositoryRequest) GetContext

func (x *RegisterRepositoryRequest) GetContext() *Context

func (*RegisterRepositoryRequest) GetEntity

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 RegistrableUpstreamEntityRef

type RegistrableUpstreamEntityRef struct {
	Entity *UpstreamEntityRef `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// True if the entity is already registered in Minder.
	Registered bool `protobuf:"varint,2,opt,name=registered,proto3" json:"registered,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistrableUpstreamEntityRef) Descriptor deprecated

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

Deprecated: Use RegistrableUpstreamEntityRef.ProtoReflect.Descriptor instead.

func (*RegistrableUpstreamEntityRef) GetEntity

func (*RegistrableUpstreamEntityRef) GetRegistered

func (x *RegistrableUpstreamEntityRef) GetRegistered() bool

func (*RegistrableUpstreamEntityRef) ProtoMessage

func (*RegistrableUpstreamEntityRef) ProtoMessage()

func (*RegistrableUpstreamEntityRef) ProtoReflect

func (*RegistrableUpstreamEntityRef) Reset

func (x *RegistrableUpstreamEntityRef) Reset()

func (*RegistrableUpstreamEntityRef) String

type Relation

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
	Relation_RELATION_ENTITY_RECONCILE                  Relation = 36
	Relation_RELATION_ROLE_ASSIGNMENT_UPDATE            Relation = 37
)

func (Relation) Descriptor

func (Relation) Descriptor() protoreflect.EnumDescriptor

func (Relation) Enum

func (x Relation) Enum() *Relation

func (Relation) EnumDescriptor deprecated

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

Deprecated: Use Relation.Descriptor instead.

func (Relation) Number

func (x Relation) Number() protoreflect.EnumNumber

func (Relation) String

func (x Relation) String() string

func (Relation) Type

type Release

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

Stubs for the SDLC entities

func (*Release) Descriptor deprecated

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

Deprecated: Use Release.ProtoReflect.Descriptor instead.

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) ProtoReflect

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

func (*Release) Reset

func (x *Release) Reset()

func (*Release) String

func (x *Release) String() string

type RemoveRoleRequest

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

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

Deprecated: Use RemoveRoleRequest.ProtoReflect.Descriptor instead.

func (*RemoveRoleRequest) GetContext

func (x *RemoveRoleRequest) GetContext() *Context

func (*RemoveRoleRequest) GetRoleAssignment

func (x *RemoveRoleRequest) GetRoleAssignment() *RoleAssignment

func (*RemoveRoleRequest) ProtoMessage

func (*RemoveRoleRequest) ProtoMessage()

func (*RemoveRoleRequest) ProtoReflect

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

func (*RemoveRoleRequest) Reset

func (x *RemoveRoleRequest) Reset()

func (*RemoveRoleRequest) String

func (x *RemoveRoleRequest) String() string

type RemoveRoleResponse

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"`
	// invitation contains the details of the invitation that was removed.
	Invitation *Invitation `protobuf:"bytes,2,opt,name=invitation,proto3" json:"invitation,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRoleResponse) Descriptor deprecated

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

Deprecated: Use RemoveRoleResponse.ProtoReflect.Descriptor instead.

func (*RemoveRoleResponse) GetInvitation

func (x *RemoveRoleResponse) GetInvitation() *Invitation

func (*RemoveRoleResponse) GetRoleAssignment

func (x *RemoveRoleResponse) GetRoleAssignment() *RoleAssignment

func (*RemoveRoleResponse) ProtoMessage

func (*RemoveRoleResponse) ProtoMessage()

func (*RemoveRoleResponse) ProtoReflect

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

func (*RemoveRoleResponse) Reset

func (x *RemoveRoleResponse) Reset()

func (*RemoveRoleResponse) String

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"`
	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"`
	// properties is a map of properties of the entity.
	Properties *structpb.Struct `protobuf:"bytes,20,opt,name=properties,proto3" json:"properties,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

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

func (x *Repository) GetLicense() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetOwner

func (x *Repository) GetOwner() string

func (*Repository) GetProperties

func (x *Repository) GetProperties() *structpb.Struct

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 ResolveInvitationRequest

type ResolveInvitationRequest struct {

	// code is the code of the invitation to resolve.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// accept is true if the invitation is accepted, false if it is rejected.
	Accept bool `protobuf:"varint,2,opt,name=accept,proto3" json:"accept,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveInvitationRequest) Descriptor deprecated

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

Deprecated: Use ResolveInvitationRequest.ProtoReflect.Descriptor instead.

func (*ResolveInvitationRequest) GetAccept

func (x *ResolveInvitationRequest) GetAccept() bool

func (*ResolveInvitationRequest) GetCode

func (x *ResolveInvitationRequest) GetCode() string

func (*ResolveInvitationRequest) ProtoMessage

func (*ResolveInvitationRequest) ProtoMessage()

func (*ResolveInvitationRequest) ProtoReflect

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

func (*ResolveInvitationRequest) Reset

func (x *ResolveInvitationRequest) Reset()

func (*ResolveInvitationRequest) String

func (x *ResolveInvitationRequest) String() string

type ResolveInvitationResponse

type ResolveInvitationResponse struct {

	// role is the role that would be assigned if the user
	// accepts the invitation.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// email is the email address of the invited user.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// project is the project to which the user is invited.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// is_accepted is the status of the invitation.
	IsAccepted bool `protobuf:"varint,4,opt,name=is_accepted,json=isAccepted,proto3" json:"is_accepted,omitempty"`
	// project_display is the display name of the project to which the user
	// is invited.
	ProjectDisplay string `protobuf:"bytes,5,opt,name=project_display,json=projectDisplay,proto3" json:"project_display,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveInvitationResponse) Descriptor deprecated

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

Deprecated: Use ResolveInvitationResponse.ProtoReflect.Descriptor instead.

func (*ResolveInvitationResponse) GetEmail

func (x *ResolveInvitationResponse) GetEmail() string

func (*ResolveInvitationResponse) GetIsAccepted

func (x *ResolveInvitationResponse) GetIsAccepted() bool

func (*ResolveInvitationResponse) GetProject

func (x *ResolveInvitationResponse) GetProject() string

func (*ResolveInvitationResponse) GetProjectDisplay

func (x *ResolveInvitationResponse) GetProjectDisplay() string

func (*ResolveInvitationResponse) GetRole

func (x *ResolveInvitationResponse) GetRole() string

func (*ResolveInvitationResponse) ProtoMessage

func (*ResolveInvitationResponse) ProtoMessage()

func (*ResolveInvitationResponse) ProtoReflect

func (*ResolveInvitationResponse) Reset

func (x *ResolveInvitationResponse) Reset()

func (*ResolveInvitationResponse) String

func (x *ResolveInvitationResponse) String() string

type ResourceMeta added in v0.0.69

type ResourceMeta interface {
	protoreflect.ProtoMessage

	GetVersion() string
	GetType() string
	GetName() string
}

ResourceMeta defines the basic metadata for a resource within Minder. This is used as a common interface and to determine the type of resource.

type ResourceType added in v0.0.69

type ResourceType string

ResourceType is the type of resource. Minder resources are all the objects that Minder manages. They include policy resources (rule types, profiles, etc.), entity resources (repositories, artifacts, etc.), and other resources like projects.

const (
	// RuleTypeResource is a rule type resource
	RuleTypeResource ResourceType = "rule-type"
	// ProfileResource is a profile resource
	ProfileResource ResourceType = "profile"
	// EntityInstanceResource is an entity instance resource
	EntityInstanceResource ResourceType = "entity-instance"
	// RepositoryResource is a repository resource. Note that this
	// will be deprecated in the future. In favor of EntityInstanceResource.
	RepositoryResource ResourceType = "repository"
	// ArtifactResource is an artifact resource. Note that this
	// will be deprecated in the future. In favor of EntityInstanceResource.
	ArtifactResource ResourceType = "artifact"
	// ProjectResource is a project resource
	ProjectResource ResourceType = "project"
)

type RestType

type RestType struct {

	// endpoint is the endpoint to fetch data from.
	// This can be a URL or path on the API.
	// 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.
	// This is expected to be a valid JSON string.
	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"`
	// This is expected to be a valid JSON string.
	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

type Role struct {

	// name is the name of the role.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// display name of the role
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_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

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetDisplayName

func (x *Role) GetDisplayName() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleAssignment

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"`
	// display_name is the display name of the subject.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// project is the project in which the role is assigned.
	Project *string `protobuf:"bytes,4,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// email is the email address of the subject used for invitations.
	Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	// first_name is the first name of the subject.
	FirstName string `protobuf:"bytes,7,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// last_name is the last name of the subject.
	LastName string `protobuf:"bytes,8,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleAssignment) Descriptor deprecated

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

Deprecated: Use RoleAssignment.ProtoReflect.Descriptor instead.

func (*RoleAssignment) GetDisplayName

func (x *RoleAssignment) GetDisplayName() string

func (*RoleAssignment) GetEmail

func (x *RoleAssignment) GetEmail() string

func (*RoleAssignment) GetFirstName

func (x *RoleAssignment) GetFirstName() string

func (*RoleAssignment) GetLastName

func (x *RoleAssignment) GetLastName() string

func (*RoleAssignment) GetProject

func (x *RoleAssignment) GetProject() string

func (*RoleAssignment) GetRole

func (x *RoleAssignment) GetRole() string

func (*RoleAssignment) GetSubject

func (x *RoleAssignment) GetSubject() string

func (*RoleAssignment) ProtoMessage

func (*RoleAssignment) ProtoMessage()

func (*RoleAssignment) ProtoReflect

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

func (*RoleAssignment) Reset

func (x *RoleAssignment) Reset()

func (*RoleAssignment) String

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

func (x *RpcOptions) GetRelation() Relation

func (*RpcOptions) GetTargetResource

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"`
	// release_phase is the phase of the release
	ReleasePhase RuleTypeReleasePhase `` /* 135-byte string literal not displayed */
	// 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

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

func (x *RuleEvaluationStatus) GetReleasePhase() RuleTypeReleasePhase

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

func (x *RuleEvaluationStatus) GetRemediationUrl() string

func (*RuleEvaluationStatus) GetRuleDescriptionName

func (x *RuleEvaluationStatus) GetRuleDescriptionName() string

func (*RuleEvaluationStatus) GetRuleDisplayName

func (x *RuleEvaluationStatus) GetRuleDisplayName() string

func (*RuleEvaluationStatus) GetRuleEvaluationId

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

func (x *RuleEvaluationStatus) GetRuleTypeName() string

func (*RuleEvaluationStatus) GetSeverity

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 {

	// version is the version of the rule type API.
	Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`
	// type is the type of the rule.
	Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"`
	// 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"`
	// short_failure_message is the message to display when the evaluation fails.
	ShortFailureMessage string `protobuf:"bytes,10,opt,name=short_failure_message,json=shortFailureMessage,proto3" json:"short_failure_message,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.
	// This is expected to be a valid markdown formatted string.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// guidance are instructions we give the user in case a rule fails.
	// This is expected to be a valid markdown formatted string.
	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"`
	// release_phase is the release phase of the rule type, i.e. alpha, beta, ga, deprecated.
	ReleasePhase RuleTypeReleasePhase `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

RuleType defines rules that may or may not be user defined. The version is assumed from the folder's version.

func (*RuleType) Descriptor deprecated

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

Deprecated: Use RuleType.ProtoReflect.Descriptor instead.

func (*RuleType) GetContext

func (x *RuleType) GetContext() *Context

func (*RuleType) GetDef

func (x *RuleType) GetDef() *RuleType_Definition

func (*RuleType) GetDescription

func (x *RuleType) GetDescription() string

func (*RuleType) GetDisplayName

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

func (x *RuleType) GetReleasePhase() RuleTypeReleasePhase

func (*RuleType) GetSeverity

func (x *RuleType) GetSeverity() *Severity

func (*RuleType) GetShortFailureMessage

func (x *RuleType) GetShortFailureMessage() string

func (*RuleType) GetType added in v0.0.69

func (x *RuleType) GetType() string

func (*RuleType) GetVersion added in v0.0.69

func (x *RuleType) GetVersion() string

func (*RuleType) ProtoMessage

func (*RuleType) ProtoMessage()

func (*RuleType) ProtoReflect

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

func (*RuleType) Reset

func (x *RuleType) Reset()

func (*RuleType) String

func (x *RuleType) String() string

func (*RuleType) Validate

func (rt *RuleType) Validate() error

Validate ensures that a rule type is valid

func (*RuleType) WithDefaultDisplayName

func (r *RuleType) WithDefaultDisplayName() *RuleType

WithDefaultDisplayName sets the display name if it is not set

func (*RuleType) WithDefaultShortFailureMessage

func (r *RuleType) WithDefaultShortFailureMessage() *RuleType

WithDefaultShortFailureMessage sets the evaluation failure message if it is not set

type RuleTypeReleasePhase

type RuleTypeReleasePhase int32

RuleTypeReleasePhase defines the release phase of the rule type.

const (
	RuleTypeReleasePhase_RULE_TYPE_RELEASE_PHASE_UNSPECIFIED RuleTypeReleasePhase = 0
	RuleTypeReleasePhase_RULE_TYPE_RELEASE_PHASE_ALPHA       RuleTypeReleasePhase = 1
	RuleTypeReleasePhase_RULE_TYPE_RELEASE_PHASE_BETA        RuleTypeReleasePhase = 2
	RuleTypeReleasePhase_RULE_TYPE_RELEASE_PHASE_GA          RuleTypeReleasePhase = 3
	RuleTypeReleasePhase_RULE_TYPE_RELEASE_PHASE_DEPRECATED  RuleTypeReleasePhase = 4
)

func (*RuleTypeReleasePhase) AsString

func (s *RuleTypeReleasePhase) AsString() (string, error)

AsString returns a human-readable string for the rule type release phase value

func (RuleTypeReleasePhase) Descriptor

func (*RuleTypeReleasePhase) EnsureDefault

func (s *RuleTypeReleasePhase) EnsureDefault() *RuleTypeReleasePhase

EnsureDefault ensures the rule type release phase has a default value

func (RuleTypeReleasePhase) Enum

func (RuleTypeReleasePhase) EnumDescriptor deprecated

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

Deprecated: Use RuleTypeReleasePhase.Descriptor instead.

func (*RuleTypeReleasePhase) FromString

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

FromString sets the rule type release phase from a string

func (*RuleTypeReleasePhase) InitializedStringValue

func (s *RuleTypeReleasePhase) InitializedStringValue() (string, error)

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

func (*RuleTypeReleasePhase) MarshalJSON

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

MarshalJSON marshals the rule type release phase value to a JSON string

func (RuleTypeReleasePhase) Number

func (RuleTypeReleasePhase) String

func (x RuleTypeReleasePhase) String() string

func (RuleTypeReleasePhase) Type

func (*RuleTypeReleasePhase) UnmarshalJSON

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

UnmarshalJSON unmarshalls the rule type release phase value from a JSON string

type RuleTypeServiceClient

type RuleTypeServiceClient interface {
	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)
}

RuleTypeServiceClient is the client API for RuleTypeService 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 RuleTypeServiceServer

RuleTypeServiceServer is the server API for RuleTypeService service. All implementations must embed UnimplementedRuleTypeServiceServer for forward compatibility.

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

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

func (*RuleType_Definition_Eval) Validate added in v0.0.73

func (ev *RuleType_Definition_Eval) Validate() error

Validate validates a rule type definition eval

type RuleType_Definition_Eval_Homoglyphs

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

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

Deprecated: Use RuleType_Definition_Eval_Homoglyphs.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Eval_Homoglyphs) GetType

func (*RuleType_Definition_Eval_Homoglyphs) ProtoMessage

func (*RuleType_Definition_Eval_Homoglyphs) ProtoMessage()

func (*RuleType_Definition_Eval_Homoglyphs) ProtoReflect

func (*RuleType_Definition_Eval_Homoglyphs) Reset

func (*RuleType_Definition_Eval_Homoglyphs) String

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"`
	// Constant points to a constant value
	Constant *structpb.Value `protobuf:"bytes,3,opt,name=constant,proto3" json:"constant,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) GetConstant

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

func (*RuleType_Definition_Eval_JQComparison) Validate added in v0.0.73

Validate validates a rule type definition eval jq

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

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

func (*RuleType_Definition_Eval_Rego) Validate added in v0.0.73

func (rego *RuleType_Definition_Eval_Rego) Validate() error

Validate validates a rule type definition eval rego

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

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
	// This is not validated here as it will be validated by the repository provider, i.e. GitHub upon
	// creation of the PR.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// the body of the PR
	// This is not validated here as it will be validated by the repository provider, i.e. GitHub upon
	// creation 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
	//
	// -- minder.yq.evaluate - evaluates a yq expression on a file
	Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// params are unstructured parameters passed to the method. These are optional
	// and evaluated by the method.
	Params *structpb.Struct `protobuf:"bytes,6,opt,name=params,proto3" json:"params,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

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetBody

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetContents

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetMethod

func (*RuleType_Definition_Remediate_PullRequestRemediation) GetParams added in v0.0.72

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

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

Deprecated: Use RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha.ProtoReflect.Descriptor instead.

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) GetExclude

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) ProtoMessage

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) ProtoReflect

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) Reset

func (*RuleType_Definition_Remediate_PullRequestRemediation_ActionsReplaceTagsWithSha) String

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

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

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

Deprecated: Use Severity.ProtoReflect.Descriptor instead.

func (*Severity) EnsureDefault

func (s *Severity) EnsureDefault() *Severity

EnsureDefault ensures the rule type has a default value

func (*Severity) GetValue

func (x *Severity) GetValue() Severity_Value

func (*Severity) InitializedStringValue

func (s *Severity) InitializedStringValue() string

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

func (*Severity) ProtoMessage

func (*Severity) ProtoMessage()

func (*Severity) ProtoReflect

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

func (*Severity) Reset

func (x *Severity) Reset()

func (*Severity) String

func (x *Severity) String() string

type Severity_Value

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

func (s *Severity_Value) AsString() string

AsString returns a human-readable string for the severity value

func (Severity_Value) Descriptor

func (Severity_Value) Enum

func (x Severity_Value) Enum() *Severity_Value

func (Severity_Value) EnumDescriptor deprecated

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

Deprecated: Use Severity_Value.Descriptor instead.

func (*Severity_Value) FromString

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

FromString sets the severity value from a string

func (*Severity_Value) MarshalJSON

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

MarshalJSON marshals the severity value to a JSON string

func (Severity_Value) Number

func (Severity_Value) String

func (x Severity_Value) String() string

func (Severity_Value) Type

func (*Severity_Value) UnmarshalJSON

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

UnmarshalJSON unmarshalls 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

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

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

func (TargetResource) Enum

func (x TargetResource) Enum() *TargetResource

func (TargetResource) EnumDescriptor deprecated

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

Deprecated: Use TargetResource.Descriptor instead.

func (TargetResource) Number

func (TargetResource) String

func (x TargetResource) String() string

func (TargetResource) Type

type TaskRun

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

func (*TaskRun) Descriptor deprecated

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

Deprecated: Use TaskRun.ProtoReflect.Descriptor instead.

func (*TaskRun) ProtoMessage

func (*TaskRun) ProtoMessage()

func (*TaskRun) ProtoReflect

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

func (*TaskRun) Reset

func (x *TaskRun) Reset()

func (*TaskRun) String

func (x *TaskRun) String() string

type UnimplementedArtifactServiceServer

type UnimplementedArtifactServiceServer struct{}

UnimplementedArtifactServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedArtifactServiceServer) GetArtifactById

func (UnimplementedArtifactServiceServer) GetArtifactByName

func (UnimplementedArtifactServiceServer) ListArtifacts

type UnimplementedEvalResultsServiceServer

type UnimplementedEvalResultsServiceServer struct{}

UnimplementedEvalResultsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEvalResultsServiceServer) GetEvaluationHistory

type UnimplementedHealthServiceServer

type UnimplementedHealthServiceServer struct{}

UnimplementedHealthServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedHealthServiceServer) CheckHealth

type UnimplementedInviteServiceServer

type UnimplementedInviteServiceServer struct{}

UnimplementedInviteServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedInviteServiceServer) GetInviteDetails

type UnimplementedOAuthServiceServer

type UnimplementedOAuthServiceServer struct{}

UnimplementedOAuthServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOAuthServiceServer) StoreProviderToken

type UnimplementedPermissionsServiceServer

type UnimplementedPermissionsServiceServer struct{}

UnimplementedPermissionsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPermissionsServiceServer) AssignRole

func (UnimplementedPermissionsServiceServer) ListRoleAssignments

func (UnimplementedPermissionsServiceServer) ListRoles

func (UnimplementedPermissionsServiceServer) RemoveRole

func (UnimplementedPermissionsServiceServer) UpdateRole

type UnimplementedProfileServiceServer

type UnimplementedProfileServiceServer struct{}

UnimplementedProfileServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProfileServiceServer) CreateProfile

func (UnimplementedProfileServiceServer) DeleteProfile

func (UnimplementedProfileServiceServer) GetProfileById

func (UnimplementedProfileServiceServer) GetProfileByName

func (UnimplementedProfileServiceServer) ListProfiles

func (UnimplementedProfileServiceServer) PatchProfile

func (UnimplementedProfileServiceServer) UpdateProfile

type UnimplementedProjectsServiceServer

type UnimplementedProjectsServiceServer struct{}

UnimplementedProjectsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProjectsServiceServer) CreateProject

func (UnimplementedProjectsServiceServer) DeleteProject

func (UnimplementedProjectsServiceServer) ListChildProjects

func (UnimplementedProjectsServiceServer) ListProjects

func (UnimplementedProjectsServiceServer) PatchProject

func (UnimplementedProjectsServiceServer) UpdateProject

type UnimplementedProvidersServiceServer

type UnimplementedProvidersServiceServer struct{}

UnimplementedProvidersServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProvidersServiceServer) CreateProvider

func (UnimplementedProvidersServiceServer) DeleteProvider

func (UnimplementedProvidersServiceServer) DeleteProviderByID

func (UnimplementedProvidersServiceServer) GetProvider

func (UnimplementedProvidersServiceServer) ListProviderClasses

func (UnimplementedProvidersServiceServer) ListProviders

func (UnimplementedProvidersServiceServer) PatchProvider

type UnimplementedRepositoryServiceServer

type UnimplementedRepositoryServiceServer struct{}

UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRepositoryServiceServer) DeleteRepositoryById

func (UnimplementedRepositoryServiceServer) GetRepositoryById

func (UnimplementedRepositoryServiceServer) GetRepositoryByName

func (UnimplementedRepositoryServiceServer) ListRepositories

func (UnimplementedRepositoryServiceServer) RegisterRepository

type UnimplementedRuleTypeServiceServer

type UnimplementedRuleTypeServiceServer struct{}

UnimplementedRuleTypeServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRuleTypeServiceServer) CreateRuleType

func (UnimplementedRuleTypeServiceServer) DeleteRuleType

func (UnimplementedRuleTypeServiceServer) GetRuleTypeById

func (UnimplementedRuleTypeServiceServer) GetRuleTypeByName

func (UnimplementedRuleTypeServiceServer) ListRuleTypes

func (UnimplementedRuleTypeServiceServer) UpdateRuleType

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct{}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) ListInvitations

func (UnimplementedUserServiceServer) ResolveInvitation

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

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 UnsafeInviteServiceServer

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

UnsafeInviteServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InviteServiceServer 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

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

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

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 UnsafeRuleTypeServiceServer

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

UnsafeRuleTypeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuleTypeServiceServer 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

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

func (*UpdateProfileRequest) Descriptor deprecated

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

Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest) GetContext

func (r *UpdateProfileRequest) GetContext() *Context

GetContext returns the context from the nested Profile

func (*UpdateProfileRequest) GetProfile

func (x *UpdateProfileRequest) GetProfile() *Profile

func (*UpdateProfileRequest) ProtoMessage

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) ProtoReflect

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

func (*UpdateProfileRequest) Reset

func (x *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String

func (x *UpdateProfileRequest) String() string

type UpdateProfileResponse

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

func (*UpdateProfileResponse) Descriptor deprecated

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

Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.

func (*UpdateProfileResponse) GetProfile

func (x *UpdateProfileResponse) GetProfile() *Profile

func (*UpdateProfileResponse) ProtoMessage

func (*UpdateProfileResponse) ProtoMessage()

func (*UpdateProfileResponse) ProtoReflect

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

func (*UpdateProfileResponse) Reset

func (x *UpdateProfileResponse) Reset()

func (*UpdateProfileResponse) String

func (x *UpdateProfileResponse) String() string

type UpdateProjectRequest

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

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

Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetContext

func (x *UpdateProjectRequest) GetContext() *Context

func (*UpdateProjectRequest) GetDescription

func (x *UpdateProjectRequest) GetDescription() string

func (*UpdateProjectRequest) GetDisplayName

func (x *UpdateProjectRequest) GetDisplayName() string

func (*UpdateProjectRequest) ProtoMessage

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect

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

func (*UpdateProjectRequest) Reset

func (x *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) String

func (x *UpdateProjectRequest) String() string

type UpdateProjectResponse

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

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

Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead.

func (*UpdateProjectResponse) GetProject

func (x *UpdateProjectResponse) GetProject() *Project

func (*UpdateProjectResponse) ProtoMessage

func (*UpdateProjectResponse) ProtoMessage()

func (*UpdateProjectResponse) ProtoReflect

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

func (*UpdateProjectResponse) Reset

func (x *UpdateProjectResponse) Reset()

func (*UpdateProjectResponse) String

func (x *UpdateProjectResponse) String() string

type UpdateRoleRequest

type UpdateRoleRequest struct {

	// context is the context in which the role assignment is evaluated.
	Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// subject is the account to change permissions for.
	// The account must already have permissions on the project
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// All subject roles are _replaced_ with the following role assignments.  Must be non-empty,
	// use RemoveRole to remove permissions entirely from the project.
	Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
	// email is the email address of the subject used for updating invitations
	Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleRequest) Descriptor deprecated

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

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetContext

func (x *UpdateRoleRequest) GetContext() *Context

func (*UpdateRoleRequest) GetEmail

func (x *UpdateRoleRequest) GetEmail() string

func (*UpdateRoleRequest) GetRoles

func (x *UpdateRoleRequest) GetRoles() []string

func (*UpdateRoleRequest) GetSubject

func (x *UpdateRoleRequest) GetSubject() string

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

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

func (*UpdateRoleRequest) Reset

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (x *UpdateRoleRequest) String() string

type UpdateRoleResponse

type UpdateRoleResponse struct {

	// role_assignments are the role assignments that were updated.
	RoleAssignments []*RoleAssignment `protobuf:"bytes,1,rep,name=role_assignments,json=roleAssignments,proto3" json:"role_assignments,omitempty"`
	// invitations contains the details of the invitations that were updated.
	Invitations []*Invitation `protobuf:"bytes,2,rep,name=invitations,proto3" json:"invitations,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleResponse) Descriptor deprecated

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

Deprecated: Use UpdateRoleResponse.ProtoReflect.Descriptor instead.

func (*UpdateRoleResponse) GetInvitations

func (x *UpdateRoleResponse) GetInvitations() []*Invitation

func (*UpdateRoleResponse) GetRoleAssignments

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

func (*UpdateRoleResponse) ProtoMessage

func (*UpdateRoleResponse) ProtoMessage()

func (*UpdateRoleResponse) ProtoReflect

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

func (*UpdateRoleResponse) Reset

func (x *UpdateRoleResponse) Reset()

func (*UpdateRoleResponse) String

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

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 UpstreamEntityRef

type UpstreamEntityRef struct {

	// context is the context in which the entity is evaluated.
	// Note that the context is included here since users of
	// this message may return upstream references from
	// multiple providers
	Context *ContextV2 `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// type is the type of the entity.
	Type Entity `protobuf:"varint,2,opt,name=type,proto3,enum=minder.v1.Entity" json:"type,omitempty"`
	// properties is a map of properties of the entity.
	// This will be used to identify the entity in the upstream system
	// and will be a subset of the properties of the entity that will
	// be stored in Minder.
	Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

UpstreamEntityRef providers enough information for the provider to identify the entity in the upstream system.

func (*UpstreamEntityRef) Descriptor deprecated

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

Deprecated: Use UpstreamEntityRef.ProtoReflect.Descriptor instead.

func (*UpstreamEntityRef) GetContext

func (x *UpstreamEntityRef) GetContext() *ContextV2

func (*UpstreamEntityRef) GetProperties

func (x *UpstreamEntityRef) GetProperties() *structpb.Struct

func (*UpstreamEntityRef) GetType

func (x *UpstreamEntityRef) GetType() Entity

func (*UpstreamEntityRef) ProtoMessage

func (*UpstreamEntityRef) ProtoMessage()

func (*UpstreamEntityRef) ProtoReflect

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

func (*UpstreamEntityRef) Reset

func (x *UpstreamEntityRef) Reset()

func (*UpstreamEntityRef) String

func (x *UpstreamEntityRef) 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"`
	// True if the repository is already registered in Minder.
	// This is only set on output, and is ignored on input.
	Registered bool `protobuf:"varint,5,opt,name=registered,proto3" json:"registered,omitempty"`
	// contains filtered or unexported fields
}

func (*UpstreamRepositoryRef) Descriptor deprecated

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

Deprecated: Use UpstreamRepositoryRef.ProtoReflect.Descriptor instead.

func (*UpstreamRepositoryRef) GetContext

func (x *UpstreamRepositoryRef) GetContext() *Context

func (*UpstreamRepositoryRef) GetName

func (x *UpstreamRepositoryRef) GetName() string

func (*UpstreamRepositoryRef) GetOwner

func (x *UpstreamRepositoryRef) GetOwner() string

func (*UpstreamRepositoryRef) GetRegistered

func (x *UpstreamRepositoryRef) GetRegistered() bool

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)
	// ListInvitations returns a list of invitations for the user
	// based on the user's registered email address.  Note that a
	// user who receives an invitation code may still accept the
	// invitation even if the code was directed to a different
	// email address.  This is because understanding the routing of
	// email messages is beyond the scope of Minder.
	//
	// This API endpoint may be called without the logged-in user
	// previously having called `CreateUser`.
	ListInvitations(ctx context.Context, in *ListInvitationsRequest, opts ...grpc.CallOption) (*ListInvitationsResponse, error)
	// ResolveInvitation allows a user to accept or decline an
	// invitation to a project given the code for the invitation.
	// A user may call ResolveInvitation to accept or decline an
	// invitation even if they have not called CreateUser.  If a
	// user accepts an invitation via this call before calling
	// CreateUser, a Minder user record will be created, but no
	// additional projects will be created (unlike CreateUser,
	// which will also create a default project).
	ResolveInvitation(ctx context.Context, in *ResolveInvitationRequest, opts ...grpc.CallOption) (*ResolveInvitationResponse, 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.

manage Users CRUD

type UserServiceServer

type UserServiceServer interface {
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// ListInvitations returns a list of invitations for the user
	// based on the user's registered email address.  Note that a
	// user who receives an invitation code may still accept the
	// invitation even if the code was directed to a different
	// email address.  This is because understanding the routing of
	// email messages is beyond the scope of Minder.
	//
	// This API endpoint may be called without the logged-in user
	// previously having called `CreateUser`.
	ListInvitations(context.Context, *ListInvitationsRequest) (*ListInvitationsResponse, error)
	// ResolveInvitation allows a user to accept or decline an
	// invitation to a project given the code for the invitation.
	// A user may call ResolveInvitation to accept or decline an
	// invitation even if they have not called CreateUser.  If a
	// user accepts an invitation via this call before calling
	// CreateUser, a Minder user record will be created, but no
	// additional projects will be created (unlike CreateUser,
	// which will also create a default project).
	ResolveInvitation(context.Context, *ResolveInvitationRequest) (*ResolveInvitationResponse, error)
	// contains filtered or unexported methods
}

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

manage Users CRUD

type Validator

type Validator interface {
	Validate() error
}

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

type VerifyProviderCredentialRequest

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

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

Deprecated: Use VerifyProviderCredentialRequest.ProtoReflect.Descriptor instead.

func (*VerifyProviderCredentialRequest) GetContext

func (x *VerifyProviderCredentialRequest) GetContext() *Context

func (*VerifyProviderCredentialRequest) GetEnrollmentNonce

func (x *VerifyProviderCredentialRequest) GetEnrollmentNonce() string

func (*VerifyProviderCredentialRequest) ProtoMessage

func (*VerifyProviderCredentialRequest) ProtoMessage()

func (*VerifyProviderCredentialRequest) ProtoReflect

func (*VerifyProviderCredentialRequest) Reset

func (*VerifyProviderCredentialRequest) String

type VerifyProviderCredentialResponse

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

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

Deprecated: Use VerifyProviderCredentialResponse.ProtoReflect.Descriptor instead.

func (*VerifyProviderCredentialResponse) GetCreated

func (x *VerifyProviderCredentialResponse) GetCreated() bool

func (*VerifyProviderCredentialResponse) GetProviderName

func (x *VerifyProviderCredentialResponse) GetProviderName() string

func (*VerifyProviderCredentialResponse) ProtoMessage

func (*VerifyProviderCredentialResponse) ProtoMessage()

func (*VerifyProviderCredentialResponse) ProtoReflect

func (*VerifyProviderCredentialResponse) Reset

func (*VerifyProviderCredentialResponse) String

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

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