fake

package
v0.0.0-...-2bea0bf Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPetClient

type MockPetClient struct {
	MockAddPet        func(pet *clientset.Pet) (*clientset.Pet, error)
	MockGetPetById    func(petId string) (*clientset.Pet, error)
	MockUpdatePetById func(petId string, pet *clientset.Pet) error
	MockDeletePetById func(petId string) error
}

func (*MockPetClient) AddPet

func (m *MockPetClient) AddPet(pet *clientset.Pet) (*clientset.Pet, error)

func (*MockPetClient) DeletePetById

func (m *MockPetClient) DeletePetById(petId string) error

func (*MockPetClient) GetPetById

func (m *MockPetClient) GetPetById(petId string) (*clientset.Pet, error)

func (*MockPetClient) UpdatePetById

func (m *MockPetClient) UpdatePetById(petId string, pet *clientset.Pet) error

Jump to

Keyboard shortcuts

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