certmanager

package
v0.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateFuncs = []func(
	*certificatesv1alpha1.CertManager,
	workload.Reconciler,
	*workload.Request,
) ([]client.Object, error){
	CreateCRDCertificaterequestsCertManagerIo,
	CreateCRDCertificatesCertManagerIo,
	CreateCRDChallengesAcmeCertManagerIo,
	CreateCRDClusterissuersCertManagerIo,
	CreateCRDIssuersCertManagerIo,
	CreateCRDOrdersAcmeCertManagerIo,
	CreateServiceAccountNamespaceCertManagerCainjector,
	CreateServiceAccountNamespaceCertManager,
	CreateServiceAccountNamespaceCertManagerWebhook,
	CreateClusterRoleCertManagerCainjector,
	CreateClusterRoleCertManagerControllerIssuers,
	CreateClusterRoleCertManagerControllerClusterissuers,
	CreateClusterRoleCertManagerControllerCertificates,
	CreateClusterRoleCertManagerControllerOrders,
	CreateClusterRoleCertManagerControllerChallenges,
	CreateClusterRoleCertManagerControllerIngressShim,
	CreateClusterRoleCertManagerClusterView,
	CreateClusterRoleCertManagerView,
	CreateClusterRoleCertManagerEdit,
	CreateClusterRoleCertManagerControllerApproveCertManagerIo,
	CreateClusterRoleCertManagerControllerCertificatesigningrequests,
	CreateClusterRoleCertManagerWebhookSubjectaccessreviews,
	CreateClusterRoleBindingCertManagerCainjector,
	CreateClusterRoleBindingCertManagerControllerIssuers,
	CreateClusterRoleBindingCertManagerControllerClusterissuers,
	CreateClusterRoleBindingCertManagerControllerCertificates,
	CreateClusterRoleBindingCertManagerControllerOrders,
	CreateClusterRoleBindingCertManagerControllerChallenges,
	CreateClusterRoleBindingCertManagerControllerIngressShim,
	CreateClusterRoleBindingCertManagerControllerApproveCertManagerIo,
	CreateClusterRoleBindingCertManagerControllerCertificatesigningrequests,
	CreateClusterRoleBindingCertManagerWebhookSubjectaccessreviews,
	CreateRoleNamespaceCertManagerCainjectorLeaderelection,
	CreateRoleNamespaceCertManagerLeaderelection,
	CreateRoleNamespaceCertManagerWebhookDynamicServing,
	CreateRoleBindingNamespaceCertManagerCainjectorLeaderelection,
	CreateRoleBindingNamespaceCertManagerLeaderelection,
	CreateRoleBindingNamespaceCertManagerWebhookDynamicServing,
	CreateDeploymentNamespaceCertManagerCainjector,
	CreateDeploymentNamespaceCertManager,
	CreateDeploymentNamespaceCertManagerWebhook,
	CreateServiceNamespaceCertManager,
	CreateServiceNamespaceCertManagerWebhook,
	CreateClusterIssuerInternal,
	CreateMutatingWebhookCertManagerWebhook,
	CreateValidatingWebhookCertManagerWebhook,
}

CreateFuncs is an array of functions that are called to create the child resources for the controller in memory during the reconciliation loop prior to persisting the changes or updates to the Kubernetes database.

InitFuncs is an array of functions that are called prior to starting the controller manager. This is necessary in instances which the controller needs to "own" objects which depend on resources to pre-exist in the cluster. A common use case for this is the need to own a custom resource. If the controller needs to own a custom resource type, the CRD that defines it must first exist. In this case, the InitFunc will create the CRD so that the controller can own custom resources of that type. Without the InitFunc the controller will crash loop because when it tries to own a non-existent resource type during manager setup, it will fail.

Functions

func ConvertWorkload

func ConvertWorkload(component workload.Workload) (*certificatesv1alpha1.CertManager, error)

func CreateCRDCertificaterequestsCertManagerIo

func CreateCRDCertificaterequestsCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateCRDCertificaterequestsCertManagerIo creates the CustomResourceDefinition resource with name certificaterequests.cert-manager.io.

func CreateCRDCertificatesCertManagerIo

func CreateCRDCertificatesCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateCRDCertificatesCertManagerIo creates the CustomResourceDefinition resource with name certificates.cert-manager.io.

func CreateCRDChallengesAcmeCertManagerIo

func CreateCRDChallengesAcmeCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateCRDChallengesAcmeCertManagerIo creates the CustomResourceDefinition resource with name challenges.acme.cert-manager.io.

func CreateCRDClusterissuersCertManagerIo

func CreateCRDClusterissuersCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateCRDClusterissuersCertManagerIo creates the CustomResourceDefinition resource with name clusterissuers.cert-manager.io.

func CreateCRDIssuersCertManagerIo

func CreateCRDIssuersCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateCRDIssuersCertManagerIo creates the CustomResourceDefinition resource with name issuers.cert-manager.io.

func CreateCRDOrdersAcmeCertManagerIo

func CreateCRDOrdersAcmeCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateCRDOrdersAcmeCertManagerIo creates the CustomResourceDefinition resource with name orders.acme.cert-manager.io.

func CreateClusterIssuerInternal

func CreateClusterIssuerInternal(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterIssuerInternal creates the ClusterIssuer resource with name internal.

func CreateClusterRoleBindingCertManagerCainjector

func CreateClusterRoleBindingCertManagerCainjector(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerCainjector creates the ClusterRoleBinding resource with name cert-manager-cainjector.

func CreateClusterRoleBindingCertManagerControllerApproveCertManagerIo

func CreateClusterRoleBindingCertManagerControllerApproveCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerApproveCertManagerIo creates the ClusterRoleBinding resource with name cert-manager-controller-approve:cert-manager-io.

func CreateClusterRoleBindingCertManagerControllerCertificates

func CreateClusterRoleBindingCertManagerControllerCertificates(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerCertificates creates the ClusterRoleBinding resource with name cert-manager-controller-certificates.

func CreateClusterRoleBindingCertManagerControllerCertificatesigningrequests

func CreateClusterRoleBindingCertManagerControllerCertificatesigningrequests(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerCertificatesigningrequests creates the ClusterRoleBinding resource with name cert-manager-controller-certificatesigningrequests.

func CreateClusterRoleBindingCertManagerControllerChallenges

func CreateClusterRoleBindingCertManagerControllerChallenges(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerChallenges creates the ClusterRoleBinding resource with name cert-manager-controller-challenges.

func CreateClusterRoleBindingCertManagerControllerClusterissuers

func CreateClusterRoleBindingCertManagerControllerClusterissuers(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerClusterissuers creates the ClusterRoleBinding resource with name cert-manager-controller-clusterissuers.

func CreateClusterRoleBindingCertManagerControllerIngressShim

func CreateClusterRoleBindingCertManagerControllerIngressShim(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerIngressShim creates the ClusterRoleBinding resource with name cert-manager-controller-ingress-shim.

func CreateClusterRoleBindingCertManagerControllerIssuers

func CreateClusterRoleBindingCertManagerControllerIssuers(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerIssuers creates the ClusterRoleBinding resource with name cert-manager-controller-issuers.

func CreateClusterRoleBindingCertManagerControllerOrders

func CreateClusterRoleBindingCertManagerControllerOrders(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerControllerOrders creates the ClusterRoleBinding resource with name cert-manager-controller-orders.

func CreateClusterRoleBindingCertManagerWebhookSubjectaccessreviews

func CreateClusterRoleBindingCertManagerWebhookSubjectaccessreviews(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleBindingCertManagerWebhookSubjectaccessreviews creates the ClusterRoleBinding resource with name cert-manager-webhook:subjectaccessreviews.

func CreateClusterRoleCertManagerCainjector

func CreateClusterRoleCertManagerCainjector(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerCainjector creates the ClusterRole resource with name cert-manager-cainjector.

func CreateClusterRoleCertManagerClusterView

func CreateClusterRoleCertManagerClusterView(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerClusterView creates the ClusterRole resource with name cert-manager-cluster-view.

func CreateClusterRoleCertManagerControllerApproveCertManagerIo

func CreateClusterRoleCertManagerControllerApproveCertManagerIo(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerApproveCertManagerIo creates the ClusterRole resource with name cert-manager-controller-approve:cert-manager-io.

func CreateClusterRoleCertManagerControllerCertificates

func CreateClusterRoleCertManagerControllerCertificates(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerCertificates creates the ClusterRole resource with name cert-manager-controller-certificates.

func CreateClusterRoleCertManagerControllerCertificatesigningrequests

func CreateClusterRoleCertManagerControllerCertificatesigningrequests(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerCertificatesigningrequests creates the ClusterRole resource with name cert-manager-controller-certificatesigningrequests.

func CreateClusterRoleCertManagerControllerChallenges

func CreateClusterRoleCertManagerControllerChallenges(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerChallenges creates the ClusterRole resource with name cert-manager-controller-challenges.

func CreateClusterRoleCertManagerControllerClusterissuers

func CreateClusterRoleCertManagerControllerClusterissuers(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerClusterissuers creates the ClusterRole resource with name cert-manager-controller-clusterissuers.

func CreateClusterRoleCertManagerControllerIngressShim

func CreateClusterRoleCertManagerControllerIngressShim(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerIngressShim creates the ClusterRole resource with name cert-manager-controller-ingress-shim.

func CreateClusterRoleCertManagerControllerIssuers

func CreateClusterRoleCertManagerControllerIssuers(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerIssuers creates the ClusterRole resource with name cert-manager-controller-issuers.

func CreateClusterRoleCertManagerControllerOrders

func CreateClusterRoleCertManagerControllerOrders(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerControllerOrders creates the ClusterRole resource with name cert-manager-controller-orders.

func CreateClusterRoleCertManagerEdit

func CreateClusterRoleCertManagerEdit(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerEdit creates the ClusterRole resource with name cert-manager-edit.

func CreateClusterRoleCertManagerView

func CreateClusterRoleCertManagerView(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerView creates the ClusterRole resource with name cert-manager-view.

func CreateClusterRoleCertManagerWebhookSubjectaccessreviews

func CreateClusterRoleCertManagerWebhookSubjectaccessreviews(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateClusterRoleCertManagerWebhookSubjectaccessreviews creates the ClusterRole resource with name cert-manager-webhook:subjectaccessreviews.

func CreateDeploymentNamespaceCertManager

func CreateDeploymentNamespaceCertManager(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateDeploymentNamespaceCertManager creates the Deployment resource with name cert-manager.

func CreateDeploymentNamespaceCertManagerCainjector

func CreateDeploymentNamespaceCertManagerCainjector(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateDeploymentNamespaceCertManagerCainjector creates the Deployment resource with name cert-manager-cainjector.

func CreateDeploymentNamespaceCertManagerWebhook

func CreateDeploymentNamespaceCertManagerWebhook(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateDeploymentNamespaceCertManagerWebhook creates the Deployment resource with name cert-manager-webhook.

func CreateMutatingWebhookCertManagerWebhook

func CreateMutatingWebhookCertManagerWebhook(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateMutatingWebhookCertManagerWebhook creates the MutatingWebhookConfiguration resource with name cert-manager-webhook.

func CreateRoleBindingNamespaceCertManagerCainjectorLeaderelection

func CreateRoleBindingNamespaceCertManagerCainjectorLeaderelection(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateRoleBindingNamespaceCertManagerCainjectorLeaderelection creates the RoleBinding resource with name cert-manager-cainjector:leaderelection.

func CreateRoleBindingNamespaceCertManagerLeaderelection

func CreateRoleBindingNamespaceCertManagerLeaderelection(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateRoleBindingNamespaceCertManagerLeaderelection creates the RoleBinding resource with name cert-manager:leaderelection.

func CreateRoleBindingNamespaceCertManagerWebhookDynamicServing

func CreateRoleBindingNamespaceCertManagerWebhookDynamicServing(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateRoleBindingNamespaceCertManagerWebhookDynamicServing creates the RoleBinding resource with name cert-manager-webhook:dynamic-serving.

func CreateRoleNamespaceCertManagerCainjectorLeaderelection

func CreateRoleNamespaceCertManagerCainjectorLeaderelection(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateRoleNamespaceCertManagerCainjectorLeaderelection creates the Role resource with name cert-manager-cainjector:leaderelection.

func CreateRoleNamespaceCertManagerLeaderelection

func CreateRoleNamespaceCertManagerLeaderelection(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateRoleNamespaceCertManagerLeaderelection creates the Role resource with name cert-manager:leaderelection.

func CreateRoleNamespaceCertManagerWebhookDynamicServing

func CreateRoleNamespaceCertManagerWebhookDynamicServing(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateRoleNamespaceCertManagerWebhookDynamicServing creates the Role resource with name cert-manager-webhook:dynamic-serving.

func CreateServiceAccountNamespaceCertManager

func CreateServiceAccountNamespaceCertManager(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateServiceAccountNamespaceCertManager creates the ServiceAccount resource with name cert-manager.

func CreateServiceAccountNamespaceCertManagerCainjector

func CreateServiceAccountNamespaceCertManagerCainjector(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateServiceAccountNamespaceCertManagerCainjector creates the ServiceAccount resource with name cert-manager-cainjector.

func CreateServiceAccountNamespaceCertManagerWebhook

func CreateServiceAccountNamespaceCertManagerWebhook(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateServiceAccountNamespaceCertManagerWebhook creates the ServiceAccount resource with name cert-manager-webhook.

func CreateServiceNamespaceCertManager

func CreateServiceNamespaceCertManager(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateServiceNamespaceCertManager creates the Service resource with name cert-manager.

func CreateServiceNamespaceCertManagerWebhook

func CreateServiceNamespaceCertManagerWebhook(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateServiceNamespaceCertManagerWebhook creates the Service resource with name cert-manager-webhook.

func CreateValidatingWebhookCertManagerWebhook

func CreateValidatingWebhookCertManagerWebhook(
	parent *certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

CreateValidatingWebhookCertManagerWebhook creates the ValidatingWebhookConfiguration resource with name cert-manager-webhook.

func Generate

func Generate(
	workloadObj certificatesv1alpha1.CertManager,
	reconciler workload.Reconciler,
	req *workload.Request,
) ([]client.Object, error)

Generate returns the child resources that are associated with this workload given appropriate structured inputs.

func GenerateForCLI

func GenerateForCLI(workloadFile []byte) ([]client.Object, error)

GenerateForCLI returns the child resources that are associated with this workload given appropriate YAML manifest files.

func Sample

func Sample(requiredOnly bool) string

Sample returns the sample manifest for this custom resource.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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