Versions in this module Expand all Collapse all v0 v0.0.1 Jun 26, 2024 Changes in this version + func Bool(b bool) *bool + func BoolDeref(ptr *bool, def bool) bool + type BindingAction struct + Action string + ApiVersion string + Kind string + Name string + type FilterFunc func(*unstructured.Unstructured) (FilterResult, error) + type FilterResult interface + type GoHook interface + Config func() *HookConfig + Run func(input *HookInput) error + type HookBindingContext struct + Binding string + Snapshots map[string][]types.ObjectAndFilterResult + Type string + type HookConfig struct + AllowFailure bool + Kubernetes []KubernetesConfig + OnAfterAll *OrderedConfig + OnAfterDeleteHelm *OrderedConfig + OnAfterHelm *OrderedConfig + OnBeforeAll *OrderedConfig + OnBeforeHelm *OrderedConfig + OnStartup *OrderedConfig + Queue string + Schedule []ScheduleConfig + Settings *HookConfigSettings + type HookConfigSettings struct + EnableSchedulesOnStartup bool + ExecutionBurst int + ExecutionMinInterval time.Duration + type HookInput struct + BindingActions *[]BindingAction + ConfigValues *PatchableValues + LogEntry *logrus.Entry + MetricsCollector MetricsCollector + PatchCollector *object_patch.PatchCollector + Snapshots Snapshots + Values *PatchableValues + type HookMetadata struct + Global bool + Module bool + ModuleName string + Name string + Path string + type KubernetesConfig struct + ApiVersion string + ExecuteHookOnEvents *bool + ExecuteHookOnSynchronization *bool + FieldSelector *types.FieldSelector + FilterFunc FilterFunc + Kind string + LabelSelector *v1.LabelSelector + Name string + NameSelector *types.NameSelector + NamespaceSelector *types.NamespaceSelector + WaitForSynchronization *bool + type MetricsCollector interface + Add func(name string, value float64, labels map[string]string, opts ...metrics.Option) + Expire func(group string) + Inc func(name string, labels map[string]string, opts ...metrics.Option) + Set func(name string, value float64, labels map[string]string, opts ...metrics.Option) + type OrderedConfig struct + Order float64 + type PatchableValues struct + func NewPatchableValues(values map[string]interface{}) (*PatchableValues, error) + func (p *PatchableValues) ArrayCount(path string) (int, error) + func (p *PatchableValues) Exists(path string) bool + func (p *PatchableValues) Get(path string) gjson.Result + func (p *PatchableValues) GetOk(path string) (gjson.Result, bool) + func (p *PatchableValues) GetPatches() []*utils.ValuesPatchOperation + func (p *PatchableValues) GetRaw(path string) interface{} + func (p *PatchableValues) Remove(path string) + func (p *PatchableValues) Set(path string, value interface{}) + type ScheduleConfig struct + Crontab string + Name string + type Snapshots map[string][]FilterResult