fake

package
v0.0.0-...-425e462 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 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 FakeAcknowledgements

type FakeAcknowledgements struct {
	Fake *FakeIncidentsV1alpha1
	// contains filtered or unexported fields
}

FakeAcknowledgements implements AcknowledgementInterface

func (*FakeAcknowledgements) Create

func (c *FakeAcknowledgements) Create(acknowledgement *v1alpha1.Acknowledgement) (result *v1alpha1.Acknowledgement, err error)

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

func (*FakeAcknowledgements) Delete

func (c *FakeAcknowledgements) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the acknowledgement and deletes it. Returns an error if one occurs.

type FakeIncidentsV1alpha1

type FakeIncidentsV1alpha1 struct {
	*testing.Fake
}

func (*FakeIncidentsV1alpha1) Acknowledgements

func (c *FakeIncidentsV1alpha1) Acknowledgements(namespace string) v1alpha1.AcknowledgementInterface

func (*FakeIncidentsV1alpha1) RESTClient

func (c *FakeIncidentsV1alpha1) 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