Versions in this module Expand all Collapse all v0 v0.9.2 Dec 14, 2023 v0.0.1 Nov 22, 2023 Changes in this version + type DeploymentBuilder struct + func NewDeployment() *DeploymentBuilder + func (b *DeploymentBuilder) Build() *appsv1.Deployment + func (b *DeploymentBuilder) WithContainer(name, image string) *DeploymentBuilder + func (b *DeploymentBuilder) WithName(name string) *DeploymentBuilder + func (b *DeploymentBuilder) WithNamespace(namespace string) *DeploymentBuilder + func (b *DeploymentBuilder) WithRandomName(prefix string) *DeploymentBuilder + type Helper struct + func NewHelper(c client.Client) *Helper + func (h *Helper) DeleteConfigAuditReportOwnedBy(obj client.Object) error + func (h *Helper) DeploymentIsReady(deploy client.ObjectKey) func() (bool, error) + func (h *Helper) GetActiveReplicaSetForDeployment(namespace, name string) (*appsv1.ReplicaSet, error) + func (h *Helper) HasActiveReplicaSet(namespace, name string) func() (bool, error) + func (h *Helper) HasConfigAuditReportOwnedBy(obj client.Object) func() (bool, error) + func (h *Helper) HasVulnerabilityReportOwnedBy(obj client.Object) func() (bool, error) + func (h *Helper) UpdateDeploymentImage(namespace, name string) error + type PodBuilder struct + func NewPod() *PodBuilder + func (b *PodBuilder) Build() *corev1.Pod + func (b *PodBuilder) WithContainer(name, image string) *PodBuilder + func (b *PodBuilder) WithImagePullSecret(name string) *PodBuilder + func (b *PodBuilder) WithName(name string) *PodBuilder + func (b *PodBuilder) WithNamespace(namespace string) *PodBuilder + func (b *PodBuilder) WithRandomName(prefix string) *PodBuilder + func (b *PodBuilder) WithServiceAccountName(name string) *PodBuilder + type PrivateRegistryConfig struct + ImageRef string + Password string + Server string + Username string + func (c *PrivateRegistryConfig) Parse() error + type SecretBuilder struct + func (b *SecretBuilder) Build() (*corev1.Secret, error) + func (b *SecretBuilder) WithNamespace(namespace string) *SecretBuilder + func (b *SecretBuilder) WithPassword(password string) *SecretBuilder + func (b *SecretBuilder) WithRandomName(name string) *SecretBuilder + func (b *SecretBuilder) WithServer(server string) *SecretBuilder + func (b *SecretBuilder) WithUsername(username string) *SecretBuilder + type ServiceAccountBuilder struct + func (b *ServiceAccountBuilder) Build() *corev1.ServiceAccount + func (b *ServiceAccountBuilder) WithImagePullSecret(name string) *ServiceAccountBuilder + func (b *ServiceAccountBuilder) WithNamespace(namespace string) *ServiceAccountBuilder + func (b *ServiceAccountBuilder) WithRandomName(prefix string) *ServiceAccountBuilder + type VulnerabilityReportBuilder struct + func (b *VulnerabilityReportBuilder) Build() *v1alpha1.VulnerabilityReport + func (b *VulnerabilityReportBuilder) WithName(name string) *VulnerabilityReportBuilder + func (b *VulnerabilityReportBuilder) WithNamespace(namespace string) *VulnerabilityReportBuilder + func (b *VulnerabilityReportBuilder) WithOwnerKind(kind kube.Kind) *VulnerabilityReportBuilder + func (b *VulnerabilityReportBuilder) WithOwnerName(name string) *VulnerabilityReportBuilder