Documentation ¶
Index ¶
- Variables
- type CertificateRequestDie
- func (d *CertificateRequestDie) APIVersion(v string) *CertificateRequestDie
- func (d *CertificateRequestDie) DeepCopy() *CertificateRequestDie
- func (d *CertificateRequestDie) DeepCopyObject() runtime.Object
- func (d *CertificateRequestDie) DieFeed(r v1.CertificateRequest) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedPtr(r *v1.CertificateRequest) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestDie
- func (d *CertificateRequestDie) DieImmutable(immutable bool) *CertificateRequestDie
- func (d *CertificateRequestDie) DieRelease() v1.CertificateRequest
- func (d *CertificateRequestDie) DieReleasePtr() *v1.CertificateRequest
- func (d *CertificateRequestDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CertificateRequestDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *CertificateRequestDie) DieStamp(fn func(r *v1.CertificateRequest)) *CertificateRequestDie
- func (d *CertificateRequestDie) GetObjectKind() schema.ObjectKind
- func (d *CertificateRequestDie) Kind(v string) *CertificateRequestDie
- func (d *CertificateRequestDie) MarshalJSON() ([]byte, error)
- func (d *CertificateRequestDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *CertificateRequestDie
- func (d *CertificateRequestDie) Spec(v v1.CertificateRequestSpec) *CertificateRequestDie
- func (d *CertificateRequestDie) SpecDie(fn func(d *CertificateRequestSpecDie)) *CertificateRequestDie
- func (d *CertificateRequestDie) Status(v v1.CertificateRequestStatus) *CertificateRequestDie
- func (d *CertificateRequestDie) StatusDie(fn func(d *CertificateRequestStatusDie)) *CertificateRequestDie
- func (d *CertificateRequestDie) UnmarshalJSON(b []byte) error
- type CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) AddExtra(key string, values ...string) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DeepCopy() *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeed(r v1.CertificateRequestSpec) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedPtr(r *v1.CertificateRequestSpec) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieImmutable(immutable bool) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieRelease() v1.CertificateRequestSpec
- func (d *CertificateRequestSpecDie) DieReleasePtr() *v1.CertificateRequestSpec
- func (d *CertificateRequestSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CertificateRequestSpecDie) DieStamp(fn func(r *v1.CertificateRequestSpec)) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) Duration(v *apismetav1.Duration) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) Extra(v map[string][]string) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) Groups(v ...string) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) IsCA(v bool) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) IssuerRef(v corev1.ObjectReference) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) IssuerRefDie(fn func(d *diecorev1.ObjectReferenceDie)) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) Request(v []byte) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) UID(v string) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) Usages(v ...v1.KeyUsage) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) Username(v string) *CertificateRequestSpecDie
- type CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) CA(v []byte) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) Certificate(v []byte) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) Conditions(v ...v1.CertificateRequestCondition) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DeepCopy() *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeed(r v1.CertificateRequestStatus) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedPtr(r *v1.CertificateRequestStatus) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieImmutable(immutable bool) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieRelease() v1.CertificateRequestStatus
- func (d *CertificateRequestStatusDie) DieReleasePtr() *v1.CertificateRequestStatus
- func (d *CertificateRequestStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CertificateRequestStatusDie) DieStamp(fn func(r *v1.CertificateRequestStatus)) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) FailureTime(v *apismetav1.Time) *CertificateRequestStatusDie
Constants ¶
This section is empty.
Variables ¶
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)) )
var CertificateRequestBlank = (&CertificateRequestDie{}).DieFeed(v1.CertificateRequest{})
var CertificateRequestSpecBlank = (&CertificateRequestSpecDie{}).DieFeed(v1.CertificateRequestSpec{})
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
func (d *CertificateRequestDie) APIVersion(v string) *CertificateRequestDie
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 ¶
func (d *CertificateRequestDie) DeepCopy() *CertificateRequestDie
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 ¶
func (d *CertificateRequestDie) DieFeed(r v1.CertificateRequest) *CertificateRequestDie
DieFeed returns a new die with the provided resource.
func (*CertificateRequestDie) DieFeedPtr ¶
func (d *CertificateRequestDie) DieFeedPtr(r *v1.CertificateRequest) *CertificateRequestDie
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 ¶
func (d *CertificateRequestDie) DieRelease() v1.CertificateRequest
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 ¶
func (d *CertificateRequestDie) DieStamp(fn func(r *v1.CertificateRequest)) *CertificateRequestDie
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
func (d *CertificateRequestDie) Kind(v string) *CertificateRequestDie
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 ¶
func (d *CertificateRequestDie) Spec(v v1.CertificateRequestSpec) *CertificateRequestDie
Desired state of the CertificateRequest resource.
func (*CertificateRequestDie) SpecDie ¶
func (d *CertificateRequestDie) SpecDie(fn func(d *CertificateRequestSpecDie)) *CertificateRequestDie
SpecDie stamps the resource's spec field with a mutable die.
func (*CertificateRequestDie) Status ¶
func (d *CertificateRequestDie) Status(v v1.CertificateRequestStatus) *CertificateRequestDie
Status of the CertificateRequest. This is set and managed automatically.
func (*CertificateRequestDie) StatusDie ¶
func (d *CertificateRequestDie) StatusDie(fn func(d *CertificateRequestStatusDie)) *CertificateRequestDie
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 (d *CertificateRequestSpecDie) AddExtra(key string, values ...string) *CertificateRequestSpecDie
func (*CertificateRequestSpecDie) DeepCopy ¶
func (d *CertificateRequestSpecDie) DeepCopy() *CertificateRequestSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CertificateRequestSpecDie) DieFeed ¶
func (d *CertificateRequestSpecDie) DieFeed(r v1.CertificateRequestSpec) *CertificateRequestSpecDie
DieFeed returns a new die with the provided resource.
func (*CertificateRequestSpecDie) DieFeedPtr ¶
func (d *CertificateRequestSpecDie) DieFeedPtr(r *v1.CertificateRequestSpec) *CertificateRequestSpecDie
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
func (d *CertificateRequestSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestSpecDie
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 ¶
func (d *CertificateRequestSpecDie) DieRelease() v1.CertificateRequestSpec
DieRelease returns the resource managed by the die.
func (*CertificateRequestSpecDie) DieReleasePtr ¶
func (d *CertificateRequestSpecDie) DieReleasePtr() *v1.CertificateRequestSpec
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 ¶
func (d *CertificateRequestSpecDie) DieStamp(fn func(r *v1.CertificateRequestSpec)) *CertificateRequestSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CertificateRequestSpecDie) Duration ¶
func (d *CertificateRequestSpecDie) Duration(v *apismetav1.Duration) *CertificateRequestSpecDie
The requested 'duration' (i.e. lifetime) of the Certificate. This option may be ignored/overridden by some issuer types.
func (*CertificateRequestSpecDie) Extra ¶
func (d *CertificateRequestSpecDie) Extra(v map[string][]string) *CertificateRequestSpecDie
Extra contains extra attributes of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.
func (*CertificateRequestSpecDie) Groups ¶
func (d *CertificateRequestSpecDie) Groups(v ...string) *CertificateRequestSpecDie
Groups contains group membership of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.
func (*CertificateRequestSpecDie) IsCA ¶
func (d *CertificateRequestSpecDie) IsCA(v bool) *CertificateRequestSpecDie
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 ¶
func (d *CertificateRequestSpecDie) IssuerRef(v corev1.ObjectReference) *CertificateRequestSpecDie
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 (d *CertificateRequestSpecDie) IssuerRefDie(fn func(d *diecorev1.ObjectReferenceDie)) *CertificateRequestSpecDie
func (*CertificateRequestSpecDie) Request ¶
func (d *CertificateRequestSpecDie) Request(v []byte) *CertificateRequestSpecDie
The PEM-encoded x509 certificate signing request to be submitted to the CA for signing.
func (*CertificateRequestSpecDie) UID ¶
func (d *CertificateRequestSpecDie) UID(v string) *CertificateRequestSpecDie
UID contains the uid of the user that created the CertificateRequest. Populated by the cert-manager webhook on creation and immutable.
func (*CertificateRequestSpecDie) Usages ¶
func (d *CertificateRequestSpecDie) Usages(v ...v1.KeyUsage) *CertificateRequestSpecDie
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 ¶
func (d *CertificateRequestSpecDie) Username(v string) *CertificateRequestSpecDie
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 ¶
func (d *CertificateRequestStatusDie) CA(v []byte) *CertificateRequestStatusDie
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 ¶
func (d *CertificateRequestStatusDie) Certificate(v []byte) *CertificateRequestStatusDie
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 ¶
func (d *CertificateRequestStatusDie) Conditions(v ...v1.CertificateRequestCondition) *CertificateRequestStatusDie
List of status conditions to indicate the status of a CertificateRequest. Known condition types are `Ready` and `InvalidRequest`.
func (*CertificateRequestStatusDie) ConditionsDie ¶
func (d *CertificateRequestStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *CertificateRequestStatusDie
func (*CertificateRequestStatusDie) DeepCopy ¶
func (d *CertificateRequestStatusDie) DeepCopy() *CertificateRequestStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*CertificateRequestStatusDie) DieFeed ¶
func (d *CertificateRequestStatusDie) DieFeed(r v1.CertificateRequestStatus) *CertificateRequestStatusDie
DieFeed returns a new die with the provided resource.
func (*CertificateRequestStatusDie) DieFeedPtr ¶
func (d *CertificateRequestStatusDie) DieFeedPtr(r *v1.CertificateRequestStatus) *CertificateRequestStatusDie
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
func (d *CertificateRequestStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestStatusDie
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 ¶
func (d *CertificateRequestStatusDie) DieRelease() v1.CertificateRequestStatus
DieRelease returns the resource managed by the die.
func (*CertificateRequestStatusDie) DieReleasePtr ¶
func (d *CertificateRequestStatusDie) DieReleasePtr() *v1.CertificateRequestStatus
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 ¶
func (d *CertificateRequestStatusDie) DieStamp(fn func(r *v1.CertificateRequestStatus)) *CertificateRequestStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*CertificateRequestStatusDie) FailureTime ¶
func (d *CertificateRequestStatusDie) FailureTime(v *apismetav1.Time) *CertificateRequestStatusDie
FailureTime stores the time that this CertificateRequest failed. This is used to influence garbage collection and back-off.