func (_m *DockerClient) 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
}
// RegistryLogin provides a mock function with given fields: ctx, auth
RegistryLogin provides a mock function with given fields: ctx, auth
// RegistryLogin provides a mock function with given fields : ctx auth
func (_m *DockerClient) 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
}
func ( _m * DockerClient ) 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 }
RegistryLogin provides a mock function with given fields: ctx, auth
RegistryLogin provides a mock function with given fields : ctx auth