code: func (_m *APIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error) {
  	ret := _m.Called(ctx, auth)
  
  	var r0 registry.AuthenticateOKBody
  	if rf, ok := ret.Get(0).(func(context.Context, types.AuthConfig) registry.AuthenticateOKBody); ok {
  		r0 = rf(ctx, auth)
  	} else {
  		r0 = ret.Get(0).(registry.AuthenticateOKBody)
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, types.AuthConfig) error); ok {
  		r1 = rf(ctx, auth)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // RegistryLogin provides a mock function with given fields: ctx, auth