Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSupportBundles
- func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta1.SupportBundle, ...) (result *v1beta1.SupportBundle, err error)
- func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSupportBundles) Download(ctx context.Context, name string) (io.ReadCloser, error)
- func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SupportBundle, err error)
- type FakeSystemV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSupportBundles ¶
type FakeSupportBundles struct {
Fake *FakeSystemV1beta1
}
FakeSupportBundles implements SupportBundleInterface
func (*FakeSupportBundles) Create ¶
func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.CreateOptions) (result *v1beta1.SupportBundle, err error)
Create takes the representation of a supportBundle and creates it. Returns the server's representation of the supportBundle, and an error, if there is any.
func (*FakeSupportBundles) Delete ¶
func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the supportBundle and deletes it. Returns an error if one occurs.
func (*FakeSupportBundles) Download ¶ added in v1.13.0
func (c *FakeSupportBundles) Download(ctx context.Context, name string) (io.ReadCloser, error)
func (*FakeSupportBundles) Get ¶
func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SupportBundle, err error)
Get takes name of the supportBundle, and returns the corresponding supportBundle object, and an error if there is any.
type FakeSystemV1beta1 ¶
func (*FakeSystemV1beta1) RESTClient ¶
func (c *FakeSystemV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSystemV1beta1) SupportBundles ¶
func (c *FakeSystemV1beta1) SupportBundles() v1beta1.SupportBundleInterface
Click to show internal directories.
Click to hide internal directories.