mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSResource

type AWSResource struct {
	mock.Mock
}

AWSResource is an autogenerated mock type for the AWSResource type

func (*AWSResource) Conditions

func (_m *AWSResource) Conditions() []*v1alpha1.Condition

Conditions provides a mock function with given fields:

func (*AWSResource) Identifiers

func (_m *AWSResource) Identifiers() types.AWSResourceIdentifiers

Identifiers provides a mock function with given fields:

func (*AWSResource) IsBeingDeleted

func (_m *AWSResource) IsBeingDeleted() bool

IsBeingDeleted provides a mock function with given fields:

func (*AWSResource) MetaObject

func (_m *AWSResource) MetaObject() v1.Object

MetaObject provides a mock function with given fields:

func (*AWSResource) RuntimeMetaObject

func (_m *AWSResource) RuntimeMetaObject() types.RuntimeMetaObject

RuntimeMetaObject provides a mock function with given fields:

func (*AWSResource) RuntimeObject

func (_m *AWSResource) RuntimeObject() runtime.Object

RuntimeObject provides a mock function with given fields:

type AWSResourceDescriptor

type AWSResourceDescriptor struct {
	mock.Mock
}

AWSResourceDescriptor is an autogenerated mock type for the AWSResourceDescriptor type

func (*AWSResourceDescriptor) Diff

Diff provides a mock function with given fields: _a0, _a1

func (*AWSResourceDescriptor) EmptyRuntimeObject

func (_m *AWSResourceDescriptor) EmptyRuntimeObject() runtime.Object

EmptyRuntimeObject provides a mock function with given fields:

func (*AWSResourceDescriptor) Equal

Equal provides a mock function with given fields: _a0, _a1

func (*AWSResourceDescriptor) GroupKind

func (_m *AWSResourceDescriptor) GroupKind() *v1.GroupKind

GroupKind provides a mock function with given fields:

func (*AWSResourceDescriptor) IsManaged

func (_m *AWSResourceDescriptor) IsManaged(_a0 types.AWSResource) bool

IsManaged provides a mock function with given fields: _a0

func (*AWSResourceDescriptor) MarkManaged

func (_m *AWSResourceDescriptor) MarkManaged(_a0 types.AWSResource)

MarkManaged provides a mock function with given fields: _a0

func (*AWSResourceDescriptor) MarkUnmanaged

func (_m *AWSResourceDescriptor) MarkUnmanaged(_a0 types.AWSResource)

MarkUnmanaged provides a mock function with given fields: _a0

func (*AWSResourceDescriptor) ResourceFromRuntimeObject

func (_m *AWSResourceDescriptor) ResourceFromRuntimeObject(_a0 runtime.Object) types.AWSResource

ResourceFromRuntimeObject provides a mock function with given fields: _a0

func (*AWSResourceDescriptor) UpdateCRStatus

func (_m *AWSResourceDescriptor) UpdateCRStatus(_a0 types.AWSResource) (bool, error)

UpdateCRStatus provides a mock function with given fields: _a0

type AWSResourceIdentifiers

type AWSResourceIdentifiers struct {
	mock.Mock
}

AWSResourceIdentifiers is an autogenerated mock type for the AWSResourceIdentifiers type

func (*AWSResourceIdentifiers) ARN

ARN provides a mock function with given fields:

func (*AWSResourceIdentifiers) OwnerAccountID

func (_m *AWSResourceIdentifiers) OwnerAccountID() *v1alpha1.AWSAccountID

OwnerAccountID provides a mock function with given fields:

type AWSResourceManager

type AWSResourceManager struct {
	mock.Mock
}

AWSResourceManager is an autogenerated mock type for the AWSResourceManager type

func (*AWSResourceManager) ARNFromName

func (_m *AWSResourceManager) ARNFromName(_a0 string) string

ARNFromName provides a mock function with given fields: _a0

func (*AWSResourceManager) Create

Create provides a mock function with given fields: _a0, _a1

func (*AWSResourceManager) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*AWSResourceManager) ReadOne

