Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 ¶
Code generated by mockery v1.0.0
Index ¶
- type DiscoveryInterface
- func (_m *DiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
- func (_m *DiscoveryInterface) RESTClient() rest.Interface
- func (_m *DiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
- func (_m *DiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
- func (_m *DiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
- func (_m *DiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)
- func (_m *DiscoveryInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)
- func (_m *DiscoveryInterface) ServerVersion() (*version.Info, error)
- func (_m *DiscoveryInterface) SwaggerSchema(_a0 schema.GroupVersion) (*swagger.ApiDeclaration, error)
- type ObjectInfo
- type ResourceClient
- func (_m *ResourceClient) Create() (*unstructured.Unstructured, error)
- func (_m *ResourceClient) Delete(options *v1.DeleteOptions) error
- func (_m *ResourceClient) Get(options v1.GetOptions) (*unstructured.Unstructured, error)
- func (_m *ResourceClient) Patch(pt types.PatchType, data []byte) (*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryInterface ¶
DiscoveryInterface is an autogenerated mock type for the DiscoveryInterface type
func (*DiscoveryInterface) OpenAPISchema ¶
func (_m *DiscoveryInterface) OpenAPISchema() (*openapi_v2.Document, error)
OpenAPISchema provides a mock function with given fields:
func (*DiscoveryInterface) RESTClient ¶
func (_m *DiscoveryInterface) RESTClient() rest.Interface
RESTClient provides a mock function with given fields:
func (*DiscoveryInterface) ServerGroups ¶
func (_m *DiscoveryInterface) ServerGroups() (*v1.APIGroupList, error)
ServerGroups provides a mock function with given fields:
func (*DiscoveryInterface) ServerPreferredNamespacedResources ¶
func (_m *DiscoveryInterface) ServerPreferredNamespacedResources() ([]*v1.APIResourceList, error)
ServerPreferredNamespacedResources provides a mock function with given fields:
func (*DiscoveryInterface) ServerPreferredResources ¶
func (_m *DiscoveryInterface) ServerPreferredResources() ([]*v1.APIResourceList, error)
ServerPreferredResources provides a mock function with given fields:
func (*DiscoveryInterface) ServerResources ¶
func (_m *DiscoveryInterface) ServerResources() ([]*v1.APIResourceList, error)
ServerResources provides a mock function with given fields:
func (*DiscoveryInterface) ServerResourcesForGroupVersion ¶
func (_m *DiscoveryInterface) ServerResourcesForGroupVersion(groupVersion string) (*v1.APIResourceList, error)
ServerResourcesForGroupVersion provides a mock function with given fields: groupVersion
func (*DiscoveryInterface) ServerVersion ¶
func (_m *DiscoveryInterface) ServerVersion() (*version.Info, error)
ServerVersion provides a mock function with given fields:
func (*DiscoveryInterface) SwaggerSchema ¶
func (_m *DiscoveryInterface) SwaggerSchema(_a0 schema.GroupVersion) (*swagger.ApiDeclaration, error)
SwaggerSchema provides a mock function with given fields: _a0
type ObjectInfo ¶
ObjectInfo is an autogenerated mock type for the ObjectInfo type
func (*ObjectInfo) ResourceName ¶
func (_m *ObjectInfo) ResourceName(d discovery.ServerResourcesInterface, o runtime.Object) string
ResourceName provides a mock function with given fields: d, o
type ResourceClient ¶
ResourceClient is an autogenerated mock type for the ResourceClient type
func (*ResourceClient) Create ¶
func (_m *ResourceClient) Create() (*unstructured.Unstructured, error)
Create provides a mock function with given fields:
func (*ResourceClient) Delete ¶
func (_m *ResourceClient) Delete(options *v1.DeleteOptions) error
Delete provides a mock function with given fields: options
func (*ResourceClient) Get ¶
func (_m *ResourceClient) Get(options v1.GetOptions) (*unstructured.Unstructured, error)
Get provides a mock function with given fields: options
func (*ResourceClient) Patch ¶
func (_m *ResourceClient) Patch(pt types.PatchType, data []byte) (*unstructured.Unstructured, error)
Patch provides a mock function with given fields: pt, data