Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Golang client for interacting with the CyberArk Discovery Service. It allows users to fetch URLs for various APIs available in CyberArk. This client is specialised to fetch only API endpoints, since only API endpoints are required by the Venafi Kubernetes Agent currently.
type ClientOpt ¶
type ClientOpt func(*Client)
ClientOpt allows configuration of a Client when using New
func WithCustomEndpoint ¶
WithCustomEndpoint sets the endpoint to a custom URL without checking that the URL is a CyberArk Service Discovery server.
func WithHTTPClient ¶
WithHTTPClient allows the user to specify a custom HTTP client for the discovery client
func WithIntegrationEndpoint ¶
func WithIntegrationEndpoint() ClientOpt
WithIntegrationEndpoint sets the discovery client to use the integration testing endpoint rather than production