Show / Hide Table of Contents

Class V1alpha1ClusterTrustBundleSpec

ClusterTrustBundleSpec contains the signer and trust anchors.

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

Constructors

View Source

V1alpha1ClusterTrustBundleSpec()

Declaration
public V1alpha1ClusterTrustBundleSpec()
View Source

V1alpha1ClusterTrustBundleSpec(V1alpha1ClusterTrustBundleSpec)

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

Properties

View Source

EqualityContract

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

SignerName

signerName indicates the associated signer, if any.

In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.

If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name example.com/foo, valid ClusterTrustBundle object names include example.com:foo:abc and example.com:foo:v1.

If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.

List/watch requests for ClusterTrustBundles can filter on this field using a spec.signerName=NAME field selector.

Declaration
[JsonPropertyName("signerName")]
public string SignerName { get; set; }
Property Value
Type Description
string
View Source

TrustBundle

trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.

The data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.

Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.

Declaration
[JsonPropertyName("trustBundle")]
public string TrustBundle { get; set; }
Property Value
Type Description
string

Methods

View Source

Equals(object?)

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

Equals(V1alpha1ClusterTrustBundleSpec?)

Declaration
public virtual bool Equals(V1alpha1ClusterTrustBundleSpec? other)
Parameters
Type Name Description
V1alpha1ClusterTrustBundleSpec other
Returns
Type Description
bool
View Source

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1alpha1ClusterTrustBundleSpec?, V1alpha1ClusterTrustBundleSpec?)

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

operator !=(V1alpha1ClusterTrustBundleSpec?, V1alpha1ClusterTrustBundleSpec?)

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

Implements

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