Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGenerator
- func (fake *FakeGenerator) GenerateForInternalLocation(arg1 []policies.Policy) policies.GenerateResultFiles
- func (fake *FakeGenerator) GenerateForInternalLocationArgsForCall(i int) []policies.Policy
- func (fake *FakeGenerator) GenerateForInternalLocationCallCount() int
- func (fake *FakeGenerator) GenerateForInternalLocationCalls(stub func([]policies.Policy) policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForInternalLocationReturns(result1 policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForInternalLocationReturnsOnCall(i int, result1 policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForLocation(arg1 []policies.Policy, arg2 http.Location) policies.GenerateResultFiles
- func (fake *FakeGenerator) GenerateForLocationArgsForCall(i int) ([]policies.Policy, http.Location)
- func (fake *FakeGenerator) GenerateForLocationCallCount() int
- func (fake *FakeGenerator) GenerateForLocationCalls(stub func([]policies.Policy, http.Location) policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForLocationReturns(result1 policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForLocationReturnsOnCall(i int, result1 policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForServer(arg1 []policies.Policy, arg2 http.Server) policies.GenerateResultFiles
- func (fake *FakeGenerator) GenerateForServerArgsForCall(i int) ([]policies.Policy, http.Server)
- func (fake *FakeGenerator) GenerateForServerCallCount() int
- func (fake *FakeGenerator) GenerateForServerCalls(stub func([]policies.Policy, http.Server) policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForServerReturns(result1 policies.GenerateResultFiles)
- func (fake *FakeGenerator) GenerateForServerReturnsOnCall(i int, result1 policies.GenerateResultFiles)
- func (fake *FakeGenerator) Invocations() map[string][][]interface{}
- type FakeObjectKind
- func (fake *FakeObjectKind) GroupVersionKind() schema.GroupVersionKind
- func (fake *FakeObjectKind) GroupVersionKindCallCount() int
- func (fake *FakeObjectKind) GroupVersionKindCalls(stub func() schema.GroupVersionKind)
- func (fake *FakeObjectKind) GroupVersionKindReturns(result1 schema.GroupVersionKind)
- func (fake *FakeObjectKind) GroupVersionKindReturnsOnCall(i int, result1 schema.GroupVersionKind)
- func (fake *FakeObjectKind) Invocations() map[string][][]interface{}
- func (fake *FakeObjectKind) SetGroupVersionKind(arg1 schema.GroupVersionKind)
- func (fake *FakeObjectKind) SetGroupVersionKindArgsForCall(i int) schema.GroupVersionKind
- func (fake *FakeObjectKind) SetGroupVersionKindCallCount() int
- func (fake *FakeObjectKind) SetGroupVersionKindCalls(stub func(schema.GroupVersionKind))
- type FakePolicy
- func (fake *FakePolicy) DeepCopyObject() runtime.Object
- func (fake *FakePolicy) DeepCopyObjectCallCount() int
- func (fake *FakePolicy) DeepCopyObjectCalls(stub func() runtime.Object)
- func (fake *FakePolicy) DeepCopyObjectReturns(result1 runtime.Object)
- func (fake *FakePolicy) DeepCopyObjectReturnsOnCall(i int, result1 runtime.Object)
- func (fake *FakePolicy) GetAnnotations() map[string]string
- func (fake *FakePolicy) GetAnnotationsCallCount() int
- func (fake *FakePolicy) GetAnnotationsCalls(stub func() map[string]string)
- func (fake *FakePolicy) GetAnnotationsReturns(result1 map[string]string)
- func (fake *FakePolicy) GetAnnotationsReturnsOnCall(i int, result1 map[string]string)
- func (fake *FakePolicy) GetCreationTimestamp() v1.Time
- func (fake *FakePolicy) GetCreationTimestampCallCount() int
- func (fake *FakePolicy) GetCreationTimestampCalls(stub func() v1.Time)
- func (fake *FakePolicy) GetCreationTimestampReturns(result1 v1.Time)
- func (fake *FakePolicy) GetCreationTimestampReturnsOnCall(i int, result1 v1.Time)
- func (fake *FakePolicy) GetDeletionGracePeriodSeconds() *int64
- func (fake *FakePolicy) GetDeletionGracePeriodSecondsCallCount() int
- func (fake *FakePolicy) GetDeletionGracePeriodSecondsCalls(stub func() *int64)
- func (fake *FakePolicy) GetDeletionGracePeriodSecondsReturns(result1 *int64)
- func (fake *FakePolicy) GetDeletionGracePeriodSecondsReturnsOnCall(i int, result1 *int64)
- func (fake *FakePolicy) GetDeletionTimestamp() *v1.Time
- func (fake *FakePolicy) GetDeletionTimestampCallCount() int
- func (fake *FakePolicy) GetDeletionTimestampCalls(stub func() *v1.Time)
- func (fake *FakePolicy) GetDeletionTimestampReturns(result1 *v1.Time)
- func (fake *FakePolicy) GetDeletionTimestampReturnsOnCall(i int, result1 *v1.Time)
- func (fake *FakePolicy) GetFinalizers() []string
- func (fake *FakePolicy) GetFinalizersCallCount() int
- func (fake *FakePolicy) GetFinalizersCalls(stub func() []string)
- func (fake *FakePolicy) GetFinalizersReturns(result1 []string)
- func (fake *FakePolicy) GetFinalizersReturnsOnCall(i int, result1 []string)
- func (fake *FakePolicy) GetGenerateName() string
- func (fake *FakePolicy) GetGenerateNameCallCount() int
- func (fake *FakePolicy) GetGenerateNameCalls(stub func() string)
- func (fake *FakePolicy) GetGenerateNameReturns(result1 string)
- func (fake *FakePolicy) GetGenerateNameReturnsOnCall(i int, result1 string)
- func (fake *FakePolicy) GetGeneration() int64
- func (fake *FakePolicy) GetGenerationCallCount() int
- func (fake *FakePolicy) GetGenerationCalls(stub func() int64)
- func (fake *FakePolicy) GetGenerationReturns(result1 int64)
- func (fake *FakePolicy) GetGenerationReturnsOnCall(i int, result1 int64)
- func (fake *FakePolicy) GetLabels() map[string]string
- func (fake *FakePolicy) GetLabelsCallCount() int
- func (fake *FakePolicy) GetLabelsCalls(stub func() map[string]string)
- func (fake *FakePolicy) GetLabelsReturns(result1 map[string]string)
- func (fake *FakePolicy) GetLabelsReturnsOnCall(i int, result1 map[string]string)
- func (fake *FakePolicy) GetManagedFields() []v1.ManagedFieldsEntry
- func (fake *FakePolicy) GetManagedFieldsCallCount() int
- func (fake *FakePolicy) GetManagedFieldsCalls(stub func() []v1.ManagedFieldsEntry)
- func (fake *FakePolicy) GetManagedFieldsReturns(result1 []v1.ManagedFieldsEntry)
- func (fake *FakePolicy) GetManagedFieldsReturnsOnCall(i int, result1 []v1.ManagedFieldsEntry)
- func (fake *FakePolicy) GetName() string
- func (fake *FakePolicy) GetNameCallCount() int
- func (fake *FakePolicy) GetNameCalls(stub func() string)
- func (fake *FakePolicy) GetNameReturns(result1 string)
- func (fake *FakePolicy) GetNameReturnsOnCall(i int, result1 string)
- func (fake *FakePolicy) GetNamespace() string
- func (fake *FakePolicy) GetNamespaceCallCount() int
- func (fake *FakePolicy) GetNamespaceCalls(stub func() string)
- func (fake *FakePolicy) GetNamespaceReturns(result1 string)
- func (fake *FakePolicy) GetNamespaceReturnsOnCall(i int, result1 string)
- func (fake *FakePolicy) GetObjectKind() schema.ObjectKind
- func (fake *FakePolicy) GetObjectKindCallCount() int
- func (fake *FakePolicy) GetObjectKindCalls(stub func() schema.ObjectKind)
- func (fake *FakePolicy) GetObjectKindReturns(result1 schema.ObjectKind)
- func (fake *FakePolicy) GetObjectKindReturnsOnCall(i int, result1 schema.ObjectKind)
- func (fake *FakePolicy) GetOwnerReferences() []v1.OwnerReference
- func (fake *FakePolicy) GetOwnerReferencesCallCount() int
- func (fake *FakePolicy) GetOwnerReferencesCalls(stub func() []v1.OwnerReference)
- func (fake *FakePolicy) GetOwnerReferencesReturns(result1 []v1.OwnerReference)
- func (fake *FakePolicy) GetOwnerReferencesReturnsOnCall(i int, result1 []v1.OwnerReference)
- func (fake *FakePolicy) GetPolicyStatus() v1alpha2.PolicyStatus
- func (fake *FakePolicy) GetPolicyStatusCallCount() int
- func (fake *FakePolicy) GetPolicyStatusCalls(stub func() v1alpha2.PolicyStatus)
- func (fake *FakePolicy) GetPolicyStatusReturns(result1 v1alpha2.PolicyStatus)
- func (fake *FakePolicy) GetPolicyStatusReturnsOnCall(i int, result1 v1alpha2.PolicyStatus)
- func (fake *FakePolicy) GetResourceVersion() string
- func (fake *FakePolicy) GetResourceVersionCallCount() int
- func (fake *FakePolicy) GetResourceVersionCalls(stub func() string)
- func (fake *FakePolicy) GetResourceVersionReturns(result1 string)
- func (fake *FakePolicy) GetResourceVersionReturnsOnCall(i int, result1 string)
- func (fake *FakePolicy) GetSelfLink() string
- func (fake *FakePolicy) GetSelfLinkCallCount() int
- func (fake *FakePolicy) GetSelfLinkCalls(stub func() string)
- func (fake *FakePolicy) GetSelfLinkReturns(result1 string)
- func (fake *FakePolicy) GetSelfLinkReturnsOnCall(i int, result1 string)
- func (fake *FakePolicy) GetTargetRefs() []v1alpha2.LocalPolicyTargetReference
- func (fake *FakePolicy) GetTargetRefsCallCount() int
- func (fake *FakePolicy) GetTargetRefsCalls(stub func() []v1alpha2.LocalPolicyTargetReference)
- func (fake *FakePolicy) GetTargetRefsReturns(result1 []v1alpha2.LocalPolicyTargetReference)
- func (fake *FakePolicy) GetTargetRefsReturnsOnCall(i int, result1 []v1alpha2.LocalPolicyTargetReference)
- func (fake *FakePolicy) GetUID() types.UID
- func (fake *FakePolicy) GetUIDCallCount() int
- func (fake *FakePolicy) GetUIDCalls(stub func() types.UID)
- func (fake *FakePolicy) GetUIDReturns(result1 types.UID)
- func (fake *FakePolicy) GetUIDReturnsOnCall(i int, result1 types.UID)
- func (fake *FakePolicy) Invocations() map[string][][]interface{}
- func (fake *FakePolicy) SetAnnotations(arg1 map[string]string)
- func (fake *FakePolicy) SetAnnotationsArgsForCall(i int) map[string]string
- func (fake *FakePolicy) SetAnnotationsCallCount() int
- func (fake *FakePolicy) SetAnnotationsCalls(stub func(map[string]string))
- func (fake *FakePolicy) SetCreationTimestamp(arg1 v1.Time)
- func (fake *FakePolicy) SetCreationTimestampArgsForCall(i int) v1.Time
- func (fake *FakePolicy) SetCreationTimestampCallCount() int
- func (fake *FakePolicy) SetCreationTimestampCalls(stub func(v1.Time))
- func (fake *FakePolicy) SetDeletionGracePeriodSeconds(arg1 *int64)
- func (fake *FakePolicy) SetDeletionGracePeriodSecondsArgsForCall(i int) *int64
- func (fake *FakePolicy) SetDeletionGracePeriodSecondsCallCount() int
- func (fake *FakePolicy) SetDeletionGracePeriodSecondsCalls(stub func(*int64))
- func (fake *FakePolicy) SetDeletionTimestamp(arg1 *v1.Time)
- func (fake *FakePolicy) SetDeletionTimestampArgsForCall(i int) *v1.Time
- func (fake *FakePolicy) SetDeletionTimestampCallCount() int
- func (fake *FakePolicy) SetDeletionTimestampCalls(stub func(*v1.Time))
- func (fake *FakePolicy) SetFinalizers(arg1 []string)
- func (fake *FakePolicy) SetFinalizersArgsForCall(i int) []string
- func (fake *FakePolicy) SetFinalizersCallCount() int
- func (fake *FakePolicy) SetFinalizersCalls(stub func([]string))
- func (fake *FakePolicy) SetGenerateName(arg1 string)
- func (fake *FakePolicy) SetGenerateNameArgsForCall(i int) string
- func (fake *FakePolicy) SetGenerateNameCallCount() int
- func (fake *FakePolicy) SetGenerateNameCalls(stub func(string))
- func (fake *FakePolicy) SetGeneration(arg1 int64)
- func (fake *FakePolicy) SetGenerationArgsForCall(i int) int64
- func (fake *FakePolicy) SetGenerationCallCount() int
- func (fake *FakePolicy) SetGenerationCalls(stub func(int64))
- func (fake *FakePolicy) SetLabels(arg1 map[string]string)
- func (fake *FakePolicy) SetLabelsArgsForCall(i int) map[string]string
- func (fake *FakePolicy) SetLabelsCallCount() int
- func (fake *FakePolicy) SetLabelsCalls(stub func(map[string]string))
- func (fake *FakePolicy) SetManagedFields(arg1 []v1.ManagedFieldsEntry)
- func (fake *FakePolicy) SetManagedFieldsArgsForCall(i int) []v1.ManagedFieldsEntry
- func (fake *FakePolicy) SetManagedFieldsCallCount() int
- func (fake *FakePolicy) SetManagedFieldsCalls(stub func([]v1.ManagedFieldsEntry))
- func (fake *FakePolicy) SetName(arg1 string)
- func (fake *FakePolicy) SetNameArgsForCall(i int) string
- func (fake *FakePolicy) SetNameCallCount() int
- func (fake *FakePolicy) SetNameCalls(stub func(string))
- func (fake *FakePolicy) SetNamespace(arg1 string)
- func (fake *FakePolicy) SetNamespaceArgsForCall(i int) string
- func (fake *FakePolicy) SetNamespaceCallCount() int
- func (fake *FakePolicy) SetNamespaceCalls(stub func(string))
- func (fake *FakePolicy) SetOwnerReferences(arg1 []v1.OwnerReference)
- func (fake *FakePolicy) SetOwnerReferencesArgsForCall(i int) []v1.OwnerReference
- func (fake *FakePolicy) SetOwnerReferencesCallCount() int
- func (fake *FakePolicy) SetOwnerReferencesCalls(stub func([]v1.OwnerReference))
- func (fake *FakePolicy) SetPolicyStatus(arg1 v1alpha2.PolicyStatus)
- func (fake *FakePolicy) SetPolicyStatusArgsForCall(i int) v1alpha2.PolicyStatus
- func (fake *FakePolicy) SetPolicyStatusCallCount() int
- func (fake *FakePolicy) SetPolicyStatusCalls(stub func(v1alpha2.PolicyStatus))
- func (fake *FakePolicy) SetResourceVersion(arg1 string)
- func (fake *FakePolicy) SetResourceVersionArgsForCall(i int) string
- func (fake *FakePolicy) SetResourceVersionCallCount() int
- func (fake *FakePolicy) SetResourceVersionCalls(stub func(string))
- func (fake *FakePolicy) SetSelfLink(arg1 string)
- func (fake *FakePolicy) SetSelfLinkArgsForCall(i int) string
- func (fake *FakePolicy) SetSelfLinkCallCount() int
- func (fake *FakePolicy) SetSelfLinkCalls(stub func(string))
- func (fake *FakePolicy) SetUID(arg1 types.UID)
- func (fake *FakePolicy) SetUIDArgsForCall(i int) types.UID
- func (fake *FakePolicy) SetUIDCallCount() int
- func (fake *FakePolicy) SetUIDCalls(stub func(types.UID))
- type FakeValidator
- func (fake *FakeValidator) Conflicts(arg1 policies.Policy, arg2 policies.Policy) bool
- func (fake *FakeValidator) ConflictsArgsForCall(i int) (policies.Policy, policies.Policy)
- func (fake *FakeValidator) ConflictsCallCount() int
- func (fake *FakeValidator) ConflictsCalls(stub func(policies.Policy, policies.Policy) bool)
- func (fake *FakeValidator) ConflictsReturns(result1 bool)
- func (fake *FakeValidator) ConflictsReturnsOnCall(i int, result1 bool)
- func (fake *FakeValidator) Invocations() map[string][][]interface{}
- func (fake *FakeValidator) Validate(arg1 policies.Policy, arg2 *policies.GlobalSettings) []conditions.Condition
- func (fake *FakeValidator) ValidateArgsForCall(i int) (policies.Policy, *policies.GlobalSettings)
- func (fake *FakeValidator) ValidateCallCount() int
- func (fake *FakeValidator) ValidateCalls(stub func(policies.Policy, *policies.GlobalSettings) []conditions.Condition)
- func (fake *FakeValidator) ValidateReturns(result1 []conditions.Condition)
- func (fake *FakeValidator) ValidateReturnsOnCall(i int, result1 []conditions.Condition)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGenerator ¶
type FakeGenerator struct { GenerateForInternalLocationStub func([]policies.Policy) policies.GenerateResultFiles GenerateForLocationStub func([]policies.Policy, http.Location) policies.GenerateResultFiles GenerateForServerStub func([]policies.Policy, http.Server) policies.GenerateResultFiles // contains filtered or unexported fields }
func (*FakeGenerator) GenerateForInternalLocation ¶
func (fake *FakeGenerator) GenerateForInternalLocation(arg1 []policies.Policy) policies.GenerateResultFiles
func (*FakeGenerator) GenerateForInternalLocationArgsForCall ¶
func (fake *FakeGenerator) GenerateForInternalLocationArgsForCall(i int) []policies.Policy
func (*FakeGenerator) GenerateForInternalLocationCallCount ¶
func (fake *FakeGenerator) GenerateForInternalLocationCallCount() int
func (*FakeGenerator) GenerateForInternalLocationCalls ¶
func (fake *FakeGenerator) GenerateForInternalLocationCalls(stub func([]policies.Policy) policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForInternalLocationReturns ¶
func (fake *FakeGenerator) GenerateForInternalLocationReturns(result1 policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForInternalLocationReturnsOnCall ¶
func (fake *FakeGenerator) GenerateForInternalLocationReturnsOnCall(i int, result1 policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForLocation ¶
func (fake *FakeGenerator) GenerateForLocation(arg1 []policies.Policy, arg2 http.Location) policies.GenerateResultFiles
func (*FakeGenerator) GenerateForLocationArgsForCall ¶
func (*FakeGenerator) GenerateForLocationCallCount ¶
func (fake *FakeGenerator) GenerateForLocationCallCount() int
func (*FakeGenerator) GenerateForLocationCalls ¶
func (fake *FakeGenerator) GenerateForLocationCalls(stub func([]policies.Policy, http.Location) policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForLocationReturns ¶
func (fake *FakeGenerator) GenerateForLocationReturns(result1 policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForLocationReturnsOnCall ¶
func (fake *FakeGenerator) GenerateForLocationReturnsOnCall(i int, result1 policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForServer ¶
func (fake *FakeGenerator) GenerateForServer(arg1 []policies.Policy, arg2 http.Server) policies.GenerateResultFiles
func (*FakeGenerator) GenerateForServerArgsForCall ¶
func (*FakeGenerator) GenerateForServerCallCount ¶
func (fake *FakeGenerator) GenerateForServerCallCount() int
func (*FakeGenerator) GenerateForServerCalls ¶
func (fake *FakeGenerator) GenerateForServerCalls(stub func([]policies.Policy, http.Server) policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForServerReturns ¶
func (fake *FakeGenerator) GenerateForServerReturns(result1 policies.GenerateResultFiles)
func (*FakeGenerator) GenerateForServerReturnsOnCall ¶
func (fake *FakeGenerator) GenerateForServerReturnsOnCall(i int, result1 policies.GenerateResultFiles)
func (*FakeGenerator) Invocations ¶
func (fake *FakeGenerator) Invocations() map[string][][]interface{}
type FakeObjectKind ¶
type FakeObjectKind struct { GroupVersionKindStub func() schema.GroupVersionKind SetGroupVersionKindStub func(schema.GroupVersionKind) // contains filtered or unexported fields }
func (*FakeObjectKind) GroupVersionKind ¶
func (fake *FakeObjectKind) GroupVersionKind() schema.GroupVersionKind
func (*FakeObjectKind) GroupVersionKindCallCount ¶
func (fake *FakeObjectKind) GroupVersionKindCallCount() int
func (*FakeObjectKind) GroupVersionKindCalls ¶
func (fake *FakeObjectKind) GroupVersionKindCalls(stub func() schema.GroupVersionKind)
func (*FakeObjectKind) GroupVersionKindReturns ¶
func (fake *FakeObjectKind) GroupVersionKindReturns(result1 schema.GroupVersionKind)
func (*FakeObjectKind) GroupVersionKindReturnsOnCall ¶
func (fake *FakeObjectKind) GroupVersionKindReturnsOnCall(i int, result1 schema.GroupVersionKind)
func (*FakeObjectKind) Invocations ¶
func (fake *FakeObjectKind) Invocations() map[string][][]interface{}
func (*FakeObjectKind) SetGroupVersionKind ¶
func (fake *FakeObjectKind) SetGroupVersionKind(arg1 schema.GroupVersionKind)
func (*FakeObjectKind) SetGroupVersionKindArgsForCall ¶
func (fake *FakeObjectKind) SetGroupVersionKindArgsForCall(i int) schema.GroupVersionKind
func (*FakeObjectKind) SetGroupVersionKindCallCount ¶
func (fake *FakeObjectKind) SetGroupVersionKindCallCount() int
func (*FakeObjectKind) SetGroupVersionKindCalls ¶
func (fake *FakeObjectKind) SetGroupVersionKindCalls(stub func(schema.GroupVersionKind))
type FakePolicy ¶
type FakePolicy struct { DeepCopyObjectStub func() runtime.Object GetAnnotationsStub func() map[string]string GetCreationTimestampStub func() v1.Time GetDeletionGracePeriodSecondsStub func() *int64 GetDeletionTimestampStub func() *v1.Time GetFinalizersStub func() []string GetGenerateNameStub func() string GetGenerationStub func() int64 GetLabelsStub func() map[string]string GetManagedFieldsStub func() []v1.ManagedFieldsEntry GetNameStub func() string GetNamespaceStub func() string GetObjectKindStub func() schema.ObjectKind GetOwnerReferencesStub func() []v1.OwnerReference GetPolicyStatusStub func() v1alpha2.PolicyStatus GetResourceVersionStub func() string GetSelfLinkStub func() string GetTargetRefsStub func() []v1alpha2.LocalPolicyTargetReference GetUIDStub func() types.UID SetAnnotationsStub func(map[string]string) SetCreationTimestampStub func(v1.Time) SetDeletionGracePeriodSecondsStub func(*int64) SetDeletionTimestampStub func(*v1.Time) SetFinalizersStub func([]string) SetGenerateNameStub func(string) SetGenerationStub func(int64) SetLabelsStub func(map[string]string) SetManagedFieldsStub func([]v1.ManagedFieldsEntry) SetNameStub func(string) SetNamespaceStub func(string) SetOwnerReferencesStub func([]v1.OwnerReference) SetPolicyStatusStub func(v1alpha2.PolicyStatus) SetResourceVersionStub func(string) SetSelfLinkStub func(string) SetUIDStub func(types.UID) // contains filtered or unexported fields }
func (*FakePolicy) DeepCopyObject ¶
func (fake *FakePolicy) DeepCopyObject() runtime.Object
func (*FakePolicy) DeepCopyObjectCallCount ¶
func (fake *FakePolicy) DeepCopyObjectCallCount() int
func (*FakePolicy) DeepCopyObjectCalls ¶
func (fake *FakePolicy) DeepCopyObjectCalls(stub func() runtime.Object)
func (*FakePolicy) DeepCopyObjectReturns ¶
func (fake *FakePolicy) DeepCopyObjectReturns(result1 runtime.Object)
func (*FakePolicy) DeepCopyObjectReturnsOnCall ¶
func (fake *FakePolicy) DeepCopyObjectReturnsOnCall(i int, result1 runtime.Object)
func (*FakePolicy) GetAnnotations ¶
func (fake *FakePolicy) GetAnnotations() map[string]string
func (*FakePolicy) GetAnnotationsCallCount ¶
func (fake *FakePolicy) GetAnnotationsCallCount() int
func (*FakePolicy) GetAnnotationsCalls ¶
func (fake *FakePolicy) GetAnnotationsCalls(stub func() map[string]string)
func (*FakePolicy) GetAnnotationsReturns ¶
func (fake *FakePolicy) GetAnnotationsReturns(result1 map[string]string)
func (*FakePolicy) GetAnnotationsReturnsOnCall ¶
func (fake *FakePolicy) GetAnnotationsReturnsOnCall(i int, result1 map[string]string)
func (*FakePolicy) GetCreationTimestamp ¶
func (fake *FakePolicy) GetCreationTimestamp() v1.Time
func (*FakePolicy) GetCreationTimestampCallCount ¶
func (fake *FakePolicy) GetCreationTimestampCallCount() int
func (*FakePolicy) GetCreationTimestampCalls ¶
func (fake *FakePolicy) GetCreationTimestampCalls(stub func() v1.Time)
func (*FakePolicy) GetCreationTimestampReturns ¶
func (fake *FakePolicy) GetCreationTimestampReturns(result1 v1.Time)
func (*FakePolicy) GetCreationTimestampReturnsOnCall ¶
func (fake *FakePolicy) GetCreationTimestampReturnsOnCall(i int, result1 v1.Time)
func (*FakePolicy) GetDeletionGracePeriodSeconds ¶
func (fake *FakePolicy) GetDeletionGracePeriodSeconds() *int64
func (*FakePolicy) GetDeletionGracePeriodSecondsCallCount ¶
func (fake *FakePolicy) GetDeletionGracePeriodSecondsCallCount() int
func (*FakePolicy) GetDeletionGracePeriodSecondsCalls ¶
func (fake *FakePolicy) GetDeletionGracePeriodSecondsCalls(stub func() *int64)
func (*FakePolicy) GetDeletionGracePeriodSecondsReturns ¶
func (fake *FakePolicy) GetDeletionGracePeriodSecondsReturns(result1 *int64)
func (*FakePolicy) GetDeletionGracePeriodSecondsReturnsOnCall ¶
func (fake *FakePolicy) GetDeletionGracePeriodSecondsReturnsOnCall(i int, result1 *int64)
func (*FakePolicy) GetDeletionTimestamp ¶
func (fake *FakePolicy) GetDeletionTimestamp() *v1.Time
func (*FakePolicy) GetDeletionTimestampCallCount ¶
func (fake *FakePolicy) GetDeletionTimestampCallCount() int
func (*FakePolicy) GetDeletionTimestampCalls ¶
func (fake *FakePolicy) GetDeletionTimestampCalls(stub func() *v1.Time)
func (*FakePolicy) GetDeletionTimestampReturns ¶
func (fake *FakePolicy) GetDeletionTimestampReturns(result1 *v1.Time)
func (*FakePolicy) GetDeletionTimestampReturnsOnCall ¶
func (fake *FakePolicy) GetDeletionTimestampReturnsOnCall(i int, result1 *v1.Time)
func (*FakePolicy) GetFinalizers ¶
func (fake *FakePolicy) GetFinalizers() []string
func (*FakePolicy) GetFinalizersCallCount ¶
func (fake *FakePolicy) GetFinalizersCallCount() int
func (*FakePolicy) GetFinalizersCalls ¶
func (fake *FakePolicy) GetFinalizersCalls(stub func() []string)
func (*FakePolicy) GetFinalizersReturns ¶
func (fake *FakePolicy) GetFinalizersReturns(result1 []string)
func (*FakePolicy) GetFinalizersReturnsOnCall ¶
func (fake *FakePolicy) GetFinalizersReturnsOnCall(i int, result1 []string)
func (*FakePolicy) GetGenerateName ¶
func (fake *FakePolicy) GetGenerateName() string
func (*FakePolicy) GetGenerateNameCallCount ¶
func (fake *FakePolicy) GetGenerateNameCallCount() int
func (*FakePolicy) GetGenerateNameCalls ¶
func (fake *FakePolicy) GetGenerateNameCalls(stub func() string)
func (*FakePolicy) GetGenerateNameReturns ¶
func (fake *FakePolicy) GetGenerateNameReturns(result1 string)
func (*FakePolicy) GetGenerateNameReturnsOnCall ¶
func (fake *FakePolicy) GetGenerateNameReturnsOnCall(i int, result1 string)
func (*FakePolicy) GetGeneration ¶
func (fake *FakePolicy) GetGeneration() int64
func (*FakePolicy) GetGenerationCallCount ¶
func (fake *FakePolicy) GetGenerationCallCount() int
func (*FakePolicy) GetGenerationCalls ¶
func (fake *FakePolicy) GetGenerationCalls(stub func() int64)
func (*FakePolicy) GetGenerationReturns ¶
func (fake *FakePolicy) GetGenerationReturns(result1 int64)
func (*FakePolicy) GetGenerationReturnsOnCall ¶
func (fake *FakePolicy) GetGenerationReturnsOnCall(i int, result1 int64)
func (*FakePolicy) GetLabels ¶
func (fake *FakePolicy) GetLabels() map[string]string
func (*FakePolicy) GetLabelsCallCount ¶
func (fake *FakePolicy) GetLabelsCallCount() int
func (*FakePolicy) GetLabelsCalls ¶
func (fake *FakePolicy) GetLabelsCalls(stub func() map[string]string)
func (*FakePolicy) GetLabelsReturns ¶
func (fake *FakePolicy) GetLabelsReturns(result1 map[string]string)
func (*FakePolicy) GetLabelsReturnsOnCall ¶
func (fake *FakePolicy) GetLabelsReturnsOnCall(i int, result1 map[string]string)
func (*FakePolicy) GetManagedFields ¶
func (fake *FakePolicy) GetManagedFields() []v1.ManagedFieldsEntry
func (*FakePolicy) GetManagedFieldsCallCount ¶
func (fake *FakePolicy) GetManagedFieldsCallCount() int
func (*FakePolicy) GetManagedFieldsCalls ¶
func (fake *FakePolicy) GetManagedFieldsCalls(stub func() []v1.ManagedFieldsEntry)
func (*FakePolicy) GetManagedFieldsReturns ¶
func (fake *FakePolicy) GetManagedFieldsReturns(result1 []v1.ManagedFieldsEntry)
func (*FakePolicy) GetManagedFieldsReturnsOnCall ¶
func (fake *FakePolicy) GetManagedFieldsReturnsOnCall(i int, result1 []v1.ManagedFieldsEntry)
func (*FakePolicy) GetName ¶
func (fake *FakePolicy) GetName() string
func (*FakePolicy) GetNameCallCount ¶
func (fake *FakePolicy) GetNameCallCount() int
func (*FakePolicy) GetNameCalls ¶
func (fake *FakePolicy) GetNameCalls(stub func() string)
func (*FakePolicy) GetNameReturns ¶
func (fake *FakePolicy) GetNameReturns(result1 string)
func (*FakePolicy) GetNameReturnsOnCall ¶
func (fake *FakePolicy) GetNameReturnsOnCall(i int, result1 string)
func (*FakePolicy) GetNamespace ¶
func (fake *FakePolicy) GetNamespace() string
func (*FakePolicy) GetNamespaceCallCount ¶
func (fake *FakePolicy) GetNamespaceCallCount() int
func (*FakePolicy) GetNamespaceCalls ¶
func (fake *FakePolicy) GetNamespaceCalls(stub func() string)
func (*FakePolicy) GetNamespaceReturns ¶
func (fake *FakePolicy) GetNamespaceReturns(result1 string)
func (*FakePolicy) GetNamespaceReturnsOnCall ¶
func (fake *FakePolicy) GetNamespaceReturnsOnCall(i int, result1 string)
func (*FakePolicy) GetObjectKind ¶
func (fake *FakePolicy) GetObjectKind() schema.ObjectKind
func (*FakePolicy) GetObjectKindCallCount ¶
func (fake *FakePolicy) GetObjectKindCallCount() int
func (*FakePolicy) GetObjectKindCalls ¶
func (fake *FakePolicy) GetObjectKindCalls(stub func() schema.ObjectKind)
func (*FakePolicy) GetObjectKindReturns ¶
func (fake *FakePolicy) GetObjectKindReturns(result1 schema.ObjectKind)
func (*FakePolicy) GetObjectKindReturnsOnCall ¶
func (fake *FakePolicy) GetObjectKindReturnsOnCall(i int, result1 schema.ObjectKind)
func (*FakePolicy) GetOwnerReferences ¶
func (fake *FakePolicy) GetOwnerReferences() []v1.OwnerReference
func (*FakePolicy) GetOwnerReferencesCallCount ¶
func (fake *FakePolicy) GetOwnerReferencesCallCount() int
func (*FakePolicy) GetOwnerReferencesCalls ¶
func (fake *FakePolicy) GetOwnerReferencesCalls(stub func() []v1.OwnerReference)
func (*FakePolicy) GetOwnerReferencesReturns ¶
func (fake *FakePolicy) GetOwnerReferencesReturns(result1 []v1.OwnerReference)
func (*FakePolicy) GetOwnerReferencesReturnsOnCall ¶
func (fake *FakePolicy) GetOwnerReferencesReturnsOnCall(i int, result1 []v1.OwnerReference)
func (*FakePolicy) GetPolicyStatus ¶
func (fake *FakePolicy) GetPolicyStatus() v1alpha2.PolicyStatus
func (*FakePolicy) GetPolicyStatusCallCount ¶
func (fake *FakePolicy) GetPolicyStatusCallCount() int
func (*FakePolicy) GetPolicyStatusCalls ¶
func (fake *FakePolicy) GetPolicyStatusCalls(stub func() v1alpha2.PolicyStatus)
func (*FakePolicy) GetPolicyStatusReturns ¶
func (fake *FakePolicy) GetPolicyStatusReturns(result1 v1alpha2.PolicyStatus)
func (*FakePolicy) GetPolicyStatusReturnsOnCall ¶
func (fake *FakePolicy) GetPolicyStatusReturnsOnCall(i int, result1 v1alpha2.PolicyStatus)
func (*FakePolicy) GetResourceVersion ¶
func (fake *FakePolicy) GetResourceVersion() string
func (*FakePolicy) GetResourceVersionCallCount ¶
func (fake *FakePolicy) GetResourceVersionCallCount() int
func (*FakePolicy) GetResourceVersionCalls ¶
func (fake *FakePolicy) GetResourceVersionCalls(stub func() string)
func (*FakePolicy) GetResourceVersionReturns ¶
func (fake *FakePolicy) GetResourceVersionReturns(result1 string)
func (*FakePolicy) GetResourceVersionReturnsOnCall ¶
func (fake *FakePolicy) GetResourceVersionReturnsOnCall(i int, result1 string)
func (*FakePolicy) GetSelfLink ¶
func (fake *FakePolicy) GetSelfLink() string
func (*FakePolicy) GetSelfLinkCallCount ¶
func (fake *FakePolicy) GetSelfLinkCallCount() int
func (*FakePolicy) GetSelfLinkCalls ¶
func (fake *FakePolicy) GetSelfLinkCalls(stub func() string)
func (*FakePolicy) GetSelfLinkReturns ¶
func (fake *FakePolicy) GetSelfLinkReturns(result1 string)
func (*FakePolicy) GetSelfLinkReturnsOnCall ¶
func (fake *FakePolicy) GetSelfLinkReturnsOnCall(i int, result1 string)
func (*FakePolicy) GetTargetRefs ¶
func (fake *FakePolicy) GetTargetRefs() []v1alpha2.LocalPolicyTargetReference
func (*FakePolicy) GetTargetRefsCallCount ¶
func (fake *FakePolicy) GetTargetRefsCallCount() int
func (*FakePolicy) GetTargetRefsCalls ¶
func (fake *FakePolicy) GetTargetRefsCalls(stub func() []v1alpha2.LocalPolicyTargetReference)
func (*FakePolicy) GetTargetRefsReturns ¶
func (fake *FakePolicy) GetTargetRefsReturns(result1 []v1alpha2.LocalPolicyTargetReference)
func (*FakePolicy) GetTargetRefsReturnsOnCall ¶
func (fake *FakePolicy) GetTargetRefsReturnsOnCall(i int, result1 []v1alpha2.LocalPolicyTargetReference)
func (*FakePolicy) GetUID ¶
func (fake *FakePolicy) GetUID() types.UID
func (*FakePolicy) GetUIDCallCount ¶
func (fake *FakePolicy) GetUIDCallCount() int
func (*FakePolicy) GetUIDCalls ¶
func (fake *FakePolicy) GetUIDCalls(stub func() types.UID)
func (*FakePolicy) GetUIDReturns ¶
func (fake *FakePolicy) GetUIDReturns(result1 types.UID)
func (*FakePolicy) GetUIDReturnsOnCall ¶
func (fake *FakePolicy) GetUIDReturnsOnCall(i int, result1 types.UID)
func (*FakePolicy) Invocations ¶
func (fake *FakePolicy) Invocations() map[string][][]interface{}
func (*FakePolicy) SetAnnotations ¶
func (fake *FakePolicy) SetAnnotations(arg1 map[string]string)
func (*FakePolicy) SetAnnotationsArgsForCall ¶
func (fake *FakePolicy) SetAnnotationsArgsForCall(i int) map[string]string
func (*FakePolicy) SetAnnotationsCallCount ¶
func (fake *FakePolicy) SetAnnotationsCallCount() int
func (*FakePolicy) SetAnnotationsCalls ¶
func (fake *FakePolicy) SetAnnotationsCalls(stub func(map[string]string))
func (*FakePolicy) SetCreationTimestamp ¶
func (fake *FakePolicy) SetCreationTimestamp(arg1 v1.Time)
func (*FakePolicy) SetCreationTimestampArgsForCall ¶
func (fake *FakePolicy) SetCreationTimestampArgsForCall(i int) v1.Time
func (*FakePolicy) SetCreationTimestampCallCount ¶
func (fake *FakePolicy) SetCreationTimestampCallCount() int
func (*FakePolicy) SetCreationTimestampCalls ¶
func (fake *FakePolicy) SetCreationTimestampCalls(stub func(v1.Time))
func (*FakePolicy) SetDeletionGracePeriodSeconds ¶
func (fake *FakePolicy) SetDeletionGracePeriodSeconds(arg1 *int64)
func (*FakePolicy) SetDeletionGracePeriodSecondsArgsForCall ¶
func (fake *FakePolicy) SetDeletionGracePeriodSecondsArgsForCall(i int) *int64
func (*FakePolicy) SetDeletionGracePeriodSecondsCallCount ¶
func (fake *FakePolicy) SetDeletionGracePeriodSecondsCallCount() int
func (*FakePolicy) SetDeletionGracePeriodSecondsCalls ¶
func (fake *FakePolicy) SetDeletionGracePeriodSecondsCalls(stub func(*int64))
func (*FakePolicy) SetDeletionTimestamp ¶
func (fake *FakePolicy) SetDeletionTimestamp(arg1 *v1.Time)
func (*FakePolicy) SetDeletionTimestampArgsForCall ¶
func (fake *FakePolicy) SetDeletionTimestampArgsForCall(i int) *v1.Time
func (*FakePolicy) SetDeletionTimestampCallCount ¶
func (fake *FakePolicy) SetDeletionTimestampCallCount() int
func (*FakePolicy) SetDeletionTimestampCalls ¶
func (fake *FakePolicy) SetDeletionTimestampCalls(stub func(*v1.Time))
func (*FakePolicy) SetFinalizers ¶
func (fake *FakePolicy) SetFinalizers(arg1 []string)
func (*FakePolicy) SetFinalizersArgsForCall ¶
func (fake *FakePolicy) SetFinalizersArgsForCall(i int) []string
func (*FakePolicy) SetFinalizersCallCount ¶
func (fake *FakePolicy) SetFinalizersCallCount() int
func (*FakePolicy) SetFinalizersCalls ¶
func (fake *FakePolicy) SetFinalizersCalls(stub func([]string))
func (*FakePolicy) SetGenerateName ¶
func (fake *FakePolicy) SetGenerateName(arg1 string)
func (*FakePolicy) SetGenerateNameArgsForCall ¶
func (fake *FakePolicy) SetGenerateNameArgsForCall(i int) string
func (*FakePolicy) SetGenerateNameCallCount ¶
func (fake *FakePolicy) SetGenerateNameCallCount() int
func (*FakePolicy) SetGenerateNameCalls ¶
func (fake *FakePolicy) SetGenerateNameCalls(stub func(string))
func (*FakePolicy) SetGeneration ¶
func (fake *FakePolicy) SetGeneration(arg1 int64)
func (*FakePolicy) SetGenerationArgsForCall ¶
func (fake *FakePolicy) SetGenerationArgsForCall(i int) int64
func (*FakePolicy) SetGenerationCallCount ¶
func (fake *FakePolicy) SetGenerationCallCount() int
func (*FakePolicy) SetGenerationCalls ¶
func (fake *FakePolicy) SetGenerationCalls(stub func(int64))
func (*FakePolicy) SetLabels ¶
func (fake *FakePolicy) SetLabels(arg1 map[string]string)
func (*FakePolicy) SetLabelsArgsForCall ¶
func (fake *FakePolicy) SetLabelsArgsForCall(i int) map[string]string
func (*FakePolicy) SetLabelsCallCount ¶
func (fake *FakePolicy) SetLabelsCallCount() int
func (*FakePolicy) SetLabelsCalls ¶
func (fake *FakePolicy) SetLabelsCalls(stub func(map[string]string))
func (*FakePolicy) SetManagedFields ¶
func (fake *FakePolicy) SetManagedFields(arg1 []v1.ManagedFieldsEntry)
func (*FakePolicy) SetManagedFieldsArgsForCall ¶
func (fake *FakePolicy) SetManagedFieldsArgsForCall(i int) []v1.ManagedFieldsEntry
func (*FakePolicy) SetManagedFieldsCallCount ¶
func (fake *FakePolicy) SetManagedFieldsCallCount() int
func (*FakePolicy) SetManagedFieldsCalls ¶
func (fake *FakePolicy) SetManagedFieldsCalls(stub func([]v1.ManagedFieldsEntry))
func (*FakePolicy) SetName ¶
func (fake *FakePolicy) SetName(arg1 string)
func (*FakePolicy) SetNameArgsForCall ¶
func (fake *FakePolicy) SetNameArgsForCall(i int) string
func (*FakePolicy) SetNameCallCount ¶
func (fake *FakePolicy) SetNameCallCount() int
func (*FakePolicy) SetNameCalls ¶
func (fake *FakePolicy) SetNameCalls(stub func(string))
func (*FakePolicy) SetNamespace ¶
func (fake *FakePolicy) SetNamespace(arg1 string)
func (*FakePolicy) SetNamespaceArgsForCall ¶
func (fake *FakePolicy) SetNamespaceArgsForCall(i int) string
func (*FakePolicy) SetNamespaceCallCount ¶
func (fake *FakePolicy) SetNamespaceCallCount() int
func (*FakePolicy) SetNamespaceCalls ¶
func (fake *FakePolicy) SetNamespaceCalls(stub func(string))
func (*FakePolicy) SetOwnerReferences ¶
func (fake *FakePolicy) SetOwnerReferences(arg1 []v1.OwnerReference)
func (*FakePolicy) SetOwnerReferencesArgsForCall ¶
func (fake *FakePolicy) SetOwnerReferencesArgsForCall(i int) []v1.OwnerReference
func (*FakePolicy) SetOwnerReferencesCallCount ¶
func (fake *FakePolicy) SetOwnerReferencesCallCount() int
func (*FakePolicy) SetOwnerReferencesCalls ¶
func (fake *FakePolicy) SetOwnerReferencesCalls(stub func([]v1.OwnerReference))
func (*FakePolicy) SetPolicyStatus ¶
func (fake *FakePolicy) SetPolicyStatus(arg1 v1alpha2.PolicyStatus)
func (*FakePolicy) SetPolicyStatusArgsForCall ¶
func (fake *FakePolicy) SetPolicyStatusArgsForCall(i int) v1alpha2.PolicyStatus
func (*FakePolicy) SetPolicyStatusCallCount ¶
func (fake *FakePolicy) SetPolicyStatusCallCount() int
func (*FakePolicy) SetPolicyStatusCalls ¶
func (fake *FakePolicy) SetPolicyStatusCalls(stub func(v1alpha2.PolicyStatus))
func (*FakePolicy) SetResourceVersion ¶
func (fake *FakePolicy) SetResourceVersion(arg1 string)
func (*FakePolicy) SetResourceVersionArgsForCall ¶
func (fake *FakePolicy) SetResourceVersionArgsForCall(i int) string
func (*FakePolicy) SetResourceVersionCallCount ¶
func (fake *FakePolicy) SetResourceVersionCallCount() int
func (*FakePolicy) SetResourceVersionCalls ¶
func (fake *FakePolicy) SetResourceVersionCalls(stub func(string))
func (*FakePolicy) SetSelfLink ¶
func (fake *FakePolicy) SetSelfLink(arg1 string)
func (*FakePolicy) SetSelfLinkArgsForCall ¶
func (fake *FakePolicy) SetSelfLinkArgsForCall(i int) string
func (*FakePolicy) SetSelfLinkCallCount ¶
func (fake *FakePolicy) SetSelfLinkCallCount() int
func (*FakePolicy) SetSelfLinkCalls ¶
func (fake *FakePolicy) SetSelfLinkCalls(stub func(string))
func (*FakePolicy) SetUID ¶
func (fake *FakePolicy) SetUID(arg1 types.UID)
func (*FakePolicy) SetUIDArgsForCall ¶
func (fake *FakePolicy) SetUIDArgsForCall(i int) types.UID
func (*FakePolicy) SetUIDCallCount ¶
func (fake *FakePolicy) SetUIDCallCount() int
func (*FakePolicy) SetUIDCalls ¶
func (fake *FakePolicy) SetUIDCalls(stub func(types.UID))
type FakeValidator ¶
type FakeValidator struct { ConflictsStub func(policies.Policy, policies.Policy) bool ValidateStub func(policies.Policy, *policies.GlobalSettings) []conditions.Condition // contains filtered or unexported fields }
func (*FakeValidator) ConflictsArgsForCall ¶
func (*FakeValidator) ConflictsCallCount ¶
func (fake *FakeValidator) ConflictsCallCount() int
func (*FakeValidator) ConflictsCalls ¶
func (*FakeValidator) ConflictsReturns ¶
func (fake *FakeValidator) ConflictsReturns(result1 bool)
func (*FakeValidator) ConflictsReturnsOnCall ¶
func (fake *FakeValidator) ConflictsReturnsOnCall(i int, result1 bool)
func (*FakeValidator) Invocations ¶
func (fake *FakeValidator) Invocations() map[string][][]interface{}
func (*FakeValidator) Validate ¶
func (fake *FakeValidator) Validate(arg1 policies.Policy, arg2 *policies.GlobalSettings) []conditions.Condition
func (*FakeValidator) ValidateArgsForCall ¶
func (fake *FakeValidator) ValidateArgsForCall(i int) (policies.Policy, *policies.GlobalSettings)
func (*FakeValidator) ValidateCallCount ¶
func (fake *FakeValidator) ValidateCallCount() int
func (*FakeValidator) ValidateCalls ¶
func (fake *FakeValidator) ValidateCalls(stub func(policies.Policy, *policies.GlobalSettings) []conditions.Condition)
func (*FakeValidator) ValidateReturns ¶
func (fake *FakeValidator) ValidateReturns(result1 []conditions.Condition)
func (*FakeValidator) ValidateReturnsOnCall ¶
func (fake *FakeValidator) ValidateReturnsOnCall(i int, result1 []conditions.Condition)
Click to show internal directories.
Click to hide internal directories.