wrappers

package
v0.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilObject = errors.New("Bad object supplied: <nil>")

Functions

This section is empty.

Types

type InstallStrategyDeploymentClientForNamespace

type InstallStrategyDeploymentClientForNamespace struct {
	Namespace string
	// contains filtered or unexported fields
}

func (*InstallStrategyDeploymentClientForNamespace) CreateDeployment

func (*InstallStrategyDeploymentClientForNamespace) CreateOrUpdateDeployment

func (c *InstallStrategyDeploymentClientForNamespace) CreateOrUpdateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func (*InstallStrategyDeploymentClientForNamespace) CreateRole

func (*InstallStrategyDeploymentClientForNamespace) CreateRoleBinding

func (*InstallStrategyDeploymentClientForNamespace) DeleteDeployment

func (c *InstallStrategyDeploymentClientForNamespace) DeleteDeployment(name string) error

func (*InstallStrategyDeploymentClientForNamespace) EnsureServiceAccount

func (c *InstallStrategyDeploymentClientForNamespace) EnsureServiceAccount(serviceAccount *corev1.ServiceAccount, owner ownerutil.Owner) (*corev1.ServiceAccount, error)

func (*InstallStrategyDeploymentClientForNamespace) FindAnyDeploymentsMatchingLabels

func (c *InstallStrategyDeploymentClientForNamespace) FindAnyDeploymentsMatchingLabels(label labels.Selector) ([]*appsv1.Deployment, error)

func (*InstallStrategyDeploymentClientForNamespace) FindAnyDeploymentsMatchingNames

func (c *InstallStrategyDeploymentClientForNamespace) FindAnyDeploymentsMatchingNames(depNames []string) ([]*appsv1.Deployment, error)

func (*InstallStrategyDeploymentClientForNamespace) GetOpClient

func (*InstallStrategyDeploymentClientForNamespace) GetOpLister

func (*InstallStrategyDeploymentClientForNamespace) GetServiceAccountByName

func (c *InstallStrategyDeploymentClientForNamespace) GetServiceAccountByName(serviceAccountName string) (*corev1.ServiceAccount, error)

type InstallStrategyDeploymentInterface

type InstallStrategyDeploymentInterface interface {
	CreateRole(role *rbacv1.Role) (*rbacv1.Role, error)
	CreateRoleBinding(roleBinding *rbacv1.RoleBinding) (*rbacv1.RoleBinding, error)
	EnsureServiceAccount(serviceAccount *corev1.ServiceAccount, owner ownerutil.Owner) (*corev1.ServiceAccount, error)
	CreateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)
	CreateOrUpdateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)
	DeleteDeployment(name string) error
	GetServiceAccountByName(serviceAccountName string) (*corev1.ServiceAccount, error)
	FindAnyDeploymentsMatchingNames(depNames []string) ([]*appsv1.Deployment, error)
	FindAnyDeploymentsMatchingLabels(label labels.Selector) ([]*appsv1.Deployment, error)
	GetOpClient() operatorclient.ClientInterface
	GetOpLister() operatorlister.OperatorLister
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL