mocks

package
v1.173.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

  • Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
  • SPDX-License-Identifier: Apache-2.0

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockISchemaValidator

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

MockISchemaValidator is a mock of ISchemaValidator interface.

func NewMockISchemaValidator

func NewMockISchemaValidator(ctrl *gomock.Controller) *MockISchemaValidator

NewMockISchemaValidator creates a new mock instance.

func (*MockISchemaValidator) EXPECT

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

func (*MockISchemaValidator) ValidateContent

func (m *MockISchemaValidator) ValidateContent(arg0 context.Context, arg1 any) error

ValidateContent mocks base method.

func (*MockISchemaValidator) ValidateFile

func (m *MockISchemaValidator) ValidateFile(ctx context.Context, filepath string) error

ValidateFile mocks base method.

func (*MockISchemaValidator) ValidateFileInFS

func (m *MockISchemaValidator) ValidateFileInFS(ctx context.Context, fs filesystem.FS, filepath string) error

ValidateFileInFS mocks base method.

func (*MockISchemaValidator) ValidateFileInFSWithLimits

func (m *MockISchemaValidator) ValidateFileInFSWithLimits(ctx context.Context, fs filesystem.FS, filepath string, fileLimits filesystem.ILimits) error

ValidateFileInFSWithLimits mocks base method.

func (*MockISchemaValidator) ValidateFileWithLimits

func (m *MockISchemaValidator) ValidateFileWithLimits(ctx context.Context, filepath string, fileLimits filesystem.ILimits) error

ValidateFileWithLimits mocks base method.

type MockISchemaValidatorMockRecorder

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

MockISchemaValidatorMockRecorder is the mock recorder for MockISchemaValidator.

func (*MockISchemaValidatorMockRecorder) ValidateContent

func (mr *MockISchemaValidatorMockRecorder) ValidateContent(arg0, arg1 any) *gomock.Call

ValidateContent indicates an expected call of ValidateContent.

func (*MockISchemaValidatorMockRecorder) ValidateFile

func (mr *MockISchemaValidatorMockRecorder) ValidateFile(ctx, filepath any) *gomock.Call

ValidateFile indicates an expected call of ValidateFile.

func (*MockISchemaValidatorMockRecorder) ValidateFileInFS

func (mr *MockISchemaValidatorMockRecorder) ValidateFileInFS(ctx, fs, filepath any) *gomock.Call

ValidateFileInFS indicates an expected call of ValidateFileInFS.

func (*MockISchemaValidatorMockRecorder) ValidateFileInFSWithLimits

func (mr *MockISchemaValidatorMockRecorder) ValidateFileInFSWithLimits(ctx, fs, filepath, fileLimits any) *gomock.Call

ValidateFileInFSWithLimits indicates an expected call of ValidateFileInFSWithLimits.

func (*MockISchemaValidatorMockRecorder) ValidateFileWithLimits

func (mr *MockISchemaValidatorMockRecorder) ValidateFileWithLimits(ctx, filepath, fileLimits any) *gomock.Call

ValidateFileWithLimits indicates an expected call of ValidateFileWithLimits.

Jump to

Keyboard shortcuts

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