v1

package
v0.1.374 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 33 Imported by: 5

Documentation

Overview

Package v1 contains the v1 GRPC client and server definitions for implementing Registry interactions.

Example (MockClients)

Example_mockClients demonstrates using mock clients for testing code that depends on the Clients interface.

package main

import (
	"fmt"

	registry "chainguard.dev/sdk/proto/platform/registry/v1"
	"chainguard.dev/sdk/proto/platform/registry/v1/test"
)

func main() {
	// Use mock clients to test code that depends on registry.Clients.
	mock := &test.MockRegistryClients{
		RegistryClient: test.MockRegistryClient{
			OnListRepos: []test.ReposOnList{{
				Given: &registry.RepoFilter{},
				List: &registry.RepoList{
					Items: []*registry.Repo{{
						Id:   "repo-1",
						Name: "my-repo",
					}},
				},
			}},
		},
	}

	fmt.Printf("Registry client available: %v\n", mock.Registry() != nil)
	fmt.Printf("Vulnerabilities client available: %v\n", mock.Vulnerabilities() != nil)
	fmt.Printf("Apko client available: %v\n", mock.Apko() != nil)
	fmt.Printf("Entitlements client available: %v\n", mock.Entitlements() != nil)

}
Output:
Registry client available: true
Vulnerabilities client available: true
Apko client available: true
Entitlements client available: true

Index

Examples

Constants

View Source
const (
	Apko_ResolveConfig_FullMethodName = "/chainguard.platform.registry.Apko/ResolveConfig"
	Apko_BuildImage_FullMethodName    = "/chainguard.platform.registry.Apko/BuildImage"
)
View Source
const (
	Charts_AddChart_FullMethodName  = "/chainguard.platform.registry.Charts/AddChart"
	Charts_FindChart_FullMethodName = "/chainguard.platform.registry.Charts/FindChart"
)
View Source
const (
	Registry_CreateRepo_FullMethodName                = "/chainguard.platform.registry.Registry/CreateRepo"
	Registry_UpdateRepo_FullMethodName                = "/chainguard.platform.registry.Registry/UpdateRepo"
	Registry_ListRepos_FullMethodName                 = "/chainguard.platform.registry.Registry/ListRepos"
	Registry_GetRepoCountBySource_FullMethodName      = "/chainguard.platform.registry.Registry/GetRepoCountBySource"
	Registry_DeleteRepo_FullMethodName                = "/chainguard.platform.registry.Registry/DeleteRepo"
	Registry_CreateTag_FullMethodName                 = "/chainguard.platform.registry.Registry/CreateTag"
	Registry_UpdateTag_FullMethodName                 = "/chainguard.platform.registry.Registry/UpdateTag"
	Registry_DeleteTag_FullMethodName                 = "/chainguard.platform.registry.Registry/DeleteTag"
	Registry_ListTags_FullMethodName                  = "/chainguard.platform.registry.Registry/ListTags"
	Registry_GetRepoTagsSummary_FullMethodName        = "/chainguard.platform.registry.Registry/GetRepoTagsSummary"
	Registry_ListEolTags_FullMethodName               = "/chainguard.platform.registry.Registry/ListEolTags"
	Registry_ListTagHistory_FullMethodName            = "/chainguard.platform.registry.Registry/ListTagHistory"
	Registry_GetSbom_FullMethodName                   = "/chainguard.platform.registry.Registry/GetSbom"
	Registry_GetHelm_FullMethodName                   = "/chainguard.platform.registry.Registry/GetHelm"
	Registry_GetChart_FullMethodName                  = "/chainguard.platform.registry.Registry/GetChart"
	Registry_ListChartsByImageRepo_FullMethodName     = "/chainguard.platform.registry.Registry/ListChartsByImageRepo"
	Registry_ListChartImageBindings_FullMethodName    = "/chainguard.platform.registry.Registry/ListChartImageBindings"
	Registry_GetImageConfig_FullMethodName            = "/chainguard.platform.registry.Registry/GetImageConfig"
	Registry_GetArchs_FullMethodName                  = "/chainguard.platform.registry.Registry/GetArchs"
	Registry_GetSize_FullMethodName                   = "/chainguard.platform.registry.Registry/GetSize"
	Registry_GetRawSbom_FullMethodName                = "/chainguard.platform.registry.Registry/GetRawSbom"
	Registry_GetVulnReport_FullMethodName             = "/chainguard.platform.registry.Registry/GetVulnReport"
	Registry_ListManifestMetadata_FullMethodName      = "/chainguard.platform.registry.Registry/ListManifestMetadata"
	Registry_GetManifestDigestCount_FullMethodName    = "/chainguard.platform.registry.Registry/GetManifestDigestCount"
	Registry_GetPackageVersionMetadata_FullMethodName = "/chainguard.platform.registry.Registry/GetPackageVersionMetadata"
	Registry_ListBuildReports_FullMethodName          = "/chainguard.platform.registry.Registry/ListBuildReports"
	Registry_GetBuildStatus_FullMethodName            = "/chainguard.platform.registry.Registry/GetBuildStatus"
	Registry_GetUpdateStatus_FullMethodName           = "/chainguard.platform.registry.Registry/GetUpdateStatus"
	Registry_GetSyncStatus_FullMethodName             = "/chainguard.platform.registry.Registry/GetSyncStatus"
	Registry_ListSyncStatuses_FullMethodName          = "/chainguard.platform.registry.Registry/ListSyncStatuses"
	Registry_CreateDeployment_FullMethodName          = "/chainguard.platform.registry.Registry/CreateDeployment"
	Registry_UpdateDeployment_FullMethodName          = "/chainguard.platform.registry.Registry/UpdateDeployment"
	Registry_GetDeployment_FullMethodName             = "/chainguard.platform.registry.Registry/GetDeployment"
	Registry_GetRegistrySettings_FullMethodName       = "/chainguard.platform.registry.Registry/GetRegistrySettings"
	Registry_UpdateRegistrySettings_FullMethodName    = "/chainguard.platform.registry.Registry/UpdateRegistrySettings"
)
View Source
const (
	Entitlements_ListEntitlements_FullMethodName             = "/chainguard.platform.registry.Entitlements/ListEntitlements"
	Entitlements_ListEntitlementImages_FullMethodName        = "/chainguard.platform.registry.Entitlements/ListEntitlementImages"
	Entitlements_ListEntitlementCatalogImages_FullMethodName = "/chainguard.platform.registry.Entitlements/ListEntitlementCatalogImages"
	Entitlements_Summary_FullMethodName                      = "/chainguard.platform.registry.Entitlements/Summary"
	Entitlements_GetEffectiveEntitlements_FullMethodName     = "/chainguard.platform.registry.Entitlements/GetEffectiveEntitlements"
	Entitlements_GetFeatures_FullMethodName                  = "/chainguard.platform.registry.Entitlements/GetFeatures"
	Entitlements_CreateEntitlement_FullMethodName            = "/chainguard.platform.registry.Entitlements/CreateEntitlement"
	Entitlements_DeleteEntitlement_FullMethodName            = "/chainguard.platform.registry.Entitlements/DeleteEntitlement"
	Entitlements_AddEntitlementImages_FullMethodName         = "/chainguard.platform.registry.Entitlements/AddEntitlementImages"
	Entitlements_RemoveEntitlementImages_FullMethodName      = "/chainguard.platform.registry.Entitlements/RemoveEntitlementImages"
	Entitlements_SwapEntitlementImages_FullMethodName        = "/chainguard.platform.registry.Entitlements/SwapEntitlementImages"
)
View Source
const (
	Vulnerabilities_ListVulnReports_FullMethodName                = "/chainguard.platform.registry.Vulnerabilities/ListVulnReports"
	Vulnerabilities_GetRawVulnReport_FullMethodName               = "/chainguard.platform.registry.Vulnerabilities/GetRawVulnReport"
	Vulnerabilities_ListVulnCountReports_FullMethodName           = "/chainguard.platform.registry.Vulnerabilities/ListVulnCountReports"
	Vulnerabilities_ListCumulativeVulnCountReports_FullMethodName = "/chainguard.platform.registry.Vulnerabilities/ListCumulativeVulnCountReports"
)
View Source
const (
	Policies_CheckPolicies_FullMethodName = "/chainguard.platform.registry.Policies/CheckPolicies"
)

Variables

View Source
var (
	ChartCatalog_name = map[int32]string{
		0: "CHART_CATALOG_UNSPECIFIED",
		1: "CHART_CATALOG_COMMUNITY",
		2: "CHART_CATALOG_IAMGUARDED",
	}
	ChartCatalog_value = map[string]int32{
		"CHART_CATALOG_UNSPECIFIED": 0,
		"CHART_CATALOG_COMMUNITY":   1,
		"CHART_CATALOG_IAMGUARDED":  2,
	}
)

Enum value maps for ChartCatalog.

View Source
var (
	PolicyMode_name = map[int32]string{
		0: "POLICY_MODE_UNSPECIFIED",
		1: "ENFORCED",
		2: "DRY_RUN",
	}
	PolicyMode_value = map[string]int32{
		"POLICY_MODE_UNSPECIFIED": 0,
		"ENFORCED":                1,
		"DRY_RUN":                 2,
	}
)

Enum value maps for PolicyMode.

View Source
var (
	PolicyCheckResult_name = map[int32]string{
		0: "POLICY_CHECK_RESULT_UNSPECIFIED",
		1: "ALLOWED",
		2: "DENIED",
		3: "ERROR",
	}
	PolicyCheckResult_value = map[string]int32{
		"POLICY_CHECK_RESULT_UNSPECIFIED": 0,
		"ALLOWED":                         1,
		"DENIED":                          2,
		"ERROR":                           3,
	}
)

Enum value maps for PolicyCheckResult.

View Source
var (
	CatalogTier_name = map[int32]string{
		0: "UNKNOWN",
		4: "APPLICATION",
		5: "BASE",
		6: "FIPS",
		7: "AI",
		8: "DEVTOOLS",
		9: "COMMERCIAL",
	}
	CatalogTier_value = map[string]int32{
		"UNKNOWN":     0,
		"APPLICATION": 4,
		"BASE":        5,
		"FIPS":        6,
		"AI":          7,
		"DEVTOOLS":    8,
		"COMMERCIAL":  9,
	}
)

Enum value maps for CatalogTier.

View Source
var (
	EolTagStatus_name = map[int32]string{
		0: "TAG_ACTIVE",
		1: "TAG_IN_GRACE",
		2: "TAG_INACTIVE",
	}
	EolTagStatus_value = map[string]int32{
		"TAG_ACTIVE":   0,
		"TAG_IN_GRACE": 1,
		"TAG_INACTIVE": 2,
	}
)

Enum value maps for EolTagStatus.

View Source
var (
	EolGracePeriodStatus_name = map[int32]string{
		0: "GRACE_NOT_ELIGIBLE",
		1: "GRACE_ELIGIBLE",
		2: "GRACE_ACTIVE",
		3: "GRACE_BROKEN",
		4: "GRACE_EXPIRED",
	}
	EolGracePeriodStatus_value = map[string]int32{
		"GRACE_NOT_ELIGIBLE": 0,
		"GRACE_ELIGIBLE":     1,
		"GRACE_ACTIVE":       2,
		"GRACE_BROKEN":       3,
		"GRACE_EXPIRED":      4,
	}
)

Enum value maps for EolGracePeriodStatus.

View Source
var (
	ChartImageRequirement_name = map[int32]string{
		0: "REQUIREMENT_UNSPECIFIED",
		1: "REQUIREMENT_REQUIRED",
		2: "REQUIREMENT_OPTIONAL",
	}
	ChartImageRequirement_value = map[string]int32{
		"REQUIREMENT_UNSPECIFIED": 0,
		"REQUIREMENT_REQUIRED":    1,
		"REQUIREMENT_OPTIONAL":    2,
	}
)

Enum value maps for ChartImageRequirement.

View Source
var (
	CustomOverlay_FailMode_name = map[int32]string{
		0: "FAIL_MODE_UNSPECIFIED",
		1: "FAIL_MODE_CLOSED",
		2: "FAIL_MODE_OPEN",
	}
	CustomOverlay_FailMode_value = map[string]int32{
		"FAIL_MODE_UNSPECIFIED": 0,
		"FAIL_MODE_CLOSED":      1,
		"FAIL_MODE_OPEN":        2,
	}
)

Enum value maps for CustomOverlay_FailMode.

View Source
var (
	CustomOverlay_Preflight_OnFailure_name = map[int32]string{
		0: "ON_FAILURE_UNSPECIFIED",
		1: "ON_FAILURE_FAIL",
		2: "ON_FAILURE_CONTINUE",
	}
	CustomOverlay_Preflight_OnFailure_value = map[string]int32{
		"ON_FAILURE_UNSPECIFIED": 0,
		"ON_FAILURE_FAIL":        1,
		"ON_FAILURE_CONTINUE":    2,
	}
)

Enum value maps for CustomOverlay_Preflight_OnFailure.

View Source
var (
	CustomOverlay_CommandOverride_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "MODE_DEFAULT",
		2: "MODE_PREPEND",
		3: "MODE_OVERRIDE",
	}
	CustomOverlay_CommandOverride_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"MODE_DEFAULT":     1,
		"MODE_PREPEND":     2,
		"MODE_OVERRIDE":    3,
	}
)

Enum value maps for CustomOverlay_CommandOverride_Mode.

View Source
var (
	BuildReport_Result_name = map[int32]string{
		0: "Unknown",
		1: "Success",
		2: "Failure",
	}
	BuildReport_Result_value = map[string]int32{
		"Unknown": 0,
		"Success": 1,
		"Failure": 2,
	}
)

Enum value maps for BuildReport_Result.

View Source
var (
	SyncStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "QUEUED",
		2: "IN_PROGRESS",
		3: "FAILED",
	}
	SyncStatus_Status_value = map[string]int32{
		"UNKNOWN":     0,
		"QUEUED":      1,
		"IN_PROGRESS": 2,
		"FAILED":      3,
	}
)

Enum value maps for SyncStatus_Status.

View Source
var (
	Plan_name = map[int32]string{
		0: "PLAN_UNSPECIFIED",
		1: "PER_IMAGE",
		2: "CATALOG",
		3: "STARTER",
	}
	Plan_value = map[string]int32{
		"PLAN_UNSPECIFIED": 0,
		"PER_IMAGE":        1,
		"CATALOG":          2,
		"STARTER":          3,
	}
)

Enum value maps for Plan.

View Source
var (
	Entitlement_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "TRIAL",
		2: "PRODUCTION",
		3: "EXTRA",
		4: "STARTER",
	}
	Entitlement_Type_value = map[string]int32{
		"UNKNOWN":    0,
		"TRIAL":      1,
		"PRODUCTION": 2,
		"EXTRA":      3,
		"STARTER":    4,
	}
)

Enum value maps for Entitlement_Type.

View Source
var (
	Scanner_Name_name = map[int32]string{
		0: "UNKNOWN",
		1: "GRYPE",
		2: "TRIVY",
	}
	Scanner_Name_value = map[string]int32{
		"UNKNOWN": 0,
		"GRYPE":   1,
		"TRIVY":   2,
	}
)

Enum value maps for Scanner_Name.

View Source
var (
	Vulnerability_Severity_name = map[int32]string{
		0: "UNKNOWN",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
		4: "CRITICAL",
		5: "NEGLIGIBLE",
	}
	Vulnerability_Severity_value = map[string]int32{
		"UNKNOWN":    0,
		"LOW":        1,
		"MEDIUM":     2,
		"HIGH":       3,
		"CRITICAL":   4,
		"NEGLIGIBLE": 5,
	}
)

Enum value maps for Vulnerability_Severity.

View Source
var (
	Vulnerability_Fix_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "FIXED",
		2: "NOT_FIXED",
		3: "WONT_FIX",
	}
	Vulnerability_Fix_State_value = map[string]int32{
		"UNKNOWN":   0,
		"FIXED":     1,
		"NOT_FIXED": 2,
		"WONT_FIX":  3,
	}
)

Enum value maps for Vulnerability_Fix_State.

View Source
var Apko_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Apko",
	HandlerType: (*ApkoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ResolveConfig",
			Handler:    _Apko_ResolveConfig_Handler,
		},
		{
			MethodName: "BuildImage",
			Handler:    _Apko_BuildImage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "apko.platform.proto",
}

Apko_ServiceDesc is the grpc.ServiceDesc for Apko 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 Charts_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Charts",
	HandlerType: (*ChartsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddChart",
			Handler:    _Charts_AddChart_Handler,
		},
		{
			MethodName: "FindChart",
			Handler:    _Charts_FindChart_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "charts.platform.proto",
}

Charts_ServiceDesc is the grpc.ServiceDesc for Charts 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 Entitlements_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Entitlements",
	HandlerType: (*EntitlementsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEntitlements",
			Handler:    _Entitlements_ListEntitlements_Handler,
		},
		{
			MethodName: "ListEntitlementImages",
			Handler:    _Entitlements_ListEntitlementImages_Handler,
		},
		{
			MethodName: "ListEntitlementCatalogImages",
			Handler:    _Entitlements_ListEntitlementCatalogImages_Handler,
		},
		{
			MethodName: "Summary",
			Handler:    _Entitlements_Summary_Handler,
		},
		{
			MethodName: "GetEffectiveEntitlements",
			Handler:    _Entitlements_GetEffectiveEntitlements_Handler,
		},
		{
			MethodName: "GetFeatures",
			Handler:    _Entitlements_GetFeatures_Handler,
		},
		{
			MethodName: "CreateEntitlement",
			Handler:    _Entitlements_CreateEntitlement_Handler,
		},
		{
			MethodName: "DeleteEntitlement",
			Handler:    _Entitlements_DeleteEntitlement_Handler,
		},
		{
			MethodName: "AddEntitlementImages",
			Handler:    _Entitlements_AddEntitlementImages_Handler,
		},
		{
			MethodName: "RemoveEntitlementImages",
			Handler:    _Entitlements_RemoveEntitlementImages_Handler,
		},
		{
			MethodName: "SwapEntitlementImages",
			Handler:    _Entitlements_SwapEntitlementImages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "registry_entitlements.platform.proto",
}

Entitlements_ServiceDesc is the grpc.ServiceDesc for Entitlements 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_apko_platform_proto protoreflect.FileDescriptor
View Source
var File_charts_platform_proto protoreflect.FileDescriptor
View Source
var File_policy_platform_proto protoreflect.FileDescriptor
View Source
var File_registry_entitlements_platform_proto protoreflect.FileDescriptor
View Source
var File_registry_platform_proto protoreflect.FileDescriptor
View Source
var File_vulnerabilities_platform_proto protoreflect.FileDescriptor
View Source
var Policies_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Policies",
	HandlerType: (*PoliciesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CheckPolicies",
			Handler:    _Policies_CheckPolicies_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "policy.platform.proto",
}

Policies_ServiceDesc is the grpc.ServiceDesc for Policies 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 Registry_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Registry",
	HandlerType: (*RegistryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRepo",
			Handler:    _Registry_CreateRepo_Handler,
		},
		{
			MethodName: "UpdateRepo",
			Handler:    _Registry_UpdateRepo_Handler,
		},
		{
			MethodName: "ListRepos",
			Handler:    _Registry_ListRepos_Handler,
		},
		{
			MethodName: "GetRepoCountBySource",
			Handler:    _Registry_GetRepoCountBySource_Handler,
		},
		{
			MethodName: "DeleteRepo",
			Handler:    _Registry_DeleteRepo_Handler,
		},
		{
			MethodName: "CreateTag",
			Handler:    _Registry_CreateTag_Handler,
		},
		{
			MethodName: "UpdateTag",
			Handler:    _Registry_UpdateTag_Handler,
		},
		{
			MethodName: "DeleteTag",
			Handler:    _Registry_DeleteTag_Handler,
		},
		{
			MethodName: "ListTags",
			Handler:    _Registry_ListTags_Handler,
		},
		{
			MethodName: "GetRepoTagsSummary",
			Handler:    _Registry_GetRepoTagsSummary_Handler,
		},
		{
			MethodName: "ListEolTags",
			Handler:    _Registry_ListEolTags_Handler,
		},
		{
			MethodName: "ListTagHistory",
			Handler:    _Registry_ListTagHistory_Handler,
		},
		{
			MethodName: "GetSbom",
			Handler:    _Registry_GetSbom_Handler,
		},
		{
			MethodName: "GetHelm",
			Handler:    _Registry_GetHelm_Handler,
		},
		{
			MethodName: "GetChart",
			Handler:    _Registry_GetChart_Handler,
		},
		{
			MethodName: "ListChartsByImageRepo",
			Handler:    _Registry_ListChartsByImageRepo_Handler,
		},
		{
			MethodName: "ListChartImageBindings",
			Handler:    _Registry_ListChartImageBindings_Handler,
		},
		{
			MethodName: "GetImageConfig",
			Handler:    _Registry_GetImageConfig_Handler,
		},
		{
			MethodName: "GetArchs",
			Handler:    _Registry_GetArchs_Handler,
		},
		{
			MethodName: "GetSize",
			Handler:    _Registry_GetSize_Handler,
		},
		{
			MethodName: "GetRawSbom",
			Handler:    _Registry_GetRawSbom_Handler,
		},
		{
			MethodName: "GetVulnReport",
			Handler:    _Registry_GetVulnReport_Handler,
		},
		{
			MethodName: "ListManifestMetadata",
			Handler:    _Registry_ListManifestMetadata_Handler,
		},
		{
			MethodName: "GetManifestDigestCount",
			Handler:    _Registry_GetManifestDigestCount_Handler,
		},
		{
			MethodName: "GetPackageVersionMetadata",
			Handler:    _Registry_GetPackageVersionMetadata_Handler,
		},
		{
			MethodName: "ListBuildReports",
			Handler:    _Registry_ListBuildReports_Handler,
		},
		{
			MethodName: "GetBuildStatus",
			Handler:    _Registry_GetBuildStatus_Handler,
		},
		{
			MethodName: "GetUpdateStatus",
			Handler:    _Registry_GetUpdateStatus_Handler,
		},
		{
			MethodName: "GetSyncStatus",
			Handler:    _Registry_GetSyncStatus_Handler,
		},
		{
			MethodName: "ListSyncStatuses",
			Handler:    _Registry_ListSyncStatuses_Handler,
		},
		{
			MethodName: "CreateDeployment",
			Handler:    _Registry_CreateDeployment_Handler,
		},
		{
			MethodName: "UpdateDeployment",
			Handler:    _Registry_UpdateDeployment_Handler,
		},
		{
			MethodName: "GetDeployment",
			Handler:    _Registry_GetDeployment_Handler,
		},
		{
			MethodName: "GetRegistrySettings",
			Handler:    _Registry_GetRegistrySettings_Handler,
		},
		{
			MethodName: "UpdateRegistrySettings",
			Handler:    _Registry_UpdateRegistrySettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "registry.platform.proto",
}

Registry_ServiceDesc is the grpc.ServiceDesc for Registry 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 Vulnerabilities_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Vulnerabilities",
	HandlerType: (*VulnerabilitiesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListVulnReports",
			Handler:    _Vulnerabilities_ListVulnReports_Handler,
		},
		{
			MethodName: "GetRawVulnReport",
			Handler:    _Vulnerabilities_GetRawVulnReport_Handler,
		},
		{
			MethodName: "ListVulnCountReports",
			Handler:    _Vulnerabilities_ListVulnCountReports_Handler,
		},
		{
			MethodName: "ListCumulativeVulnCountReports",
			Handler:    _Vulnerabilities_ListCumulativeVulnCountReports_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "vulnerabilities.platform.proto",
}

Vulnerabilities_ServiceDesc is the grpc.ServiceDesc for Vulnerabilities service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterApkoHandler added in v0.1.29

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

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

func RegisterApkoHandlerClient added in v0.1.29

func RegisterApkoHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApkoClient) error

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

func RegisterApkoHandlerFromEndpoint added in v0.1.29

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

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

func RegisterApkoHandlerServer added in v0.1.29

func RegisterApkoHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApkoServer) error

RegisterApkoHandlerServer registers the http handlers for service Apko to "mux". UnaryRPC :call ApkoServer 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 RegisterApkoHandlerFromEndpoint 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 RegisterApkoServer added in v0.1.29

func RegisterApkoServer(s grpc.ServiceRegistrar, srv ApkoServer)

func RegisterChartsHandler added in v0.1.60

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

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

func RegisterChartsHandlerClient added in v0.1.60

func RegisterChartsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChartsClient) error

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

func RegisterChartsHandlerFromEndpoint added in v0.1.60

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

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

func RegisterChartsHandlerServer added in v0.1.60

func RegisterChartsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChartsServer) error

RegisterChartsHandlerServer registers the http handlers for service Charts to "mux". UnaryRPC :call ChartsServer 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 RegisterChartsHandlerFromEndpoint 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 RegisterChartsServer added in v0.1.60

func RegisterChartsServer(s grpc.ServiceRegistrar, srv ChartsServer)

func RegisterEntitlementsHandler added in v0.1.32

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

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

func RegisterEntitlementsHandlerClient added in v0.1.32

func RegisterEntitlementsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EntitlementsClient) error

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

func RegisterEntitlementsHandlerFromEndpoint added in v0.1.32

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

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

func RegisterEntitlementsHandlerServer added in v0.1.32

func RegisterEntitlementsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EntitlementsServer) error

RegisterEntitlementsHandlerServer registers the http handlers for service Entitlements to "mux". UnaryRPC :call EntitlementsServer 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 RegisterEntitlementsHandlerFromEndpoint 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 RegisterEntitlementsServer added in v0.1.32

func RegisterEntitlementsServer(s grpc.ServiceRegistrar, srv EntitlementsServer)

func RegisterPoliciesHandler added in v0.1.55

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

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

func RegisterPoliciesHandlerClient added in v0.1.55

func RegisterPoliciesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PoliciesClient) error

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

func RegisterPoliciesHandlerFromEndpoint added in v0.1.55

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

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

func RegisterPoliciesHandlerServer added in v0.1.55

func RegisterPoliciesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PoliciesServer) error

RegisterPoliciesHandlerServer registers the http handlers for service Policies to "mux". UnaryRPC :call PoliciesServer 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 RegisterPoliciesHandlerFromEndpoint 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 RegisterPoliciesServer added in v0.1.55

func RegisterPoliciesServer(s grpc.ServiceRegistrar, srv PoliciesServer)

func RegisterRegistryHandler

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

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

func RegisterRegistryHandlerClient

func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error

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

func RegisterRegistryHandlerFromEndpoint

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

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

func RegisterRegistryHandlerServer

func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error

RegisterRegistryHandlerServer registers the http handlers for service Registry to "mux". UnaryRPC :call RegistryServer 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 RegisterRegistryHandlerFromEndpoint 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 RegisterRegistryServer

func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)

func RegisterVulnerabilitiesHandler added in v0.1.25

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

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

func RegisterVulnerabilitiesHandlerClient added in v0.1.25

func RegisterVulnerabilitiesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VulnerabilitiesClient) error

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

func RegisterVulnerabilitiesHandlerFromEndpoint added in v0.1.25

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

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

func RegisterVulnerabilitiesHandlerServer added in v0.1.25

func RegisterVulnerabilitiesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VulnerabilitiesServer) error

RegisterVulnerabilitiesHandlerServer registers the http handlers for service Vulnerabilities to "mux". UnaryRPC :call VulnerabilitiesServer 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 RegisterVulnerabilitiesHandlerFromEndpoint 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 RegisterVulnerabilitiesServer added in v0.1.25

func RegisterVulnerabilitiesServer(s grpc.ServiceRegistrar, srv VulnerabilitiesServer)

func ToApkoNative added in v0.1.29

func ToApkoNative(cfg *ApkoConfig) apkotypes.ImageConfiguration

Types

type AddChartRequest added in v0.1.60

