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.
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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAdjustedClient
- func (fake *FakeAdjustedClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeAdjustedClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeAdjustedClient) DoCallCount() int
- func (fake *FakeAdjustedClient) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakeAdjustedClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeAdjustedClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeAdjustedClient) Invocations() map[string][][]interface{}
- type FakeAdjustment
- func (fake *FakeAdjustment) Adjust(arg1 *http.Request, arg2 bool) error
- func (fake *FakeAdjustment) AdjustArgsForCall(i int) (*http.Request, bool)
- func (fake *FakeAdjustment) AdjustCallCount() int
- func (fake *FakeAdjustment) AdjustCalls(stub func(*http.Request, bool) error)
- func (fake *FakeAdjustment) AdjustReturns(result1 error)
- func (fake *FakeAdjustment) AdjustReturnsOnCall(i int, result1 error)
- func (fake *FakeAdjustment) Invocations() map[string][][]interface{}
- func (fake *FakeAdjustment) NeedsReadjustment(arg1 *http.Response) bool
- func (fake *FakeAdjustment) NeedsReadjustmentArgsForCall(i int) *http.Response
- func (fake *FakeAdjustment) NeedsReadjustmentCallCount() int
- func (fake *FakeAdjustment) NeedsReadjustmentCalls(stub func(*http.Response) bool)
- func (fake *FakeAdjustment) NeedsReadjustmentReturns(result1 bool)
- func (fake *FakeAdjustment) NeedsReadjustmentReturnsOnCall(i int, result1 bool)
- type FakeCertAppender
- func (fake *FakeCertAppender) AppendCertsFromPEM(arg1 []byte) bool
- func (fake *FakeCertAppender) AppendCertsFromPEMArgsForCall(i int) []byte
- func (fake *FakeCertAppender) AppendCertsFromPEMCallCount() int
- func (fake *FakeCertAppender) AppendCertsFromPEMCalls(stub func([]byte) bool)
- func (fake *FakeCertAppender) AppendCertsFromPEMReturns(result1 bool)
- func (fake *FakeCertAppender) AppendCertsFromPEMReturnsOnCall(i int, result1 bool)
- func (fake *FakeCertAppender) Invocations() map[string][][]interface{}
- type FakeClient
- func (fake *FakeClient) BoshEnvironment() (string, string, string, error)
- func (fake *FakeClient) BoshEnvironmentCallCount() int
- func (fake *FakeClient) BoshEnvironmentCalls(stub func() (string, string, string, error))
- func (fake *FakeClient) BoshEnvironmentReturns(result1 string, result2 string, result3 string, result4 error)
- func (fake *FakeClient) BoshEnvironmentReturnsOnCall(i int, result1 string, result2 string, result3 string, result4 error)
- func (fake *FakeClient) CertificateAuthorities() ([]httpclient.CA, error)
- func (fake *FakeClient) CertificateAuthoritiesCallCount() int
- func (fake *FakeClient) CertificateAuthoritiesCalls(stub func() ([]httpclient.CA, error))
- func (fake *FakeClient) CertificateAuthoritiesReturns(result1 []httpclient.CA, result2 error)
- func (fake *FakeClient) CertificateAuthoritiesReturnsOnCall(i int, result1 []httpclient.CA, result2 error)
- func (fake *FakeClient) DeployedProduct(arg1 string) (string, error)
- func (fake *FakeClient) DeployedProductArgsForCall(i int) string
- func (fake *FakeClient) DeployedProductCallCount() int
- func (fake *FakeClient) DeployedProductCalls(stub func(string) (string, error))
- func (fake *FakeClient) DeployedProductCredentials(arg1 string, arg2 string) (httpclient.DeployedProductCredential, error)
- func (fake *FakeClient) DeployedProductCredentialsArgsForCall(i int) (string, string)
- func (fake *FakeClient) DeployedProductCredentialsCallCount() int
- func (fake *FakeClient) DeployedProductCredentialsCalls(stub func(string, string) (httpclient.DeployedProductCredential, error))
- func (fake *FakeClient) DeployedProductCredentialsReturns(result1 httpclient.DeployedProductCredential, result2 error)
- func (fake *FakeClient) DeployedProductCredentialsReturnsOnCall(i int, result1 httpclient.DeployedProductCredential, result2 error)
- func (fake *FakeClient) DeployedProductReturns(result1 string, result2 error)
- func (fake *FakeClient) DeployedProductReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) StagedProductProperties(arg1 string) (map[string]httpclient.ResponseProperty, error)
- func (fake *FakeClient) StagedProductPropertiesArgsForCall(i int) string
- func (fake *FakeClient) StagedProductPropertiesCallCount() int
- func (fake *FakeClient) StagedProductPropertiesCalls(stub func(string) (map[string]httpclient.ResponseProperty, error))
- func (fake *FakeClient) StagedProductPropertiesReturns(result1 map[string]httpclient.ResponseProperty, result2 error)
- func (fake *FakeClient) StagedProductPropertiesReturnsOnCall(i int, result1 map[string]httpclient.ResponseProperty, result2 error)
- type FakeClientFactory
- func (fake *FakeClientFactory) Invocations() map[string][][]interface{}
- func (fake *FakeClientFactory) New(arg1 string, arg2 []byte, arg3 om.CertAppender, arg4 config.Authentication) (om.Client, error)
- func (fake *FakeClientFactory) NewArgsForCall(i int) (string, []byte, om.CertAppender, config.Authentication)
- func (fake *FakeClientFactory) NewCallCount() int
- func (fake *FakeClientFactory) NewCalls(...)
- func (fake *FakeClientFactory) NewReturns(result1 om.Client, result2 error)
- func (fake *FakeClientFactory) NewReturnsOnCall(i int, result1 om.Client, result2 error)
- type FakeOpsManClient
- func (fake *FakeOpsManClient) GetBOSHCredentials() (string, error)
- func (fake *FakeOpsManClient) GetBOSHCredentialsCallCount() int
- func (fake *FakeOpsManClient) GetBOSHCredentialsCalls(stub func() (string, error))
- func (fake *FakeOpsManClient) GetBOSHCredentialsReturns(result1 string, result2 error)
- func (fake *FakeOpsManClient) GetBOSHCredentialsReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeOpsManClient) GetStagedProductProperties(arg1 string) (map[string]httpclient.ResponseProperty, error)
- func (fake *FakeOpsManClient) GetStagedProductPropertiesArgsForCall(i int) string
- func (fake *FakeOpsManClient) GetStagedProductPropertiesCallCount() int
- func (fake *FakeOpsManClient) GetStagedProductPropertiesCalls(stub func(string) (map[string]httpclient.ResponseProperty, error))
- func (fake *FakeOpsManClient) GetStagedProductPropertiesReturns(result1 map[string]httpclient.ResponseProperty, result2 error)
- func (fake *FakeOpsManClient) GetStagedProductPropertiesReturnsOnCall(i int, result1 map[string]httpclient.ResponseProperty, result2 error)
- func (fake *FakeOpsManClient) Invocations() map[string][][]interface{}
- func (fake *FakeOpsManClient) ListCertificateAuthorities() ([]httpclient.CA, error)
- func (fake *FakeOpsManClient) ListCertificateAuthoritiesCallCount() int
- func (fake *FakeOpsManClient) ListCertificateAuthoritiesCalls(stub func() ([]httpclient.CA, error))
- func (fake *FakeOpsManClient) ListCertificateAuthoritiesReturns(result1 []httpclient.CA, result2 error)
- func (fake *FakeOpsManClient) ListCertificateAuthoritiesReturnsOnCall(i int, result1 []httpclient.CA, result2 error)
- func (fake *FakeOpsManClient) ListDeployedProductCredentials(arg1 string, arg2 string) (httpclient.DeployedProductCredential, error)
- func (fake *FakeOpsManClient) ListDeployedProductCredentialsArgsForCall(i int) (string, string)
- func (fake *FakeOpsManClient) ListDeployedProductCredentialsCallCount() int
- func (fake *FakeOpsManClient) ListDeployedProductCredentialsCalls(stub func(string, string) (httpclient.DeployedProductCredential, error))
- func (fake *FakeOpsManClient) ListDeployedProductCredentialsReturns(result1 httpclient.DeployedProductCredential, result2 error)
- func (fake *FakeOpsManClient) ListDeployedProductCredentialsReturnsOnCall(i int, result1 httpclient.DeployedProductCredential, result2 error)
- func (fake *FakeOpsManClient) ListDeployedProducts() ([]httpclient.DeployedProduct, error)
- func (fake *FakeOpsManClient) ListDeployedProductsCallCount() int
- func (fake *FakeOpsManClient) ListDeployedProductsCalls(stub func() ([]httpclient.DeployedProduct, error))
- func (fake *FakeOpsManClient) ListDeployedProductsReturns(result1 []httpclient.DeployedProduct, result2 error)
- func (fake *FakeOpsManClient) ListDeployedProductsReturnsOnCall(i int, result1 []httpclient.DeployedProduct, result2 error)
- type FakeOpsManager
- func (fake *FakeOpsManager) GetBOSHCredentials() (om.BoshCredentials, error)
- func (fake *FakeOpsManager) GetBOSHCredentialsCallCount() int
- func (fake *FakeOpsManager) GetBOSHCredentialsCalls(stub func() (om.BoshCredentials, error))
- func (fake *FakeOpsManager) GetBOSHCredentialsReturns(result1 om.BoshCredentials, result2 error)
- func (fake *FakeOpsManager) GetBOSHCredentialsReturnsOnCall(i int, result1 om.BoshCredentials, result2 error)
- func (fake *FakeOpsManager) GetCertificateAuthorities() ([]httpclient.CA, error)
- func (fake *FakeOpsManager) GetCertificateAuthoritiesCallCount() int
- func (fake *FakeOpsManager) GetCertificateAuthoritiesCalls(stub func() ([]httpclient.CA, error))
- func (fake *FakeOpsManager) GetCertificateAuthoritiesReturns(result1 []httpclient.CA, result2 error)
- func (fake *FakeOpsManager) GetCertificateAuthoritiesReturnsOnCall(i int, result1 []httpclient.CA, result2 error)
- func (fake *FakeOpsManager) GetDeployedProductCredentials(arg1 string, arg2 string) (httpclient.DeployedProductCredential, error)
- func (fake *FakeOpsManager) GetDeployedProductCredentialsArgsForCall(i int) (string, string)
- func (fake *FakeOpsManager) GetDeployedProductCredentialsCallCount() int
- func (fake *FakeOpsManager) GetDeployedProductCredentialsCalls(stub func(string, string) (httpclient.DeployedProductCredential, error))
- func (fake *FakeOpsManager) GetDeployedProductCredentialsReturns(result1 httpclient.DeployedProductCredential, result2 error)
- func (fake *FakeOpsManager) GetDeployedProductCredentialsReturnsOnCall(i int, result1 httpclient.DeployedProductCredential, result2 error)
- func (fake *FakeOpsManager) GetStagedProductProperties(arg1 string) (map[string]httpclient.ResponseProperty, error)
- func (fake *FakeOpsManager) GetStagedProductPropertiesArgsForCall(i int) string
- func (fake *FakeOpsManager) GetStagedProductPropertiesCallCount() int
- func (fake *FakeOpsManager) GetStagedProductPropertiesCalls(stub func(string) (map[string]httpclient.ResponseProperty, error))
- func (fake *FakeOpsManager) GetStagedProductPropertiesReturns(result1 map[string]httpclient.ResponseProperty, result2 error)
- func (fake *FakeOpsManager) GetStagedProductPropertiesReturnsOnCall(i int, result1 map[string]httpclient.ResponseProperty, result2 error)
- func (fake *FakeOpsManager) Invocations() map[string][][]interface{}
- func (fake *FakeOpsManager) ListDeployedProducts() ([]httpclient.DeployedProduct, error)
- func (fake *FakeOpsManager) ListDeployedProductsCallCount() int
- func (fake *FakeOpsManager) ListDeployedProductsCalls(stub func() ([]httpclient.DeployedProduct, error))
- func (fake *FakeOpsManager) ListDeployedProductsReturns(result1 []httpclient.DeployedProduct, result2 error)
- func (fake *FakeOpsManager) ListDeployedProductsReturnsOnCall(i int, result1 []httpclient.DeployedProduct, result2 error)
- type FakeOpsManagerFactory
- func (fake *FakeOpsManagerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeOpsManagerFactory) New(arg1 om.Config) (om.OpsManager, error)
- func (fake *FakeOpsManagerFactory) NewArgsForCall(i int) om.Config
- func (fake *FakeOpsManagerFactory) NewCallCount() int
- func (fake *FakeOpsManagerFactory) NewCalls(stub func(om.Config) (om.OpsManager, error))
- func (fake *FakeOpsManagerFactory) NewReturns(result1 om.OpsManager, result2 error)
- func (fake *FakeOpsManagerFactory) NewReturnsOnCall(i int, result1 om.OpsManager, result2 error)
- type FakeUAAFactory
- func (fake *FakeUAAFactory) Invocations() map[string][][]interface{}
- func (fake *FakeUAAFactory) New(arg1 uaa.Config) (uaa.UAA, error)
- func (fake *FakeUAAFactory) NewArgsForCall(i int) uaa.Config
- func (fake *FakeUAAFactory) NewCallCount() int
- func (fake *FakeUAAFactory) NewCalls(stub func(uaa.Config) (uaa.UAA, error))
- func (fake *FakeUAAFactory) NewReturns(result1 uaa.UAA, result2 error)
- func (fake *FakeUAAFactory) NewReturnsOnCall(i int, result1 uaa.UAA, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAdjustedClient ¶
type FakeAdjustedClient struct { DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeAdjustedClient) DoArgsForCall ¶
func (fake *FakeAdjustedClient) DoArgsForCall(i int) *http.Request
func (*FakeAdjustedClient) DoCallCount ¶
func (fake *FakeAdjustedClient) DoCallCount() int
func (*FakeAdjustedClient) DoReturns ¶
func (fake *FakeAdjustedClient) DoReturns(result1 *http.Response, result2 error)
func (*FakeAdjustedClient) DoReturnsOnCall ¶
func (fake *FakeAdjustedClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeAdjustedClient) Invocations ¶
func (fake *FakeAdjustedClient) Invocations() map[string][][]interface{}
type FakeAdjustment ¶
type FakeAdjustment struct { AdjustStub func(*http.Request, bool) error NeedsReadjustmentStub func(*http.Response) bool // contains filtered or unexported fields }
func (*FakeAdjustment) Adjust ¶
func (fake *FakeAdjustment) Adjust(arg1 *http.Request, arg2 bool) error
func (*FakeAdjustment) AdjustArgsForCall ¶
func (fake *FakeAdjustment) AdjustArgsForCall(i int) (*http.Request, bool)
func (*FakeAdjustment) AdjustCallCount ¶
func (fake *FakeAdjustment) AdjustCallCount() int
func (*FakeAdjustment) AdjustCalls ¶
func (fake *FakeAdjustment) AdjustCalls(stub func(*http.Request, bool) error)
func (*FakeAdjustment) AdjustReturns ¶
func (fake *FakeAdjustment) AdjustReturns(result1 error)
func (*FakeAdjustment) AdjustReturnsOnCall ¶
func (fake *FakeAdjustment) AdjustReturnsOnCall(i int, result1 error)
func (*FakeAdjustment) Invocations ¶
func (fake *FakeAdjustment) Invocations() map[string][][]interface{}
func (*FakeAdjustment) NeedsReadjustment ¶
func (fake *FakeAdjustment) NeedsReadjustment(arg1 *http.Response) bool
func (*FakeAdjustment) NeedsReadjustmentArgsForCall ¶
func (fake *FakeAdjustment) NeedsReadjustmentArgsForCall(i int) *http.Response
func (*FakeAdjustment) NeedsReadjustmentCallCount ¶
func (fake *FakeAdjustment) NeedsReadjustmentCallCount() int
func (*FakeAdjustment) NeedsReadjustmentCalls ¶
func (fake *FakeAdjustment) NeedsReadjustmentCalls(stub func(*http.Response) bool)
func (*FakeAdjustment) NeedsReadjustmentReturns ¶
func (fake *FakeAdjustment) NeedsReadjustmentReturns(result1 bool)
func (*FakeAdjustment) NeedsReadjustmentReturnsOnCall ¶
func (fake *FakeAdjustment) NeedsReadjustmentReturnsOnCall(i int, result1 bool)
type FakeCertAppender ¶
type FakeCertAppender struct { AppendCertsFromPEMStub func([]byte) bool // contains filtered or unexported fields }
func (*FakeCertAppender) AppendCertsFromPEM ¶
func (fake *FakeCertAppender) AppendCertsFromPEM(arg1 []byte) bool
func (*FakeCertAppender) AppendCertsFromPEMArgsForCall ¶
func (fake *FakeCertAppender) AppendCertsFromPEMArgsForCall(i int) []byte
func (*FakeCertAppender) AppendCertsFromPEMCallCount ¶
func (fake *FakeCertAppender) AppendCertsFromPEMCallCount() int
func (*FakeCertAppender) AppendCertsFromPEMCalls ¶
func (fake *FakeCertAppender) AppendCertsFromPEMCalls(stub func([]byte) bool)
func (*FakeCertAppender) AppendCertsFromPEMReturns ¶
func (fake *FakeCertAppender) AppendCertsFromPEMReturns(result1 bool)
func (*FakeCertAppender) AppendCertsFromPEMReturnsOnCall ¶
func (fake *FakeCertAppender) AppendCertsFromPEMReturnsOnCall(i int, result1 bool)
func (*FakeCertAppender) Invocations ¶
func (fake *FakeCertAppender) Invocations() map[string][][]interface{}
type FakeClient ¶
type FakeClient struct { BoshEnvironmentStub func() (string, string, string, error) CertificateAuthoritiesStub func() ([]httpclient.CA, error) DeployedProductStub func(string) (string, error) DeployedProductCredentialsStub func(string, string) (httpclient.DeployedProductCredential, error) StagedProductPropertiesStub func(string) (map[string]httpclient.ResponseProperty, error) // contains filtered or unexported fields }
func (*FakeClient) BoshEnvironment ¶
func (fake *FakeClient) BoshEnvironment() (string, string, string, error)
func (*FakeClient) BoshEnvironmentCallCount ¶
func (fake *FakeClient) BoshEnvironmentCallCount() int
func (*FakeClient) BoshEnvironmentCalls ¶
func (fake *FakeClient) BoshEnvironmentCalls(stub func() (string, string, string, error))
func (*FakeClient) BoshEnvironmentReturns ¶
func (fake *FakeClient) BoshEnvironmentReturns(result1 string, result2 string, result3 string, result4 error)
func (*FakeClient) BoshEnvironmentReturnsOnCall ¶
func (*FakeClient) CertificateAuthorities ¶
func (fake *FakeClient) CertificateAuthorities() ([]httpclient.CA, error)
func (*FakeClient) CertificateAuthoritiesCallCount ¶
func (fake *FakeClient) CertificateAuthoritiesCallCount() int
func (*FakeClient) CertificateAuthoritiesCalls ¶
func (fake *FakeClient) CertificateAuthoritiesCalls(stub func() ([]httpclient.CA, error))
func (*FakeClient) CertificateAuthoritiesReturns ¶
func (fake *FakeClient) CertificateAuthoritiesReturns(result1 []httpclient.CA, result2 error)
func (*FakeClient) CertificateAuthoritiesReturnsOnCall ¶
func (fake *FakeClient) CertificateAuthoritiesReturnsOnCall(i int, result1 []httpclient.CA, result2 error)
func (*FakeClient) DeployedProduct ¶
func (fake *FakeClient) DeployedProduct(arg1 string) (string, error)
func (*FakeClient) DeployedProductArgsForCall ¶
func (fake *FakeClient) DeployedProductArgsForCall(i int) string
func (*FakeClient) DeployedProductCallCount ¶
func (fake *FakeClient) DeployedProductCallCount() int
func (*FakeClient) DeployedProductCalls ¶
func (fake *FakeClient) DeployedProductCalls(stub func(string) (string, error))
func (*FakeClient) DeployedProductCredentials ¶
func (fake *FakeClient) DeployedProductCredentials(arg1 string, arg2 string) (httpclient.DeployedProductCredential, error)
func (*FakeClient) DeployedProductCredentialsArgsForCall ¶
func (fake *FakeClient) DeployedProductCredentialsArgsForCall(i int) (string, string)
func (*FakeClient) DeployedProductCredentialsCallCount ¶
func (fake *FakeClient) DeployedProductCredentialsCallCount() int
func (*FakeClient) DeployedProductCredentialsCalls ¶
func (fake *FakeClient) DeployedProductCredentialsCalls(stub func(string, string) (httpclient.DeployedProductCredential, error))
func (*FakeClient) DeployedProductCredentialsReturns ¶
func (fake *FakeClient) DeployedProductCredentialsReturns(result1 httpclient.DeployedProductCredential, result2 error)
func (*FakeClient) DeployedProductCredentialsReturnsOnCall ¶
func (fake *FakeClient) DeployedProductCredentialsReturnsOnCall(i int, result1 httpclient.DeployedProductCredential, result2 error)
func (*FakeClient) DeployedProductReturns ¶
func (fake *FakeClient) DeployedProductReturns(result1 string, result2 error)
func (*FakeClient) DeployedProductReturnsOnCall ¶
func (fake *FakeClient) DeployedProductReturnsOnCall(i int, result1 string, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) StagedProductProperties ¶
func (fake *FakeClient) StagedProductProperties(arg1 string) (map[string]httpclient.ResponseProperty, error)
func (*FakeClient) StagedProductPropertiesArgsForCall ¶
func (fake *FakeClient) StagedProductPropertiesArgsForCall(i int) string
func (*FakeClient) StagedProductPropertiesCallCount ¶
func (fake *FakeClient) StagedProductPropertiesCallCount() int
func (*FakeClient) StagedProductPropertiesCalls ¶
func (fake *FakeClient) StagedProductPropertiesCalls(stub func(string) (map[string]httpclient.ResponseProperty, error))
func (*FakeClient) StagedProductPropertiesReturns ¶
func (fake *FakeClient) StagedProductPropertiesReturns(result1 map[string]httpclient.ResponseProperty, result2 error)
func (*FakeClient) StagedProductPropertiesReturnsOnCall ¶
func (fake *FakeClient) StagedProductPropertiesReturnsOnCall(i int, result1 map[string]httpclient.ResponseProperty, result2 error)
type FakeClientFactory ¶
type FakeClientFactory struct { NewStub func(string, []byte, om.CertAppender, config.Authentication) (om.Client, error) // contains filtered or unexported fields }
func (*FakeClientFactory) Invocations ¶
func (fake *FakeClientFactory) Invocations() map[string][][]interface{}
func (*FakeClientFactory) New ¶
func (fake *FakeClientFactory) New(arg1 string, arg2 []byte, arg3 om.CertAppender, arg4 config.Authentication) (om.Client, error)
func (*FakeClientFactory) NewArgsForCall ¶
func (fake *FakeClientFactory) NewArgsForCall(i int) (string, []byte, om.CertAppender, config.Authentication)
func (*FakeClientFactory) NewCallCount ¶
func (fake *FakeClientFactory) NewCallCount() int
func (*FakeClientFactory) NewCalls ¶
func (fake *FakeClientFactory) NewCalls(stub func(string, []byte, om.CertAppender, config.Authentication) (om.Client, error))
func (*FakeClientFactory) NewReturns ¶
func (fake *FakeClientFactory) NewReturns(result1 om.Client, result2 error)
func (*FakeClientFactory) NewReturnsOnCall ¶
func (fake *FakeClientFactory) NewReturnsOnCall(i int, result1 om.Client, result2 error)
type FakeOpsManClient ¶
type FakeOpsManClient struct { GetBOSHCredentialsStub func() (string, error) GetStagedProductPropertiesStub func(string) (map[string]httpclient.ResponseProperty, error) ListCertificateAuthoritiesStub func() ([]httpclient.CA, error) ListDeployedProductCredentialsStub func(string, string) (httpclient.DeployedProductCredential, error) ListDeployedProductsStub func() ([]httpclient.DeployedProduct, error) // contains filtered or unexported fields }
func (*FakeOpsManClient) GetBOSHCredentials ¶
func (fake *FakeOpsManClient) GetBOSHCredentials() (string, error)
func (*FakeOpsManClient) GetBOSHCredentialsCallCount ¶
func (fake *FakeOpsManClient) GetBOSHCredentialsCallCount() int
func (*FakeOpsManClient) GetBOSHCredentialsCalls ¶
func (fake *FakeOpsManClient) GetBOSHCredentialsCalls(stub func() (string, error))
func (*FakeOpsManClient) GetBOSHCredentialsReturns ¶
func (fake *FakeOpsManClient) GetBOSHCredentialsReturns(result1 string, result2 error)
func (*FakeOpsManClient) GetBOSHCredentialsReturnsOnCall ¶
func (fake *FakeOpsManClient) GetBOSHCredentialsReturnsOnCall(i int, result1 string, result2 error)
func (*FakeOpsManClient) GetStagedProductProperties ¶
func (fake *FakeOpsManClient) GetStagedProductProperties(arg1 string) (map[string]httpclient.ResponseProperty, error)
func (*FakeOpsManClient) GetStagedProductPropertiesArgsForCall ¶
func (fake *FakeOpsManClient) GetStagedProductPropertiesArgsForCall(i int) string
func (*FakeOpsManClient) GetStagedProductPropertiesCallCount ¶
func (fake *FakeOpsManClient) GetStagedProductPropertiesCallCount() int
func (*FakeOpsManClient) GetStagedProductPropertiesCalls ¶
func (fake *FakeOpsManClient) GetStagedProductPropertiesCalls(stub func(string) (map[string]httpclient.ResponseProperty, error))
func (*FakeOpsManClient) GetStagedProductPropertiesReturns ¶
func (fake *FakeOpsManClient) GetStagedProductPropertiesReturns(result1 map[string]httpclient.ResponseProperty, result2 error)
func (*FakeOpsManClient) GetStagedProductPropertiesReturnsOnCall ¶
func (fake *FakeOpsManClient) GetStagedProductPropertiesReturnsOnCall(i int, result1 map[string]httpclient.ResponseProperty, result2 error)
func (*FakeOpsManClient) Invocations ¶
func (fake *FakeOpsManClient) Invocations() map[string][][]interface{}
func (*FakeOpsManClient) ListCertificateAuthorities ¶
func (fake *FakeOpsManClient) ListCertificateAuthorities() ([]httpclient.CA, error)
func (*FakeOpsManClient) ListCertificateAuthoritiesCallCount ¶
func (fake *FakeOpsManClient) ListCertificateAuthoritiesCallCount() int
func (*FakeOpsManClient) ListCertificateAuthoritiesCalls ¶
func (fake *FakeOpsManClient) ListCertificateAuthoritiesCalls(stub func() ([]httpclient.CA, error))
func (*FakeOpsManClient) ListCertificateAuthoritiesReturns ¶
func (fake *FakeOpsManClient) ListCertificateAuthoritiesReturns(result1 []httpclient.CA, result2 error)
func (*FakeOpsManClient) ListCertificateAuthoritiesReturnsOnCall ¶
func (fake *FakeOpsManClient) ListCertificateAuthoritiesReturnsOnCall(i int, result1 []httpclient.CA, result2 error)
func (*FakeOpsManClient) ListDeployedProductCredentials ¶
func (fake *FakeOpsManClient) ListDeployedProductCredentials(arg1 string, arg2 string) (httpclient.DeployedProductCredential, error)
func (*FakeOpsManClient) ListDeployedProductCredentialsArgsForCall ¶
func (fake *FakeOpsManClient) ListDeployedProductCredentialsArgsForCall(i int) (string, string)
func (*FakeOpsManClient) ListDeployedProductCredentialsCallCount ¶
func (fake *FakeOpsManClient) ListDeployedProductCredentialsCallCount() int
func (*FakeOpsManClient) ListDeployedProductCredentialsCalls ¶
func (fake *FakeOpsManClient) ListDeployedProductCredentialsCalls(stub func(string, string) (httpclient.DeployedProductCredential, error))
func (*FakeOpsManClient) ListDeployedProductCredentialsReturns ¶
func (fake *FakeOpsManClient) ListDeployedProductCredentialsReturns(result1 httpclient.DeployedProductCredential, result2 error)
func (*FakeOpsManClient) ListDeployedProductCredentialsReturnsOnCall ¶
func (fake *FakeOpsManClient) ListDeployedProductCredentialsReturnsOnCall(i int, result1 httpclient.DeployedProductCredential, result2 error)
func (*FakeOpsManClient) ListDeployedProducts ¶
func (fake *FakeOpsManClient) ListDeployedProducts() ([]httpclient.DeployedProduct, error)
func (*FakeOpsManClient) ListDeployedProductsCallCount ¶
func (fake *FakeOpsManClient) ListDeployedProductsCallCount() int
func (*FakeOpsManClient) ListDeployedProductsCalls ¶
func (fake *FakeOpsManClient) ListDeployedProductsCalls(stub func() ([]httpclient.DeployedProduct, error))
func (*FakeOpsManClient) ListDeployedProductsReturns ¶
func (fake *FakeOpsManClient) ListDeployedProductsReturns(result1 []httpclient.DeployedProduct, result2 error)
func (*FakeOpsManClient) ListDeployedProductsReturnsOnCall ¶
func (fake *FakeOpsManClient) ListDeployedProductsReturnsOnCall(i int, result1 []httpclient.DeployedProduct, result2 error)
type FakeOpsManager ¶
type FakeOpsManager struct { GetBOSHCredentialsStub func() (om.BoshCredentials, error) GetCertificateAuthoritiesStub func() ([]httpclient.CA, error) GetDeployedProductCredentialsStub func(string, string) (httpclient.DeployedProductCredential, error) GetStagedProductPropertiesStub func(string) (map[string]httpclient.ResponseProperty, error) ListDeployedProductsStub func() ([]httpclient.DeployedProduct, error) // contains filtered or unexported fields }
func (*FakeOpsManager) GetBOSHCredentials ¶
func (fake *FakeOpsManager) GetBOSHCredentials() (om.BoshCredentials, error)
func (*FakeOpsManager) GetBOSHCredentialsCallCount ¶
func (fake *FakeOpsManager) GetBOSHCredentialsCallCount() int
func (*FakeOpsManager) GetBOSHCredentialsCalls ¶
func (fake *FakeOpsManager) GetBOSHCredentialsCalls(stub func() (om.BoshCredentials, error))
func (*FakeOpsManager) GetBOSHCredentialsReturns ¶
func (fake *FakeOpsManager) GetBOSHCredentialsReturns(result1 om.BoshCredentials, result2 error)
func (*FakeOpsManager) GetBOSHCredentialsReturnsOnCall ¶
func (fake *FakeOpsManager) GetBOSHCredentialsReturnsOnCall(i int, result1 om.BoshCredentials, result2 error)
func (*FakeOpsManager) GetCertificateAuthorities ¶
func (fake *FakeOpsManager) GetCertificateAuthorities() ([]httpclient.CA, error)
func (*FakeOpsManager) GetCertificateAuthoritiesCallCount ¶
func (fake *FakeOpsManager) GetCertificateAuthoritiesCallCount() int
func (*FakeOpsManager) GetCertificateAuthoritiesCalls ¶
func (fake *FakeOpsManager) GetCertificateAuthoritiesCalls(stub func() ([]httpclient.CA, error))
func (*FakeOpsManager) GetCertificateAuthoritiesReturns ¶
func (fake *FakeOpsManager) GetCertificateAuthoritiesReturns(result1 []httpclient.CA, result2 error)
func (*FakeOpsManager) GetCertificateAuthoritiesReturnsOnCall ¶
func (fake *FakeOpsManager) GetCertificateAuthoritiesReturnsOnCall(i int, result1 []httpclient.CA, result2 error)
func (*FakeOpsManager) GetDeployedProductCredentials ¶
func (fake *FakeOpsManager) GetDeployedProductCredentials(arg1 string, arg2 string) (httpclient.DeployedProductCredential, error)
func (*FakeOpsManager) GetDeployedProductCredentialsArgsForCall ¶
func (fake *FakeOpsManager) GetDeployedProductCredentialsArgsForCall(i int) (string, string)
func (*FakeOpsManager) GetDeployedProductCredentialsCallCount ¶
func (fake *FakeOpsManager) GetDeployedProductCredentialsCallCount() int
func (*FakeOpsManager) GetDeployedProductCredentialsCalls ¶
func (fake *FakeOpsManager) GetDeployedProductCredentialsCalls(stub func(string, string) (httpclient.DeployedProductCredential, error))
func (*FakeOpsManager) GetDeployedProductCredentialsReturns ¶
func (fake *FakeOpsManager) GetDeployedProductCredentialsReturns(result1 httpclient.DeployedProductCredential, result2 error)
func (*FakeOpsManager) GetDeployedProductCredentialsReturnsOnCall ¶
func (fake *FakeOpsManager) GetDeployedProductCredentialsReturnsOnCall(i int, result1 httpclient.DeployedProductCredential, result2 error)
func (*FakeOpsManager) GetStagedProductProperties ¶
func (fake *FakeOpsManager) GetStagedProductProperties(arg1 string) (map[string]httpclient.ResponseProperty, error)
func (*FakeOpsManager) GetStagedProductPropertiesArgsForCall ¶
func (fake *FakeOpsManager) GetStagedProductPropertiesArgsForCall(i int) string
func (*FakeOpsManager) GetStagedProductPropertiesCallCount ¶
func (fake *FakeOpsManager) GetStagedProductPropertiesCallCount() int
func (*FakeOpsManager) GetStagedProductPropertiesCalls ¶
func (fake *FakeOpsManager) GetStagedProductPropertiesCalls(stub func(string) (map[string]httpclient.ResponseProperty, error))
func (*FakeOpsManager) GetStagedProductPropertiesReturns ¶
func (fake *FakeOpsManager) GetStagedProductPropertiesReturns(result1 map[string]httpclient.ResponseProperty, result2 error)
func (*FakeOpsManager) GetStagedProductPropertiesReturnsOnCall ¶
func (fake *FakeOpsManager) GetStagedProductPropertiesReturnsOnCall(i int, result1 map[string]httpclient.ResponseProperty, result2 error)
func (*FakeOpsManager) Invocations ¶
func (fake *FakeOpsManager) Invocations() map[string][][]interface{}
func (*FakeOpsManager) ListDeployedProducts ¶
func (fake *FakeOpsManager) ListDeployedProducts() ([]httpclient.DeployedProduct, error)
func (*FakeOpsManager) ListDeployedProductsCallCount ¶
func (fake *FakeOpsManager) ListDeployedProductsCallCount() int
func (*FakeOpsManager) ListDeployedProductsCalls ¶
func (fake *FakeOpsManager) ListDeployedProductsCalls(stub func() ([]httpclient.DeployedProduct, error))
func (*FakeOpsManager) ListDeployedProductsReturns ¶
func (fake *FakeOpsManager) ListDeployedProductsReturns(result1 []httpclient.DeployedProduct, result2 error)
func (*FakeOpsManager) ListDeployedProductsReturnsOnCall ¶
func (fake *FakeOpsManager) ListDeployedProductsReturnsOnCall(i int, result1 []httpclient.DeployedProduct, result2 error)
type FakeOpsManagerFactory ¶
type FakeOpsManagerFactory struct { NewStub func(om.Config) (om.OpsManager, error) // contains filtered or unexported fields }
func (*FakeOpsManagerFactory) Invocations ¶
func (fake *FakeOpsManagerFactory) Invocations() map[string][][]interface{}
func (*FakeOpsManagerFactory) New ¶
func (fake *FakeOpsManagerFactory) New(arg1 om.Config) (om.OpsManager, error)
func (*FakeOpsManagerFactory) NewArgsForCall ¶
func (fake *FakeOpsManagerFactory) NewArgsForCall(i int) om.Config
func (*FakeOpsManagerFactory) NewCallCount ¶
func (fake *FakeOpsManagerFactory) NewCallCount() int
func (*FakeOpsManagerFactory) NewCalls ¶
func (fake *FakeOpsManagerFactory) NewCalls(stub func(om.Config) (om.OpsManager, error))
func (*FakeOpsManagerFactory) NewReturns ¶
func (fake *FakeOpsManagerFactory) NewReturns(result1 om.OpsManager, result2 error)
func (*FakeOpsManagerFactory) NewReturnsOnCall ¶
func (fake *FakeOpsManagerFactory) NewReturnsOnCall(i int, result1 om.OpsManager, result2 error)
type FakeUAAFactory ¶
type FakeUAAFactory struct { NewStub func(uaa.Config) (uaa.UAA, error) // contains filtered or unexported fields }
func (*FakeUAAFactory) Invocations ¶
func (fake *FakeUAAFactory) Invocations() map[string][][]interface{}
func (*FakeUAAFactory) NewArgsForCall ¶
func (fake *FakeUAAFactory) NewArgsForCall(i int) uaa.Config
func (*FakeUAAFactory) NewCallCount ¶
func (fake *FakeUAAFactory) NewCallCount() int
func (*FakeUAAFactory) NewReturns ¶
func (fake *FakeUAAFactory) NewReturns(result1 uaa.UAA, result2 error)
func (*FakeUAAFactory) NewReturnsOnCall ¶
func (fake *FakeUAAFactory) NewReturnsOnCall(i int, result1 uaa.UAA, result2 error)
Click to show internal directories.
Click to hide internal directories.