Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
Index ¶
- type MockDiscoveryInterface
- func (m *MockDiscoveryInterface) EXPECT() *MockDiscoveryInterfaceMockRecorder
- func (m *MockDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
- func (m *MockDiscoveryInterface) RESTClient() rest.Interface
- func (m *MockDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
- func (m *MockDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerResourcesForGroupVersion(arg0 string) (*v1.APIResourceList, error)
- func (m *MockDiscoveryInterface) ServerVersion() (*version.Info, error)
- type MockDiscoveryInterfaceMockRecorder
- func (mr *MockDiscoveryInterfaceMockRecorder) OpenAPISchema() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroups() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerResources() *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion(arg0 interface{}) *gomock.Call
- func (mr *MockDiscoveryInterfaceMockRecorder) ServerVersion() *gomock.Call
- type MockQueryer
- func (m *MockQueryer) APIServicesForService(arg0 context.Context, arg1 *v10.Service) ([]*v12.APIService, error)
- func (m *MockQueryer) Children(arg0 context.Context, arg1 *unstructured.Unstructured) (*unstructured.UnstructuredList, error)
- func (m *MockQueryer) ConfigMapsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.ConfigMap, error)
- func (m *MockQueryer) EXPECT() *MockQueryerMockRecorder
- func (m *MockQueryer) Events(arg0 context.Context, arg1 v11.Object) ([]*v10.Event, error)
- func (m *MockQueryer) IngressesForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta10.Ingress, error)
- func (m *MockQueryer) MutatingWebhookConfigurationsForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta1.MutatingWebhookConfiguration, error)
- func (m *MockQueryer) OwnerReference(arg0 context.Context, arg1 *unstructured.Unstructured) (bool, []*unstructured.Unstructured, error)
- func (m *MockQueryer) PersistentVolumeClaimsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.PersistentVolumeClaim, error)
- func (m *MockQueryer) PodsForService(arg0 context.Context, arg1 *v10.Service) ([]*v10.Pod, error)
- func (m *MockQueryer) ScaleTarget(arg0 context.Context, arg1 *v1.HorizontalPodAutoscaler) (map[string]interface{}, error)
- func (m *MockQueryer) SecretsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.Secret, error)
- func (m *MockQueryer) ServiceAccountForPod(arg0 context.Context, arg1 *v10.Pod) (*v10.ServiceAccount, error)
- func (m *MockQueryer) ServicesForIngress(arg0 context.Context, arg1 *v1beta10.Ingress) (*unstructured.UnstructuredList, error)
- func (m *MockQueryer) ServicesForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.Service, error)
- func (m *MockQueryer) ValidatingWebhookConfigurationsForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta1.ValidatingWebhookConfiguration, error)
- type MockQueryerMockRecorder
- func (mr *MockQueryerMockRecorder) APIServicesForService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) Children(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) ConfigMapsForPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) IngressesForService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) MutatingWebhookConfigurationsForService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) OwnerReference(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) PersistentVolumeClaimsForPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) PodsForService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) ScaleTarget(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) SecretsForPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) ServiceAccountForPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) ServicesForIngress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) ServicesForPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryerMockRecorder) ValidatingWebhookConfigurationsForService(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiscoveryInterface ¶
type MockDiscoveryInterface struct {
// contains filtered or unexported fields
}
MockDiscoveryInterface is a mock of DiscoveryInterface interface
func NewMockDiscoveryInterface ¶
func NewMockDiscoveryInterface(ctrl *gomock.Controller) *MockDiscoveryInterface
NewMockDiscoveryInterface creates a new mock instance
func (*MockDiscoveryInterface) EXPECT ¶
func (m *MockDiscoveryInterface) EXPECT() *MockDiscoveryInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDiscoveryInterface) OpenAPISchema ¶
func (m *MockDiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
OpenAPISchema mocks base method
func (*MockDiscoveryInterface) RESTClient ¶
func (m *MockDiscoveryInterface) RESTClient() rest.Interface
RESTClient mocks base method
func (*MockDiscoveryInterface) ServerGroups ¶
func (m *MockDiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
ServerGroups mocks base method
func (*MockDiscoveryInterface) ServerGroupsAndResources ¶
func (m *MockDiscoveryInterface) ServerGroupsAndResources() ([]*v1.APIGroup, []*v1.APIResourceList, error)
ServerGroupsAndResources mocks base method
func (*MockDiscoveryInterface) ServerPreferredNamespacedResources ¶
func (m *MockDiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
ServerPreferredNamespacedResources mocks base method
func (*MockDiscoveryInterface) ServerPreferredResources ¶
func (m *MockDiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
ServerPreferredResources mocks base method
func (*MockDiscoveryInterface) ServerResources ¶
func (m *MockDiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)
ServerResources mocks base method
func (*MockDiscoveryInterface) ServerResourcesForGroupVersion ¶
func (m *MockDiscoveryInterface) ServerResourcesForGroupVersion(arg0 string) (*v1.APIResourceList, error)
ServerResourcesForGroupVersion mocks base method
func (*MockDiscoveryInterface) ServerVersion ¶
func (m *MockDiscoveryInterface) ServerVersion() (*version.Info, error)
ServerVersion mocks base method
type MockDiscoveryInterfaceMockRecorder ¶
type MockDiscoveryInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscoveryInterfaceMockRecorder is the mock recorder for MockDiscoveryInterface
func (*MockDiscoveryInterfaceMockRecorder) OpenAPISchema ¶
func (mr *MockDiscoveryInterfaceMockRecorder) OpenAPISchema() *gomock.Call
OpenAPISchema indicates an expected call of OpenAPISchema
func (*MockDiscoveryInterfaceMockRecorder) RESTClient ¶
func (mr *MockDiscoveryInterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient
func (*MockDiscoveryInterfaceMockRecorder) ServerGroups ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroups() *gomock.Call
ServerGroups indicates an expected call of ServerGroups
func (*MockDiscoveryInterfaceMockRecorder) ServerGroupsAndResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerGroupsAndResources() *gomock.Call
ServerGroupsAndResources indicates an expected call of ServerGroupsAndResources
func (*MockDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredNamespacedResources() *gomock.Call
ServerPreferredNamespacedResources indicates an expected call of ServerPreferredNamespacedResources
func (*MockDiscoveryInterfaceMockRecorder) ServerPreferredResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerPreferredResources() *gomock.Call
ServerPreferredResources indicates an expected call of ServerPreferredResources
func (*MockDiscoveryInterfaceMockRecorder) ServerResources ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerResources() *gomock.Call
ServerResources indicates an expected call of ServerResources
func (*MockDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerResourcesForGroupVersion(arg0 interface{}) *gomock.Call
ServerResourcesForGroupVersion indicates an expected call of ServerResourcesForGroupVersion
func (*MockDiscoveryInterfaceMockRecorder) ServerVersion ¶
func (mr *MockDiscoveryInterfaceMockRecorder) ServerVersion() *gomock.Call
ServerVersion indicates an expected call of ServerVersion
type MockQueryer ¶
type MockQueryer struct {
// contains filtered or unexported fields
}
MockQueryer is a mock of Queryer interface
func NewMockQueryer ¶
func NewMockQueryer(ctrl *gomock.Controller) *MockQueryer
NewMockQueryer creates a new mock instance
func (*MockQueryer) APIServicesForService ¶ added in v0.15.0
func (m *MockQueryer) APIServicesForService(arg0 context.Context, arg1 *v10.Service) ([]*v12.APIService, error)
APIServicesForService mocks base method
func (*MockQueryer) Children ¶
func (m *MockQueryer) Children(arg0 context.Context, arg1 *unstructured.Unstructured) (*unstructured.UnstructuredList, error)
Children mocks base method
func (*MockQueryer) ConfigMapsForPod ¶
func (m *MockQueryer) ConfigMapsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.ConfigMap, error)
ConfigMapsForPod mocks base method
func (*MockQueryer) EXPECT ¶
func (m *MockQueryer) EXPECT() *MockQueryerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQueryer) IngressesForService ¶
func (m *MockQueryer) IngressesForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta10.Ingress, error)
IngressesForService mocks base method
func (*MockQueryer) MutatingWebhookConfigurationsForService ¶ added in v0.15.0
func (m *MockQueryer) MutatingWebhookConfigurationsForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta1.MutatingWebhookConfiguration, error)
MutatingWebhookConfigurationsForService mocks base method
func (*MockQueryer) OwnerReference ¶
func (m *MockQueryer) OwnerReference(arg0 context.Context, arg1 *unstructured.Unstructured) (bool, []*unstructured.Unstructured, error)
OwnerReference mocks base method
func (*MockQueryer) PersistentVolumeClaimsForPod ¶ added in v0.16.2
func (m *MockQueryer) PersistentVolumeClaimsForPod(arg0 context.Context, arg1 *v10.Pod) ([]*v10.PersistentVolumeClaim, error)
PersistentVolumeClaimsForPod mocks base method
func (*MockQueryer) PodsForService ¶
PodsForService mocks base method
func (*MockQueryer) ScaleTarget ¶
func (m *MockQueryer) ScaleTarget(arg0 context.Context, arg1 *v1.HorizontalPodAutoscaler) (map[string]interface{}, error)
ScaleTarget mocks base method
func (*MockQueryer) SecretsForPod ¶
SecretsForPod mocks base method
func (*MockQueryer) ServiceAccountForPod ¶
func (m *MockQueryer) ServiceAccountForPod(arg0 context.Context, arg1 *v10.Pod) (*v10.ServiceAccount, error)
ServiceAccountForPod mocks base method
func (*MockQueryer) ServicesForIngress ¶
func (m *MockQueryer) ServicesForIngress(arg0 context.Context, arg1 *v1beta10.Ingress) (*unstructured.UnstructuredList, error)
ServicesForIngress mocks base method
func (*MockQueryer) ServicesForPod ¶
ServicesForPod mocks base method
func (*MockQueryer) ValidatingWebhookConfigurationsForService ¶ added in v0.15.0
func (m *MockQueryer) ValidatingWebhookConfigurationsForService(arg0 context.Context, arg1 *v10.Service) ([]*v1beta1.ValidatingWebhookConfiguration, error)
ValidatingWebhookConfigurationsForService mocks base method
type MockQueryerMockRecorder ¶
type MockQueryerMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryerMockRecorder is the mock recorder for MockQueryer
func (*MockQueryerMockRecorder) APIServicesForService ¶ added in v0.15.0
func (mr *MockQueryerMockRecorder) APIServicesForService(arg0, arg1 interface{}) *gomock.Call
APIServicesForService indicates an expected call of APIServicesForService
func (*MockQueryerMockRecorder) Children ¶
func (mr *MockQueryerMockRecorder) Children(arg0, arg1 interface{}) *gomock.Call
Children indicates an expected call of Children
func (*MockQueryerMockRecorder) ConfigMapsForPod ¶
func (mr *MockQueryerMockRecorder) ConfigMapsForPod(arg0, arg1 interface{}) *gomock.Call
ConfigMapsForPod indicates an expected call of ConfigMapsForPod
func (*MockQueryerMockRecorder) Events ¶
func (mr *MockQueryerMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call
Events indicates an expected call of Events
func (*MockQueryerMockRecorder) IngressesForService ¶
func (mr *MockQueryerMockRecorder) IngressesForService(arg0, arg1 interface{}) *gomock.Call
IngressesForService indicates an expected call of IngressesForService
func (*MockQueryerMockRecorder) MutatingWebhookConfigurationsForService ¶ added in v0.15.0
func (mr *MockQueryerMockRecorder) MutatingWebhookConfigurationsForService(arg0, arg1 interface{}) *gomock.Call
MutatingWebhookConfigurationsForService indicates an expected call of MutatingWebhookConfigurationsForService
func (*MockQueryerMockRecorder) OwnerReference ¶
func (mr *MockQueryerMockRecorder) OwnerReference(arg0, arg1 interface{}) *gomock.Call
OwnerReference indicates an expected call of OwnerReference
func (*MockQueryerMockRecorder) PersistentVolumeClaimsForPod ¶ added in v0.16.2
func (mr *MockQueryerMockRecorder) PersistentVolumeClaimsForPod(arg0, arg1 interface{}) *gomock.Call
PersistentVolumeClaimsForPod indicates an expected call of PersistentVolumeClaimsForPod
func (*MockQueryerMockRecorder) PodsForService ¶
func (mr *MockQueryerMockRecorder) PodsForService(arg0, arg1 interface{}) *gomock.Call
PodsForService indicates an expected call of PodsForService
func (*MockQueryerMockRecorder) ScaleTarget ¶
func (mr *MockQueryerMockRecorder) ScaleTarget(arg0, arg1 interface{}) *gomock.Call
ScaleTarget indicates an expected call of ScaleTarget
func (*MockQueryerMockRecorder) SecretsForPod ¶
func (mr *MockQueryerMockRecorder) SecretsForPod(arg0, arg1 interface{}) *gomock.Call
SecretsForPod indicates an expected call of SecretsForPod
func (*MockQueryerMockRecorder) ServiceAccountForPod ¶
func (mr *MockQueryerMockRecorder) ServiceAccountForPod(arg0, arg1 interface{}) *gomock.Call
ServiceAccountForPod indicates an expected call of ServiceAccountForPod
func (*MockQueryerMockRecorder) ServicesForIngress ¶
func (mr *MockQueryerMockRecorder) ServicesForIngress(arg0, arg1 interface{}) *gomock.Call
ServicesForIngress indicates an expected call of ServicesForIngress
func (*MockQueryerMockRecorder) ServicesForPod ¶
func (mr *MockQueryerMockRecorder) ServicesForPod(arg0, arg1 interface{}) *gomock.Call
ServicesForPod indicates an expected call of ServicesForPod
func (*MockQueryerMockRecorder) ValidatingWebhookConfigurationsForService ¶ added in v0.15.0
func (mr *MockQueryerMockRecorder) ValidatingWebhookConfigurationsForService(arg0, arg1 interface{}) *gomock.Call
ValidatingWebhookConfigurationsForService indicates an expected call of ValidatingWebhookConfigurationsForService