mocks

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mesh

type Mesh struct {
	mock.Mock
}

Mesh is an autogenerated mock type for the Mesh type

func (*Mesh) GetEdgeMetrics

func (_m *Mesh) GetEdgeMetrics(ctx context.Context, query mesh.Query, interval *v1alpha1.Interval, details *mesh.ResourceDetails) (*v1alpha1.TrafficMetricsList, error)

GetEdgeMetrics provides a mock function with given fields: ctx, query, interval, details

func (*Mesh) GetResourceMetrics

func (_m *Mesh) GetResourceMetrics(ctx context.Context, query mesh.Query, interval *v1alpha1.Interval) (*v1alpha1.TrafficMetricsList, error)

GetResourceMetrics provides a mock function with given fields: ctx, query, interval

func (*Mesh) GetSupportedResources

func (_m *Mesh) GetSupportedResources(ctx context.Context) (*v1.APIResourceList, error)

GetSupportedResources provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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