ReadOne provides a mock function with given fields: _a0, _a1

func (*AWSResourceManager) Update

Update provides a mock function with given fields: _a0, _a1, _a2, _a3

type AWSResourceManagerFactory

type AWSResourceManagerFactory struct {
	mock.Mock
}

AWSResourceManagerFactory is an autogenerated mock type for the AWSResourceManagerFactory type

func (*AWSResourceManagerFactory) ManagerFor

ManagerFor provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6

func (*AWSResourceManagerFactory) ResourceDescriptor

func (_m *AWSResourceManagerFactory) ResourceDescriptor() types.AWSResourceDescriptor

ResourceDescriptor provides a mock function with given fields:

type AWSResourceReconciler

type AWSResourceReconciler struct {
	mock.Mock
}

AWSResourceReconciler is an autogenerated mock type for the AWSResourceReconciler type

func (*AWSResourceReconciler) BindControllerManager

func (_m *AWSResourceReconciler) BindControllerManager(_a0 manager.Manager) error

BindControllerManager provides a mock function with given fields: _a0

func (*AWSResourceReconciler) GroupKind

func (_m *AWSResourceReconciler) GroupKind() *v1.GroupKind

GroupKind provides a mock function with given fields:

func (*AWSResourceReconciler) Reconcile

Reconcile provides a mock function with given fields: _a0

func (*AWSResourceReconciler) SecretValueFromReference

func (_m *AWSResourceReconciler) SecretValueFromReference(_a0 *corev1.SecretReference) (string, error)

SecretValueFromReference provides a mock function with given fields: _a0

type RuntimeMetaObject

type RuntimeMetaObject struct {
	mock.Mock
}

RuntimeMetaObject is an autogenerated mock type for the RuntimeMetaObject type

func (*RuntimeMetaObject) DeepCopyObject

func (_m *RuntimeMetaObject) DeepCopyObject() runtime.Object

DeepCopyObject provides a mock function with given fields:

func (*RuntimeMetaObject) GetAnnotations

func (_m *RuntimeMetaObject) GetAnnotations() map[string]string

GetAnnotations provides a mock function with given fields:

func (*RuntimeMetaObject) GetClusterName

func (_m *RuntimeMetaObject) GetClusterName() string

GetClusterName provides a mock function with given fields:

func (*RuntimeMetaObject) GetCreationTimestamp

func (_m *RuntimeMetaObject) GetCreationTimestamp() v1.Time

GetCreationTimestamp provides a mock function with given fields:

func (*RuntimeMetaObject) GetDeletionGracePeriodSeconds

func (_m *RuntimeMetaObject) GetDeletionGracePeriodSeconds() *int64

GetDeletionGracePeriodSeconds provides a mock function with given fields:

func (*RuntimeMetaObject) GetDeletionTimestamp

func (_m *RuntimeMetaObject) GetDeletionTimestamp() *v1.Time

GetDeletionTimestamp provides a mock function with given fields:

func (*RuntimeMetaObject) GetFinalizers

func (_m *RuntimeMetaObject) GetFinalizers() []string

GetFinalizers provides a mock function with given fields:

func (*RuntimeMetaObject) GetGenerateName

func (_m *RuntimeMetaObject) GetGenerateName() string

GetGenerateName provides a mock function with given fields:

func (*RuntimeMetaObject) GetGeneration

func (_m *RuntimeMetaObject) GetGeneration() int64

GetGeneration provides a mock function with given fields:

func (*RuntimeMetaObject) GetLabels

func (_m *RuntimeMetaObject) GetLabels() map[string]string

GetLabels provides a mock function with given fields:

func (*RuntimeMetaObject) GetManagedFields

func (_m *RuntimeMetaObject) GetManagedFields() []v1.ManagedFieldsEntry

GetManagedFields provides a mock function with given fields:

func (*RuntimeMetaObject) GetName

func (_m *RuntimeMetaObject) GetName() string

GetName provides a mock function with given fields:

func (*RuntimeMetaObject) GetNamespace

func (_m *RuntimeMetaObject) GetNamespace() string

