Documentation ¶
Index ¶
- func GetValidToken(uaaURL string) (string, error)
- func MustParseURL(rawURL string) *url.URL
- func NewDefaultResolverWithMockBoshAPIWithEndpoints(endpoints []pcap.AgentEndpoint, deploymentName string) (*pcap.BoshResolver, *httptest.Server, *httptest.Server, error)
- func NewMockBoshDirectorAPI(responses map[string]string, url string) *httptest.Server
- func NewMockJWTAPI() (*httptest.Server, string)
- func NewResolverWithMockBoshAPI(responses map[string]string) (*pcap.BoshResolver, *httptest.Server, *httptest.Server, error)
- func NewResolverWithMockBoshAPIWithConfig(responses map[string]string, config pcap.BoshResolverConfig) (*pcap.BoshResolver, *httptest.Server, *httptest.Server, error)
- func NewResolverWithMockBoshAPIWithEndpoints(endpoints []pcap.AgentEndpoint, config pcap.BoshResolverConfig, ...) (*pcap.BoshResolver, *httptest.Server, *httptest.Server, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValidToken ¶
func MustParseURL ¶
func NewDefaultResolverWithMockBoshAPIWithEndpoints ¶
func NewDefaultResolverWithMockBoshAPIWithEndpoints(endpoints []pcap.AgentEndpoint, deploymentName string) (*pcap.BoshResolver, *httptest.Server, *httptest.Server, error)
func NewMockBoshDirectorAPI ¶
func NewMockJWTAPI ¶
func NewResolverWithMockBoshAPIWithEndpoints ¶
func NewResolverWithMockBoshAPIWithEndpoints(endpoints []pcap.AgentEndpoint, config pcap.BoshResolverConfig, deploymentName string) (*pcap.BoshResolver, *httptest.Server, *httptest.Server, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.