Documentation
¶
Index ¶
- Variables
- func ConvertWorkload(component workload.Workload) (*identityv1alpha1.AWSPodIdentityWebhook, error)
- func CreateCertNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateClusterRoleBindingAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateDeploymentNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateMutatingWebhookNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleBindingNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateRoleNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceAccountNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func CreateServiceNamespaceAwsPodIdentityWebhook(parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, ...) ([]client.Object, error)
- func Generate(workloadObj identityv1alpha1.AWSPodIdentityWebhook, ...) ([]client.Object, error)
- func GenerateForCLI(workloadFile []byte) ([]client.Object, error)
- func Sample(requiredOnly bool) string
Constants ¶
This section is empty.
Variables ¶
var CreateFuncs = []func( *identityv1alpha1.AWSPodIdentityWebhook, workload.Reconciler, *workload.Request, ) ([]client.Object, error){ CreateServiceAccountNamespaceAwsPodIdentityWebhook, CreateRoleNamespaceAwsPodIdentityWebhook, CreateRoleBindingNamespaceAwsPodIdentityWebhook, CreateClusterRoleAwsPodIdentityWebhook, CreateClusterRoleBindingAwsPodIdentityWebhook, CreateCertNamespaceAwsPodIdentityWebhook, CreateDeploymentNamespaceAwsPodIdentityWebhook, CreateServiceNamespaceAwsPodIdentityWebhook, CreateMutatingWebhookNamespaceAwsPodIdentityWebhook, }
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( *identityv1alpha1.AWSPodIdentityWebhook, workload.Reconciler, *workload.Request, ) ([]client.Object, error){}
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) (*identityv1alpha1.AWSPodIdentityWebhook, error)
func CreateCertNamespaceAwsPodIdentityWebhook ¶
func CreateCertNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateCertNamespaceAwsPodIdentityWebhook creates the Certificate resource with name aws-pod-identity-webhook.
func CreateClusterRoleAwsPodIdentityWebhook ¶
func CreateClusterRoleAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleAwsPodIdentityWebhook creates the ClusterRole resource with name aws-pod-identity-webhook.
func CreateClusterRoleBindingAwsPodIdentityWebhook ¶
func CreateClusterRoleBindingAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateClusterRoleBindingAwsPodIdentityWebhook creates the ClusterRoleBinding resource with name aws-pod-identity-webhook.
func CreateDeploymentNamespaceAwsPodIdentityWebhook ¶
func CreateDeploymentNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateDeploymentNamespaceAwsPodIdentityWebhook creates the Deployment resource with name aws-pod-identity-webhook.
func CreateMutatingWebhookNamespaceAwsPodIdentityWebhook ¶
func CreateMutatingWebhookNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateMutatingWebhookNamespaceAwsPodIdentityWebhook creates the MutatingWebhookConfiguration resource with name aws-pod-identity-webhook.
func CreateRoleBindingNamespaceAwsPodIdentityWebhook ¶
func CreateRoleBindingNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleBindingNamespaceAwsPodIdentityWebhook creates the RoleBinding resource with name aws-pod-identity-webhook.
func CreateRoleNamespaceAwsPodIdentityWebhook ¶
func CreateRoleNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateRoleNamespaceAwsPodIdentityWebhook creates the Role resource with name aws-pod-identity-webhook.
func CreateServiceAccountNamespaceAwsPodIdentityWebhook ¶
func CreateServiceAccountNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceAccountNamespaceAwsPodIdentityWebhook creates the ServiceAccount resource with name aws-pod-identity-webhook.
func CreateServiceNamespaceAwsPodIdentityWebhook ¶
func CreateServiceNamespaceAwsPodIdentityWebhook( parent *identityv1alpha1.AWSPodIdentityWebhook, reconciler workload.Reconciler, req *workload.Request, ) ([]client.Object, error)
CreateServiceNamespaceAwsPodIdentityWebhook creates the Service resource with name aws-pod-identity-webhook.
func Generate ¶
func Generate( workloadObj identityv1alpha1.AWSPodIdentityWebhook, 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.