platformoperators

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

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) (*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

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