v1alpha1

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CertificateRequestConditionReadyBlank          = diemetav1.ConditionBlank.Type(string(certmanagerv1.CertificateRequestConditionReady))
	CertificateRequestConditionInvalidRequestBlank = diemetav1.ConditionBlank.Type(string(certmanagerv1.CertificateRequestConditionInvalidRequest))
	CertificateRequestConditionApprovedBlank       = diemetav1.ConditionBlank.Type(string(certmanagerv1.CertificateRequestConditionApproved))
	CertificateRequestConditionDeniedBlank         = diemetav1.ConditionBlank.Type(string(certmanagerv1.CertificateRequestConditionDenied))
)
View Source
var CertificateRequestBlank = (&CertificateRequestDie{}).DieFeed(v1.CertificateRequest{})
View Source
var CertificateRequestSpecBlank = (&CertificateRequestSpecDie{}).DieFeed(v1.CertificateRequestSpec{})
View Source
var CertificateRequestStatusBlank = (&CertificateRequestStatusDie{}).DieFeed(v1.CertificateRequestStatus{})

Functions

This section is empty.

Types

type CertificateRequestDie

type CertificateRequestDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*CertificateRequestDie) APIVersion added in v0.2.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (*CertificateRequestDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CertificateRequestDie) DeepCopyObject

func (d *CertificateRequestDie) DeepCopyObject() runtime.Object

func (*CertificateRequestDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CertificateRequestDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CertificateRequestDie) DieFeedRawExtension added in v0.2.0

func (d *CertificateRequestDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestDie

DieFeedRawExtension returns the resource managed by the die as an raw extension.

func (*CertificateRequestDie) DieImmutable

func (d *CertificateRequestDie) DieImmutable(immutable bool) *CertificateRequestDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CertificateRequestDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CertificateRequestDie) DieReleasePtr

func (d *CertificateRequestDie) DieReleasePtr() *v1.CertificateRequest

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CertificateRequestDie) DieReleaseRawExtension added in v0.2.0

func (d *CertificateRequestDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension.

func (*CertificateRequestDie) DieReleaseUnstructured

func (d *CertificateRequestDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object.

func (*CertificateRequestDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CertificateRequestDie) GetObjectKind

func (d *CertificateRequestDie) GetObjectKind() schema.ObjectKind

func (*CertificateRequestDie) Kind added in v0.2.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (*CertificateRequestDie) MarshalJSON

func (d *CertificateRequestDie) MarshalJSON() ([]byte, error)

func (*CertificateRequestDie) MetadataDie

func (d *CertificateRequestDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *CertificateRequestDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*CertificateRequestDie) Spec

Desired state of the CertificateRequest resource.

func (*CertificateRequestDie) SpecDie

SpecDie stamps the resource's spec field with a mutable die.

func (*CertificateRequestDie) Status

Status of the CertificateRequest. This is set and managed automatically.

func (*CertificateRequestDie) StatusDie

StatusDie stamps the resource's status field with a mutable die.

func (*CertificateRequestDie) UnmarshalJSON

func (d *CertificateRequestDie) UnmarshalJSON(b []byte) error

type CertificateRequestSpecDie

type CertificateRequestSpecDie struct {
	// contains filtered or unexported fields
}

func (*CertificateRequestSpecDie) AddExtra

func (*CertificateRequestSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CertificateRequestSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CertificateRequestSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CertificateRequestSpecDie) DieFeedRawExtension added in v0.2.0

DieFeedRawExtension returns the resource managed by the die as an raw extension.

func (*CertificateRequestSpecDie) DieImmutable

func (d *CertificateRequestSpecDie) DieImmutable(immutable bool) *CertificateRequestSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CertificateRequestSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CertificateRequestSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CertificateRequestSpecDie) DieReleaseRawExtension added in v0.2.0

func (d *CertificateRequestSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension.

func (*CertificateRequestSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CertificateRequestSpecDie) Duration

The requested 'duration' (i.e. lifetime) of the Certificate. This option may be ignored/overridden by some issuer types.

func (*CertificateRequestSpecDie) Extra

Extra contains extra attributes of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.

func (*CertificateRequestSpecDie) Groups

Groups contains group membership of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.

func (*CertificateRequestSpecDie) IsCA

IsCA will request to mark the certificate as valid for certificate signing when submitting to the issuer. This will automatically add the `cert sign` usage to the list of `usages`.

func (*CertificateRequestSpecDie) IssuerRef

IssuerRef is a reference to the issuer for this CertificateRequest. If the `kind` field is not set, or set to `Issuer`, an Issuer resource with the given name in the same namespace as the CertificateRequest will be used. If the `kind` field is set to `ClusterIssuer`, a ClusterIssuer with the provided name will be used. The `name` field in this stanza is required at all times. The group field refers to the API group of the issuer which defaults to `cert-manager.io` if empty.

func (*CertificateRequestSpecDie) IssuerRefDie

func (*CertificateRequestSpecDie) Request

The PEM-encoded x509 certificate signing request to be submitted to the CA for signing.

func (*CertificateRequestSpecDie) UID

UID contains the uid of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.

func (*CertificateRequestSpecDie) Usages

Usages is the set of x509 usages that are requested for the certificate. If usages are set they SHOULD be encoded inside the CSR spec Defaults to `digital signature` and `key encipherment` if not specified.

func (*CertificateRequestSpecDie) Username

Username contains the name of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.

type CertificateRequestStatusDie

type CertificateRequestStatusDie struct {
	// contains filtered or unexported fields
}

func (*CertificateRequestStatusDie) CA

The PEM encoded x509 certificate of the signer, also known as the CA (Certificate Authority). This is set on a best-effort basis by different issuers. If not set, the CA is assumed to be unknown/not available.

func (*CertificateRequestStatusDie) Certificate

The PEM encoded x509 certificate resulting from the certificate signing request. If not set, the CertificateRequest has either not been completed or has failed. More information on failure can be found by checking the `conditions` field.

func (*CertificateRequestStatusDie) Conditions

List of status conditions to indicate the status of a CertificateRequest. Known condition types are `Ready` and `InvalidRequest`.

func (*CertificateRequestStatusDie) ConditionsDie

func (*CertificateRequestStatusDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*CertificateRequestStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*CertificateRequestStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*CertificateRequestStatusDie) DieFeedRawExtension added in v0.2.0

DieFeedRawExtension returns the resource managed by the die as an raw extension.

func (*CertificateRequestStatusDie) DieImmutable

func (d *CertificateRequestStatusDie) DieImmutable(immutable bool) *CertificateRequestStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*CertificateRequestStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*CertificateRequestStatusDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*CertificateRequestStatusDie) DieReleaseRawExtension added in v0.2.0

func (d *CertificateRequestStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension.

func (*CertificateRequestStatusDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*CertificateRequestStatusDie) FailureTime

FailureTime stores the time that this CertificateRequest failed. This is used to influence garbage collection and back-off.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL