Documentation ¶
Index ¶
Constants ¶
View Source
const ( GroupByImageRepository = "image_repo" GroupByGitRepository = "git_repo" GroupByChartRepository = "chart_repo" OrderByFirstSeen = "first_seen" OrderByTag = "tag" )
Variables ¶
This section is empty.
Functions ¶
func NewHealthChecker ¶
func NewHealthChecker() grpchealth.Checker
Types ¶
type ByFirstSeen ¶
type ByFirstSeen []*apiv1alpha1.Freight
func (ByFirstSeen) Len ¶
func (a ByFirstSeen) Len() int
func (ByFirstSeen) Less ¶
func (a ByFirstSeen) Less(i, j int) bool
func (ByFirstSeen) Swap ¶
func (a ByFirstSeen) Swap(i, j int)
type ByTag ¶
type ByTag []*apiv1alpha1.Freight
NOTE: sorting by tag will sort by the first container image we found or the first helm chart we found in the freight.
TODO: KR: We might want to think about whether the current sorting behavior is useful at all, given the limitations noted above.
Source Files ¶
- admin_login_v1alpha1.go
- approve_freight_v1alpha1.go
- create_or_update_resource_v1alpha1.go
- create_project_v1alpha1.go
- create_promotion_policy_v1alpha1.go
- create_resource_v1alpha1.go
- create_stage_v1alpha1.go
- create_warehouse_v1alpha1.go
- delete_freight_v1alpha1.go
- delete_project_v1alpha1.go
- delete_promotion_policy_v1alpha1.go
- delete_resource_v1alpha1.go
- delete_stage_v1alpha1.go
- delete_warehouse_v1alpha1.go
- get_config_v1alpha1.go
- get_promotion_policy_v1alpha1.go
- get_promotion_v1alpha1.go
- get_public_config_v1alpha1.go
- get_stage_v1alpha1.go
- get_version_info_v1alpha1.go
- get_warehouse_v1alpha1.go
- grpc_health.go
- list_projects_v1alpha1.go
- list_promotion_policies_v1alpha1.go
- list_promotions_v1alpha1.go
- list_stages_v1alpha1.go
- list_warehouses_v1alpha1.go
- promote_stage_v1alpha1.go
- promote_subscribers_v1alpha1.go
- query_freights_v1alpha1.go
- refresh_stage_v1alpha1.go
- refresh_warehouse_v1alpha1.go
- server.go
- set_auto_promotion_for_stage_v1alpha1.go
- update_freight_alias_v1alpha1.go
- update_promotion_policy_v1alpha1.go
- update_resource_v1alpha1.go
- update_stage_v1alpha1.go
- update_warehouse_v1alpha1.go
- validators.go
- watch_promotion_v1alpha1.go
- watch_promotions_v1alpha1.go
- watch_stages_v1alpha1.go
- watch_warehouses_v1alpha1.go
Click to show internal directories.
Click to hide internal directories.