Documentation ¶
Index ¶
- Variables
- func ConvertWorkload(component workload.Workload) (*deployv1alpha1.PlatformOperators, error)
- func CreateCRDAwspodidentitywebhooksIdentityPlatformTbdIo(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateCRDCertmanagersCertificatesPlatformTbdIo(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateCRDTrustmanagersCertificatesPlatformTbdIo(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleBindingCertificatesOperatorManagerRolebinding(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleBindingIdentityOperatorManagerRolebinding(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleCertificatesOperatorCertificatesCertmanagerEditorRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleCertificatesOperatorCertificatesCertmanagerViewerRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerEditorRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerViewerRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleCertificatesOperatorManagerRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookEditorRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookViewerRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleIdentityOperatorManagerRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateDeploymentNamespaceCertificatesOperatorControllerManager(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateDeploymentNamespaceIdentityOperatorControllerManager(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleBindingNamespaceCertificatesOperatorLeaderElectionRolebinding(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleBindingNamespaceIdentityOperatorLeaderElectionRolebinding(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleNamespaceCertificatesOperatorLeaderElectionRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleNamespaceIdentityOperatorLeaderElectionRole(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceAccountNamespaceCertificatesOperatorControllerManager(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceAccountNamespaceIdentityOperatorControllerManager(parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func Generate(workloadObj deployv1alpha1.PlatformOperators, 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( *deployv1alpha1.PlatformOperators, workload.Reconciler, *workload.Request, ) ([]client.Object, error){ CreateCRDCertmanagersCertificatesPlatformTbdIo, CreateCRDTrustmanagersCertificatesPlatformTbdIo, CreateServiceAccountNamespaceCertificatesOperatorControllerManager, CreateRoleNamespaceCertificatesOperatorLeaderElectionRole, CreateClusterRoleCertificatesOperatorCertificatesCertmanagerEditorRole, CreateClusterRoleCertificatesOperatorCertificatesCertmanagerViewerRole, CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerEditorRole, CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerViewerRole, CreateClusterRoleCertificatesOperatorManagerRole, CreateRoleBindingNamespaceCertificatesOperatorLeaderElectionRolebinding, CreateClusterRoleBindingCertificatesOperatorManagerRolebinding, CreateDeploymentNamespaceCertificatesOperatorControllerManager, CreateCRDAwspodidentitywebhooksIdentityPlatformTbdIo, CreateServiceAccountNamespaceIdentityOperatorControllerManager, CreateRoleNamespaceIdentityOperatorLeaderElectionRole, CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookEditorRole, CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookViewerRole, CreateClusterRoleIdentityOperatorManagerRole, CreateRoleBindingNamespaceIdentityOperatorLeaderElectionRolebinding, CreateClusterRoleBindingIdentityOperatorManagerRolebinding, CreateDeploymentNamespaceIdentityOperatorControllerManager, }
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( *deployv1alpha1.PlatformOperators, workload.Reconciler, *workload.Request, ) ([]client.Object, error){ CreateCRDCertmanagersCertificatesPlatformTbdIo, CreateCRDTrustmanagersCertificatesPlatformTbdIo, CreateCRDAwspodidentitywebhooksIdentityPlatformTbdIo, }
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) (*deployv1alpha1.PlatformOperators, error)
func CreateCRDAwspodidentitywebhooksIdentityPlatformTbdIo ¶
func CreateCRDAwspodidentitywebhooksIdentityPlatformTbdIo( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateCRDAwspodidentitywebhooksIdentityPlatformTbdIo creates the CustomResourceDefinition resource with name awspodidentitywebhooks.identity.platform.tbd.io.
func CreateCRDCertmanagersCertificatesPlatformTbdIo ¶
func CreateCRDCertmanagersCertificatesPlatformTbdIo( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateCRDCertmanagersCertificatesPlatformTbdIo creates the CustomResourceDefinition resource with name certmanagers.certificates.platform.tbd.io.
func CreateCRDTrustmanagersCertificatesPlatformTbdIo ¶
func CreateCRDTrustmanagersCertificatesPlatformTbdIo( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateCRDTrustmanagersCertificatesPlatformTbdIo creates the CustomResourceDefinition resource with name trustmanagers.certificates.platform.tbd.io.
func CreateClusterRoleBindingCertificatesOperatorManagerRolebinding ¶
func CreateClusterRoleBindingCertificatesOperatorManagerRolebinding( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleBindingCertificatesOperatorManagerRolebinding creates the ClusterRoleBinding resource with name certificates-operator-manager-rolebinding.
func CreateClusterRoleBindingIdentityOperatorManagerRolebinding ¶
func CreateClusterRoleBindingIdentityOperatorManagerRolebinding( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleBindingIdentityOperatorManagerRolebinding creates the ClusterRoleBinding resource with name identity-operator-manager-rolebinding.
func CreateClusterRoleCertificatesOperatorCertificatesCertmanagerEditorRole ¶
func CreateClusterRoleCertificatesOperatorCertificatesCertmanagerEditorRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleCertificatesOperatorCertificatesCertmanagerEditorRole creates the ClusterRole resource with name certificates-operator-certificates-certmanager-editor-role.
func CreateClusterRoleCertificatesOperatorCertificatesCertmanagerViewerRole ¶
func CreateClusterRoleCertificatesOperatorCertificatesCertmanagerViewerRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleCertificatesOperatorCertificatesCertmanagerViewerRole creates the ClusterRole resource with name certificates-operator-certificates-certmanager-viewer-role.
func CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerEditorRole ¶
func CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerEditorRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerEditorRole creates the ClusterRole resource with name certificates-operator-certificates-trustmanager-editor-role.
func CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerViewerRole ¶
func CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerViewerRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleCertificatesOperatorCertificatesTrustmanagerViewerRole creates the ClusterRole resource with name certificates-operator-certificates-trustmanager-viewer-role.
func CreateClusterRoleCertificatesOperatorManagerRole ¶
func CreateClusterRoleCertificatesOperatorManagerRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleCertificatesOperatorManagerRole creates the ClusterRole resource with name certificates-operator-manager-role.
func CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookEditorRole ¶
func CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookEditorRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookEditorRole creates the ClusterRole resource with name identity-operator-identity-awspodidentitywebhook-editor-role.
func CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookViewerRole ¶
func CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookViewerRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleIdentityOperatorIdentityAwspodidentitywebhookViewerRole creates the ClusterRole resource with name identity-operator-identity-awspodidentitywebhook-viewer-role.
func CreateClusterRoleIdentityOperatorManagerRole ¶
func CreateClusterRoleIdentityOperatorManagerRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleIdentityOperatorManagerRole creates the ClusterRole resource with name identity-operator-manager-role.
func CreateDeploymentNamespaceCertificatesOperatorControllerManager ¶
func CreateDeploymentNamespaceCertificatesOperatorControllerManager( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateDeploymentNamespaceCertificatesOperatorControllerManager creates the Deployment resource with name certificates-operator-controller-manager.
func CreateDeploymentNamespaceIdentityOperatorControllerManager ¶
func CreateDeploymentNamespaceIdentityOperatorControllerManager( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateDeploymentNamespaceIdentityOperatorControllerManager creates the Deployment resource with name identity-operator-controller-manager.
func CreateRoleBindingNamespaceCertificatesOperatorLeaderElectionRolebinding ¶
func CreateRoleBindingNamespaceCertificatesOperatorLeaderElectionRolebinding( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleBindingNamespaceCertificatesOperatorLeaderElectionRolebinding creates the RoleBinding resource with name certificates-operator-leader-election-rolebinding.
func CreateRoleBindingNamespaceIdentityOperatorLeaderElectionRolebinding ¶
func CreateRoleBindingNamespaceIdentityOperatorLeaderElectionRolebinding( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleBindingNamespaceIdentityOperatorLeaderElectionRolebinding creates the RoleBinding resource with name identity-operator-leader-election-rolebinding.
func CreateRoleNamespaceCertificatesOperatorLeaderElectionRole ¶
func CreateRoleNamespaceCertificatesOperatorLeaderElectionRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleNamespaceCertificatesOperatorLeaderElectionRole creates the Role resource with name certificates-operator-leader-election-role.
func CreateRoleNamespaceIdentityOperatorLeaderElectionRole ¶
func CreateRoleNamespaceIdentityOperatorLeaderElectionRole( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleNamespaceIdentityOperatorLeaderElectionRole creates the Role resource with name identity-operator-leader-election-role.
func CreateServiceAccountNamespaceCertificatesOperatorControllerManager ¶
func CreateServiceAccountNamespaceCertificatesOperatorControllerManager( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceAccountNamespaceCertificatesOperatorControllerManager creates the ServiceAccount resource with name certificates-operator-controller-manager.
func CreateServiceAccountNamespaceIdentityOperatorControllerManager ¶
func CreateServiceAccountNamespaceIdentityOperatorControllerManager( parent *deployv1alpha1.PlatformOperators, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceAccountNamespaceIdentityOperatorControllerManager creates the ServiceAccount resource with name identity-operator-controller-manager.
func Generate ¶
func Generate( workloadObj deployv1alpha1.PlatformOperators, 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.