automock

package
v0.0.0-...-3792b5d Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpProcessor

func NewHttpProcessor() *httpProcessor

Types

type Accessor

type Accessor struct {
	mock.Mock
}

Accessor is an autogenerated mock type for the Accessor type

func (*Accessor) GetName

func (_m *Accessor) GetName() string

GetName provides a mock function with given fields:

func (*Accessor) GetNamespace

func (_m *Accessor) GetNamespace() string

GetNamespace provides a mock function with given fields:

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the HttpClient type

func (*HttpClient) Do

func (_m *HttpClient) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

type MetadataExtractor

type MetadataExtractor struct {
	mock.Mock
}

MetadataExtractor is an autogenerated mock type for the MetadataExtractor type

func (*MetadataExtractor) Extract

func (_m *MetadataExtractor) Extract(ctx context.Context, basePath string, files []string, services []v1alpha2.WebhookService) ([]assethook.File, error)

Extract provides a mock function with given fields: ctx, basePath, files, services

type Mutator

type Mutator struct {
	mock.Mock
}

Mutator is an autogenerated mock type for the Mutator type

func (*Mutator) Mutate

func (_m *Mutator) Mutate(ctx context.Context, basePath string, files []string, services []v1alpha2.AssetWebhookService) (assethook.Result, error)

Mutate provides a mock function with given fields: ctx, basePath, files, services

type Validator

type Validator struct {
	mock.Mock
}

Validator is an autogenerated mock type for the Validator type

func (*Validator) Validate

func (_m *Validator) Validate(ctx context.Context, basePath string, files []string, services []v1alpha2.AssetWebhookService) (assethook.Result, error)

Validate provides a mock function with given fields: ctx, basePath, files, services

Jump to

Keyboard shortcuts

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