Documentation
¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
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)
- type Factory
- func (_m *Factory) ApproximatePodTemplateForObject(_a0 runtime.Object) (*core.PodTemplateSpec, error)
- func (_m *Factory) AttachablePodForObject(object runtime.Object, timeout time.Duration) (*core.Pod, error)
- func (_m *Factory) BareClientConfig() (*rest.Config, error)
- func (_m *Factory) BindExternalFlags(flags *pflag.FlagSet)
- func (_m *Factory) BindFlags(flags *pflag.FlagSet)
- func (_m *Factory) CanBeAutoscaled(kind schema.GroupKind) error
- func (_m *Factory) CanBeExposed(kind schema.GroupKind) error
- func (_m *Factory) CategoryExpander() categories.CategoryExpander
- func (_m *Factory) ClientConfig() (*rest.Config, error)
- func (_m *Factory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
- func (_m *Factory) ClientSet() (internalclientset.Interface, error)
- func (_m *Factory) Command(cmd *cobra.Command, showSecrets bool) string
- func (_m *Factory) DefaultNamespace() (string, bool, error)
- func (_m *Factory) DefaultResourceFilterFunc() kubectl.Filters
- func (_m *Factory) Describer(mapping *meta.RESTMapping) (printers.Describer, error)
- func (_m *Factory) DiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (_m *Factory) EditorEnvs() []string
- func (_m *Factory) FlagSet() *pflag.FlagSet
- func (_m *Factory) Generators(cmdName string) map[string]kubectl.Generator
- func (_m *Factory) HistoryViewer(mapping *meta.RESTMapping) (kubectl.HistoryViewer, error)
- func (_m *Factory) KubernetesClientSet() (*kubernetes.Clientset, error)
- func (_m *Factory) LabelsForObject(object runtime.Object) (map[string]string, error)
- func (_m *Factory) LogsForObject(object runtime.Object, options runtime.Object, timeout time.Duration) (*rest.Request, error)
- func (_m *Factory) MapBasedSelectorForObject(object runtime.Object) (string, error)
- func (_m *Factory) NewBuilder() *resource.Builder
- func (_m *Factory) Object() (meta.RESTMapper, runtime.ObjectTyper)
- func (_m *Factory) OpenAPISchema() (openapi.Resources, error)
- func (_m *Factory) Pauser(info *resource.Info) ([]byte, error)
- func (_m *Factory) PluginLoader() plugins.PluginLoader
- func (_m *Factory) PluginRunner() plugins.PluginRunner
- func (_m *Factory) PortsForObject(object runtime.Object) ([]string, error)
- func (_m *Factory) ProtocolsForObject(object runtime.Object) (map[string]string, error)
- func (_m *Factory) RESTClient() (*rest.RESTClient, error)
- func (_m *Factory) Reaper(mapping *meta.RESTMapping) (kubectl.Reaper, error)
- func (_m *Factory) ResolveImage(imageName string) (string, error)
- func (_m *Factory) Resumer(info *resource.Info) ([]byte, error)
- func (_m *Factory) Rollbacker(mapping *meta.RESTMapping) (kubectl.Rollbacker, error)
- func (_m *Factory) Scaler(mapping *meta.RESTMapping) (kubectl.Scaler, error)
- func (_m *Factory) StatusViewer(mapping *meta.RESTMapping) (kubectl.StatusViewer, error)
- func (_m *Factory) SuggestedPodTemplateResources() []schema.GroupResource
- func (_m *Factory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
- func (_m *Factory) UpdatePodSpecForObject(obj runtime.Object, fn func(*v1.PodSpec) error) (bool, error)
- func (_m *Factory) Validator(validate bool) (validation.Schema, 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:
type Factory ¶ added in v0.12.0
Factory is an autogenerated mock type for the Factory type
func (*Factory) ApproximatePodTemplateForObject ¶ added in v0.12.0
func (_m *Factory) ApproximatePodTemplateForObject(_a0 runtime.Object) (*core.PodTemplateSpec, error)
ApproximatePodTemplateForObject provides a mock function with given fields: _a0
func (*Factory) AttachablePodForObject ¶ added in v0.12.0
func (_m *Factory) AttachablePodForObject(object runtime.Object, timeout time.Duration) (*core.Pod, error)
AttachablePodForObject provides a mock function with given fields: object, timeout
func (*Factory) BareClientConfig ¶ added in v0.12.0
BareClientConfig provides a mock function with given fields:
func (*Factory) BindExternalFlags ¶ added in v0.12.0
BindExternalFlags provides a mock function with given fields: flags
func (*Factory) BindFlags ¶ added in v0.12.0
BindFlags provides a mock function with given fields: flags
func (*Factory) CanBeAutoscaled ¶ added in v0.12.0
CanBeAutoscaled provides a mock function with given fields: kind
func (*Factory) CanBeExposed ¶ added in v0.12.0
CanBeExposed provides a mock function with given fields: kind
func (*Factory) CategoryExpander ¶ added in v0.12.0
func (_m *Factory) CategoryExpander() categories.CategoryExpander
CategoryExpander provides a mock function with given fields:
func (*Factory) ClientConfig ¶ added in v0.12.0
ClientConfig provides a mock function with given fields:
func (*Factory) ClientForMapping ¶ added in v0.12.0
func (_m *Factory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
ClientForMapping provides a mock function with given fields: mapping
func (*Factory) ClientSet ¶ added in v0.12.0
func (_m *Factory) ClientSet() (internalclientset.Interface, error)
ClientSet provides a mock function with given fields:
func (*Factory) Command ¶ added in v0.12.0
Command provides a mock function with given fields: cmd, showSecrets
func (*Factory) DefaultNamespace ¶ added in v0.12.0
DefaultNamespace provides a mock function with given fields:
func (*Factory) DefaultResourceFilterFunc ¶ added in v0.12.0
DefaultResourceFilterFunc provides a mock function with given fields:
func (*Factory) Describer ¶ added in v0.12.0
Describer provides a mock function with given fields: mapping
func (*Factory) DiscoveryClient ¶ added in v0.12.0
func (_m *Factory) DiscoveryClient() (discovery.CachedDiscoveryInterface, error)
DiscoveryClient provides a mock function with given fields:
func (*Factory) EditorEnvs ¶ added in v0.12.0
EditorEnvs provides a mock function with given fields:
func (*Factory) Generators ¶ added in v0.12.0
Generators provides a mock function with given fields: cmdName
func (*Factory) HistoryViewer ¶ added in v0.12.0
func (_m *Factory) HistoryViewer(mapping *meta.RESTMapping) (kubectl.HistoryViewer, error)
HistoryViewer provides a mock function with given fields: mapping
func (*Factory) KubernetesClientSet ¶ added in v0.12.0
func (_m *Factory) KubernetesClientSet() (*kubernetes.Clientset, error)
KubernetesClientSet provides a mock function with given fields:
func (*Factory) LabelsForObject ¶ added in v0.12.0
LabelsForObject provides a mock function with given fields: object
func (*Factory) LogsForObject ¶ added in v0.12.0
func (_m *Factory) LogsForObject(object runtime.Object, options runtime.Object, timeout time.Duration) (*rest.Request, error)
LogsForObject provides a mock function with given fields: object, options, timeout
func (*Factory) MapBasedSelectorForObject ¶ added in v0.12.0
MapBasedSelectorForObject provides a mock function with given fields: object
func (*Factory) NewBuilder ¶ added in v0.12.0
NewBuilder provides a mock function with given fields:
func (*Factory) Object ¶ added in v0.12.0
func (_m *Factory) Object() (meta.RESTMapper, runtime.ObjectTyper)
Object provides a mock function with given fields:
func (*Factory) OpenAPISchema ¶ added in v0.12.0
OpenAPISchema provides a mock function with given fields:
func (*Factory) PluginLoader ¶ added in v0.12.0
func (_m *Factory) PluginLoader() plugins.PluginLoader
PluginLoader provides a mock function with given fields:
func (*Factory) PluginRunner ¶ added in v0.12.0
func (_m *Factory) PluginRunner() plugins.PluginRunner
PluginRunner provides a mock function with given fields:
func (*Factory) PortsForObject ¶ added in v0.12.0
PortsForObject provides a mock function with given fields: object
func (*Factory) ProtocolsForObject ¶ added in v0.12.0
ProtocolsForObject provides a mock function with given fields: object
func (*Factory) RESTClient ¶ added in v0.12.0
func (_m *Factory) RESTClient() (*rest.RESTClient, error)
RESTClient provides a mock function with given fields:
func (*Factory) Reaper ¶ added in v0.12.0
Reaper provides a mock function with given fields: mapping
func (*Factory) ResolveImage ¶ added in v0.12.0
ResolveImage provides a mock function with given fields: imageName
func (*Factory) Rollbacker ¶ added in v0.12.0
func (_m *Factory) Rollbacker(mapping *meta.RESTMapping) (kubectl.Rollbacker, error)
Rollbacker provides a mock function with given fields: mapping
func (*Factory) Scaler ¶ added in v0.12.0
Scaler provides a mock function with given fields: mapping
func (*Factory) StatusViewer ¶ added in v0.12.0
func (_m *Factory) StatusViewer(mapping *meta.RESTMapping) (kubectl.StatusViewer, error)
StatusViewer provides a mock function with given fields: mapping
func (*Factory) SuggestedPodTemplateResources ¶ added in v0.12.0
func (_m *Factory) SuggestedPodTemplateResources() []schema.GroupResource
SuggestedPodTemplateResources provides a mock function with given fields:
func (*Factory) UnstructuredClientForMapping ¶ added in v0.12.0
func (_m *Factory) UnstructuredClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error)
UnstructuredClientForMapping provides a mock function with given fields: mapping
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