Show / Hide Table of Contents

Class V1ContainerImage

Describe a container image

Inheritance
object
V1ContainerImage
Implements
IEquatable<V1ContainerImage>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ContainerImage : IEquatable<V1ContainerImage>

Constructors

V1ContainerImage()

Declaration
public V1ContainerImage()

V1ContainerImage(V1ContainerImage)

Declaration
protected V1ContainerImage(V1ContainerImage original)
Parameters
Type Name Description
V1ContainerImage original

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Names

Names by which this image is known. e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]

Declaration
[JsonPropertyName("names")]
public IList<string> Names { get; set; }
Property Value
Type Description
IList<string>

SizeBytes

The size of the image in bytes.

Declaration
[JsonPropertyName("sizeBytes")]
public long? SizeBytes { get; set; }
Property Value
Type Description
long?

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1ContainerImage?)

Declaration
public virtual bool Equals(V1ContainerImage? other)
Parameters
Type Name Description
V1ContainerImage other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1ContainerImage?, V1ContainerImage?)

Declaration
public static bool operator ==(V1ContainerImage? left, V1ContainerImage? right)
Parameters
Type Name Description
V1ContainerImage left
V1ContainerImage right
Returns
Type Description
bool

operator !=(V1ContainerImage?, V1ContainerImage?)

Declaration
public static bool operator !=(V1ContainerImage? left, V1ContainerImage? right)
Parameters
Type Name Description
V1ContainerImage left
V1ContainerImage right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX