github.com/rakutentech/cli@v6.12.5-0.20151006231303-24468b65536e+incompatible/cf/configuration/fakes/fake_repository.go (about)

     1  // This file was generated by counterfeiter
     2  package fakes
     3  
     4  import (
     5  	"sync"
     6  
     7  	"github.com/cloudfoundry/cli/cf/configuration/core_config"
     8  	"github.com/cloudfoundry/cli/cf/models"
     9  )
    10  
    11  type FakeRepository struct {
    12  	ApiEndpointStub        func() string
    13  	apiEndpointMutex       sync.RWMutex
    14  	apiEndpointArgsForCall []struct{}
    15  	apiEndpointReturns     struct {
    16  		result1 string
    17  	}
    18  	ApiVersionStub        func() string
    19  	apiVersionMutex       sync.RWMutex
    20  	apiVersionArgsForCall []struct{}
    21  	apiVersionReturns     struct {
    22  		result1 string
    23  	}
    24  	HasAPIEndpointStub        func() bool
    25  	hasAPIEndpointMutex       sync.RWMutex
    26  	hasAPIEndpointArgsForCall []struct{}
    27  	hasAPIEndpointReturns     struct {
    28  		result1 bool
    29  	}
    30  	AuthenticationEndpointStub        func() string
    31  	authenticationEndpointMutex       sync.RWMutex
    32  	authenticationEndpointArgsForCall []struct{}
    33  	authenticationEndpointReturns     struct {
    34  		result1 string
    35  	}
    36  	LoggregatorEndpointStub        func() string
    37  	loggregatorEndpointMutex       sync.RWMutex
    38  	loggregatorEndpointArgsForCall []struct{}
    39  	loggregatorEndpointReturns     struct {
    40  		result1 string
    41  	}
    42  	DopplerEndpointStub        func() string
    43  	dopplerEndpointMutex       sync.RWMutex
    44  	dopplerEndpointArgsForCall []struct{}
    45  	dopplerEndpointReturns     struct {
    46  		result1 string
    47  	}
    48  	UaaEndpointStub        func() string
    49  	uaaEndpointMutex       sync.RWMutex
    50  	uaaEndpointArgsForCall []struct{}
    51  	uaaEndpointReturns     struct {
    52  		result1 string
    53  	}
    54  	AccessTokenStub        func() string
    55  	accessTokenMutex       sync.RWMutex
    56  	accessTokenArgsForCall []struct{}
    57  	accessTokenReturns     struct {
    58  		result1 string
    59  	}
    60  	RefreshTokenStub        func() string
    61  	refreshTokenMutex       sync.RWMutex
    62  	refreshTokenArgsForCall []struct{}
    63  	refreshTokenReturns     struct {
    64  		result1 string
    65  	}
    66  	OrganizationFieldsStub        func() models.OrganizationFields
    67  	organizationFieldsMutex       sync.RWMutex
    68  	organizationFieldsArgsForCall []struct{}
    69  	organizationFieldsReturns     struct {
    70  		result1 models.OrganizationFields
    71  	}
    72  	HasOrganizationStub        func() bool
    73  	hasOrganizationMutex       sync.RWMutex
    74  	hasOrganizationArgsForCall []struct{}
    75  	hasOrganizationReturns     struct {
    76  		result1 bool
    77  	}
    78  	SpaceFieldsStub        func() models.SpaceFields
    79  	spaceFieldsMutex       sync.RWMutex
    80  	spaceFieldsArgsForCall []struct{}
    81  	spaceFieldsReturns     struct {
    82  		result1 models.SpaceFields
    83  	}
    84  	HasSpaceStub        func() bool
    85  	hasSpaceMutex       sync.RWMutex
    86  	hasSpaceArgsForCall []struct{}
    87  	hasSpaceReturns     struct {
    88  		result1 bool
    89  	}
    90  	UsernameStub        func() string
    91  	usernameMutex       sync.RWMutex
    92  	usernameArgsForCall []struct{}
    93  	usernameReturns     struct {
    94  		result1 string
    95  	}
    96  	UserGuidStub        func() string
    97  	userGuidMutex       sync.RWMutex
    98  	userGuidArgsForCall []struct{}
    99  	userGuidReturns     struct {
   100  		result1 string
   101  	}
   102  	UserEmailStub        func() string
   103  	userEmailMutex       sync.RWMutex
   104  	userEmailArgsForCall []struct{}
   105  	userEmailReturns     struct {
   106  		result1 string
   107  	}
   108  	IsLoggedInStub        func() bool
   109  	isLoggedInMutex       sync.RWMutex
   110  	isLoggedInArgsForCall []struct{}
   111  	isLoggedInReturns     struct {
   112  		result1 bool
   113  	}
   114  	IsSSLDisabledStub        func() bool
   115  	isSSLDisabledMutex       sync.RWMutex
   116  	isSSLDisabledArgsForCall []struct{}
   117  	isSSLDisabledReturns     struct {
   118  		result1 bool
   119  	}
   120  	IsMinApiVersionStub        func(string) bool
   121  	isMinApiVersionMutex       sync.RWMutex
   122  	isMinApiVersionArgsForCall []struct {
   123  		arg1 string
   124  	}
   125  	isMinApiVersionReturns struct {
   126  		result1 bool
   127  	}
   128  	IsMinCliVersionStub        func(string) bool
   129  	isMinCliVersionMutex       sync.RWMutex
   130  	isMinCliVersionArgsForCall []struct {
   131  		arg1 string
   132  	}
   133  	isMinCliVersionReturns struct {
   134  		result1 bool
   135  	}
   136  	MinCliVersionStub        func() string
   137  	minCliVersionMutex       sync.RWMutex
   138  	minCliVersionArgsForCall []struct{}
   139  	minCliVersionReturns     struct {
   140  		result1 string
   141  	}
   142  	MinRecommendedCliVersionStub        func() string
   143  	minRecommendedCliVersionMutex       sync.RWMutex
   144  	minRecommendedCliVersionArgsForCall []struct{}
   145  	minRecommendedCliVersionReturns     struct {
   146  		result1 string
   147  	}
   148  	AsyncTimeoutStub        func() uint
   149  	asyncTimeoutMutex       sync.RWMutex
   150  	asyncTimeoutArgsForCall []struct{}
   151  	asyncTimeoutReturns     struct {
   152  		result1 uint
   153  	}
   154  	TraceStub        func() string
   155  	traceMutex       sync.RWMutex
   156  	traceArgsForCall []struct{}
   157  	traceReturns     struct {
   158  		result1 string
   159  	}
   160  	ColorEnabledStub        func() string
   161  	colorEnabledMutex       sync.RWMutex
   162  	colorEnabledArgsForCall []struct{}
   163  	colorEnabledReturns     struct {
   164  		result1 string
   165  	}
   166  	LocaleStub        func() string
   167  	localeMutex       sync.RWMutex
   168  	localeArgsForCall []struct{}
   169  	localeReturns     struct {
   170  		result1 string
   171  	}
   172  	PluginReposStub        func() []models.PluginRepo
   173  	pluginReposMutex       sync.RWMutex
   174  	pluginReposArgsForCall []struct{}
   175  	pluginReposReturns     struct {
   176  		result1 []models.PluginRepo
   177  	}
   178  	ClearSessionStub          func()
   179  	clearSessionMutex         sync.RWMutex
   180  	clearSessionArgsForCall   []struct{}
   181  	SetApiEndpointStub        func(string)
   182  	setApiEndpointMutex       sync.RWMutex
   183  	setApiEndpointArgsForCall []struct {
   184  		arg1 string
   185  	}
   186  	SetApiVersionStub        func(string)
   187  	setApiVersionMutex       sync.RWMutex
   188  	setApiVersionArgsForCall []struct {
   189  		arg1 string
   190  	}
   191  	SetMinCliVersionStub        func(string)
   192  	setMinCliVersionMutex       sync.RWMutex
   193  	setMinCliVersionArgsForCall []struct {
   194  		arg1 string
   195  	}
   196  	SetMinRecommendedCliVersionStub        func(string)
   197  	setMinRecommendedCliVersionMutex       sync.RWMutex
   198  	setMinRecommendedCliVersionArgsForCall []struct {
   199  		arg1 string
   200  	}
   201  	SetAuthenticationEndpointStub        func(string)
   202  	setAuthenticationEndpointMutex       sync.RWMutex
   203  	setAuthenticationEndpointArgsForCall []struct {
   204  		arg1 string
   205  	}
   206  	SetLoggregatorEndpointStub        func(string)
   207  	setLoggregatorEndpointMutex       sync.RWMutex
   208  	setLoggregatorEndpointArgsForCall []struct {
   209  		arg1 string
   210  	}
   211  	SetDopplerEndpointStub        func(string)
   212  	setDopplerEndpointMutex       sync.RWMutex
   213  	setDopplerEndpointArgsForCall []struct {
   214  		arg1 string
   215  	}
   216  	SetUaaEndpointStub        func(string)
   217  	setUaaEndpointMutex       sync.RWMutex
   218  	setUaaEndpointArgsForCall []struct {
   219  		arg1 string
   220  	}
   221  	SetAccessTokenStub        func(string)
   222  	setAccessTokenMutex       sync.RWMutex
   223  	setAccessTokenArgsForCall []struct {
   224  		arg1 string
   225  	}
   226  	SetRefreshTokenStub        func(string)
   227  	setRefreshTokenMutex       sync.RWMutex
   228  	setRefreshTokenArgsForCall []struct {
   229  		arg1 string
   230  	}
   231  	SetOrganizationFieldsStub        func(models.OrganizationFields)
   232  	setOrganizationFieldsMutex       sync.RWMutex
   233  	setOrganizationFieldsArgsForCall []struct {
   234  		arg1 models.OrganizationFields
   235  	}
   236  	SetSpaceFieldsStub        func(models.SpaceFields)
   237  	setSpaceFieldsMutex       sync.RWMutex
   238  	setSpaceFieldsArgsForCall []struct {
   239  		arg1 models.SpaceFields
   240  	}
   241  	SetSSLDisabledStub        func(bool)
   242  	setSSLDisabledMutex       sync.RWMutex
   243  	setSSLDisabledArgsForCall []struct {
   244  		arg1 bool
   245  	}
   246  	SetAsyncTimeoutStub        func(uint)
   247  	setAsyncTimeoutMutex       sync.RWMutex
   248  	setAsyncTimeoutArgsForCall []struct {
   249  		arg1 uint
   250  	}
   251  	SetTraceStub        func(string)
   252  	setTraceMutex       sync.RWMutex
   253  	setTraceArgsForCall []struct {
   254  		arg1 string
   255  	}
   256  	SetColorEnabledStub        func(string)
   257  	setColorEnabledMutex       sync.RWMutex
   258  	setColorEnabledArgsForCall []struct {
   259  		arg1 string
   260  	}
   261  	SetLocaleStub        func(string)
   262  	setLocaleMutex       sync.RWMutex
   263  	setLocaleArgsForCall []struct {
   264  		arg1 string
   265  	}
   266  	SetPluginRepoStub        func(models.PluginRepo)
   267  	setPluginRepoMutex       sync.RWMutex
   268  	setPluginRepoArgsForCall []struct {
   269  		arg1 models.PluginRepo
   270  	}
   271  	UnSetPluginRepoStub        func(int)
   272  	unSetPluginRepoMutex       sync.RWMutex
   273  	unSetPluginRepoArgsForCall []struct {
   274  		arg1 int
   275  	}
   276  	CloseStub        func()
   277  	closeMutex       sync.RWMutex
   278  	closeArgsForCall []struct{}
   279  }
   280  
   281  func (fake *FakeRepository) ApiEndpoint() string {
   282  	fake.apiEndpointMutex.Lock()
   283  	fake.apiEndpointArgsForCall = append(fake.apiEndpointArgsForCall, struct{}{})
   284  	fake.apiEndpointMutex.Unlock()
   285  	if fake.ApiEndpointStub != nil {
   286  		return fake.ApiEndpointStub()
   287  	} else {
   288  		return fake.apiEndpointReturns.result1
   289  	}
   290  }
   291  
   292  func (fake *FakeRepository) ApiEndpointCallCount() int {
   293  	fake.apiEndpointMutex.RLock()
   294  	defer fake.apiEndpointMutex.RUnlock()
   295  	return len(fake.apiEndpointArgsForCall)
   296  }
   297  
   298  func (fake *FakeRepository) ApiEndpointReturns(result1 string) {
   299  	fake.ApiEndpointStub = nil
   300  	fake.apiEndpointReturns = struct {
   301  		result1 string
   302  	}{result1}
   303  }
   304  
   305  func (fake *FakeRepository) ApiVersion() string {
   306  	fake.apiVersionMutex.Lock()
   307  	fake.apiVersionArgsForCall = append(fake.apiVersionArgsForCall, struct{}{})
   308  	fake.apiVersionMutex.Unlock()
   309  	if fake.ApiVersionStub != nil {
   310  		return fake.ApiVersionStub()
   311  	} else {
   312  		return fake.apiVersionReturns.result1
   313  	}
   314  }
   315  
   316  func (fake *FakeRepository) ApiVersionCallCount() int {
   317  	fake.apiVersionMutex.RLock()
   318  	defer fake.apiVersionMutex.RUnlock()
   319  	return len(fake.apiVersionArgsForCall)
   320  }
   321  
   322  func (fake *FakeRepository) ApiVersionReturns(result1 string) {
   323  	fake.ApiVersionStub = nil
   324  	fake.apiVersionReturns = struct {
   325  		result1 string
   326  	}{result1}
   327  }
   328  
   329  func (fake *FakeRepository) HasAPIEndpoint() bool {
   330  	fake.hasAPIEndpointMutex.Lock()
   331  	fake.hasAPIEndpointArgsForCall = append(fake.hasAPIEndpointArgsForCall, struct{}{})
   332  	fake.hasAPIEndpointMutex.Unlock()
   333  	if fake.HasAPIEndpointStub != nil {
   334  		return fake.HasAPIEndpointStub()
   335  	} else {
   336  		return fake.hasAPIEndpointReturns.result1
   337  	}
   338  }
   339  
   340  func (fake *FakeRepository) HasAPIEndpointCallCount() int {
   341  	fake.hasAPIEndpointMutex.RLock()
   342  	defer fake.hasAPIEndpointMutex.RUnlock()
   343  	return len(fake.hasAPIEndpointArgsForCall)
   344  }
   345  
   346  func (fake *FakeRepository) HasAPIEndpointReturns(result1 bool) {
   347  	fake.HasAPIEndpointStub = nil
   348  	fake.hasAPIEndpointReturns = struct {
   349  		result1 bool
   350  	}{result1}
   351  }
   352  
   353  func (fake *FakeRepository) AuthenticationEndpoint() string {
   354  	fake.authenticationEndpointMutex.Lock()
   355  	fake.authenticationEndpointArgsForCall = append(fake.authenticationEndpointArgsForCall, struct{}{})
   356  	fake.authenticationEndpointMutex.Unlock()
   357  	if fake.AuthenticationEndpointStub != nil {
   358  		return fake.AuthenticationEndpointStub()
   359  	} else {
   360  		return fake.authenticationEndpointReturns.result1
   361  	}
   362  }
   363  
   364  func (fake *FakeRepository) AuthenticationEndpointCallCount() int {
   365  	fake.authenticationEndpointMutex.RLock()
   366  	defer fake.authenticationEndpointMutex.RUnlock()
   367  	return len(fake.authenticationEndpointArgsForCall)
   368  }
   369  
   370  func (fake *FakeRepository) AuthenticationEndpointReturns(result1 string) {
   371  	fake.AuthenticationEndpointStub = nil
   372  	fake.authenticationEndpointReturns = struct {
   373  		result1 string
   374  	}{result1}
   375  }
   376  
   377  func (fake *FakeRepository) LoggregatorEndpoint() string {
   378  	fake.loggregatorEndpointMutex.Lock()
   379  	fake.loggregatorEndpointArgsForCall = append(fake.loggregatorEndpointArgsForCall, struct{}{})
   380  	fake.loggregatorEndpointMutex.Unlock()
   381  	if fake.LoggregatorEndpointStub != nil {
   382  		return fake.LoggregatorEndpointStub()
   383  	} else {
   384  		return fake.loggregatorEndpointReturns.result1
   385  	}
   386  }
   387  
   388  func (fake *FakeRepository) LoggregatorEndpointCallCount() int {
   389  	fake.loggregatorEndpointMutex.RLock()
   390  	defer fake.loggregatorEndpointMutex.RUnlock()
   391  	return len(fake.loggregatorEndpointArgsForCall)
   392  }
   393  
   394  func (fake *FakeRepository) LoggregatorEndpointReturns(result1 string) {
   395  	fake.LoggregatorEndpointStub = nil
   396  	fake.loggregatorEndpointReturns = struct {
   397  		result1 string
   398  	}{result1}
   399  }
   400  
   401  func (fake *FakeRepository) DopplerEndpoint() string {
   402  	fake.dopplerEndpointMutex.Lock()
   403  	fake.dopplerEndpointArgsForCall = append(fake.dopplerEndpointArgsForCall, struct{}{})
   404  	fake.dopplerEndpointMutex.Unlock()
   405  	if fake.DopplerEndpointStub != nil {
   406  		return fake.DopplerEndpointStub()
   407  	} else {
   408  		return fake.dopplerEndpointReturns.result1
   409  	}
   410  }
   411  
   412  func (fake *FakeRepository) DopplerEndpointCallCount() int {
   413  	fake.dopplerEndpointMutex.RLock()
   414  	defer fake.dopplerEndpointMutex.RUnlock()
   415  	return len(fake.dopplerEndpointArgsForCall)
   416  }
   417  
   418  func (fake *FakeRepository) DopplerEndpointReturns(result1 string) {
   419  	fake.DopplerEndpointStub = nil
   420  	fake.dopplerEndpointReturns = struct {
   421  		result1 string
   422  	}{result1}
   423  }
   424  
   425  func (fake *FakeRepository) UaaEndpoint() string {
   426  	fake.uaaEndpointMutex.Lock()
   427  	fake.uaaEndpointArgsForCall = append(fake.uaaEndpointArgsForCall, struct{}{})
   428  	fake.uaaEndpointMutex.Unlock()
   429  	if fake.UaaEndpointStub != nil {
   430  		return fake.UaaEndpointStub()
   431  	} else {
   432  		return fake.uaaEndpointReturns.result1
   433  	}
   434  }
   435  
   436  func (fake *FakeRepository) UaaEndpointCallCount() int {
   437  	fake.uaaEndpointMutex.RLock()
   438  	defer fake.uaaEndpointMutex.RUnlock()
   439  	return len(fake.uaaEndpointArgsForCall)
   440  }
   441  
   442  func (fake *FakeRepository) UaaEndpointReturns(result1 string) {
   443  	fake.UaaEndpointStub = nil
   444  	fake.uaaEndpointReturns = struct {
   445  		result1 string
   446  	}{result1}
   447  }
   448  
   449  func (fake *FakeRepository) AccessToken() string {
   450  	fake.accessTokenMutex.Lock()
   451  	fake.accessTokenArgsForCall = append(fake.accessTokenArgsForCall, struct{}{})
   452  	fake.accessTokenMutex.Unlock()
   453  	if fake.AccessTokenStub != nil {
   454  		return fake.AccessTokenStub()
   455  	} else {
   456  		return fake.accessTokenReturns.result1
   457  	}
   458  }
   459  
   460  func (fake *FakeRepository) AccessTokenCallCount() int {
   461  	fake.accessTokenMutex.RLock()
   462  	defer fake.accessTokenMutex.RUnlock()
   463  	return len(fake.accessTokenArgsForCall)
   464  }
   465  
   466  func (fake *FakeRepository) AccessTokenReturns(result1 string) {
   467  	fake.AccessTokenStub = nil
   468  	fake.accessTokenReturns = struct {
   469  		result1 string
   470  	}{result1}
   471  }
   472  
   473  func (fake *FakeRepository) RefreshToken() string {
   474  	fake.refreshTokenMutex.Lock()
   475  	fake.refreshTokenArgsForCall = append(fake.refreshTokenArgsForCall, struct{}{})
   476  	fake.refreshTokenMutex.Unlock()
   477  	if fake.RefreshTokenStub != nil {
   478  		return fake.RefreshTokenStub()
   479  	} else {
   480  		return fake.refreshTokenReturns.result1
   481  	}
   482  }
   483  
   484  func (fake *FakeRepository) RefreshTokenCallCount() int {
   485  	fake.refreshTokenMutex.RLock()
   486  	defer fake.refreshTokenMutex.RUnlock()
   487  	return len(fake.refreshTokenArgsForCall)
   488  }
   489  
   490  func (fake *FakeRepository) RefreshTokenReturns(result1 string) {
   491  	fake.RefreshTokenStub = nil
   492  	fake.refreshTokenReturns = struct {
   493  		result1 string
   494  	}{result1}
   495  }
   496  
   497  func (fake *FakeRepository) OrganizationFields() models.OrganizationFields {
   498  	fake.organizationFieldsMutex.Lock()
   499  	fake.organizationFieldsArgsForCall = append(fake.organizationFieldsArgsForCall, struct{}{})
   500  	fake.organizationFieldsMutex.Unlock()
   501  	if fake.OrganizationFieldsStub != nil {
   502  		return fake.OrganizationFieldsStub()
   503  	} else {
   504  		return fake.organizationFieldsReturns.result1
   505  	}
   506  }
   507  
   508  func (fake *FakeRepository) OrganizationFieldsCallCount() int {
   509  	fake.organizationFieldsMutex.RLock()
   510  	defer fake.organizationFieldsMutex.RUnlock()
   511  	return len(fake.organizationFieldsArgsForCall)
   512  }
   513  
   514  func (fake *FakeRepository) OrganizationFieldsReturns(result1 models.OrganizationFields) {
   515  	fake.OrganizationFieldsStub = nil
   516  	fake.organizationFieldsReturns = struct {
   517  		result1 models.OrganizationFields
   518  	}{result1}
   519  }
   520  
   521  func (fake *FakeRepository) HasOrganization() bool {
   522  	fake.hasOrganizationMutex.Lock()
   523  	fake.hasOrganizationArgsForCall = append(fake.hasOrganizationArgsForCall, struct{}{})
   524  	fake.hasOrganizationMutex.Unlock()
   525  	if fake.HasOrganizationStub != nil {
   526  		return fake.HasOrganizationStub()
   527  	} else {
   528  		return fake.hasOrganizationReturns.result1
   529  	}
   530  }
   531  
   532  func (fake *FakeRepository) HasOrganizationCallCount() int {
   533  	fake.hasOrganizationMutex.RLock()
   534  	defer fake.hasOrganizationMutex.RUnlock()
   535  	return len(fake.hasOrganizationArgsForCall)
   536  }
   537  
   538  func (fake *FakeRepository) HasOrganizationReturns(result1 bool) {
   539  	fake.HasOrganizationStub = nil
   540  	fake.hasOrganizationReturns = struct {
   541  		result1 bool
   542  	}{result1}
   543  }
   544  
   545  func (fake *FakeRepository) SpaceFields() models.SpaceFields {
   546  	fake.spaceFieldsMutex.Lock()
   547  	fake.spaceFieldsArgsForCall = append(fake.spaceFieldsArgsForCall, struct{}{})
   548  	fake.spaceFieldsMutex.Unlock()
   549  	if fake.SpaceFieldsStub != nil {
   550  		return fake.SpaceFieldsStub()
   551  	} else {
   552  		return fake.spaceFieldsReturns.result1
   553  	}
   554  }
   555  
   556  func (fake *FakeRepository) SpaceFieldsCallCount() int {
   557  	fake.spaceFieldsMutex.RLock()
   558  	defer fake.spaceFieldsMutex.RUnlock()
   559  	return len(fake.spaceFieldsArgsForCall)
   560  }
   561  
   562  func (fake *FakeRepository) SpaceFieldsReturns(result1 models.SpaceFields) {
   563  	fake.SpaceFieldsStub = nil
   564  	fake.spaceFieldsReturns = struct {
   565  		result1 models.SpaceFields
   566  	}{result1}
   567  }
   568  
   569  func (fake *FakeRepository) HasSpace() bool {
   570  	fake.hasSpaceMutex.Lock()
   571  	fake.hasSpaceArgsForCall = append(fake.hasSpaceArgsForCall, struct{}{})
   572  	fake.hasSpaceMutex.Unlock()
   573  	if fake.HasSpaceStub != nil {
   574  		return fake.HasSpaceStub()
   575  	} else {
   576  		return fake.hasSpaceReturns.result1
   577  	}
   578  }
   579  
   580  func (fake *FakeRepository) HasSpaceCallCount() int {
   581  	fake.hasSpaceMutex.RLock()
   582  	defer fake.hasSpaceMutex.RUnlock()
   583  	return len(fake.hasSpaceArgsForCall)
   584  }
   585  
   586  func (fake *FakeRepository) HasSpaceReturns(result1 bool) {
   587  	fake.HasSpaceStub = nil
   588  	fake.hasSpaceReturns = struct {
   589  		result1 bool
   590  	}{result1}
   591  }
   592  
   593  func (fake *FakeRepository) Username() string {
   594  	fake.usernameMutex.Lock()
   595  	fake.usernameArgsForCall = append(fake.usernameArgsForCall, struct{}{})
   596  	fake.usernameMutex.Unlock()
   597  	if fake.UsernameStub != nil {
   598  		return fake.UsernameStub()
   599  	} else {
   600  		return fake.usernameReturns.result1
   601  	}
   602  }
   603  
   604  func (fake *FakeRepository) UsernameCallCount() int {
   605  	fake.usernameMutex.RLock()
   606  	defer fake.usernameMutex.RUnlock()
   607  	return len(fake.usernameArgsForCall)
   608  }
   609  
   610  func (fake *FakeRepository) UsernameReturns(result1 string) {
   611  	fake.UsernameStub = nil
   612  	fake.usernameReturns = struct {
   613  		result1 string
   614  	}{result1}
   615  }
   616  
   617  func (fake *FakeRepository) UserGuid() string {
   618  	fake.userGuidMutex.Lock()
   619  	fake.userGuidArgsForCall = append(fake.userGuidArgsForCall, struct{}{})
   620  	fake.userGuidMutex.Unlock()
   621  	if fake.UserGuidStub != nil {
   622  		return fake.UserGuidStub()
   623  	} else {
   624  		return fake.userGuidReturns.result1
   625  	}
   626  }
   627  
   628  func (fake *FakeRepository) UserGuidCallCount() int {
   629  	fake.userGuidMutex.RLock()
   630  	defer fake.userGuidMutex.RUnlock()
   631  	return len(fake.userGuidArgsForCall)
   632  }
   633  
   634  func (fake *FakeRepository) UserGuidReturns(result1 string) {
   635  	fake.UserGuidStub = nil
   636  	fake.userGuidReturns = struct {
   637  		result1 string
   638  	}{result1}
   639  }
   640  
   641  func (fake *FakeRepository) UserEmail() string {
   642  	fake.userEmailMutex.Lock()
   643  	fake.userEmailArgsForCall = append(fake.userEmailArgsForCall, struct{}{})
   644  	fake.userEmailMutex.Unlock()
   645  	if fake.UserEmailStub != nil {
   646  		return fake.UserEmailStub()
   647  	} else {
   648  		return fake.userEmailReturns.result1
   649  	}
   650  }
   651  
   652  func (fake *FakeRepository) UserEmailCallCount() int {
   653  	fake.userEmailMutex.RLock()
   654  	defer fake.userEmailMutex.RUnlock()
   655  	return len(fake.userEmailArgsForCall)
   656  }
   657  
   658  func (fake *FakeRepository) UserEmailReturns(result1 string) {
   659  	fake.UserEmailStub = nil
   660  	fake.userEmailReturns = struct {
   661  		result1 string
   662  	}{result1}
   663  }
   664  
   665  func (fake *FakeRepository) IsLoggedIn() bool {
   666  	fake.isLoggedInMutex.Lock()
   667  	fake.isLoggedInArgsForCall = append(fake.isLoggedInArgsForCall, struct{}{})
   668  	fake.isLoggedInMutex.Unlock()
   669  	if fake.IsLoggedInStub != nil {
   670  		return fake.IsLoggedInStub()
   671  	} else {
   672  		return fake.isLoggedInReturns.result1
   673  	}
   674  }
   675  
   676  func (fake *FakeRepository) IsLoggedInCallCount() int {
   677  	fake.isLoggedInMutex.RLock()
   678  	defer fake.isLoggedInMutex.RUnlock()
   679  	return len(fake.isLoggedInArgsForCall)
   680  }
   681  
   682  func (fake *FakeRepository) IsLoggedInReturns(result1 bool) {
   683  	fake.IsLoggedInStub = nil
   684  	fake.isLoggedInReturns = struct {
   685  		result1 bool
   686  	}{result1}
   687  }
   688  
   689  func (fake *FakeRepository) IsSSLDisabled() bool {
   690  	fake.isSSLDisabledMutex.Lock()
   691  	fake.isSSLDisabledArgsForCall = append(fake.isSSLDisabledArgsForCall, struct{}{})
   692  	fake.isSSLDisabledMutex.Unlock()
   693  	if fake.IsSSLDisabledStub != nil {
   694  		return fake.IsSSLDisabledStub()
   695  	} else {
   696  		return fake.isSSLDisabledReturns.result1
   697  	}
   698  }
   699  
   700  func (fake *FakeRepository) IsSSLDisabledCallCount() int {
   701  	fake.isSSLDisabledMutex.RLock()
   702  	defer fake.isSSLDisabledMutex.RUnlock()
   703  	return len(fake.isSSLDisabledArgsForCall)
   704  }
   705  
   706  func (fake *FakeRepository) IsSSLDisabledReturns(result1 bool) {
   707  	fake.IsSSLDisabledStub = nil
   708  	fake.isSSLDisabledReturns = struct {
   709  		result1 bool
   710  	}{result1}
   711  }
   712  
   713  func (fake *FakeRepository) IsMinApiVersion(arg1 string) bool {
   714  	fake.isMinApiVersionMutex.Lock()
   715  	fake.isMinApiVersionArgsForCall = append(fake.isMinApiVersionArgsForCall, struct {
   716  		arg1 string
   717  	}{arg1})
   718  	fake.isMinApiVersionMutex.Unlock()
   719  	if fake.IsMinApiVersionStub != nil {
   720  		return fake.IsMinApiVersionStub(arg1)
   721  	} else {
   722  		return fake.isMinApiVersionReturns.result1
   723  	}
   724  }
   725  
   726  func (fake *FakeRepository) IsMinApiVersionCallCount() int {
   727  	fake.isMinApiVersionMutex.RLock()
   728  	defer fake.isMinApiVersionMutex.RUnlock()
   729  	return len(fake.isMinApiVersionArgsForCall)
   730  }
   731  
   732  func (fake *FakeRepository) IsMinApiVersionArgsForCall(i int) string {
   733  	fake.isMinApiVersionMutex.RLock()
   734  	defer fake.isMinApiVersionMutex.RUnlock()
   735  	return fake.isMinApiVersionArgsForCall[i].arg1
   736  }
   737  
   738  func (fake *FakeRepository) IsMinApiVersionReturns(result1 bool) {
   739  	fake.IsMinApiVersionStub = nil
   740  	fake.isMinApiVersionReturns = struct {
   741  		result1 bool
   742  	}{result1}
   743  }
   744  
   745  func (fake *FakeRepository) IsMinCliVersion(arg1 string) bool {
   746  	fake.isMinCliVersionMutex.Lock()
   747  	fake.isMinCliVersionArgsForCall = append(fake.isMinCliVersionArgsForCall, struct {
   748  		arg1 string
   749  	}{arg1})
   750  	fake.isMinCliVersionMutex.Unlock()
   751  	if fake.IsMinCliVersionStub != nil {
   752  		return fake.IsMinCliVersionStub(arg1)
   753  	} else {
   754  		return fake.isMinCliVersionReturns.result1
   755  	}
   756  }
   757  
   758  func (fake *FakeRepository) IsMinCliVersionCallCount() int {
   759  	fake.isMinCliVersionMutex.RLock()
   760  	defer fake.isMinCliVersionMutex.RUnlock()
   761  	return len(fake.isMinCliVersionArgsForCall)
   762  }
   763  
   764  func (fake *FakeRepository) IsMinCliVersionArgsForCall(i int) string {
   765  	fake.isMinCliVersionMutex.RLock()
   766  	defer fake.isMinCliVersionMutex.RUnlock()
   767  	return fake.isMinCliVersionArgsForCall[i].arg1
   768  }
   769  
   770  func (fake *FakeRepository) IsMinCliVersionReturns(result1 bool) {
   771  	fake.IsMinCliVersionStub = nil
   772  	fake.isMinCliVersionReturns = struct {
   773  		result1 bool
   774  	}{result1}
   775  }
   776  
   777  func (fake *FakeRepository) MinCliVersion() string {
   778  	fake.minCliVersionMutex.Lock()
   779  	fake.minCliVersionArgsForCall = append(fake.minCliVersionArgsForCall, struct{}{})
   780  	fake.minCliVersionMutex.Unlock()
   781  	if fake.MinCliVersionStub != nil {
   782  		return fake.MinCliVersionStub()
   783  	} else {
   784  		return fake.minCliVersionReturns.result1
   785  	}
   786  }
   787  
   788  func (fake *FakeRepository) MinCliVersionCallCount() int {
   789  	fake.minCliVersionMutex.RLock()
   790  	defer fake.minCliVersionMutex.RUnlock()
   791  	return len(fake.minCliVersionArgsForCall)
   792  }
   793  
   794  func (fake *FakeRepository) MinCliVersionReturns(result1 string) {
   795  	fake.MinCliVersionStub = nil
   796  	fake.minCliVersionReturns = struct {
   797  		result1 string
   798  	}{result1}
   799  }
   800  
   801  func (fake *FakeRepository) MinRecommendedCliVersion() string {
   802  	fake.minRecommendedCliVersionMutex.Lock()
   803  	fake.minRecommendedCliVersionArgsForCall = append(fake.minRecommendedCliVersionArgsForCall, struct{}{})
   804  	fake.minRecommendedCliVersionMutex.Unlock()
   805  	if fake.MinRecommendedCliVersionStub != nil {
   806  		return fake.MinRecommendedCliVersionStub()
   807  	} else {
   808  		return fake.minRecommendedCliVersionReturns.result1
   809  	}
   810  }
   811  
   812  func (fake *FakeRepository) MinRecommendedCliVersionCallCount() int {
   813  	fake.minRecommendedCliVersionMutex.RLock()
   814  	defer fake.minRecommendedCliVersionMutex.RUnlock()
   815  	return len(fake.minRecommendedCliVersionArgsForCall)
   816  }
   817  
   818  func (fake *FakeRepository) MinRecommendedCliVersionReturns(result1 string) {
   819  	fake.MinRecommendedCliVersionStub = nil
   820  	fake.minRecommendedCliVersionReturns = struct {
   821  		result1 string
   822  	}{result1}
   823  }
   824  
   825  func (fake *FakeRepository) AsyncTimeout() uint {
   826  	fake.asyncTimeoutMutex.Lock()
   827  	fake.asyncTimeoutArgsForCall = append(fake.asyncTimeoutArgsForCall, struct{}{})
   828  	fake.asyncTimeoutMutex.Unlock()
   829  	if fake.AsyncTimeoutStub != nil {
   830  		return fake.AsyncTimeoutStub()
   831  	} else {
   832  		return fake.asyncTimeoutReturns.result1
   833  	}
   834  }
   835  
   836  func (fake *FakeRepository) AsyncTimeoutCallCount() int {
   837  	fake.asyncTimeoutMutex.RLock()
   838  	defer fake.asyncTimeoutMutex.RUnlock()
   839  	return len(fake.asyncTimeoutArgsForCall)
   840  }
   841  
   842  func (fake *FakeRepository) AsyncTimeoutReturns(result1 uint) {
   843  	fake.AsyncTimeoutStub = nil
   844  	fake.asyncTimeoutReturns = struct {
   845  		result1 uint
   846  	}{result1}
   847  }
   848  
   849  func (fake *FakeRepository) Trace() string {
   850  	fake.traceMutex.Lock()
   851  	fake.traceArgsForCall = append(fake.traceArgsForCall, struct{}{})
   852  	fake.traceMutex.Unlock()
   853  	if fake.TraceStub != nil {
   854  		return fake.TraceStub()
   855  	} else {
   856  		return fake.traceReturns.result1
   857  	}
   858  }
   859  
   860  func (fake *FakeRepository) TraceCallCount() int {
   861  	fake.traceMutex.RLock()
   862  	defer fake.traceMutex.RUnlock()
   863  	return len(fake.traceArgsForCall)
   864  }
   865  
   866  func (fake *FakeRepository) TraceReturns(result1 string) {
   867  	fake.TraceStub = nil
   868  	fake.traceReturns = struct {
   869  		result1 string
   870  	}{result1}
   871  }
   872  
   873  func (fake *FakeRepository) ColorEnabled() string {
   874  	fake.colorEnabledMutex.Lock()
   875  	fake.colorEnabledArgsForCall = append(fake.colorEnabledArgsForCall, struct{}{})
   876  	fake.colorEnabledMutex.Unlock()
   877  	if fake.ColorEnabledStub != nil {
   878  		return fake.ColorEnabledStub()
   879  	} else {
   880  		return fake.colorEnabledReturns.result1
   881  	}
   882  }
   883  
   884  func (fake *FakeRepository) ColorEnabledCallCount() int {
   885  	fake.colorEnabledMutex.RLock()
   886  	defer fake.colorEnabledMutex.RUnlock()
   887  	return len(fake.colorEnabledArgsForCall)
   888  }
   889  
   890  func (fake *FakeRepository) ColorEnabledReturns(result1 string) {
   891  	fake.ColorEnabledStub = nil
   892  	fake.colorEnabledReturns = struct {
   893  		result1 string
   894  	}{result1}
   895  }
   896  
   897  func (fake *FakeRepository) Locale() string {
   898  	fake.localeMutex.Lock()
   899  	fake.localeArgsForCall = append(fake.localeArgsForCall, struct{}{})
   900  	fake.localeMutex.Unlock()
   901  	if fake.LocaleStub != nil {
   902  		return fake.LocaleStub()
   903  	} else {
   904  		return fake.localeReturns.result1
   905  	}
   906  }
   907  
   908  func (fake *FakeRepository) LocaleCallCount() int {
   909  	fake.localeMutex.RLock()
   910  	defer fake.localeMutex.RUnlock()
   911  	return len(fake.localeArgsForCall)
   912  }
   913  
   914  func (fake *FakeRepository) LocaleReturns(result1 string) {
   915  	fake.LocaleStub = nil
   916  	fake.localeReturns = struct {
   917  		result1 string
   918  	}{result1}
   919  }
   920  
   921  func (fake *FakeRepository) PluginRepos() []models.PluginRepo {
   922  	fake.pluginReposMutex.Lock()
   923  	fake.pluginReposArgsForCall = append(fake.pluginReposArgsForCall, struct{}{})
   924  	fake.pluginReposMutex.Unlock()
   925  	if fake.PluginReposStub != nil {
   926  		return fake.PluginReposStub()
   927  	} else {
   928  		return fake.pluginReposReturns.result1
   929  	}
   930  }
   931  
   932  func (fake *FakeRepository) PluginReposCallCount() int {
   933  	fake.pluginReposMutex.RLock()
   934  	defer fake.pluginReposMutex.RUnlock()
   935  	return len(fake.pluginReposArgsForCall)
   936  }
   937  
   938  func (fake *FakeRepository) PluginReposReturns(result1 []models.PluginRepo) {
   939  	fake.PluginReposStub = nil
   940  	fake.pluginReposReturns = struct {
   941  		result1 []models.PluginRepo
   942  	}{result1}
   943  }
   944  
   945  func (fake *FakeRepository) ClearSession() {
   946  	fake.clearSessionMutex.Lock()
   947  	fake.clearSessionArgsForCall = append(fake.clearSessionArgsForCall, struct{}{})
   948  	fake.clearSessionMutex.Unlock()
   949  	if fake.ClearSessionStub != nil {
   950  		fake.ClearSessionStub()
   951  	}
   952  }
   953  
   954  func (fake *FakeRepository) ClearSessionCallCount() int {
   955  	fake.clearSessionMutex.RLock()
   956  	defer fake.clearSessionMutex.RUnlock()
   957  	return len(fake.clearSessionArgsForCall)
   958  }
   959  
   960  func (fake *FakeRepository) SetApiEndpoint(arg1 string) {
   961  	fake.setApiEndpointMutex.Lock()
   962  	fake.setApiEndpointArgsForCall = append(fake.setApiEndpointArgsForCall, struct {
   963  		arg1 string
   964  	}{arg1})
   965  	fake.setApiEndpointMutex.Unlock()
   966  	if fake.SetApiEndpointStub != nil {
   967  		fake.SetApiEndpointStub(arg1)
   968  	}
   969  }
   970  
   971  func (fake *FakeRepository) SetApiEndpointCallCount() int {
   972  	fake.setApiEndpointMutex.RLock()
   973  	defer fake.setApiEndpointMutex.RUnlock()
   974  	return len(fake.setApiEndpointArgsForCall)
   975  }
   976  
   977  func (fake *FakeRepository) SetApiEndpointArgsForCall(i int) string {
   978  	fake.setApiEndpointMutex.RLock()
   979  	defer fake.setApiEndpointMutex.RUnlock()
   980  	return fake.setApiEndpointArgsForCall[i].arg1
   981  }
   982  
   983  func (fake *FakeRepository) SetApiVersion(arg1 string) {
   984  	fake.setApiVersionMutex.Lock()
   985  	fake.setApiVersionArgsForCall = append(fake.setApiVersionArgsForCall, struct {
   986  		arg1 string
   987  	}{arg1})
   988  	fake.setApiVersionMutex.Unlock()
   989  	if fake.SetApiVersionStub != nil {
   990  		fake.SetApiVersionStub(arg1)
   991  	}
   992  }
   993  
   994  func (fake *FakeRepository) SetApiVersionCallCount() int {
   995  	fake.setApiVersionMutex.RLock()
   996  	defer fake.setApiVersionMutex.RUnlock()
   997  	return len(fake.setApiVersionArgsForCall)
   998  }
   999  
  1000  func (fake *FakeRepository) SetApiVersionArgsForCall(i int) string {
  1001  	fake.setApiVersionMutex.RLock()
  1002  	defer fake.setApiVersionMutex.RUnlock()
  1003  	return fake.setApiVersionArgsForCall[i].arg1
  1004  }
  1005  
  1006  func (fake *FakeRepository) SetMinCliVersion(arg1 string) {
  1007  	fake.setMinCliVersionMutex.Lock()
  1008  	fake.setMinCliVersionArgsForCall = append(fake.setMinCliVersionArgsForCall, struct {
  1009  		arg1 string
  1010  	}{arg1})
  1011  	fake.setMinCliVersionMutex.Unlock()
  1012  	if fake.SetMinCliVersionStub != nil {
  1013  		fake.SetMinCliVersionStub(arg1)
  1014  	}
  1015  }
  1016  
  1017  func (fake *FakeRepository) SetMinCliVersionCallCount() int {
  1018  	fake.setMinCliVersionMutex.RLock()
  1019  	defer fake.setMinCliVersionMutex.RUnlock()
  1020  	return len(fake.setMinCliVersionArgsForCall)
  1021  }
  1022  
  1023  func (fake *FakeRepository) SetMinCliVersionArgsForCall(i int) string {
  1024  	fake.setMinCliVersionMutex.RLock()
  1025  	defer fake.setMinCliVersionMutex.RUnlock()
  1026  	return fake.setMinCliVersionArgsForCall[i].arg1
  1027  }
  1028  
  1029  func (fake *FakeRepository) SetMinRecommendedCliVersion(arg1 string) {
  1030  	fake.setMinRecommendedCliVersionMutex.Lock()
  1031  	fake.setMinRecommendedCliVersionArgsForCall = append(fake.setMinRecommendedCliVersionArgsForCall, struct {
  1032  		arg1 string
  1033  	}{arg1})
  1034  	fake.setMinRecommendedCliVersionMutex.Unlock()
  1035  	if fake.SetMinRecommendedCliVersionStub != nil {
  1036  		fake.SetMinRecommendedCliVersionStub(arg1)
  1037  	}
  1038  }
  1039  
  1040  func (fake *FakeRepository) SetMinRecommendedCliVersionCallCount() int {
  1041  	fake.setMinRecommendedCliVersionMutex.RLock()
  1042  	defer fake.setMinRecommendedCliVersionMutex.RUnlock()
  1043  	return len(fake.setMinRecommendedCliVersionArgsForCall)
  1044  }
  1045  
  1046  func (fake *FakeRepository) SetMinRecommendedCliVersionArgsForCall(i int) string {
  1047  	fake.setMinRecommendedCliVersionMutex.RLock()
  1048  	defer fake.setMinRecommendedCliVersionMutex.RUnlock()
  1049  	return fake.setMinRecommendedCliVersionArgsForCall[i].arg1
  1050  }
  1051  
  1052  func (fake *FakeRepository) SetAuthenticationEndpoint(arg1 string) {
  1053  	fake.setAuthenticationEndpointMutex.Lock()
  1054  	fake.setAuthenticationEndpointArgsForCall = append(fake.setAuthenticationEndpointArgsForCall, struct {
  1055  		arg1 string
  1056  	}{arg1})
  1057  	fake.setAuthenticationEndpointMutex.Unlock()
  1058  	if fake.SetAuthenticationEndpointStub != nil {
  1059  		fake.SetAuthenticationEndpointStub(arg1)
  1060  	}
  1061  }
  1062  
  1063  func (fake *FakeRepository) SetAuthenticationEndpointCallCount() int {
  1064  	fake.setAuthenticationEndpointMutex.RLock()
  1065  	defer fake.setAuthenticationEndpointMutex.RUnlock()
  1066  	return len(fake.setAuthenticationEndpointArgsForCall)
  1067  }
  1068  
  1069  func (fake *FakeRepository) SetAuthenticationEndpointArgsForCall(i int) string {
  1070  	fake.setAuthenticationEndpointMutex.RLock()
  1071  	defer fake.setAuthenticationEndpointMutex.RUnlock()
  1072  	return fake.setAuthenticationEndpointArgsForCall[i].arg1
  1073  }
  1074  
  1075  func (fake *FakeRepository) SetLoggregatorEndpoint(arg1 string) {
  1076  	fake.setLoggregatorEndpointMutex.Lock()
  1077  	fake.setLoggregatorEndpointArgsForCall = append(fake.setLoggregatorEndpointArgsForCall, struct {
  1078  		arg1 string
  1079  	}{arg1})
  1080  	fake.setLoggregatorEndpointMutex.Unlock()
  1081  	if fake.SetLoggregatorEndpointStub != nil {
  1082  		fake.SetLoggregatorEndpointStub(arg1)
  1083  	}
  1084  }
  1085  
  1086  func (fake *FakeRepository) SetLoggregatorEndpointCallCount() int {
  1087  	fake.setLoggregatorEndpointMutex.RLock()
  1088  	defer fake.setLoggregatorEndpointMutex.RUnlock()
  1089  	return len(fake.setLoggregatorEndpointArgsForCall)
  1090  }
  1091  
  1092  func (fake *FakeRepository) SetLoggregatorEndpointArgsForCall(i int) string {
  1093  	fake.setLoggregatorEndpointMutex.RLock()
  1094  	defer fake.setLoggregatorEndpointMutex.RUnlock()
  1095  	return fake.setLoggregatorEndpointArgsForCall[i].arg1
  1096  }
  1097  
  1098  func (fake *FakeRepository) SetDopplerEndpoint(arg1 string) {
  1099  	fake.setDopplerEndpointMutex.Lock()
  1100  	fake.setDopplerEndpointArgsForCall = append(fake.setDopplerEndpointArgsForCall, struct {
  1101  		arg1 string
  1102  	}{arg1})
  1103  	fake.setDopplerEndpointMutex.Unlock()
  1104  	if fake.SetDopplerEndpointStub != nil {
  1105  		fake.SetDopplerEndpointStub(arg1)
  1106  	}
  1107  }
  1108  
  1109  func (fake *FakeRepository) SetDopplerEndpointCallCount() int {
  1110  	fake.setDopplerEndpointMutex.RLock()
  1111  	defer fake.setDopplerEndpointMutex.RUnlock()
  1112  	return len(fake.setDopplerEndpointArgsForCall)
  1113  }
  1114  
  1115  func (fake *FakeRepository) SetDopplerEndpointArgsForCall(i int) string {
  1116  	fake.setDopplerEndpointMutex.RLock()
  1117  	defer fake.setDopplerEndpointMutex.RUnlock()
  1118  	return fake.setDopplerEndpointArgsForCall[i].arg1
  1119  }
  1120  
  1121  func (fake *FakeRepository) SetUaaEndpoint(arg1 string) {
  1122  	fake.setUaaEndpointMutex.Lock()
  1123  	fake.setUaaEndpointArgsForCall = append(fake.setUaaEndpointArgsForCall, struct {
  1124  		arg1 string
  1125  	}{arg1})
  1126  	fake.setUaaEndpointMutex.Unlock()
  1127  	if fake.SetUaaEndpointStub != nil {
  1128  		fake.SetUaaEndpointStub(arg1)
  1129  	}
  1130  }
  1131  
  1132  func (fake *FakeRepository) SetUaaEndpointCallCount() int {
  1133  	fake.setUaaEndpointMutex.RLock()
  1134  	defer fake.setUaaEndpointMutex.RUnlock()
  1135  	return len(fake.setUaaEndpointArgsForCall)
  1136  }
  1137  
  1138  func (fake *FakeRepository) SetUaaEndpointArgsForCall(i int) string {
  1139  	fake.setUaaEndpointMutex.RLock()
  1140  	defer fake.setUaaEndpointMutex.RUnlock()
  1141  	return fake.setUaaEndpointArgsForCall[i].arg1
  1142  }
  1143  
  1144  func (fake *FakeRepository) SetAccessToken(arg1 string) {
  1145  	fake.setAccessTokenMutex.Lock()
  1146  	fake.setAccessTokenArgsForCall = append(fake.setAccessTokenArgsForCall, struct {
  1147  		arg1 string
  1148  	}{arg1})
  1149  	fake.setAccessTokenMutex.Unlock()
  1150  	if fake.SetAccessTokenStub != nil {
  1151  		fake.SetAccessTokenStub(arg1)
  1152  	}
  1153  }
  1154  
  1155  func (fake *FakeRepository) SetAccessTokenCallCount() int {
  1156  	fake.setAccessTokenMutex.RLock()
  1157  	defer fake.setAccessTokenMutex.RUnlock()
  1158  	return len(fake.setAccessTokenArgsForCall)
  1159  }
  1160  
  1161  func (fake *FakeRepository) SetAccessTokenArgsForCall(i int) string {
  1162  	fake.setAccessTokenMutex.RLock()
  1163  	defer fake.setAccessTokenMutex.RUnlock()
  1164  	return fake.setAccessTokenArgsForCall[i].arg1
  1165  }
  1166  
  1167  func (fake *FakeRepository) SetRefreshToken(arg1 string) {
  1168  	fake.setRefreshTokenMutex.Lock()
  1169  	fake.setRefreshTokenArgsForCall = append(fake.setRefreshTokenArgsForCall, struct {
  1170  		arg1 string
  1171  	}{arg1})
  1172  	fake.setRefreshTokenMutex.Unlock()
  1173  	if fake.SetRefreshTokenStub != nil {
  1174  		fake.SetRefreshTokenStub(arg1)
  1175  	}
  1176  }
  1177  
  1178  func (fake *FakeRepository) SetRefreshTokenCallCount() int {
  1179  	fake.setRefreshTokenMutex.RLock()
  1180  	defer fake.setRefreshTokenMutex.RUnlock()
  1181  	return len(fake.setRefreshTokenArgsForCall)
  1182  }
  1183  
  1184  func (fake *FakeRepository) SetRefreshTokenArgsForCall(i int) string {
  1185  	fake.setRefreshTokenMutex.RLock()
  1186  	defer fake.setRefreshTokenMutex.RUnlock()
  1187  	return fake.setRefreshTokenArgsForCall[i].arg1
  1188  }
  1189  
  1190  func (fake *FakeRepository) SetOrganizationFields(arg1 models.OrganizationFields) {
  1191  	fake.setOrganizationFieldsMutex.Lock()
  1192  	fake.setOrganizationFieldsArgsForCall = append(fake.setOrganizationFieldsArgsForCall, struct {
  1193  		arg1 models.OrganizationFields
  1194  	}{arg1})
  1195  	fake.setOrganizationFieldsMutex.Unlock()
  1196  	if fake.SetOrganizationFieldsStub != nil {
  1197  		fake.SetOrganizationFieldsStub(arg1)
  1198  	}
  1199  }
  1200  
  1201  func (fake *FakeRepository) SetOrganizationFieldsCallCount() int {
  1202  	fake.setOrganizationFieldsMutex.RLock()
  1203  	defer fake.setOrganizationFieldsMutex.RUnlock()
  1204  	return len(fake.setOrganizationFieldsArgsForCall)
  1205  }
  1206  
  1207  func (fake *FakeRepository) SetOrganizationFieldsArgsForCall(i int) models.OrganizationFields {
  1208  	fake.setOrganizationFieldsMutex.RLock()
  1209  	defer fake.setOrganizationFieldsMutex.RUnlock()
  1210  	return fake.setOrganizationFieldsArgsForCall[i].arg1
  1211  }
  1212  
  1213  func (fake *FakeRepository) SetSpaceFields(arg1 models.SpaceFields) {
  1214  	fake.setSpaceFieldsMutex.Lock()
  1215  	fake.setSpaceFieldsArgsForCall = append(fake.setSpaceFieldsArgsForCall, struct {
  1216  		arg1 models.SpaceFields
  1217  	}{arg1})
  1218  	fake.setSpaceFieldsMutex.Unlock()
  1219  	if fake.SetSpaceFieldsStub != nil {
  1220  		fake.SetSpaceFieldsStub(arg1)
  1221  	}
  1222  }
  1223  
  1224  func (fake *FakeRepository) SetSpaceFieldsCallCount() int {
  1225  	fake.setSpaceFieldsMutex.RLock()
  1226  	defer fake.setSpaceFieldsMutex.RUnlock()
  1227  	return len(fake.setSpaceFieldsArgsForCall)
  1228  }
  1229  
  1230  func (fake *FakeRepository) SetSpaceFieldsArgsForCall(i int) models.SpaceFields {
  1231  	fake.setSpaceFieldsMutex.RLock()
  1232  	defer fake.setSpaceFieldsMutex.RUnlock()
  1233  	return fake.setSpaceFieldsArgsForCall[i].arg1
  1234  }
  1235  
  1236  func (fake *FakeRepository) SetSSLDisabled(arg1 bool) {
  1237  	fake.setSSLDisabledMutex.Lock()
  1238  	fake.setSSLDisabledArgsForCall = append(fake.setSSLDisabledArgsForCall, struct {
  1239  		arg1 bool
  1240  	}{arg1})
  1241  	fake.setSSLDisabledMutex.Unlock()
  1242  	if fake.SetSSLDisabledStub != nil {
  1243  		fake.SetSSLDisabledStub(arg1)
  1244  	}
  1245  }
  1246  
  1247  func (fake *FakeRepository) SetSSLDisabledCallCount() int {
  1248  	fake.setSSLDisabledMutex.RLock()
  1249  	defer fake.setSSLDisabledMutex.RUnlock()
  1250  	return len(fake.setSSLDisabledArgsForCall)
  1251  }
  1252  
  1253  func (fake *FakeRepository) SetSSLDisabledArgsForCall(i int) bool {
  1254  	fake.setSSLDisabledMutex.RLock()
  1255  	defer fake.setSSLDisabledMutex.RUnlock()
  1256  	return fake.setSSLDisabledArgsForCall[i].arg1
  1257  }
  1258  
  1259  func (fake *FakeRepository) SetAsyncTimeout(arg1 uint) {
  1260  	fake.setAsyncTimeoutMutex.Lock()
  1261  	fake.setAsyncTimeoutArgsForCall = append(fake.setAsyncTimeoutArgsForCall, struct {
  1262  		arg1 uint
  1263  	}{arg1})
  1264  	fake.setAsyncTimeoutMutex.Unlock()
  1265  	if fake.SetAsyncTimeoutStub != nil {
  1266  		fake.SetAsyncTimeoutStub(arg1)
  1267  	}
  1268  }
  1269  
  1270  func (fake *FakeRepository) SetAsyncTimeoutCallCount() int {
  1271  	fake.setAsyncTimeoutMutex.RLock()
  1272  	defer fake.setAsyncTimeoutMutex.RUnlock()
  1273  	return len(fake.setAsyncTimeoutArgsForCall)
  1274  }
  1275  
  1276  func (fake *FakeRepository) SetAsyncTimeoutArgsForCall(i int) uint {
  1277  	fake.setAsyncTimeoutMutex.RLock()
  1278  	defer fake.setAsyncTimeoutMutex.RUnlock()
  1279  	return fake.setAsyncTimeoutArgsForCall[i].arg1
  1280  }
  1281  
  1282  func (fake *FakeRepository) SetTrace(arg1 string) {
  1283  	fake.setTraceMutex.Lock()
  1284  	fake.setTraceArgsForCall = append(fake.setTraceArgsForCall, struct {
  1285  		arg1 string
  1286  	}{arg1})
  1287  	fake.setTraceMutex.Unlock()
  1288  	if fake.SetTraceStub != nil {
  1289  		fake.SetTraceStub(arg1)
  1290  	}
  1291  }
  1292  
  1293  func (fake *FakeRepository) SetTraceCallCount() int {
  1294  	fake.setTraceMutex.RLock()
  1295  	defer fake.setTraceMutex.RUnlock()
  1296  	return len(fake.setTraceArgsForCall)
  1297  }
  1298  
  1299  func (fake *FakeRepository) SetTraceArgsForCall(i int) string {
  1300  	fake.setTraceMutex.RLock()
  1301  	defer fake.setTraceMutex.RUnlock()
  1302  	return fake.setTraceArgsForCall[i].arg1
  1303  }
  1304  
  1305  func (fake *FakeRepository) SetColorEnabled(arg1 string) {
  1306  	fake.setColorEnabledMutex.Lock()
  1307  	fake.setColorEnabledArgsForCall = append(fake.setColorEnabledArgsForCall, struct {
  1308  		arg1 string
  1309  	}{arg1})
  1310  	fake.setColorEnabledMutex.Unlock()
  1311  	if fake.SetColorEnabledStub != nil {
  1312  		fake.SetColorEnabledStub(arg1)
  1313  	}
  1314  }
  1315  
  1316  func (fake *FakeRepository) SetColorEnabledCallCount() int {
  1317  	fake.setColorEnabledMutex.RLock()
  1318  	defer fake.setColorEnabledMutex.RUnlock()
  1319  	return len(fake.setColorEnabledArgsForCall)
  1320  }
  1321  
  1322  func (fake *FakeRepository) SetColorEnabledArgsForCall(i int) string {
  1323  	fake.setColorEnabledMutex.RLock()
  1324  	defer fake.setColorEnabledMutex.RUnlock()
  1325  	return fake.setColorEnabledArgsForCall[i].arg1
  1326  }
  1327  
  1328  func (fake *FakeRepository) SetLocale(arg1 string) {
  1329  	fake.setLocaleMutex.Lock()
  1330  	fake.setLocaleArgsForCall = append(fake.setLocaleArgsForCall, struct {
  1331  		arg1 string
  1332  	}{arg1})
  1333  	fake.setLocaleMutex.Unlock()
  1334  	if fake.SetLocaleStub != nil {
  1335  		fake.SetLocaleStub(arg1)
  1336  	}
  1337  }
  1338  
  1339  func (fake *FakeRepository) SetLocaleCallCount() int {
  1340  	fake.setLocaleMutex.RLock()
  1341  	defer fake.setLocaleMutex.RUnlock()
  1342  	return len(fake.setLocaleArgsForCall)
  1343  }
  1344  
  1345  func (fake *FakeRepository) SetLocaleArgsForCall(i int) string {
  1346  	fake.setLocaleMutex.RLock()
  1347  	defer fake.setLocaleMutex.RUnlock()
  1348  	return fake.setLocaleArgsForCall[i].arg1
  1349  }
  1350  
  1351  func (fake *FakeRepository) SetPluginRepo(arg1 models.PluginRepo) {
  1352  	fake.setPluginRepoMutex.Lock()
  1353  	fake.setPluginRepoArgsForCall = append(fake.setPluginRepoArgsForCall, struct {
  1354  		arg1 models.PluginRepo
  1355  	}{arg1})
  1356  	fake.setPluginRepoMutex.Unlock()
  1357  	if fake.SetPluginRepoStub != nil {
  1358  		fake.SetPluginRepoStub(arg1)
  1359  	}
  1360  }
  1361  
  1362  func (fake *FakeRepository) SetPluginRepoCallCount() int {
  1363  	fake.setPluginRepoMutex.RLock()
  1364  	defer fake.setPluginRepoMutex.RUnlock()
  1365  	return len(fake.setPluginRepoArgsForCall)
  1366  }
  1367  
  1368  func (fake *FakeRepository) SetPluginRepoArgsForCall(i int) models.PluginRepo {
  1369  	fake.setPluginRepoMutex.RLock()
  1370  	defer fake.setPluginRepoMutex.RUnlock()
  1371  	return fake.setPluginRepoArgsForCall[i].arg1
  1372  }
  1373  
  1374  func (fake *FakeRepository) UnSetPluginRepo(arg1 int) {
  1375  	fake.unSetPluginRepoMutex.Lock()
  1376  	fake.unSetPluginRepoArgsForCall = append(fake.unSetPluginRepoArgsForCall, struct {
  1377  		arg1 int
  1378  	}{arg1})
  1379  	fake.unSetPluginRepoMutex.Unlock()
  1380  	if fake.UnSetPluginRepoStub != nil {
  1381  		fake.UnSetPluginRepoStub(arg1)
  1382  	}
  1383  }
  1384  
  1385  func (fake *FakeRepository) UnSetPluginRepoCallCount() int {
  1386  	fake.unSetPluginRepoMutex.RLock()
  1387  	defer fake.unSetPluginRepoMutex.RUnlock()
  1388  	return len(fake.unSetPluginRepoArgsForCall)
  1389  }
  1390  
  1391  func (fake *FakeRepository) UnSetPluginRepoArgsForCall(i int) int {
  1392  	fake.unSetPluginRepoMutex.RLock()
  1393  	defer fake.unSetPluginRepoMutex.RUnlock()
  1394  	return fake.unSetPluginRepoArgsForCall[i].arg1
  1395  }
  1396  
  1397  func (fake *FakeRepository) Close() {
  1398  	fake.closeMutex.Lock()
  1399  	fake.closeArgsForCall = append(fake.closeArgsForCall, struct{}{})
  1400  	fake.closeMutex.Unlock()
  1401  	if fake.CloseStub != nil {
  1402  		fake.CloseStub()
  1403  	}
  1404  }
  1405  
  1406  func (fake *FakeRepository) CloseCallCount() int {
  1407  	fake.closeMutex.RLock()
  1408  	defer fake.closeMutex.RUnlock()
  1409  	return len(fake.closeArgsForCall)
  1410  }
  1411  
  1412  var _ core_config.Repository = new(FakeRepository)