GetNamespace provides a mock function with given fields:

func (*RuntimeMetaObject) GetObjectKind

func (_m *RuntimeMetaObject) GetObjectKind() schema.ObjectKind

GetObjectKind provides a mock function with given fields:

func (*RuntimeMetaObject) GetOwnerReferences

func (_m *RuntimeMetaObject) GetOwnerReferences() []v1.OwnerReference

GetOwnerReferences provides a mock function with given fields:

func (*RuntimeMetaObject) GetResourceVersion

func (_m *RuntimeMetaObject) GetResourceVersion() string

GetResourceVersion provides a mock function with given fields:

func (_m *RuntimeMetaObject) GetSelfLink() string

GetSelfLink provides a mock function with given fields:

func (*RuntimeMetaObject) GetUID

func (_m *RuntimeMetaObject) GetUID() pkgtypes.UID

GetUID provides a mock function with given fields:

func (*RuntimeMetaObject) SetAnnotations

func (_m *RuntimeMetaObject) SetAnnotations(annotations map[string]string)

SetAnnotations provides a mock function with given fields: annotations

func (*RuntimeMetaObject) SetClusterName

func (_m *RuntimeMetaObject) SetClusterName(clusterName string)

SetClusterName provides a mock function with given fields: clusterName

func (*RuntimeMetaObject) SetCreationTimestamp

func (_m *RuntimeMetaObject) SetCreationTimestamp(timestamp v1.Time)

SetCreationTimestamp provides a mock function with given fields: timestamp

func (*RuntimeMetaObject) SetDeletionGracePeriodSeconds

func (_m *RuntimeMetaObject) SetDeletionGracePeriodSeconds(_a0 *int64)

SetDeletionGracePeriodSeconds provides a mock function with given fields: _a0

func (*RuntimeMetaObject) SetDeletionTimestamp

func (_m *RuntimeMetaObject) SetDeletionTimestamp(timestamp *v1.Time)

SetDeletionTimestamp provides a mock function with given fields: timestamp

func (*RuntimeMetaObject) SetFinalizers

func (_m *RuntimeMetaObject) SetFinalizers(finalizers []string)

SetFinalizers provides a mock function with given fields: finalizers

func (*RuntimeMetaObject) SetGenerateName

func (_m *RuntimeMetaObject) SetGenerateName(name string)

SetGenerateName provides a mock function with given fields: name

func (*RuntimeMetaObject) SetGeneration

func (_m *RuntimeMetaObject) SetGeneration(generation int64)

SetGeneration provides a mock function with given fields: generation

func (*RuntimeMetaObject) SetLabels

func (_m *RuntimeMetaObject) SetLabels(labels map[string]string)

SetLabels provides a mock function with given fields: labels

func (*RuntimeMetaObject) SetManagedFields

func (_m *RuntimeMetaObject) SetManagedFields(managedFields []v1.ManagedFieldsEntry)

SetManagedFields provides a mock function with given fields: managedFields

func (*RuntimeMetaObject) SetName

func (_m *RuntimeMetaObject) SetName(name string)

SetName provides a mock function with given fields: name

func (*RuntimeMetaObject) SetNamespace

func (_m *RuntimeMetaObject) SetNamespace(namespace string)

SetNamespace provides a mock function with given fields: namespace

func (*RuntimeMetaObject) SetOwnerReferences

func (_m *RuntimeMetaObject) SetOwnerReferences(_a0 []v1.OwnerReference)

SetOwnerReferences provides a mock function with given fields: _a0

func (*RuntimeMetaObject) SetResourceVersion

func (_m *RuntimeMetaObject) SetResourceVersion(version string)

SetResourceVersion provides a mock function with given fields: version

func (_m *RuntimeMetaObject) SetSelfLink(selfLink string)

SetSelfLink provides a mock function with given fields: selfLink

func (*RuntimeMetaObject) SetUID

func (_m *RuntimeMetaObject) SetUID(uid pkgtypes.UID)

SetUID provides a mock function with given fields: uid

Jump to

Keyboard shortcuts

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