Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAPIInfo ¶
type AppAPIInfo struct { ClusterUUID string `json:"cluster_uuid"` AppUUID string `json:"app_uuid"` AppName string `json:"app_name"` Type string `json:"type"` HosstedHelm bool `json:"hossted_helm"` }
AppAPIInfo contains basic information about the application API.
type AppInfo ¶
type AppInfo struct { HelmInfo hosstedcomv1.HelmInfo `json:"helm_info"` PodInfo []PodInfo `json:"pod_info"` ServiceInfo []ServiceInfo `json:"service_info"` VolumeInfo []VolumeInfo `json:"volume_info"` IngressInfo []IngressInfo `json:"ingress_info"` }
type Collector ¶
type Collector struct { AppAPIInfo AppAPIInfo `json:"app_api_info"` AppInfo AppInfo `json:"app_info"` }
type HosstedProjectReconciler ¶
HosstedProjectReconciler reconciles a HosstedProject object
func (*HosstedProjectReconciler) Reconcile ¶
func (r *HosstedProjectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=hossted.com,resources=hosstedprojects,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=hossted.com,resources=hosstedprojects/status,verbs=get;update;patch +kubebuilder:rbac:groups=hossted.com,resources=hosstedprojects/finalizers,verbs=update +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=list;get;watch +kubebuilder:rbac:groups="",resources=namespaces,verbs=list;get;watch +kubebuilder:rbac:groups="",resources=pods,verbs=list;get;watch +kubebuilder:rbac:groups="",resources=configmaps,verbs=list;get;watch +kubebuilder:rbac:groups="",resources=services,verbs=list;get;watch +kubebuilder:rbac:groups="",resources=secrets,verbs=list;get;watch +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=list;get;watch Reconcile reconciles the Hosstedproject custom resource.
func (*HosstedProjectReconciler) SetupWithManager ¶
func (r *HosstedProjectReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type IngressInfo ¶
type PodInfo ¶
type PodInfo struct { Name string `json:"name"` Namespace string `json:"namespace"` Image string `json:"image"` Status string `json:"status"` }
PodInfo contains information about a Kubernetes pod.
type ServiceInfo ¶
type ServiceInfo struct { Name string `json:"name"` Namespace string `json:"namespace"` Port int32 `json:"port"` }
ServiceInfo contains information about a Kubernetes service.
type TransformStatusFunc ¶
TransformStatusFunc is a function type for transforming status objects.