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: 5 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 MockIEnvironment

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

MockIEnvironment is a mock of IEnvironment interface.

func NewMockIEnvironment

func NewMockIEnvironment(ctrl *gomock.Controller) *MockIEnvironment

NewMockIEnvironment creates a new mock instance.

func (*MockIEnvironment) EXPECT

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

func (*MockIEnvironment) GetCurrentUser

func (m *MockIEnvironment) GetCurrentUser() *user.User

GetCurrentUser mocks base method.

func (*MockIEnvironment) GetEnvironmentVariable

func (m *MockIEnvironment) GetEnvironmentVariable(envvar string, dotEnvFiles ...string) (environment.IEnvironmentVariable, error)

GetEnvironmentVariable mocks base method.

func (*MockIEnvironment) GetEnvironmentVariables

func (m *MockIEnvironment) GetEnvironmentVariables(dotEnvFiles ...string) []environment.IEnvironmentVariable

GetEnvironmentVariables mocks base method.

func (*MockIEnvironment) GetExpandedEnvironmentVariable

func (m *MockIEnvironment) GetExpandedEnvironmentVariable(envvar string, dotEnvFiles ...string) (environment.IEnvironmentVariable, error)

GetExpandedEnvironmentVariable mocks base method.

func (*MockIEnvironment) GetExpandedEnvironmentVariables

func (m *MockIEnvironment) GetExpandedEnvironmentVariables(dotEnvFiles ...string) []environment.IEnvironmentVariable

GetExpandedEnvironmentVariables mocks base method.

func (*MockIEnvironment) GetFilesystem

func (m *MockIEnvironment) GetFilesystem() filesystem.FS

GetFilesystem mocks base method.

type MockIEnvironmentMockRecorder

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

MockIEnvironmentMockRecorder is the mock recorder for MockIEnvironment.

func (*MockIEnvironmentMockRecorder) GetCurrentUser

func (mr *MockIEnvironmentMockRecorder) GetCurrentUser() *gomock.Call

GetCurrentUser indicates an expected call of GetCurrentUser.

func (*MockIEnvironmentMockRecorder) GetEnvironmentVariable

func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariable(envvar any, dotEnvFiles ...any) *gomock.Call

GetEnvironmentVariable indicates an expected call of GetEnvironmentVariable.

func (*MockIEnvironmentMockRecorder) GetEnvironmentVariables

func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariables(dotEnvFiles ...any) *gomock.Call

GetEnvironmentVariables indicates an expected call of GetEnvironmentVariables.

func (*MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariable

func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariable(envvar any, dotEnvFiles ...any) *gomock.Call

GetExpandedEnvironmentVariable indicates an expected call of GetExpandedEnvironmentVariable.

func (*MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariables

func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariables(dotEnvFiles ...any) *gomock.Call

GetExpandedEnvironmentVariables indicates an expected call of GetExpandedEnvironmentVariables.

func (*MockIEnvironmentMockRecorder) GetFilesystem

func (mr *MockIEnvironmentMockRecorder) GetFilesystem() *gomock.Call

GetFilesystem indicates an expected call of GetFilesystem.

type MockIEnvironmentVariable

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

MockIEnvironmentVariable is a mock of IEnvironmentVariable interface.

func NewMockIEnvironmentVariable

func NewMockIEnvironmentVariable(ctrl *gomock.Controller) *MockIEnvironmentVariable

NewMockIEnvironmentVariable creates a new mock instance.

func (*MockIEnvironmentVariable) EXPECT

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

func (*MockIEnvironmentVariable) Equal

Equal mocks base method.

func (*MockIEnvironmentVariable) GetKey

func (m *MockIEnvironmentVariable) GetKey() string

GetKey mocks base method.

func (*MockIEnvironmentVariable) GetValue

func (m *MockIEnvironmentVariable) GetValue() string

GetValue mocks base method.

func (*MockIEnvironmentVariable) MarshalText

func (m *MockIEnvironmentVariable) MarshalText() ([]byte, error)

MarshalText mocks base method.

func (*MockIEnvironmentVariable) String

func (m *MockIEnvironmentVariable) String() string

String mocks base method.

func (*MockIEnvironmentVariable) UnmarshalText

func (m *MockIEnvironmentVariable) UnmarshalText(text []byte) error

UnmarshalText mocks base method.

func (*MockIEnvironmentVariable) Validate

func (m *MockIEnvironmentVariable) Validate() error

Validate mocks base method.

type MockIEnvironmentVariableMockRecorder

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

MockIEnvironmentVariableMockRecorder is the mock recorder for MockIEnvironmentVariable.

func (*MockIEnvironmentVariableMockRecorder) Equal

Equal indicates an expected call of Equal.

func (*MockIEnvironmentVariableMockRecorder) GetKey

GetKey indicates an expected call of GetKey.

func (*MockIEnvironmentVariableMockRecorder) GetValue

GetValue indicates an expected call of GetValue.

func (*MockIEnvironmentVariableMockRecorder) MarshalText

MarshalText indicates an expected call of MarshalText.

func (*MockIEnvironmentVariableMockRecorder) String

String indicates an expected call of String.

func (*MockIEnvironmentVariableMockRecorder) UnmarshalText

func (mr *MockIEnvironmentVariableMockRecorder) UnmarshalText(text any) *gomock.Call

UnmarshalText indicates an expected call of UnmarshalText.

func (*MockIEnvironmentVariableMockRecorder) Validate

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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