fake

package
Version: v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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) 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

type FakeSystemV1beta1 struct {
	*testing.Fake
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL