...

Package mocks

import "github.com/hyperledger/fabric-ca/cmd/fabric-ca-client/command/mocks"
Overview
Index

Overview ▾

Code generated by mockery v1.0.0. DO NOT EDIT.

type Command

Command is an autogenerated mock type for the Command type

type Command struct {
    mock.Mock
}

func (*Command) ConfigInit

func (_m *Command) ConfigInit() error

ConfigInit provides a mock function with given fields:

func (*Command) GetCfgFileName

func (_m *Command) GetCfgFileName() string

GetCfgFileName provides a mock function with given fields:

func (*Command) GetClientCfg

func (_m *Command) GetClientCfg() *lib.ClientConfig

GetClientCfg provides a mock function with given fields:

func (*Command) GetHomeDirectory

func (_m *Command) GetHomeDirectory() string

GetHomeDirectory provides a mock function with given fields:

func (*Command) GetViper

func (_m *Command) GetViper() *viper.Viper

GetViper provides a mock function with given fields:

func (*Command) LoadMyIdentity

func (_m *Command) LoadMyIdentity() (*lib.Identity, error)

LoadMyIdentity provides a mock function with given fields:

func (*Command) SetDefaultLogLevel

func (_m *Command) SetDefaultLogLevel(_a0 string)

SetDefaultLogLevel provides a mock function with given fields: _a0