Portutil.IntOrString`json:"port" description:"number or name of the port to access on the container; number must be in the range 1 to 65535; name must be a IANA_SVC_NAME"`
Portutil.IntOrString`json:"port" description:"number or name of the port to access on the container; number must be in the range 1 to 65535; name must be a IANA_SVC_NAME"`
// Optional: Host name to connect to, defaults to the pod IP.
// Optional: Host name to connect to, defaults to the pod IP.
Hoststring`json:"host,omitempty" description:"hostname to connect to; defaults to pod IP"`
Hoststring`json:"host,omitempty" description:"hostname to connect to; defaults to pod IP"`
// Optional: Scheme to use for connecting to the host, defaults to HTTP.
SchemeURIScheme`json:"scheme,omitempty" description:"scheme to connect with, must be HTTP or HTTPS, defaults to HTTP"`
}
}
// URIScheme identifies the scheme used for connection to a host for Get actions
typeURISchemestring
const(
// URISchemeHTTP means that the scheme used will be http://
URISchemeHTTPURIScheme="HTTP"
// URISchemeHTTPS means that the scheme used will be https://
URISchemeHTTPSURIScheme="HTTPS"
)
// TCPSocketAction describes an action based on opening a socket
// TCPSocketAction describes an action based on opening a socket
Portutil.IntOrString`json:"port" description:"number or name of the port to access on the container; number must be in the range 1 to 65535; name must be a IANA_SVC_NAME"`
Portutil.IntOrString`json:"port" description:"number or name of the port to access on the container; number must be in the range 1 to 65535; name must be a IANA_SVC_NAME"`
// Optional: Host name to connect to, defaults to the pod IP.
// Optional: Host name to connect to, defaults to the pod IP.
Hoststring`json:"host,omitempty" description:"hostname to connect to; defaults to pod IP"`
Hoststring`json:"host,omitempty" description:"hostname to connect to; defaults to pod IP"`
// Optional: Scheme to use for connecting to the host, defaults to HTTP.
SchemeURIScheme`json:"scheme,omitempty" description:"scheme to connect with, must be HTTP or HTTPS, defaults to HTTP"`
}
}
// URIScheme identifies the scheme used for connection to a host for Get actions
typeURISchemestring
const(
// URISchemeHTTP means that the scheme used will be http://
URISchemeHTTPURIScheme="HTTP"
// URISchemeHTTPS means that the scheme used will be https://
URISchemeHTTPSURIScheme="HTTPS"
)
// TCPSocketAction describes an action based on opening a socket
// TCPSocketAction describes an action based on opening a socket