mocks

package
v0.0.0-...-ea1c39e Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTSource

type JWTSource struct {
	mock.Mock
}

JWTSource is an autogenerated mock type for the JWTSource type

func (*JWTSource) FetchToken

func (_m *JWTSource) FetchToken(ctx context.Context) (string, error)

FetchToken provides a mock function with given fields: ctx

type MetricSink

type MetricSink struct {
	mock.Mock
}

MetricSink is an autogenerated mock type for the MetricSink type

func (*MetricSink) AddSample

func (_m *MetricSink) AddSample(key []string, val float32)

AddSample provides a mock function with given fields: key, val

func (*MetricSink) AddSampleWithLabels

func (_m *MetricSink) AddSampleWithLabels(key []string, val float32, labels []metrics.Label)

AddSampleWithLabels provides a mock function with given fields: key, val, labels

func (*MetricSink) EmitKey

func (_m *MetricSink) EmitKey(key []string, val float32)

EmitKey provides a mock function with given fields: key, val

func (*MetricSink) IncrCounter

func (_m *MetricSink) IncrCounter(key []string, val float32)

IncrCounter provides a mock function with given fields: key, val

func (*MetricSink) IncrCounterWithLabels

func (_m *MetricSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)

IncrCounterWithLabels provides a mock function with given fields: key, val, labels

func (*MetricSink) SetGauge

func (_m *MetricSink) SetGauge(key []string, val float32)

SetGauge provides a mock function with given fields: key, val

func (*MetricSink) SetGaugeWithLabels

func (_m *MetricSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)

SetGaugeWithLabels provides a mock function with given fields: key, val, labels

type STSAPI

type STSAPI struct {
	mock.Mock
}

STSAPI is an autogenerated mock type for the STSAPI type

func (*STSAPI) AssumeRole

func (_m *STSAPI) AssumeRole(_a0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)

AssumeRole provides a mock function with given fields: _a0

func (*STSAPI) AssumeRoleRequest

func (_m *STSAPI) AssumeRoleRequest(_a0 *sts.AssumeRoleInput) (*request.Request, *sts.AssumeRoleOutput)

AssumeRoleRequest provides a mock function with given fields: _a0

func (*STSAPI) AssumeRoleWithContext

func (_m *STSAPI) AssumeRoleWithContext(_a0 context.Context, _a1 *sts.AssumeRoleInput, _a2 ...request.Option) (*sts.AssumeRoleOutput, error)

AssumeRoleWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) AssumeRoleWithSAML

func (_m *STSAPI) AssumeRoleWithSAML(_a0 *sts.AssumeRoleWithSAMLInput) (*sts.AssumeRoleWithSAMLOutput, error)

AssumeRoleWithSAML provides a mock function with given fields: _a0

func (*STSAPI) AssumeRoleWithSAMLRequest

func (_m *STSAPI) AssumeRoleWithSAMLRequest(_a0 *sts.AssumeRoleWithSAMLInput) (*request.Request, *sts.AssumeRoleWithSAMLOutput)

AssumeRoleWithSAMLRequest provides a mock function with given fields: _a0

func (*STSAPI) AssumeRoleWithSAMLWithContext

func (_m *STSAPI) AssumeRoleWithSAMLWithContext(_a0 context.Context, _a1 *sts.AssumeRoleWithSAMLInput, _a2 ...request.Option) (*sts.AssumeRoleWithSAMLOutput, error)

AssumeRoleWithSAMLWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) AssumeRoleWithWebIdentity

func (_m *STSAPI) AssumeRoleWithWebIdentity(_a0 *sts.AssumeRoleWithWebIdentityInput) (*sts.AssumeRoleWithWebIdentityOutput, error)

AssumeRoleWithWebIdentity provides a mock function with given fields: _a0

func (*STSAPI) AssumeRoleWithWebIdentityRequest

func (_m *STSAPI) AssumeRoleWithWebIdentityRequest(_a0 *sts.AssumeRoleWithWebIdentityInput) (*request.Request, *sts.AssumeRoleWithWebIdentityOutput)

AssumeRoleWithWebIdentityRequest provides a mock function with given fields: _a0

func (*STSAPI) AssumeRoleWithWebIdentityWithContext

func (_m *STSAPI) AssumeRoleWithWebIdentityWithContext(_a0 context.Context, _a1 *sts.AssumeRoleWithWebIdentityInput, _a2 ...request.Option) (*sts.AssumeRoleWithWebIdentityOutput, error)

AssumeRoleWithWebIdentityWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) DecodeAuthorizationMessage

func (_m *STSAPI) DecodeAuthorizationMessage(_a0 *sts.DecodeAuthorizationMessageInput) (*sts.DecodeAuthorizationMessageOutput, error)

DecodeAuthorizationMessage provides a mock function with given fields: _a0

func (*STSAPI) DecodeAuthorizationMessageRequest

func (_m *STSAPI) DecodeAuthorizationMessageRequest(_a0 *sts.DecodeAuthorizationMessageInput) (*request.Request, *sts.DecodeAuthorizationMessageOutput)

DecodeAuthorizationMessageRequest provides a mock function with given fields: _a0

func (*STSAPI) DecodeAuthorizationMessageWithContext

func (_m *STSAPI) DecodeAuthorizationMessageWithContext(_a0 context.Context, _a1 *sts.DecodeAuthorizationMessageInput, _a2 ...request.Option) (*sts.DecodeAuthorizationMessageOutput, error)

DecodeAuthorizationMessageWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) GetAccessKeyInfo

func (_m *STSAPI) GetAccessKeyInfo(_a0 *sts.GetAccessKeyInfoInput) (*sts.GetAccessKeyInfoOutput, error)

GetAccessKeyInfo provides a mock function with given fields: _a0

func (*STSAPI) GetAccessKeyInfoRequest

func (_m *STSAPI) GetAccessKeyInfoRequest(_a0 *sts.GetAccessKeyInfoInput) (*request.Request, *sts.GetAccessKeyInfoOutput)

GetAccessKeyInfoRequest provides a mock function with given fields: _a0

func (*STSAPI) GetAccessKeyInfoWithContext

func (_m *STSAPI) GetAccessKeyInfoWithContext(_a0 context.Context, _a1 *sts.GetAccessKeyInfoInput, _a2 ...request.Option) (*sts.GetAccessKeyInfoOutput, error)

GetAccessKeyInfoWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) GetCallerIdentity

func (_m *STSAPI) GetCallerIdentity(_a0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)

GetCallerIdentity provides a mock function with given fields: _a0

func (*STSAPI) GetCallerIdentityRequest

func (_m *STSAPI) GetCallerIdentityRequest(_a0 *sts.GetCallerIdentityInput) (*request.Request, *sts.GetCallerIdentityOutput)

GetCallerIdentityRequest provides a mock function with given fields: _a0

func (*STSAPI) GetCallerIdentityWithContext

func (_m *STSAPI) GetCallerIdentityWithContext(_a0 context.Context, _a1 *sts.GetCallerIdentityInput, _a2 ...request.Option) (*sts.GetCallerIdentityOutput, error)

GetCallerIdentityWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) GetFederationToken

func (_m *STSAPI) GetFederationToken(_a0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error)

GetFederationToken provides a mock function with given fields: _a0

func (*STSAPI) GetFederationTokenRequest

func (_m *STSAPI) GetFederationTokenRequest(_a0 *sts.GetFederationTokenInput) (*request.Request, *sts.GetFederationTokenOutput)

GetFederationTokenRequest provides a mock function with given fields: _a0

func (*STSAPI) GetFederationTokenWithContext

func (_m *STSAPI) GetFederationTokenWithContext(_a0 context.Context, _a1 *sts.GetFederationTokenInput, _a2 ...request.Option) (*sts.GetFederationTokenOutput, error)

GetFederationTokenWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*STSAPI) GetSessionToken

func (_m *STSAPI) GetSessionToken(_a0 *sts.GetSessionTokenInput) (*sts.GetSessionTokenOutput, error)

GetSessionToken provides a mock function with given fields: _a0

func (*STSAPI) GetSessionTokenRequest

func (_m *STSAPI) GetSessionTokenRequest(_a0 *sts.GetSessionTokenInput) (*request.Request, *sts.GetSessionTokenOutput)

GetSessionTokenRequest provides a mock function with given fields: _a0

func (*STSAPI) GetSessionTokenWithContext

func (_m *STSAPI) GetSessionTokenWithContext(_a0 context.Context, _a1 *sts.GetSessionTokenInput, _a2 ...request.Option) (*sts.GetSessionTokenOutput, error)

GetSessionTokenWithContext provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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