automock

package
v0.0.0-...-cc7cbc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLRenderer

type HTMLRenderer struct {
	mock.Mock
}

HTMLRenderer is an autogenerated mock type for the HTMLRenderer type

func (*HTMLRenderer) RenderTemplate

func (_m *HTMLRenderer) RenderTemplate(w io.Writer, templateName renderer.TemplateName, data interface{}) error

RenderTemplate provides a mock function with given fields: w, templateName, data

type JWTService

type JWTService struct {
	mock.Mock
}

JWTService is an autogenerated mock type for the JWTService type

func (*JWTService) GetUser

func (_m *JWTService) GetUser(token jwt.Token) (model.User, error)

GetUser provides a mock function with given fields: token

func (*JWTService) ParseAndVerify

func (_m *JWTService) ParseAndVerify(jwtSrc string, jwksURI string) (jwt.Token, error)

ParseAndVerify provides a mock function with given fields: jwtSrc, jwksURI

type K8sClient

type K8sClient struct {
	mock.Mock
}

K8sClient is an autogenerated mock type for the K8sClient type

func (*K8sClient) EnsureUserPermissions

func (_m *K8sClient) EnsureUserPermissions(user model.User) error

EnsureUserPermissions provides a mock function with given fields: user

type UAAClient

type UAAClient struct {
	mock.Mock
}

UAAClient is an autogenerated mock type for the UAAClient type

func (*UAAClient) GetAuthorizationEndpointWithParams

func (_m *UAAClient) GetAuthorizationEndpointWithParams(authzEndpoint string, oauthState string) (string, error)

GetAuthorizationEndpointWithParams provides a mock function with given fields: authzEndpoint, oauthState

func (*UAAClient) GetOpenIDConfiguration

func (_m *UAAClient) GetOpenIDConfiguration() (uaa.OpenIDConfiguration, error)

GetOpenIDConfiguration provides a mock function with given fields:

func (*UAAClient) GetToken

func (_m *UAAClient) GetToken(tokenEndpoint string, authCode string) (map[string]interface{}, error)

GetToken provides a mock function with given fields: tokenEndpoint, authCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL