TypedObjectReference class

Typed Object Reference.

Constructors

TypedObjectReference({String? apiGroup, required String kind, required String name, String? namespace})
Default constructor.
const
TypedObjectReference.fromJson(Map<String, dynamic> json)
Creates a TypedObjectReference from JSON data.
factory

Properties

apiGroup String?
APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
final
hashCode int
The hash code for this object.
no setterinherited
kind String
Kind is the type of resource being referenced.
final
name String
Name is the name of resource being referenced.
final
namespace String?
Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
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 TypedObjectReference instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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