github.com/argoproj/argo-cd/v3@v3.2.1/reposerver/apiclient/mocks/RepoServerServiceClient.go (about)

     1  // Code generated by mockery; DO NOT EDIT.
     2  // github.com/vektra/mockery
     3  // template: testify
     4  
     5  package mocks
     6  
     7  import (
     8  	"context"
     9  
    10  	"github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1"
    11  	"github.com/argoproj/argo-cd/v3/reposerver/apiclient"
    12  	mock "github.com/stretchr/testify/mock"
    13  	"google.golang.org/grpc"
    14  	"google.golang.org/protobuf/types/known/emptypb"
    15  )
    16  
    17  // NewRepoServerServiceClient creates a new instance of RepoServerServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    18  // The first argument is typically a *testing.T value.
    19  func NewRepoServerServiceClient(t interface {
    20  	mock.TestingT
    21  	Cleanup(func())
    22  }) *RepoServerServiceClient {
    23  	mock := &RepoServerServiceClient{}
    24  	mock.Mock.Test(t)
    25  
    26  	t.Cleanup(func() { mock.AssertExpectations(t) })
    27  
    28  	return mock
    29  }
    30  
    31  // RepoServerServiceClient is an autogenerated mock type for the RepoServerServiceClient type
    32  type RepoServerServiceClient struct {
    33  	mock.Mock
    34  }
    35  
    36  type RepoServerServiceClient_Expecter struct {
    37  	mock *mock.Mock
    38  }
    39  
    40  func (_m *RepoServerServiceClient) EXPECT() *RepoServerServiceClient_Expecter {
    41  	return &RepoServerServiceClient_Expecter{mock: &_m.Mock}
    42  }
    43  
    44  // GenerateManifest provides a mock function for the type RepoServerServiceClient
    45  func (_mock *RepoServerServiceClient) GenerateManifest(ctx context.Context, in *apiclient.ManifestRequest, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error) {
    46  	// grpc.CallOption
    47  	_va := make([]interface{}, len(opts))
    48  	for _i := range opts {
    49  		_va[_i] = opts[_i]
    50  	}
    51  	var _ca []interface{}
    52  	_ca = append(_ca, ctx, in)
    53  	_ca = append(_ca, _va...)
    54  	ret := _mock.Called(_ca...)
    55  
    56  	if len(ret) == 0 {
    57  		panic("no return value specified for GenerateManifest")
    58  	}
    59  
    60  	var r0 *apiclient.ManifestResponse
    61  	var r1 error
    62  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ManifestRequest, ...grpc.CallOption) (*apiclient.ManifestResponse, error)); ok {
    63  		return returnFunc(ctx, in, opts...)
    64  	}
    65  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ManifestRequest, ...grpc.CallOption) *apiclient.ManifestResponse); ok {
    66  		r0 = returnFunc(ctx, in, opts...)
    67  	} else {
    68  		if ret.Get(0) != nil {
    69  			r0 = ret.Get(0).(*apiclient.ManifestResponse)
    70  		}
    71  	}
    72  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.ManifestRequest, ...grpc.CallOption) error); ok {
    73  		r1 = returnFunc(ctx, in, opts...)
    74  	} else {
    75  		r1 = ret.Error(1)
    76  	}
    77  	return r0, r1
    78  }
    79  
    80  // RepoServerServiceClient_GenerateManifest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateManifest'
    81  type RepoServerServiceClient_GenerateManifest_Call struct {
    82  	*mock.Call
    83  }
    84  
    85  // GenerateManifest is a helper method to define mock.On call
    86  //   - ctx context.Context
    87  //   - in *apiclient.ManifestRequest
    88  //   - opts ...grpc.CallOption
    89  func (_e *RepoServerServiceClient_Expecter) GenerateManifest(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GenerateManifest_Call {
    90  	return &RepoServerServiceClient_GenerateManifest_Call{Call: _e.mock.On("GenerateManifest",
    91  		append([]interface{}{ctx, in}, opts...)...)}
    92  }
    93  
    94  func (_c *RepoServerServiceClient_GenerateManifest_Call) Run(run func(ctx context.Context, in *apiclient.ManifestRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GenerateManifest_Call {
    95  	_c.Call.Run(func(args mock.Arguments) {
    96  		var arg0 context.Context
    97  		if args[0] != nil {
    98  			arg0 = args[0].(context.Context)
    99  		}
   100  		var arg1 *apiclient.ManifestRequest
   101  		if args[1] != nil {
   102  			arg1 = args[1].(*apiclient.ManifestRequest)
   103  		}
   104  		var arg2 []grpc.CallOption
   105  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   106  		for i, a := range args[2:] {
   107  			if a != nil {
   108  				variadicArgs[i] = a.(grpc.CallOption)
   109  			}
   110  		}
   111  		arg2 = variadicArgs
   112  		run(
   113  			arg0,
   114  			arg1,
   115  			arg2...,
   116  		)
   117  	})
   118  	return _c
   119  }
   120  
   121  func (_c *RepoServerServiceClient_GenerateManifest_Call) Return(manifestResponse *apiclient.ManifestResponse, err error) *RepoServerServiceClient_GenerateManifest_Call {
   122  	_c.Call.Return(manifestResponse, err)
   123  	return _c
   124  }
   125  
   126  func (_c *RepoServerServiceClient_GenerateManifest_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.ManifestRequest, opts ...grpc.CallOption) (*apiclient.ManifestResponse, error)) *RepoServerServiceClient_GenerateManifest_Call {
   127  	_c.Call.Return(run)
   128  	return _c
   129  }
   130  
   131  // GenerateManifestWithFiles provides a mock function for the type RepoServerServiceClient
   132  func (_mock *RepoServerServiceClient) GenerateManifestWithFiles(ctx context.Context, opts ...grpc.CallOption) (apiclient.RepoServerService_GenerateManifestWithFilesClient, error) {
   133  	// grpc.CallOption
   134  	_va := make([]interface{}, len(opts))
   135  	for _i := range opts {
   136  		_va[_i] = opts[_i]
   137  	}
   138  	var _ca []interface{}
   139  	_ca = append(_ca, ctx)
   140  	_ca = append(_ca, _va...)
   141  	ret := _mock.Called(_ca...)
   142  
   143  	if len(ret) == 0 {
   144  		panic("no return value specified for GenerateManifestWithFiles")
   145  	}
   146  
   147  	var r0 apiclient.RepoServerService_GenerateManifestWithFilesClient
   148  	var r1 error
   149  	if returnFunc, ok := ret.Get(0).(func(context.Context, ...grpc.CallOption) (apiclient.RepoServerService_GenerateManifestWithFilesClient, error)); ok {
   150  		return returnFunc(ctx, opts...)
   151  	}
   152  	if returnFunc, ok := ret.Get(0).(func(context.Context, ...grpc.CallOption) apiclient.RepoServerService_GenerateManifestWithFilesClient); ok {
   153  		r0 = returnFunc(ctx, opts...)
   154  	} else {
   155  		if ret.Get(0) != nil {
   156  			r0 = ret.Get(0).(apiclient.RepoServerService_GenerateManifestWithFilesClient)
   157  		}
   158  	}
   159  	if returnFunc, ok := ret.Get(1).(func(context.Context, ...grpc.CallOption) error); ok {
   160  		r1 = returnFunc(ctx, opts...)
   161  	} else {
   162  		r1 = ret.Error(1)
   163  	}
   164  	return r0, r1
   165  }
   166  
   167  // RepoServerServiceClient_GenerateManifestWithFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateManifestWithFiles'
   168  type RepoServerServiceClient_GenerateManifestWithFiles_Call struct {
   169  	*mock.Call
   170  }
   171  
   172  // GenerateManifestWithFiles is a helper method to define mock.On call
   173  //   - ctx context.Context
   174  //   - opts ...grpc.CallOption
   175  func (_e *RepoServerServiceClient_Expecter) GenerateManifestWithFiles(ctx interface{}, opts ...interface{}) *RepoServerServiceClient_GenerateManifestWithFiles_Call {
   176  	return &RepoServerServiceClient_GenerateManifestWithFiles_Call{Call: _e.mock.On("GenerateManifestWithFiles",
   177  		append([]interface{}{ctx}, opts...)...)}
   178  }
   179  
   180  func (_c *RepoServerServiceClient_GenerateManifestWithFiles_Call) Run(run func(ctx context.Context, opts ...grpc.CallOption)) *RepoServerServiceClient_GenerateManifestWithFiles_Call {
   181  	_c.Call.Run(func(args mock.Arguments) {
   182  		var arg0 context.Context
   183  		if args[0] != nil {
   184  			arg0 = args[0].(context.Context)
   185  		}
   186  		var arg1 []grpc.CallOption
   187  		variadicArgs := make([]grpc.CallOption, len(args)-1)
   188  		for i, a := range args[1:] {
   189  			if a != nil {
   190  				variadicArgs[i] = a.(grpc.CallOption)
   191  			}
   192  		}
   193  		arg1 = variadicArgs
   194  		run(
   195  			arg0,
   196  			arg1...,
   197  		)
   198  	})
   199  	return _c
   200  }
   201  
   202  func (_c *RepoServerServiceClient_GenerateManifestWithFiles_Call) Return(repoServerService_GenerateManifestWithFilesClient apiclient.RepoServerService_GenerateManifestWithFilesClient, err error) *RepoServerServiceClient_GenerateManifestWithFiles_Call {
   203  	_c.Call.Return(repoServerService_GenerateManifestWithFilesClient, err)
   204  	return _c
   205  }
   206  
   207  func (_c *RepoServerServiceClient_GenerateManifestWithFiles_Call) RunAndReturn(run func(ctx context.Context, opts ...grpc.CallOption) (apiclient.RepoServerService_GenerateManifestWithFilesClient, error)) *RepoServerServiceClient_GenerateManifestWithFiles_Call {
   208  	_c.Call.Return(run)
   209  	return _c
   210  }
   211  
   212  // GetAppDetails provides a mock function for the type RepoServerServiceClient
   213  func (_mock *RepoServerServiceClient) GetAppDetails(ctx context.Context, in *apiclient.RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*apiclient.RepoAppDetailsResponse, error) {
   214  	// grpc.CallOption
   215  	_va := make([]interface{}, len(opts))
   216  	for _i := range opts {
   217  		_va[_i] = opts[_i]
   218  	}
   219  	var _ca []interface{}
   220  	_ca = append(_ca, ctx, in)
   221  	_ca = append(_ca, _va...)
   222  	ret := _mock.Called(_ca...)
   223  
   224  	if len(ret) == 0 {
   225  		panic("no return value specified for GetAppDetails")
   226  	}
   227  
   228  	var r0 *apiclient.RepoAppDetailsResponse
   229  	var r1 error
   230  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerAppDetailsQuery, ...grpc.CallOption) (*apiclient.RepoAppDetailsResponse, error)); ok {
   231  		return returnFunc(ctx, in, opts...)
   232  	}
   233  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerAppDetailsQuery, ...grpc.CallOption) *apiclient.RepoAppDetailsResponse); ok {
   234  		r0 = returnFunc(ctx, in, opts...)
   235  	} else {
   236  		if ret.Get(0) != nil {
   237  			r0 = ret.Get(0).(*apiclient.RepoAppDetailsResponse)
   238  		}
   239  	}
   240  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.RepoServerAppDetailsQuery, ...grpc.CallOption) error); ok {
   241  		r1 = returnFunc(ctx, in, opts...)
   242  	} else {
   243  		r1 = ret.Error(1)
   244  	}
   245  	return r0, r1
   246  }
   247  
   248  // RepoServerServiceClient_GetAppDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAppDetails'
   249  type RepoServerServiceClient_GetAppDetails_Call struct {
   250  	*mock.Call
   251  }
   252  
   253  // GetAppDetails is a helper method to define mock.On call
   254  //   - ctx context.Context
   255  //   - in *apiclient.RepoServerAppDetailsQuery
   256  //   - opts ...grpc.CallOption
   257  func (_e *RepoServerServiceClient_Expecter) GetAppDetails(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetAppDetails_Call {
   258  	return &RepoServerServiceClient_GetAppDetails_Call{Call: _e.mock.On("GetAppDetails",
   259  		append([]interface{}{ctx, in}, opts...)...)}
   260  }
   261  
   262  func (_c *RepoServerServiceClient_GetAppDetails_Call) Run(run func(ctx context.Context, in *apiclient.RepoServerAppDetailsQuery, opts ...grpc.CallOption)) *RepoServerServiceClient_GetAppDetails_Call {
   263  	_c.Call.Run(func(args mock.Arguments) {
   264  		var arg0 context.Context
   265  		if args[0] != nil {
   266  			arg0 = args[0].(context.Context)
   267  		}
   268  		var arg1 *apiclient.RepoServerAppDetailsQuery
   269  		if args[1] != nil {
   270  			arg1 = args[1].(*apiclient.RepoServerAppDetailsQuery)
   271  		}
   272  		var arg2 []grpc.CallOption
   273  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   274  		for i, a := range args[2:] {
   275  			if a != nil {
   276  				variadicArgs[i] = a.(grpc.CallOption)
   277  			}
   278  		}
   279  		arg2 = variadicArgs
   280  		run(
   281  			arg0,
   282  			arg1,
   283  			arg2...,
   284  		)
   285  	})
   286  	return _c
   287  }
   288  
   289  func (_c *RepoServerServiceClient_GetAppDetails_Call) Return(repoAppDetailsResponse *apiclient.RepoAppDetailsResponse, err error) *RepoServerServiceClient_GetAppDetails_Call {
   290  	_c.Call.Return(repoAppDetailsResponse, err)
   291  	return _c
   292  }
   293  
   294  func (_c *RepoServerServiceClient_GetAppDetails_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.RepoServerAppDetailsQuery, opts ...grpc.CallOption) (*apiclient.RepoAppDetailsResponse, error)) *RepoServerServiceClient_GetAppDetails_Call {
   295  	_c.Call.Return(run)
   296  	return _c
   297  }
   298  
   299  // GetGitDirectories provides a mock function for the type RepoServerServiceClient
   300  func (_mock *RepoServerServiceClient) GetGitDirectories(ctx context.Context, in *apiclient.GitDirectoriesRequest, opts ...grpc.CallOption) (*apiclient.GitDirectoriesResponse, error) {
   301  	// grpc.CallOption
   302  	_va := make([]interface{}, len(opts))
   303  	for _i := range opts {
   304  		_va[_i] = opts[_i]
   305  	}
   306  	var _ca []interface{}
   307  	_ca = append(_ca, ctx, in)
   308  	_ca = append(_ca, _va...)
   309  	ret := _mock.Called(_ca...)
   310  
   311  	if len(ret) == 0 {
   312  		panic("no return value specified for GetGitDirectories")
   313  	}
   314  
   315  	var r0 *apiclient.GitDirectoriesResponse
   316  	var r1 error
   317  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.GitDirectoriesRequest, ...grpc.CallOption) (*apiclient.GitDirectoriesResponse, error)); ok {
   318  		return returnFunc(ctx, in, opts...)
   319  	}
   320  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.GitDirectoriesRequest, ...grpc.CallOption) *apiclient.GitDirectoriesResponse); ok {
   321  		r0 = returnFunc(ctx, in, opts...)
   322  	} else {
   323  		if ret.Get(0) != nil {
   324  			r0 = ret.Get(0).(*apiclient.GitDirectoriesResponse)
   325  		}
   326  	}
   327  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.GitDirectoriesRequest, ...grpc.CallOption) error); ok {
   328  		r1 = returnFunc(ctx, in, opts...)
   329  	} else {
   330  		r1 = ret.Error(1)
   331  	}
   332  	return r0, r1
   333  }
   334  
   335  // RepoServerServiceClient_GetGitDirectories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGitDirectories'
   336  type RepoServerServiceClient_GetGitDirectories_Call struct {
   337  	*mock.Call
   338  }
   339  
   340  // GetGitDirectories is a helper method to define mock.On call
   341  //   - ctx context.Context
   342  //   - in *apiclient.GitDirectoriesRequest
   343  //   - opts ...grpc.CallOption
   344  func (_e *RepoServerServiceClient_Expecter) GetGitDirectories(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetGitDirectories_Call {
   345  	return &RepoServerServiceClient_GetGitDirectories_Call{Call: _e.mock.On("GetGitDirectories",
   346  		append([]interface{}{ctx, in}, opts...)...)}
   347  }
   348  
   349  func (_c *RepoServerServiceClient_GetGitDirectories_Call) Run(run func(ctx context.Context, in *apiclient.GitDirectoriesRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GetGitDirectories_Call {
   350  	_c.Call.Run(func(args mock.Arguments) {
   351  		var arg0 context.Context
   352  		if args[0] != nil {
   353  			arg0 = args[0].(context.Context)
   354  		}
   355  		var arg1 *apiclient.GitDirectoriesRequest
   356  		if args[1] != nil {
   357  			arg1 = args[1].(*apiclient.GitDirectoriesRequest)
   358  		}
   359  		var arg2 []grpc.CallOption
   360  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   361  		for i, a := range args[2:] {
   362  			if a != nil {
   363  				variadicArgs[i] = a.(grpc.CallOption)
   364  			}
   365  		}
   366  		arg2 = variadicArgs
   367  		run(
   368  			arg0,
   369  			arg1,
   370  			arg2...,
   371  		)
   372  	})
   373  	return _c
   374  }
   375  
   376  func (_c *RepoServerServiceClient_GetGitDirectories_Call) Return(gitDirectoriesResponse *apiclient.GitDirectoriesResponse, err error) *RepoServerServiceClient_GetGitDirectories_Call {
   377  	_c.Call.Return(gitDirectoriesResponse, err)
   378  	return _c
   379  }
   380  
   381  func (_c *RepoServerServiceClient_GetGitDirectories_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.GitDirectoriesRequest, opts ...grpc.CallOption) (*apiclient.GitDirectoriesResponse, error)) *RepoServerServiceClient_GetGitDirectories_Call {
   382  	_c.Call.Return(run)
   383  	return _c
   384  }
   385  
   386  // GetGitFiles provides a mock function for the type RepoServerServiceClient
   387  func (_mock *RepoServerServiceClient) GetGitFiles(ctx context.Context, in *apiclient.GitFilesRequest, opts ...grpc.CallOption) (*apiclient.GitFilesResponse, error) {
   388  	// grpc.CallOption
   389  	_va := make([]interface{}, len(opts))
   390  	for _i := range opts {
   391  		_va[_i] = opts[_i]
   392  	}
   393  	var _ca []interface{}
   394  	_ca = append(_ca, ctx, in)
   395  	_ca = append(_ca, _va...)
   396  	ret := _mock.Called(_ca...)
   397  
   398  	if len(ret) == 0 {
   399  		panic("no return value specified for GetGitFiles")
   400  	}
   401  
   402  	var r0 *apiclient.GitFilesResponse
   403  	var r1 error
   404  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.GitFilesRequest, ...grpc.CallOption) (*apiclient.GitFilesResponse, error)); ok {
   405  		return returnFunc(ctx, in, opts...)
   406  	}
   407  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.GitFilesRequest, ...grpc.CallOption) *apiclient.GitFilesResponse); ok {
   408  		r0 = returnFunc(ctx, in, opts...)
   409  	} else {
   410  		if ret.Get(0) != nil {
   411  			r0 = ret.Get(0).(*apiclient.GitFilesResponse)
   412  		}
   413  	}
   414  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.GitFilesRequest, ...grpc.CallOption) error); ok {
   415  		r1 = returnFunc(ctx, in, opts...)
   416  	} else {
   417  		r1 = ret.Error(1)
   418  	}
   419  	return r0, r1
   420  }
   421  
   422  // RepoServerServiceClient_GetGitFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGitFiles'
   423  type RepoServerServiceClient_GetGitFiles_Call struct {
   424  	*mock.Call
   425  }
   426  
   427  // GetGitFiles is a helper method to define mock.On call
   428  //   - ctx context.Context
   429  //   - in *apiclient.GitFilesRequest
   430  //   - opts ...grpc.CallOption
   431  func (_e *RepoServerServiceClient_Expecter) GetGitFiles(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetGitFiles_Call {
   432  	return &RepoServerServiceClient_GetGitFiles_Call{Call: _e.mock.On("GetGitFiles",
   433  		append([]interface{}{ctx, in}, opts...)...)}
   434  }
   435  
   436  func (_c *RepoServerServiceClient_GetGitFiles_Call) Run(run func(ctx context.Context, in *apiclient.GitFilesRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GetGitFiles_Call {
   437  	_c.Call.Run(func(args mock.Arguments) {
   438  		var arg0 context.Context
   439  		if args[0] != nil {
   440  			arg0 = args[0].(context.Context)
   441  		}
   442  		var arg1 *apiclient.GitFilesRequest
   443  		if args[1] != nil {
   444  			arg1 = args[1].(*apiclient.GitFilesRequest)
   445  		}
   446  		var arg2 []grpc.CallOption
   447  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   448  		for i, a := range args[2:] {
   449  			if a != nil {
   450  				variadicArgs[i] = a.(grpc.CallOption)
   451  			}
   452  		}
   453  		arg2 = variadicArgs
   454  		run(
   455  			arg0,
   456  			arg1,
   457  			arg2...,
   458  		)
   459  	})
   460  	return _c
   461  }
   462  
   463  func (_c *RepoServerServiceClient_GetGitFiles_Call) Return(gitFilesResponse *apiclient.GitFilesResponse, err error) *RepoServerServiceClient_GetGitFiles_Call {
   464  	_c.Call.Return(gitFilesResponse, err)
   465  	return _c
   466  }
   467  
   468  func (_c *RepoServerServiceClient_GetGitFiles_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.GitFilesRequest, opts ...grpc.CallOption) (*apiclient.GitFilesResponse, error)) *RepoServerServiceClient_GetGitFiles_Call {
   469  	_c.Call.Return(run)
   470  	return _c
   471  }
   472  
   473  // GetHelmCharts provides a mock function for the type RepoServerServiceClient
   474  func (_mock *RepoServerServiceClient) GetHelmCharts(ctx context.Context, in *apiclient.HelmChartsRequest, opts ...grpc.CallOption) (*apiclient.HelmChartsResponse, error) {
   475  	// grpc.CallOption
   476  	_va := make([]interface{}, len(opts))
   477  	for _i := range opts {
   478  		_va[_i] = opts[_i]
   479  	}
   480  	var _ca []interface{}
   481  	_ca = append(_ca, ctx, in)
   482  	_ca = append(_ca, _va...)
   483  	ret := _mock.Called(_ca...)
   484  
   485  	if len(ret) == 0 {
   486  		panic("no return value specified for GetHelmCharts")
   487  	}
   488  
   489  	var r0 *apiclient.HelmChartsResponse
   490  	var r1 error
   491  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.HelmChartsRequest, ...grpc.CallOption) (*apiclient.HelmChartsResponse, error)); ok {
   492  		return returnFunc(ctx, in, opts...)
   493  	}
   494  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.HelmChartsRequest, ...grpc.CallOption) *apiclient.HelmChartsResponse); ok {
   495  		r0 = returnFunc(ctx, in, opts...)
   496  	} else {
   497  		if ret.Get(0) != nil {
   498  			r0 = ret.Get(0).(*apiclient.HelmChartsResponse)
   499  		}
   500  	}
   501  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.HelmChartsRequest, ...grpc.CallOption) error); ok {
   502  		r1 = returnFunc(ctx, in, opts...)
   503  	} else {
   504  		r1 = ret.Error(1)
   505  	}
   506  	return r0, r1
   507  }
   508  
   509  // RepoServerServiceClient_GetHelmCharts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHelmCharts'
   510  type RepoServerServiceClient_GetHelmCharts_Call struct {
   511  	*mock.Call
   512  }
   513  
   514  // GetHelmCharts is a helper method to define mock.On call
   515  //   - ctx context.Context
   516  //   - in *apiclient.HelmChartsRequest
   517  //   - opts ...grpc.CallOption
   518  func (_e *RepoServerServiceClient_Expecter) GetHelmCharts(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetHelmCharts_Call {
   519  	return &RepoServerServiceClient_GetHelmCharts_Call{Call: _e.mock.On("GetHelmCharts",
   520  		append([]interface{}{ctx, in}, opts...)...)}
   521  }
   522  
   523  func (_c *RepoServerServiceClient_GetHelmCharts_Call) Run(run func(ctx context.Context, in *apiclient.HelmChartsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GetHelmCharts_Call {
   524  	_c.Call.Run(func(args mock.Arguments) {
   525  		var arg0 context.Context
   526  		if args[0] != nil {
   527  			arg0 = args[0].(context.Context)
   528  		}
   529  		var arg1 *apiclient.HelmChartsRequest
   530  		if args[1] != nil {
   531  			arg1 = args[1].(*apiclient.HelmChartsRequest)
   532  		}
   533  		var arg2 []grpc.CallOption
   534  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   535  		for i, a := range args[2:] {
   536  			if a != nil {
   537  				variadicArgs[i] = a.(grpc.CallOption)
   538  			}
   539  		}
   540  		arg2 = variadicArgs
   541  		run(
   542  			arg0,
   543  			arg1,
   544  			arg2...,
   545  		)
   546  	})
   547  	return _c
   548  }
   549  
   550  func (_c *RepoServerServiceClient_GetHelmCharts_Call) Return(helmChartsResponse *apiclient.HelmChartsResponse, err error) *RepoServerServiceClient_GetHelmCharts_Call {
   551  	_c.Call.Return(helmChartsResponse, err)
   552  	return _c
   553  }
   554  
   555  func (_c *RepoServerServiceClient_GetHelmCharts_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.HelmChartsRequest, opts ...grpc.CallOption) (*apiclient.HelmChartsResponse, error)) *RepoServerServiceClient_GetHelmCharts_Call {
   556  	_c.Call.Return(run)
   557  	return _c
   558  }
   559  
   560  // GetOCIMetadata provides a mock function for the type RepoServerServiceClient
   561  func (_mock *RepoServerServiceClient) GetOCIMetadata(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.OCIMetadata, error) {
   562  	// grpc.CallOption
   563  	_va := make([]interface{}, len(opts))
   564  	for _i := range opts {
   565  		_va[_i] = opts[_i]
   566  	}
   567  	var _ca []interface{}
   568  	_ca = append(_ca, ctx, in)
   569  	_ca = append(_ca, _va...)
   570  	ret := _mock.Called(_ca...)
   571  
   572  	if len(ret) == 0 {
   573  		panic("no return value specified for GetOCIMetadata")
   574  	}
   575  
   576  	var r0 *v1alpha1.OCIMetadata
   577  	var r1 error
   578  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerRevisionChartDetailsRequest, ...grpc.CallOption) (*v1alpha1.OCIMetadata, error)); ok {
   579  		return returnFunc(ctx, in, opts...)
   580  	}
   581  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerRevisionChartDetailsRequest, ...grpc.CallOption) *v1alpha1.OCIMetadata); ok {
   582  		r0 = returnFunc(ctx, in, opts...)
   583  	} else {
   584  		if ret.Get(0) != nil {
   585  			r0 = ret.Get(0).(*v1alpha1.OCIMetadata)
   586  		}
   587  	}
   588  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.RepoServerRevisionChartDetailsRequest, ...grpc.CallOption) error); ok {
   589  		r1 = returnFunc(ctx, in, opts...)
   590  	} else {
   591  		r1 = ret.Error(1)
   592  	}
   593  	return r0, r1
   594  }
   595  
   596  // RepoServerServiceClient_GetOCIMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOCIMetadata'
   597  type RepoServerServiceClient_GetOCIMetadata_Call struct {
   598  	*mock.Call
   599  }
   600  
   601  // GetOCIMetadata is a helper method to define mock.On call
   602  //   - ctx context.Context
   603  //   - in *apiclient.RepoServerRevisionChartDetailsRequest
   604  //   - opts ...grpc.CallOption
   605  func (_e *RepoServerServiceClient_Expecter) GetOCIMetadata(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetOCIMetadata_Call {
   606  	return &RepoServerServiceClient_GetOCIMetadata_Call{Call: _e.mock.On("GetOCIMetadata",
   607  		append([]interface{}{ctx, in}, opts...)...)}
   608  }
   609  
   610  func (_c *RepoServerServiceClient_GetOCIMetadata_Call) Run(run func(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GetOCIMetadata_Call {
   611  	_c.Call.Run(func(args mock.Arguments) {
   612  		var arg0 context.Context
   613  		if args[0] != nil {
   614  			arg0 = args[0].(context.Context)
   615  		}
   616  		var arg1 *apiclient.RepoServerRevisionChartDetailsRequest
   617  		if args[1] != nil {
   618  			arg1 = args[1].(*apiclient.RepoServerRevisionChartDetailsRequest)
   619  		}
   620  		var arg2 []grpc.CallOption
   621  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   622  		for i, a := range args[2:] {
   623  			if a != nil {
   624  				variadicArgs[i] = a.(grpc.CallOption)
   625  			}
   626  		}
   627  		arg2 = variadicArgs
   628  		run(
   629  			arg0,
   630  			arg1,
   631  			arg2...,
   632  		)
   633  	})
   634  	return _c
   635  }
   636  
   637  func (_c *RepoServerServiceClient_GetOCIMetadata_Call) Return(oCIMetadata *v1alpha1.OCIMetadata, err error) *RepoServerServiceClient_GetOCIMetadata_Call {
   638  	_c.Call.Return(oCIMetadata, err)
   639  	return _c
   640  }
   641  
   642  func (_c *RepoServerServiceClient_GetOCIMetadata_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.OCIMetadata, error)) *RepoServerServiceClient_GetOCIMetadata_Call {
   643  	_c.Call.Return(run)
   644  	return _c
   645  }
   646  
   647  // GetRevisionChartDetails provides a mock function for the type RepoServerServiceClient
   648  func (_mock *RepoServerServiceClient) GetRevisionChartDetails(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error) {
   649  	// grpc.CallOption
   650  	_va := make([]interface{}, len(opts))
   651  	for _i := range opts {
   652  		_va[_i] = opts[_i]
   653  	}
   654  	var _ca []interface{}
   655  	_ca = append(_ca, ctx, in)
   656  	_ca = append(_ca, _va...)
   657  	ret := _mock.Called(_ca...)
   658  
   659  	if len(ret) == 0 {
   660  		panic("no return value specified for GetRevisionChartDetails")
   661  	}
   662  
   663  	var r0 *v1alpha1.ChartDetails
   664  	var r1 error
   665  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerRevisionChartDetailsRequest, ...grpc.CallOption) (*v1alpha1.ChartDetails, error)); ok {
   666  		return returnFunc(ctx, in, opts...)
   667  	}
   668  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerRevisionChartDetailsRequest, ...grpc.CallOption) *v1alpha1.ChartDetails); ok {
   669  		r0 = returnFunc(ctx, in, opts...)
   670  	} else {
   671  		if ret.Get(0) != nil {
   672  			r0 = ret.Get(0).(*v1alpha1.ChartDetails)
   673  		}
   674  	}
   675  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.RepoServerRevisionChartDetailsRequest, ...grpc.CallOption) error); ok {
   676  		r1 = returnFunc(ctx, in, opts...)
   677  	} else {
   678  		r1 = ret.Error(1)
   679  	}
   680  	return r0, r1
   681  }
   682  
   683  // RepoServerServiceClient_GetRevisionChartDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRevisionChartDetails'
   684  type RepoServerServiceClient_GetRevisionChartDetails_Call struct {
   685  	*mock.Call
   686  }
   687  
   688  // GetRevisionChartDetails is a helper method to define mock.On call
   689  //   - ctx context.Context
   690  //   - in *apiclient.RepoServerRevisionChartDetailsRequest
   691  //   - opts ...grpc.CallOption
   692  func (_e *RepoServerServiceClient_Expecter) GetRevisionChartDetails(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetRevisionChartDetails_Call {
   693  	return &RepoServerServiceClient_GetRevisionChartDetails_Call{Call: _e.mock.On("GetRevisionChartDetails",
   694  		append([]interface{}{ctx, in}, opts...)...)}
   695  }
   696  
   697  func (_c *RepoServerServiceClient_GetRevisionChartDetails_Call) Run(run func(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GetRevisionChartDetails_Call {
   698  	_c.Call.Run(func(args mock.Arguments) {
   699  		var arg0 context.Context
   700  		if args[0] != nil {
   701  			arg0 = args[0].(context.Context)
   702  		}
   703  		var arg1 *apiclient.RepoServerRevisionChartDetailsRequest
   704  		if args[1] != nil {
   705  			arg1 = args[1].(*apiclient.RepoServerRevisionChartDetailsRequest)
   706  		}
   707  		var arg2 []grpc.CallOption
   708  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   709  		for i, a := range args[2:] {
   710  			if a != nil {
   711  				variadicArgs[i] = a.(grpc.CallOption)
   712  			}
   713  		}
   714  		arg2 = variadicArgs
   715  		run(
   716  			arg0,
   717  			arg1,
   718  			arg2...,
   719  		)
   720  	})
   721  	return _c
   722  }
   723  
   724  func (_c *RepoServerServiceClient_GetRevisionChartDetails_Call) Return(chartDetails *v1alpha1.ChartDetails, err error) *RepoServerServiceClient_GetRevisionChartDetails_Call {
   725  	_c.Call.Return(chartDetails, err)
   726  	return _c
   727  }
   728  
   729  func (_c *RepoServerServiceClient_GetRevisionChartDetails_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.RepoServerRevisionChartDetailsRequest, opts ...grpc.CallOption) (*v1alpha1.ChartDetails, error)) *RepoServerServiceClient_GetRevisionChartDetails_Call {
   730  	_c.Call.Return(run)
   731  	return _c
   732  }
   733  
   734  // GetRevisionMetadata provides a mock function for the type RepoServerServiceClient
   735  func (_mock *RepoServerServiceClient) GetRevisionMetadata(ctx context.Context, in *apiclient.RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error) {
   736  	// grpc.CallOption
   737  	_va := make([]interface{}, len(opts))
   738  	for _i := range opts {
   739  		_va[_i] = opts[_i]
   740  	}
   741  	var _ca []interface{}
   742  	_ca = append(_ca, ctx, in)
   743  	_ca = append(_ca, _va...)
   744  	ret := _mock.Called(_ca...)
   745  
   746  	if len(ret) == 0 {
   747  		panic("no return value specified for GetRevisionMetadata")
   748  	}
   749  
   750  	var r0 *v1alpha1.RevisionMetadata
   751  	var r1 error
   752  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerRevisionMetadataRequest, ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error)); ok {
   753  		return returnFunc(ctx, in, opts...)
   754  	}
   755  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.RepoServerRevisionMetadataRequest, ...grpc.CallOption) *v1alpha1.RevisionMetadata); ok {
   756  		r0 = returnFunc(ctx, in, opts...)
   757  	} else {
   758  		if ret.Get(0) != nil {
   759  			r0 = ret.Get(0).(*v1alpha1.RevisionMetadata)
   760  		}
   761  	}
   762  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.RepoServerRevisionMetadataRequest, ...grpc.CallOption) error); ok {
   763  		r1 = returnFunc(ctx, in, opts...)
   764  	} else {
   765  		r1 = ret.Error(1)
   766  	}
   767  	return r0, r1
   768  }
   769  
   770  // RepoServerServiceClient_GetRevisionMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRevisionMetadata'
   771  type RepoServerServiceClient_GetRevisionMetadata_Call struct {
   772  	*mock.Call
   773  }
   774  
   775  // GetRevisionMetadata is a helper method to define mock.On call
   776  //   - ctx context.Context
   777  //   - in *apiclient.RepoServerRevisionMetadataRequest
   778  //   - opts ...grpc.CallOption
   779  func (_e *RepoServerServiceClient_Expecter) GetRevisionMetadata(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_GetRevisionMetadata_Call {
   780  	return &RepoServerServiceClient_GetRevisionMetadata_Call{Call: _e.mock.On("GetRevisionMetadata",
   781  		append([]interface{}{ctx, in}, opts...)...)}
   782  }
   783  
   784  func (_c *RepoServerServiceClient_GetRevisionMetadata_Call) Run(run func(ctx context.Context, in *apiclient.RepoServerRevisionMetadataRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_GetRevisionMetadata_Call {
   785  	_c.Call.Run(func(args mock.Arguments) {
   786  		var arg0 context.Context
   787  		if args[0] != nil {
   788  			arg0 = args[0].(context.Context)
   789  		}
   790  		var arg1 *apiclient.RepoServerRevisionMetadataRequest
   791  		if args[1] != nil {
   792  			arg1 = args[1].(*apiclient.RepoServerRevisionMetadataRequest)
   793  		}
   794  		var arg2 []grpc.CallOption
   795  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   796  		for i, a := range args[2:] {
   797  			if a != nil {
   798  				variadicArgs[i] = a.(grpc.CallOption)
   799  			}
   800  		}
   801  		arg2 = variadicArgs
   802  		run(
   803  			arg0,
   804  			arg1,
   805  			arg2...,
   806  		)
   807  	})
   808  	return _c
   809  }
   810  
   811  func (_c *RepoServerServiceClient_GetRevisionMetadata_Call) Return(revisionMetadata *v1alpha1.RevisionMetadata, err error) *RepoServerServiceClient_GetRevisionMetadata_Call {
   812  	_c.Call.Return(revisionMetadata, err)
   813  	return _c
   814  }
   815  
   816  func (_c *RepoServerServiceClient_GetRevisionMetadata_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.RepoServerRevisionMetadataRequest, opts ...grpc.CallOption) (*v1alpha1.RevisionMetadata, error)) *RepoServerServiceClient_GetRevisionMetadata_Call {
   817  	_c.Call.Return(run)
   818  	return _c
   819  }
   820  
   821  // ListApps provides a mock function for the type RepoServerServiceClient
   822  func (_mock *RepoServerServiceClient) ListApps(ctx context.Context, in *apiclient.ListAppsRequest, opts ...grpc.CallOption) (*apiclient.AppList, error) {
   823  	// grpc.CallOption
   824  	_va := make([]interface{}, len(opts))
   825  	for _i := range opts {
   826  		_va[_i] = opts[_i]
   827  	}
   828  	var _ca []interface{}
   829  	_ca = append(_ca, ctx, in)
   830  	_ca = append(_ca, _va...)
   831  	ret := _mock.Called(_ca...)
   832  
   833  	if len(ret) == 0 {
   834  		panic("no return value specified for ListApps")
   835  	}
   836  
   837  	var r0 *apiclient.AppList
   838  	var r1 error
   839  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ListAppsRequest, ...grpc.CallOption) (*apiclient.AppList, error)); ok {
   840  		return returnFunc(ctx, in, opts...)
   841  	}
   842  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ListAppsRequest, ...grpc.CallOption) *apiclient.AppList); ok {
   843  		r0 = returnFunc(ctx, in, opts...)
   844  	} else {
   845  		if ret.Get(0) != nil {
   846  			r0 = ret.Get(0).(*apiclient.AppList)
   847  		}
   848  	}
   849  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.ListAppsRequest, ...grpc.CallOption) error); ok {
   850  		r1 = returnFunc(ctx, in, opts...)
   851  	} else {
   852  		r1 = ret.Error(1)
   853  	}
   854  	return r0, r1
   855  }
   856  
   857  // RepoServerServiceClient_ListApps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListApps'
   858  type RepoServerServiceClient_ListApps_Call struct {
   859  	*mock.Call
   860  }
   861  
   862  // ListApps is a helper method to define mock.On call
   863  //   - ctx context.Context
   864  //   - in *apiclient.ListAppsRequest
   865  //   - opts ...grpc.CallOption
   866  func (_e *RepoServerServiceClient_Expecter) ListApps(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_ListApps_Call {
   867  	return &RepoServerServiceClient_ListApps_Call{Call: _e.mock.On("ListApps",
   868  		append([]interface{}{ctx, in}, opts...)...)}
   869  }
   870  
   871  func (_c *RepoServerServiceClient_ListApps_Call) Run(run func(ctx context.Context, in *apiclient.ListAppsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_ListApps_Call {
   872  	_c.Call.Run(func(args mock.Arguments) {
   873  		var arg0 context.Context
   874  		if args[0] != nil {
   875  			arg0 = args[0].(context.Context)
   876  		}
   877  		var arg1 *apiclient.ListAppsRequest
   878  		if args[1] != nil {
   879  			arg1 = args[1].(*apiclient.ListAppsRequest)
   880  		}
   881  		var arg2 []grpc.CallOption
   882  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   883  		for i, a := range args[2:] {
   884  			if a != nil {
   885  				variadicArgs[i] = a.(grpc.CallOption)
   886  			}
   887  		}
   888  		arg2 = variadicArgs
   889  		run(
   890  			arg0,
   891  			arg1,
   892  			arg2...,
   893  		)
   894  	})
   895  	return _c
   896  }
   897  
   898  func (_c *RepoServerServiceClient_ListApps_Call) Return(appList *apiclient.AppList, err error) *RepoServerServiceClient_ListApps_Call {
   899  	_c.Call.Return(appList, err)
   900  	return _c
   901  }
   902  
   903  func (_c *RepoServerServiceClient_ListApps_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.ListAppsRequest, opts ...grpc.CallOption) (*apiclient.AppList, error)) *RepoServerServiceClient_ListApps_Call {
   904  	_c.Call.Return(run)
   905  	return _c
   906  }
   907  
   908  // ListOCITags provides a mock function for the type RepoServerServiceClient
   909  func (_mock *RepoServerServiceClient) ListOCITags(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption) (*apiclient.Refs, error) {
   910  	// grpc.CallOption
   911  	_va := make([]interface{}, len(opts))
   912  	for _i := range opts {
   913  		_va[_i] = opts[_i]
   914  	}
   915  	var _ca []interface{}
   916  	_ca = append(_ca, ctx, in)
   917  	_ca = append(_ca, _va...)
   918  	ret := _mock.Called(_ca...)
   919  
   920  	if len(ret) == 0 {
   921  		panic("no return value specified for ListOCITags")
   922  	}
   923  
   924  	var r0 *apiclient.Refs
   925  	var r1 error
   926  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ListRefsRequest, ...grpc.CallOption) (*apiclient.Refs, error)); ok {
   927  		return returnFunc(ctx, in, opts...)
   928  	}
   929  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ListRefsRequest, ...grpc.CallOption) *apiclient.Refs); ok {
   930  		r0 = returnFunc(ctx, in, opts...)
   931  	} else {
   932  		if ret.Get(0) != nil {
   933  			r0 = ret.Get(0).(*apiclient.Refs)
   934  		}
   935  	}
   936  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.ListRefsRequest, ...grpc.CallOption) error); ok {
   937  		r1 = returnFunc(ctx, in, opts...)
   938  	} else {
   939  		r1 = ret.Error(1)
   940  	}
   941  	return r0, r1
   942  }
   943  
   944  // RepoServerServiceClient_ListOCITags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOCITags'
   945  type RepoServerServiceClient_ListOCITags_Call struct {
   946  	*mock.Call
   947  }
   948  
   949  // ListOCITags is a helper method to define mock.On call
   950  //   - ctx context.Context
   951  //   - in *apiclient.ListRefsRequest
   952  //   - opts ...grpc.CallOption
   953  func (_e *RepoServerServiceClient_Expecter) ListOCITags(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_ListOCITags_Call {
   954  	return &RepoServerServiceClient_ListOCITags_Call{Call: _e.mock.On("ListOCITags",
   955  		append([]interface{}{ctx, in}, opts...)...)}
   956  }
   957  
   958  func (_c *RepoServerServiceClient_ListOCITags_Call) Run(run func(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_ListOCITags_Call {
   959  	_c.Call.Run(func(args mock.Arguments) {
   960  		var arg0 context.Context
   961  		if args[0] != nil {
   962  			arg0 = args[0].(context.Context)
   963  		}
   964  		var arg1 *apiclient.ListRefsRequest
   965  		if args[1] != nil {
   966  			arg1 = args[1].(*apiclient.ListRefsRequest)
   967  		}
   968  		var arg2 []grpc.CallOption
   969  		variadicArgs := make([]grpc.CallOption, len(args)-2)
   970  		for i, a := range args[2:] {
   971  			if a != nil {
   972  				variadicArgs[i] = a.(grpc.CallOption)
   973  			}
   974  		}
   975  		arg2 = variadicArgs
   976  		run(
   977  			arg0,
   978  			arg1,
   979  			arg2...,
   980  		)
   981  	})
   982  	return _c
   983  }
   984  
   985  func (_c *RepoServerServiceClient_ListOCITags_Call) Return(refs *apiclient.Refs, err error) *RepoServerServiceClient_ListOCITags_Call {
   986  	_c.Call.Return(refs, err)
   987  	return _c
   988  }
   989  
   990  func (_c *RepoServerServiceClient_ListOCITags_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption) (*apiclient.Refs, error)) *RepoServerServiceClient_ListOCITags_Call {
   991  	_c.Call.Return(run)
   992  	return _c
   993  }
   994  
   995  // ListPlugins provides a mock function for the type RepoServerServiceClient
   996  func (_mock *RepoServerServiceClient) ListPlugins(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*apiclient.PluginList, error) {
   997  	// grpc.CallOption
   998  	_va := make([]interface{}, len(opts))
   999  	for _i := range opts {
  1000  		_va[_i] = opts[_i]
  1001  	}
  1002  	var _ca []interface{}
  1003  	_ca = append(_ca, ctx, in)
  1004  	_ca = append(_ca, _va...)
  1005  	ret := _mock.Called(_ca...)
  1006  
  1007  	if len(ret) == 0 {
  1008  		panic("no return value specified for ListPlugins")
  1009  	}
  1010  
  1011  	var r0 *apiclient.PluginList
  1012  	var r1 error
  1013  	if returnFunc, ok := ret.Get(0).(func(context.Context, *emptypb.Empty, ...grpc.CallOption) (*apiclient.PluginList, error)); ok {
  1014  		return returnFunc(ctx, in, opts...)
  1015  	}
  1016  	if returnFunc, ok := ret.Get(0).(func(context.Context, *emptypb.Empty, ...grpc.CallOption) *apiclient.PluginList); ok {
  1017  		r0 = returnFunc(ctx, in, opts...)
  1018  	} else {
  1019  		if ret.Get(0) != nil {
  1020  			r0 = ret.Get(0).(*apiclient.PluginList)
  1021  		}
  1022  	}
  1023  	if returnFunc, ok := ret.Get(1).(func(context.Context, *emptypb.Empty, ...grpc.CallOption) error); ok {
  1024  		r1 = returnFunc(ctx, in, opts...)
  1025  	} else {
  1026  		r1 = ret.Error(1)
  1027  	}
  1028  	return r0, r1
  1029  }
  1030  
  1031  // RepoServerServiceClient_ListPlugins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPlugins'
  1032  type RepoServerServiceClient_ListPlugins_Call struct {
  1033  	*mock.Call
  1034  }
  1035  
  1036  // ListPlugins is a helper method to define mock.On call
  1037  //   - ctx context.Context
  1038  //   - in *emptypb.Empty
  1039  //   - opts ...grpc.CallOption
  1040  func (_e *RepoServerServiceClient_Expecter) ListPlugins(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_ListPlugins_Call {
  1041  	return &RepoServerServiceClient_ListPlugins_Call{Call: _e.mock.On("ListPlugins",
  1042  		append([]interface{}{ctx, in}, opts...)...)}
  1043  }
  1044  
  1045  func (_c *RepoServerServiceClient_ListPlugins_Call) Run(run func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)) *RepoServerServiceClient_ListPlugins_Call {
  1046  	_c.Call.Run(func(args mock.Arguments) {
  1047  		var arg0 context.Context
  1048  		if args[0] != nil {
  1049  			arg0 = args[0].(context.Context)
  1050  		}
  1051  		var arg1 *emptypb.Empty
  1052  		if args[1] != nil {
  1053  			arg1 = args[1].(*emptypb.Empty)
  1054  		}
  1055  		var arg2 []grpc.CallOption
  1056  		variadicArgs := make([]grpc.CallOption, len(args)-2)
  1057  		for i, a := range args[2:] {
  1058  			if a != nil {
  1059  				variadicArgs[i] = a.(grpc.CallOption)
  1060  			}
  1061  		}
  1062  		arg2 = variadicArgs
  1063  		run(
  1064  			arg0,
  1065  			arg1,
  1066  			arg2...,
  1067  		)
  1068  	})
  1069  	return _c
  1070  }
  1071  
  1072  func (_c *RepoServerServiceClient_ListPlugins_Call) Return(pluginList *apiclient.PluginList, err error) *RepoServerServiceClient_ListPlugins_Call {
  1073  	_c.Call.Return(pluginList, err)
  1074  	return _c
  1075  }
  1076  
  1077  func (_c *RepoServerServiceClient_ListPlugins_Call) RunAndReturn(run func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*apiclient.PluginList, error)) *RepoServerServiceClient_ListPlugins_Call {
  1078  	_c.Call.Return(run)
  1079  	return _c
  1080  }
  1081  
  1082  // ListRefs provides a mock function for the type RepoServerServiceClient
  1083  func (_mock *RepoServerServiceClient) ListRefs(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption) (*apiclient.Refs, error) {
  1084  	// grpc.CallOption
  1085  	_va := make([]interface{}, len(opts))
  1086  	for _i := range opts {
  1087  		_va[_i] = opts[_i]
  1088  	}
  1089  	var _ca []interface{}
  1090  	_ca = append(_ca, ctx, in)
  1091  	_ca = append(_ca, _va...)
  1092  	ret := _mock.Called(_ca...)
  1093  
  1094  	if len(ret) == 0 {
  1095  		panic("no return value specified for ListRefs")
  1096  	}
  1097  
  1098  	var r0 *apiclient.Refs
  1099  	var r1 error
  1100  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ListRefsRequest, ...grpc.CallOption) (*apiclient.Refs, error)); ok {
  1101  		return returnFunc(ctx, in, opts...)
  1102  	}
  1103  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ListRefsRequest, ...grpc.CallOption) *apiclient.Refs); ok {
  1104  		r0 = returnFunc(ctx, in, opts...)
  1105  	} else {
  1106  		if ret.Get(0) != nil {
  1107  			r0 = ret.Get(0).(*apiclient.Refs)
  1108  		}
  1109  	}
  1110  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.ListRefsRequest, ...grpc.CallOption) error); ok {
  1111  		r1 = returnFunc(ctx, in, opts...)
  1112  	} else {
  1113  		r1 = ret.Error(1)
  1114  	}
  1115  	return r0, r1
  1116  }
  1117  
  1118  // RepoServerServiceClient_ListRefs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRefs'
  1119  type RepoServerServiceClient_ListRefs_Call struct {
  1120  	*mock.Call
  1121  }
  1122  
  1123  // ListRefs is a helper method to define mock.On call
  1124  //   - ctx context.Context
  1125  //   - in *apiclient.ListRefsRequest
  1126  //   - opts ...grpc.CallOption
  1127  func (_e *RepoServerServiceClient_Expecter) ListRefs(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_ListRefs_Call {
  1128  	return &RepoServerServiceClient_ListRefs_Call{Call: _e.mock.On("ListRefs",
  1129  		append([]interface{}{ctx, in}, opts...)...)}
  1130  }
  1131  
  1132  func (_c *RepoServerServiceClient_ListRefs_Call) Run(run func(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_ListRefs_Call {
  1133  	_c.Call.Run(func(args mock.Arguments) {
  1134  		var arg0 context.Context
  1135  		if args[0] != nil {
  1136  			arg0 = args[0].(context.Context)
  1137  		}
  1138  		var arg1 *apiclient.ListRefsRequest
  1139  		if args[1] != nil {
  1140  			arg1 = args[1].(*apiclient.ListRefsRequest)
  1141  		}
  1142  		var arg2 []grpc.CallOption
  1143  		variadicArgs := make([]grpc.CallOption, len(args)-2)
  1144  		for i, a := range args[2:] {
  1145  			if a != nil {
  1146  				variadicArgs[i] = a.(grpc.CallOption)
  1147  			}
  1148  		}
  1149  		arg2 = variadicArgs
  1150  		run(
  1151  			arg0,
  1152  			arg1,
  1153  			arg2...,
  1154  		)
  1155  	})
  1156  	return _c
  1157  }
  1158  
  1159  func (_c *RepoServerServiceClient_ListRefs_Call) Return(refs *apiclient.Refs, err error) *RepoServerServiceClient_ListRefs_Call {
  1160  	_c.Call.Return(refs, err)
  1161  	return _c
  1162  }
  1163  
  1164  func (_c *RepoServerServiceClient_ListRefs_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.ListRefsRequest, opts ...grpc.CallOption) (*apiclient.Refs, error)) *RepoServerServiceClient_ListRefs_Call {
  1165  	_c.Call.Return(run)
  1166  	return _c
  1167  }
  1168  
  1169  // ResolveRevision provides a mock function for the type RepoServerServiceClient
  1170  func (_mock *RepoServerServiceClient) ResolveRevision(ctx context.Context, in *apiclient.ResolveRevisionRequest, opts ...grpc.CallOption) (*apiclient.ResolveRevisionResponse, error) {
  1171  	// grpc.CallOption
  1172  	_va := make([]interface{}, len(opts))
  1173  	for _i := range opts {
  1174  		_va[_i] = opts[_i]
  1175  	}
  1176  	var _ca []interface{}
  1177  	_ca = append(_ca, ctx, in)
  1178  	_ca = append(_ca, _va...)
  1179  	ret := _mock.Called(_ca...)
  1180  
  1181  	if len(ret) == 0 {
  1182  		panic("no return value specified for ResolveRevision")
  1183  	}
  1184  
  1185  	var r0 *apiclient.ResolveRevisionResponse
  1186  	var r1 error
  1187  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ResolveRevisionRequest, ...grpc.CallOption) (*apiclient.ResolveRevisionResponse, error)); ok {
  1188  		return returnFunc(ctx, in, opts...)
  1189  	}
  1190  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.ResolveRevisionRequest, ...grpc.CallOption) *apiclient.ResolveRevisionResponse); ok {
  1191  		r0 = returnFunc(ctx, in, opts...)
  1192  	} else {
  1193  		if ret.Get(0) != nil {
  1194  			r0 = ret.Get(0).(*apiclient.ResolveRevisionResponse)
  1195  		}
  1196  	}
  1197  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.ResolveRevisionRequest, ...grpc.CallOption) error); ok {
  1198  		r1 = returnFunc(ctx, in, opts...)
  1199  	} else {
  1200  		r1 = ret.Error(1)
  1201  	}
  1202  	return r0, r1
  1203  }
  1204  
  1205  // RepoServerServiceClient_ResolveRevision_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveRevision'
  1206  type RepoServerServiceClient_ResolveRevision_Call struct {
  1207  	*mock.Call
  1208  }
  1209  
  1210  // ResolveRevision is a helper method to define mock.On call
  1211  //   - ctx context.Context
  1212  //   - in *apiclient.ResolveRevisionRequest
  1213  //   - opts ...grpc.CallOption
  1214  func (_e *RepoServerServiceClient_Expecter) ResolveRevision(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_ResolveRevision_Call {
  1215  	return &RepoServerServiceClient_ResolveRevision_Call{Call: _e.mock.On("ResolveRevision",
  1216  		append([]interface{}{ctx, in}, opts...)...)}
  1217  }
  1218  
  1219  func (_c *RepoServerServiceClient_ResolveRevision_Call) Run(run func(ctx context.Context, in *apiclient.ResolveRevisionRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_ResolveRevision_Call {
  1220  	_c.Call.Run(func(args mock.Arguments) {
  1221  		var arg0 context.Context
  1222  		if args[0] != nil {
  1223  			arg0 = args[0].(context.Context)
  1224  		}
  1225  		var arg1 *apiclient.ResolveRevisionRequest
  1226  		if args[1] != nil {
  1227  			arg1 = args[1].(*apiclient.ResolveRevisionRequest)
  1228  		}
  1229  		var arg2 []grpc.CallOption
  1230  		variadicArgs := make([]grpc.CallOption, len(args)-2)
  1231  		for i, a := range args[2:] {
  1232  			if a != nil {
  1233  				variadicArgs[i] = a.(grpc.CallOption)
  1234  			}
  1235  		}
  1236  		arg2 = variadicArgs
  1237  		run(
  1238  			arg0,
  1239  			arg1,
  1240  			arg2...,
  1241  		)
  1242  	})
  1243  	return _c
  1244  }
  1245  
  1246  func (_c *RepoServerServiceClient_ResolveRevision_Call) Return(resolveRevisionResponse *apiclient.ResolveRevisionResponse, err error) *RepoServerServiceClient_ResolveRevision_Call {
  1247  	_c.Call.Return(resolveRevisionResponse, err)
  1248  	return _c
  1249  }
  1250  
  1251  func (_c *RepoServerServiceClient_ResolveRevision_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.ResolveRevisionRequest, opts ...grpc.CallOption) (*apiclient.ResolveRevisionResponse, error)) *RepoServerServiceClient_ResolveRevision_Call {
  1252  	_c.Call.Return(run)
  1253  	return _c
  1254  }
  1255  
  1256  // TestRepository provides a mock function for the type RepoServerServiceClient
  1257  func (_mock *RepoServerServiceClient) TestRepository(ctx context.Context, in *apiclient.TestRepositoryRequest, opts ...grpc.CallOption) (*apiclient.TestRepositoryResponse, error) {
  1258  	// grpc.CallOption
  1259  	_va := make([]interface{}, len(opts))
  1260  	for _i := range opts {
  1261  		_va[_i] = opts[_i]
  1262  	}
  1263  	var _ca []interface{}
  1264  	_ca = append(_ca, ctx, in)
  1265  	_ca = append(_ca, _va...)
  1266  	ret := _mock.Called(_ca...)
  1267  
  1268  	if len(ret) == 0 {
  1269  		panic("no return value specified for TestRepository")
  1270  	}
  1271  
  1272  	var r0 *apiclient.TestRepositoryResponse
  1273  	var r1 error
  1274  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.TestRepositoryRequest, ...grpc.CallOption) (*apiclient.TestRepositoryResponse, error)); ok {
  1275  		return returnFunc(ctx, in, opts...)
  1276  	}
  1277  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.TestRepositoryRequest, ...grpc.CallOption) *apiclient.TestRepositoryResponse); ok {
  1278  		r0 = returnFunc(ctx, in, opts...)
  1279  	} else {
  1280  		if ret.Get(0) != nil {
  1281  			r0 = ret.Get(0).(*apiclient.TestRepositoryResponse)
  1282  		}
  1283  	}
  1284  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.TestRepositoryRequest, ...grpc.CallOption) error); ok {
  1285  		r1 = returnFunc(ctx, in, opts...)
  1286  	} else {
  1287  		r1 = ret.Error(1)
  1288  	}
  1289  	return r0, r1
  1290  }
  1291  
  1292  // RepoServerServiceClient_TestRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestRepository'
  1293  type RepoServerServiceClient_TestRepository_Call struct {
  1294  	*mock.Call
  1295  }
  1296  
  1297  // TestRepository is a helper method to define mock.On call
  1298  //   - ctx context.Context
  1299  //   - in *apiclient.TestRepositoryRequest
  1300  //   - opts ...grpc.CallOption
  1301  func (_e *RepoServerServiceClient_Expecter) TestRepository(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_TestRepository_Call {
  1302  	return &RepoServerServiceClient_TestRepository_Call{Call: _e.mock.On("TestRepository",
  1303  		append([]interface{}{ctx, in}, opts...)...)}
  1304  }
  1305  
  1306  func (_c *RepoServerServiceClient_TestRepository_Call) Run(run func(ctx context.Context, in *apiclient.TestRepositoryRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_TestRepository_Call {
  1307  	_c.Call.Run(func(args mock.Arguments) {
  1308  		var arg0 context.Context
  1309  		if args[0] != nil {
  1310  			arg0 = args[0].(context.Context)
  1311  		}
  1312  		var arg1 *apiclient.TestRepositoryRequest
  1313  		if args[1] != nil {
  1314  			arg1 = args[1].(*apiclient.TestRepositoryRequest)
  1315  		}
  1316  		var arg2 []grpc.CallOption
  1317  		variadicArgs := make([]grpc.CallOption, len(args)-2)
  1318  		for i, a := range args[2:] {
  1319  			if a != nil {
  1320  				variadicArgs[i] = a.(grpc.CallOption)
  1321  			}
  1322  		}
  1323  		arg2 = variadicArgs
  1324  		run(
  1325  			arg0,
  1326  			arg1,
  1327  			arg2...,
  1328  		)
  1329  	})
  1330  	return _c
  1331  }
  1332  
  1333  func (_c *RepoServerServiceClient_TestRepository_Call) Return(testRepositoryResponse *apiclient.TestRepositoryResponse, err error) *RepoServerServiceClient_TestRepository_Call {
  1334  	_c.Call.Return(testRepositoryResponse, err)
  1335  	return _c
  1336  }
  1337  
  1338  func (_c *RepoServerServiceClient_TestRepository_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.TestRepositoryRequest, opts ...grpc.CallOption) (*apiclient.TestRepositoryResponse, error)) *RepoServerServiceClient_TestRepository_Call {
  1339  	_c.Call.Return(run)
  1340  	return _c
  1341  }
  1342  
  1343  // UpdateRevisionForPaths provides a mock function for the type RepoServerServiceClient
  1344  func (_mock *RepoServerServiceClient) UpdateRevisionForPaths(ctx context.Context, in *apiclient.UpdateRevisionForPathsRequest, opts ...grpc.CallOption) (*apiclient.UpdateRevisionForPathsResponse, error) {
  1345  	// grpc.CallOption
  1346  	_va := make([]interface{}, len(opts))
  1347  	for _i := range opts {
  1348  		_va[_i] = opts[_i]
  1349  	}
  1350  	var _ca []interface{}
  1351  	_ca = append(_ca, ctx, in)
  1352  	_ca = append(_ca, _va...)
  1353  	ret := _mock.Called(_ca...)
  1354  
  1355  	if len(ret) == 0 {
  1356  		panic("no return value specified for UpdateRevisionForPaths")
  1357  	}
  1358  
  1359  	var r0 *apiclient.UpdateRevisionForPathsResponse
  1360  	var r1 error
  1361  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.UpdateRevisionForPathsRequest, ...grpc.CallOption) (*apiclient.UpdateRevisionForPathsResponse, error)); ok {
  1362  		return returnFunc(ctx, in, opts...)
  1363  	}
  1364  	if returnFunc, ok := ret.Get(0).(func(context.Context, *apiclient.UpdateRevisionForPathsRequest, ...grpc.CallOption) *apiclient.UpdateRevisionForPathsResponse); ok {
  1365  		r0 = returnFunc(ctx, in, opts...)
  1366  	} else {
  1367  		if ret.Get(0) != nil {
  1368  			r0 = ret.Get(0).(*apiclient.UpdateRevisionForPathsResponse)
  1369  		}
  1370  	}
  1371  	if returnFunc, ok := ret.Get(1).(func(context.Context, *apiclient.UpdateRevisionForPathsRequest, ...grpc.CallOption) error); ok {
  1372  		r1 = returnFunc(ctx, in, opts...)
  1373  	} else {
  1374  		r1 = ret.Error(1)
  1375  	}
  1376  	return r0, r1
  1377  }
  1378  
  1379  // RepoServerServiceClient_UpdateRevisionForPaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRevisionForPaths'
  1380  type RepoServerServiceClient_UpdateRevisionForPaths_Call struct {
  1381  	*mock.Call
  1382  }
  1383  
  1384  // UpdateRevisionForPaths is a helper method to define mock.On call
  1385  //   - ctx context.Context
  1386  //   - in *apiclient.UpdateRevisionForPathsRequest
  1387  //   - opts ...grpc.CallOption
  1388  func (_e *RepoServerServiceClient_Expecter) UpdateRevisionForPaths(ctx interface{}, in interface{}, opts ...interface{}) *RepoServerServiceClient_UpdateRevisionForPaths_Call {
  1389  	return &RepoServerServiceClient_UpdateRevisionForPaths_Call{Call: _e.mock.On("UpdateRevisionForPaths",
  1390  		append([]interface{}{ctx, in}, opts...)...)}
  1391  }
  1392  
  1393  func (_c *RepoServerServiceClient_UpdateRevisionForPaths_Call) Run(run func(ctx context.Context, in *apiclient.UpdateRevisionForPathsRequest, opts ...grpc.CallOption)) *RepoServerServiceClient_UpdateRevisionForPaths_Call {
  1394  	_c.Call.Run(func(args mock.Arguments) {
  1395  		var arg0 context.Context
  1396  		if args[0] != nil {
  1397  			arg0 = args[0].(context.Context)
  1398  		}
  1399  		var arg1 *apiclient.UpdateRevisionForPathsRequest
  1400  		if args[1] != nil {
  1401  			arg1 = args[1].(*apiclient.UpdateRevisionForPathsRequest)
  1402  		}
  1403  		var arg2 []grpc.CallOption
  1404  		variadicArgs := make([]grpc.CallOption, len(args)-2)
  1405  		for i, a := range args[2:] {
  1406  			if a != nil {
  1407  				variadicArgs[i] = a.(grpc.CallOption)
  1408  			}
  1409  		}
  1410  		arg2 = variadicArgs
  1411  		run(
  1412  			arg0,
  1413  			arg1,
  1414  			arg2...,
  1415  		)
  1416  	})
  1417  	return _c
  1418  }
  1419  
  1420  func (_c *RepoServerServiceClient_UpdateRevisionForPaths_Call) Return(updateRevisionForPathsResponse *apiclient.UpdateRevisionForPathsResponse, err error) *RepoServerServiceClient_UpdateRevisionForPaths_Call {
  1421  	_c.Call.Return(updateRevisionForPathsResponse, err)
  1422  	return _c
  1423  }
  1424  
  1425  func (_c *RepoServerServiceClient_UpdateRevisionForPaths_Call) RunAndReturn(run func(ctx context.Context, in *apiclient.UpdateRevisionForPathsRequest, opts ...grpc.CallOption) (*apiclient.UpdateRevisionForPathsResponse, error)) *RepoServerServiceClient_UpdateRevisionForPaths_Call {
  1426  	_c.Call.Return(run)
  1427  	return _c
  1428  }