Documentation
¶
Index ¶
- Constants
- Variables
- func ComputePodScheduleStatus(pod *corev1.Pod) (scheduleStatus gcr.PodScheduleStatus)
- func GetInnerMap(parentMap map[string]any, keys ...string) (map[string]any, error)
- func GetInnerMapValue(parentMap map[string]any, keys ...string) (any, error)
- func InvokeOrScheduleFunc[T any](label string, duration time.Duration, entity T, fn func(T) error)
- func IsOwnedBy(pod *corev1.Pod, gvks []schema.GroupVersionKind) bool
- func NewDefaultRecorder(params gcr.RecorderParams, startTime time.Time) (gcr.Recorder, error)
- type ConnChecker
Constants ¶
View Source
const PoolLabel = "worker.gardener.cloud/pool"
Variables ¶
View Source
var ErrKeyNotFound = errors.New("key not found")
View Source
var ZoneLabels = []string{"topology.gke.io/zone", "topology.ebs.csi.aws.com/zone"}
Functions ¶
func ComputePodScheduleStatus ¶
ComputePodScheduleStatus -1 => NotDetermined, 0 => Scheduled, 1 => Unscheduled
func GetInnerMap ¶
func GetInnerMapValue ¶
func InvokeOrScheduleFunc ¶
func NewDefaultRecorder ¶
Types ¶
type ConnChecker ¶
type ConnChecker struct {
// contains filtered or unexported fields
}
func NewConnChecker ¶
func NewConnChecker(shootConfig, controlConfig *rest.Config) (*ConnChecker, error)
func (*ConnChecker) TestConnection ¶
func (c *ConnChecker) TestConnection(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.