Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SettingNotFound is the status code returned when a setting is not found.
SettingNotFound = 404
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client contains methods to call the Azure App Config REST API and base settings for handling the requests.
func NewClient ¶
func NewClient(appConfiguration string, cred auth.Credential, options ...ClientOption) *Client
NewClient creates and returns a new Client.
type ClientOption ¶
type ClientOption func(c *Client)
ClientOption is a function that sets options to *Client.
func WithConcurrency ¶
func WithConcurrency(n int) ClientOption
WithConcurrency sets the concurrency for secret retrieval.
func WithTimeout ¶
func WithTimeout(d time.Duration) ClientOption
WithTimeout sets timeout for secret retreival.
Click to show internal directories.
Click to hide internal directories.