Documentation ¶
Index ¶
- func Deployment_test() error
- func HorizontalPodAutoscaler_test() error
- func Ingress_test() error
- func Service_test() error
- type Deployment
- type Deployment_Containers
- type Deployment_Containers_Ports
- type Deployment_ImagePullSecrets
- type HorizontalPodAutoscaler
- type Ingress
- type Ingress_Rules
- type Ingress_Rules_Paths
- type NodePort
- type NodePort_Ports
- type Service
- type Service_Ports
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deployment_test ¶
func Deployment_test() error
func HorizontalPodAutoscaler_test ¶
func HorizontalPodAutoscaler_test() error
func Ingress_test ¶
func Ingress_test() error
func Service_test ¶
func Service_test() error
Types ¶
type Deployment ¶
type Deployment struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` } `yaml:"metadata"` Spec struct { Selector struct { MatchLabels struct { App string `yaml:"app"` } `yaml:"matchLabels"` } `yaml:"selector"` Replicas int `yaml:"replicas"` Template struct { Metadata struct { Labels struct { App string `yaml:"app"` } `yaml:"labels"` } `yaml:"metadata"` Spec struct { ImagePullSecrets []Deployment_ImagePullSecrets `yaml:"imagePullSecrets"` Containers []Deployment_Containers `yaml:"containers"` } `yaml:"spec"` } `yaml:"template"` } `yaml:"spec"` }
type Deployment_Containers ¶
type Deployment_Containers struct { Name string `yaml:"name"` Image string `yaml:"image"` ImagePullPolicy string `yaml:"imagePullPolicy"` Ports []Deployment_Containers_Ports `yaml:"ports"` }
type Deployment_Containers_Ports ¶
type Deployment_Containers_Ports struct {
ContainerPort int `yaml:"containerPort"`
}
type Deployment_ImagePullSecrets ¶
type Deployment_ImagePullSecrets struct {
Name string `yaml:"name"`
}
type HorizontalPodAutoscaler ¶
type HorizontalPodAutoscaler struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` } `yaml:"metadata"` Spec struct { ScaleTargetRef struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Name string `yaml:"name"` } `yaml:"scaleTargetRef"` MinReplicas int `yaml:"minReplicas"` MaxReplicas int `yaml:"maxReplicas"` TargetCPUUtilizationPercentage int `yaml:"targetCPUUtilizationPercentage"` } `yaml:"spec"` }
type Ingress ¶
type Ingress struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` Annotations struct { NginxIngressKubernetesIoProxyBodySize string `yaml:"nginx.ingress.kubernetes.io/proxy-body-size"` } `yaml:"annotations"` } `yaml:"metadata"` Spec struct { Rules []Ingress_Rules `yaml:"rules"` } `yaml:"spec"` }
type Ingress_Rules ¶
type Ingress_Rules struct { Host string `yaml:"host"` HTTP struct { Paths []Ingress_Rules_Paths `yaml:"paths"` } `yaml:"http"` }
type Ingress_Rules_Paths ¶
type NodePort ¶
type NodePort struct { Kind string `yaml:"kind"` APIVersion string `yaml:"apiVersion"` Metadata struct { Name string `yaml:"name"` } `yaml:"metadata"` Spec struct { Type string `yaml:"type"` Selector struct { IoKomposeService string `yaml:"io.kompose.service"` } `yaml:"selector"` Ports []NodePort_Ports `yaml:"ports"` } `yaml:"spec"` }
type NodePort_Ports ¶
type Service ¶
type Service struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` Labels struct { App string `yaml:"app"` } `yaml:"labels"` } `yaml:"metadata"` Spec struct { Type string `yaml:"type"` Ports []Service_Ports `yaml:"ports"` Selector struct { App string `yaml:"app"` } `yaml:"selector"` } `yaml:"spec"` }
type Service_Ports ¶
Click to show internal directories.
Click to hide internal directories.