ServiceEndpointSpecPort class

Constructors

ServiceEndpointSpecPort({Input<String?>? name, Input<String?>? protocol, Input<String?>? publishMode, Input<int?>? publishedPort, required Input<int> targetPort})
Creates a new ServiceEndpointSpecPort. name A random name for the port protocol Represents the protocol of a port: tcp, udp or sctp. Defaults to tcp. publishMode Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to ingress. publishedPort The port on the swarm hosts targetPort The port inside the container
const
ServiceEndpointSpecPort.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
A random name for the port
final
protocol → Input<String?>?
Represents the protocol of a port: tcp, udp or sctp. Defaults to tcp.
final
publishedPort → Input<int?>?
The port on the swarm hosts
final
publishMode → Input<String?>?
Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to ingress.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetPort → Input<int>
The port inside the container
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited