Documentation ¶
Index ¶
- Variables
- type InstallStrategyDeploymentClientForNamespace
- func (c *InstallStrategyDeploymentClientForNamespace) CreateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)
- func (c *InstallStrategyDeploymentClientForNamespace) CreateOrUpdateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)
- func (c *InstallStrategyDeploymentClientForNamespace) CreateRole(role *rbacv1.Role) (*rbacv1.Role, error)
- func (c *InstallStrategyDeploymentClientForNamespace) CreateRoleBinding(roleBinding *rbacv1.RoleBinding) (*rbacv1.RoleBinding, error)
- func (c *InstallStrategyDeploymentClientForNamespace) DeleteDeployment(name string) error
- func (c *InstallStrategyDeploymentClientForNamespace) EnsureServiceAccount(serviceAccount *corev1.ServiceAccount, owner ownerutil.Owner) (*corev1.ServiceAccount, error)
- func (c *InstallStrategyDeploymentClientForNamespace) FindAnyDeploymentsMatchingLabels(label labels.Selector) ([]*appsv1.Deployment, error)
- func (c *InstallStrategyDeploymentClientForNamespace) FindAnyDeploymentsMatchingNames(depNames []string) ([]*appsv1.Deployment, error)
- func (c *InstallStrategyDeploymentClientForNamespace) GetOpClient() operatorclient.ClientInterface
- func (c *InstallStrategyDeploymentClientForNamespace) GetOpLister() operatorlister.OperatorLister
- func (c *InstallStrategyDeploymentClientForNamespace) GetServiceAccountByName(serviceAccountName string) (*corev1.ServiceAccount, error)
- type InstallStrategyDeploymentInterface
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 (c *InstallStrategyDeploymentClientForNamespace) CreateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)
func (*InstallStrategyDeploymentClientForNamespace) CreateOrUpdateDeployment ¶
func (c *InstallStrategyDeploymentClientForNamespace) CreateOrUpdateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)
func (*InstallStrategyDeploymentClientForNamespace) CreateRole ¶
func (*InstallStrategyDeploymentClientForNamespace) CreateRoleBinding ¶
func (c *InstallStrategyDeploymentClientForNamespace) CreateRoleBinding(roleBinding *rbacv1.RoleBinding) (*rbacv1.RoleBinding, error)
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 (c *InstallStrategyDeploymentClientForNamespace) GetOpClient() operatorclient.ClientInterface
func (*InstallStrategyDeploymentClientForNamespace) GetOpLister ¶
func (c *InstallStrategyDeploymentClientForNamespace) GetOpLister() operatorlister.OperatorLister
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 }
func NewInstallStrategyDeploymentClient ¶
func NewInstallStrategyDeploymentClient(opClient operatorclient.ClientInterface, opLister operatorlister.OperatorLister, namespace string) InstallStrategyDeploymentInterface
Click to show internal directories.
Click to hide internal directories.