Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LabelServiceType defines the type of service to be created LabelServiceType = "kompose.service.type" // LabelServiceGroup defines the group of services in a single pod LabelServiceGroup = "kompose.service.group" // LabelNodePortPort defines the port value for NodePort service LabelNodePortPort = "kompose.service.nodeport.port" // LabelServiceExpose defines if the service needs to be made accessible from outside the cluster or not LabelServiceExpose = "kompose.service.expose" // LabelServiceExposeTLSSecret provides the name of the TLS secret to use with the Kubernetes ingress controller LabelServiceExposeTLSSecret = "kompose.service.expose.tls-secret" // LabelServiceAccountName defines the service account name to provide the credential info of the pod. LabelServiceAccountName = "kompose.serviceaccount-name" // LabelControllerType defines the type of controller to be created LabelControllerType = "kompose.controller.type" // LabelImagePullSecret defines a secret name for kubernetes ImagePullSecrets LabelImagePullSecret = "kompose.image-pull-secret" // LabelImagePullPolicy defines Kubernetes PodSpec imagePullPolicy. LabelImagePullPolicy = "kompose.image-pull-policy" // HealthCheckReadinessDisable defines readiness health check disable HealthCheckReadinessDisable = "kompose.service.healthcheck.readiness.disable" // HealthCheckReadinessTest defines readiness health check test HealthCheckReadinessTest = "kompose.service.healthcheck.readiness.test" // HealthCheckReadinessInterval defines readiness health check interval HealthCheckReadinessInterval = "kompose.service.healthcheck.readiness.interval" // HealthCheckReadinessTimeout defines readiness health check timeout HealthCheckReadinessTimeout = "kompose.service.healthcheck.readiness.timeout" // HealthCheckReadinessRetries defines readiness health check retries HealthCheckReadinessRetries = "kompose.service.healthcheck.readiness.retries" // HealthCheckReadinessStartPeriod defines readiness health check start period HealthCheckReadinessStartPeriod = "kompose.service.healthcheck.readiness.start_period" // HealthCheckReadinessHTTPGetPath defines readiness health check HttpGet path HealthCheckReadinessHTTPGetPath = "kompose.service.healthcheck.readiness.http_get_path" // HealthCheckReadinessHTTPGetPort defines readiness health check HttpGet port HealthCheckReadinessHTTPGetPort = "kompose.service.healthcheck.readiness.http_get_port" // HealthCheckReadinessTCPPort defines readiness health check tcp port HealthCheckReadinessTCPPort = "kompose.service.healthcheck.readiness.tcp_port" // HealthCheckLivenessHTTPGetPath defines liveness health check HttpGet path HealthCheckLivenessHTTPGetPath = "kompose.service.healthcheck.liveness.http_get_path" // HealthCheckLivenessHTTPGetPort defines liveness health check HttpGet port HealthCheckLivenessHTTPGetPort = "kompose.service.healthcheck.liveness.http_get_port" // HealthCheckLivenessTCPPort defines liveness health check tcp port HealthCheckLivenessTCPPort = "kompose.service.healthcheck.liveness.tcp_port" // ServiceTypeHeadless ... ServiceTypeHeadless = "Headless" )
Variables ¶
View Source
var StdinData []byte
StdinData is data bytes read from stdin
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.