assets

package
v0.0.0-...-5e97683 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package assets is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assets

type Assets interface {
	GetFrom(assets string) []Metadata
	ValidStateName(path string) bool
}

func NewAssets

func NewAssets() Assets

type Metadata

type Metadata struct {
	Name    string
	Content []byte
}

Metadata manifests filename and content

type MockAssets

type MockAssets struct {
	// contains filtered or unexported fields
}

MockAssets is a mock of Assets interface.

func NewMockAssets

func NewMockAssets(ctrl *gomock.Controller) *MockAssets

NewMockAssets creates a new mock instance.

func (*MockAssets) EXPECT

func (m *MockAssets) EXPECT() *MockAssetsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAssets) GetFrom

func (m *MockAssets) GetFrom(assets string) []Metadata

GetFrom mocks base method.

func (*MockAssets) ValidStateName

func (m *MockAssets) ValidStateName(path string) bool

ValidStateName mocks base method.

type MockAssetsMockRecorder

type MockAssetsMockRecorder struct {
	// contains filtered or unexported fields
}

MockAssetsMockRecorder is the mock recorder for MockAssets.

func (*MockAssetsMockRecorder) GetFrom

func (mr *MockAssetsMockRecorder) GetFrom(assets interface{}) *gomock.Call

GetFrom indicates an expected call of GetFrom.

func (*MockAssetsMockRecorder) ValidStateName

func (mr *MockAssetsMockRecorder) ValidStateName(path interface{}) *gomock.Call

ValidStateName indicates an expected call of ValidStateName.

Jump to

Keyboard shortcuts

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