mocks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: MIT 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, name string, namespace string, kind string, interval *metrics.Interval, details *mesh.ResourceDetails) (*metrics.TrafficMetricsList, error)

GetEdgeMetrics provides a mock function with given fields: ctx, name, namespace, kind, interval, details

func (*Mesh) GetResourceMetrics

func (_m *Mesh) GetResourceMetrics(ctx context.Context, name string, namespace string, kind string, interval *metrics.Interval) (*metrics.TrafficMetricsList, error)

GetResourceMetrics provides a mock function with given fields: ctx, name, namespace, kind, 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