type AddChartRequest struct {

	// The UIDP of the destination organization.
	ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// The UIDP of the source chart repo (e.g., from the catalog).
	SourceRepoId string `protobuf:"bytes,2,opt,name=source_repo_id,json=sourceRepoId,proto3" json:"source_repo_id,omitempty"`
	// If true, return what would change but don't create anything.
	DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// The tag of the source chart to inspect for image dependencies. Defaults to
	// the newest tag in the source repo when empty.
	Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
	// Catalog repo names of the chart's images to provision (e.g. "nginx"; see
	// ChartImage.repo_name). Must be a subset of the images in the chart's
	// metadata; unknown names are rejected with INVALID_ARGUMENT. Images the
	// chart requires are always provisioned regardless of this list — the list
	// selects which optional images to include. Empty means all images.
	Images []string `protobuf:"bytes,5,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*AddChartRequest) Descriptor deprecated added in v0.1.60

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

Deprecated: Use AddChartRequest.ProtoReflect.Descriptor instead.

func (*AddChartRequest) GetDryRun added in v0.1.60

func (x *AddChartRequest) GetDryRun() bool

func (*AddChartRequest) GetImages added in v0.1.227

func (x *AddChartRequest) GetImages() []string

func (*AddChartRequest) GetParentId added in v0.1.60

func (x *AddChartRequest) GetParentId() string

func (*AddChartRequest) GetSourceRepoId added in v0.1.60

func (x *AddChartRequest) GetSourceRepoId() string

func (*AddChartRequest) GetTag added in v0.1.64

func (x *AddChartRequest) GetTag() string

func (*AddChartRequest) ProtoMessage added in v0.1.60

func (*AddChartRequest) ProtoMessage()

func (*AddChartRequest) ProtoReflect added in v0.1.60

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

func (*AddChartRequest) Reset added in v0.1.60

func (x *AddChartRequest) Reset()

func (*AddChartRequest) String added in v0.1.60

func (x *AddChartRequest) String() string

type AddChartResponse added in v0.1.60

type AddChartResponse struct {
	Repos []*AddChartResult `protobuf:"bytes,1,rep,name=repos,proto3" json:"repos,omitempty"`
	// contains filtered or unexported fields
}

AddChartResponse contains the result of an AddChart operation.

func (*AddChartResponse) Descriptor deprecated added in v0.1.60

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

Deprecated: Use AddChartResponse.ProtoReflect.Descriptor instead.

func (*AddChartResponse) GetRepos added in v0.1.60

func (x *AddChartResponse) GetRepos() []*AddChartResult

func (*AddChartResponse) ProtoMessage added in v0.1.60

func (*AddChartResponse) ProtoMessage()

func (*AddChartResponse) ProtoReflect added in v0.1.60

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

func (*AddChartResponse) Reset added in v0.1.60

func (x *AddChartResponse) Reset()

func (*AddChartResponse) String added in v0.1.60

func (x *AddChartResponse) String() string

type AddChartResult added in v0.1.60

type AddChartResult struct {

	// Path of the repo relative to the destination organization. The chart
	// itself lives under the catalog folder (e.g. "charts/argo-cd"); image
	// dependencies are created at the org root, so their path is the bare repo
	// name (e.g. "nginx").
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// True if the repo was newly created by this call; false if it already
	// existed (or, on a dry run, would not need to be created).
	Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	// The UIDP of the resulting repo. Empty only when a dry run reports a
	// would-be-created repo that does not yet exist; an existing repo (created
	// = false) always carries its UIDP, including on dry runs.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Whether the image is required or optional for the chart to deploy.
	// UNSPECIFIED for the chart repo itself and for charts whose metadata does
	// not carry per-image requirements.
	Requirement ChartImageRequirement `` /* 132-byte string literal not displayed */
	// True if provisioning this repo consumed (or, on a dry run, would consume)
	// an entitlement slot. Always false for the chart repo itself and for
	// organizations whose plan does not meter individual images.
	ConsumesSlot bool `protobuf:"varint,5,opt,name=consumes_slot,json=consumesSlot,proto3" json:"consumes_slot,omitempty"`
	// contains filtered or unexported fields
}

AddChartResult describes what happened to a single repo during AddChart.

func (*AddChartResult) Descriptor deprecated added in v0.1.60

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

Deprecated: Use AddChartResult.ProtoReflect.Descriptor instead.

func (*AddChartResult) GetConsumesSlot added in v0.1.227

func (x *AddChartResult) GetConsumesSlot() bool

func (*AddChartResult) GetCreated added in v0.1.60

func (x *AddChartResult) GetCreated() bool

func (*AddChartResult) GetId added in v0.1.60

func (x *AddChartResult) GetId() string

func (*AddChartResult) GetName added in v0.1.60

func (x *AddChartResult) GetName() string

func (*AddChartResult) GetRequirement added in v0.1.227

func (x *AddChartResult) GetRequirement() ChartImageRequirement

func (*AddChartResult) ProtoMessage added in v0.1.60

func (*AddChartResult) ProtoMessage()

func (*AddChartResult) ProtoReflect added in v0.1.60

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

func (*AddChartResult) Reset added in v0.1.60

func (x *AddChartResult) Reset()

func (*AddChartResult) String added in v0.1.60

func (x *AddChartResult) String() string

type AddEntitlementImagesRequest added in v0.1.54

type AddEntitlementImagesRequest struct {

	// Specify how to select an entitlement to add images to.
	// Callers must have scope over the id in the provided field.
	//
	// Types that are valid to be assigned to Entitlement:
	//
	//	*AddEntitlementImagesRequest_Parent
	//	*AddEntitlementImagesRequest_Id
	Entitlement isAddEntitlementImagesRequest_Entitlement `protobuf_oneof:"entitlement"`
	// Catalog image names to add (e.g., "nginx", "redis").
	// Resolved against the catalog by exact name match.
	ImageNames []string `protobuf:"bytes,3,rep,name=image_names,json=imageNames,proto3" json:"image_names,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEntitlementImagesRequest) Descriptor deprecated added in v0.1.54

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

Deprecated: Use AddEntitlementImagesRequest.ProtoReflect.Descriptor instead.

func (*AddEntitlementImagesRequest) GetEntitlement added in v0.1.54

func (x *AddEntitlementImagesRequest) GetEntitlement() isAddEntitlementImagesRequest_Entitlement

func (*AddEntitlementImagesRequest) GetId added in v0.1.54

func (*AddEntitlementImagesRequest) GetImageNames added in v0.1.54

func (x *AddEntitlementImagesRequest) GetImageNames() []string

func (*AddEntitlementImagesRequest) GetParent added in v0.1.54

func (x *AddEntitlementImagesRequest) GetParent() string

func (*AddEntitlementImagesRequest) ProtoMessage added in v0.1.54

func (*AddEntitlementImagesRequest) ProtoMessage()

func (*AddEntitlementImagesRequest) ProtoReflect added in v0.1.54

func (*AddEntitlementImagesRequest) Reset added in v0.1.54

func (x *AddEntitlementImagesRequest) Reset()

func (*AddEntitlementImagesRequest) String added in v0.1.54

func (x *AddEntitlementImagesRequest) String() string

type AddEntitlementImagesRequest_Id added in v0.1.54

type AddEntitlementImagesRequest_Id struct {
	// The exact id of the entitlement to add images to.
	Id string `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
}

type AddEntitlementImagesRequest_Parent added in v0.1.54

type AddEntitlementImagesRequest_Parent struct {
	// The organization to add images to. The newest eligible entitlement
	// with matching tier capacity is selected.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3,oneof"`
}

type AddEntitlementImagesResponse added in v0.1.54

type AddEntitlementImagesResponse struct {

	// The images that were added. Excludes requested images that were
	// found on
	Images []*EntitledImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// The customer org UIDP that received the images. Set by the backend
	// to the resolved parent of the target entitlement, regardless of
	// whether the request selected by parent or by entitlement id. Used
	// as the CloudEvents subject for downstream subscribers.
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEntitlementImagesResponse) CloudEventsExtension added in v0.1.54

func (x *AddEntitlementImagesResponse) CloudEventsExtension(key string) (string, bool)

CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension

func (*AddEntitlementImagesResponse) CloudEventsSubject added in v0.1.54

func (x *AddEntitlementImagesResponse) CloudEventsSubject() string

CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject. Returns the customer org UIDP that received the images; the entitlement-images-event-handler reads this to enqueue the org onto the entitlements reconciler workqueue.

func (*AddEntitlementImagesResponse) Descriptor deprecated added in v0.1.54

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

Deprecated: Use AddEntitlementImagesResponse.ProtoReflect.Descriptor instead.

func (*AddEntitlementImagesResponse) GetImages added in v0.1.54

func (x *AddEntitlementImagesResponse) GetImages() []*EntitledImage

func (*AddEntitlementImagesResponse) GetParent added in v0.1.54

func (x *AddEntitlementImagesResponse) GetParent() string

func (*AddEntitlementImagesResponse) ProtoMessage added in v0.1.54

func (*AddEntitlementImagesResponse) ProtoMessage()

func (*AddEntitlementImagesResponse) ProtoReflect added in v0.1.54

func (*AddEntitlementImagesResponse) Reset added in v0.1.54

func (x *AddEntitlementImagesResponse) Reset()

func (*AddEntitlementImagesResponse) String added in v0.1.54

type ApkoClient added in v0.1.29

type ApkoClient interface {
	ResolveConfig(ctx context.Context, in *ResolveConfigRequest, opts ...grpc.CallOption) (*ApkoConfig, error)
	BuildImage(ctx context.Context, in *BuildImageRequest, opts ...grpc.CallOption) (*BuildImageResponse, error)
}

ApkoClient is the client API for Apko service.

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

func NewApkoClient added in v0.1.29

func NewApkoClient(cc grpc.ClientConnInterface) ApkoClient

type ApkoConfig added in v0.1.29

type ApkoConfig struct {
	Contents    *ApkoConfig_Contents       `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	Environment map[string]string          `` /* 149-byte string literal not displayed */
	Accounts    *ApkoConfig_Accounts       `protobuf:"bytes,3,opt,name=accounts,proto3" json:"accounts,omitempty"`
	Entrypoint  *ApkoConfig_Entrypoint     `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	Cmd         string                     `protobuf:"bytes,5,opt,name=cmd,proto3" json:"cmd,omitempty"`
	WorkDir     string                     `protobuf:"bytes,6,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
	Annotations map[string]string          `` /* 149-byte string literal not displayed */
	Paths       []*ApkoConfig_PathMutation `protobuf:"bytes,8,rep,name=paths,proto3" json:"paths,omitempty"`
	Archs       []string                   `protobuf:"bytes,9,rep,name=archs,proto3" json:"archs,omitempty"`
	// These are unused, and only provided for compatibility with
	// ImageConfiguration.
	Volumes      []string                 `protobuf:"bytes,10,rep,name=volumes,proto3" json:"volumes,omitempty"`
	Include      string                   `protobuf:"bytes,11,opt,name=include,proto3" json:"include,omitempty"`
	StopSignal   string                   `protobuf:"bytes,12,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"`
	VcsUrl       string                   `protobuf:"bytes,13,opt,name=vcs_url,json=vcsUrl,proto3" json:"vcs_url,omitempty"`
	Layering     *ApkoConfig_Layering     `protobuf:"bytes,14,opt,name=layering,proto3" json:"layering,omitempty"`
	Certificates *ApkoConfig_Certificates `protobuf:"bytes,15,opt,name=certificates,proto3" json:"certificates,omitempty"`
	// contains filtered or unexported fields
}

func ToApkoProto added in v0.1.29

func ToApkoProto(ic apkotypes.ImageConfiguration) *ApkoConfig

func (*ApkoConfig) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig.ProtoReflect.Descriptor instead.

func (*ApkoConfig) GetAccounts added in v0.1.29

func (x *ApkoConfig) GetAccounts() *ApkoConfig_Accounts

func (*ApkoConfig) GetAnnotations added in v0.1.29

func (x *ApkoConfig) GetAnnotations() map[string]string

func (*ApkoConfig) GetArchs added in v0.1.29

func (x *ApkoConfig) GetArchs() []string

func (*ApkoConfig) GetCertificates added in v0.1.46

func (x *ApkoConfig) GetCertificates() *ApkoConfig_Certificates

func (*ApkoConfig) GetCmd added in v0.1.29

func (x *ApkoConfig) GetCmd() string

func (*ApkoConfig) GetContents added in v0.1.29

func (x *ApkoConfig) GetContents() *ApkoConfig_Contents

func (*ApkoConfig) GetEntrypoint added in v0.1.29

func (x *ApkoConfig) GetEntrypoint() *ApkoConfig_Entrypoint

func (*ApkoConfig) GetEnvironment added in v0.1.29

func (x *ApkoConfig) GetEnvironment() map[string]string

func (*ApkoConfig) GetInclude added in v0.1.29

func (x *ApkoConfig) GetInclude() string

func (*ApkoConfig) GetLayering added in v0.1.33

func (x *ApkoConfig) GetLayering() *ApkoConfig_Layering

func (*ApkoConfig) GetPaths added in v0.1.29

func (x *ApkoConfig) GetPaths() []*ApkoConfig_PathMutation

func (*ApkoConfig) GetStopSignal added in v0.1.29

func (x *ApkoConfig) GetStopSignal() string

func (*ApkoConfig) GetVcsUrl added in v0.1.29

func (x *ApkoConfig) GetVcsUrl() string

func (*ApkoConfig) GetVolumes added in v0.1.29

func (x *ApkoConfig) GetVolumes() []string

func (*ApkoConfig) GetWorkDir added in v0.1.29

func (x *ApkoConfig) GetWorkDir() string

func (*ApkoConfig) ProtoMessage added in v0.1.29

func (*ApkoConfig) ProtoMessage()

func (*ApkoConfig) ProtoReflect added in v0.1.29

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

func (*ApkoConfig) Reset added in v0.1.29

func (x *ApkoConfig) Reset()

func (*ApkoConfig) String added in v0.1.29

func (x *ApkoConfig) String() string

type ApkoConfig_Accounts added in v0.1.29

type ApkoConfig_Accounts struct {
	Groups []*ApkoConfig_Accounts_Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	Users  []*ApkoConfig_Accounts_User  `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
	RunAs  string                       `protobuf:"bytes,3,opt,name=run_as,json=runAs,proto3" json:"run_as,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Accounts) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Accounts.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Accounts) GetGroups added in v0.1.29

func (*ApkoConfig_Accounts) GetRunAs added in v0.1.29

func (x *ApkoConfig_Accounts) GetRunAs() string

func (*ApkoConfig_Accounts) GetUsers added in v0.1.29

func (*ApkoConfig_Accounts) ProtoMessage added in v0.1.29

func (*ApkoConfig_Accounts) ProtoMessage()

func (*ApkoConfig_Accounts) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Accounts) Reset added in v0.1.29

func (x *ApkoConfig_Accounts) Reset()

func (*ApkoConfig_Accounts) String added in v0.1.29

func (x *ApkoConfig_Accounts) String() string

type ApkoConfig_Accounts_Group added in v0.1.29

type ApkoConfig_Accounts_Group struct {
	Gid       uint32   `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	GroupName string   `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	Members   []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Accounts_Group) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Accounts_Group.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Accounts_Group) GetGid added in v0.1.29

func (x *ApkoConfig_Accounts_Group) GetGid() uint32

func (*ApkoConfig_Accounts_Group) GetGroupName added in v0.1.29

func (x *ApkoConfig_Accounts_Group) GetGroupName() string

func (*ApkoConfig_Accounts_Group) GetMembers added in v0.1.44

func (x *ApkoConfig_Accounts_Group) GetMembers() []string

func (*ApkoConfig_Accounts_Group) ProtoMessage added in v0.1.29

func (*ApkoConfig_Accounts_Group) ProtoMessage()

func (*ApkoConfig_Accounts_Group) ProtoReflect added in v0.1.29

func (*ApkoConfig_Accounts_Group) Reset added in v0.1.29

func (x *ApkoConfig_Accounts_Group) Reset()

func (*ApkoConfig_Accounts_Group) String added in v0.1.29

func (x *ApkoConfig_Accounts_Group) String() string

type ApkoConfig_Accounts_User added in v0.1.29

type ApkoConfig_Accounts_User struct {
	Uid       uint32  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	UserName  string  `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Gid       *uint32 `protobuf:"varint,3,opt,name=gid,proto3,oneof" json:"gid,omitempty"`
	GroupName string  `protobuf:"bytes,4,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	Shell     string  `protobuf:"bytes,5,opt,name=shell,proto3" json:"shell,omitempty"`
	HomeDir   string  `protobuf:"bytes,6,opt,name=home_dir,json=homeDir,proto3" json:"home_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Accounts_User) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Accounts_User.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Accounts_User) GetGid added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetGid() uint32

func (*ApkoConfig_Accounts_User) GetGroupName added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetGroupName() string

func (*ApkoConfig_Accounts_User) GetHomeDir added in v0.1.44

func (x *ApkoConfig_Accounts_User) GetHomeDir() string

func (*ApkoConfig_Accounts_User) GetShell added in v0.1.44

func (x *ApkoConfig_Accounts_User) GetShell() string

func (*ApkoConfig_Accounts_User) GetUid added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetUid() uint32

func (*ApkoConfig_Accounts_User) GetUserName added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetUserName() string

func (*ApkoConfig_Accounts_User) ProtoMessage added in v0.1.29

func (*ApkoConfig_Accounts_User) ProtoMessage()

func (*ApkoConfig_Accounts_User) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Accounts_User) Reset added in v0.1.29

func (x *ApkoConfig_Accounts_User) Reset()

func (*ApkoConfig_Accounts_User) String added in v0.1.29

func (x *ApkoConfig_Accounts_User) String() string

type ApkoConfig_Certificates added in v0.1.46

type ApkoConfig_Certificates struct {
	Additional []*ApkoConfig_Certificates_AdditionalEntry `protobuf:"bytes,1,rep,name=additional,proto3" json:"additional,omitempty"`
	Providers  []string                                   `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Certificates) Descriptor deprecated added in v0.1.46

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

Deprecated: Use ApkoConfig_Certificates.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Certificates) GetAdditional added in v0.1.46

func (*ApkoConfig_Certificates) GetProviders added in v0.1.51

func (x *ApkoConfig_Certificates) GetProviders() []string

func (*ApkoConfig_Certificates) ProtoMessage added in v0.1.46

func (*ApkoConfig_Certificates) ProtoMessage()

func (*ApkoConfig_Certificates) ProtoReflect added in v0.1.46

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

func (*ApkoConfig_Certificates) Reset added in v0.1.46

func (x *ApkoConfig_Certificates) Reset()

func (*ApkoConfig_Certificates) String added in v0.1.46

func (x *ApkoConfig_Certificates) String() string

type ApkoConfig_Certificates_AdditionalEntry added in v0.1.46

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

func (*ApkoConfig_Certificates_AdditionalEntry) Descriptor deprecated added in v0.1.46

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

Deprecated: Use ApkoConfig_Certificates_AdditionalEntry.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Certificates_AdditionalEntry) GetContent added in v0.1.46

func (*ApkoConfig_Certificates_AdditionalEntry) GetName added in v0.1.46

func (*ApkoConfig_Certificates_AdditionalEntry) ProtoMessage added in v0.1.46

func (*ApkoConfig_Certificates_AdditionalEntry) ProtoReflect added in v0.1.46

func (*ApkoConfig_Certificates_AdditionalEntry) Reset added in v0.1.46

func (*ApkoConfig_Certificates_AdditionalEntry) String added in v0.1.46

type ApkoConfig_Contents added in v0.1.29

type ApkoConfig_Contents struct {
	Repositories        []string `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	BuildRepositories   []string `protobuf:"bytes,2,rep,name=build_repositories,json=buildRepositories,proto3" json:"build_repositories,omitempty"`
	RuntimeRepositories []string `protobuf:"bytes,5,rep,name=runtime_repositories,json=runtimeRepositories,proto3" json:"runtime_repositories,omitempty"`
	Keyring             []string `protobuf:"bytes,3,rep,name=keyring,proto3" json:"keyring,omitempty"`
	Packages            []string `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Contents) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Contents.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Contents) GetBuildRepositories added in v0.1.29

func (x *ApkoConfig_Contents) GetBuildRepositories() []string

func (*ApkoConfig_Contents) GetKeyring added in v0.1.29

func (x *ApkoConfig_Contents) GetKeyring() []string

func (*ApkoConfig_Contents) GetPackages added in v0.1.29

func (x *ApkoConfig_Contents) GetPackages() []string

func (*ApkoConfig_Contents) GetRepositories added in v0.1.29

func (x *ApkoConfig_Contents) GetRepositories() []string

func (*ApkoConfig_Contents) GetRuntimeRepositories added in v0.1.38

func (x *ApkoConfig_Contents) GetRuntimeRepositories() []string

func (*ApkoConfig_Contents) ProtoMessage added in v0.1.29

func (*ApkoConfig_Contents) ProtoMessage()

func (*ApkoConfig_Contents) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Contents) Reset added in v0.1.29

func (x *ApkoConfig_Contents) Reset()

func (*ApkoConfig_Contents) String added in v0.1.29

func (x *ApkoConfig_Contents) String() string

type ApkoConfig_Entrypoint added in v0.1.29

type ApkoConfig_Entrypoint struct {
	Type          string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Command       string            `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	ShellFragment string            `protobuf:"bytes,3,opt,name=shell_fragment,json=shellFragment,proto3" json:"shell_fragment,omitempty"`
	Services      map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ApkoConfig_Entrypoint) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Entrypoint.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Entrypoint) GetCommand added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetCommand() string

func (*ApkoConfig_Entrypoint) GetServices added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetServices() map[string]string

func (*ApkoConfig_Entrypoint) GetShellFragment added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetShellFragment() string

func (*ApkoConfig_Entrypoint) GetType added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetType() string

func (*ApkoConfig_Entrypoint) ProtoMessage added in v0.1.29

func (*ApkoConfig_Entrypoint) ProtoMessage()

func (*ApkoConfig_Entrypoint) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Entrypoint) Reset added in v0.1.29

func (x *ApkoConfig_Entrypoint) Reset()

func (*ApkoConfig_Entrypoint) String added in v0.1.29

func (x *ApkoConfig_Entrypoint) String() string

type ApkoConfig_Layering added in v0.1.33

type ApkoConfig_Layering struct {
	Strategy string `protobuf:"bytes,1,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Budget   int64  `protobuf:"varint,2,opt,name=budget,proto3" json:"budget,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Layering) Descriptor deprecated added in v0.1.33

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

Deprecated: Use ApkoConfig_Layering.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Layering) GetBudget added in v0.1.33

func (x *ApkoConfig_Layering) GetBudget() int64

func (*ApkoConfig_Layering) GetStrategy added in v0.1.33

func (x *ApkoConfig_Layering) GetStrategy() string

func (*ApkoConfig_Layering) ProtoMessage added in v0.1.33

func (*ApkoConfig_Layering) ProtoMessage()

func (*ApkoConfig_Layering) ProtoReflect added in v0.1.33

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

func (*ApkoConfig_Layering) Reset added in v0.1.33

func (x *ApkoConfig_Layering) Reset()

func (*ApkoConfig_Layering) String added in v0.1.33

func (x *ApkoConfig_Layering) String() string

type ApkoConfig_PathMutation added in v0.1.29

type ApkoConfig_PathMutation struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// uid/gid mirror apko's nullable PathMutation UID/GID (apko#2281,
	// v1.2.19+): absent means ownership is left untouched; an explicit 0
	// chowns to root. `optional` preserves that distinction on the wire,
	// like User.gid above (apko#1449).
	Uid         *uint32 `protobuf:"varint,3,opt,name=uid,proto3,oneof" json:"uid,omitempty"`
	Gid         *uint32 `protobuf:"varint,4,opt,name=gid,proto3,oneof" json:"gid,omitempty"`
	Permissions uint32  `protobuf:"varint,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Source      string  `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	Recursive   bool    `protobuf:"varint,7,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_PathMutation) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_PathMutation.ProtoReflect.Descriptor instead.

func (*ApkoConfig_PathMutation) GetGid added in v0.1.29

func (x *ApkoConfig_PathMutation) GetGid() uint32

func (*ApkoConfig_PathMutation) GetPath added in v0.1.29

func (x *ApkoConfig_PathMutation) GetPath() string

func (*ApkoConfig_PathMutation) GetPermissions added in v0.1.29

func (x *ApkoConfig_PathMutation) GetPermissions() uint32

func (*ApkoConfig_PathMutation) GetRecursive added in v0.1.29

func (x *ApkoConfig_PathMutation) GetRecursive() bool

func (*ApkoConfig_PathMutation) GetSource added in v0.1.29

func (x *ApkoConfig_PathMutation) GetSource() string

func (*ApkoConfig_PathMutation) GetType added in v0.1.29

func (x *ApkoConfig_PathMutation) GetType() string

func (*ApkoConfig_PathMutation) GetUid added in v0.1.29

func (x *ApkoConfig_PathMutation) GetUid() uint32

func (*ApkoConfig_PathMutation) ProtoMessage added in v0.1.29

func (*ApkoConfig_PathMutation) ProtoMessage()

func (*ApkoConfig_PathMutation) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_PathMutation) Reset added in v0.1.29

func (x *ApkoConfig_PathMutation) Reset()

func (*ApkoConfig_PathMutation) String added in v0.1.29

func (x *ApkoConfig_PathMutation) String() string

type ApkoServer added in v0.1.29

type ApkoServer interface {
	ResolveConfig(context.Context, *ResolveConfigRequest) (*ApkoConfig, error)
	BuildImage(context.Context, *BuildImageRequest) (*BuildImageResponse, error)
	// contains filtered or unexported methods
}

ApkoServer is the server API for Apko service. All implementations must embed UnimplementedApkoServer for forward compatibility.

type ArchFilter added in v0.1.21

type ArchFilter struct {

	// The architecture to filter on.
	Arch string `protobuf:"bytes,1,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchFilter) Descriptor deprecated added in v0.1.21

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

Deprecated: Use ArchFilter.ProtoReflect.Descriptor instead.

func (*ArchFilter) GetArch added in v0.1.21

func (x *ArchFilter) GetArch() string

func (*ArchFilter) ProtoMessage added in v0.1.21

func (*ArchFilter) ProtoMessage()

func (*ArchFilter) ProtoReflect added in v0.1.21

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

func (*ArchFilter) Reset added in v0.1.21

func (x *ArchFilter) Reset()

func (*ArchFilter) String added in v0.1.21

func (x *ArchFilter) String() string

type ArchRequest added in v0.1.21

