alertfakes

package
v9.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAlerter

type FakeAlerter struct {
	NotUnhealthyStub func(time.Time) error

	UnhealthyStub func(time.Time) error
	// contains filtered or unexported fields
}

func (*FakeAlerter) Invocations

func (fake *FakeAlerter) Invocations() map[string][][]interface{}

func (*FakeAlerter) NotUnhealthy

func (fake *FakeAlerter) NotUnhealthy(arg1 time.Time) error

func (*FakeAlerter) NotUnhealthyArgsForCall

func (fake *FakeAlerter) NotUnhealthyArgsForCall(i int) time.Time

func (*FakeAlerter) NotUnhealthyCallCount

func (fake *FakeAlerter) NotUnhealthyCallCount() int

func (*FakeAlerter) NotUnhealthyReturns

func (fake *FakeAlerter) NotUnhealthyReturns(result1 error)

func (*FakeAlerter) NotUnhealthyReturnsOnCall

func (fake *FakeAlerter) NotUnhealthyReturnsOnCall(i int, result1 error)

func (*FakeAlerter) Unhealthy

func (fake *FakeAlerter) Unhealthy(arg1 time.Time) error

func (*FakeAlerter) UnhealthyArgsForCall

func (fake *FakeAlerter) UnhealthyArgsForCall(i int) time.Time

func (*FakeAlerter) UnhealthyCallCount

func (fake *FakeAlerter) UnhealthyCallCount() int

func (*FakeAlerter) UnhealthyReturns

func (fake *FakeAlerter) UnhealthyReturns(result1 error)

func (*FakeAlerter) UnhealthyReturnsOnCall

func (fake *FakeAlerter) UnhealthyReturnsOnCall(i int, result1 error)

type FakeNotificationsClient

type FakeNotificationsClient struct {
	EmailStub func(clientToken string, to string, subject string, html string, kindID string) error
	// contains filtered or unexported fields
}

func (*FakeNotificationsClient) Email

func (fake *FakeNotificationsClient) Email(clientToken string, to string, subject string, html string, kindID string) error

func (*FakeNotificationsClient) EmailArgsForCall

func (fake *FakeNotificationsClient) EmailArgsForCall(i int) (string, string, string, string, string)

func (*FakeNotificationsClient) EmailCallCount

func (fake *FakeNotificationsClient) EmailCallCount() int

func (*FakeNotificationsClient) EmailReturns

func (fake *FakeNotificationsClient) EmailReturns(result1 error)

func (*FakeNotificationsClient) EmailReturnsOnCall

func (fake *FakeNotificationsClient) EmailReturnsOnCall(i int, result1 error)

func (*FakeNotificationsClient) Invocations

func (fake *FakeNotificationsClient) Invocations() map[string][][]interface{}

type FakeSwitchboardClient

type FakeSwitchboardClient struct {
	EnableClusterTrafficStub func() error

	DisableClusterTrafficStub func() error
	// contains filtered or unexported fields
}

func (*FakeSwitchboardClient) DisableClusterTraffic

func (fake *FakeSwitchboardClient) DisableClusterTraffic() error

func (*FakeSwitchboardClient) DisableClusterTrafficCallCount

func (fake *FakeSwitchboardClient) DisableClusterTrafficCallCount() int

func (*FakeSwitchboardClient) DisableClusterTrafficReturns

func (fake *FakeSwitchboardClient) DisableClusterTrafficReturns(result1 error)

func (*FakeSwitchboardClient) DisableClusterTrafficReturnsOnCall

func (fake *FakeSwitchboardClient) DisableClusterTrafficReturnsOnCall(i int, result1 error)

func (*FakeSwitchboardClient) EnableClusterTraffic

func (fake *FakeSwitchboardClient) EnableClusterTraffic() error

func (*FakeSwitchboardClient) EnableClusterTrafficCallCount

func (fake *FakeSwitchboardClient) EnableClusterTrafficCallCount() int

func (*FakeSwitchboardClient) EnableClusterTrafficReturns

func (fake *FakeSwitchboardClient) EnableClusterTrafficReturns(result1 error)

func (*FakeSwitchboardClient) EnableClusterTrafficReturnsOnCall

func (fake *FakeSwitchboardClient) EnableClusterTrafficReturnsOnCall(i int, result1 error)

