Documentation
¶
Index ¶
- type AliaseInt
- type Annotations
- type ConfigMap
- type Expose
- type Form
- type HealthProbe
- type InitContainer
- type K8sDeploy
- type K8sKey
- type Labels
- type MyEnv
- type MyPorts
- type Pvc
- type Scaler
- type Sidecar
- type Test1T
- type TraitIngress
- type User
- type UserIncludes
- type UserResult
- type Worker
- type WorkerComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶
type HealthProbe ¶
type HealthProbe struct { Exec *[]string `json:"exec"` HttpGet *struct { Path string `json:"path"` Port string `json:"port"` HttpHeaders *[]struct { Name string Value string } `json:"httpHeaders"` } `json:"httpGet"` TcpSocket *struct { Port int `json:"port"` } `json:"tcpSocket"` InitialDelaySeconds int `json:"initialDelaySeconds"` PeriodSeconds int `json:"periodSeconds"` TimeoutSeconds int `json:"timeoutSeconds"` SuccessThreshold int `json:"successThreshold"` FailureThreshold int `json:"failureThreshold"` }
type InitContainer ¶
type K8sDeploy ¶
type K8sDeploy struct { Result v1.Deployment `json:"result"` Service v1.StatefulSet `json:"service"` }
type Pvc ¶
type Pvc struct { ClaimName string `json:"claimName"` VolumeMode string `json:"volumeMode"` VolumeName *string `json:"volumeName"` AccessModes []string `json:"accessModes"` StorageClassName *string `json:"storageClassName"` Resources struct { Requests string `json:"requests"` Limits string `json:"limits"` } `json:"resources"` VolumesToMount []struct { Name string `json:"name"` DevicePath string `json:"devicePath"` MountPath string `json:"mountPath"` } `json:"volumesToMount"` }
type TraitIngress ¶
type UserIncludes ¶
type UserIncludes struct { // Association query Multiple choice: // role_binding // alert Includes []string `form:"includes" json:"includes" binding:"dive,oneof=role_binding alert"` }
type UserResult ¶
type UserResult struct { //Code AliaseInt `json:"code"` Data map[string]nest.Nest `json:"data"` M map[nest.Fater]nest.Fater `json:"m"` N nest.Nest `json:"n"` Err interface{} `json:"err"` User []*User `json:"user"` AliaseInt `json:"aint"` UserIncludes //this is nest nest.Nest // this is fater nest.Fater }
type Worker ¶
type Worker struct { Metadata K8sKey `json:"metadata"` Component WorkerComponent `json:"component"` Next nest.Nest }
type WorkerComponent ¶
type WorkerComponent struct { Properties struct { Image string `json:"image"` ImagePullPolicy *string `json:"imagePullPolicy,omitempty"` ImagePullSecrets *string `json:"imagePullSecrets,omitempty"` Cmd *[]string `json:"cmd,omitempty"` Env *[]struct { Name string `json:"name"` Value string `json:"value"` } `json:"env,omitempty"` Cpu *string `json:"cpu,omitempty"` Memory *string `json:"memory,omitempty"` Volumes *[]struct { Name string `json:"name"` MountPath string `json:"mountPath"` Type string `json:"type"` } `json:"volumes,omitempty"` LivenessProbe *HealthProbe `json:"livenessProbe,omitempty"` ReadinessProbe *HealthProbe `json:"readinessProbe,omitempty"` } `json:"properties"` Traits struct { Ingress *TraitIngress `json:"ingress,omitempty"` Labels *Labels `json:"labels,omitempty"` Annotations *Annotations `json:"annotations,omitempty"` Sidecar *Sidecar `json:"sidecar,omitempty"` Expose *Expose `json:"expose,omitempty"` InitContainer *InitContainer `json:"initContainer,omitempty"` ConfigMap *ConfigMap `json:"configMap,omitempty"` Pvc *Pvc `json:"pvc,omitempty"` Scaler *Scaler `json:"scaler,omitempty"` Ports *MyPorts `json:"ports,omitempty"` MyEnv *MyEnv `json:"myEnv,omitempty"` Test *struct{} `json:"test,omitempty"` } `json:"traits,omitempty"` }
Click to show internal directories.
Click to hide internal directories.