MCPcopy
hub / github.com/akuity/kargo / Getter

Interface Getter

pkg/conditions/conditions.go:10–13  ·  view source on GitHub ↗

Getter is an interface that allows getting conditions from a (sub)resource.

Source from the content-addressed store, hash-verified

8
9// Getter is an interface that allows getting conditions from a (sub)resource.
10type Getter interface {
11 // GetConditions returns the conditions on the resource.
12 GetConditions() []metav1.Condition
13}
14
15// Setter is an interface that allows setting conditions on a (sub)resource.
16type Setter interface {

Callers 8

TestSetFunction · 0.65
TestDeleteFunction · 0.65
GetFunction · 0.65
SetFunction · 0.65
DeleteFunction · 0.65
TestSyncWarehouseFunction · 0.65
syncWarehouseMethod · 0.65

Implementers 6

mockSetterpkg/conditions/conditions_test.go
ClusterConfigStatusapi/v1alpha1/cluster_config_types.go
ProjectConfigStatusapi/v1alpha1/project_config_types.go
ProjectStatusapi/v1alpha1/project_types.go
StageStatusapi/v1alpha1/stage_types.go
WarehouseStatusapi/v1alpha1/warehouse_types.go

Calls

no outgoing calls

Tested by

no test coverage detected