func (*FakeSwitchboardClient) Invocations

func (fake *FakeSwitchboardClient) Invocations() map[string][][]interface{}

type FakeUAAClient

type FakeUAAClient struct {
	FetchTokenStub func(forceUpdate bool) (*schema.Token, error)

	FetchKeyStub func() (string, error)

	DecodeTokenStub func(uaaToken string, desiredPermissions ...string) error

	RegisterOauthClientStub func(*schema.OauthClient) (*schema.OauthClient, error)

	FetchIssuerStub func() (string, error)
	// contains filtered or unexported fields
}

func (*FakeUAAClient) DecodeToken

func (fake *FakeUAAClient) DecodeToken(uaaToken string, desiredPermissions ...string) error

func (*FakeUAAClient) DecodeTokenArgsForCall

func (fake *FakeUAAClient) DecodeTokenArgsForCall(i int) (string, []string)

func (*FakeUAAClient) DecodeTokenCallCount

func (fake *FakeUAAClient) DecodeTokenCallCount() int

func (*FakeUAAClient) DecodeTokenReturns

func (fake *FakeUAAClient) DecodeTokenReturns(result1 error)

func (*FakeUAAClient) DecodeTokenReturnsOnCall

func (fake *FakeUAAClient) DecodeTokenReturnsOnCall(i int, result1 error)

func (*FakeUAAClient) FetchIssuer

func (fake *FakeUAAClient) FetchIssuer() (string, error)

func (*FakeUAAClient) FetchIssuerCallCount

func (fake *FakeUAAClient) FetchIssuerCallCount() int

func (*FakeUAAClient) FetchIssuerReturns

func (fake *FakeUAAClient) FetchIssuerReturns(result1 string, result2 error)

func (*FakeUAAClient) FetchIssuerReturnsOnCall

func (fake *FakeUAAClient) FetchIssuerReturnsOnCall(i int, result1 string, result2 error)

func (*FakeUAAClient) FetchKey

func (fake *FakeUAAClient) FetchKey() (string, error)

func (*FakeUAAClient) FetchKeyCallCount

func (fake *FakeUAAClient) FetchKeyCallCount() int

func (*FakeUAAClient) FetchKeyReturns

func (fake *FakeUAAClient) FetchKeyReturns(result1 string, result2 error)

func (*FakeUAAClient) FetchKeyReturnsOnCall

func (fake *FakeUAAClient) FetchKeyReturnsOnCall(i int, result1 string, result2 error)

func (*FakeUAAClient) FetchToken

func (fake *FakeUAAClient) FetchToken(forceUpdate bool) (*schema.Token, error)

func (*FakeUAAClient) FetchTokenArgsForCall

func (fake *FakeUAAClient) FetchTokenArgsForCall(i int) bool

func (*FakeUAAClient) FetchTokenCallCount

func (fake *FakeUAAClient) FetchTokenCallCount() int

func (*FakeUAAClient) FetchTokenReturns

func (fake *FakeUAAClient) FetchTokenReturns(result1 *schema.Token, result2 error)

func (*FakeUAAClient) FetchTokenReturnsOnCall

func (fake *FakeUAAClient) FetchTokenReturnsOnCall(i int, result1 *schema.Token, result2 error)

func (*FakeUAAClient) Invocations

func (fake *FakeUAAClient) Invocations() map[string][][]interface{}

func (*FakeUAAClient) RegisterOauthClient

func (fake *FakeUAAClient) RegisterOauthClient(arg1 *schema.OauthClient) (*schema.OauthClient, error)

func (*FakeUAAClient) RegisterOauthClientArgsForCall

func (fake *FakeUAAClient) RegisterOauthClientArgsForCall(i int) *schema.OauthClient

func (*FakeUAAClient) RegisterOauthClientCallCount

func (fake *FakeUAAClient) RegisterOauthClientCallCount() int

func (*FakeUAAClient) RegisterOauthClientReturns

func (fake *FakeUAAClient) RegisterOauthClientReturns(result1 *schema.OauthClient, result2 error)

func (*FakeUAAClient) RegisterOauthClientReturnsOnCall

func (fake *FakeUAAClient) RegisterOauthClientReturnsOnCall(i int, result1 *schema.OauthClient, result2 error)

Jump to

Keyboard shortcuts

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