Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoObjectsFound = errors.New("no objects found")
Functions ¶
func IgnoreEvent ¶
func NewReconcileCommand ¶
func NewReconcileCommand(resource string) *reconcileCommand
func NewResumeCommand ¶
func NewResumeCommand(resource string) *resumeCommand
func NewSuspendCommand ¶
func NewSuspendCommand(resource string) *suspendCommand
Types ¶
type Event ¶
type Event struct { InvolvedObjectKind string `json:"involvedObjectKind"` InvolvedObjectNamespace string `json:"involvedObjectNamespace"` InvolvedObject string `json:"involvedObject"` Type string `json:"type"` Reason string `json:"reason"` Message string `json:"message"` EventTime time.Time `json:"eventTime"` FirstTimestamp time.Time `json:"firstTimestamp"` LastTimestamp time.Time `json:"lastTimestamp"` Count int32 `json:"count"` Series *Series `json:"series,omitempty"` }
func Events ¶
func Events(c *kubernetes.Clientset, dc *dynamic.DynamicClient) ([]Event, error)
type FluxState ¶
type FluxState struct { GitRepositories []sourcev1.GitRepository `json:"gitRepositories"` OCIRepositories []sourcev1beta2.OCIRepository `json:"ociRepositories"` Buckets []sourcev1beta2.Bucket `json:"buckets"` Kustomizations []kustomizationv1.Kustomization `json:"kustomizations"` HelmReleases []helmv2beta2.HelmRelease `json:"helmReleases"` HelmRepositories []sourcev1beta2.HelmRepository `json:"helmRepositories"` HelmCharts []sourcev1beta2.HelmChart `json:"helmCharts"` FluxServices []Service `json:"fluxServices"` }
func State ¶
func State(c *kubernetes.Clientset, dc *dynamic.DynamicClient) (*FluxState, error)
type Service ¶
type Service struct { Deployment *apps_v1.Deployment `json:"deployment"` Svc v1.Service `json:"svc"` Pods []v1.Pod `json:"pods"` Ingresses []networking_v1.Ingress `json:"ingresses"` }
func Services ¶
func Services(c *kubernetes.Clientset, dc *dynamic.DynamicClient) ([]Service, error)
type SortableEvents ¶
SortableEvents implements sort.Interface for []api.Event by time
func (SortableEvents) Len ¶
func (list SortableEvents) Len() int
func (SortableEvents) Less ¶
func (list SortableEvents) Less(i, j int) bool
func (SortableEvents) Swap ¶
func (list SortableEvents) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.