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) DieDiff(opts ...cmp.Option) string
- func (d *CertificateRequestDie) DieFeed(r v1.CertificateRequest) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedJSON(j []byte) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedPtr(r *v1.CertificateRequest) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedYAML(y []byte) *CertificateRequestDie
- func (d *CertificateRequestDie) DieFeedYAMLFile(name string) *CertificateRequestDie
- func (d *CertificateRequestDie) DieImmutable(immutable bool) *CertificateRequestDie
- func (d *CertificateRequestDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *CertificateRequestDie) DieRelease() v1.CertificateRequest
- func (d *CertificateRequestDie) DieReleaseJSON() []byte
- func (d *CertificateRequestDie) DieReleasePtr() *v1.CertificateRequest
- func (d *CertificateRequestDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CertificateRequestDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *CertificateRequestDie) DieReleaseYAML() []byte
- func (d *CertificateRequestDie) DieSeal() *CertificateRequestDie
- func (d *CertificateRequestDie) DieSealFeed(r v1.CertificateRequest) *CertificateRequestDie
- func (d *CertificateRequestDie) DieSealFeedPtr(r *v1.CertificateRequest) *CertificateRequestDie
- func (d *CertificateRequestDie) DieSealRelease() v1.CertificateRequest
- func (d *CertificateRequestDie) DieSealReleasePtr() *v1.CertificateRequest
- func (d *CertificateRequestDie) DieStamp(fn func(r *v1.CertificateRequest)) *CertificateRequestDie
- func (d *CertificateRequestDie) DieStampAt(jp string, fn interface{}) *CertificateRequestDie
- func (d *CertificateRequestDie) DieWith(fns ...func(d *CertificateRequestDie)) *CertificateRequestDie
- func (d *CertificateRequestDie) GetObjectKind() schema.ObjectKind
- func (d *CertificateRequestDie) Kind(v string) *CertificateRequestDie
- func (d *CertificateRequestDie) MarshalJSON() ([]byte, error)
- func (d *CertificateRequestDie) Metadata(v apismetav1.ObjectMeta) *CertificateRequestDie
- 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) TypeMetadata(v apismetav1.TypeMeta) *CertificateRequestDie
- func (d *CertificateRequestDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *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) DieDiff(opts ...cmp.Option) string
- func (d *CertificateRequestSpecDie) DieFeed(r v1.CertificateRequestSpec) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedJSON(j []byte) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedPtr(r *v1.CertificateRequestSpec) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedYAML(y []byte) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieFeedYAMLFile(name string) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieImmutable(immutable bool) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *CertificateRequestSpecDie) DieRelease() v1.CertificateRequestSpec
- func (d *CertificateRequestSpecDie) DieReleaseJSON() []byte
- func (d *CertificateRequestSpecDie) DieReleasePtr() *v1.CertificateRequestSpec
- func (d *CertificateRequestSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CertificateRequestSpecDie) DieReleaseYAML() []byte
- func (d *CertificateRequestSpecDie) DieSeal() *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieSealFeed(r v1.CertificateRequestSpec) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieSealFeedPtr(r *v1.CertificateRequestSpec) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieSealRelease() v1.CertificateRequestSpec
- func (d *CertificateRequestSpecDie) DieSealReleasePtr() *v1.CertificateRequestSpec
- func (d *CertificateRequestSpecDie) DieStamp(fn func(r *v1.CertificateRequestSpec)) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieStampAt(jp string, fn interface{}) *CertificateRequestSpecDie
- func (d *CertificateRequestSpecDie) DieWith(fns ...func(d *CertificateRequestSpecDie)) *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) DieDiff(opts ...cmp.Option) string
- func (d *CertificateRequestStatusDie) DieFeed(r v1.CertificateRequestStatus) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedJSON(j []byte) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedPtr(r *v1.CertificateRequestStatus) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedYAML(y []byte) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieFeedYAMLFile(name string) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieImmutable(immutable bool) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *CertificateRequestStatusDie) DieRelease() v1.CertificateRequestStatus
- func (d *CertificateRequestStatusDie) DieReleaseJSON() []byte
- func (d *CertificateRequestStatusDie) DieReleasePtr() *v1.CertificateRequestStatus
- func (d *CertificateRequestStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *CertificateRequestStatusDie) DieReleaseYAML() []byte
- func (d *CertificateRequestStatusDie) DieSeal() *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieSealFeed(r v1.CertificateRequestStatus) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieSealFeedPtr(r *v1.CertificateRequestStatus) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieSealRelease() v1.CertificateRequestStatus
- func (d *CertificateRequestStatusDie) DieSealReleasePtr() *v1.CertificateRequestStatus
- func (d *CertificateRequestStatusDie) DieStamp(fn func(r *v1.CertificateRequestStatus)) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieStampAt(jp string, fn interface{}) *CertificateRequestStatusDie
- func (d *CertificateRequestStatusDie) DieWith(fns ...func(d *CertificateRequestStatusDie)) *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) DieDiff ¶ added in v0.8.2
func (d *CertificateRequestDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CertificateRequestDie) DieFeed ¶
func (d *CertificateRequestDie) DieFeed(r v1.CertificateRequest) *CertificateRequestDie
DieFeed returns a new die with the provided resource.
func (*CertificateRequestDie) DieFeedJSON ¶ added in v0.5.0
func (d *CertificateRequestDie) DieFeedJSON(j []byte) *CertificateRequestDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
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. Panics on error.
func (*CertificateRequestDie) DieFeedYAML ¶ added in v0.5.0
func (d *CertificateRequestDie) DieFeedYAML(y []byte) *CertificateRequestDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CertificateRequestDie) DieFeedYAMLFile ¶ added in v0.5.0
func (d *CertificateRequestDie) DieFeedYAMLFile(name string) *CertificateRequestDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
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) DiePatch ¶ added in v0.8.2
func (d *CertificateRequestDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CertificateRequestDie) DieRelease ¶
func (d *CertificateRequestDie) DieRelease() v1.CertificateRequest
DieRelease returns the resource managed by the die.
func (*CertificateRequestDie) DieReleaseJSON ¶ added in v0.5.0
func (d *CertificateRequestDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
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. Panics on error.
func (*CertificateRequestDie) DieReleaseUnstructured ¶
func (d *CertificateRequestDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*CertificateRequestDie) DieReleaseYAML ¶ added in v0.5.0
func (d *CertificateRequestDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CertificateRequestDie) DieSeal ¶ added in v0.8.2
func (d *CertificateRequestDie) DieSeal() *CertificateRequestDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CertificateRequestDie) DieSealFeed ¶ added in v0.8.2
func (d *CertificateRequestDie) DieSealFeed(r v1.CertificateRequest) *CertificateRequestDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CertificateRequestDie) DieSealFeedPtr ¶ added in v0.8.2
func (d *CertificateRequestDie) DieSealFeedPtr(r *v1.CertificateRequest) *CertificateRequestDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CertificateRequestDie) DieSealRelease ¶ added in v0.8.2
func (d *CertificateRequestDie) DieSealRelease() v1.CertificateRequest
DieSealRelease returns the sealed resource managed by the die.
func (*CertificateRequestDie) DieSealReleasePtr ¶ added in v0.8.2
func (d *CertificateRequestDie) DieSealReleasePtr() *v1.CertificateRequest
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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) DieStampAt ¶ added in v0.5.0
func (d *CertificateRequestDie) DieStampAt(jp string, fn interface{}) *CertificateRequestDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CertificateRequestDie) DieWith ¶ added in v0.6.0
func (d *CertificateRequestDie) DieWith(fns ...func(d *CertificateRequestDie)) *CertificateRequestDie
DieWith returns a new die after passing the current die to the callback function. The passed die 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) Metadata ¶ added in v0.8.2
func (d *CertificateRequestDie) Metadata(v apismetav1.ObjectMeta) *CertificateRequestDie
Metadata standard object's metadata.
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) TypeMetadata ¶ added in v0.8.2
func (d *CertificateRequestDie) TypeMetadata(v apismetav1.TypeMeta) *CertificateRequestDie
TypeMetadata standard object's type metadata.
func (*CertificateRequestDie) TypeMetadataDie ¶ added in v0.8.2
func (d *CertificateRequestDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *CertificateRequestDie
TypeMetadataDie stamps the resource's TypeMeta 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) DieDiff ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CertificateRequestSpecDie) DieFeed ¶
func (d *CertificateRequestSpecDie) DieFeed(r v1.CertificateRequestSpec) *CertificateRequestSpecDie
DieFeed returns a new die with the provided resource.
func (*CertificateRequestSpecDie) DieFeedJSON ¶ added in v0.5.0
func (d *CertificateRequestSpecDie) DieFeedJSON(j []byte) *CertificateRequestSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
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. Panics on error.
func (*CertificateRequestSpecDie) DieFeedYAML ¶ added in v0.5.0
func (d *CertificateRequestSpecDie) DieFeedYAML(y []byte) *CertificateRequestSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CertificateRequestSpecDie) DieFeedYAMLFile ¶ added in v0.5.0
func (d *CertificateRequestSpecDie) DieFeedYAMLFile(name string) *CertificateRequestSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
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) DiePatch ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CertificateRequestSpecDie) DieRelease ¶
func (d *CertificateRequestSpecDie) DieRelease() v1.CertificateRequestSpec
DieRelease returns the resource managed by the die.
func (*CertificateRequestSpecDie) DieReleaseJSON ¶ added in v0.5.0
func (d *CertificateRequestSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
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. Panics on error.
func (*CertificateRequestSpecDie) DieReleaseYAML ¶ added in v0.5.0
func (d *CertificateRequestSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CertificateRequestSpecDie) DieSeal ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DieSeal() *CertificateRequestSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CertificateRequestSpecDie) DieSealFeed ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DieSealFeed(r v1.CertificateRequestSpec) *CertificateRequestSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CertificateRequestSpecDie) DieSealFeedPtr ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DieSealFeedPtr(r *v1.CertificateRequestSpec) *CertificateRequestSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CertificateRequestSpecDie) DieSealRelease ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DieSealRelease() v1.CertificateRequestSpec
DieSealRelease returns the sealed resource managed by the die.
func (*CertificateRequestSpecDie) DieSealReleasePtr ¶ added in v0.8.2
func (d *CertificateRequestSpecDie) DieSealReleasePtr() *v1.CertificateRequestSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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) DieStampAt ¶ added in v0.5.0
func (d *CertificateRequestSpecDie) DieStampAt(jp string, fn interface{}) *CertificateRequestSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CertificateRequestSpecDie) DieWith ¶ added in v0.6.0
func (d *CertificateRequestSpecDie) DieWith(fns ...func(d *CertificateRequestSpecDie)) *CertificateRequestSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die 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) DieDiff ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*CertificateRequestStatusDie) DieFeed ¶
func (d *CertificateRequestStatusDie) DieFeed(r v1.CertificateRequestStatus) *CertificateRequestStatusDie
DieFeed returns a new die with the provided resource.
func (*CertificateRequestStatusDie) DieFeedJSON ¶ added in v0.5.0
func (d *CertificateRequestStatusDie) DieFeedJSON(j []byte) *CertificateRequestStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
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. Panics on error.
func (*CertificateRequestStatusDie) DieFeedYAML ¶ added in v0.5.0
func (d *CertificateRequestStatusDie) DieFeedYAML(y []byte) *CertificateRequestStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*CertificateRequestStatusDie) DieFeedYAMLFile ¶ added in v0.5.0
func (d *CertificateRequestStatusDie) DieFeedYAMLFile(name string) *CertificateRequestStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
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) DiePatch ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*CertificateRequestStatusDie) DieRelease ¶
func (d *CertificateRequestStatusDie) DieRelease() v1.CertificateRequestStatus
DieRelease returns the resource managed by the die.
func (*CertificateRequestStatusDie) DieReleaseJSON ¶ added in v0.5.0
func (d *CertificateRequestStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
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. Panics on error.
func (*CertificateRequestStatusDie) DieReleaseYAML ¶ added in v0.5.0
func (d *CertificateRequestStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*CertificateRequestStatusDie) DieSeal ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DieSeal() *CertificateRequestStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*CertificateRequestStatusDie) DieSealFeed ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DieSealFeed(r v1.CertificateRequestStatus) *CertificateRequestStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*CertificateRequestStatusDie) DieSealFeedPtr ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DieSealFeedPtr(r *v1.CertificateRequestStatus) *CertificateRequestStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*CertificateRequestStatusDie) DieSealRelease ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DieSealRelease() v1.CertificateRequestStatus
DieSealRelease returns the sealed resource managed by the die.
func (*CertificateRequestStatusDie) DieSealReleasePtr ¶ added in v0.8.2
func (d *CertificateRequestStatusDie) DieSealReleasePtr() *v1.CertificateRequestStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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) DieStampAt ¶ added in v0.5.0
func (d *CertificateRequestStatusDie) DieStampAt(jp string, fn interface{}) *CertificateRequestStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*CertificateRequestStatusDie) DieWith ¶ added in v0.6.0
func (d *CertificateRequestStatusDie) DieWith(fns ...func(d *CertificateRequestStatusDie)) *CertificateRequestStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die 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.