GoogleApi.CloudRun.V1alpha1.Model.TCPSocketAction (google_api_cloud_run v0.42.0) View Source

TCPSocketAction describes an action based on opening a socket

Attributes

  • host (type: String.t, default: nil) - Optional: Host name to connect to, defaults to the pod IP. +optional
  • port (type: GoogleApi.CloudRun.V1alpha1.Model.IntOrString.t, default: nil) - Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.TCPSocketAction{
  host: String.t(),
  port: GoogleApi.CloudRun.V1alpha1.Model.IntOrString.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.