wrappersfakes

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeInstallStrategyDeploymentInterface

type FakeInstallStrategyDeploymentInterface struct {
	CreateRoleStub func(role *v1beta1rbac.Role) (*v1beta1rbac.Role, error)

	CreateRoleBindingStub func(roleBinding *v1beta1rbac.RoleBinding) (*v1beta1rbac.RoleBinding, error)

	EnsureServiceAccountStub func(serviceAccount *corev1.ServiceAccount, owner ownerutil.Owner) (*corev1.ServiceAccount, error)

	CreateDeploymentStub func(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

	CreateOrUpdateDeploymentStub func(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

	DeleteDeploymentStub func(name string) error

	GetServiceAccountByNameStub func(serviceAccountName string) (*corev1.ServiceAccount, error)

	FindAnyDeploymentsMatchingNamesStub func(depNames []string) ([]*appsv1.Deployment, error)
	// contains filtered or unexported fields
}

func (*FakeInstallStrategyDeploymentInterface) CreateDeployment

func (fake *FakeInstallStrategyDeploymentInterface) CreateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func (*FakeInstallStrategyDeploymentInterface) CreateDeploymentArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateDeploymentArgsForCall(i int) *appsv1.Deployment

func (*FakeInstallStrategyDeploymentInterface) CreateDeploymentCallCount

func (fake *FakeInstallStrategyDeploymentInterface) CreateDeploymentCallCount() int

func (*FakeInstallStrategyDeploymentInterface) CreateDeploymentReturns

func (fake *FakeInstallStrategyDeploymentInterface) CreateDeploymentReturns(result1 *appsv1.Deployment, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateDeploymentReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateDeploymentReturnsOnCall(i int, result1 *appsv1.Deployment, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeployment

func (fake *FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeployment(deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func (*FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentArgsForCall(i int) *appsv1.Deployment

func (*FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentCallCount

func (fake *FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentCallCount() int

func (*FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentReturns

func (fake *FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentReturns(result1 *appsv1.Deployment, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateOrUpdateDeploymentReturnsOnCall(i int, result1 *appsv1.Deployment, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateRole

func (*FakeInstallStrategyDeploymentInterface) CreateRoleArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleArgsForCall(i int) *v1beta1rbac.Role

func (*FakeInstallStrategyDeploymentInterface) CreateRoleBinding

func (*FakeInstallStrategyDeploymentInterface) CreateRoleBindingArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleBindingArgsForCall(i int) *v1beta1rbac.RoleBinding

func (*FakeInstallStrategyDeploymentInterface) CreateRoleBindingCallCount

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleBindingCallCount() int

func (*FakeInstallStrategyDeploymentInterface) CreateRoleBindingReturns

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleBindingReturns(result1 *v1beta1rbac.RoleBinding, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateRoleBindingReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleBindingReturnsOnCall(i int, result1 *v1beta1rbac.RoleBinding, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateRoleCallCount

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleCallCount() int

func (*FakeInstallStrategyDeploymentInterface) CreateRoleReturns

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleReturns(result1 *v1beta1rbac.Role, result2 error)

func (*FakeInstallStrategyDeploymentInterface) CreateRoleReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) CreateRoleReturnsOnCall(i int, result1 *v1beta1rbac.Role, result2 error)

func (*FakeInstallStrategyDeploymentInterface) DeleteDeployment

func (fake *FakeInstallStrategyDeploymentInterface) DeleteDeployment(name string) error

func (*FakeInstallStrategyDeploymentInterface) DeleteDeploymentArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) DeleteDeploymentArgsForCall(i int) string

func (*FakeInstallStrategyDeploymentInterface) DeleteDeploymentCallCount

func (fake *FakeInstallStrategyDeploymentInterface) DeleteDeploymentCallCount() int

func (*FakeInstallStrategyDeploymentInterface) DeleteDeploymentReturns

func (fake *FakeInstallStrategyDeploymentInterface) DeleteDeploymentReturns(result1 error)

func (*FakeInstallStrategyDeploymentInterface) DeleteDeploymentReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) DeleteDeploymentReturnsOnCall(i int, result1 error)

func (*FakeInstallStrategyDeploymentInterface) EnsureServiceAccount

func (fake *FakeInstallStrategyDeploymentInterface) EnsureServiceAccount(serviceAccount *corev1.ServiceAccount, owner ownerutil.Owner) (*corev1.ServiceAccount, error)

func (*FakeInstallStrategyDeploymentInterface) EnsureServiceAccountArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) EnsureServiceAccountArgsForCall(i int) (*corev1.ServiceAccount, ownerutil.Owner)

func (*FakeInstallStrategyDeploymentInterface) EnsureServiceAccountCallCount

func (fake *FakeInstallStrategyDeploymentInterface) EnsureServiceAccountCallCount() int

func (*FakeInstallStrategyDeploymentInterface) EnsureServiceAccountReturns

func (fake *FakeInstallStrategyDeploymentInterface) EnsureServiceAccountReturns(result1 *corev1.ServiceAccount, result2 error)

func (*FakeInstallStrategyDeploymentInterface) EnsureServiceAccountReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) EnsureServiceAccountReturnsOnCall(i int, result1 *corev1.ServiceAccount, result2 error)

func (*FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNames

func (fake *FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNames(depNames []string) ([]*appsv1.Deployment, error)

func (*FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesArgsForCall(i int) []string

func (*FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesCallCount

func (fake *FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesCallCount() int

func (*FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesReturns

func (fake *FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesReturns(result1 []*appsv1.Deployment, result2 error)

func (*FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) FindAnyDeploymentsMatchingNamesReturnsOnCall(i int, result1 []*appsv1.Deployment, result2 error)

func (*FakeInstallStrategyDeploymentInterface) GetServiceAccountByName

func (fake *FakeInstallStrategyDeploymentInterface) GetServiceAccountByName(serviceAccountName string) (*corev1.ServiceAccount, error)

func (*FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameArgsForCall

func (fake *FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameArgsForCall(i int) string

func (*FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameCallCount

func (fake *FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameCallCount() int

func (*FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameReturns

func (fake *FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameReturns(result1 *corev1.ServiceAccount, result2 error)

func (*FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameReturnsOnCall

func (fake *FakeInstallStrategyDeploymentInterface) GetServiceAccountByNameReturnsOnCall(i int, result1 *corev1.ServiceAccount, result2 error)

func (*FakeInstallStrategyDeploymentInterface) Invocations

func (fake *FakeInstallStrategyDeploymentInterface) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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