Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ControllerSpec `json:"spec"` Status ControllerStatus `json:"status"` }
Controller struct root object from payload
type ControllerSpec ¶
type ControllerSpec struct { Ingress string `json:"ingress"` Replicas int `json:"replicas"` Daemon bool `json:"daemon"` Password string `json:"password"` Image string `json:"image"` PullPolicy string `json:"imagePullPolicy"` PullSecrets interface{} `json:"imagePullSecrets"` NodeSelector interface{} `json:"nodeSelector"` Affinity interface{} `json:"affinity"` Tolerations interface{} `json:"tolerations"` Resources interface{} `json:"resources"` VolumeMounts interface{} `json:"volumeMounts"` Volumes interface{} `json:"volumes"` Env interface{} `json:"env"` }
ControllerSpec struct defines Spec expected from Kind: Rapp
type ControllerStatus ¶
type ControllerStatus struct { Replicas int `json:"replicas"` Succeeded int `json:"succeeded"` State string `json:"state"` Resources string `json:"resources"` }
ControllerStatus struct response status
type RContext ¶
type RContext struct { Ingress string Daemon bool Namespace string Name string ServiceType string Port int Replicas int Image string Repository string Tag string PullSecrets interface{} PullPolicy string NodeSelector interface{} Affinity interface{} Tolerations interface{} Resources interface{} VolumeMounts interface{} Volumes interface{} Env interface{} Password string }
RContext is the set of parameters to configures this instance
type SyncRequest ¶
type SyncRequest struct { Parent Controller `json:"parent"` Children SyncRequestChildren `json:"children"` }
SyncRequest struct root request object
type SyncRequestChildren ¶
type SyncRequestChildren struct { // Pods map[string]*v1.Pod `json:"Pod.v1"` // StatefulSets map[string]*appsv1.StatefulSet `json:"StatefulSet.apps/v1"` Deployments map[string]*appsv1.Deployment `json:"Deployment.apps/v1"` }
SyncRequestChildren struct children objects returned
type SyncResponse ¶
type SyncResponse struct { Status ControllerStatus `json:"status"` Children []runtime.Object `json:"children"` }
SyncResponse struct root response object
Click to show internal directories.
Click to hide internal directories.