fake

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 6 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 FakeCVEReports

type FakeCVEReports struct {
	Fake *FakeReportsV1alpha1
}

FakeCVEReports implements CVEReportInterface

func (*FakeCVEReports) Create

func (c *FakeCVEReports) Create(ctx context.Context, cVEReport *v1alpha1.CVEReport, opts v1.CreateOptions) (result *v1alpha1.CVEReport, err error)

Create takes the representation of a cVEReport and creates it. Returns the server's representation of the cVEReport, and an error, if there is any.

type FakeReportsV1alpha1

type FakeReportsV1alpha1 struct {
	*testing.Fake
}

func (*FakeReportsV1alpha1) CVEReports

func (*FakeReportsV1alpha1) RESTClient

func (c *FakeReportsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Jump to

Keyboard shortcuts

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