Documentation
¶
Index ¶
- Variables
- func ConvertWorkload(component workload.Workload) (*certificatesv1alpha1.TrustManager, error)
- func CreateCRDBundlesTrustCertManagerIo(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateCertNamespaceTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleBindingTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateDeploymentNamespaceTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleBindingNamespaceTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleBindingNamespaceTrustManagerLeaderelection(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleNamespaceTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleNamespaceTrustManagerLeaderelection(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceAccountNamespaceTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceNamespaceTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceNamespaceTrustManagerMetrics(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateValidatingWebhookTrustManager(parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func Generate(workloadObj certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func GenerateForCLI(workloadFile []byte) ([]client.Object, error)
- func Sample(requiredOnly bool) string
Constants ¶
This section is empty.
Variables ¶
var CreateFuncs = []func( *certificatesv1alpha1.TrustManager, workload.Reconciler, *workload.Request, ) ([]client.Object, error){ CreateCRDBundlesTrustCertManagerIo, CreateServiceAccountNamespaceTrustManager, CreateClusterRoleTrustManager, CreateClusterRoleBindingTrustManager, CreateRoleNamespaceTrustManager, CreateRoleNamespaceTrustManagerLeaderelection, CreateRoleBindingNamespaceTrustManager, CreateRoleBindingNamespaceTrustManagerLeaderelection, CreateCertNamespaceTrustManager, CreateDeploymentNamespaceTrustManager, CreateServiceNamespaceTrustManagerMetrics, CreateServiceNamespaceTrustManager, CreateValidatingWebhookTrustManager, }
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.
var InitFuncs = []func( *certificatesv1alpha1.TrustManager, workload.Reconciler, *workload.Request, ) ([]client.Object, error){ CreateCRDBundlesTrustCertManagerIo, }
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.TrustManager, error)
func CreateCRDBundlesTrustCertManagerIo ¶
func CreateCRDBundlesTrustCertManagerIo( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateCRDBundlesTrustCertManagerIo creates the CustomResourceDefinition resource with name bundles.trust.cert-manager.io.
func CreateCertNamespaceTrustManager ¶
func CreateCertNamespaceTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateCertNamespaceTrustManager creates the Certificate resource with name trust-manager.
func CreateClusterRoleBindingTrustManager ¶
func CreateClusterRoleBindingTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleBindingTrustManager creates the ClusterRoleBinding resource with name trust-manager.
func CreateClusterRoleTrustManager ¶
func CreateClusterRoleTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleTrustManager creates the ClusterRole resource with name trust-manager.
func CreateDeploymentNamespaceTrustManager ¶
func CreateDeploymentNamespaceTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateDeploymentNamespaceTrustManager creates the Deployment resource with name trust-manager.
func CreateRoleBindingNamespaceTrustManager ¶
func CreateRoleBindingNamespaceTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleBindingNamespaceTrustManager creates the RoleBinding resource with name trust-manager.
func CreateRoleBindingNamespaceTrustManagerLeaderelection ¶
func CreateRoleBindingNamespaceTrustManagerLeaderelection( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleBindingNamespaceTrustManagerLeaderelection creates the RoleBinding resource with name trust-manager:leaderelection.
func CreateRoleNamespaceTrustManager ¶
func CreateRoleNamespaceTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleNamespaceTrustManager creates the Role resource with name trust-manager.
func CreateRoleNamespaceTrustManagerLeaderelection ¶
func CreateRoleNamespaceTrustManagerLeaderelection( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleNamespaceTrustManagerLeaderelection creates the Role resource with name trust-manager:leaderelection.
func CreateServiceAccountNamespaceTrustManager ¶
func CreateServiceAccountNamespaceTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceAccountNamespaceTrustManager creates the ServiceAccount resource with name trust-manager.
func CreateServiceNamespaceTrustManager ¶
func CreateServiceNamespaceTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceNamespaceTrustManager creates the Service resource with name trust-manager.
func CreateServiceNamespaceTrustManagerMetrics ¶
func CreateServiceNamespaceTrustManagerMetrics( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceNamespaceTrustManagerMetrics creates the Service resource with name trust-manager-metrics.
func CreateValidatingWebhookTrustManager ¶
func CreateValidatingWebhookTrustManager( parent *certificatesv1alpha1.TrustManager, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateValidatingWebhookTrustManager creates the ValidatingWebhookConfiguration resource with name trust-manager.
func Generate ¶
func Generate( workloadObj certificatesv1alpha1.TrustManager, 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 ¶
GenerateForCLI returns the child resources that are associated with this workload given appropriate YAML manifest files.
Types ¶
This section is empty.