github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/gits/mocks/matchers/ptr_to_auth_userauth.go (about)

     1  // Code generated by pegomock. DO NOT EDIT.
     2  package matchers
     3  
     4  import (
     5  	"reflect"
     6  
     7  	auth "github.com/olli-ai/jx/v2/pkg/auth"
     8  	"github.com/petergtz/pegomock"
     9  )
    10  
    11  func AnyPtrToAuthUserAuth() *auth.UserAuth {
    12  	pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*auth.UserAuth))(nil)).Elem()))
    13  	var nullValue *auth.UserAuth
    14  	return nullValue
    15  }
    16  
    17  func EqPtrToAuthUserAuth(value *auth.UserAuth) *auth.UserAuth {
    18  	pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
    19  	var nullValue *auth.UserAuth
    20  	return nullValue
    21  }