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 ¶
- type MockIEnvironment
- func (m *MockIEnvironment) EXPECT() *MockIEnvironmentMockRecorder
- func (m *MockIEnvironment) GetCurrentUser() *user.User
- func (m *MockIEnvironment) GetEnvironmentVariable(envvar string, dotEnvFiles ...string) (environment.IEnvironmentVariable, error)
- func (m *MockIEnvironment) GetEnvironmentVariables(dotEnvFiles ...string) []environment.IEnvironmentVariable
- func (m *MockIEnvironment) GetExpandedEnvironmentVariable(envvar string, dotEnvFiles ...string) (environment.IEnvironmentVariable, error)
- func (m *MockIEnvironment) GetExpandedEnvironmentVariables(dotEnvFiles ...string) []environment.IEnvironmentVariable
- func (m *MockIEnvironment) GetFilesystem() filesystem.FS
- type MockIEnvironmentMockRecorder
- func (mr *MockIEnvironmentMockRecorder) GetCurrentUser() *gomock.Call
- func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariable(envvar any, dotEnvFiles ...any) *gomock.Call
- func (mr *MockIEnvironmentMockRecorder) GetEnvironmentVariables(dotEnvFiles ...any) *gomock.Call
- func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariable(envvar any, dotEnvFiles ...any) *gomock.Call
- func (mr *MockIEnvironmentMockRecorder) GetExpandedEnvironmentVariables(dotEnvFiles ...any) *gomock.Call
- func (mr *MockIEnvironmentMockRecorder) GetFilesystem() *gomock.Call
- type MockIEnvironmentVariable
- func (m *MockIEnvironmentVariable) EXPECT() *MockIEnvironmentVariableMockRecorder
- func (m *MockIEnvironmentVariable) Equal(v environment.IEnvironmentVariable) bool
- func (m *MockIEnvironmentVariable) GetKey() string
- func (m *MockIEnvironmentVariable) GetValue() string
- func (m *MockIEnvironmentVariable) MarshalText() ([]byte, error)
- func (m *MockIEnvironmentVariable) String() string
- func (m *MockIEnvironmentVariable) UnmarshalText(text []byte) error
- func (m *MockIEnvironmentVariable) Validate() error
- type MockIEnvironmentVariableMockRecorder
- func (mr *MockIEnvironmentVariableMockRecorder) Equal(v any) *gomock.Call
- func (mr *MockIEnvironmentVariableMockRecorder) GetKey() *gomock.Call
- func (mr *MockIEnvironmentVariableMockRecorder) GetValue() *gomock.Call
- func (mr *MockIEnvironmentVariableMockRecorder) MarshalText() *gomock.Call
- func (mr *MockIEnvironmentVariableMockRecorder) String() *gomock.Call
- func (mr *MockIEnvironmentVariableMockRecorder) UnmarshalText(text any) *gomock.Call
- func (mr *MockIEnvironmentVariableMockRecorder) Validate() *gomock.Call
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 ¶
func (m *MockIEnvironment) EXPECT() *MockIEnvironmentMockRecorder
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 ¶
func (m *MockIEnvironmentVariable) EXPECT() *MockIEnvironmentVariableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIEnvironmentVariable) Equal ¶
func (m *MockIEnvironmentVariable) Equal(v environment.IEnvironmentVariable) bool
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 ¶
func (mr *MockIEnvironmentVariableMockRecorder) Equal(v any) *gomock.Call
Equal indicates an expected call of Equal.
func (*MockIEnvironmentVariableMockRecorder) GetKey ¶
func (mr *MockIEnvironmentVariableMockRecorder) GetKey() *gomock.Call
GetKey indicates an expected call of GetKey.
func (*MockIEnvironmentVariableMockRecorder) GetValue ¶
func (mr *MockIEnvironmentVariableMockRecorder) GetValue() *gomock.Call
GetValue indicates an expected call of GetValue.
func (*MockIEnvironmentVariableMockRecorder) MarshalText ¶
func (mr *MockIEnvironmentVariableMockRecorder) MarshalText() *gomock.Call
MarshalText indicates an expected call of MarshalText.
func (*MockIEnvironmentVariableMockRecorder) String ¶
func (mr *MockIEnvironmentVariableMockRecorder) String() *gomock.Call
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 ¶
func (mr *MockIEnvironmentVariableMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.