Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the certmanager v1beta1 API group +kubebuilder:object:generate=true +groupName=certmanager.step.sm
Index ¶
- Variables
- type ConditionStatus
- type ConditionType
- type StepClusterIssuer
- type StepClusterIssuerCondition
- type StepClusterIssuerList
- type StepClusterIssuerSecretKeySelector
- type StepClusterIssuerSpec
- type StepClusterIssuerStatus
- type StepClusterProvisioner
- type StepIssuer
- type StepIssuerCondition
- type StepIssuerList
- type StepIssuerSecretKeySelector
- type StepIssuerSpec
- type StepIssuerStatus
- type StepProvisioner
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "certmanager.step.sm", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents a condition's status. +kubebuilder:validation:Enum=True;False;Unknown
const ( // ConditionTrue represents the fact that a given condition is true ConditionTrue ConditionStatus = "True" // ConditionFalse represents the fact that a given condition is false ConditionFalse ConditionStatus = "False" // ConditionUnknown represents the fact that a given condition is unknown ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type ConditionType ¶
type ConditionType string
ConditionType represents a StepIssuer condition type. +kubebuilder:validation:Enum=Ready
const ( // ConditionReady indicates that a StepIssuer is ready for use. ConditionReady ConditionType = "Ready" )
type StepClusterIssuer ¶ added in v0.5.0
type StepClusterIssuer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec StepClusterIssuerSpec `json:"spec,omitempty"`
Status StepClusterIssuerStatus `json:"status,omitempty"`
}
StepClusterIssuer is the Schema for the stepclusterissuers API +kubebuilder:subresource:status
func (*StepClusterIssuer) DeepCopy ¶ added in v0.5.0
func (in *StepClusterIssuer) DeepCopy() *StepClusterIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterIssuer.
func (*StepClusterIssuer) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterIssuer) DeepCopyInto(out *StepClusterIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StepClusterIssuer) DeepCopyObject ¶ added in v0.5.0
func (in *StepClusterIssuer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StepClusterIssuerCondition ¶ added in v0.5.0
type StepClusterIssuerCondition struct {
// Type of the condition, currently ('Ready').
Type ConditionType `json:"type"`
// Status of the condition, one of ('True', 'False', 'Unknown').
// +kubebuilder:validation:Enum=True;False;Unknown
Status ConditionStatus `json:"status"`
// LastTransitionTime is the timestamp corresponding to the last status
// change of this condition.
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
// Reason is a brief machine readable explanation for the condition's last
// transition.
// +optional
Reason string `json:"reason,omitempty"`
// Message is a human readable description of the details of the last
// transition, complementing reason.
// +optional
Message string `json:"message,omitempty"`
}
StepClusterIssuerCondition contains condition information for the step issuer.
func (*StepClusterIssuerCondition) DeepCopy ¶ added in v0.5.0
func (in *StepClusterIssuerCondition) DeepCopy() *StepClusterIssuerCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterIssuerCondition.
func (*StepClusterIssuerCondition) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterIssuerCondition) DeepCopyInto(out *StepClusterIssuerCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepClusterIssuerList ¶ added in v0.5.0
type StepClusterIssuerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []StepClusterIssuer `json:"items"`
}
StepClusterIssuerList contains a list of StepClusterIssuer
func (*StepClusterIssuerList) DeepCopy ¶ added in v0.5.0
func (in *StepClusterIssuerList) DeepCopy() *StepClusterIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterIssuerList.
func (*StepClusterIssuerList) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterIssuerList) DeepCopyInto(out *StepClusterIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StepClusterIssuerList) DeepCopyObject ¶ added in v0.5.0
func (in *StepClusterIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StepClusterIssuerSecretKeySelector ¶ added in v0.5.0
type StepClusterIssuerSecretKeySelector struct {
// The name of the secret in the pod's namespace to select from.
Name string `json:"name"`
// The namespace of the secret in the pod's namespace to select from.
Namespace string `json:"namespace"`
// The key of the secret to select from. Must be a valid secret key.
// +optional
Key string `json:"key,omitempty"`
}
StepClusterIssuerSecretKeySelector contains the reference to a secret.
func (*StepClusterIssuerSecretKeySelector) DeepCopy ¶ added in v0.5.0
func (in *StepClusterIssuerSecretKeySelector) DeepCopy() *StepClusterIssuerSecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterIssuerSecretKeySelector.
func (*StepClusterIssuerSecretKeySelector) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterIssuerSecretKeySelector) DeepCopyInto(out *StepClusterIssuerSecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepClusterIssuerSpec ¶ added in v0.5.0
type StepClusterIssuerSpec struct {
// URL is the base URL for the step certificates instance.
URL string `json:"url"`
// Provisioner contains the step certificates provisioner configuration.
Provisioner StepClusterProvisioner `json:"provisioner"`
// CABundle is a base64 encoded TLS certificate used to verify connections
// to the step certificates server. If not set the system root certificates
// are used to validate the TLS connection.
CABundle []byte `json:"caBundle"`
}
StepClusterIssuerSpec defines the desired state of StepClusterIssuer
func (*StepClusterIssuerSpec) DeepCopy ¶ added in v0.5.0
func (in *StepClusterIssuerSpec) DeepCopy() *StepClusterIssuerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterIssuerSpec.
func (*StepClusterIssuerSpec) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterIssuerSpec) DeepCopyInto(out *StepClusterIssuerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepClusterIssuerStatus ¶ added in v0.5.0
type StepClusterIssuerStatus struct {
// +optional
Conditions []StepClusterIssuerCondition `json:"conditions,omitempty"`
}
StepClusterIssuerStatus defines the observed state of StepClusterIssuer
func (*StepClusterIssuerStatus) DeepCopy ¶ added in v0.5.0
func (in *StepClusterIssuerStatus) DeepCopy() *StepClusterIssuerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterIssuerStatus.
func (*StepClusterIssuerStatus) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterIssuerStatus) DeepCopyInto(out *StepClusterIssuerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepClusterProvisioner ¶ added in v0.5.0
type StepClusterProvisioner struct {
// Names is the name of the JWK provisioner.
Name string `json:"name"`
// KeyID is the kid property of the JWK provisioner.
KeyID string `json:"kid"`
// PasswordRef is a reference to a Secret containing the provisioner
// password used to decrypt the provisioner private key.
PasswordRef StepClusterIssuerSecretKeySelector `json:"passwordRef"`
}
StepClusterProvisioner contains the configuration used to create step certificate tokens used to grant certificates.
func (*StepClusterProvisioner) DeepCopy ¶ added in v0.5.0
func (in *StepClusterProvisioner) DeepCopy() *StepClusterProvisioner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepClusterProvisioner.
func (*StepClusterProvisioner) DeepCopyInto ¶ added in v0.5.0
func (in *StepClusterProvisioner) DeepCopyInto(out *StepClusterProvisioner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepIssuer ¶
type StepIssuer struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec StepIssuerSpec `json:"spec,omitempty"`
Status StepIssuerStatus `json:"status,omitempty"`
}
StepIssuer is the Schema for the stepissuers API +kubebuilder:subresource:status
func (*StepIssuer) DeepCopy ¶
func (in *StepIssuer) DeepCopy() *StepIssuer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepIssuer.
func (*StepIssuer) DeepCopyInto ¶
func (in *StepIssuer) DeepCopyInto(out *StepIssuer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StepIssuer) DeepCopyObject ¶
func (in *StepIssuer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StepIssuerCondition ¶
type StepIssuerCondition struct {
// Type of the condition, currently ('Ready').
Type ConditionType `json:"type"`
// Status of the condition, one of ('True', 'False', 'Unknown').
// +kubebuilder:validation:Enum=True;False;Unknown
Status ConditionStatus `json:"status"`
// LastTransitionTime is the timestamp corresponding to the last status
// change of this condition.
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
// Reason is a brief machine readable explanation for the condition's last
// transition.
// +optional
Reason string `json:"reason,omitempty"`
// Message is a human readable description of the details of the last
// transition, complementing reason.
// +optional
Message string `json:"message,omitempty"`
}
StepIssuerCondition contains condition information for the step issuer.
func (*StepIssuerCondition) DeepCopy ¶
func (in *StepIssuerCondition) DeepCopy() *StepIssuerCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepIssuerCondition.
func (*StepIssuerCondition) DeepCopyInto ¶
func (in *StepIssuerCondition) DeepCopyInto(out *StepIssuerCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepIssuerList ¶
type StepIssuerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []StepIssuer `json:"items"`
}
StepIssuerList contains a list of StepIssuer
func (*StepIssuerList) DeepCopy ¶
func (in *StepIssuerList) DeepCopy() *StepIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepIssuerList.
func (*StepIssuerList) DeepCopyInto ¶
func (in *StepIssuerList) DeepCopyInto(out *StepIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StepIssuerList) DeepCopyObject ¶
func (in *StepIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StepIssuerSecretKeySelector ¶ added in v0.5.0
type StepIssuerSecretKeySelector struct {
// The name of the secret in the pod's namespace to select from.
Name string `json:"name"`
// The key of the secret to select from. Must be a valid secret key.
// +optional
Key string `json:"key,omitempty"`
}
StepIssuerSecretKeySelector contains the reference to a secret.
func (*StepIssuerSecretKeySelector) DeepCopy ¶ added in v0.5.0
func (in *StepIssuerSecretKeySelector) DeepCopy() *StepIssuerSecretKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepIssuerSecretKeySelector.
func (*StepIssuerSecretKeySelector) DeepCopyInto ¶ added in v0.5.0
func (in *StepIssuerSecretKeySelector) DeepCopyInto(out *StepIssuerSecretKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepIssuerSpec ¶
type StepIssuerSpec struct {
// URL is the base URL for the step certificates instance.
URL string `json:"url"`
// Provisioner contains the step certificates provisioner configuration.
Provisioner StepProvisioner `json:"provisioner"`
// CABundle is a base64 encoded TLS certificate used to verify connections
// to the step certificates server. If not set the system root certificates
// are used to validate the TLS connection.
CABundle []byte `json:"caBundle"`
}
StepIssuerSpec defines the desired state of StepIssuer
func (*StepIssuerSpec) DeepCopy ¶
func (in *StepIssuerSpec) DeepCopy() *StepIssuerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepIssuerSpec.
func (*StepIssuerSpec) DeepCopyInto ¶
func (in *StepIssuerSpec) DeepCopyInto(out *StepIssuerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepIssuerStatus ¶
type StepIssuerStatus struct {
// +optional
Conditions []StepIssuerCondition `json:"conditions,omitempty"`
}
StepIssuerStatus defines the observed state of StepIssuer
func (*StepIssuerStatus) DeepCopy ¶
func (in *StepIssuerStatus) DeepCopy() *StepIssuerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepIssuerStatus.
func (*StepIssuerStatus) DeepCopyInto ¶
func (in *StepIssuerStatus) DeepCopyInto(out *StepIssuerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepProvisioner ¶
type StepProvisioner struct {
// Names is the name of the JWK provisioner.
Name string `json:"name"`
// KeyID is the kid property of the JWK provisioner.
KeyID string `json:"kid"`
// PasswordRef is a reference to a Secret containing the provisioner
// password used to decrypt the provisioner private key.
PasswordRef StepIssuerSecretKeySelector `json:"passwordRef"`
}
StepProvisioner contains the configuration used to create step certificate tokens used to grant certificates.
func (*StepProvisioner) DeepCopy ¶
func (in *StepProvisioner) DeepCopy() *StepProvisioner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepProvisioner.
func (*StepProvisioner) DeepCopyInto ¶
func (in *StepProvisioner) DeepCopyInto(out *StepProvisioner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.