Documentation ¶
Index ¶
- Variables
- func GetClient() (client.Client, kubernetes.Interface, error)
- func LoadAdmissionDeploy() *appsv1.Deployment
- func LoadClusterRole() *rbacv1.ClusterRole
- func LoadClusterRoleBinding() *rbacv1.ClusterRoleBinding
- func LoadNamespacedValidatingRuleCRD() *apiextv1.CustomResourceDefinition
- func LoadNamespacedValidatingTypeCRD() *apiextv1.CustomResourceDefinition
- func LoadOperator(desc string) *appsv1.Deployment
- func LoadRole() *rbacv1.Role
- func LoadRoleBinding() *rbacv1.RoleBinding
- func LoadService() *v1.Service
- func LoadServiceAccount() *v1.ServiceAccount
- func LoadTestService() *v1.Service
- func OpArrayContainsValues(operations []admregv1.OperationType, op admregv1.OperationType) bool
- func ValidateInWebhook(ptList []*v1alpha1.NamespacedValidatingType) error
- func ValidateNotInWebhook(ptList []*v1alpha1.NamespacedValidatingType) error
- func VerifyApplied(t appliableObject) error
- func VerifyDeleted(t verifyDeletion) error
- func VerifyEmpty() error
- func VerifyEndpoint(e, namespace string) error
- func VerifyNoEndpoint(e, namespace string) error
- func VerifyPodSuccess(p *v1.Pod) error
- func WaitForDeployment(deploy *appsv1.Deployment) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Namespace = flags.DefaultNamespace // make configurable
)
Functions ¶
func LoadAdmissionDeploy ¶
func LoadAdmissionDeploy() *appsv1.Deployment
func LoadClusterRole ¶
func LoadClusterRole() *rbacv1.ClusterRole
func LoadClusterRoleBinding ¶
func LoadClusterRoleBinding() *rbacv1.ClusterRoleBinding
func LoadNamespacedValidatingRuleCRD ¶
func LoadNamespacedValidatingRuleCRD() *apiextv1.CustomResourceDefinition
func LoadNamespacedValidatingTypeCRD ¶
func LoadNamespacedValidatingTypeCRD() *apiextv1.CustomResourceDefinition
func LoadOperator ¶
func LoadOperator(desc string) *appsv1.Deployment
func LoadRoleBinding ¶
func LoadRoleBinding() *rbacv1.RoleBinding
func LoadService ¶
func LoadServiceAccount ¶
func LoadServiceAccount() *v1.ServiceAccount
func LoadTestService ¶
func OpArrayContainsValues ¶
func OpArrayContainsValues(operations []admregv1.OperationType, op admregv1.OperationType) bool
func ValidateInWebhook ¶
func ValidateInWebhook(ptList []*v1alpha1.NamespacedValidatingType) error
func ValidateNotInWebhook ¶
func ValidateNotInWebhook(ptList []*v1alpha1.NamespacedValidatingType) error
func VerifyApplied ¶
func VerifyApplied(t appliableObject) error
func VerifyDeleted ¶
func VerifyDeleted(t verifyDeletion) error
func VerifyEmpty ¶
func VerifyEmpty() error
func VerifyEndpoint ¶
func VerifyNoEndpoint ¶
func VerifyPodSuccess ¶
func WaitForDeployment ¶
func WaitForDeployment(deploy *appsv1.Deployment) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.