type ArchRequest struct {

	// The UIDP of the image repo to get architectures for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get architectures for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use ArchRequest.ProtoReflect.Descriptor instead.

func (*ArchRequest) GetDigest added in v0.1.21

func (x *ArchRequest) GetDigest() string

func (*ArchRequest) GetRepoId added in v0.1.21

func (x *ArchRequest) GetRepoId() string

func (*ArchRequest) ProtoMessage added in v0.1.21

func (*ArchRequest) ProtoMessage()

func (*ArchRequest) ProtoReflect added in v0.1.21

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

func (*ArchRequest) Reset added in v0.1.21

func (x *ArchRequest) Reset()

func (*ArchRequest) String added in v0.1.21

func (x *ArchRequest) String() string

type Archs added in v0.1.21

type Archs struct {

	// Architectures belonging to the requested digest's manifests.
	Archs []string `protobuf:"bytes,1,rep,name=archs,proto3" json:"archs,omitempty"`
	// contains filtered or unexported fields
}

func (*Archs) Descriptor deprecated added in v0.1.21

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

Deprecated: Use Archs.ProtoReflect.Descriptor instead.

func (*Archs) GetArchs added in v0.1.21

func (x *Archs) GetArchs() []string

func (*Archs) ProtoMessage added in v0.1.21

func (*Archs) ProtoMessage()

func (*Archs) ProtoReflect added in v0.1.21

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

func (*Archs) Reset added in v0.1.21

func (x *Archs) Reset()

func (*Archs) String added in v0.1.21

func (x *Archs) String() string

type BuildImageRequest added in v0.1.29

type BuildImageRequest struct {

	// Config to build. It must be resolved before it can be built.
	Config *ApkoConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Repo UIDP to push to.
	RepoUidp string `protobuf:"bytes,2,opt,name=repo_uidp,json=repoUidp,proto3" json:"repo_uidp,omitempty"`
	// The media type of the layer to build.
	MediaType string `protobuf:"bytes,3,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildImageRequest) Descriptor deprecated added in v0.1.29

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

Deprecated: Use BuildImageRequest.ProtoReflect.Descriptor instead.

func (*BuildImageRequest) GetConfig added in v0.1.29

func (x *BuildImageRequest) GetConfig() *ApkoConfig

func (*BuildImageRequest) GetMediaType added in v0.1.29

func (x *BuildImageRequest) GetMediaType() string

func (*BuildImageRequest) GetRepoUidp added in v0.1.29

func (x *BuildImageRequest) GetRepoUidp() string

func (*BuildImageRequest) ProtoMessage added in v0.1.29

func (*BuildImageRequest) ProtoMessage()

func (*BuildImageRequest) ProtoReflect added in v0.1.29

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

func (*BuildImageRequest) Reset added in v0.1.29

func (x *BuildImageRequest) Reset()

func (*BuildImageRequest) String added in v0.1.29

func (x *BuildImageRequest) String() string

type BuildImageResponse added in v0.1.29

type BuildImageResponse struct {

	// Digest of the built image.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// The "build date epoch" of the produced image.
	BuildDateEpoch *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=build_date_epoch,json=buildDateEpoch,proto3" json:"build_date_epoch,omitempty"`
	// The user error message, if any.
	// This is to distinguish between an error in the build process
	// and an error in the user's configuration (like accessing a
	// non-existent package).
	UserError string `protobuf:"bytes,3,opt,name=user_error,json=userError,proto3" json:"user_error,omitempty"`
	// The ID of the Build Report.
	BuildReportId string `protobuf:"bytes,4,opt,name=build_report_id,json=buildReportId,proto3" json:"build_report_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildImageResponse) Descriptor deprecated added in v0.1.29

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

Deprecated: Use BuildImageResponse.ProtoReflect.Descriptor instead.

func (*BuildImageResponse) GetBuildDateEpoch added in v0.1.29

func (x *BuildImageResponse) GetBuildDateEpoch() *timestamppb.Timestamp

func (*BuildImageResponse) GetBuildReportId added in v0.1.29

func (x *BuildImageResponse) GetBuildReportId() string

func (*BuildImageResponse) GetDigest added in v0.1.29

func (x *BuildImageResponse) GetDigest() string

func (*BuildImageResponse) GetUserError added in v0.1.29

func (x *BuildImageResponse) GetUserError() string

func (*BuildImageResponse) ProtoMessage added in v0.1.29

func (*BuildImageResponse) ProtoMessage()

func (*BuildImageResponse) ProtoReflect added in v0.1.29

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

func (*BuildImageResponse) Reset added in v0.1.29

func (x *BuildImageResponse) Reset()

func (*BuildImageResponse) String added in v0.1.29

func (x *BuildImageResponse) String() string

type BuildReport added in v0.1.26

type BuildReport struct {

	// id, identifier of this BuildReport, a UIDP under a Repo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The media type of the layer being built.
	MediaType string `protobuf:"bytes,11,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	// The configuration used to build the image, in APKO build config JSON.
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The version-locked configuration used to build the image, in APKO build config JSON.
	LockedConfig string `protobuf:"bytes,3,opt,name=locked_config,json=lockedConfig,proto3" json:"locked_config,omitempty"`
	// The result of the build.
	Result BuildReport_Result `protobuf:"varint,4,opt,name=result,proto3,enum=chainguard.platform.registry.BuildReport_Result" json:"result,omitempty"`
	// The warnings generated during the build.
	Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// The build log. For the moment, this is the build log's content.
	// This could later change to an URI if the build log gets large enough.
	Log string `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"`
	// The digest of the image built, in case of success.
	Digest string `protobuf:"bytes,7,opt,name=digest,proto3" json:"digest,omitempty"`
	// The version of the APKO used to build the image.
	ApkoVersion string `protobuf:"bytes,8,opt,name=apko_version,json=apkoVersion,proto3" json:"apko_version,omitempty"`
	// The start time of the build. It is set by the server automatically,
	// anything written by the client will be ignored.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// The end time of the build. Must be after the started_at time.
	CompletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// contains filtered or unexported fields
}

BuildReport is a record of a build, including the configuration used, the result, and the log.

These are created by the build system, the clients should not create/update these themselves, but can read them to see the build information as well as build results.

func (*BuildReport) Descriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReport.ProtoReflect.Descriptor instead.

func (*BuildReport) GetApkoVersion added in v0.1.26

func (x *BuildReport) GetApkoVersion() string

func (*BuildReport) GetCompletedAt added in v0.1.26

func (x *BuildReport) GetCompletedAt() *timestamppb.Timestamp

func (*BuildReport) GetConfig added in v0.1.26

func (x *BuildReport) GetConfig() string

func (*BuildReport) GetDigest added in v0.1.26

func (x *BuildReport) GetDigest() string

func (*BuildReport) GetId added in v0.1.26

func (x *BuildReport) GetId() string

func (*BuildReport) GetLockedConfig added in v0.1.26

func (x *BuildReport) GetLockedConfig() string

func (*BuildReport) GetLog added in v0.1.26

func (x *BuildReport) GetLog() string

func (*BuildReport) GetMediaType added in v0.1.29

func (x *BuildReport) GetMediaType() string

func (*BuildReport) GetResult added in v0.1.26

func (x *BuildReport) GetResult() BuildReport_Result

func (*BuildReport) GetStartedAt added in v0.1.26

func (x *BuildReport) GetStartedAt() *timestamppb.Timestamp

func (*BuildReport) GetWarnings added in v0.1.26

func (x *BuildReport) GetWarnings() []string

func (*BuildReport) ProtoMessage added in v0.1.26

func (*BuildReport) ProtoMessage()

func (*BuildReport) ProtoReflect added in v0.1.26

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

func (*BuildReport) Reset added in v0.1.26

func (x *BuildReport) Reset()

func (*BuildReport) String added in v0.1.26

func (x *BuildReport) String() string

type BuildReportFilter added in v0.1.26

type BuildReportFilter struct {

	// uidp filters records based on their position in the group hierarchy.
	Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"`
	// use to choose reports started after this time.
	// defaults to 1 day ago.
	StartedSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_since,json=startedSince,proto3" json:"started_since,omitempty"`
	// use to choose reports started before this time.
	StartedBefore *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_before,json=startedBefore,proto3" json:"started_before,omitempty"`
	// Opt-in to exclude raw log output via Log field
	// Note: including logs has lead to high db input/output and timeouts
	// depending on the size of the returned log contents
	ExcludeLogs bool `protobuf:"varint,4,opt,name=exclude_logs,json=excludeLogs,proto3" json:"exclude_logs,omitempty"`
	// The maximum number of artifacts to return per request.
	// The service may return fewer than this value.
	PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

BuildReportFilter is used to filter BuildReports for ListBuildReports call.

func (*BuildReportFilter) Descriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReportFilter.ProtoReflect.Descriptor instead.

func (*BuildReportFilter) GetExcludeLogs added in v0.1.34

func (x *BuildReportFilter) GetExcludeLogs() bool

func (*BuildReportFilter) GetPageSize added in v0.1.42

func (x *BuildReportFilter) GetPageSize() int32

func (*BuildReportFilter) GetStartedBefore added in v0.1.42

func (x *BuildReportFilter) GetStartedBefore() *timestamppb.Timestamp

func (*BuildReportFilter) GetStartedSince added in v0.1.27

func (x *BuildReportFilter) GetStartedSince() *timestamppb.Timestamp

func (*BuildReportFilter) GetUidp added in v0.1.26

func (x *BuildReportFilter) GetUidp() *v1.UIDPFilter

func (*BuildReportFilter) ProtoMessage added in v0.1.26

func (*BuildReportFilter) ProtoMessage()

func (*BuildReportFilter) ProtoReflect added in v0.1.26

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

func (*BuildReportFilter) Reset added in v0.1.26

func (x *BuildReportFilter) Reset()

func (*BuildReportFilter) String added in v0.1.26

func (x *BuildReportFilter) String() string

type BuildReportList added in v0.1.26

type BuildReportList struct {
	Reports []*BuildReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// contains filtered or unexported fields
}

BuildReportList is a list of BuildReports.

func (*BuildReportList) Descriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReportList.ProtoReflect.Descriptor instead.

func (*BuildReportList) GetReports added in v0.1.26

func (x *BuildReportList) GetReports() []*BuildReport

func (*BuildReportList) ProtoMessage added in v0.1.26

func (*BuildReportList) ProtoMessage()

func (*BuildReportList) ProtoReflect added in v0.1.26

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

func (*BuildReportList) Reset added in v0.1.26

func (x *BuildReportList) Reset()

func (*BuildReportList) String added in v0.1.26

func (x *BuildReportList) String() string

type BuildReport_Result added in v0.1.26

type BuildReport_Result int32
const (
	BuildReport_Unknown BuildReport_Result = 0
	BuildReport_Success BuildReport_Result = 1
	BuildReport_Failure BuildReport_Result = 2
)

func (BuildReport_Result) Descriptor added in v0.1.26

func (BuildReport_Result) Enum added in v0.1.26

func (BuildReport_Result) EnumDescriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReport_Result.Descriptor instead.

func (BuildReport_Result) Number added in v0.1.26

func (BuildReport_Result) String added in v0.1.26

func (x BuildReport_Result) String() string

func (BuildReport_Result) Type added in v0.1.26

type BuildStatus added in v0.1.33

type BuildStatus struct {

	//  The list of all repos with failures.
	Failures []*BuildStatus_Failures `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"`
	// contains filtered or unexported fields
}

BuildStatus is an overview of build results for a given org.

func (*BuildStatus) Descriptor deprecated added in v0.1.33

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

Deprecated: Use BuildStatus.ProtoReflect.Descriptor instead.

func (*BuildStatus) GetFailures added in v0.1.33

func (x *BuildStatus) GetFailures() []*BuildStatus_Failures

func (*BuildStatus) ProtoMessage added in v0.1.33

func (*BuildStatus) ProtoMessage()

func (*BuildStatus) ProtoReflect added in v0.1.33

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

func (*BuildStatus) Reset added in v0.1.33

func (x *BuildStatus) Reset()

func (*BuildStatus) String added in v0.1.33

func (x *BuildStatus) String() string

type BuildStatus_Failures added in v0.1.33

type BuildStatus_Failures struct {

	// The ID of a repo.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The total number of failures for this repo.
	Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildStatus_Failures) Descriptor deprecated added in v0.1.33

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

Deprecated: Use BuildStatus_Failures.ProtoReflect.Descriptor instead.

func (*BuildStatus_Failures) GetRepoId added in v0.1.33

func (x *BuildStatus_Failures) GetRepoId() string

func (*BuildStatus_Failures) GetTotal added in v0.1.33

func (x *BuildStatus_Failures) GetTotal() int32

func (*BuildStatus_Failures) ProtoMessage added in v0.1.33

func (*BuildStatus_Failures) ProtoMessage()

func (*BuildStatus_Failures) ProtoReflect added in v0.1.33

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

func (*BuildStatus_Failures) Reset added in v0.1.33

func (x *BuildStatus_Failures) Reset()

func (*BuildStatus_Failures) String added in v0.1.33

func (x *BuildStatus_Failures) String() string

type CatalogTier

type CatalogTier int32
const (
	CatalogTier_UNKNOWN     CatalogTier = 0
	CatalogTier_APPLICATION CatalogTier = 4
	CatalogTier_BASE        CatalogTier = 5
	CatalogTier_FIPS        CatalogTier = 6
	CatalogTier_AI          CatalogTier = 7
	CatalogTier_DEVTOOLS    CatalogTier = 8
	CatalogTier_COMMERCIAL  CatalogTier = 9
)

func (CatalogTier) Descriptor

func (CatalogTier) Enum

func (x CatalogTier) Enum() *CatalogTier

func (CatalogTier) EnumDescriptor deprecated

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

Deprecated: Use CatalogTier.Descriptor instead.

func (CatalogTier) Number

func (x CatalogTier) Number() protoreflect.EnumNumber

func (CatalogTier) String

func (x CatalogTier) String() string

func (CatalogTier) Type

type Chart added in v0.1.46

type Chart struct {

	// The name of the chart.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the chart.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The version of the app contained in the chart.
	AppVersion string `protobuf:"bytes,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	// A description of the chart.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The chart's dependencies.
	Dependencies []*ChartDependency `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// Annotations from Chart.yaml.
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Images used by the chart, parsed from annotations["images"].
	Images []*ChartImage `protobuf:"bytes,100,rep,name=images,proto3" json:"images,omitempty"`
	// Raw Chart.yaml content.
	Raw string `protobuf:"bytes,101,opt,name=raw,proto3" json:"raw,omitempty"`
	// Raw values.yaml content (default values).
	Values string `protobuf:"bytes,102,opt,name=values,proto3" json:"values,omitempty"`
	// Raw CHANGELOG.md content, if present in the chart.
	Changelog string `protobuf:"bytes,103,opt,name=changelog,proto3" json:"changelog,omitempty"`
	// contains filtered or unexported fields
}

Chart contains metadata parsed from a Helm chart's Chart.yaml.

func (*Chart) Descriptor deprecated added in v0.1.46

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

Deprecated: Use Chart.ProtoReflect.Descriptor instead.

func (*Chart) GetAnnotations added in v0.1.46

func (x *Chart) GetAnnotations() map[string]string

func (*Chart) GetAppVersion added in v0.1.46

func (x *Chart) GetAppVersion() string

func (*Chart) GetChangelog added in v0.1.98

func (x *Chart) GetChangelog() string

func (*Chart) GetDependencies added in v0.1.46

func (x *Chart) GetDependencies() []*ChartDependency

func (*Chart) GetDescription added in v0.1.46

func (x *Chart) GetDescription() string

func (*Chart) GetImages added in v0.1.46

func (x *Chart) GetImages() []*ChartImage

func (*Chart) GetName added in v0.1.46

func (x *Chart) GetName() string

func (*Chart) GetRaw added in v0.1.46

func (x *Chart) GetRaw() string

func (*Chart) GetValues added in v0.1.48

func (x *Chart) GetValues() string

func (*Chart) GetVersion added in v0.1.46

func (x *Chart) GetVersion() string

func (*Chart) ProtoMessage added in v0.1.46

func (*Chart) ProtoMessage()

func (*Chart) ProtoReflect added in v0.1.46

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

func (*Chart) Reset added in v0.1.46

func (x *Chart) Reset()

func (*Chart) String added in v0.1.46

func (x *Chart) String() string

type ChartCatalog added in v0.1.162

type ChartCatalog int32

ChartCatalog selects which managed chart catalog a FindChart lookup targets. The server maps the selector to the environment's catalog folder UIDP, so clients never carry environment-specific catalog UIDPs.

const (
	ChartCatalog_CHART_CATALOG_UNSPECIFIED ChartCatalog = 0
	// The community chart catalog (the default).
	ChartCatalog_CHART_CATALOG_COMMUNITY ChartCatalog = 1
	// The iamguarded chart catalog.
	ChartCatalog_CHART_CATALOG_IAMGUARDED ChartCatalog = 2
)

func (ChartCatalog) Descriptor added in v0.1.162

func (ChartCatalog) Enum added in v0.1.162

func (x ChartCatalog) Enum() *ChartCatalog

func (ChartCatalog) EnumDescriptor deprecated added in v0.1.162

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

Deprecated: Use ChartCatalog.Descriptor instead.

func (ChartCatalog) Number added in v0.1.162

func (ChartCatalog) String added in v0.1.162

func (x ChartCatalog) String() string

func (ChartCatalog) Type added in v0.1.162

type ChartDependency added in v0.1.46

type ChartDependency struct {

	// The name of the dependency chart.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the dependency chart.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The repository URL of the dependency chart.
	Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

ChartDependency represents a dependency of a Helm chart.

func (*ChartDependency) Descriptor deprecated added in v0.1.46

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

Deprecated: Use ChartDependency.ProtoReflect.Descriptor instead.

func (*ChartDependency) GetName added in v0.1.46

func (x *ChartDependency) GetName() string

func (*ChartDependency) GetRepository added in v0.1.46

func (x *ChartDependency) GetRepository() string

func (*ChartDependency) GetVersion added in v0.1.46

func (x *ChartDependency) GetVersion() string

func (*ChartDependency) ProtoMessage added in v0.1.46

func (*ChartDependency) ProtoMessage()

func (*ChartDependency) ProtoReflect added in v0.1.46

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

func (*ChartDependency) Reset added in v0.1.46

func (x *ChartDependency) Reset()

func (*ChartDependency) String added in v0.1.46

func (x *ChartDependency) String() string

type ChartImage added in v0.1.46

type ChartImage struct {

	// The name/alias of the image.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The image reference.
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// Whether this image is required for the chart to deploy, or optional.
	// Sourced from the chart-lock attestation's cg.json template; UNSPECIFIED
	// for charts that do not carry a chart-lock predicate.
	Requirement ChartImageRequirement `` /* 132-byte string literal not displayed */
	// The catalog repo name derived from the image reference (e.g. "nginx").
	// Unlike name, which is only unique within one (sub)chart level, repo_name
	// identifies the image repo in the catalog and is the value accepted by
	// AddChartRequest.images.
	RepoName string `protobuf:"bytes,4,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// contains filtered or unexported fields
}

ChartImage represents an image used by a Helm chart. This is loosely based off of https://github.com/helm/community/blob/main/hips/hip-0015.md, but changed to be a simpler schema adopted by more of the community.

func (*ChartImage) Descriptor deprecated added in v0.1.46

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

Deprecated: Use ChartImage.ProtoReflect.Descriptor instead.

func (*ChartImage) GetImage added in v0.1.46

func (x *ChartImage) GetImage() string

func (*ChartImage) GetName added in v0.1.46

func (x *ChartImage) GetName() string

func (*ChartImage) GetRepoName added in v0.1.227

func (x *ChartImage) GetRepoName() string

func (*ChartImage) GetRequirement added in v0.1.87

func (x *ChartImage) GetRequirement() ChartImageRequirement

func (*ChartImage) ProtoMessage added in v0.1.46

func (*ChartImage) ProtoMessage()

func (*ChartImage) ProtoReflect added in v0.1.46

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

func (*ChartImage) Reset added in v0.1.46

func (x *ChartImage) Reset()

func (*ChartImage) String added in v0.1.46

func (x *ChartImage) String() string

type ChartImageBinding added in v0.1.158

type ChartImageBinding struct {

	// UIDP of the chart repo that references the image.
	// Distinct catalogs (community, iamguarded) share bare names
	// but have distinct UIDPs, so this is the identity callers
	// should resolve if they need the chart's name or catalog.
	ChartRepo string `protobuf:"bytes,1,opt,name=chart_repo,json=chartRepo,proto3" json:"chart_repo,omitempty"`
	// Whether the image is required or optional for this chart.
	Requirement ChartImageRequirement `` /* 132-byte string literal not displayed */
	// Bare name of the image repo this binding is for (e.g. "redis"). Echoes
	// the request so batch callers can join bindings back to the image they
	// asked about; also populated in the singular ListChartsByImageRepo
	// response for symmetry.
	ImageRepo string `protobuf:"bytes,3,opt,name=image_repo,json=imageRepo,proto3" json:"image_repo,omitempty"`
	// contains filtered or unexported fields
}

ChartImageBinding describes a chart in the CG catalog that references a specific image, populated by the registry ingester entries derived from chart-lock attestations.

func (*ChartImageBinding) Descriptor deprecated added in v0.1.158

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

Deprecated: Use ChartImageBinding.ProtoReflect.Descriptor instead.

func (*ChartImageBinding) GetChartRepo added in v0.1.158

func (x *ChartImageBinding) GetChartRepo() string

func (*ChartImageBinding) GetImageRepo added in v0.1.221

func (x *ChartImageBinding) GetImageRepo() string

func (*ChartImageBinding) GetRequirement added in v0.1.158

func (x *ChartImageBinding) GetRequirement() ChartImageRequirement

func (*ChartImageBinding) ProtoMessage added in v0.1.158

func (*ChartImageBinding) ProtoMessage()

func (*ChartImageBinding) ProtoReflect added in v0.1.158

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

func (*ChartImageBinding) Reset added in v0.1.158

func (x *ChartImageBinding) Reset()

func (*ChartImageBinding) String added in v0.1.158

func (x *ChartImageBinding) String() string

type ChartImageRequirement added in v0.1.87

type ChartImageRequirement int32

ChartImageRequirement indicates whether a chart image is required or optional for the chart to deploy.

const (
	ChartImageRequirement_REQUIREMENT_UNSPECIFIED ChartImageRequirement = 0
	ChartImageRequirement_REQUIREMENT_REQUIRED    ChartImageRequirement = 1
	ChartImageRequirement_REQUIREMENT_OPTIONAL    ChartImageRequirement = 2
)

func (ChartImageRequirement) Descriptor added in v0.1.87

func (ChartImageRequirement) Enum added in v0.1.87

func (ChartImageRequirement) EnumDescriptor deprecated added in v0.1.87

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

Deprecated: Use ChartImageRequirement.Descriptor instead.

func (ChartImageRequirement) Number added in v0.1.87

func (ChartImageRequirement) String added in v0.1.87

func (x ChartImageRequirement) String() string

func (ChartImageRequirement) Type added in v0.1.87

type ChartsClient added in v0.1.60

type ChartsClient interface {
	// AddChart adds a Helm chart and its image dependencies as synced repos in
	// the destination organization.
	AddChart(ctx context.Context, in *AddChartRequest, opts ...grpc.CallOption) (*AddChartResponse, error)
	// FindChart resolves a chart name to its source repo within a managed chart
	// catalog. The lookup runs server-side under the catalog identity, so callers
	// need no catalog-scoped credentials; the returned source_repo_id is then
	// passed to AddChart. Mirrors the browse-then-add flow the console performs
	// via the graphql catalog interceptor.
	FindChart(ctx context.Context, in *FindChartRequest, opts ...grpc.CallOption) (*FindChartResponse, error)
}

ChartsClient is the client API for Charts service.

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

func NewChartsClient added in v0.1.60

func NewChartsClient(cc grpc.ClientConnInterface) ChartsClient

type ChartsServer added in v0.1.60

type ChartsServer interface {
	// AddChart adds a Helm chart and its image dependencies as synced repos in
	// the destination organization.
	AddChart(context.Context, *AddChartRequest) (*AddChartResponse, error)
	// FindChart resolves a chart name to its source repo within a managed chart
	// catalog. The lookup runs server-side under the catalog identity, so callers
	// need no catalog-scoped credentials; the returned source_repo_id is then
	// passed to AddChart. Mirrors the browse-then-add flow the console performs
	// via the graphql catalog interceptor.
	FindChart(context.Context, *FindChartRequest) (*FindChartResponse, error)
	// contains filtered or unexported methods
}

ChartsServer is the server API for Charts service. All implementations must embed UnimplementedChartsServer for forward compatibility.

type CheckPoliciesRequest added in v0.1.55

type CheckPoliciesRequest struct {

	// The UIDP of the image's parent repository.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image manifest (e.g. "sha256:abc123...").
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPoliciesRequest) Descriptor deprecated added in v0.1.55

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

Deprecated: Use CheckPoliciesRequest.ProtoReflect.Descriptor instead.

func (*CheckPoliciesRequest) GetDigest added in v0.1.55

func (x *CheckPoliciesRequest) GetDigest() string

func (*CheckPoliciesRequest) GetRepoId added in v0.1.55

func (x *CheckPoliciesRequest) GetRepoId() string

func (*CheckPoliciesRequest) ProtoMessage added in v0.1.55

func (*CheckPoliciesRequest) ProtoMessage()

func (*CheckPoliciesRequest) ProtoReflect added in v0.1.55

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

func (*CheckPoliciesRequest) Reset added in v0.1.55

func (x *CheckPoliciesRequest) Reset()

func (*CheckPoliciesRequest) String added in v0.1.55

func (x *CheckPoliciesRequest) String() string

type CheckPoliciesResponse added in v0.1.55

type CheckPoliciesResponse struct {

	// One result per applicable policy.
	Results []*PolicyResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPoliciesResponse) Descriptor deprecated added in v0.1.55

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

Deprecated: Use CheckPoliciesResponse.ProtoReflect.Descriptor instead.

func (*CheckPoliciesResponse) GetResults added in v0.1.55

func (x *CheckPoliciesResponse) GetResults() []*PolicyResult

func (*CheckPoliciesResponse) ProtoMessage added in v0.1.55

func (*CheckPoliciesResponse) ProtoMessage()

func (*CheckPoliciesResponse) ProtoReflect added in v0.1.55

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

func (*CheckPoliciesResponse) Reset added in v0.1.55

func (x *CheckPoliciesResponse) Reset()

func (*CheckPoliciesResponse) String added in v0.1.55

func (x *CheckPoliciesResponse) String() string

type Clients

type Clients interface {
	Registry() RegistryClient
	Charts() ChartsClient
	Vulnerabilities() VulnerabilitiesClient
	Apko() ApkoClient
	Entitlements() EntitlementsClient
	Policies() PoliciesClient

	Close() error
}
Example

ExampleClients demonstrates the Clients interface methods.

package main

import (
	"fmt"

	registry "chainguard.dev/sdk/proto/platform/registry/v1"
	"chainguard.dev/sdk/proto/platform/registry/v1/test"
)

func main() {
	// Create a mock registry client for demonstration.
	// In production, use registry.NewClients() with a real registry URL and token.
	var clients registry.Clients = &test.MockRegistryClients{}

	// Access individual service clients.
	registryClient := clients.Registry()
	vulnsClient := clients.Vulnerabilities()
	apkoClient := clients.Apko()
	entitlementsClient := clients.Entitlements()

	fmt.Printf("Registry client: %T\n", registryClient)
	fmt.Printf("Vulnerabilities client: %T\n", vulnsClient)
	fmt.Printf("Apko client: %T\n", apkoClient)
	fmt.Printf("Entitlements client: %T\n", entitlementsClient)

	// Always close the client when done.
	if err := clients.Close(); err != nil {
		fmt.Printf("Close error: %v\n", err)
	}

}
Output:
Registry client: *test.MockRegistryClient
Vulnerabilities client: *test.MockVulnerabilitiesClient
Apko client: *test.MockApkoClient
Entitlements client: *test.MockEntitlementsClient

func NewClients

func NewClients(ctx context.Context, addr string, token string) (Clients, error)

func NewClientsFromConnection

func NewClientsFromConnection(conn *grpc.ClientConn) Clients

type CreateDeploymentRequest added in v0.1.43

type CreateDeploymentRequest struct {

	// parent_id is the Repo UIDP under which to create the deployment.
	ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// Helm chart configurations for this deployment.
	Charts []*HelmChart `protobuf:"bytes,2,rep,name=charts,proto3" json:"charts,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDeploymentRequest) Descriptor deprecated added in v0.1.43

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

Deprecated: Use CreateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*CreateDeploymentRequest) GetCharts added in v0.1.43

func (x *CreateDeploymentRequest) GetCharts() []*HelmChart

func (*CreateDeploymentRequest) GetParentId added in v0.1.43

func (x *CreateDeploymentRequest) GetParentId() string

func (*CreateDeploymentRequest) ProtoMessage added in v0.1.43

func (*CreateDeploymentRequest) ProtoMessage()

func (*CreateDeploymentRequest) ProtoReflect added in v0.1.43

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

func (*CreateDeploymentRequest) Reset added in v0.1.43

func (x *CreateDeploymentRequest) Reset()

func (*CreateDeploymentRequest) String added in v0.1.43

func (x *CreateDeploymentRequest) String() string

type CreateEntitlementRequest added in v0.1.40

type CreateEntitlementRequest struct {
	Parent      string       `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	Entitlement *Entitlement `protobuf:"bytes,2,opt,name=entitlement,proto3" json:"entitlement,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntitlementRequest) Descriptor deprecated added in v0.1.40

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

Deprecated: Use CreateEntitlementRequest.ProtoReflect.Descriptor instead.

func (*CreateEntitlementRequest) GetEntitlement added in v0.1.40

func (x *CreateEntitlementRequest) GetEntitlement() *Entitlement

func (*CreateEntitlementRequest) GetParent added in v0.1.40

func (x *CreateEntitlementRequest) GetParent() string

func (*CreateEntitlementRequest) ProtoMessage added in v0.1.40

func (*CreateEntitlementRequest) ProtoMessage()

func (*CreateEntitlementRequest) ProtoReflect added in v0.1.40

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

func (*CreateEntitlementRequest) Reset added in v0.1.40

func (x *CreateEntitlementRequest) Reset()

func (*CreateEntitlementRequest) String added in v0.1.40

func (x *CreateEntitlementRequest) String() string

type CreateRepoRequest

type CreateRepoRequest struct {
	ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Repo     *Repo  `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// Disallow updating an existing repo on create name collision
	PreventExisting bool `protobuf:"varint,3,opt,name=prevent_existing,json=preventExisting,proto3" json:"prevent_existing,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepoRequest) Descriptor deprecated

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

Deprecated: Use CreateRepoRequest.ProtoReflect.Descriptor instead.

func (*CreateRepoRequest) GetParentId

func (x *CreateRepoRequest) GetParentId() string

func (*CreateRepoRequest) GetPreventExisting added in v0.1.38

func (x *CreateRepoRequest) GetPreventExisting() bool

func (*CreateRepoRequest) GetRepo

func (x *CreateRepoRequest) GetRepo() *Repo

func (*CreateRepoRequest) ProtoMessage

func (*CreateRepoRequest) ProtoMessage()

func (*CreateRepoRequest) ProtoReflect

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

func (*CreateRepoRequest) Reset

func (x *CreateRepoRequest) Reset()

func (*CreateRepoRequest) String

func (x *CreateRepoRequest) String() string

type CreateTagRequest

type CreateTagRequest struct {
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	Tag    *Tag   `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTagRequest) Descriptor deprecated

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetRepoId

func (x *CreateTagRequest) GetRepoId() string

func (*CreateTagRequest) GetTag

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

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

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

type CustomOverlay added in v0.1.26

type CustomOverlay struct {

	// Mirrors apko configuration for image contents.
	Contents    *ImageContents    `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	Environment map[string]string `` /* 149-byte string literal not displayed */
	Annotations map[string]string `` /* 149-byte string literal not displayed */
	// Additional account customizations applied during rebuilds.
	Accounts     *ApkoConfig_Accounts        `protobuf:"bytes,4,opt,name=accounts,proto3" json:"accounts,omitempty"`
	Certificates *CustomOverlay_Certificates `protobuf:"bytes,15,opt,name=certificates,proto3" json:"certificates,omitempty"`
	// Guarded Entrypoint is a Beta feature. To get access, contact Chainguard
	// customer support.
	//
	// Wraps the image entrypoint with /usr/bin/guarded-entrypoint on rebuild.
	// At container start the wrapper replaces each environment value written
	// as a secret reference, cg+BACKEND://REF (for example
	// cg+gsm://projects/acme/secrets/db/versions/latest), with the secret,
	// runs any preflight checks, and then starts the app.
	GuardedEntrypoint bool `protobuf:"varint,5,opt,name=guarded_entrypoint,json=guardedEntrypoint,proto3" json:"guarded_entrypoint,omitempty"`
	// Part of Guarded Entrypoint, a Beta feature. To get access, contact
	// Chainguard customer support.
	//
	// Readiness checks to run before starting the app. Requires
	// guarded_entrypoint. Up to 32 entries. The syncer bakes each
	// entry into the image as one environment variable using a flat
	// encoding, e.g.
	// GUARDED_PREFLIGHT_0=tcp=redis:6379,timeout=60s,interval=1s,on_failure=fail
	// (n starts at 0; values may not contain "," or "=").
	Preflight []*CustomOverlay_Preflight `protobuf:"bytes,6,rep,name=preflight,proto3" json:"preflight,omitempty"`
	// Part of Guarded Entrypoint, a Beta feature. To get access, contact
	// Chainguard customer support.
	//
	// Command override for the guarded_entrypoint wrapper. Requires
	// guarded_entrypoint.
	CommandOverride *CustomOverlay_CommandOverride `protobuf:"bytes,7,opt,name=command_override,json=commandOverride,proto3" json:"command_override,omitempty"`
	// Part of Guarded Entrypoint, a Beta feature. To get access, contact
	// Chainguard customer support.
	//
	// How the wrapper handles secret-resolution failures. Requires
	// guarded_entrypoint. Default is FAIL_MODE_CLOSED. Baked into the
	// image by the syncer as GUARDED_FAIL_MODE=closed|open, emitted only
	// when FAIL_MODE_OPEN; a closed repo's image is unchanged.
	FailMode CustomOverlay_FailMode `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CustomOverlay) Descriptor deprecated added in v0.1.26

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

Deprecated: Use CustomOverlay.ProtoReflect.Descriptor instead.

func (*CustomOverlay) GetAccounts added in v0.1.45

func (x *CustomOverlay) GetAccounts() *ApkoConfig_Accounts

func (*CustomOverlay) GetAnnotations added in v0.1.35

func (x *CustomOverlay) GetAnnotations() map[string]string

func (*CustomOverlay) GetCertificates added in v0.1.46

func (x *CustomOverlay) GetCertificates() *CustomOverlay_Certificates

func (*CustomOverlay) GetCommandOverride added in v0.1.304

func (x *CustomOverlay) GetCommandOverride() *CustomOverlay_CommandOverride

func (*CustomOverlay) GetContents added in v0.1.26

func (x *CustomOverlay) GetContents() *ImageContents

func (*CustomOverlay) GetEnvironment added in v0.1.35

func (x *CustomOverlay) GetEnvironment() map[string]string

func (*CustomOverlay) GetFailMode added in v0.1.305

func (x *CustomOverlay) GetFailMode() CustomOverlay_FailMode

func (*CustomOverlay) GetGuardedEntrypoint added in v0.1.301

func (x *CustomOverlay) GetGuardedEntrypoint() bool

func (*CustomOverlay) GetPreflight added in v0.1.303

func (x *CustomOverlay) GetPreflight() []*CustomOverlay_Preflight

func (*CustomOverlay) ProtoMessage added in v0.1.26

func (*CustomOverlay) ProtoMessage()

func (*CustomOverlay) ProtoReflect added in v0.1.26

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

func (*CustomOverlay) Reset added in v0.1.26

func (x *CustomOverlay) Reset()

func (*CustomOverlay) String added in v0.1.26

func (x *CustomOverlay) String() string

type CustomOverlay_Certificates added in v0.1.46

type CustomOverlay_Certificates struct {
	Additional []*CustomOverlay_Certificates_AdditionalEntry `protobuf:"bytes,1,rep,name=additional,proto3" json:"additional,omitempty"`
	Providers  []string                                      `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomOverlay_Certificates) Descriptor deprecated added in v0.1.46

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

Deprecated: Use CustomOverlay_Certificates.ProtoReflect.Descriptor instead.

func (*CustomOverlay_Certificates) GetAdditional added in v0.1.46

func (*CustomOverlay_Certificates) GetProviders added in v0.1.51

func (x *CustomOverlay_Certificates) GetProviders() []string

func (*CustomOverlay_Certificates) ProtoMessage added in v0.1.46

func (*CustomOverlay_Certificates) ProtoMessage()

func (*CustomOverlay_Certificates) ProtoReflect added in v0.1.46

func (*CustomOverlay_Certificates) Reset added in v0.1.46

func (x *CustomOverlay_Certificates) Reset()

func (*CustomOverlay_Certificates) String added in v0.1.46

func (x *CustomOverlay_Certificates) String() string

type CustomOverlay_Certificates_AdditionalEntry added in v0.1.46

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

func (*CustomOverlay_Certificates_AdditionalEntry) Descriptor deprecated added in v0.1.46

Deprecated: Use CustomOverlay_Certificates_AdditionalEntry.ProtoReflect.Descriptor instead.

func (*CustomOverlay_Certificates_AdditionalEntry) GetContent added in v0.1.46

func (*CustomOverlay_Certificates_AdditionalEntry) GetName added in v0.1.46

func (*CustomOverlay_Certificates_AdditionalEntry) ProtoMessage added in v0.1.46

func (*CustomOverlay_Certificates_AdditionalEntry) ProtoReflect added in v0.1.46

func (*CustomOverlay_Certificates_AdditionalEntry) Reset added in v0.1.46

func (*CustomOverlay_Certificates_AdditionalEntry) String added in v0.1.46

type CustomOverlay_CommandOverride added in v0.1.304

type CustomOverlay_CommandOverride struct {

	// Argument list that combines with the container's runtime
	// arguments per mode. When empty, the wrapper execs the arguments
	// it received.
	//
	// Each entry expands ${VAR} from the container's resolved
	// environment, after secret references are resolved; the runtime
	// arguments are never expanded. $$ is a literal $, and any other $
	// is kept as is. A ${VAR} whose variable is not set stops the
	// container (exit 121) instead of expanding to an empty string. An
	// expanded value is visible in the process's command line, so a
	// secret passed this way is readable by anything that can inspect
	// the process.
	//
	// The command itself is stored in the image config, which anyone who
	// can pull the image can read, so never write a secret into it as a
	// literal value. Reference an environment variable that holds a
	// secret reference instead, for example ${REDIS_PASSWORD}. That keeps
	// the secret out of the image, but as with any ${VAR}, the expanded
	// value is still visible in the process's command line.
	Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"`
	// How command combines with the container's runtime arguments.
	// Default is MODE_DEFAULT. Non-empty command is required when mode
	// is MODE_PREPEND or MODE_OVERRIDE.
	Mode CustomOverlay_CommandOverride_Mode `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

CommandOverride decides what the wrapper execs after preparing the environment: in MODE_DEFAULT the wrapper execs command only when it receives no arguments at all (the image has no ENTRYPOINT or CMD and none are passed at run time), and otherwise execs the arguments it received; in MODE_PREPEND it execs command followed by those arguments; in MODE_OVERRIDE it execs command alone. The image's ENTRYPOINT (wrapper-prefixed) and CMD are unchanged in every mode. The syncer bakes this into the image as two environment variables: GUARDED_COMMAND_MODE=default|prepend|override and GUARDED_COMMAND=<JSON array>, e.g. GUARDED_COMMAND=["redis-server","--requirepass","${REDIS_PASSWORD}"].

func (*CustomOverlay_CommandOverride) Descriptor deprecated added in v0.1.304

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

Deprecated: Use CustomOverlay_CommandOverride.ProtoReflect.Descriptor instead.

func (*CustomOverlay_CommandOverride) GetCommand added in v0.1.304

func (x *CustomOverlay_CommandOverride) GetCommand() []string

func (*CustomOverlay_CommandOverride) GetMode added in v0.1.304

func (*CustomOverlay_CommandOverride) ProtoMessage added in v0.1.304

func (*CustomOverlay_CommandOverride) ProtoMessage()

func (*CustomOverlay_CommandOverride) ProtoReflect added in v0.1.304

func (*CustomOverlay_CommandOverride) Reset added in v0.1.304

func (x *CustomOverlay_CommandOverride) Reset()

func (*CustomOverlay_CommandOverride) String added in v0.1.304

type CustomOverlay_CommandOverride_Mode added in v0.1.304

type CustomOverlay_CommandOverride_Mode int32

Mode decides how command combines with the container's runtime arguments.

const (
	CustomOverlay_CommandOverride_MODE_UNSPECIFIED CustomOverlay_CommandOverride_Mode = 0
	CustomOverlay_CommandOverride_MODE_DEFAULT     CustomOverlay_CommandOverride_Mode = 1
	CustomOverlay_CommandOverride_MODE_PREPEND     CustomOverlay_CommandOverride_Mode = 2
	CustomOverlay_CommandOverride_MODE_OVERRIDE    CustomOverlay_CommandOverride_Mode = 3
)

func (CustomOverlay_CommandOverride_Mode) Descriptor added in v0.1.304

func (CustomOverlay_CommandOverride_Mode) Enum added in v0.1.304

func (CustomOverlay_CommandOverride_Mode) EnumDescriptor deprecated added in v0.1.304

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

Deprecated: Use CustomOverlay_CommandOverride_Mode.Descriptor instead.

func (CustomOverlay_CommandOverride_Mode) Number added in v0.1.304

func (CustomOverlay_CommandOverride_Mode) String added in v0.1.304

func (CustomOverlay_CommandOverride_Mode) Type added in v0.1.304

type CustomOverlay_FailMode added in v0.1.305

type CustomOverlay_FailMode int32

FailMode decides what the wrapper does when secret resolution fails (see the wrapper's fail-mode setting): fail-closed (the default) refuses to start the app; fail-open logs and starts anyway.

const (
	CustomOverlay_FAIL_MODE_UNSPECIFIED CustomOverlay_FailMode = 0
	CustomOverlay_FAIL_MODE_CLOSED      CustomOverlay_FailMode = 1
	CustomOverlay_FAIL_MODE_OPEN        CustomOverlay_FailMode = 2
)

func (CustomOverlay_FailMode) Descriptor added in v0.1.305

func (CustomOverlay_FailMode) Enum added in v0.1.305

func (CustomOverlay_FailMode) EnumDescriptor deprecated added in v0.1.305

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

Deprecated: Use CustomOverlay_FailMode.Descriptor instead.

func (CustomOverlay_FailMode) Number added in v0.1.305

func (CustomOverlay_FailMode) String added in v0.1.305

func (x CustomOverlay_FailMode) String() string

func (CustomOverlay_FailMode) Type added in v0.1.305

type CustomOverlay_Preflight added in v0.1.303

type CustomOverlay_Preflight struct {

	// TCP endpoint to dial (host:port). Set exactly one of tcp or path.
	// Supports ${VAR} expansion from the resolved environment. Must
	// not contain "," or "=".
	Tcp string `protobuf:"bytes,1,opt,name=tcp,proto3" json:"tcp,omitempty"`
	// Filesystem path that must exist. Set exactly one of tcp or path.
	// Supports ${VAR} expansion from the resolved environment. Must
	// not contain "," or "=".
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// Time budget for the check, as a Go duration string like "30s".
	// Non-negative. Default 30s.
	Timeout string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Polling interval between attempts, as a Go duration string.
	// Non-negative. Default 500ms.
	Interval string `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
	// What happens when the check fails. Default FAIL.
	OnFailure CustomOverlay_Preflight_OnFailure `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Preflight is one readiness check to run before the app starts.

func (*CustomOverlay_Preflight) Descriptor deprecated added in v0.1.303

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

Deprecated: Use CustomOverlay_Preflight.ProtoReflect.Descriptor instead.

func (*CustomOverlay_Preflight) GetInterval added in v0.1.303

func (x *CustomOverlay_Preflight) GetInterval() string

func (*CustomOverlay_Preflight) GetOnFailure added in v0.1.303

func (*CustomOverlay_Preflight) GetPath added in v0.1.303

func (x *CustomOverlay_Preflight) GetPath() string

func (*CustomOverlay_Preflight) GetTcp added in v0.1.303

func (x *CustomOverlay_Preflight) GetTcp() string

func (*CustomOverlay_Preflight) GetTimeout added in v0.1.303

func (x *CustomOverlay_Preflight) GetTimeout() string

func (*CustomOverlay_Preflight) ProtoMessage added in v0.1.303

func (*CustomOverlay_Preflight) ProtoMessage()

func (*CustomOverlay_Preflight) ProtoReflect added in v0.1.303

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

func (*CustomOverlay_Preflight) Reset added in v0.1.303

func (x *CustomOverlay_Preflight) Reset()

func (*CustomOverlay_Preflight) String added in v0.1.303

func (x *CustomOverlay_Preflight) String() string

type CustomOverlay_Preflight_OnFailure added in v0.1.303

type CustomOverlay_Preflight_OnFailure int32

OnFailure decides what happens when a preflight check fails.

const (
	CustomOverlay_Preflight_ON_FAILURE_UNSPECIFIED CustomOverlay_Preflight_OnFailure = 0
	CustomOverlay_Preflight_ON_FAILURE_FAIL        CustomOverlay_Preflight_OnFailure = 1
	CustomOverlay_Preflight_ON_FAILURE_CONTINUE    CustomOverlay_Preflight_OnFailure = 2
)

func (CustomOverlay_Preflight_OnFailure) Descriptor added in v0.1.303

func (CustomOverlay_Preflight_OnFailure) Enum added in v0.1.303

func (CustomOverlay_Preflight_OnFailure) EnumDescriptor deprecated added in v0.1.303

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

Deprecated: Use CustomOverlay_Preflight_OnFailure.Descriptor instead.

func (CustomOverlay_Preflight_OnFailure) Number added in v0.1.303

func (CustomOverlay_Preflight_OnFailure) String added in v0.1.303

func (CustomOverlay_Preflight_OnFailure) Type added in v0.1.303

type DeleteEntitlementRequest added in v0.1.40

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

func (*DeleteEntitlementRequest) Descriptor deprecated added in v0.1.40

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

Deprecated: Use DeleteEntitlementRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntitlementRequest) GetId added in v0.1.40

func (x *DeleteEntitlementRequest) GetId() string

func (*DeleteEntitlementRequest) ProtoMessage added in v0.1.40

func (*DeleteEntitlementRequest) ProtoMessage()

func (*DeleteEntitlementRequest) ProtoReflect added in v0.1.40

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

func (*DeleteEntitlementRequest) Reset added in v0.1.40

func (x *DeleteEntitlementRequest) Reset()

func (*DeleteEntitlementRequest) String added in v0.1.40

func (x *DeleteEntitlementRequest) String() string

type DeleteRepoRequest

type DeleteRepoRequest struct {

	// ID, UID of the record.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepoRequest) CloudEventsExtension added in v0.1.39

func (x *DeleteRepoRequest) CloudEventsExtension(key string) (string, bool)

CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension

func (*DeleteRepoRequest) CloudEventsSubject added in v0.1.39

func (x *DeleteRepoRequest) CloudEventsSubject() string

CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject.

func (*DeleteRepoRequest) Descriptor deprecated

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

Deprecated: Use DeleteRepoRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepoRequest) GetId

func (x *DeleteRepoRequest) GetId() string

func (*DeleteRepoRequest) ProtoMessage

func (*DeleteRepoRequest) ProtoMessage()

func (*DeleteRepoRequest) ProtoReflect

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

func (*DeleteRepoRequest) Reset

func (x *DeleteRepoRequest) Reset()

func (*DeleteRepoRequest) String

func (x *DeleteRepoRequest) String() string

type DeleteTagRequest

type DeleteTagRequest struct {

	// ID, UID of the record.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTagRequest) Descriptor deprecated

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetId

func (x *DeleteTagRequest) GetId() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

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

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type Deployment added in v0.1.43

type Deployment struct {

	// id is the identifier of this deployment, same as parent Repo UIDP.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Helm chart configurations for this deployment.
	Charts []*HelmChart `protobuf:"bytes,2,rep,name=charts,proto3" json:"charts,omitempty"`
	// contains filtered or unexported fields
}

Deployment configuration for a repository

func (*Deployment) Descriptor deprecated added in v0.1.43

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetCharts added in v0.1.43

func (x *Deployment) GetCharts() []*HelmChart

func (*Deployment) GetId added in v0.1.43

func (x *Deployment) GetId() string

func (*Deployment) ProtoMessage added in v0.1.43

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect added in v0.1.43

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

func (*Deployment) Reset added in v0.1.43

func (x *Deployment) Reset()

func (*Deployment) String added in v0.1.43

func (x *Deployment) String() string

type DiffImageResponse added in v0.1.2

type DiffImageResponse struct {
	Packages        *PackagesDiff        `protobuf:"bytes,1,opt,name=packages,proto3" json:"packages,omitempty"`
	Vulnerabilities *VulnerabilitiesDiff `protobuf:"bytes,2,opt,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// warnings is a list of warning messages to return to the requesting client.
	// Warning messages describe a problem the requesting client should correct or be aware of.
	// Warnings over 256 characters and large numbers of warnings may be truncated.
	Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffImageResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use DiffImageResponse.ProtoReflect.Descriptor instead.

func (*DiffImageResponse) GetPackages added in v0.1.2

func (x *DiffImageResponse) GetPackages() *PackagesDiff

func (*DiffImageResponse) GetVulnerabilities added in v0.1.2

func (x *DiffImageResponse) GetVulnerabilities() *VulnerabilitiesDiff

func (*DiffImageResponse) GetWarnings added in v0.1.2

func (x *DiffImageResponse) GetWarnings() []string

func (*DiffImageResponse) ProtoMessage added in v0.1.2

func (*DiffImageResponse) ProtoMessage()

func (*DiffImageResponse) ProtoReflect added in v0.1.2

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

func (*DiffImageResponse) Reset added in v0.1.2

func (x *DiffImageResponse) Reset()

func (*DiffImageResponse) String added in v0.1.2

func (x *DiffImageResponse) String() string

type EntitledImage added in v0.1.54

type EntitledImage struct {

	// The catalog image repository UIDP.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Human-readable image name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The catalog tier of the image.
	CatalogTier CatalogTier `` /* 141-byte string literal not displayed */
	// The entitlement type that granted access to this image.
	Type Entitlement_Type `protobuf:"varint,4,opt,name=type,proto3,enum=chainguard.platform.registry.Entitlement_Type" json:"type,omitempty"`
	// When access to this image expires. Unset means no expiration.
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	// Whether the image is entitled as a member of an image group rather than
	// individually. Populated on GetEffectiveEntitlementsResponse.active_images,
	// RemoveEntitlementImagesResponse.images, and
	// SwapEntitlementImagesResponse.removed, which all report stored catalog
	// images. Always false on AddEntitlementImagesResponse.images and
	// SwapEntitlementImagesResponse.added, whose images are being entitled
	// individually by the request itself.
	IncludedInImageGroup bool `` /* 126-byte string literal not displayed */
	// Human-readable name of the image group.
	ImageGroupName string `protobuf:"bytes,7,opt,name=image_group_name,json=imageGroupName,proto3" json:"image_group_name,omitempty"`
	// Identifier for the image group in whatever external system defined it
	// (Salesforce/SFDC, GitHub, or another source).
	ExternalImageGroupId string `protobuf:"bytes,8,opt,name=external_image_group_id,json=externalImageGroupId,proto3" json:"external_image_group_id,omitempty"`
	// The entitlement this image attachment belongs to. On responses that report
	// one entry per affected entitlement, this disambiguates which entitlement
	// each entry came from.
	EntitlementId string `protobuf:"bytes,9,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"`
	// contains filtered or unexported fields
}

EntitledImage is an image that an organization is currently entitled to access.

func (*EntitledImage) Descriptor deprecated added in v0.1.54

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

Deprecated: Use EntitledImage.ProtoReflect.Descriptor instead.

func (*EntitledImage) GetCatalogTier added in v0.1.54

func (x *EntitledImage) GetCatalogTier() CatalogTier

func (*EntitledImage) GetEntitlementId added in v0.1.254

func (x *EntitledImage) GetEntitlementId() string

func (*EntitledImage) GetExpirationTime added in v0.1.54

func (x *EntitledImage) GetExpirationTime() *timestamppb.Timestamp

func (*EntitledImage) GetExternalImageGroupId added in v0.1.225

func (x *EntitledImage) GetExternalImageGroupId() string

func (*EntitledImage) GetId added in v0.1.54

func (x *EntitledImage) GetId() string

func (*EntitledImage) GetImageGroupName added in v0.1.225

func (x *EntitledImage) GetImageGroupName() string

func (*EntitledImage) GetIncludedInImageGroup added in v0.1.225

func (x *EntitledImage) GetIncludedInImageGroup() bool

func (*EntitledImage) GetName added in v0.1.54

func (x *EntitledImage) GetName() string

func (*EntitledImage) GetType added in v0.1.54

func (x *EntitledImage) GetType() Entitlement_Type

func (*EntitledImage) ProtoMessage added in v0.1.54

func (*EntitledImage) ProtoMessage()

func (*EntitledImage) ProtoReflect added in v0.1.54

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

func (*EntitledImage) Reset added in v0.1.54

func (x *EntitledImage) Reset()

func (*EntitledImage) String added in v0.1.54

func (x *EntitledImage) String() string

type Entitlement added in v0.1.32

type Entitlement struct {
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ExternalId     string                 `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	CreateTime     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	Type           Entitlement_Type       `protobuf:"varint,6,opt,name=type,proto3,enum=chainguard.platform.registry.Entitlement_Type" json:"type,omitempty"`
	// Keys can't be enum types, but string should match CatalogTier.
	Quota map[string]*ImageQuota `` /* 137-byte string literal not displayed */
	// List of catalog tiers (e.g., ["APPLICATION", "BASE"]) that have unlimited access.
	// This field is used for AYCE (All You Can Eat) entitlements.
	Tiers []CatalogTier `protobuf:"varint,8,rep,packed,name=tiers,proto3,enum=chainguard.platform.registry.CatalogTier" json:"tiers,omitempty"`
	// contains filtered or unexported fields
}

Entitlement contains information about what an organization is entitled to.

func (*Entitlement) Descriptor deprecated added in v0.1.32

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

Deprecated: Use Entitlement.ProtoReflect.Descriptor instead.

func (*Entitlement) GetCreateTime added in v0.1.32

func (x *Entitlement) GetCreateTime() *timestamppb.Timestamp

func (*Entitlement) GetExpirationTime added in v0.1.32

func (x *Entitlement) GetExpirationTime() *timestamppb.Timestamp

func (*Entitlement) GetExternalId added in v0.1.32

func (x *Entitlement) GetExternalId() string

func (*Entitlement) GetId added in v0.1.32

func (x *Entitlement) GetId() string

func (*Entitlement) GetQuota added in v0.1.32

func (x *Entitlement) GetQuota() map[string]*ImageQuota

func (*Entitlement) GetTiers added in v0.1.38

func (x *Entitlement) GetTiers() []CatalogTier

func (*Entitlement) GetType added in v0.1.32

func (x *Entitlement) GetType() Entitlement_Type

func (*Entitlement) GetUpdateTime added in v0.1.32

func (x *Entitlement) GetUpdateTime() *timestamppb.Timestamp

func (*Entitlement) ProtoMessage added in v0.1.32

func (*Entitlement) ProtoMessage()

func (*Entitlement) ProtoReflect added in v0.1.32

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

func (*Entitlement) Reset added in v0.1.32

func (x *Entitlement) Reset()

func (*Entitlement) String added in v0.1.32

func (x *Entitlement) String() string

type EntitlementFilter added in v0.1.32

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

func (*EntitlementFilter) Descriptor deprecated added in v0.1.32

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

Deprecated: Use EntitlementFilter.ProtoReflect.Descriptor instead.

func (*EntitlementFilter) GetParent added in v0.1.32

func (x *EntitlementFilter) GetParent() string

func (*EntitlementFilter) ProtoMessage added in v0.1.32

func (*EntitlementFilter) ProtoMessage()

func (*EntitlementFilter) ProtoReflect added in v0.1.32

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

func (*EntitlementFilter) Reset added in v0.1.32

func (x *EntitlementFilter) Reset()

func (*EntitlementFilter) String added in v0.1.32

func (x *EntitlementFilter) String() string

type EntitlementImage added in v0.1.32

type EntitlementImage struct {

	// The image repository UID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The image repository catalog tier the image is associated with.
	Tier CatalogTier `protobuf:"varint,2,opt,name=tier,proto3,enum=chainguard.platform.registry.CatalogTier" json:"tier,omitempty"`
	// Human-readable image name corresponding to id.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Whether the image is entitled as a member of an image group rather than
	// individually. Populated by ListEntitlementCatalogImages; always false on
	// ListEntitlementImages, whose table has no image group columns.
	IncludedInImageGroup bool `` /* 126-byte string literal not displayed */
	// Human-readable name of the image group.
	ImageGroupName string `protobuf:"bytes,5,opt,name=image_group_name,json=imageGroupName,proto3" json:"image_group_name,omitempty"`
	// Identifier for the image group in whatever external system defined it
	// (Salesforce/SFDC, GitHub, or another source).
	ExternalImageGroupId string `protobuf:"bytes,6,opt,name=external_image_group_id,json=externalImageGroupId,proto3" json:"external_image_group_id,omitempty"`
	// delete_time is when the image was removed from the entitlement. It is set
	// only on a removed image, which ListEntitlementCatalogImages returns when
	// asked with include_deleted. Always unset on ListEntitlementImages.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Whether the removal recorded by delete_time is charged against the
	// organization's rolling swap budget. A property of the removal, not of the
	// image: re-adding the image clears it along with delete_time, so a live image
	// always reads false. Removals that are not charged include those made by
	// deleting the whole entitlement, which removes all of its images, by internal
	// reconcilers, or by Chainguard staff acting on the organization's behalf.
	// Always false on ListEntitlementImages.
	CountsTowardSwapQuota bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EntitlementImage) Descriptor deprecated added in v0.1.32

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

Deprecated: Use EntitlementImage.ProtoReflect.Descriptor instead.

func (*EntitlementImage) GetCountsTowardSwapQuota added in v0.1.358

func (x *EntitlementImage) GetCountsTowardSwapQuota() bool

func (*EntitlementImage) GetDeleteTime added in v0.1.358

func (x *EntitlementImage) GetDeleteTime() *timestamppb.Timestamp

func (*EntitlementImage) GetExternalImageGroupId added in v0.1.225

func (x *EntitlementImage) GetExternalImageGroupId() string

func (*EntitlementImage) GetId added in v0.1.32

func (x *EntitlementImage) GetId() string

func (*EntitlementImage) GetImageGroupName added in v0.1.225

func (x *EntitlementImage) GetImageGroupName() string

func (*EntitlementImage) GetIncludedInImageGroup added in v0.1.225

func (x *EntitlementImage) GetIncludedInImageGroup() bool

func (*EntitlementImage) GetName added in v0.1.32

func (x *EntitlementImage) GetName() string

func (*EntitlementImage) GetTier added in v0.1.32

func (x *EntitlementImage) GetTier() CatalogTier

func (*EntitlementImage) ProtoMessage added in v0.1.32

func (*EntitlementImage) ProtoMessage()

func (*EntitlementImage) ProtoReflect added in v0.1.32

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

func (*EntitlementImage) Reset added in v0.1.32

func (x *EntitlementImage) Reset()

func (*EntitlementImage) String added in v0.1.32

func (x *EntitlementImage) String() string

type EntitlementImagesFilter added in v0.1.32

type EntitlementImagesFilter struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// include_deleted also returns images removed from the entitlement, each with
	// delete_time set. Honored only by ListEntitlementCatalogImages;
	// ListEntitlementImages accepts and ignores it.
	IncludeDeleted bool `protobuf:"varint,2,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementImagesFilter) Descriptor deprecated added in v0.1.32

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

Deprecated: Use EntitlementImagesFilter.ProtoReflect.Descriptor instead.

func (*EntitlementImagesFilter) GetIncludeDeleted added in v0.1.358

func (x *EntitlementImagesFilter) GetIncludeDeleted() bool

func (*EntitlementImagesFilter) GetParent added in v0.1.32

func (x *EntitlementImagesFilter) GetParent() string

func (*EntitlementImagesFilter) ProtoMessage added in v0.1.32

func (*EntitlementImagesFilter) ProtoMessage()

func (*EntitlementImagesFilter) ProtoReflect added in v0.1.32

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

func (*EntitlementImagesFilter) Reset added in v0.1.32

func (x *EntitlementImagesFilter) Reset()

func (*EntitlementImagesFilter) String added in v0.1.32

func (x *EntitlementImagesFilter) String() string

type EntitlementImagesList added in v0.1.32

type EntitlementImagesList struct {
	Images []*EntitlementImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementImagesList) Descriptor deprecated added in v0.1.32

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

Deprecated: Use EntitlementImagesList.ProtoReflect.Descriptor instead.

func (*EntitlementImagesList) GetImages added in v0.1.32

func (x *EntitlementImagesList) GetImages() []*EntitlementImage

func (*EntitlementImagesList) ProtoMessage added in v0.1.32

func (*EntitlementImagesList) ProtoMessage()

func (*EntitlementImagesList) ProtoReflect added in v0.1.32

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

func (*EntitlementImagesList) Reset added in v0.1.32

func (x *EntitlementImagesList) Reset()

func (*EntitlementImagesList) String added in v0.1.32

func (x *EntitlementImagesList) String() string

type EntitlementList added in v0.1.32

type EntitlementList struct {
	Items []*Entitlement `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementList) Descriptor deprecated added in v0.1.32

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

Deprecated: Use EntitlementList.ProtoReflect.Descriptor instead.

func (*EntitlementList) GetItems added in v0.1.32

func (x *EntitlementList) GetItems() []*Entitlement

func (*EntitlementList) ProtoMessage added in v0.1.32

func (*EntitlementList) ProtoMessage()

func (*EntitlementList) ProtoReflect added in v0.1.32

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

func (*EntitlementList) Reset added in v0.1.32

func (x *EntitlementList) Reset()

func (*EntitlementList) String added in v0.1.32

func (x *EntitlementList) String() string

type EntitlementSummaryRequest added in v0.1.33

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

func (*EntitlementSummaryRequest) Descriptor deprecated added in v0.1.33

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

Deprecated: Use EntitlementSummaryRequest.ProtoReflect.Descriptor instead.

func (*EntitlementSummaryRequest) GetParent added in v0.1.33

func (x *EntitlementSummaryRequest) GetParent() string

func (*EntitlementSummaryRequest) ProtoMessage added in v0.1.33

func (*EntitlementSummaryRequest) ProtoMessage()

func (*EntitlementSummaryRequest) ProtoReflect added in v0.1.33

func (*EntitlementSummaryRequest) Reset added in v0.1.33

func (x *EntitlementSummaryRequest) Reset()

func (*EntitlementSummaryRequest) String added in v0.1.33

func (x *EntitlementSummaryRequest) String() string

type EntitlementSummaryResponse added in v0.1.33

type EntitlementSummaryResponse struct {

	// Keys can't be enum types, but string should match CatalogTier.
	Quota map[string]*ImageQuota `` /* 137-byte string literal not displayed */
	// last updated time
	LastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_updated_time,json=lastUpdatedTime,proto3" json:"last_updated_time,omitempty"`
	// contains filtered or unexported fields
}

func (*EntitlementSummaryResponse) Descriptor deprecated added in v0.1.33

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

Deprecated: Use EntitlementSummaryResponse.ProtoReflect.Descriptor instead.

func (*EntitlementSummaryResponse) GetLastUpdatedTime added in v0.1.33

func (x *EntitlementSummaryResponse) GetLastUpdatedTime() *timestamppb.Timestamp

func (*EntitlementSummaryResponse) GetQuota added in v0.1.33

func (x *EntitlementSummaryResponse) GetQuota() map[string]*ImageQuota

func (*EntitlementSummaryResponse) ProtoMessage added in v0.1.33

func (*EntitlementSummaryResponse) ProtoMessage()

func (*EntitlementSummaryResponse) ProtoReflect added in v0.1.33

func (*EntitlementSummaryResponse) Reset added in v0.1.33

func (x *EntitlementSummaryResponse) Reset()

func (*EntitlementSummaryResponse) String added in v0.1.33

func (x *EntitlementSummaryResponse) String() string

type Entitlement_Type added in v0.1.32

type Entitlement_Type int32
const (
	Entitlement_UNKNOWN    Entitlement_Type = 0
	Entitlement_TRIAL      Entitlement_Type = 1
	Entitlement_PRODUCTION Entitlement_Type = 2
	Entitlement_EXTRA      Entitlement_Type = 3
	Entitlement_STARTER    Entitlement_Type = 4
)

func (Entitlement_Type) Descriptor added in v0.1.32

func (Entitlement_Type) Enum added in v0.1.32

func (Entitlement_Type) EnumDescriptor deprecated added in v0.1.32

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

Deprecated: Use Entitlement_Type.Descriptor instead.

func (Entitlement_Type) Number added in v0.1.32

func (Entitlement_Type) String added in v0.1.32

func (x Entitlement_Type) String() string

func (Entitlement_Type) Type added in v0.1.32

type EntitlementsClient added in v0.1.32

type EntitlementsClient interface {
	ListEntitlements(ctx context.Context, in *EntitlementFilter, opts ...grpc.CallOption) (*EntitlementList, error)
	// Deprecated: Do not use.
	// Deprecated: use ListEntitlementCatalogImages.
	ListEntitlementImages(ctx context.Context, in *EntitlementImagesFilter, opts ...grpc.CallOption) (*EntitlementImagesList, error)
	// ListEntitlementCatalogImages returns catalog images for per-repo entitlements only.
	// AYCE entitlements return empty list since access is captured in parent Entitlement.
	ListEntitlementCatalogImages(ctx context.Context, in *EntitlementImagesFilter, opts ...grpc.CallOption) (*EntitlementImagesList, error)
	// Summary provides a group-level summary of entitlements.
	Summary(ctx context.Context, in *EntitlementSummaryRequest, opts ...grpc.CallOption) (*EntitlementSummaryResponse, error)
	// GetEffectiveEntitlements returns the summarized effective entitlement state
	// for an organization, including plan, active tiers, entitled images, and quotas.
	GetEffectiveEntitlements(ctx context.Context, in *GetEffectiveEntitlementsRequest, opts ...grpc.CallOption) (*GetEffectiveEntitlementsResponse, error)
	GetFeatures(ctx context.Context, in *GetFeaturesRequest, opts ...grpc.CallOption) (*GetFeaturesResponse, error)
	CreateEntitlement(ctx context.Context, in *CreateEntitlementRequest, opts ...grpc.CallOption) (*Entitlement, error)
	DeleteEntitlement(ctx context.Context, in *DeleteEntitlementRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// AddEntitlementImages adds catalog images to an organization's entitlements.
	// Images are specified by name and resolved against the catalog.
	// The backend selects an eligible entitlement with matching tier capacity,
	// preferring the newest, unless an explicit entitlement_id is provided.
	//
	// May return RESOURCE_EXHAUSTED when the organization has exceeded its
	// rolling 30-day catalog-image swap quota: swaps beyond the quota consume
	// per-tier image capacity until they age out of the window, reducing what can
	// be added. See GetEffectiveEntitlements (swap_quota, swaps_used) for the
	// current budget.
	AddEntitlementImages(ctx context.Context, in *AddEntitlementImagesRequest, opts ...grpc.CallOption) (*AddEntitlementImagesResponse, error)
	// RemoveEntitlementImages removes catalog images from an organization's
	// entitlements. Images are specified by name and matched against the names
	// currently associated with the targeted entitlement(s).
	// When selecting by parent, the named images are removed from every
	// entitlement under the org that currently has them. When selecting by
	// entitlement id, only that entitlement is affected. Names that aren't
	// currently entitled are silently skipped — the response lists only the
	// removals that actually happened.
	//
	// Removal is a soft delete: the underlying rows are retained with a deletion
	// timestamp so that history can be reconstructed for audit purposes.
	//
	// A removal the organization asked for is charged against the rolling 30-day
	// swap quota, the same unit a swap costs, so removing an image and adding it
	// back cannot dodge the quota. A removal performed by Chainguard staff on
	// the organization's behalf is not charged. See GetEffectiveEntitlements
	// (swap_quota, swaps_used) for the current budget.
	RemoveEntitlementImages(ctx context.Context, in *RemoveEntitlementImagesRequest, opts ...grpc.CallOption) (*RemoveEntitlementImagesResponse, error)
	// SwapEntitlementImages atomically removes and adds catalog images on an
	// organization's entitlements in one transaction — the whole swap applies or
	// nothing does, so it can't leave an image removed without its replacement.
	// remove_image_names and add_image_names resolve as in RemoveEntitlementImages
	// and AddEntitlementImages. A swap must be an effective replace: it is
	// INVALID_ARGUMENT if either list is empty, if none of the removes are
	// currently entitled, or if every add is already entitled (individual no-op
	// names within a non-empty side are still skipped).
	//
	// A swap is the unit charged against the rolling 30-day swap quota: an N-for-N
	// swap costs N. May return RESOURCE_EXHAUSTED when it would exceed the quota;
	// see GetEffectiveEntitlements (swap_quota, swaps_used). A swap performed by
	// Chainguard staff on the organization's behalf is not charged, is not
	// blocked by a budget the organization has already spent, and may always put
	// back an image that was swapped out inside the window. A customer swap may
	// get FAILED_PRECONDITION for that same re-add, on the entitlement the image
	// was swapped out of and while the organization's swap quota is finite.
	// Per-tier and total image quotas apply to every caller.
	SwapEntitlementImages(ctx context.Context, in *SwapEntitlementImagesRequest, opts ...grpc.CallOption) (*SwapEntitlementImagesResponse, error)
}

EntitlementsClient is the client API for Entitlements 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.

Entitlements is a service for viewing configuration and features enabled on a registry. NOTE: This API is EARLY ACCESS and is subject to change without notice.

func NewEntitlementsClient added in v0.1.32

func NewEntitlementsClient(cc grpc.ClientConnInterface) EntitlementsClient

type EntitlementsServer added in v0.1.32

type EntitlementsServer interface {
	ListEntitlements(context.Context, *EntitlementFilter) (*EntitlementList, error)
	// Deprecated: Do not use.
	// Deprecated: use ListEntitlementCatalogImages.
	ListEntitlementImages(context.Context, *EntitlementImagesFilter) (*EntitlementImagesList, error)
	// ListEntitlementCatalogImages returns catalog images for per-repo entitlements only.
	// AYCE entitlements return empty list since access is captured in parent Entitlement.
	ListEntitlementCatalogImages(context.Context, *EntitlementImagesFilter) (*EntitlementImagesList, error)
	// Summary provides a group-level summary of entitlements.
	Summary(context.Context, *EntitlementSummaryRequest) (*EntitlementSummaryResponse, error)
	// GetEffectiveEntitlements returns the summarized effective entitlement state
	// for an organization, including plan, active tiers, entitled images, and quotas.
	GetEffectiveEntitlements(context.Context, *GetEffectiveEntitlementsRequest) (*GetEffectiveEntitlementsResponse, error)
	GetFeatures(context.Context, *GetFeaturesRequest) (*GetFeaturesResponse, error)
	CreateEntitlement(context.Context, *CreateEntitlementRequest) (*Entitlement, error)
	DeleteEntitlement(context.Context, *DeleteEntitlementRequest) (*emptypb.Empty, error)
	// AddEntitlementImages adds catalog images to an organization's entitlements.
	// Images are specified by name and resolved against the catalog.
	// The backend selects an eligible entitlement with matching tier capacity,
	// preferring the newest, unless an explicit entitlement_id is provided.
	//
	// May return RESOURCE_EXHAUSTED when the organization has exceeded its
	// rolling 30-day catalog-image swap quota: swaps beyond the quota consume
	// per-tier image capacity until they age out of the window, reducing what can
	// be added. See GetEffectiveEntitlements (swap_quota, swaps_used) for the
	// current budget.
	AddEntitlementImages(context.Context, *AddEntitlementImagesRequest) (*AddEntitlementImagesResponse, error)
	// RemoveEntitlementImages removes catalog images from an organization's
	// entitlements. Images are specified by name and matched against the names
	// currently associated with the targeted entitlement(s).
	// When selecting by parent, the named images are removed from every
	// entitlement under the org that currently has them. When selecting by
	// entitlement id, only that entitlement is affected. Names that aren't
	// currently entitled are silently skipped — the response lists only the
	// removals that actually happened.
	//
	// Removal is a soft delete: the underlying rows are retained with a deletion
	// timestamp so that history can be reconstructed for audit purposes.
	//
	// A removal the organization asked for is charged against the rolling 30-day
	// swap quota, the same unit a swap costs, so removing an image and adding it
	// back cannot dodge the quota. A removal performed by Chainguard staff on
	// the organization's behalf is not charged. See GetEffectiveEntitlements
	// (swap_quota, swaps_used) for the current budget.
	RemoveEntitlementImages(context.Context, *RemoveEntitlementImagesRequest) (*RemoveEntitlementImagesResponse, error)
	// SwapEntitlementImages atomically removes and adds catalog images on an
	// organization's entitlements in one transaction — the whole swap applies or
	// nothing does, so it can't leave an image removed without its replacement.
	// remove_image_names and add_image_names resolve as in RemoveEntitlementImages
	// and AddEntitlementImages. A swap must be an effective replace: it is
	// INVALID_ARGUMENT if either list is empty, if none of the removes are
	// currently entitled, or if every add is already entitled (individual no-op
	// names within a non-empty side are still skipped).
	//
	// A swap is the unit charged against the rolling 30-day swap quota: an N-for-N
	// swap costs N. May return RESOURCE_EXHAUSTED when it would exceed the quota;
	// see GetEffectiveEntitlements (swap_quota, swaps_used). A swap performed by
	// Chainguard staff on the organization's behalf is not charged, is not
	// blocked by a budget the organization has already spent, and may always put
	// back an image that was swapped out inside the window. A customer swap may
	// get FAILED_PRECONDITION for that same re-add, on the entitlement the image
	// was swapped out of and while the organization's swap quota is finite.
	// Per-tier and total image quotas apply to every caller.
	SwapEntitlementImages(context.Context, *SwapEntitlementImagesRequest) (*SwapEntitlementImagesResponse, error)
	// contains filtered or unexported methods
}

EntitlementsServer is the server API for Entitlements service. All implementations must embed UnimplementedEntitlementsServer for forward compatibility.

Entitlements is a service for viewing configuration and features enabled on a registry. NOTE: This API is EARLY ACCESS and is subject to change without notice.

type EolGracePeriodStatus added in v0.1.33

type EolGracePeriodStatus int32
const (
	EolGracePeriodStatus_GRACE_NOT_ELIGIBLE EolGracePeriodStatus = 0
	EolGracePeriodStatus_GRACE_ELIGIBLE     EolGracePeriodStatus = 1
	EolGracePeriodStatus_GRACE_ACTIVE       EolGracePeriodStatus = 2
	EolGracePeriodStatus_GRACE_BROKEN       EolGracePeriodStatus = 3
	EolGracePeriodStatus_GRACE_EXPIRED      EolGracePeriodStatus = 4
)

func (EolGracePeriodStatus) Descriptor added in v0.1.33

func (EolGracePeriodStatus) Enum added in v0.1.33

func (EolGracePeriodStatus) EnumDescriptor deprecated added in v0.1.33

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

Deprecated: Use EolGracePeriodStatus.Descriptor instead.

func (EolGracePeriodStatus) Number added in v0.1.33

func (EolGracePeriodStatus) String added in v0.1.33

func (x EolGracePeriodStatus) String() string

func (EolGracePeriodStatus) Type added in v0.1.33

type EolTag added in v0.1.33

type EolTag struct {

	// id, identifier of this Tag, a UIDP under a Repo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name, the unique name of the Tag.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// name of the main package
	MainPackageName string `protobuf:"bytes,7,opt,name=main_package_name,json=mainPackageName,proto3" json:"main_package_name,omitempty"`
	// status of the tag
	TagStatus EolTagStatus `` /* 137-byte string literal not displayed */
	// version of the main package
	MainPackageVersion *PackageVersion `protobuf:"bytes,13,opt,name=main_package_version,json=mainPackageVersion,proto3" json:"main_package_version,omitempty"`
	// eol grace period status
	GraceStatus EolGracePeriodStatus `` /* 150-byte string literal not displayed */
	// the date the grace period expires
	GracePeriodExpiryDate *timestamppb.Timestamp `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EolTag) Descriptor deprecated added in v0.1.33

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

Deprecated: Use EolTag.ProtoReflect.Descriptor instead.

func (*EolTag) GetGracePeriodExpiryDate added in v0.1.33

func (x *EolTag) GetGracePeriodExpiryDate() *timestamppb.Timestamp

func (*EolTag) GetGraceStatus added in v0.1.33

func (x *EolTag) GetGraceStatus() EolGracePeriodStatus

func (*EolTag) GetId added in v0.1.33

func (x *EolTag) GetId() string

func (*EolTag) GetMainPackageName added in v0.1.33

func (x *EolTag) GetMainPackageName() string

func (*EolTag) GetMainPackageVersion added in v0.1.33

func (x *EolTag) GetMainPackageVersion() *PackageVersion

func (*EolTag) GetName added in v0.1.33

func (x *EolTag) GetName() string

func (*EolTag) GetTagStatus added in v0.1.35

func (x *EolTag) GetTagStatus() EolTagStatus

func (*EolTag) ProtoMessage added in v0.1.33

func (*EolTag) ProtoMessage()

func (*EolTag) ProtoReflect added in v0.1.33

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

func (*EolTag) Reset added in v0.1.33

func (x *EolTag) Reset()

func (*EolTag) String added in v0.1.33

func (x *EolTag) String() string

type EolTagFilter added in v0.1.33

type EolTagFilter struct {

	// uidp filters records based on their position in the group hierarchy.
	Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"`
	Name string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Pagination.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize  int64  `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Exclude tags of the form "*-20yymmdd".
	ExcludeDates bool `protobuf:"varint,5,opt,name=exclude_dates,json=excludeDates,proto3" json:"exclude_dates,omitempty"`
	// Exclude tags of the form "*-r[0-9]+".
	ExcludeEpochs bool `protobuf:"varint,6,opt,name=exclude_epochs,json=excludeEpochs,proto3" json:"exclude_epochs,omitempty"`
	// Exclude tags carrying an apk VCS snapshot suffix (_cvs, _svn, _git, _hg),
	// e.g. "3.14.7_git20260914".
	ExcludeVcsSnapshots bool `protobuf:"varint,7,opt,name=exclude_vcs_snapshots,json=excludeVcsSnapshots,proto3" json:"exclude_vcs_snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*EolTagFilter) Descriptor deprecated added in v0.1.33

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

Deprecated: Use EolTagFilter.ProtoReflect.Descriptor instead.

func (*EolTagFilter) GetExcludeDates added in v0.1.42

func (x *EolTagFilter) GetExcludeDates() bool

func (*EolTagFilter) GetExcludeEpochs added in v0.1.42

func (x *EolTagFilter) GetExcludeEpochs() bool

func (*EolTagFilter) GetExcludeVcsSnapshots added in v0.1.279

func (x *EolTagFilter) GetExcludeVcsSnapshots() bool

func (*EolTagFilter) GetName added in v0.1.33

func (x *EolTagFilter) GetName() string

func (*EolTagFilter) GetPageSize added in v0.1.33

func (x *EolTagFilter) GetPageSize() int64

func (*EolTagFilter) GetPageToken added in v0.1.33

func (x *EolTagFilter) GetPageToken() string

func (*EolTagFilter) GetUidp added in v0.1.33

func (x *EolTagFilter) GetUidp() *v1.UIDPFilter

func (*EolTagFilter) ProtoMessage added in v0.1.33

func (*EolTagFilter) ProtoMessage()

func (*EolTagFilter) ProtoReflect added in v0.1.33

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

func (*EolTagFilter) Reset added in v0.1.33

func (x *EolTagFilter) Reset()

func (*EolTagFilter) String added in v0.1.33

func (x *EolTagFilter) String() string

type EolTagList added in v0.1.33

type EolTagList struct {
	Items         []*EolTag `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*EolTagList) Descriptor deprecated added in v0.1.33

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

Deprecated: Use EolTagList.ProtoReflect.Descriptor instead.

func (*EolTagList) GetItems added in v0.1.33

func (x *EolTagList) GetItems() []*EolTag

func (*EolTagList) GetNextPageToken added in v0.1.43

func (x *EolTagList) GetNextPageToken() string

func (*EolTagList) ProtoMessage added in v0.1.33

func (*EolTagList) ProtoMessage()

func (*EolTagList) ProtoReflect added in v0.1.33

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

func (*EolTagList) Reset added in v0.1.33

func (x *EolTagList) Reset()

func (*EolTagList) String added in v0.1.33

func (x *EolTagList) String() string

type EolTagStatus added in v0.1.35

type EolTagStatus int32
const (
	EolTagStatus_TAG_ACTIVE   EolTagStatus = 0
	EolTagStatus_TAG_IN_GRACE EolTagStatus = 1
	EolTagStatus_TAG_INACTIVE EolTagStatus = 2
)

func (EolTagStatus) Descriptor added in v0.1.35

func (EolTagStatus) Enum added in v0.1.35

func (x EolTagStatus) Enum() *EolTagStatus

func (EolTagStatus) EnumDescriptor deprecated added in v0.1.35

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

Deprecated: Use EolTagStatus.Descriptor instead.

func (EolTagStatus) Number added in v0.1.35

func (EolTagStatus) String added in v0.1.35

func (x EolTagStatus) String() string

func (EolTagStatus) Type added in v0.1.35

type FindChartRequest added in v0.1.162

type FindChartRequest struct {

	// Which managed chart catalog to search.
	Catalog ChartCatalog `protobuf:"varint,1,opt,name=catalog,proto3,enum=chainguard.platform.registry.ChartCatalog" json:"catalog,omitempty"`
	// The chart name to resolve (e.g. "argo-cd").
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

FindChartRequest resolves a chart name within a managed catalog.

func (*FindChartRequest) Descriptor deprecated added in v0.1.162

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

Deprecated: Use FindChartRequest.ProtoReflect.Descriptor instead.

func (*FindChartRequest) GetCatalog added in v0.1.162

func (x *FindChartRequest) GetCatalog() ChartCatalog

func (*FindChartRequest) GetName added in v0.1.162

func (x *FindChartRequest) GetName() string

func (*FindChartRequest) ProtoMessage added in v0.1.162

func (*FindChartRequest) ProtoMessage()

func (*FindChartRequest) ProtoReflect added in v0.1.162

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

func (*FindChartRequest) Reset added in v0.1.162

func (x *FindChartRequest) Reset()

func (*FindChartRequest) String added in v0.1.162

func (x *FindChartRequest) String() string

type FindChartResponse added in v0.1.162

type FindChartResponse struct {

	// The UIDP of the resolved source chart repo, suitable for
	// AddChartRequest.source_repo_id.
	SourceRepoId string `protobuf:"bytes,1,opt,name=source_repo_id,json=sourceRepoId,proto3" json:"source_repo_id,omitempty"`
	// The resolved chart name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

FindChartResponse carries the resolved source chart repo.

func (*FindChartResponse) Descriptor deprecated added in v0.1.162

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

Deprecated: Use FindChartResponse.ProtoReflect.Descriptor instead.

func (*FindChartResponse) GetName added in v0.1.162

func (x *FindChartResponse) GetName() string

func (*FindChartResponse) GetSourceRepoId added in v0.1.162

func (x *FindChartResponse) GetSourceRepoId() string

func (*FindChartResponse) ProtoMessage added in v0.1.162

func (*FindChartResponse) ProtoMessage()

func (*FindChartResponse) ProtoReflect added in v0.1.162

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

func (*FindChartResponse) Reset added in v0.1.162

func (x *FindChartResponse) Reset()

func (*FindChartResponse) String added in v0.1.162

func (x *FindChartResponse) String() string

type GetChartRequest added in v0.1.46

type GetChartRequest struct {

	// The UIDP of the chart repo.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the chart.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChartRequest) Descriptor deprecated added in v0.1.46

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

Deprecated: Use GetChartRequest.ProtoReflect.Descriptor instead.

func (*GetChartRequest) GetDigest added in v0.1.46

func (x *GetChartRequest) GetDigest() string

func (*GetChartRequest) GetRepoId added in v0.1.46

func (x *GetChartRequest) GetRepoId() string

func (*GetChartRequest) ProtoMessage added in v0.1.46

func (*GetChartRequest) ProtoMessage()

func (*GetChartRequest) ProtoReflect added in v0.1.46

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

func (*GetChartRequest) Reset added in v0.1.46

func (x *GetChartRequest) Reset()

func (*GetChartRequest) String added in v0.1.46

func (x *GetChartRequest) String() string

type GetDeploymentRequest added in v0.1.43

type GetDeploymentRequest struct {

	// repo_id is the Repo UIDP to get deployment for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeploymentRequest) Descriptor deprecated added in v0.1.43

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

Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.

func (*GetDeploymentRequest) GetRepoId added in v0.1.43

func (x *GetDeploymentRequest) GetRepoId() string

func (*GetDeploymentRequest) ProtoMessage added in v0.1.43

func (*GetDeploymentRequest) ProtoMessage()

func (*GetDeploymentRequest) ProtoReflect added in v0.1.43

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

func (*GetDeploymentRequest) Reset added in v0.1.43

func (x *GetDeploymentRequest) Reset()

func (*GetDeploymentRequest) String added in v0.1.43

func (x *GetDeploymentRequest) String() string

type GetEffectiveEntitlementsRequest added in v0.1.54

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

func (*GetEffectiveEntitlementsRequest) Descriptor deprecated added in v0.1.54

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

Deprecated: Use GetEffectiveEntitlementsRequest.ProtoReflect.Descriptor instead.

func (*GetEffectiveEntitlementsRequest) GetParent added in v0.1.54

func (x *GetEffectiveEntitlementsRequest) GetParent() string

func (*GetEffectiveEntitlementsRequest) ProtoMessage added in v0.1.54

func (*GetEffectiveEntitlementsRequest) ProtoMessage()

func (*GetEffectiveEntitlementsRequest) ProtoReflect added in v0.1.54

func (*GetEffectiveEntitlementsRequest) Reset added in v0.1.54

func (*GetEffectiveEntitlementsRequest) String added in v0.1.54

type GetEffectiveEntitlementsResponse added in v0.1.54

type GetEffectiveEntitlementsResponse struct {

	// The resolved entitlement plan for the organization.
	Plan Plan `protobuf:"varint,1,opt,name=plan,proto3,enum=chainguard.platform.registry.Plan" json:"plan,omitempty"`
	// Catalog tiers with unlimited (AYCE) access.
	ActiveTiers []CatalogTier `` /* 148-byte string literal not displayed */
	// Images the organization is currently entitled to, deduplicated
	// across entitlements with the latest expiration retained. Every field
	// describes that one retained attachment, image group membership included:
	// an image attached to several entitlements reports the group fields of the
	// latest-expiring attachment rather than a union across all of them.
	ActiveImages []*EntitledImage `protobuf:"bytes,3,rep,name=active_images,json=activeImages,proto3" json:"active_images,omitempty"`
	// Aggregated quota usage per tier. Keys are CatalogTier string names.
	Quota map[string]*ImageQuota `` /* 137-byte string literal not displayed */
	// Maximum number of images that can be entitled to this organization.
	// A value of -1 means this organization has no maximum quota enforced.
	MaxTotalImages int32 `protobuf:"varint,5,opt,name=max_total_images,json=maxTotalImages,proto3" json:"max_total_images,omitempty"`
	// The organization's rolling 30-day catalog-image swap quota, aggregated
	// across its active entitlements. Swaps (see SwapEntitlementImages) count
	// against this quota. A value of -1 means unlimited (no swap limit is
	// enforced); 0 means no swaps are permitted. Usage beyond the quota within the
	// window consumes per-tier image capacity until it ages out.
	SwapQuota int32 `protobuf:"varint,6,opt,name=swap_quota,json=swapQuota,proto3" json:"swap_quota,omitempty"`
	// Catalog-image swaps in the current rolling 30-day window. When this exceeds
	// swap_quota, the excess reduces the per-tier image capacity available for new
	// additions.
	SwapsUsed int32 `protobuf:"varint,7,opt,name=swaps_used,json=swapsUsed,proto3" json:"swaps_used,omitempty"`
	// Time at which the next swap becomes available. Set only when no swaps are
	// available now (swaps_used >= swap_quota); unset when a swap is already
	// available or when the quota is either 0 or unlimited.
	// Clients should check swap_quota first before using this field.
	SwapRefillTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=swap_refill_time,json=swapRefillTime,proto3" json:"swap_refill_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEffectiveEntitlementsResponse) Descriptor deprecated added in v0.1.54

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

Deprecated: Use GetEffectiveEntitlementsResponse.ProtoReflect.Descriptor instead.

func (*GetEffectiveEntitlementsResponse) GetActiveImages added in v0.1.54

func (x *GetEffectiveEntitlementsResponse) GetActiveImages() []*EntitledImage

func (*GetEffectiveEntitlementsResponse) GetActiveTiers added in v0.1.54

func (x *GetEffectiveEntitlementsResponse) GetActiveTiers() []CatalogTier

func (*GetEffectiveEntitlementsResponse) GetMaxTotalImages added in v0.1.54

func (x *GetEffectiveEntitlementsResponse) GetMaxTotalImages() int32

func (*GetEffectiveEntitlementsResponse) GetPlan added in v0.1.54

func (*GetEffectiveEntitlementsResponse) GetQuota added in v0.1.54

func (*GetEffectiveEntitlementsResponse) GetSwapQuota added in v0.1.150

func (x *GetEffectiveEntitlementsResponse) GetSwapQuota() int32

func (*GetEffectiveEntitlementsResponse) GetSwapRefillTime added in v0.1.164

func (x *GetEffectiveEntitlementsResponse) GetSwapRefillTime() *timestamppb.Timestamp

func (*GetEffectiveEntitlementsResponse) GetSwapsUsed added in v0.1.150

func (x *GetEffectiveEntitlementsResponse) GetSwapsUsed() int32

func (*GetEffectiveEntitlementsResponse) ProtoMessage added in v0.1.54

func (*GetEffectiveEntitlementsResponse) ProtoMessage()

func (*GetEffectiveEntitlementsResponse) ProtoReflect added in v0.1.54

func (*GetEffectiveEntitlementsResponse) Reset added in v0.1.54

func (*GetEffectiveEntitlementsResponse) String added in v0.1.54

type GetFeaturesRequest added in v0.1.33

type GetFeaturesRequest struct {

	// Organization/Group ID
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeaturesRequest) Descriptor deprecated added in v0.1.33

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

Deprecated: Use GetFeaturesRequest.ProtoReflect.Descriptor instead.

func (*GetFeaturesRequest) GetParent added in v0.1.33

func (x *GetFeaturesRequest) GetParent() string

func (*GetFeaturesRequest) ProtoMessage added in v0.1.33

func (*GetFeaturesRequest) ProtoMessage()

func (*GetFeaturesRequest) ProtoReflect added in v0.1.33

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

func (*GetFeaturesRequest) Reset added in v0.1.33

func (x *GetFeaturesRequest) Reset()

func (*GetFeaturesRequest) String added in v0.1.33

func (x *GetFeaturesRequest) String() string

type GetFeaturesResponse added in v0.1.33

type GetFeaturesResponse struct {
	CustomAssembly bool `protobuf:"varint,1,opt,name=custom_assembly,json=customAssembly,proto3" json:"custom_assembly,omitempty"`
	UniqueTags     bool `protobuf:"varint,2,opt,name=unique_tags,json=uniqueTags,proto3" json:"unique_tags,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFeaturesResponse) Descriptor deprecated added in v0.1.33

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

Deprecated: Use GetFeaturesResponse.ProtoReflect.Descriptor instead.

func (*GetFeaturesResponse) GetCustomAssembly added in v0.1.33

func (x *GetFeaturesResponse) GetCustomAssembly() bool

func (*GetFeaturesResponse) GetUniqueTags added in v0.1.33

func (x *GetFeaturesResponse) GetUniqueTags() bool

func (*GetFeaturesResponse) ProtoMessage added in v0.1.33

func (*GetFeaturesResponse) ProtoMessage()

func (*GetFeaturesResponse) ProtoReflect added in v0.1.33

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

func (*GetFeaturesResponse) Reset added in v0.1.33

func (x *GetFeaturesResponse) Reset()

func (*GetFeaturesResponse) String added in v0.1.33

func (x *GetFeaturesResponse) String() string

type GetRawVulnReportRequest added in v0.1.25

type GetRawVulnReportRequest struct {

	// digest is the exact digest of the image to request the raw scan result of.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// scanner is the scanner to request the raw report from.
	Scanner Scanner_Name `protobuf:"varint,2,opt,name=scanner,proto3,enum=chainguard.platform.registry.Scanner_Name" json:"scanner,omitempty"`
	// created_at is an optional timestamp to retrieve a scan report for.
	// If not given, the latest report is returned.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRawVulnReportRequest) Descriptor deprecated added in v0.1.25

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

Deprecated: Use GetRawVulnReportRequest.ProtoReflect.Descriptor instead.

func (*GetRawVulnReportRequest) GetCreatedAt added in v0.1.25

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

func (*GetRawVulnReportRequest) GetDigest added in v0.1.25

func (x *GetRawVulnReportRequest) GetDigest() string

func (*GetRawVulnReportRequest) GetScanner added in v0.1.25

func (x *GetRawVulnReportRequest) GetScanner() Scanner_Name

func (*GetRawVulnReportRequest) ProtoMessage added in v0.1.25

func (*GetRawVulnReportRequest) ProtoMessage()

func (*GetRawVulnReportRequest) ProtoReflect added in v0.1.25

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

func (*GetRawVulnReportRequest) Reset added in v0.1.25

func (x *GetRawVulnReportRequest) Reset()

func (*GetRawVulnReportRequest) String added in v0.1.25

func (x *GetRawVulnReportRequest) String() string

type GetRegistrySettingsRequest added in v0.1.44

type GetRegistrySettingsRequest struct {

	// registry_id is the UIDP of the root group to get settings for.
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRegistrySettingsRequest) Descriptor deprecated added in v0.1.44

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

Deprecated: Use GetRegistrySettingsRequest.ProtoReflect.Descriptor instead.

func (*GetRegistrySettingsRequest) GetRegistryId added in v0.1.44

func (x *GetRegistrySettingsRequest) GetRegistryId() string

func (*GetRegistrySettingsRequest) ProtoMessage added in v0.1.44

func (*GetRegistrySettingsRequest) ProtoMessage()

func (*GetRegistrySettingsRequest) ProtoReflect added in v0.1.44

func (*GetRegistrySettingsRequest) Reset added in v0.1.44

func (x *GetRegistrySettingsRequest) Reset()

func (*GetRegistrySettingsRequest) String added in v0.1.44

func (x *GetRegistrySettingsRequest) String() string

type GetRepoCountBySourceRequest added in v0.1.32

type GetRepoCountBySourceRequest struct {

	// ID, UID of the source repo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepoCountBySourceRequest) Descriptor deprecated added in v0.1.32

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

Deprecated: Use GetRepoCountBySourceRequest.ProtoReflect.Descriptor instead.

func (*GetRepoCountBySourceRequest) GetId added in v0.1.32

func (*GetRepoCountBySourceRequest) ProtoMessage added in v0.1.32

func (*GetRepoCountBySourceRequest) ProtoMessage()

func (*GetRepoCountBySourceRequest) ProtoReflect added in v0.1.32

func (*GetRepoCountBySourceRequest) Reset added in v0.1.32

func (x *GetRepoCountBySourceRequest) Reset()

func (*GetRepoCountBySourceRequest) String added in v0.1.32

func (x *GetRepoCountBySourceRequest) String() string

type GetRepoTagsSummaryRequest added in v0.1.199

type GetRepoTagsSummaryRequest struct {

	// repo_id, the UIDP of the Repo to summarize.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// Exclude tags of the form "sha256-*".
	ExcludeReferrers bool `protobuf:"varint,2,opt,name=exclude_referrers,json=excludeReferrers,proto3" json:"exclude_referrers,omitempty"`
	// Exclude tags of the form "*-20yymmdd".
	ExcludeDates bool `protobuf:"varint,3,opt,name=exclude_dates,json=excludeDates,proto3" json:"exclude_dates,omitempty"`
	// Exclude tags of the form "*-r[0-9]+".
	ExcludeEpochs bool `protobuf:"varint,4,opt,name=exclude_epochs,json=excludeEpochs,proto3" json:"exclude_epochs,omitempty"`
	// Exclude tags carrying an apk VCS snapshot suffix (_cvs, _svn, _git, _hg),
	// e.g. "3.14.7_git20260914".
	ExcludeVcsSnapshots bool `protobuf:"varint,5,opt,name=exclude_vcs_snapshots,json=excludeVcsSnapshots,proto3" json:"exclude_vcs_snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepoTagsSummaryRequest) Descriptor deprecated added in v0.1.199

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

Deprecated: Use GetRepoTagsSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetRepoTagsSummaryRequest) GetExcludeDates added in v0.1.199

func (x *GetRepoTagsSummaryRequest) GetExcludeDates() bool

func (*GetRepoTagsSummaryRequest) GetExcludeEpochs added in v0.1.199

func (x *GetRepoTagsSummaryRequest) GetExcludeEpochs() bool

func (*GetRepoTagsSummaryRequest) GetExcludeReferrers added in v0.1.199

func (x *GetRepoTagsSummaryRequest) GetExcludeReferrers() bool

func (*GetRepoTagsSummaryRequest) GetExcludeVcsSnapshots added in v0.1.279

func (x *GetRepoTagsSummaryRequest) GetExcludeVcsSnapshots() bool

func (*GetRepoTagsSummaryRequest) GetRepoId added in v0.1.199

func (x *GetRepoTagsSummaryRequest) GetRepoId() string

func (*GetRepoTagsSummaryRequest) ProtoMessage added in v0.1.199

func (*GetRepoTagsSummaryRequest) ProtoMessage()

func (*GetRepoTagsSummaryRequest) ProtoReflect added in v0.1.199

func (*GetRepoTagsSummaryRequest) Reset added in v0.1.199

func (x *GetRepoTagsSummaryRequest) Reset()

func (*GetRepoTagsSummaryRequest) String added in v0.1.199

func (x *GetRepoTagsSummaryRequest) String() string

type GetSyncStatusRequest added in v0.1.42

type GetSyncStatusRequest struct {

	// The UIDP of the image repo to get sync status for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSyncStatusRequest) Descriptor deprecated added in v0.1.42

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

Deprecated: Use GetSyncStatusRequest.ProtoReflect.Descriptor instead.

func (*GetSyncStatusRequest) GetRepoId added in v0.1.42

func (x *GetSyncStatusRequest) GetRepoId() string

func (*GetSyncStatusRequest) ProtoMessage added in v0.1.42

func (*GetSyncStatusRequest) ProtoMessage()

func (*GetSyncStatusRequest) ProtoReflect added in v0.1.42

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

func (*GetSyncStatusRequest) Reset added in v0.1.42

func (x *GetSyncStatusRequest) Reset()

func (*GetSyncStatusRequest) String added in v0.1.42

func (x *GetSyncStatusRequest) String() string

type Helm added in v0.1.35

type Helm struct {

	// Chart name.
	ChartName string `protobuf:"bytes,1,opt,name=chart_name,json=chartName,proto3" json:"chart_name,omitempty"`
	// Chart version.
	ChartVersion string `protobuf:"bytes,2,opt,name=chart_version,json=chartVersion,proto3" json:"chart_version,omitempty"`
	// Chart repository.
	ChartRepository string `protobuf:"bytes,3,opt,name=chart_repository,json=chartRepository,proto3" json:"chart_repository,omitempty"`
	// Chart digest.
	ChartDigest string `protobuf:"bytes,4,opt,name=chart_digest,json=chartDigest,proto3" json:"chart_digest,omitempty"`
	// Additional values.
	Values string `protobuf:"bytes,5,opt,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Helm contains the chart and values fields from the helm-values predicate.

func (*Helm) Descriptor deprecated added in v0.1.35

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

Deprecated: Use Helm.ProtoReflect.Descriptor instead.

func (*Helm) GetChartDigest added in v0.1.35

func (x *Helm) GetChartDigest() string

func (*Helm) GetChartName added in v0.1.35

func (x *Helm) GetChartName() string

func (*Helm) GetChartRepository added in v0.1.35

func (x *Helm) GetChartRepository() string

func (*Helm) GetChartVersion added in v0.1.35

func (x *Helm) GetChartVersion() string

func (*Helm) GetValues added in v0.1.35

func (x *Helm) GetValues() string

func (*Helm) ProtoMessage added in v0.1.35

func (*Helm) ProtoMessage()

func (*Helm) ProtoReflect added in v0.1.35

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

func (*Helm) Reset added in v0.1.35

func (x *Helm) Reset()

func (*Helm) String added in v0.1.35

func (x *Helm) String() string

type HelmChart added in v0.1.43

type HelmChart struct {

	// source is an optional link to the source code (e.g., GitHub repository URL).
	Source *string `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
	// repo is the Helm chart repository URL.
	Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// chart is the specific chart that is used from a repo.
	Chart *string `protobuf:"bytes,3,opt,name=chart,proto3,oneof" json:"chart,omitempty"`
	// contains filtered or unexported fields
}

Helm chart configuration

func (*HelmChart) Descriptor deprecated added in v0.1.43

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

Deprecated: Use HelmChart.ProtoReflect.Descriptor instead.

func (*HelmChart) GetChart added in v0.1.45

func (x *HelmChart) GetChart() string

func (*HelmChart) GetRepo added in v0.1.43

func (x *HelmChart) GetRepo() string

func (*HelmChart) GetSource added in v0.1.43

func (x *HelmChart) GetSource() string

func (*HelmChart) ProtoMessage added in v0.1.43

func (*HelmChart) ProtoMessage()

func (*HelmChart) ProtoReflect added in v0.1.43

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

func (*HelmChart) Reset added in v0.1.43

func (x *HelmChart) Reset()

func (*HelmChart) String added in v0.1.43

func (x *HelmChart) String() string

type HelmRequest added in v0.1.35

type HelmRequest struct {

	// The UIDP of the image repo to get the Helm values for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get the Helm values for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to Helm values for.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*HelmRequest) Descriptor deprecated added in v0.1.35

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

Deprecated: Use HelmRequest.ProtoReflect.Descriptor instead.

func (*HelmRequest) GetArch added in v0.1.35

func (x *HelmRequest) GetArch() string

func (*HelmRequest) GetDigest added in v0.1.35

func (x *HelmRequest) GetDigest() string

func (*HelmRequest) GetRepoId added in v0.1.35

func (x *HelmRequest) GetRepoId() string

func (*HelmRequest) ProtoMessage added in v0.1.35

func (*HelmRequest) ProtoMessage()

func (*HelmRequest) ProtoReflect added in v0.1.35

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

func (*HelmRequest) Reset added in v0.1.35

func (x *HelmRequest) Reset()

func (*HelmRequest) String added in v0.1.35

func (x *HelmRequest) String() string

type ImageConfig added in v0.1.20

type ImageConfig struct {

	// User defines the username or UID which the process in the container should run as.
	User         string                              `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	ExposedPorts map[string]*ImageConfig_ExposedPort `` /* 171-byte string literal not displayed */
	// Env is a list of environment variables to be used in a container.
	Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	// Entrypoint defines a list of arguments to use as the command to execute when the container starts.
	Entrypoint []string `protobuf:"bytes,4,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Cmd defines the default arguments to the entrypoint of the container.
	Cmd []string `protobuf:"bytes,5,rep,name=cmd,proto3" json:"cmd,omitempty"`
	// Volumes is a set of directories describing where the process is likely write data specific to a container instance.
	Volumes map[string]*ImageConfig_Volume `` /* 141-byte string literal not displayed */
	// WorkingDir sets the current working directory of the entrypoint process in the container.
	WorkingDir string `protobuf:"bytes,7,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// Labels contains arbitrary metadata for the container.
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// StopSignal contains the system call signal that will be sent to the container to exit.
	StopSignal string `protobuf:"bytes,9,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageConfig) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfig.ProtoReflect.Descriptor instead.

func (*ImageConfig) GetCmd added in v0.1.20

func (x *ImageConfig) GetCmd() []string

func (*ImageConfig) GetEntrypoint added in v0.1.20

func (x *ImageConfig) GetEntrypoint() []string

func (*ImageConfig) GetEnv added in v0.1.20

func (x *ImageConfig) GetEnv() []string

func (*ImageConfig) GetExposedPorts added in v0.1.20

func (x *ImageConfig) GetExposedPorts() map[string]*ImageConfig_ExposedPort

func (*ImageConfig) GetLabels added in v0.1.20

func (x *ImageConfig) GetLabels() map[string]string

func (*ImageConfig) GetStopSignal added in v0.1.20

func (x *ImageConfig) GetStopSignal() string

func (*ImageConfig) GetUser added in v0.1.20

func (x *ImageConfig) GetUser() string

func (*ImageConfig) GetVolumes added in v0.1.20

func (x *ImageConfig) GetVolumes() map[string]*ImageConfig_Volume

func (*ImageConfig) GetWorkingDir added in v0.1.20

func (x *ImageConfig) GetWorkingDir() string

func (*ImageConfig) ProtoMessage added in v0.1.20

func (*ImageConfig) ProtoMessage()

func (*ImageConfig) ProtoReflect added in v0.1.20

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

func (*ImageConfig) Reset added in v0.1.20

func (x *ImageConfig) Reset()

func (*ImageConfig) String added in v0.1.20

func (x *ImageConfig) String() string

type ImageConfigRequest added in v0.1.20

type ImageConfigRequest struct {

	// The UIDP of the image repo to get config for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get config for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to get config for.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// Fetch config from registry.
	Registry bool `protobuf:"varint,4,opt,name=registry,proto3" json:"registry,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageConfigRequest) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfigRequest.ProtoReflect.Descriptor instead.

func (*ImageConfigRequest) GetArch added in v0.1.20

func (x *ImageConfigRequest) GetArch() string

func (*ImageConfigRequest) GetDigest added in v0.1.20

func (x *ImageConfigRequest) GetDigest() string

func (*ImageConfigRequest) GetRegistry added in v0.1.33

func (x *ImageConfigRequest) GetRegistry() bool

func (*ImageConfigRequest) GetRepoId added in v0.1.20

func (x *ImageConfigRequest) GetRepoId() string

func (*ImageConfigRequest) ProtoMessage added in v0.1.20

func (*ImageConfigRequest) ProtoMessage()

func (*ImageConfigRequest) ProtoReflect added in v0.1.20

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

func (*ImageConfigRequest) Reset added in v0.1.20

func (x *ImageConfigRequest) Reset()

func (*ImageConfigRequest) String added in v0.1.20

func (x *ImageConfigRequest) String() string

type ImageConfig_ExposedPort added in v0.1.20

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

ExposedPorts a set of ports to expose from a container running this image.

func (*ImageConfig_ExposedPort) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfig_ExposedPort.ProtoReflect.Descriptor instead.

func (*ImageConfig_ExposedPort) ProtoMessage added in v0.1.20

func (*ImageConfig_ExposedPort) ProtoMessage()

func (*ImageConfig_ExposedPort) ProtoReflect added in v0.1.20

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

func (*ImageConfig_ExposedPort) Reset added in v0.1.20

func (x *ImageConfig_ExposedPort) Reset()

func (*ImageConfig_ExposedPort) String added in v0.1.20

func (x *ImageConfig_ExposedPort) String() string

type ImageConfig_Volume added in v0.1.20

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

func (*ImageConfig_Volume) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfig_Volume.ProtoReflect.Descriptor instead.

func (*ImageConfig_Volume) ProtoMessage added in v0.1.20

func (*ImageConfig_Volume) ProtoMessage()

func (*ImageConfig_Volume) ProtoReflect added in v0.1.20

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

func (*ImageConfig_Volume) Reset added in v0.1.20

func (x *ImageConfig_Volume) Reset()

func (*ImageConfig_Volume) String added in v0.1.20

func (x *ImageConfig_Volume) String() string

type ImageContents added in v0.1.26

type ImageContents struct {

	// Packages to append to the image config.
	Packages []string `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// Custom APK repository URLs to write to /etc/apk/repositories in the
	// assembled image. When set, these replace the default virtualapk.cgr.dev
	// repositories.
	RuntimeRepositories []string `protobuf:"bytes,2,rep,name=runtime_repositories,json=runtimeRepositories,proto3" json:"runtime_repositories,omitempty"`
	// Customer-supplied APK signing public keys. Mirrors apko's
	// contents.runtime_keyring (same name, shape, and placement), which
	// carries these keys into the build.
	RuntimeKeyring []*ImageContents_RuntimeKeyringEntry `protobuf:"bytes,3,rep,name=runtime_keyring,json=runtimeKeyring,proto3" json:"runtime_keyring,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageContents) Descriptor deprecated added in v0.1.26

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

Deprecated: Use ImageContents.ProtoReflect.Descriptor instead.

func (*ImageContents) GetPackages added in v0.1.26

func (x *ImageContents) GetPackages() []string

func (*ImageContents) GetRuntimeKeyring added in v0.1.122

func (x *ImageContents) GetRuntimeKeyring() []*ImageContents_RuntimeKeyringEntry

func (*ImageContents) GetRuntimeRepositories added in v0.1.59

func (x *ImageContents) GetRuntimeRepositories() []string

func (*ImageContents) ProtoMessage added in v0.1.26

func (*ImageContents) ProtoMessage()

func (*ImageContents) ProtoReflect added in v0.1.26

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

func (*ImageContents) Reset added in v0.1.26

func (x *ImageContents) Reset()

func (*ImageContents) String added in v0.1.26

func (x *ImageContents) String() string

type ImageContents_RuntimeKeyringEntry added in v0.1.122

type ImageContents_RuntimeKeyringEntry struct {

	// Key filename under /etc/apk/keys (a safe filename; dots allowed,
	// but not as the first character). Must match the filename the
	// repository's APKINDEX signature references (.SIGN.RSA256.<name>),
	// or apk will not find the key at runtime.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// PEM-encoded RSA public key content.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

RuntimeKeyringEntry is a single customer-supplied APK signing public key, written to /etc/apk/keys so runtime `apk add` can verify packages from mirrors that re-sign them. Inline key content, not URLs.

func (*ImageContents_RuntimeKeyringEntry) Descriptor deprecated added in v0.1.122

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

Deprecated: Use ImageContents_RuntimeKeyringEntry.ProtoReflect.Descriptor instead.

func (*ImageContents_RuntimeKeyringEntry) GetContent added in v0.1.122

func (x *ImageContents_RuntimeKeyringEntry) GetContent() string

func (*ImageContents_RuntimeKeyringEntry) GetName added in v0.1.122

func (*ImageContents_RuntimeKeyringEntry) ProtoMessage added in v0.1.122

func (*ImageContents_RuntimeKeyringEntry) ProtoMessage()

func (*ImageContents_RuntimeKeyringEntry) ProtoReflect added in v0.1.122

func (*ImageContents_RuntimeKeyringEntry) Reset added in v0.1.122

func (*ImageContents_RuntimeKeyringEntry) String added in v0.1.122

type ImageQuota added in v0.1.32

type ImageQuota struct {
	Current int32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
	Max     int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageQuota) Descriptor deprecated added in v0.1.32

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

Deprecated: Use ImageQuota.ProtoReflect.Descriptor instead.

func (*ImageQuota) GetCurrent added in v0.1.32

func (x *ImageQuota) GetCurrent() int32

func (*ImageQuota) GetMax added in v0.1.32

func (x *ImageQuota) GetMax() int32

func (*ImageQuota) ProtoMessage added in v0.1.32

func (*ImageQuota) ProtoMessage()

func (*ImageQuota) ProtoReflect added in v0.1.32

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

func (*ImageQuota) Reset added in v0.1.32

func (x *ImageQuota) Reset()

func (*ImageQuota) String added in v0.1.32

func (x *ImageQuota) String() string

type ListChartImageBindingsRequest added in v0.1.221

type ListChartImageBindingsRequest struct {

	// image_repo_ids are the UIDPs of the image repos to look up
	// chart-image bindings for. At least one id is required. Every id must
	// be a descendant of one of the caller's authorized CAP_REPO_LIST
	// scopes; ids outside the caller's scope return INVALID_ARGUMENT.
	ImageRepoIds []string `protobuf:"bytes,1,rep,name=image_repo_ids,json=imageRepoIds,proto3" json:"image_repo_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChartImageBindingsRequest) Descriptor deprecated added in v0.1.221

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

Deprecated: Use ListChartImageBindingsRequest.ProtoReflect.Descriptor instead.

func (*ListChartImageBindingsRequest) GetImageRepoIds added in v0.1.221

func (x *ListChartImageBindingsRequest) GetImageRepoIds() []string

func (*ListChartImageBindingsRequest) ProtoMessage added in v0.1.221

func (*ListChartImageBindingsRequest) ProtoMessage()

func (*ListChartImageBindingsRequest) ProtoReflect added in v0.1.221

func (*ListChartImageBindingsRequest) Reset added in v0.1.221

func (x *ListChartImageBindingsRequest) Reset()

func (*ListChartImageBindingsRequest) String added in v0.1.221

type ListChartImageBindingsResponse added in v0.1.221

type ListChartImageBindingsResponse struct {

	// Chart-image bindings for the requested image repos, sorted by
	// (image_repo, chart_repo). Image repos with no bindings are omitted.
	ChartImageBindings []*ChartImageBinding `protobuf:"bytes,1,rep,name=chart_image_bindings,json=chartImageBindings,proto3" json:"chart_image_bindings,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChartImageBindingsResponse) Descriptor deprecated added in v0.1.221

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

Deprecated: Use ListChartImageBindingsResponse.ProtoReflect.Descriptor instead.

func (*ListChartImageBindingsResponse) GetChartImageBindings added in v0.1.221

func (x *ListChartImageBindingsResponse) GetChartImageBindings() []*ChartImageBinding

func (*ListChartImageBindingsResponse) ProtoMessage added in v0.1.221

func (*ListChartImageBindingsResponse) ProtoMessage()

func (*ListChartImageBindingsResponse) ProtoReflect added in v0.1.221

func (*ListChartImageBindingsResponse) Reset added in v0.1.221

func (x *ListChartImageBindingsResponse) Reset()

func (*ListChartImageBindingsResponse) String added in v0.1.221

type ListChartsByImageRepoRequest added in v0.1.158

type ListChartsByImageRepoRequest struct {

	// The UIDP of the image repo to look up chart-image bindings for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChartsByImageRepoRequest) Descriptor deprecated added in v0.1.158

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

Deprecated: Use ListChartsByImageRepoRequest.ProtoReflect.Descriptor instead.

func (*ListChartsByImageRepoRequest) GetRepoId added in v0.1.158

func (x *ListChartsByImageRepoRequest) GetRepoId() string

func (*ListChartsByImageRepoRequest) ProtoMessage added in v0.1.158

func (*ListChartsByImageRepoRequest) ProtoMessage()

func (*ListChartsByImageRepoRequest) ProtoReflect added in v0.1.158

func (*ListChartsByImageRepoRequest) Reset added in v0.1.158

func (x *ListChartsByImageRepoRequest) Reset()

func (*ListChartsByImageRepoRequest) String added in v0.1.158

type ListChartsByImageRepoResponse added in v0.1.158

type ListChartsByImageRepoResponse struct {

	// Chart-image bindings for the given image repo, sorted
	// by chart_repo.
	ChartImageBindings []*ChartImageBinding `protobuf:"bytes,1,rep,name=chart_image_bindings,json=chartImageBindings,proto3" json:"chart_image_bindings,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChartsByImageRepoResponse) Descriptor deprecated added in v0.1.158

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

Deprecated: Use ListChartsByImageRepoResponse.ProtoReflect.Descriptor instead.

func (*ListChartsByImageRepoResponse) GetChartImageBindings added in v0.1.158

func (x *ListChartsByImageRepoResponse) GetChartImageBindings() []*ChartImageBinding

func (*ListChartsByImageRepoResponse) ProtoMessage added in v0.1.158

func (*ListChartsByImageRepoResponse) ProtoMessage()

func (*ListChartsByImageRepoResponse) ProtoReflect added in v0.1.158

func (*ListChartsByImageRepoResponse) Reset added in v0.1.158

func (x *ListChartsByImageRepoResponse) Reset()

func (*ListChartsByImageRepoResponse) String added in v0.1.158

type ListSyncStatusesRequest added in v0.1.51

type ListSyncStatusesRequest struct {

	// The UIDP of the registry to list the SyncStatus for.
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSyncStatusesRequest) Descriptor deprecated added in v0.1.51

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

Deprecated: Use ListSyncStatusesRequest.ProtoReflect.Descriptor instead.

func (*ListSyncStatusesRequest) GetRegistryId added in v0.1.51

func (x *ListSyncStatusesRequest) GetRegistryId() string

func (*ListSyncStatusesRequest) ProtoMessage added in v0.1.51

func (*ListSyncStatusesRequest) ProtoMessage()

func (*ListSyncStatusesRequest) ProtoReflect added in v0.1.51

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

func (*ListSyncStatusesRequest) Reset added in v0.1.51

func (x *ListSyncStatusesRequest) Reset()

func (*ListSyncStatusesRequest) String added in v0.1.51

func (x *ListSyncStatusesRequest) String() string

type ManifestDigestCount added in v0.1.38

type ManifestDigestCount struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestDigestCount) Descriptor deprecated added in v0.1.38

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

Deprecated: Use ManifestDigestCount.ProtoReflect.Descriptor instead.

func (*ManifestDigestCount) GetCount added in v0.1.38

func (x *ManifestDigestCount) GetCount() int64

func (*ManifestDigestCount) ProtoMessage added in v0.1.38

func (*ManifestDigestCount) ProtoMessage()

func (*ManifestDigestCount) ProtoReflect added in v0.1.38

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

func (*ManifestDigestCount) Reset added in v0.1.38

func (x *ManifestDigestCount) Reset()

func (*ManifestDigestCount) String added in v0.1.38

func (x *ManifestDigestCount) String() string

type ManifestDigestCountFilter added in v0.1.38

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

func (*ManifestDigestCountFilter) Descriptor deprecated added in v0.1.38

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

Deprecated: Use ManifestDigestCountFilter.ProtoReflect.Descriptor instead.

func (*ManifestDigestCountFilter) GetParentId added in v0.1.38

func (x *ManifestDigestCountFilter) GetParentId() string

func (*ManifestDigestCountFilter) ProtoMessage added in v0.1.38

func (*ManifestDigestCountFilter) ProtoMessage()

func (*ManifestDigestCountFilter) ProtoReflect added in v0.1.38

func (*ManifestDigestCountFilter) Reset added in v0.1.38

func (x *ManifestDigestCountFilter) Reset()

func (*ManifestDigestCountFilter) String added in v0.1.38

func (x *ManifestDigestCountFilter) String() string

type ManifestMetadata added in v0.1.20

type ManifestMetadata struct {

	// Digest of image that packages are associated with.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// List of packages that are part of image.
	PkgMetadata []*PkgMetadata `protobuf:"bytes,2,rep,name=pkg_metadata,json=pkgMetadata,proto3" json:"pkg_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadata) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadata.ProtoReflect.Descriptor instead.

func (*ManifestMetadata) GetDigest added in v0.1.20

func (x *ManifestMetadata) GetDigest() string

func (*ManifestMetadata) GetPkgMetadata added in v0.1.20

func (x *ManifestMetadata) GetPkgMetadata() []*PkgMetadata

func (*ManifestMetadata) ProtoMessage added in v0.1.20

func (*ManifestMetadata) ProtoMessage()

func (*ManifestMetadata) ProtoReflect added in v0.1.20

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

func (*ManifestMetadata) Reset added in v0.1.20

func (x *ManifestMetadata) Reset()

func (*ManifestMetadata) String added in v0.1.20

func (x *ManifestMetadata) String() string

type ManifestMetadataFilter added in v0.1.20

type ManifestMetadataFilter struct {

	// The UIDP of the image repo that the digests belongs to.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// List of image digests or index digest to fetch package metadata for.
	// All entries specified would be retrieved.
	Items []*ManifestMetadataFilterEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataFilter) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataFilter.ProtoReflect.Descriptor instead.

func (*ManifestMetadataFilter) GetItems added in v0.1.20

func (*ManifestMetadataFilter) GetRepoId added in v0.1.20

func (x *ManifestMetadataFilter) GetRepoId() string

func (*ManifestMetadataFilter) ProtoMessage added in v0.1.20

func (*ManifestMetadataFilter) ProtoMessage()

func (*ManifestMetadataFilter) ProtoReflect added in v0.1.20

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

func (*ManifestMetadataFilter) Reset added in v0.1.20

func (x *ManifestMetadataFilter) Reset()

func (*ManifestMetadataFilter) String added in v0.1.20

func (x *ManifestMetadataFilter) String() string

type ManifestMetadataFilterEntry added in v0.1.20

type ManifestMetadataFilterEntry struct {

	// Types that are valid to be assigned to Filter:
	//
	//	*ManifestMetadataFilterEntry_ImageDigest
	//	*ManifestMetadataFilterEntry_IndexFilter
	Filter isManifestMetadataFilterEntry_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataFilterEntry) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataFilterEntry.ProtoReflect.Descriptor instead.

func (*ManifestMetadataFilterEntry) GetFilter added in v0.1.20

func (x *ManifestMetadataFilterEntry) GetFilter() isManifestMetadataFilterEntry_Filter

func (*ManifestMetadataFilterEntry) GetImageDigest added in v0.1.20

func (x *ManifestMetadataFilterEntry) GetImageDigest() string

func (*ManifestMetadataFilterEntry) GetIndexFilter added in v0.1.20

func (*ManifestMetadataFilterEntry) ProtoMessage added in v0.1.20

func (*ManifestMetadataFilterEntry) ProtoMessage()

func (*ManifestMetadataFilterEntry) ProtoReflect added in v0.1.20

func (*ManifestMetadataFilterEntry) Reset added in v0.1.20

func (x *ManifestMetadataFilterEntry) Reset()

func (*ManifestMetadataFilterEntry) String added in v0.1.20

func (x *ManifestMetadataFilterEntry) String() string

type ManifestMetadataFilterEntry_ImageDigest added in v0.1.20

type ManifestMetadataFilterEntry_ImageDigest struct {
	// For fetching metadata for an image digest
	ImageDigest string `protobuf:"bytes,1,opt,name=image_digest,json=imageDigest,proto3,oneof"`
}

type ManifestMetadataFilterEntry_IndexFilter added in v0.1.20

type ManifestMetadataFilterEntry_IndexFilter struct {
	// For fetching metadata for an index digest
	IndexFilter *ManifestMetadataIndexFilter `protobuf:"bytes,2,opt,name=index_filter,json=indexFilter,proto3,oneof"`
}

type ManifestMetadataIndexFilter added in v0.1.20

type ManifestMetadataIndexFilter struct {

	// The tag/index digest to fetch metadata for.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to fetch metadata for.
	Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataIndexFilter) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataIndexFilter.ProtoReflect.Descriptor instead.

func (*ManifestMetadataIndexFilter) GetArch added in v0.1.20

func (x *ManifestMetadataIndexFilter) GetArch() string

func (*ManifestMetadataIndexFilter) GetDigest added in v0.1.20

func (x *ManifestMetadataIndexFilter) GetDigest() string

func (*ManifestMetadataIndexFilter) ProtoMessage added in v0.1.20

func (*ManifestMetadataIndexFilter) ProtoMessage()

func (*ManifestMetadataIndexFilter) ProtoReflect added in v0.1.20

func (*ManifestMetadataIndexFilter) Reset added in v0.1.20

func (x *ManifestMetadataIndexFilter) Reset()

func (*ManifestMetadataIndexFilter) String added in v0.1.20

func (x *ManifestMetadataIndexFilter) String() string

type ManifestMetadataList added in v0.1.20

type ManifestMetadataList struct {
	Items []*ManifestMetadata `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataList) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataList.ProtoReflect.Descriptor instead.

func (*ManifestMetadataList) GetItems added in v0.1.20

func (x *ManifestMetadataList) GetItems() []*ManifestMetadata

func (*ManifestMetadataList) ProtoMessage added in v0.1.20

func (*ManifestMetadataList) ProtoMessage()

func (*ManifestMetadataList) ProtoReflect added in v0.1.20

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

func (*ManifestMetadataList) Reset added in v0.1.20

func (x *ManifestMetadataList) Reset()

func (*ManifestMetadataList) String added in v0.1.20

func (x *ManifestMetadataList) String() string

type PackageReference

type PackageReference struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version   string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

PackageReference is a reference to a package, containing minimal information to identify it.

func (*PackageReference) Descriptor deprecated

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

Deprecated: Use PackageReference.ProtoReflect.Descriptor instead.

func (*PackageReference) GetName

func (x *PackageReference) GetName() string

func (*PackageReference) GetReference

func (x *PackageReference) GetReference() string

func (*PackageReference) GetVersion

func (x *PackageReference) GetVersion() string

func (*PackageReference) ProtoMessage

func (*PackageReference) ProtoMessage()

func (*PackageReference) ProtoReflect

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

func (*PackageReference) Reset

func (x *PackageReference) Reset()

func (*PackageReference) String

func (x *PackageReference) String() string

type PackageVersion added in v0.1.25

type PackageVersion struct {

	// the date when this version goes eol
	EolDate string `protobuf:"bytes,1,opt,name=eolDate,proto3" json:"eolDate,omitempty"`
	// whether or not the package exists in an apk repo
	Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
	// whether or not a FIPS-enabled version of the package exists in an apk repo
	Fips bool `protobuf:"varint,3,opt,name=fips,proto3" json:"fips,omitempty"`
	// May be set to a date or true if the software is marked as lts.
	// Clients should treat this field as a boolean based on whether or not it is set.
	// This field will be removed. Prefer using the `lts` field instead.
	LegacyLts string `protobuf:"bytes,4,opt,name=legacy_lts,json=legacyLts,proto3" json:"legacy_lts,omitempty"`
	// whether or not this version is considered "long-term support" version by upstream.
	// This is set best effort based on the upstream's definition of LTS, and may not be consistent
	// across packages in meaning or duration.
	Lts bool `protobuf:"varint,9,opt,name=lts,proto3" json:"lts,omitempty"`
	// the date this version was release
	ReleaseDate string `protobuf:"bytes,5,opt,name=releaseDate,proto3" json:"releaseDate,omitempty"`
	// the version stream identifier
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// whether or not an EOL version cannot longer be supported due to incompatibilities or no longer available dependencies
	EolBroken bool `protobuf:"varint,7,opt,name=eolBroken,proto3" json:"eolBroken,omitempty"`
	// the latest version of this specific version stream
	LatestVersion string                        `protobuf:"bytes,8,opt,name=latestVersion,proto3" json:"latestVersion,omitempty"`
	VersionSource *PackageVersion_VersionSource `protobuf:"bytes,10,opt,name=versionSource,proto3" json:"versionSource,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageVersion) Descriptor deprecated added in v0.1.25

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

Deprecated: Use PackageVersion.ProtoReflect.Descriptor instead.

func (*PackageVersion) GetEolBroken added in v0.1.29

func (x *PackageVersion) GetEolBroken() bool

func (*PackageVersion) GetEolDate added in v0.1.25

func (x *PackageVersion) GetEolDate() string

func (*PackageVersion) GetExists added in v0.1.25

func (x *PackageVersion) GetExists() bool

func (*PackageVersion) GetFips added in v0.1.25

func (x *PackageVersion) GetFips() bool

func (*PackageVersion) GetLatestVersion added in v0.1.35

func (x *PackageVersion) GetLatestVersion() string

func (*PackageVersion) GetLegacyLts added in v0.1.35

func (x *PackageVersion) GetLegacyLts() string

func (*PackageVersion) GetLts added in v0.1.25

func (x *PackageVersion) GetLts() bool

func (*PackageVersion) GetReleaseDate added in v0.1.25

func (x *PackageVersion) GetReleaseDate() string

func (*PackageVersion) GetVersion added in v0.1.25

func (x *PackageVersion) GetVersion() string

func (*PackageVersion) GetVersionSource added in v0.1.38

func (x *PackageVersion) GetVersionSource() *PackageVersion_VersionSource

func (*PackageVersion) ProtoMessage added in v0.1.25

func (*PackageVersion) ProtoMessage()

func (*PackageVersion) ProtoReflect added in v0.1.25

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

func (*PackageVersion) Reset added in v0.1.25

func (x *PackageVersion) Reset()

func (*PackageVersion) String added in v0.1.25

func (x *PackageVersion) String() string

type PackageVersionMetadata added in v0.1.25

type PackageVersionMetadata struct {

	// list of versions which are now eol
	EolVersions []*PackageVersion `protobuf:"bytes,1,rep,name=eolVersions,proto3" json:"eolVersions,omitempty"`
	// the last time this data was updated
	LastUpdatedTimestamp string `protobuf:"bytes,2,opt,name=lastUpdatedTimestamp,proto3" json:"lastUpdatedTimestamp,omitempty"`
	// the latest version of the software
	LatestVersion string `protobuf:"bytes,3,opt,name=latestVersion,proto3" json:"latestVersion,omitempty"`
	// list of versions which are active
	Versions []*PackageVersion `protobuf:"bytes,4,rep,name=versions,proto3" json:"versions,omitempty"`
	// the grace period to extend the EOL of the package
	GracePeriodMonths int32 `protobuf:"varint,5,opt,name=gracePeriodMonths,proto3" json:"gracePeriodMonths,omitempty"`
	// contains filtered or unexported fields
}

This type mimics the "status" section from the original YAML files located at https://github.com/chainguard-dev/package-version-metadata

func (*PackageVersionMetadata) Descriptor deprecated added in v0.1.25

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

Deprecated: Use PackageVersionMetadata.ProtoReflect.Descriptor instead.

func (*PackageVersionMetadata) GetEolVersions added in v0.1.25

func (x *PackageVersionMetadata) GetEolVersions() []*PackageVersion

func (*PackageVersionMetadata) GetGracePeriodMonths added in v0.1.27

func (x *PackageVersionMetadata) GetGracePeriodMonths() int32

func (*PackageVersionMetadata) GetLastUpdatedTimestamp added in v0.1.25

func (x *PackageVersionMetadata) GetLastUpdatedTimestamp() string

func (*PackageVersionMetadata) GetLatestVersion added in v0.1.25

func (x *PackageVersionMetadata) GetLatestVersion() string

func (*PackageVersionMetadata) GetVersions added in v0.1.25

func (x *PackageVersionMetadata) GetVersions() []*PackageVersion

func (*PackageVersionMetadata) ProtoMessage added in v0.1.25

func (*PackageVersionMetadata) ProtoMessage()

func (*PackageVersionMetadata) ProtoReflect added in v0.1.25

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

func (*PackageVersionMetadata) Reset added in v0.1.25

func (x *PackageVersionMetadata) Reset()

func (*PackageVersionMetadata) String added in v0.1.25

func (x *PackageVersionMetadata) String() string

type PackageVersionMetadataRequest added in v0.1.25

type PackageVersionMetadataRequest struct {

	// The name of the package.
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageVersionMetadataRequest) Descriptor deprecated added in v0.1.25

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

Deprecated: Use PackageVersionMetadataRequest.ProtoReflect.Descriptor instead.

func (*PackageVersionMetadataRequest) GetPackage added in v0.1.25

func (x *PackageVersionMetadataRequest) GetPackage() string

func (*PackageVersionMetadataRequest) ProtoMessage added in v0.1.25

func (*PackageVersionMetadataRequest) ProtoMessage()

func (*PackageVersionMetadataRequest) ProtoReflect added in v0.1.25

func (*PackageVersionMetadataRequest) Reset added in v0.1.25

func (x *PackageVersionMetadataRequest) Reset()

func (*PackageVersionMetadataRequest) String added in v0.1.25

type PackageVersion_VersionSource added in v0.1.38

type PackageVersion_VersionSource struct {
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageVersion_VersionSource) Descriptor deprecated added in v0.1.38

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

Deprecated: Use PackageVersion_VersionSource.ProtoReflect.Descriptor instead.

func (*PackageVersion_VersionSource) GetRef added in v0.1.38

func (*PackageVersion_VersionSource) GetSha added in v0.1.38

func (*PackageVersion_VersionSource) ProtoMessage added in v0.1.38

func (*PackageVersion_VersionSource) ProtoMessage()

func (*PackageVersion_VersionSource) ProtoReflect added in v0.1.38

func (*PackageVersion_VersionSource) Reset added in v0.1.38

func (x *PackageVersion_VersionSource) Reset()

func (*PackageVersion_VersionSource) String added in v0.1.38

type PackagesDiff

type PackagesDiff struct {
	Added   []*PackageReference                     `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"`
	Removed []*PackageReference                     `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"`
	Changed []*PackagesDiff_ChangedPackageReference `protobuf:"bytes,3,rep,name=changed,proto3" json:"changed,omitempty"`
	// contains filtered or unexported fields
}

func (*PackagesDiff) Descriptor deprecated

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

Deprecated: Use PackagesDiff.ProtoReflect.Descriptor instead.

func (*PackagesDiff) GetAdded

func (x *PackagesDiff) GetAdded() []*PackageReference

func (*PackagesDiff) GetChanged

func (*PackagesDiff) GetRemoved

func (x *PackagesDiff) GetRemoved() []*PackageReference

func (*PackagesDiff) ProtoMessage

func (*PackagesDiff) ProtoMessage()

func (*PackagesDiff) ProtoReflect

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

func (*PackagesDiff) Reset

func (x *PackagesDiff) Reset()

func (*PackagesDiff) String

func (x *PackagesDiff) String() string

type PackagesDiff_ChangedPackageReference

type PackagesDiff_ChangedPackageReference struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Current  *VersionReference `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
	Previous *VersionReference `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"`
	// contains filtered or unexported fields
}

func (*PackagesDiff_ChangedPackageReference) Descriptor deprecated

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

Deprecated: Use PackagesDiff_ChangedPackageReference.ProtoReflect.Descriptor instead.

func (*PackagesDiff_ChangedPackageReference) GetCurrent

func (*PackagesDiff_ChangedPackageReference) GetName

func (*PackagesDiff_ChangedPackageReference) GetPrevious

func (*PackagesDiff_ChangedPackageReference) ProtoMessage

func (*PackagesDiff_ChangedPackageReference) ProtoMessage()

func (*PackagesDiff_ChangedPackageReference) ProtoReflect

func (*PackagesDiff_ChangedPackageReference) Reset

func (*PackagesDiff_ChangedPackageReference) String

type PkgMetadata added in v0.1.20

type PkgMetadata struct {

	// purl of package or subpackage; spec https://github.com/package-url/purl-spec
	Purl string `protobuf:"bytes,1,opt,name=purl,proto3" json:"purl,omitempty"`
	// if differ from purl, it means it is a subpackage
	OriginPurl string `protobuf:"bytes,2,opt,name=origin_purl,json=originPurl,proto3" json:"origin_purl,omitempty"`
	// date when EOL, date 0-0-0 when not eol
	EolDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=eol_date,json=eolDate,proto3" json:"eol_date,omitempty"`
	// timestamp when package was built, date 0-0-0 when build timestamp not available
	BuildTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty"`
	// license of package, empty if unknown
	License string `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"`
	// contains filtered or unexported fields
}

func (*PkgMetadata) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PkgMetadata.ProtoReflect.Descriptor instead.

func (*PkgMetadata) GetBuildTimestamp added in v0.1.20

func (x *PkgMetadata) GetBuildTimestamp() *timestamppb.Timestamp

func (*PkgMetadata) GetEolDate added in v0.1.20

func (x *PkgMetadata) GetEolDate() *timestamppb.Timestamp

func (*PkgMetadata) GetLicense added in v0.1.20

func (x *PkgMetadata) GetLicense() string

func (*PkgMetadata) GetOriginPurl added in v0.1.20

func (x *PkgMetadata) GetOriginPurl() string

func (*PkgMetadata) GetPurl added in v0.1.20

func (x *PkgMetadata) GetPurl() string

func (*PkgMetadata) ProtoMessage added in v0.1.20

func (*PkgMetadata) ProtoMessage()

func (*PkgMetadata) ProtoReflect added in v0.1.20

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

func (*PkgMetadata) Reset added in v0.1.20

func (x *PkgMetadata) Reset()

func (*PkgMetadata) String added in v0.1.20

func (x *PkgMetadata) String() string

type Plan added in v0.1.54

type Plan int32

Plan describes the entitlement plan for an organization.

const (
	Plan_PLAN_UNSPECIFIED Plan = 0
	Plan_PER_IMAGE        Plan = 1
	Plan_CATALOG          Plan = 2
	Plan_STARTER          Plan = 3
)

func (Plan) Descriptor added in v0.1.54

func (Plan) Descriptor() protoreflect.EnumDescriptor

func (Plan) Enum added in v0.1.54

func (x Plan) Enum() *Plan

func (Plan) EnumDescriptor deprecated added in v0.1.54

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

Deprecated: Use Plan.Descriptor instead.

func (Plan) Number added in v0.1.54

func (x Plan) Number() protoreflect.EnumNumber

func (Plan) String added in v0.1.54

func (x Plan) String() string

func (Plan) Type added in v0.1.54

func (Plan) Type() protoreflect.EnumType

type PoliciesClient added in v0.1.55

type PoliciesClient interface {
	CheckPolicies(ctx context.Context, in *CheckPoliciesRequest, opts ...grpc.CallOption) (*CheckPoliciesResponse, error)
}

PoliciesClient is the client API for Policies service.

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

func NewPoliciesClient added in v0.1.55

func NewPoliciesClient(cc grpc.ClientConnInterface) PoliciesClient

type PoliciesServer added in v0.1.55

type PoliciesServer interface {
	CheckPolicies(context.Context, *CheckPoliciesRequest) (*CheckPoliciesResponse, error)
	// contains filtered or unexported methods
}

PoliciesServer is the server API for Policies service. All implementations must embed UnimplementedPoliciesServer for forward compatibility.

type PolicyCheckResult added in v0.1.55

type PolicyCheckResult int32

PolicyCheckResult is the outcome of evaluating a single policy.

const (
	PolicyCheckResult_POLICY_CHECK_RESULT_UNSPECIFIED PolicyCheckResult = 0
	// The image satisfies the policy.
	PolicyCheckResult_ALLOWED PolicyCheckResult = 1
	// The image violates the policy.
	PolicyCheckResult_DENIED PolicyCheckResult = 2
	// The policy definition itself produced an error during evaluation (e.g. a
	// syntax error in the policy expression). The API call succeeded, but the
	// policy could not be evaluated to an allow/deny outcome.
	PolicyCheckResult_ERROR PolicyCheckResult = 3
)

func (PolicyCheckResult) Descriptor added in v0.1.55

func (PolicyCheckResult) Enum added in v0.1.55

func (PolicyCheckResult) EnumDescriptor deprecated added in v0.1.55

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

Deprecated: Use PolicyCheckResult.Descriptor instead.

func (PolicyCheckResult) Number added in v0.1.55

func (PolicyCheckResult) String added in v0.1.55

func (x PolicyCheckResult) String() string

func (PolicyCheckResult) Type added in v0.1.55

type PolicyInput added in v0.1.51

type PolicyInput struct {

	// The name of the image's main package.
	MainPackage string `protobuf:"bytes,1,opt,name=main_package,json=mainPackage,proto3" json:"main_package,omitempty"`
	// Version metadata for the image's main package.
	MainPackageVersion *PackageVersion `protobuf:"bytes,2,opt,name=main_package_version,json=mainPackageVersion,proto3" json:"main_package_version,omitempty"`
	// When the image was created.
	// Derived from package build timestamps to ensure reproducibility.
	// Consistent with the org.opencontainers.image.created annotation on the image.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Effective license of the image's main package, sourced from
	// apks.license via image_main_packages.
	MainPackageLicense string `protobuf:"bytes,4,opt,name=main_package_license,json=mainPackageLicense,proto3" json:"main_package_license,omitempty"`
	// Per-APK info for every APK in the image, keyed by PURL.
	Packages []*v12.PackageInfo `protobuf:"bytes,5,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

PolicyInput represents the set of attributes available for policy evaluation on an image.

func (*PolicyInput) Descriptor deprecated added in v0.1.51

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

Deprecated: Use PolicyInput.ProtoReflect.Descriptor instead.

func (*PolicyInput) GetCreateTime added in v0.1.51

func (x *PolicyInput) GetCreateTime() *timestamppb.Timestamp

func (*PolicyInput) GetMainPackage added in v0.1.51

func (x *PolicyInput) GetMainPackage() string

func (*PolicyInput) GetMainPackageLicense added in v0.1.219

func (x *PolicyInput) GetMainPackageLicense() string

func (*PolicyInput) GetMainPackageVersion added in v0.1.51

func (x *PolicyInput) GetMainPackageVersion() *PackageVersion

func (*PolicyInput) GetPackages added in v0.1.219

func (x *PolicyInput) GetPackages() []*v12.PackageInfo

func (*PolicyInput) ProtoMessage added in v0.1.51

func (*PolicyInput) ProtoMessage()

func (*PolicyInput) ProtoReflect added in v0.1.51

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

func (*PolicyInput) Reset added in v0.1.51

func (x *PolicyInput) Reset()

func (*PolicyInput) String added in v0.1.51

func (x *PolicyInput) String() string

type PolicyMode added in v0.1.55

type PolicyMode int32

PolicyMode indicates how the caller should treat a policy violation.

const (
	PolicyMode_POLICY_MODE_UNSPECIFIED PolicyMode = 0
	// The violation should be treated as blocking by the caller.
	PolicyMode_ENFORCED PolicyMode = 1
	// The violation should be logged but not treated as blocking.
	PolicyMode_DRY_RUN PolicyMode = 2
)

func (PolicyMode) Descriptor added in v0.1.55

func (PolicyMode) Descriptor() protoreflect.EnumDescriptor

func (PolicyMode) Enum added in v0.1.55

func (x PolicyMode) Enum() *PolicyMode

func (PolicyMode) EnumDescriptor deprecated added in v0.1.55

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

Deprecated: Use PolicyMode.Descriptor instead.

func (PolicyMode) Number added in v0.1.55

func (x PolicyMode) Number() protoreflect.EnumNumber

func (PolicyMode) String added in v0.1.55

func (x PolicyMode) String() string

func (PolicyMode) Type added in v0.1.55

type PolicyResult added in v0.1.55

type PolicyResult struct {

	// The UIDP of the policy that was evaluated.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// The name of the policy.
	PolicyName string `protobuf:"bytes,2,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
	// The mode the policy was operating in.
	Mode PolicyMode `protobuf:"varint,3,opt,name=mode,proto3,enum=chainguard.platform.registry.PolicyMode" json:"mode,omitempty"`
	// The result of the evaluation.
	Result PolicyCheckResult `protobuf:"varint,4,opt,name=result,proto3,enum=chainguard.platform.registry.PolicyCheckResult" json:"result,omitempty"`
	// The UIDP of the binding that associated this policy.
	BindingId string `protobuf:"bytes,5,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
	// The parameter values the binding supplied for this evaluation, keyed by
	// parameter name. Surfaces what the allow/deny outcome was configured with.
	Parameters map[string]*structpb.Value `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

PolicyResult is the outcome of evaluating a single policy against an image.

func (*PolicyResult) Descriptor deprecated added in v0.1.55

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

Deprecated: Use PolicyResult.ProtoReflect.Descriptor instead.

func (*PolicyResult) GetBindingId added in v0.1.55

func (x *PolicyResult) GetBindingId() string

func (*PolicyResult) GetMode added in v0.1.55

func (x *PolicyResult) GetMode() PolicyMode

func (*PolicyResult) GetParameters added in v0.1.57

func (x *PolicyResult) GetParameters() map[string]*structpb.Value

func (*PolicyResult) GetPolicyId added in v0.1.55

func (x *PolicyResult) GetPolicyId() string

func (*PolicyResult) GetPolicyName added in v0.1.55

func (x *PolicyResult) GetPolicyName() string

func (*PolicyResult) GetResult added in v0.1.55

func (x *PolicyResult) GetResult() PolicyCheckResult

func (*PolicyResult) ProtoMessage added in v0.1.55

func (*PolicyResult) ProtoMessage()

func (*PolicyResult) ProtoReflect added in v0.1.55

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

func (*PolicyResult) Reset added in v0.1.55

func (x *PolicyResult) Reset()

func (*PolicyResult) String added in v0.1.55

func (x *PolicyResult) String() string

type RawSbom deprecated added in v0.1.21

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

The service for this request is deprecated.

Deprecated: Marked as deprecated in registry.platform.proto.

func (*RawSbom) Descriptor deprecated added in v0.1.21

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

Deprecated: Use RawSbom.ProtoReflect.Descriptor instead.

func (*RawSbom) GetRawSbom added in v0.1.21

func (x *RawSbom) GetRawSbom() string

func (*RawSbom) ProtoMessage added in v0.1.21

func (*RawSbom) ProtoMessage()

func (*RawSbom) ProtoReflect added in v0.1.21

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

func (*RawSbom) Reset added in v0.1.21

func (x *RawSbom) Reset()

func (*RawSbom) String added in v0.1.21

func (x *RawSbom) String() string

type RawSbomRequest deprecated added in v0.1.21

type RawSbomRequest struct {

	// The UIDP of the image repo to get config for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get config for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The oci reference to get sbom for.
	Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// The architecture to get config for.
	Arch string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

The service for this request is deprecated.

Deprecated: Marked as deprecated in registry.platform.proto.

func (*RawSbomRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use RawSbomRequest.ProtoReflect.Descriptor instead.

func (*RawSbomRequest) GetArch added in v0.1.21

func (x *RawSbomRequest) GetArch() string

func (*RawSbomRequest) GetDigest added in v0.1.21

func (x *RawSbomRequest) GetDigest() string

func (*RawSbomRequest) GetReference added in v0.1.21

func (x *RawSbomRequest) GetReference() string

func (*RawSbomRequest) GetRepoId added in v0.1.21

func (x *RawSbomRequest) GetRepoId() string

func (*RawSbomRequest) ProtoMessage added in v0.1.21

func (*RawSbomRequest) ProtoMessage()

func (*RawSbomRequest) ProtoReflect added in v0.1.21

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

func (*RawSbomRequest) Reset added in v0.1.21

func (x *RawSbomRequest) Reset()

func (*RawSbomRequest) String added in v0.1.21

func (x *RawSbomRequest) String() string

type RawVulnReport added in v0.1.25

type RawVulnReport struct {

	// digest is the exact digest of the scanned image.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// scanner is the details of the scanner that generated this report.
	Scanner *Scanner `protobuf:"bytes,2,opt,name=scanner,proto3" json:"scanner,omitempty"`
	// created_at is the time the report was generated.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// raw_report is a JSON string of the raw report output from the scanner.
	// This is only populated for reports with size less than the maximum allowed.
	RawReport string `protobuf:"bytes,4,opt,name=raw_report,json=rawReport,proto3" json:"raw_report,omitempty"`
	// raw_report_url is an expiring URL for a direct download of the
	// raw scan report.
	RawReportUrl string `protobuf:"bytes,5,opt,name=raw_report_url,json=rawReportUrl,proto3" json:"raw_report_url,omitempty"`
	// contains filtered or unexported fields
}

func (*RawVulnReport) Descriptor deprecated added in v0.1.25

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

Deprecated: Use RawVulnReport.ProtoReflect.Descriptor instead.

func (*RawVulnReport) GetCreatedAt added in v0.1.25

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

func (*RawVulnReport) GetDigest added in v0.1.25

func (x *RawVulnReport) GetDigest() string

func (*RawVulnReport) GetRawReport added in v0.1.25

func (x *RawVulnReport) GetRawReport() string

func (*RawVulnReport) GetRawReportUrl added in v0.1.25

func (x *RawVulnReport) GetRawReportUrl() string

func (*RawVulnReport) GetScanner added in v0.1.25

func (x *RawVulnReport) GetScanner() *Scanner

func (*RawVulnReport) ProtoMessage added in v0.1.25

func (*RawVulnReport) ProtoMessage()

func (*RawVulnReport) ProtoReflect added in v0.1.25

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

func (*RawVulnReport) Reset added in v0.1.25

func (x *RawVulnReport) Reset()

func (*RawVulnReport) String added in v0.1.25

func (x *RawVulnReport) String() string

type RegistryClient

type RegistryClient interface {
	CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error)
	UpdateRepo(ctx context.Context, in *Repo, opts ...grpc.CallOption) (*Repo, error)
	ListRepos(ctx context.Context, in *RepoFilter, opts ...grpc.CallOption) (*RepoList, error)
	GetRepoCountBySource(ctx context.Context, in *GetRepoCountBySourceRequest, opts ...grpc.CallOption) (*RepoCount, error)
	DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error)
	UpdateTag(ctx context.Context, in *Tag, opts ...grpc.CallOption) (*Tag, error)
	DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListTags(ctx context.Context, in *TagFilter, opts ...grpc.CallOption) (*TagList, error)
	GetRepoTagsSummary(ctx context.Context, in *GetRepoTagsSummaryRequest, opts ...grpc.CallOption) (*RepoTagsSummary, error)
	ListEolTags(ctx context.Context, in *EolTagFilter, opts ...grpc.CallOption) (*EolTagList, error)
	ListTagHistory(ctx context.Context, in *TagHistoryFilter, opts ...grpc.CallOption) (*TagHistoryList, error)
	// Deprecated
	GetSbom(ctx context.Context, in *SbomRequest, opts ...grpc.CallOption) (*v1.Sbom2, error)
	GetHelm(ctx context.Context, in *HelmRequest, opts ...grpc.CallOption) (*Helm, error)
	GetChart(ctx context.Context, in *GetChartRequest, opts ...grpc.CallOption) (*Chart, error)
	// ListChartsByImageRepo returns every chart that depends on the
	// given image repo. Backed by the chart_image_dependency reverse index
	// populated from chart-lock attestations on catalog pushes
	ListChartsByImageRepo(ctx context.Context, in *ListChartsByImageRepoRequest, opts ...grpc.CallOption) (*ListChartsByImageRepoResponse, error)
	// ListChartImageBindings returns every chart-image binding for each of
	// the requested image repo UIDPs. The RPC is unscoped: the caller must
	// hold CAP_REPO_LIST somewhere in their token, and each image_repo_id
	// must be a descendant of at least one of the caller's authorized
	// scopes (enforced in the impl via interceptors.GetUIDPScope).
	ListChartImageBindings(ctx context.Context, in *ListChartImageBindingsRequest, opts ...grpc.CallOption) (*ListChartImageBindingsResponse, error)
	GetImageConfig(ctx context.Context, in *ImageConfigRequest, opts ...grpc.CallOption) (*ImageConfig, error)
	GetArchs(ctx context.Context, in *ArchRequest, opts ...grpc.CallOption) (*Archs, error)
	GetSize(ctx context.Context, in *SizeRequest, opts ...grpc.CallOption) (*Size, error)
	// Deprecated
	GetRawSbom(ctx context.Context, in *RawSbomRequest, opts ...grpc.CallOption) (*RawSbom, error)
	GetVulnReport(ctx context.Context, in *VulnReportRequest, opts ...grpc.CallOption) (*v1.VulnReport, error)
	ListManifestMetadata(ctx context.Context, in *ManifestMetadataFilter, opts ...grpc.CallOption) (*ManifestMetadataList, error)
	GetManifestDigestCount(ctx context.Context, in *ManifestDigestCountFilter, opts ...grpc.CallOption) (*ManifestDigestCount, error)
	GetPackageVersionMetadata(ctx context.Context, in *PackageVersionMetadataRequest, opts ...grpc.CallOption) (*PackageVersionMetadata, error)
	ListBuildReports(ctx context.Context, in *BuildReportFilter, opts ...grpc.CallOption) (*BuildReportList, error)
	GetBuildStatus(ctx context.Context, in *BuildReportFilter, opts ...grpc.CallOption) (*BuildStatus, error)
	GetUpdateStatus(ctx context.Context, in *UpdateStatusRequest, opts ...grpc.CallOption) (*UpdateStatus, error)
	GetSyncStatus(ctx context.Context, in *GetSyncStatusRequest, opts ...grpc.CallOption) (*SyncStatus, error)
	ListSyncStatuses(ctx context.Context, in *ListSyncStatusesRequest, opts ...grpc.CallOption) (*SyncStatusList, error)
	CreateDeployment(ctx context.Context, in *CreateDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
	UpdateDeployment(ctx context.Context, in *UpdateDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
	GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
	GetRegistrySettings(ctx context.Context, in *GetRegistrySettingsRequest, opts ...grpc.CallOption) (*RegistrySettings, error)
	UpdateRegistrySettings(ctx context.Context, in *RegistrySettings, opts ...grpc.CallOption) (*RegistrySettings, error)
}

RegistryClient is the client API for Registry service.

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

func NewRegistryClient

func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient

type RegistryServer

type RegistryServer interface {
	CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
	UpdateRepo(context.Context, *Repo) (*Repo, error)
	ListRepos(context.Context, *RepoFilter) (*RepoList, error)
	GetRepoCountBySource(context.Context, *GetRepoCountBySourceRequest) (*RepoCount, error)
	DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error)
	CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
	UpdateTag(context.Context, *Tag) (*Tag, error)
	DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
	ListTags(context.Context, *TagFilter) (*TagList, error)
	GetRepoTagsSummary(context.Context, *GetRepoTagsSummaryRequest) (*RepoTagsSummary, error)
	ListEolTags(context.Context, *EolTagFilter) (*EolTagList, error)
	ListTagHistory(context.Context, *TagHistoryFilter) (*TagHistoryList, error)
	// Deprecated
	GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, error)
	GetHelm(context.Context, *HelmRequest) (*Helm, error)
	GetChart(context.Context, *GetChartRequest) (*Chart, error)
	// ListChartsByImageRepo returns every chart that depends on the
	// given image repo. Backed by the chart_image_dependency reverse index
	// populated from chart-lock attestations on catalog pushes
	ListChartsByImageRepo(context.Context, *ListChartsByImageRepoRequest) (*ListChartsByImageRepoResponse, error)
	// ListChartImageBindings returns every chart-image binding for each of
	// the requested image repo UIDPs. The RPC is unscoped: the caller must
	// hold CAP_REPO_LIST somewhere in their token, and each image_repo_id
	// must be a descendant of at least one of the caller's authorized
	// scopes (enforced in the impl via interceptors.GetUIDPScope).
	ListChartImageBindings(context.Context, *ListChartImageBindingsRequest) (*ListChartImageBindingsResponse, error)
	GetImageConfig(context.Context, *ImageConfigRequest) (*ImageConfig, error)
	GetArchs(context.Context, *ArchRequest) (*Archs, error)
	GetSize(context.Context, *SizeRequest) (*Size, error)
	// Deprecated
	GetRawSbom(context.Context, *RawSbomRequest) (*RawSbom, error)
	GetVulnReport(context.Context, *VulnReportRequest) (*v1.VulnReport, error)
	ListManifestMetadata(context.Context, *ManifestMetadataFilter) (*ManifestMetadataList, error)
	GetManifestDigestCount(context.Context, *ManifestDigestCountFilter) (*ManifestDigestCount, error)
	GetPackageVersionMetadata(context.Context, *PackageVersionMetadataRequest) (*PackageVersionMetadata, error)
	ListBuildReports(context.Context, *BuildReportFilter) (*BuildReportList, error)
	GetBuildStatus(context.Context, *BuildReportFilter) (*BuildStatus, error)
	GetUpdateStatus(context.Context, *UpdateStatusRequest) (*UpdateStatus, error)
	GetSyncStatus(context.Context, *GetSyncStatusRequest) (*SyncStatus, error)
	ListSyncStatuses(context.Context, *ListSyncStatusesRequest) (*SyncStatusList, error)
	CreateDeployment(context.Context, *CreateDeploymentRequest) (*Deployment, error)
	UpdateDeployment(context.Context, *UpdateDeploymentRequest) (*Deployment, error)
	GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
	GetRegistrySettings(context.Context, *GetRegistrySettingsRequest) (*RegistrySettings, error)
	UpdateRegistrySettings(context.Context, *RegistrySettings) (*RegistrySettings, error)
	// contains filtered or unexported methods
}

RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility.

type RegistrySettings added in v0.1.44

type RegistrySettings struct {

	// registry_id is the UIDP of the root group (e.g., cgr.dev/<uidp>/...).
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// unique_tags controls whether exported tags will be uniquely labeled by default.
	UniqueTags bool `protobuf:"varint,2,opt,name=unique_tags,json=uniqueTags,proto3" json:"unique_tags,omitempty"`
	// eol_grace_period controls whether to support EOL grace period by default for repos in this registry.
	// When enabled, EOL-tagged images are shipped to users during their grace period.
	EolGracePeriod bool `protobuf:"varint,3,opt,name=eol_grace_period,json=eolGracePeriod,proto3" json:"eol_grace_period,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistrySettings) Descriptor deprecated added in v0.1.44

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

Deprecated: Use RegistrySettings.ProtoReflect.Descriptor instead.

func (*RegistrySettings) GetEolGracePeriod added in v0.1.44

func (x *RegistrySettings) GetEolGracePeriod() bool

func (*RegistrySettings) GetRegistryId added in v0.1.44

func (x *RegistrySettings) GetRegistryId() string

func (*RegistrySettings) GetUniqueTags added in v0.1.44

func (x *RegistrySettings) GetUniqueTags() bool

func (*RegistrySettings) ProtoMessage added in v0.1.44

func (*RegistrySettings) ProtoMessage()

func (*RegistrySettings) ProtoReflect added in v0.1.44

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

func (*RegistrySettings) Reset added in v0.1.44

func (x *RegistrySettings) Reset()

func (*RegistrySettings) String added in v0.1.44

func (x *RegistrySettings) String() string

type RemoveEntitlementImagesRequest added in v0.1.86

type RemoveEntitlementImagesRequest struct {

	// Specify how to select which entitlements to remove images from.
	// Callers must have scope over the id in the provided field.
	//
	// Types that are valid to be assigned to Entitlement:
	//
	//	*RemoveEntitlementImagesRequest_Parent
	//	*RemoveEntitlementImagesRequest_Id
	Entitlement isRemoveEntitlementImagesRequest_Entitlement `protobuf_oneof:"entitlement"`
	// Catalog image names to remove (e.g., "nginx", "redis"). Matched against
	// the names of catalog images currently associated with the targeted
	// entitlement(s). Names that aren't currently entitled are silent no-ops.
	ImageNames []string `protobuf:"bytes,3,rep,name=image_names,json=imageNames,proto3" json:"image_names,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveEntitlementImagesRequest) Descriptor deprecated added in v0.1.86

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

Deprecated: Use RemoveEntitlementImagesRequest.ProtoReflect.Descriptor instead.

func (*RemoveEntitlementImagesRequest) GetEntitlement added in v0.1.86

func (x *RemoveEntitlementImagesRequest) GetEntitlement() isRemoveEntitlementImagesRequest_Entitlement

func (*RemoveEntitlementImagesRequest) GetId added in v0.1.86

func (*RemoveEntitlementImagesRequest) GetImageNames added in v0.1.86

func (x *RemoveEntitlementImagesRequest) GetImageNames() []string

func (*RemoveEntitlementImagesRequest) GetParent added in v0.1.86

func (x *RemoveEntitlementImagesRequest) GetParent() string

func (*RemoveEntitlementImagesRequest) ProtoMessage added in v0.1.86

func (*RemoveEntitlementImagesRequest) ProtoMessage()

func (*RemoveEntitlementImagesRequest) ProtoReflect added in v0.1.86

func (*RemoveEntitlementImagesRequest) Reset added in v0.1.86

func (x *RemoveEntitlementImagesRequest) Reset()

func (*RemoveEntitlementImagesRequest) String added in v0.1.86

type RemoveEntitlementImagesRequest_Id added in v0.1.86

type RemoveEntitlementImagesRequest_Id struct {
	// The exact id of the entitlement to remove images from.
	Id string `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
}

type RemoveEntitlementImagesRequest_Parent added in v0.1.86

type RemoveEntitlementImagesRequest_Parent struct {
	// The organization to remove images from. The named images are
	// removed from every active entitlement under the org that has them.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3,oneof"`
}

type RemoveEntitlementImagesResponse added in v0.1.86

type RemoveEntitlementImagesResponse struct {

	// The images that were removed. One entry per removal event — when a
	// single image is removed from multiple entitlements (org-scoped remove),
	// it appears once per affected entitlement so callers can see the
	// per-entitlement effect.
	Images []*EntitledImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// The customer org UIDP that owned the affected entitlements. Set by
	// the backend to the resolved parent regardless of whether the request
	// selected by parent or by entitlement id. Used as the CloudEvents
	// subject for downstream subscribers.
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveEntitlementImagesResponse) CloudEventsExtension added in v0.1.86

func (x *RemoveEntitlementImagesResponse) CloudEventsExtension(key string) (string, bool)

CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension

func (*RemoveEntitlementImagesResponse) CloudEventsSubject added in v0.1.86

func (x *RemoveEntitlementImagesResponse) CloudEventsSubject() string

CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject. Returns the customer org UIDP whose entitlements were affected, matching the AddEntitlementImagesResponse pattern so the same downstream subscribers can route both events.

func (*RemoveEntitlementImagesResponse) Descriptor deprecated added in v0.1.86

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

Deprecated: Use RemoveEntitlementImagesResponse.ProtoReflect.Descriptor instead.

func (*RemoveEntitlementImagesResponse) GetImages added in v0.1.86

func (*RemoveEntitlementImagesResponse) GetParent added in v0.1.86

func (x *RemoveEntitlementImagesResponse) GetParent() string

func (*RemoveEntitlementImagesResponse) ProtoMessage added in v0.1.86

func (*RemoveEntitlementImagesResponse) ProtoMessage()

func (*RemoveEntitlementImagesResponse) ProtoReflect added in v0.1.86

func (*RemoveEntitlementImagesResponse) Reset added in v0.1.86

func (*RemoveEntitlementImagesResponse) String added in v0.1.86

type Repo

type Repo struct {

	// id is the identifier of this specific repository.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name is the human-readable name of the repository.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// catalog_tier is the catalog tier this repository belongs to.
	CatalogTier CatalogTier `` /* 141-byte string literal not displayed */
	// bundles is a list of tags/labels that allow us to group repositories to each other for sales purposes.
	Bundles []string `protobuf:"bytes,4,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// readme is raw Markdown file contents describing the repo.
	Readme string `protobuf:"bytes,5,opt,name=readme,proto3" json:"readme,omitempty"`
	// (optional) Repository sync configuration. If enabled, images are synced from the source to this repo.
	// NOTE: This property can only be set by Chainguard.
	// Note: the json_name defaults to "syncConfig" which causes our eventing
	// system to not work properly (since the protobuf name is "sync_config")
	SyncConfig *SyncConfig `protobuf:"bytes,6,opt,name=sync_config,proto3" json:"sync_config,omitempty"`
	// (optional) custom apko image configuration that gets applied to images in this repo.
	CustomOverlay *CustomOverlay `protobuf:"bytes,7,opt,name=custom_overlay,json=customOverlay,proto3" json:"custom_overlay,omitempty"`
	// aliases is a list of equivalent images.
	Aliases    []string               `protobuf:"bytes,8,rep,name=aliases,proto3" json:"aliases,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// (optional) actively maintained tags in this repository.
	ActiveTags []string `protobuf:"bytes,10,rep,name=active_tags,json=activeTags,proto3" json:"active_tags,omitempty"`
	// (optional) human-readable description of the repository.
	Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Repo) CloudEventsExtension added in v0.1.21

func (x *Repo) CloudEventsExtension(key string) (string, bool)

CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension

func (*Repo) CloudEventsSubject added in v0.1.21

func (x *Repo) CloudEventsSubject() string

CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject.

func (*Repo) Descriptor deprecated

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

Deprecated: Use Repo.ProtoReflect.Descriptor instead.

func (*Repo) GetActiveTags added in v0.1.40

func (x *Repo) GetActiveTags() []string

func (*Repo) GetAliases added in v0.1.27

func (x *Repo) GetAliases() []string

func (*Repo) GetBundles

func (x *Repo) GetBundles() []string

func (*Repo) GetCatalogTier

func (x *Repo) GetCatalogTier() CatalogTier

func (*Repo) GetCreateTime added in v0.1.29

func (x *Repo) GetCreateTime() *timestamppb.Timestamp

func (*Repo) GetCustomOverlay added in v0.1.26

func (x *Repo) GetCustomOverlay() *CustomOverlay

func (*Repo) GetDescription added in v0.1.44

func (x *Repo) GetDescription() string

func (*Repo) GetId

func (x *Repo) GetId() string

func (*Repo) GetName

func (x *Repo) GetName() string

func (*Repo) GetReadme added in v0.1.13

func (x *Repo) GetReadme() string

func (*Repo) GetSyncConfig added in v0.1.19

func (x *Repo) GetSyncConfig() *SyncConfig

func (*Repo) ProtoMessage

func (*Repo) ProtoMessage()

func (*Repo) ProtoReflect

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

func (*Repo) Reset

func (x *Repo) Reset()

func (*Repo) String

func (x *Repo) String() string

type RepoCount added in v0.1.32

type RepoCount struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoCount) Descriptor deprecated added in v0.1.32

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

Deprecated: Use RepoCount.ProtoReflect.Descriptor instead.

func (*RepoCount) GetCount added in v0.1.32

func (x *RepoCount) GetCount() int64

func (*RepoCount) ProtoMessage added in v0.1.32

func (*RepoCount) ProtoMessage()

func (*RepoCount) ProtoReflect added in v0.1.32

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

func (*RepoCount) Reset added in v0.1.32

func (x *RepoCount) Reset()

func (*RepoCount) String added in v0.1.32

func (x *RepoCount) String() string

type RepoFilter

type RepoFilter struct {

	// uidp filters records based on their position in the group hierarchy.
	Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"`
	// name is the exact name of the record.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// id is the identifier of this specific repository.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoFilter) Descriptor deprecated

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

Deprecated: Use RepoFilter.ProtoReflect.Descriptor instead.

func (*RepoFilter) GetId

func (x *RepoFilter) GetId() string

func (*RepoFilter) GetName

func (x *RepoFilter) GetName() string

func (*RepoFilter) GetUidp

func (x *RepoFilter) GetUidp() *v1.UIDPFilter

func (*RepoFilter) ProtoMessage

func (*RepoFilter) ProtoMessage()

func (*RepoFilter) ProtoReflect

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

func (*RepoFilter) Reset

func (x *RepoFilter) Reset()

func (*RepoFilter) String

func (x *RepoFilter) String() string

type RepoList

type RepoList struct {
	Items []*Repo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoList) Descriptor deprecated

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

Deprecated: Use RepoList.ProtoReflect.Descriptor instead.

func (*RepoList) GetItems

func (x *RepoList) GetItems() []*Repo

func (*RepoList) ProtoMessage

func (*RepoList) ProtoMessage()

func (*RepoList) ProtoReflect

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

func (*RepoList) Reset

func (x *RepoList) Reset()

func (*RepoList) String

func (x *RepoList) String() string

type RepoSyncStatus added in v0.1.51

type RepoSyncStatus struct {
	RepoId     string      `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	RepoStatus *SyncStatus `protobuf:"bytes,2,opt,name=repo_status,json=repoStatus,proto3" json:"repo_status,omitempty"`
	// contains filtered or unexported fields
}

RepoSyncStatus is repo_id correlated with the repo's sync status.

func (*RepoSyncStatus) Descriptor deprecated added in v0.1.51

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

Deprecated: Use RepoSyncStatus.ProtoReflect.Descriptor instead.

func (*RepoSyncStatus) GetRepoId added in v0.1.51

func (x *RepoSyncStatus) GetRepoId() string

func (*RepoSyncStatus) GetRepoStatus added in v0.1.51

func (x *RepoSyncStatus) GetRepoStatus() *SyncStatus

func (*RepoSyncStatus) ProtoMessage added in v0.1.51

func (*RepoSyncStatus) ProtoMessage()

func (*RepoSyncStatus) ProtoReflect added in v0.1.51

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

func (*RepoSyncStatus) Reset added in v0.1.51

func (x *RepoSyncStatus) Reset()

func (*RepoSyncStatus) String added in v0.1.51

func (x *RepoSyncStatus) String() string

type RepoTagReference added in v0.1.38

type RepoTagReference struct {

	// repo is the name of the repo
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// tag is the version of the image
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoTagReference) Descriptor deprecated added in v0.1.38

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

Deprecated: Use RepoTagReference.ProtoReflect.Descriptor instead.

func (*RepoTagReference) GetRepo added in v0.1.38

func (x *RepoTagReference) GetRepo() string

func (*RepoTagReference) GetTag added in v0.1.38

func (x *RepoTagReference) GetTag() string

func (*RepoTagReference) ProtoMessage added in v0.1.38

func (*RepoTagReference) ProtoMessage()

func (*RepoTagReference) ProtoReflect added in v0.1.38

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

func (*RepoTagReference) Reset added in v0.1.38

func (x *RepoTagReference) Reset()

func (*RepoTagReference) String added in v0.1.38

func (x *RepoTagReference) String() string

type RepoTagsSummary added in v0.1.199

type RepoTagsSummary struct {

	// id, the UIDP of the Repo whose tags this summarizes.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// tag_count, the number of tags under the repo matching the filter.
	TagCount int64 `protobuf:"varint,2,opt,name=tag_count,json=tagCount,proto3" json:"tag_count,omitempty"`
	// last_updated, the most recent update time across the repo's tags.
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// latest_tag, the tag named "latest" if present, otherwise the most
	// recently updated tag.
	LatestTag *Tag `protobuf:"bytes,4,opt,name=latest_tag,json=latestTag,proto3" json:"latest_tag,omitempty"`
	// latest_version, the longest tag name pointing at the same digest as
	// latest_tag, excluding "latest" and "latest-dev". Empty when no other
	// tag shares the digest.
	LatestVersion string `protobuf:"bytes,5,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
	// contains filtered or unexported fields
}

RepoTagsSummary summarizes the tags of a single Repo. When no tags match the filter, tag_count is 0 and the remaining fields are unset.

func (*RepoTagsSummary) Descriptor deprecated added in v0.1.199

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

Deprecated: Use RepoTagsSummary.ProtoReflect.Descriptor instead.

func (*RepoTagsSummary) GetId added in v0.1.199

func (x *RepoTagsSummary) GetId() string

func (*RepoTagsSummary) GetLastUpdated added in v0.1.199

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

func (*RepoTagsSummary) GetLatestTag added in v0.1.199

func (x *RepoTagsSummary) GetLatestTag() *Tag

func (*RepoTagsSummary) GetLatestVersion added in v0.1.199

func (x *RepoTagsSummary) GetLatestVersion() string

func (*RepoTagsSummary) GetTagCount added in v0.1.199

func (x *RepoTagsSummary) GetTagCount() int64

func (*RepoTagsSummary) ProtoMessage added in v0.1.199

func (*RepoTagsSummary) ProtoMessage()

func (*RepoTagsSummary) ProtoReflect added in v0.1.199

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

func (*RepoTagsSummary) Reset added in v0.1.199

func (x *RepoTagsSummary) Reset()

func (*RepoTagsSummary) String added in v0.1.199

func (x *RepoTagsSummary) String() string

type ResolveConfigRequest added in v0.1.29

type ResolveConfigRequest struct {
	Config *ApkoConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// The repository context in which to perform the resolution.
	// This is relevant for how we authenticate for APK access.
	RepoUidp string `protobuf:"bytes,2,opt,name=repo_uidp,json=repoUidp,proto3" json:"repo_uidp,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveConfigRequest) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ResolveConfigRequest.ProtoReflect.Descriptor instead.

func (*ResolveConfigRequest) GetConfig added in v0.1.29

func (x *ResolveConfigRequest) GetConfig() *ApkoConfig

func (*ResolveConfigRequest) GetRepoUidp added in v0.1.29

func (x *ResolveConfigRequest) GetRepoUidp() string

func (*ResolveConfigRequest) ProtoMessage added in v0.1.29

func (*ResolveConfigRequest) ProtoMessage()

func (*ResolveConfigRequest) ProtoReflect added in v0.1.29

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

func (*ResolveConfigRequest) Reset added in v0.1.29

func (x *ResolveConfigRequest) Reset()

func (*ResolveConfigRequest) String added in v0.1.29

func (x *ResolveConfigRequest) String() string

type SbomRequest deprecated added in v0.1.6

type SbomRequest struct {

	// The UIDP of the image repo to get an SBOM for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get an SBOM for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to get the SBOM for.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

The service for this request is deprecated.

Deprecated: Marked as deprecated in registry.platform.proto.

func (*SbomRequest) Descriptor deprecated added in v0.1.6

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

Deprecated: Use SbomRequest.ProtoReflect.Descriptor instead.

func (*SbomRequest) GetArch added in v0.1.21

func (x *SbomRequest) GetArch() string

func (*SbomRequest) GetDigest added in v0.1.6

func (x *SbomRequest) GetDigest() string

func (*SbomRequest) GetRepoId added in v0.1.6

func (x *SbomRequest) GetRepoId() string

func (*SbomRequest) ProtoMessage added in v0.1.6

func (*SbomRequest) ProtoMessage()

func (*SbomRequest) ProtoReflect added in v0.1.6

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

func (*SbomRequest) Reset added in v0.1.6

func (x *SbomRequest) Reset()

func (*SbomRequest) String added in v0.1.6

func (x *SbomRequest) String() string

type Scanner added in v0.1.25

type Scanner struct {

	// name is the name of the scanner.
	Name Scanner_Name `protobuf:"varint,1,opt,name=name,proto3,enum=chainguard.platform.registry.Scanner_Name" json:"name,omitempty"`
	// scanner_version is the version of the scanner used to generate the report.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// db_build_time is the time the vulnerability database was built that was used
	// to generate the report.
	DbBuildTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=db_build_time,json=dbBuildTime,proto3" json:"db_build_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Scanner) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Scanner.ProtoReflect.Descriptor instead.

func (*Scanner) GetDbBuildTime added in v0.1.25

func (x *Scanner) GetDbBuildTime() *timestamppb.Timestamp

func (*Scanner) GetName added in v0.1.25

func (x *Scanner) GetName() Scanner_Name

func (*Scanner) GetVersion added in v0.1.25

func (x *Scanner) GetVersion() string

func (*Scanner) ProtoMessage added in v0.1.25

func (*Scanner) ProtoMessage()

func (*Scanner) ProtoReflect added in v0.1.25

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

func (*Scanner) Reset added in v0.1.25

func (x *Scanner) Reset()

func (*Scanner) String added in v0.1.25

func (x *Scanner) String() string

type ScannerMetadata added in v0.1.15

type ScannerMetadata struct {
	Digest                       string                 `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	Scanner                      *v11.Scanner           `protobuf:"bytes,2,opt,name=scanner,proto3" json:"scanner,omitempty"`
	VulnerabilityDbLastBuildTime *timestamppb.Timestamp `` /* 151-byte string literal not displayed */
	VulnerabilityDbSchemaVersion string                 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ScannerMetadata) Descriptor deprecated added in v0.1.15

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

Deprecated: Use ScannerMetadata.ProtoReflect.Descriptor instead.

func (*ScannerMetadata) GetDigest added in v0.1.15

func (x *ScannerMetadata) GetDigest() string

func (*ScannerMetadata) GetScanner added in v0.1.15

func (x *ScannerMetadata) GetScanner() *v11.Scanner

func (*ScannerMetadata) GetVulnerabilityDbLastBuildTime added in v0.1.15

func (x *ScannerMetadata) GetVulnerabilityDbLastBuildTime() *timestamppb.Timestamp

func (*ScannerMetadata) GetVulnerabilityDbSchemaVersion added in v0.1.17

func (x *ScannerMetadata) GetVulnerabilityDbSchemaVersion() string

func (*ScannerMetadata) ProtoMessage added in v0.1.15

func (*ScannerMetadata) ProtoMessage()

func (*ScannerMetadata) ProtoReflect added in v0.1.15

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

func (*ScannerMetadata) Reset added in v0.1.15

func (x *ScannerMetadata) Reset()

func (*ScannerMetadata) String added in v0.1.15

func (x *ScannerMetadata) String() string

type Scanner_Name added in v0.1.25

type Scanner_Name int32
const (
	Scanner_UNKNOWN Scanner_Name = 0
	Scanner_GRYPE   Scanner_Name = 1
	Scanner_TRIVY   Scanner_Name = 2
)

func (Scanner_Name) Descriptor added in v0.1.25

func (Scanner_Name) Enum added in v0.1.25

func (x Scanner_Name) Enum() *Scanner_Name

func (Scanner_Name) EnumDescriptor deprecated added in v0.1.25

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

Deprecated: Use Scanner_Name.Descriptor instead.

func (Scanner_Name) Number added in v0.1.25

func (Scanner_Name) String added in v0.1.25

func (x Scanner_Name) String() string

func (Scanner_Name) Type added in v0.1.25

type Size added in v0.1.21

type Size struct {

	// Size per manifest digest, by architecture.
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Architecture.
	Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*Size) Descriptor deprecated added in v0.1.21

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

Deprecated: Use Size.ProtoReflect.Descriptor instead.

func (*Size) GetArch added in v0.1.21

func (x *Size) GetArch() string

func (*Size) GetSize added in v0.1.21

func (x *Size) GetSize() int64

func (*Size) ProtoMessage added in v0.1.21

func (*Size) ProtoMessage()

func (*Size) ProtoReflect added in v0.1.21

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

func (*Size) Reset added in v0.1.21

func (x *Size) Reset()

func (*Size) String added in v0.1.21

func (x *Size) String() string

type SizeRequest added in v0.1.21

type SizeRequest struct {

	// The UIDP of the image repo to get size and architecture information for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get size and architecture information for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to filter on.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*SizeRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use SizeRequest.ProtoReflect.Descriptor instead.

func (*SizeRequest) GetArch added in v0.1.21

func (x *SizeRequest) GetArch() string

func (*SizeRequest) GetDigest added in v0.1.21

func (x *SizeRequest) GetDigest() string

func (*SizeRequest) GetRepoId added in v0.1.21

func (x *SizeRequest) GetRepoId() string

func (*SizeRequest) ProtoMessage added in v0.1.21

func (*SizeRequest) ProtoMessage()

func (*SizeRequest) ProtoReflect added in v0.1.21

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

func (*SizeRequest) Reset added in v0.1.21

func (x *SizeRequest) Reset()

func (*SizeRequest) String added in v0.1.21

func (x *SizeRequest) String() string

type SwapEntitlementImagesRequest added in v0.1.185

type SwapEntitlementImagesRequest struct {

	// Specify how to select which entitlements to swap images on.
	// Callers must have scope over the id in the provided field.
	//
	// Types that are valid to be assigned to Entitlement:
	//
	//	*SwapEntitlementImagesRequest_Parent
	//	*SwapEntitlementImagesRequest_Id
	Entitlement isSwapEntitlementImagesRequest_Entitlement `protobuf_oneof:"entitlement"`
	// Names to remove; names not currently entitled are silent no-ops. Required:
	// a swap is an atomic replace and must name both a remove and an add side
	// (INVALID_ARGUMENT if either is empty).
	RemoveImageNames []string `protobuf:"bytes,3,rep,name=remove_image_names,json=removeImageNames,proto3" json:"remove_image_names,omitempty"`
	// Names to add, resolved against the catalog; names already entitled are
	// skipped. Required (see remove_image_names). A name may not appear in both
	// lists (INVALID_ARGUMENT).
	AddImageNames []string `protobuf:"bytes,4,rep,name=add_image_names,json=addImageNames,proto3" json:"add_image_names,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapEntitlementImagesRequest) Descriptor deprecated added in v0.1.185

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

Deprecated: Use SwapEntitlementImagesRequest.ProtoReflect.Descriptor instead.

func (*SwapEntitlementImagesRequest) GetAddImageNames added in v0.1.185

func (x *SwapEntitlementImagesRequest) GetAddImageNames() []string

func (*SwapEntitlementImagesRequest) GetEntitlement added in v0.1.185

func (x *SwapEntitlementImagesRequest) GetEntitlement() isSwapEntitlementImagesRequest_Entitlement

func (*SwapEntitlementImagesRequest) GetId added in v0.1.185

func (*SwapEntitlementImagesRequest) GetParent added in v0.1.185

func (x *SwapEntitlementImagesRequest) GetParent() string

func (*SwapEntitlementImagesRequest) GetRemoveImageNames added in v0.1.185

func (x *SwapEntitlementImagesRequest) GetRemoveImageNames() []string

func (*SwapEntitlementImagesRequest) ProtoMessage added in v0.1.185

func (*SwapEntitlementImagesRequest) ProtoMessage()

func (*SwapEntitlementImagesRequest) ProtoReflect added in v0.1.185

func (*SwapEntitlementImagesRequest) Reset added in v0.1.185

func (x *SwapEntitlementImagesRequest) Reset()

func (*SwapEntitlementImagesRequest) String added in v0.1.185

type SwapEntitlementImagesRequest_Id added in v0.1.185

type SwapEntitlementImagesRequest_Id struct {
	// The exact id of the entitlement to swap images on.
	Id string `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
}

type SwapEntitlementImagesRequest_Parent added in v0.1.185

type SwapEntitlementImagesRequest_Parent struct {
	// The organization to swap images on. Removals apply to every active
	// entitlement under the org that has the named images; additions go to an
	// eligible entitlement with matching tier capacity.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3,oneof"`
}

type SwapEntitlementImagesResponse added in v0.1.185

type SwapEntitlementImagesResponse struct {

	// The images that were removed — one entry per removed image, across all
	// affected entitlements.
	Removed []*EntitledImage `protobuf:"bytes,1,rep,name=removed,proto3" json:"removed,omitempty"`
	// The images that were added.
	Added []*EntitledImage `protobuf:"bytes,2,rep,name=added,proto3" json:"added,omitempty"`
	// The resolved customer org UIDP, used as the CloudEvents subject.
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapEntitlementImagesResponse) CloudEventsExtension added in v0.1.185

func (x *SwapEntitlementImagesResponse) CloudEventsExtension(key string) (string, bool)

CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension

func (*SwapEntitlementImagesResponse) CloudEventsSubject added in v0.1.185

func (x *SwapEntitlementImagesResponse) CloudEventsSubject() string

CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject. Returns the resolved customer org UIDP; the multi-event-handler enqueues it for reconciliation, the same as the added event.

func (*SwapEntitlementImagesResponse) Descriptor deprecated added in v0.1.185

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

Deprecated: Use SwapEntitlementImagesResponse.ProtoReflect.Descriptor instead.

func (*SwapEntitlementImagesResponse) GetAdded added in v0.1.185

func (*SwapEntitlementImagesResponse) GetParent added in v0.1.185

func (x *SwapEntitlementImagesResponse) GetParent() string

func (*SwapEntitlementImagesResponse) GetRemoved added in v0.1.185

func (x *SwapEntitlementImagesResponse) GetRemoved() []*EntitledImage

func (*SwapEntitlementImagesResponse) ProtoMessage added in v0.1.185

func (*SwapEntitlementImagesResponse) ProtoMessage()

func (*SwapEntitlementImagesResponse) ProtoReflect added in v0.1.185

func (*SwapEntitlementImagesResponse) Reset added in v0.1.185

func (x *SwapEntitlementImagesResponse) Reset()

func (*SwapEntitlementImagesResponse) String added in v0.1.185

type SyncConfig added in v0.1.19

type SyncConfig struct {

	// Repo ID to sync from.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Controls whether exported tags will be uniquely labeled.
	UniqueTags bool `protobuf:"varint,2,opt,name=unique_tags,json=uniqueTags,proto3" json:"unique_tags,omitempty"`
	// When the catalog syncer should stop syncing from the source repository.
	Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// GCP Artifact Registry repo to sync to.
	Google string `protobuf:"bytes,4,opt,name=google,proto3" json:"google,omitempty"`
	// AWS ECR repo to sync to.
	Amazon string `protobuf:"bytes,5,opt,name=amazon,proto3" json:"amazon,omitempty"`
	// Azure ACR repo to sync to.
	Azure string `protobuf:"bytes,6,opt,name=azure,proto3" json:"azure,omitempty"`
	// Controls whether to synchronize APKs for the images in this repository
	// to the enclosing Chainguard group.
	//
	// Deprecated: Marked as deprecated in registry.platform.proto.
	SyncApks bool `protobuf:"varint,7,opt,name=sync_apks,json=syncApks,proto3" json:"sync_apks,omitempty"`
	// An apko configuration overlay to rebuild images with when syncing them.
	ApkoOverlay string `protobuf:"bytes,8,opt,name=apko_overlay,json=apkoOverlay,proto3" json:"apko_overlay,omitempty"`
	// Controls whether the image grace period functionality is enabled or not.
	GracePeriod bool `protobuf:"varint,9,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncConfig) Descriptor deprecated added in v0.1.19

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

Deprecated: Use SyncConfig.ProtoReflect.Descriptor instead.

func (*SyncConfig) GetAmazon added in v0.1.21

func (x *SyncConfig) GetAmazon() string

func (*SyncConfig) GetApkoOverlay added in v0.1.22

func (x *SyncConfig) GetApkoOverlay() string

func (*SyncConfig) GetAzure added in v0.1.38

func (x *SyncConfig) GetAzure() string

func (*SyncConfig) GetExpiration added in v0.1.20

func (x *SyncConfig) GetExpiration() *timestamppb.Timestamp

func (*SyncConfig) GetGoogle added in v0.1.21

func (x *SyncConfig) GetGoogle() string

func (*SyncConfig) GetGracePeriod added in v0.1.28

func (x *SyncConfig) GetGracePeriod() bool

func (*SyncConfig) GetSource added in v0.1.19

func (x *SyncConfig) GetSource() string

func (*SyncConfig) GetSyncApks deprecated added in v0.1.21

func (x *SyncConfig) GetSyncApks() bool

Deprecated: Marked as deprecated in registry.platform.proto.

func (*SyncConfig) GetUniqueTags added in v0.1.19

func (x *SyncConfig) GetUniqueTags() bool

func (*SyncConfig) ProtoMessage added in v0.1.19

func (*SyncConfig) ProtoMessage()

func (*SyncConfig) ProtoReflect added in v0.1.19

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

func (*SyncConfig) Reset added in v0.1.19

func (x *SyncConfig) Reset()

func (*SyncConfig) String added in v0.1.19

func (x *SyncConfig) String() string

type SyncStatus added in v0.1.42

type SyncStatus struct {

	// The current status of the repo in the workqueue.
	Status SyncStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=chainguard.platform.registry.SyncStatus_Status" json:"status,omitempty"`
	// The time when the task was created in the workqueue.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

SyncStatus is the sync status of a repo in the workqueue.

func (*SyncStatus) Descriptor deprecated added in v0.1.42

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

Deprecated: Use SyncStatus.ProtoReflect.Descriptor instead.

func (*SyncStatus) GetCreateTime added in v0.1.42

func (x *SyncStatus) GetCreateTime() *timestamppb.Timestamp

func (*SyncStatus) GetStatus added in v0.1.42

func (x *SyncStatus) GetStatus() SyncStatus_Status

func (*SyncStatus) ProtoMessage added in v0.1.42

func (*SyncStatus) ProtoMessage()

func (*SyncStatus) ProtoReflect added in v0.1.42

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

func (*SyncStatus) Reset added in v0.1.42

func (x *SyncStatus) Reset()

func (*SyncStatus) String added in v0.1.42

func (x *SyncStatus) String() string

type SyncStatusList added in v0.1.51

type SyncStatusList struct {
	Items []*RepoSyncStatus `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

SyncStatusList is the sync status of all repos for a given registry_id.

func (*SyncStatusList) Descriptor deprecated added in v0.1.51

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

Deprecated: Use SyncStatusList.ProtoReflect.Descriptor instead.

func (*SyncStatusList) GetItems added in v0.1.51

func (x *SyncStatusList) GetItems() []*RepoSyncStatus

func (*SyncStatusList) ProtoMessage added in v0.1.51

func (*SyncStatusList) ProtoMessage()

func (*SyncStatusList) ProtoReflect added in v0.1.51

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

func (*SyncStatusList) Reset added in v0.1.51

func (x *SyncStatusList) Reset()

func (*SyncStatusList) String added in v0.1.51

func (x *SyncStatusList) String() string

type SyncStatus_Status added in v0.1.42

type SyncStatus_Status int32
const (
	SyncStatus_UNKNOWN     SyncStatus_Status = 0
	SyncStatus_QUEUED      SyncStatus_Status = 1
	SyncStatus_IN_PROGRESS SyncStatus_Status = 2
	SyncStatus_FAILED      SyncStatus_Status = 3
)

func (SyncStatus_Status) Descriptor added in v0.1.42

func (SyncStatus_Status) Enum added in v0.1.42

func (SyncStatus_Status) EnumDescriptor deprecated added in v0.1.42

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

Deprecated: Use SyncStatus_Status.Descriptor instead.

func (SyncStatus_Status) Number added in v0.1.42

func (SyncStatus_Status) String added in v0.1.42

func (x SyncStatus_Status) String() string

func (SyncStatus_Status) Type added in v0.1.42

type Tag

type Tag struct {

	// id, identifier of this Tag, a UIDP under a Repo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name, the unique name of the Tag.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// digest, the digest of the manifest with this tag.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// last time this tag was updated.
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// deprecated, true if the tag is deprecated.
	Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	// bundles is a list of tags/labels for sales purposes.
	Bundles []string `protobuf:"bytes,6,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetBundles

func (x *Tag) GetBundles() []string

func (*Tag) GetDeprecated

func (x *Tag) GetDeprecated() bool

func (*Tag) GetDigest

func (x *Tag) GetDigest() string

func (*Tag) GetId

func (x *Tag) GetId() string

func (*Tag) GetLastUpdated

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

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type TagFilter

type TagFilter struct {

	// uidp filters records based on their position in the group hierarchy.
	Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"`
	// The unique name of the Tag to list.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The timestamp after which returned records were updated.
	UpdatedSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_since,json=updatedSince,proto3" json:"updated_since,omitempty"`
	// Exclude tags of the form "sha256-*".
	ExcludeReferrers bool `protobuf:"varint,6,opt,name=exclude_referrers,json=excludeReferrers,proto3" json:"exclude_referrers,omitempty"`
	// Exclude tags of the form "*-20yymmdd".
	ExcludeDates bool `protobuf:"varint,7,opt,name=exclude_dates,json=excludeDates,proto3" json:"exclude_dates,omitempty"`
	// Exclude tags of the form "*-r[0-9]+".
	ExcludeEpochs bool   `protobuf:"varint,8,opt,name=exclude_epochs,json=excludeEpochs,proto3" json:"exclude_epochs,omitempty"`
	Id            string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"`
	// only return tags with this digest.
	Digest string `protobuf:"bytes,10,opt,name=digest,proto3" json:"digest,omitempty"`
	// Exclude tags carrying an apk VCS snapshot suffix (_cvs, _svn, _git, _hg),
	// e.g. "3.14.7_git20260914".
	ExcludeVcsSnapshots bool `protobuf:"varint,11,opt,name=exclude_vcs_snapshots,json=excludeVcsSnapshots,proto3" json:"exclude_vcs_snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*TagFilter) Descriptor deprecated

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

Deprecated: Use TagFilter.ProtoReflect.Descriptor instead.

func (*TagFilter) GetDigest added in v0.1.27

func (x *TagFilter) GetDigest() string

func (*TagFilter) GetExcludeDates

func (x *TagFilter) GetExcludeDates() bool

func (*TagFilter) GetExcludeEpochs

func (x *TagFilter) GetExcludeEpochs() bool

func (*TagFilter) GetExcludeReferrers

func (x *TagFilter) GetExcludeReferrers() bool

func (*TagFilter) GetExcludeVcsSnapshots added in v0.1.279

func (x *TagFilter) GetExcludeVcsSnapshots() bool

func (*TagFilter) GetId

func (x *TagFilter) GetId() string

func (*TagFilter) GetName

func (x *TagFilter) GetName() string

func (*TagFilter) GetUidp

func (x *TagFilter) GetUidp() *v1.UIDPFilter

func (*TagFilter) GetUpdatedSince

func (x *TagFilter) GetUpdatedSince() *timestamppb.Timestamp

func (*TagFilter) ProtoMessage

func (*TagFilter) ProtoMessage()

func (*TagFilter) ProtoReflect

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

func (*TagFilter) Reset

func (x *TagFilter) Reset()

func (*TagFilter) String

func (x *TagFilter) String() string

type TagHistory

type TagHistory struct {
	UpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_timestamp,json=updateTimestamp,proto3" json:"update_timestamp,omitempty"`
	Digest          string                 `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*TagHistory) Descriptor deprecated

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

Deprecated: Use TagHistory.ProtoReflect.Descriptor instead.

func (*TagHistory) GetDigest

func (x *TagHistory) GetDigest() string

func (*TagHistory) GetUpdateTimestamp

func (x *TagHistory) GetUpdateTimestamp() *timestamppb.Timestamp

func (*TagHistory) ProtoMessage

func (*TagHistory) ProtoMessage()

func (*TagHistory) ProtoReflect

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

func (*TagHistory) Reset

func (x *TagHistory) Reset()

func (*TagHistory) String

func (x *TagHistory) String() string

type TagHistoryFilter

type TagHistoryFilter struct {

	// tag UIDP to list history for.
	ParentId string                 `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Start    *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End      *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*TagHistoryFilter) Descriptor deprecated

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

Deprecated: Use TagHistoryFilter.ProtoReflect.Descriptor instead.

func (*TagHistoryFilter) GetEnd

func (x *TagHistoryFilter) GetEnd() *timestamppb.Timestamp

func (*TagHistoryFilter) GetParentId

func (x *TagHistoryFilter) GetParentId() string

func (*TagHistoryFilter) GetStart

func (x *TagHistoryFilter) GetStart() *timestamppb.Timestamp

func (*TagHistoryFilter) ProtoMessage

func (*TagHistoryFilter) ProtoMessage()

func (*TagHistoryFilter) ProtoReflect

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

func (*TagHistoryFilter) Reset

func (x *TagHistoryFilter) Reset()

func (*TagHistoryFilter) String

func (x *TagHistoryFilter) String() string

type TagHistoryList

type TagHistoryList struct {
	Items []*TagHistory `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*TagHistoryList) Descriptor deprecated

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

Deprecated: Use TagHistoryList.ProtoReflect.Descriptor instead.

func (*TagHistoryList) GetItems

func (x *TagHistoryList) GetItems() []*TagHistory

func (*TagHistoryList) ProtoMessage

func (*TagHistoryList) ProtoMessage()

func (*TagHistoryList) ProtoReflect

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

func (*TagHistoryList) Reset

func (x *TagHistoryList) Reset()

func (*TagHistoryList) String

func (x *TagHistoryList) String() string

type TagList

type TagList struct {
	Items []*Tag `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*TagList) Descriptor deprecated

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

Deprecated: Use TagList.ProtoReflect.Descriptor instead.

func (*TagList) GetItems

func (x *TagList) GetItems() []*Tag

func (*TagList) ProtoMessage

func (*TagList) ProtoMessage()

func (*TagList) ProtoReflect

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

func (*TagList) Reset

func (x *TagList) Reset()

func (*TagList) String

func (x *TagList) String() string

type UnimplementedApkoServer added in v0.1.29

type UnimplementedApkoServer struct{}

UnimplementedApkoServer 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 (UnimplementedApkoServer) BuildImage added in v0.1.29

func (UnimplementedApkoServer) ResolveConfig added in v0.1.29

type UnimplementedChartsServer added in v0.1.60

type UnimplementedChartsServer struct{}

UnimplementedChartsServer 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 (UnimplementedChartsServer) AddChart added in v0.1.60

func (UnimplementedChartsServer) FindChart added in v0.1.162

type UnimplementedEntitlementsServer added in v0.1.32

type UnimplementedEntitlementsServer struct{}

UnimplementedEntitlementsServer 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 (UnimplementedEntitlementsServer) AddEntitlementImages added in v0.1.54

func (UnimplementedEntitlementsServer) CreateEntitlement added in v0.1.40

func (UnimplementedEntitlementsServer) DeleteEntitlement added in v0.1.40

func (UnimplementedEntitlementsServer) GetEffectiveEntitlements added in v0.1.54

func (UnimplementedEntitlementsServer) GetFeatures added in v0.1.33

func (UnimplementedEntitlementsServer) ListEntitlementCatalogImages added in v0.1.38

func (UnimplementedEntitlementsServer) ListEntitlementImages added in v0.1.32

func (UnimplementedEntitlementsServer) ListEntitlements added in v0.1.32

func (UnimplementedEntitlementsServer) RemoveEntitlementImages added in v0.1.86

func (UnimplementedEntitlementsServer) Summary added in v0.1.33

func (UnimplementedEntitlementsServer) SwapEntitlementImages added in v0.1.185

type UnimplementedPoliciesServer added in v0.1.55

type UnimplementedPoliciesServer struct{}

UnimplementedPoliciesServer 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 (UnimplementedPoliciesServer) CheckPolicies added in v0.1.55

type UnimplementedRegistryServer

type UnimplementedRegistryServer struct{}

UnimplementedRegistryServer 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 (UnimplementedRegistryServer) CreateDeployment added in v0.1.43

func (UnimplementedRegistryServer) CreateRepo

func (UnimplementedRegistryServer) CreateTag

func (UnimplementedRegistryServer) DeleteRepo

func (UnimplementedRegistryServer) DeleteTag

func (UnimplementedRegistryServer) GetArchs added in v0.1.21

func (UnimplementedRegistryServer) GetBuildStatus added in v0.1.33

func (UnimplementedRegistryServer) GetChart added in v0.1.46

func (UnimplementedRegistryServer) GetDeployment added in v0.1.43

func (UnimplementedRegistryServer) GetHelm added in v0.1.35

func (UnimplementedRegistryServer) GetImageConfig added in v0.1.20

func (UnimplementedRegistryServer) GetManifestDigestCount added in v0.1.38

func (UnimplementedRegistryServer) GetPackageVersionMetadata added in v0.1.25

func (UnimplementedRegistryServer) GetRawSbom added in v0.1.21

func (UnimplementedRegistryServer) GetRegistrySettings added in v0.1.44

func (UnimplementedRegistryServer) GetRepoCountBySource added in v0.1.32

func (UnimplementedRegistryServer) GetRepoTagsSummary added in v0.1.199

func (UnimplementedRegistryServer) GetSbom added in v0.1.6

func (UnimplementedRegistryServer) GetSize added in v0.1.21

func (UnimplementedRegistryServer) GetSyncStatus added in v0.1.42

func (UnimplementedRegistryServer) GetUpdateStatus added in v0.1.33

func (UnimplementedRegistryServer) GetVulnReport added in v0.1.12

func (UnimplementedRegistryServer) ListBuildReports added in v0.1.26

func (UnimplementedRegistryServer) ListChartImageBindings added in v0.1.221

func (UnimplementedRegistryServer) ListChartsByImageRepo added in v0.1.158

func (UnimplementedRegistryServer) ListEolTags added in v0.1.33

func (UnimplementedRegistryServer) ListManifestMetadata added in v0.1.20

func (UnimplementedRegistryServer) ListRepos

func (UnimplementedRegistryServer) ListSyncStatuses added in v0.1.51

func (UnimplementedRegistryServer) ListTagHistory

func (UnimplementedRegistryServer) ListTags

func (UnimplementedRegistryServer) UpdateDeployment added in v0.1.43

func (UnimplementedRegistryServer) UpdateRegistrySettings added in v0.1.44

func (UnimplementedRegistryServer) UpdateRepo

func (UnimplementedRegistryServer) UpdateTag

type UnimplementedVulnerabilitiesServer added in v0.1.25

type UnimplementedVulnerabilitiesServer struct{}

UnimplementedVulnerabilitiesServer 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 (UnimplementedVulnerabilitiesServer) GetRawVulnReport added in v0.1.25

func (UnimplementedVulnerabilitiesServer) ListCumulativeVulnCountReports added in v0.1.31

func (UnimplementedVulnerabilitiesServer) ListVulnCountReports added in v0.1.27

func (UnimplementedVulnerabilitiesServer) ListVulnReports added in v0.1.25

type UnsafeApkoServer added in v0.1.29

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

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

type UnsafeChartsServer added in v0.1.60

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

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

type UnsafeEntitlementsServer added in v0.1.32

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

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

type UnsafePoliciesServer added in v0.1.55

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

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

type UnsafeRegistryServer

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

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

type UnsafeVulnerabilitiesServer added in v0.1.25

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

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

type UpdateDeploymentRequest added in v0.1.43

type UpdateDeploymentRequest struct {

	// repo_id is the Repo UIDP to update deployment for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// Helm chart configurations for this deployment.
	Charts []*HelmChart `protobuf:"bytes,2,rep,name=charts,proto3" json:"charts,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDeploymentRequest) Descriptor deprecated added in v0.1.43

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

Deprecated: Use UpdateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeploymentRequest) GetCharts added in v0.1.43

func (x *UpdateDeploymentRequest) GetCharts() []*HelmChart

func (*UpdateDeploymentRequest) GetRepoId added in v0.1.43

func (x *UpdateDeploymentRequest) GetRepoId() string

func (*UpdateDeploymentRequest) ProtoMessage added in v0.1.43

func (*UpdateDeploymentRequest) ProtoMessage()

func (*UpdateDeploymentRequest) ProtoReflect added in v0.1.43

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

func (*UpdateDeploymentRequest) Reset added in v0.1.43

func (x *UpdateDeploymentRequest) Reset()

func (*UpdateDeploymentRequest) String added in v0.1.43

func (x *UpdateDeploymentRequest) String() string

type UpdateStatus added in v0.1.33

type UpdateStatus struct {

	// Whether or not the repo has had a recent update.
	RecentlyUpdated bool `protobuf:"varint,1,opt,name=recently_updated,json=recentlyUpdated,proto3" json:"recently_updated,omitempty"`
	// contains filtered or unexported fields
}

UpdateStatus is the update status of a repo.

func (*UpdateStatus) Descriptor deprecated added in v0.1.33

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

Deprecated: Use UpdateStatus.ProtoReflect.Descriptor instead.

func (*UpdateStatus) GetRecentlyUpdated added in v0.1.33

func (x *UpdateStatus) GetRecentlyUpdated() bool

func (*UpdateStatus) ProtoMessage added in v0.1.33

func (*UpdateStatus) ProtoMessage()

func (*UpdateStatus) ProtoReflect added in v0.1.33

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

func (*UpdateStatus) Reset added in v0.1.33

func (x *UpdateStatus) Reset()

func (*UpdateStatus) String added in v0.1.33

func (x *UpdateStatus) String() string

type UpdateStatusRequest added in v0.1.33

type UpdateStatusRequest struct {

	// The UIDP of the image repo to get a UpdateStatus for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStatusRequest) Descriptor deprecated added in v0.1.33

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

Deprecated: Use UpdateStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateStatusRequest) GetRepoId added in v0.1.33

func (x *UpdateStatusRequest) GetRepoId() string

func (*UpdateStatusRequest) ProtoMessage added in v0.1.33

func (*UpdateStatusRequest) ProtoMessage()

func (*UpdateStatusRequest) ProtoReflect added in v0.1.33

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

func (*UpdateStatusRequest) Reset added in v0.1.33

func (x *UpdateStatusRequest) Reset()

func (*UpdateStatusRequest) String added in v0.1.33

func (x *UpdateStatusRequest) String() string

type VersionReference

type VersionReference struct {
	Version   string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionReference) Descriptor deprecated

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

Deprecated: Use VersionReference.ProtoReflect.Descriptor instead.

func (*VersionReference) GetReference

func (x *VersionReference) GetReference() string

func (*VersionReference) GetVersion

func (x *VersionReference) GetVersion() string

func (*VersionReference) ProtoMessage

func (*VersionReference) ProtoMessage()

func (*VersionReference) ProtoReflect

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

func (*VersionReference) Reset

func (x *VersionReference) Reset()

func (*VersionReference) String

func (x *VersionReference) String() string

type VulnCount added in v0.1.27

type VulnCount struct {

	// severity is the CVE severity being enumerated
	Severity Vulnerability_Severity `` /* 127-byte string literal not displayed */
	// count is the number of CVEs at this severity detected.
	Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCount) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCount.ProtoReflect.Descriptor instead.

func (*VulnCount) GetCount added in v0.1.27

func (x *VulnCount) GetCount() int32

func (*VulnCount) GetSeverity added in v0.1.27

func (x *VulnCount) GetSeverity() Vulnerability_Severity

func (*VulnCount) ProtoMessage added in v0.1.27

func (*VulnCount) ProtoMessage()

func (*VulnCount) ProtoReflect added in v0.1.27

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

func (*VulnCount) Reset added in v0.1.27

func (x *VulnCount) Reset()

func (*VulnCount) String added in v0.1.27

func (x *VulnCount) String() string

type VulnCountReport added in v0.1.27

type VulnCountReport struct {

	// repo is the name of the image scanned.
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// tag is the version of the image scanned.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// date is when the image was scanned.
	Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// vuln_counts enumerate the number of each CVE per severity found.
	VulnCounts []*VulnCount `protobuf:"bytes,4,rep,name=vuln_counts,json=vulnCounts,proto3" json:"vuln_counts,omitempty"`
	// size_bytes is the size in bytes of the image at scan time.
	SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// cve_ids is a list of cumulative CVE IDs found in the image.
	CveIds []string `protobuf:"bytes,6,rep,name=cve_ids,json=cveIds,proto3" json:"cve_ids,omitempty"`
	// low_cve_ids is a list of cumulative CVE IDs found in the image with a low severity.
	LowCveIds []string `protobuf:"bytes,7,rep,name=low_cve_ids,json=lowCveIds,proto3" json:"low_cve_ids,omitempty"`
	// med_cve_ids is a list of cumulative CVE IDs found in the image with a medium severity.
	MedCveIds []string `protobuf:"bytes,8,rep,name=med_cve_ids,json=medCveIds,proto3" json:"med_cve_ids,omitempty"`
	// high_cve_ids is a list of cumulative CVE IDs found in the image with a high severity.
	HighCveIds []string `protobuf:"bytes,9,rep,name=high_cve_ids,json=highCveIds,proto3" json:"high_cve_ids,omitempty"`
	// crit_cve_ids is a list of cumulative CVE IDs found in the image with a critical severity.
	CritCveIds []string `protobuf:"bytes,10,rep,name=crit_cve_ids,json=critCveIds,proto3" json:"crit_cve_ids,omitempty"`
	// negligible_cve_ids is a list of cumulative CVE IDs found in the image with a negligible severity.
	NegligibleCveIds []string `protobuf:"bytes,11,rep,name=negligible_cve_ids,json=negligibleCveIds,proto3" json:"negligible_cve_ids,omitempty"`
	// unknown_cve_ids is a list of cumulative CVE IDs found in the image with an unknown severity.
	UnknownCveIds []string `protobuf:"bytes,12,rep,name=unknown_cve_ids,json=unknownCveIds,proto3" json:"unknown_cve_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCountReport) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCountReport.ProtoReflect.Descriptor instead.

func (*VulnCountReport) GetCritCveIds added in v0.1.32

func (x *VulnCountReport) GetCritCveIds() []string

func (*VulnCountReport) GetCveIds added in v0.1.32

func (x *VulnCountReport) GetCveIds() []string

func (*VulnCountReport) GetDate added in v0.1.27

func (x *VulnCountReport) GetDate() *timestamppb.Timestamp

func (*VulnCountReport) GetHighCveIds added in v0.1.32

func (x *VulnCountReport) GetHighCveIds() []string

func (*VulnCountReport) GetLowCveIds added in v0.1.32

func (x *VulnCountReport) GetLowCveIds() []string

func (*VulnCountReport) GetMedCveIds added in v0.1.32

func (x *VulnCountReport) GetMedCveIds() []string

func (*VulnCountReport) GetNegligibleCveIds added in v0.1.32

func (x *VulnCountReport) GetNegligibleCveIds() []string

func (*VulnCountReport) GetRepo added in v0.1.27

func (x *VulnCountReport) GetRepo() string

func (*VulnCountReport) GetSizeBytes added in v0.1.29

func (x *VulnCountReport) GetSizeBytes() int64

func (*VulnCountReport) GetTag added in v0.1.27

func (x *VulnCountReport) GetTag() string

func (*VulnCountReport) GetUnknownCveIds added in v0.1.32

func (x *VulnCountReport) GetUnknownCveIds() []string

func (*VulnCountReport) GetVulnCounts added in v0.1.27

func (x *VulnCountReport) GetVulnCounts() []*VulnCount

func (*VulnCountReport) ProtoMessage added in v0.1.27

func (*VulnCountReport) ProtoMessage()

func (*VulnCountReport) ProtoReflect added in v0.1.27

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

func (*VulnCountReport) Reset added in v0.1.27

func (x *VulnCountReport) Reset()

func (*VulnCountReport) String added in v0.1.27

func (x *VulnCountReport) String() string

type VulnCountReportFilter added in v0.1.27

type VulnCountReportFilter struct {

	// repo is the name of the repo to retrieve vulnerability summaries for
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// tag is the version of the image to retrieve vulnerability summaries for.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// from defines the beginning of the date range of vulnerability summaries, inclusive.
	From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// end defines the end of the date range of vulnerability summaries, inclusive.
	To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// references is an array of repo+tag pairs to retrieve vulnerability summaries for
	// If provided, this takes precedence over the individual repo and tag fields
	References []*RepoTagReference `protobuf:"bytes,5,rep,name=references,proto3" json:"references,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCountReportFilter) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCountReportFilter.ProtoReflect.Descriptor instead.

func (*VulnCountReportFilter) GetFrom added in v0.1.27

func (*VulnCountReportFilter) GetReferences added in v0.1.38

func (x *VulnCountReportFilter) GetReferences() []*RepoTagReference

func (*VulnCountReportFilter) GetRepo added in v0.1.27

func (x *VulnCountReportFilter) GetRepo() string

func (*VulnCountReportFilter) GetTag added in v0.1.27

func (x *VulnCountReportFilter) GetTag() string

func (*VulnCountReportFilter) GetTo added in v0.1.27

func (*VulnCountReportFilter) ProtoMessage added in v0.1.27

func (*VulnCountReportFilter) ProtoMessage()

func (*VulnCountReportFilter) ProtoReflect added in v0.1.27

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

func (*VulnCountReportFilter) Reset added in v0.1.27

func (x *VulnCountReportFilter) Reset()

func (*VulnCountReportFilter) String added in v0.1.27

func (x *VulnCountReportFilter) String() string

type VulnCountReportList added in v0.1.27

type VulnCountReportList struct {
	Items []*VulnCountReport `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCountReportList) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCountReportList.ProtoReflect.Descriptor instead.

func (*VulnCountReportList) GetItems added in v0.1.27

func (x *VulnCountReportList) GetItems() []*VulnCountReport

func (*VulnCountReportList) ProtoMessage added in v0.1.27

func (*VulnCountReportList) ProtoMessage()

func (*VulnCountReportList) ProtoReflect added in v0.1.27

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

func (*VulnCountReportList) Reset added in v0.1.27

func (x *VulnCountReportList) Reset()

func (*VulnCountReportList) String added in v0.1.27

func (x *VulnCountReportList) String() string

type VulnReport added in v0.1.25

type VulnReport struct {

	// digest is the exact digest of the scanned image.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// scanner is the details of the scanner used to generate the report.
	Scanner *Scanner `protobuf:"bytes,2,opt,name=scanner,proto3" json:"scanner,omitempty"`
	// created_at is the time the report was generated.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// vulnerabilities are the found vulns in the scanned image.
	// For Create
	Vulnerabilities []*Vulnerability `protobuf:"bytes,4,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReport) Descriptor deprecated added in v0.1.25

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

Deprecated: Use VulnReport.ProtoReflect.Descriptor instead.

func (*VulnReport) GetCreatedAt added in v0.1.25

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

func (*VulnReport) GetDigest added in v0.1.25

func (x *VulnReport) GetDigest() string

func (*VulnReport) GetScanner added in v0.1.25

func (x *VulnReport) GetScanner() *Scanner

func (*VulnReport) GetVulnerabilities added in v0.1.25

func (x *VulnReport) GetVulnerabilities() []*Vulnerability

func (*VulnReport) ProtoMessage added in v0.1.25

func (*VulnReport) ProtoMessage()

func (*VulnReport) ProtoReflect added in v0.1.25

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

func (*VulnReport) Reset added in v0.1.25

func (x *VulnReport) Reset()

func (*VulnReport) String added in v0.1.25

func (x *VulnReport) String() string

type VulnReportFilter added in v0.1.25

type VulnReportFilter struct {

	// repo_id is the UIDP of the repo to list reports for.
	// One of repo_id and digest are required.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// digest is the exact digest of the image to list reports for.
	// One of repo_id and digest are required. If populated, digest takes precedence over repo_id.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// tag is the optional name of the tag to pull reports for.
	// Ignored if digest is populated.
	Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// scanner is the optional scanner to limit vuln reports to.
	// If not provided, reports from all scanners will be included.
	Scanner *Scanner `protobuf:"bytes,4,opt,name=scanner,proto3" json:"scanner,omitempty"`
	// created_since returns reports that have been created
	// after the given time.
	CreatedSince *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_since,json=createdSince,proto3" json:"created_since,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReportFilter) Descriptor deprecated added in v0.1.25

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

Deprecated: Use VulnReportFilter.ProtoReflect.Descriptor instead.

func (*VulnReportFilter) GetCreatedSince added in v0.1.25

func (x *VulnReportFilter) GetCreatedSince() *timestamppb.Timestamp

func (*VulnReportFilter) GetDigest added in v0.1.25

func (x *VulnReportFilter) GetDigest() string

func (*VulnReportFilter) GetRepoId added in v0.1.25

func (x *VulnReportFilter) GetRepoId() string

func (*VulnReportFilter) GetScanner added in v0.1.25

func (x *VulnReportFilter) GetScanner() *Scanner

func (*VulnReportFilter) GetTag added in v0.1.25

func (x *VulnReportFilter) GetTag() string

func (*VulnReportFilter) ProtoMessage added in v0.1.25

func (*VulnReportFilter) ProtoMessage()

func (*VulnReportFilter) ProtoReflect added in v0.1.25

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

func (*VulnReportFilter) Reset added in v0.1.25

func (x *VulnReportFilter) Reset()

func (*VulnReportFilter) String added in v0.1.25

func (x *VulnReportFilter) String() string

type VulnReportList added in v0.1.25

type VulnReportList struct {
	Items []*VulnReport `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReportList) Descriptor deprecated added in v0.1.25

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

Deprecated: Use VulnReportList.ProtoReflect.Descriptor instead.

func (*VulnReportList) GetItems added in v0.1.25

func (x *VulnReportList) GetItems() []*VulnReport

func (*VulnReportList) ProtoMessage added in v0.1.25

func (*VulnReportList) ProtoMessage()

func (*VulnReportList) ProtoReflect added in v0.1.25

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

func (*VulnReportList) Reset added in v0.1.25

func (x *VulnReportList) Reset()

func (*VulnReportList) String added in v0.1.25

func (x *VulnReportList) String() string

type VulnReportRequest added in v0.1.12

type VulnReportRequest struct {

	// The UIDP of the image repo to get a VulnReport for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get a VulnReport for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReportRequest) Descriptor deprecated added in v0.1.12

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

Deprecated: Use VulnReportRequest.ProtoReflect.Descriptor instead.

func (*VulnReportRequest) GetDigest added in v0.1.12

func (x *VulnReportRequest) GetDigest() string

func (*VulnReportRequest) GetRepoId added in v0.1.12

func (x *VulnReportRequest) GetRepoId() string

func (*VulnReportRequest) ProtoMessage added in v0.1.12

func (*VulnReportRequest) ProtoMessage()

func (*VulnReportRequest) ProtoReflect added in v0.1.12

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

func (*VulnReportRequest) Reset added in v0.1.12

func (x *VulnReportRequest) Reset()

func (*VulnReportRequest) String added in v0.1.12

func (x *VulnReportRequest) String() string

type VulnerabilitiesClient added in v0.1.25

type VulnerabilitiesClient interface {
	ListVulnReports(ctx context.Context, in *VulnReportFilter, opts ...grpc.CallOption) (*VulnReportList, error)
	GetRawVulnReport(ctx context.Context, in *GetRawVulnReportRequest, opts ...grpc.CallOption) (*RawVulnReport, error)
	ListVulnCountReports(ctx context.Context, in *VulnCountReportFilter, opts ...grpc.CallOption) (*VulnCountReportList, error)
	ListCumulativeVulnCountReports(ctx context.Context, in *VulnCountReportFilter, opts ...grpc.CallOption) (*VulnCountReportList, error)
}

VulnerabilitiesClient is the client API for Vulnerabilities service.

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

func NewVulnerabilitiesClient added in v0.1.25

func NewVulnerabilitiesClient(cc grpc.ClientConnInterface) VulnerabilitiesClient

type VulnerabilitiesDiff

type VulnerabilitiesDiff struct {
	Added    []*VulnerabilityReference `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"`
	Removed  []*VulnerabilityReference `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"`
	Metadata []*ScannerMetadata        `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnerabilitiesDiff) Descriptor deprecated

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

Deprecated: Use VulnerabilitiesDiff.ProtoReflect.Descriptor instead.

func (*VulnerabilitiesDiff) GetAdded

func (*VulnerabilitiesDiff) GetMetadata added in v0.1.15

func (x *VulnerabilitiesDiff) GetMetadata() []*ScannerMetadata

func (*VulnerabilitiesDiff) GetRemoved

func (x *VulnerabilitiesDiff) GetRemoved() []*VulnerabilityReference

func (*VulnerabilitiesDiff) ProtoMessage

func (*VulnerabilitiesDiff) ProtoMessage()

func (*VulnerabilitiesDiff) ProtoReflect

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

func (*VulnerabilitiesDiff) Reset

func (x *VulnerabilitiesDiff) Reset()

func (*VulnerabilitiesDiff) String

func (x *VulnerabilitiesDiff) String() string

type VulnerabilitiesServer added in v0.1.25

type VulnerabilitiesServer interface {
	ListVulnReports(context.Context, *VulnReportFilter) (*VulnReportList, error)
	GetRawVulnReport(context.Context, *GetRawVulnReportRequest) (*RawVulnReport, error)
	ListVulnCountReports(context.Context, *VulnCountReportFilter) (*VulnCountReportList, error)
	ListCumulativeVulnCountReports(context.Context, *VulnCountReportFilter) (*VulnCountReportList, error)
	// contains filtered or unexported methods
}

VulnerabilitiesServer is the server API for Vulnerabilities service. All implementations must embed UnimplementedVulnerabilitiesServer for forward compatibility.

type Vulnerability added in v0.1.25

type Vulnerability struct {

	// The unique identifier for the vulnerability.
	// e.g. CVE-2024-12345
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// aliases are other identifiers for this vulnerability.
	Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// purls are the package URLs of the affected packages.
	Purls []string `protobuf:"bytes,3,rep,name=purls,proto3" json:"purls,omitempty"`
	// description is a short description of the vulnerability.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// details give additional textual details about the vulnerability.
	Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// severity is the value representing the severity of the vulnerability.
	Severity Vulnerability_Severity `` /* 127-byte string literal not displayed */
	// List of CVSS information about the exploitability of the vulnerability.
	Cvss []*Vulnerability_CVSS `protobuf:"bytes,7,rep,name=cvss,proto3" json:"cvss,omitempty"`
	// fix is the version and state of a potential fix for this vulnerability.
	Fix *Vulnerability_Fix `protobuf:"bytes,8,opt,name=fix,proto3" json:"fix,omitempty"`
	// URLs related to this vulnerability.
	RelatedUrls []string `protobuf:"bytes,9,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"`
	// locations are paths affected by the vulnerability.
	Locations []string `protobuf:"bytes,10,rep,name=locations,proto3" json:"locations,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead.

func (*Vulnerability) GetAliases added in v0.1.25

func (x *Vulnerability) GetAliases() []string

func (*Vulnerability) GetCvss added in v0.1.25

func (x *Vulnerability) GetCvss() []*Vulnerability_CVSS

func (*Vulnerability) GetDescription added in v0.1.25

func (x *Vulnerability) GetDescription() string

func (*Vulnerability) GetDetails added in v0.1.25

func (x *Vulnerability) GetDetails() string

func (*Vulnerability) GetFix added in v0.1.25

func (x *Vulnerability) GetFix() *Vulnerability_Fix

func (*Vulnerability) GetId added in v0.1.25

func (x *Vulnerability) GetId() string

func (*Vulnerability) GetLocations added in v0.1.25

func (x *Vulnerability) GetLocations() []string

func (*Vulnerability) GetPurls added in v0.1.25

func (x *Vulnerability) GetPurls() []string

func (*Vulnerability) GetRelatedUrls added in v0.1.25

func (x *Vulnerability) GetRelatedUrls() []string

func (*Vulnerability) GetSeverity added in v0.1.25

func (x *Vulnerability) GetSeverity() Vulnerability_Severity

func (*Vulnerability) ProtoMessage added in v0.1.25

func (*Vulnerability) ProtoMessage()

func (*Vulnerability) ProtoReflect added in v0.1.25

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

func (*Vulnerability) Reset added in v0.1.25

func (x *Vulnerability) Reset()

func (*Vulnerability) String added in v0.1.25

func (x *Vulnerability) String() string

type VulnerabilityReference

type VulnerabilityReference struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"`
	Severity  string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

VulnerabilityReference is a reference to a vulnerability, containing minimal information to identify it.

func (*VulnerabilityReference) Descriptor deprecated

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

Deprecated: Use VulnerabilityReference.ProtoReflect.Descriptor instead.

func (*VulnerabilityReference) GetId

func (x *VulnerabilityReference) GetId() string

func (*VulnerabilityReference) GetReference

func (x *VulnerabilityReference) GetReference() string

func (*VulnerabilityReference) GetSeverity

func (x *VulnerabilityReference) GetSeverity() string

func (*VulnerabilityReference) ProtoMessage

func (*VulnerabilityReference) ProtoMessage()

func (*VulnerabilityReference) ProtoReflect

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

func (*VulnerabilityReference) Reset

func (x *VulnerabilityReference) Reset()

func (*VulnerabilityReference) String

func (x *VulnerabilityReference) String() string

type Vulnerability_CVSS added in v0.1.25

type Vulnerability_CVSS struct {

	// score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
	Score string `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"`
	// version used to populate score and severity.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability_CVSS) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability_CVSS.ProtoReflect.Descriptor instead.

func (*Vulnerability_CVSS) GetScore added in v0.1.25

func (x *Vulnerability_CVSS) GetScore() string

func (*Vulnerability_CVSS) GetVersion added in v0.1.25

func (x *Vulnerability_CVSS) GetVersion() string

func (*Vulnerability_CVSS) ProtoMessage added in v0.1.25

func (*Vulnerability_CVSS) ProtoMessage()

func (*Vulnerability_CVSS) ProtoReflect added in v0.1.25

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

func (*Vulnerability_CVSS) Reset added in v0.1.25

func (x *Vulnerability_CVSS) Reset()

func (*Vulnerability_CVSS) String added in v0.1.25

func (x *Vulnerability_CVSS) String() string

type Vulnerability_Fix added in v0.1.25

type Vulnerability_Fix struct {

	// List of in versions of the package on which the vulnerability has been solved.
	Versions []string `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// state reflects the state of the fix, e.g. fixed, unknown, not-fixed, won't-fix.
	State Vulnerability_Fix_State `protobuf:"varint,2,opt,name=state,proto3,enum=chainguard.platform.registry.Vulnerability_Fix_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability_Fix) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability_Fix.ProtoReflect.Descriptor instead.

func (*Vulnerability_Fix) GetState added in v0.1.25

func (*Vulnerability_Fix) GetVersions added in v0.1.25

func (x *Vulnerability_Fix) GetVersions() []string

func (*Vulnerability_Fix) ProtoMessage added in v0.1.25

func (*Vulnerability_Fix) ProtoMessage()

func (*Vulnerability_Fix) ProtoReflect added in v0.1.25

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

func (*Vulnerability_Fix) Reset added in v0.1.25

func (x *Vulnerability_Fix) Reset()

func (*Vulnerability_Fix) String added in v0.1.25

func (x *Vulnerability_Fix) String() string

type Vulnerability_Fix_State added in v0.1.25

type Vulnerability_Fix_State int32
const (
	Vulnerability_Fix_UNKNOWN   Vulnerability_Fix_State = 0
	Vulnerability_Fix_FIXED     Vulnerability_Fix_State = 1
	Vulnerability_Fix_NOT_FIXED Vulnerability_Fix_State = 2
	Vulnerability_Fix_WONT_FIX  Vulnerability_Fix_State = 3
)

func (Vulnerability_Fix_State) Descriptor added in v0.1.25

func (Vulnerability_Fix_State) Enum added in v0.1.25

func (Vulnerability_Fix_State) EnumDescriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability_Fix_State.Descriptor instead.

func (Vulnerability_Fix_State) Number added in v0.1.25

func (Vulnerability_Fix_State) String added in v0.1.25

func (x Vulnerability_Fix_State) String() string

func (Vulnerability_Fix_State) Type added in v0.1.25

type Vulnerability_Severity added in v0.1.25

type Vulnerability_Severity int32
const (
	Vulnerability_UNKNOWN    Vulnerability_Severity = 0
	Vulnerability_LOW        Vulnerability_Severity = 1
	Vulnerability_MEDIUM     Vulnerability_Severity = 2
	Vulnerability_HIGH       Vulnerability_Severity = 3
	Vulnerability_CRITICAL   Vulnerability_Severity = 4
	Vulnerability_NEGLIGIBLE Vulnerability_Severity = 5
)

func (Vulnerability_Severity) Descriptor added in v0.1.25

func (Vulnerability_Severity) Enum added in v0.1.25

func (Vulnerability_Severity) EnumDescriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability_Severity.Descriptor instead.

func (Vulnerability_Severity) Number added in v0.1.25

func (Vulnerability_Severity) String added in v0.1.25

func (x Vulnerability_Severity) String() string

func (Vulnerability_Severity) Type added in v0.1.25

Directories

Path Synopsis
Package test provides mock implementations of Registry gRPC clients for testing.
Package test provides mock implementations of Registry gRPC clients for testing.

Jump to

Keyboard shortcuts

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