v1beta1

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the certmanager v1beta1 API group +kubebuilder:object:generate=true +groupName=certmanager.cloud.sap

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "certmanager.cloud.sap", 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 ConditionReason

type ConditionReason string
const (
	ConditionReasonInvalidIssuerSpec     ConditionReason = "InvalidIssuerSpec"
	ConditionReasonSecretNotFoundOrEmpty ConditionReason = "SecretNotFoundOrEmpty"
)

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 DigicertIssuer condition type. +kubebuilder:validation:Enum=Ready

const (
	// ConditionReady indicates that a DigicertIssuer is ready for use.
	ConditionReady ConditionType = "Ready"

	// ConditionConfigurationError indicates any configuration error.
	// See the condition message for details.
	ConditionConfigurationError ConditionType = "ConfigurationError"
)

type DigicertIssuer

type DigicertIssuer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DigicertIssuerSpec    `json:"spec"`
	Status *DigicertIssuerStatus `json:"status,omitempty"`
}

DigicertIssuer is the Schema for the digicertissuers API

func (*DigicertIssuer) DeepCopy

func (in *DigicertIssuer) DeepCopy() *DigicertIssuer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigicertIssuer.

func (*DigicertIssuer) DeepCopyInto

func (in *DigicertIssuer) DeepCopyInto(out *DigicertIssuer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DigicertIssuer) DeepCopyObject

func (in *DigicertIssuer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DigicertIssuerCondition

type DigicertIssuerCondition 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 ConditionReason `json:"reason,omitempty"`

	// Message is a human readable description of the details of the last
	// transition, complementing reason.
	// +optional
	Message string `json:"message,omitempty"`
}

DigicertIssuerCondition ...

func (*DigicertIssuerCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigicertIssuerCondition.

func (*DigicertIssuerCondition) DeepCopyInto

func (in *DigicertIssuerCondition) DeepCopyInto(out *DigicertIssuerCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DigicertIssuerList

type DigicertIssuerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DigicertIssuer `json:"items"`
}

DigicertIssuerList contains a list of DigicertIssuer

func (*DigicertIssuerList) DeepCopy

func (in *DigicertIssuerList) DeepCopy() *DigicertIssuerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigicertIssuerList.

func (*DigicertIssuerList) DeepCopyInto

func (in *DigicertIssuerList) DeepCopyInto(out *DigicertIssuerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DigicertIssuerList) DeepCopyObject

func (in *DigicertIssuerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DigicertIssuerSpec

type DigicertIssuerSpec struct {
	// Optional URL is the DigiCert cert-central API.
	// +optional
	URL string `json:"url,omitempty"`

	// Provisioner contains the DigiCert provisioner configuration.
	Provisioner DigicertProvisioner `json:"provisioner"`
}

DigicertIssuerSpec defines the desired state of DigicertIssuer

func (*DigicertIssuerSpec) DeepCopy

func (in *DigicertIssuerSpec) DeepCopy() *DigicertIssuerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigicertIssuerSpec.

func (*DigicertIssuerSpec) DeepCopyInto

func (in *DigicertIssuerSpec) DeepCopyInto(out *DigicertIssuerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DigicertIssuerStatus

type DigicertIssuerStatus struct {
	// Conditions is a list of DigicertIssuerConditions describing the current status.
	// +optional
	Conditions []DigicertIssuerCondition `json:"conditions,omitempty"`
}

DigicertIssuerStatus defines the observed state of DigicertIssuer

func (*DigicertIssuerStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigicertIssuerStatus.

func (*DigicertIssuerStatus) DeepCopyInto

func (in *DigicertIssuerStatus) DeepCopyInto(out *DigicertIssuerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DigicertProvisioner

type DigicertProvisioner struct {
	// APITokenReference references a secret in the same namespace containing the DigiCert API token.
	APITokenReference SecretKeySelector `json:"apiTokenReference"`

	// CACertID is the ID of the CA if multiple CA certificates are configured in the (sub-)account.
	CACertID string `json:"caCertID,omitempty"`

	// OrganizationID is the ID of the organization in Digicert.
	OrganizationID *int `json:"organizationID,omitempty"`

	// OrganizationName is the name of the organization in Digicert.
	// If specified takes precedence over OrganizationID.
	OrganizationName string `json:"organizationName,omitempty"`

	// OrganizationUnits is the list of organizational units.
	OrganizationUnits []string `json:"organizationUnits,omitempty"`

	// ValidityYears is the validity of the certificate in years.
	ValidityYears *int `json:"validityYears,omitempty"`

	// DisableRenewalNotifications disables email renewal notifications for expiring certificates.
	DisableRenewalNotifications *bool `json:"disableRenewalNotifications,omitempty"`

	// PaymentMethod is the configured payment method in the Digicert account.
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// SkipApproval skips the approval of the certificate.
	SkipApproval *bool `json:"skipApproval,omitempty"`

	// OrderType is the certificate order type.
	OrderType string `json:"orderType,omitempty"`

	// ContainerID is the ID of the division
	ContainerID *int `json:"containerID,omitempty"`
}

DigiCertProvisioner contains the DigiCert provisioner configuration.

func (*DigicertProvisioner) DeepCopy

func (in *DigicertProvisioner) DeepCopy() *DigicertProvisioner

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DigicertProvisioner.

func (*DigicertProvisioner) DeepCopyInto

func (in *DigicertProvisioner) DeepCopyInto(out *DigicertProvisioner)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretKeySelector

type SecretKeySelector struct {
	// The name of the secret.
	Name string `json:"name"`

	// The key in the secret.
	Key string `json:"key"`
}

SecretKeySelector references a secret in the same namespace containing sensitive configuration.

func (*SecretKeySelector) DeepCopy

func (in *SecretKeySelector) DeepCopy() *SecretKeySelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector.

func (*SecretKeySelector) DeepCopyInto

func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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