Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Deployment *appsv1.Deployment = &appsv1.Deployment{ TypeMeta: metav1.TypeMeta{ APIVersion: "apps/v1", Kind: "Deployment", }, ObjectMeta: metav1.ObjectMeta{ Name: "tcp-go-echo", }, Spec: appsv1.DeploymentSpec{ Replicas: int32Ptr(1), Selector: &metav1.LabelSelector{ MatchLabels: map[string]string{"application": "tcp-go-echo"}, }, Template: apiv1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ "application": "tcp-go-echo", }, }, Spec: apiv1.PodSpec{ Containers: []apiv1.Container{ { Name: "tcp-go-echo", Image: "quay.io/skupper/tcp-go-echo", ImagePullPolicy: apiv1.PullIfNotPresent, Ports: []apiv1.ContainerPort{ { Name: "http", Protocol: apiv1.ProtocolTCP, ContainerPort: 80, }, }, }, }, }, }, }, }
Functions ¶
func SendReceive ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.