ServiceReference class

ServiceReference holds a reference to Service.legacy.k8s.io.

Constructors

ServiceReference({required String name, required String namespace, String? path, int? port})
Default constructor.
const
ServiceReference.fromJson(Map<String, dynamic> json)
Creates a ServiceReference from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
name is the name of the service. Required.
final
namespace String
namespace is the namespace of the service. Required.
final
path String?
path is an optional URL path at which the webhook will be contacted.
final
port int?
port is an optional service port at which the webhook will be contacted. port should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ServiceReference instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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