Documentation ¶
Index ¶
- Variables
- func CreateLimitRange(parent *tenancyv1alpha1.TanzuNamespace) (metav1.Object, error)
- func CreateNamespace(parent *tenancyv1alpha1.TanzuNamespace) (metav1.Object, error)
- func CreateNetworkPolicies(parent *tenancyv1alpha1.TanzuNamespace) ([]metav1.Object, error)
- func CreateRBAC(parent *tenancyv1alpha1.TanzuNamespace) ([]metav1.Object, error)
- func CreateResourceQuota(parent *tenancyv1alpha1.TanzuNamespace) (metav1.Object, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateArrayFuncs = []func(*tenancyv1alpha1.TanzuNamespace) ([]metav1.Object, error){ CreateNetworkPolicies, }
CreateArrayFuncs is a variable containing functions which return an array of resources
View Source
var CreateFuncs = []func(*tenancyv1alpha1.TanzuNamespace) (metav1.Object, error){ CreateNamespace, CreateLimitRange, CreateResourceQuota, }
CreateFuncs is a variable containing functions which return a single resource
Functions ¶
func CreateLimitRange ¶
func CreateLimitRange(parent *tenancyv1alpha1.TanzuNamespace) (metav1.Object, error)
CreateLimitRange creates the LimitRange resource for the parent TanzuNamespace object
func CreateNamespace ¶
func CreateNamespace(parent *tenancyv1alpha1.TanzuNamespace) (metav1.Object, error)
CreateNamespace creates Namespace resource for the parent TanzuNamespace object
func CreateNetworkPolicies ¶
func CreateNetworkPolicies(parent *tenancyv1alpha1.TanzuNamespace) ([]metav1.Object, error)
CreateNetworkPolicies creates the tanzu-network-policy-n resource
func CreateRBAC ¶
func CreateRBAC(parent *tenancyv1alpha1.TanzuNamespace) ([]metav1.Object, error)
CreateRBAC creates the appropriate RBAC policies
func CreateResourceQuota ¶
func CreateResourceQuota(parent *tenancyv1alpha1.TanzuNamespace) (metav1.Object, error)
CreateResourceQuota creates the ResourceQuota resource for the parent TanzuNamespace object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.