# Functions

AddUserAgent add a http User-Agent header.
CopyConfig returns a copy of the given config.
DefaultServerURL converts a host, host:port, or URL string to the default base server API path to use with a Client at a given API version following the standard conventions for a IAM API.
DefaultUserAgent returns a User-Agent string built from static global vars.
DefaultVersionedAPIPath constructs the default path for the given group version, assuming the given API path, following the standard conventions of the IAM API.
IsValidPathSegmentName validates the name can be safely encoded as a path segment.
IsValidPathSegmentPrefix validates the name can be used as a prefix for a name which will be encoded as a path segment.
LoadTLSFiles copies the data from the CertFile, KeyFile, and CAFile fields into the CertData, KeyData, and CAFile fields, or returns an error.
NewRequest creates a new request helper object for accessing runtime.Objects on a server.
NewRequestWithClient creates a Request with an embedded RESTClient for use in test scenarios.
NewRESTClient creates a new RESTClient.
RESTClientFor returns a RESTClient that satisfies the requested attributes on a client Config object.
SetIAMDefaults sets default values on the provided client config for accessing the IAM API or returns an error if any of the defaults are impossible or invalid.
TLSConfigFor returns a tls.Config that will provide the transport level security defined by the provided Config.
ValidatePathSegmentName validates the name can be safely encoded as a path segment.

# Variables

NameMayNotBe specifies strings that cannot be used as names specified as path segments (like the REST API or etcd store).
NameMayNotContain specifies substrings that cannot be used in names specified as path segments (like the REST API or etcd store).

# Structs

ClientContentConfig controls how RESTClient communicates with the server.
CommonResponse Http API common response.
Config holds the common attributes that can be passed to a IAM client on initialization.
ContentConfig defines config for content.
PageInfo Http API common page info.
Request allows for building up a request to a server in a chained fashion.
RESTClient imposes common IAM API conventions on a set of resource paths.
Result contains the result of calling Request.Do().
TLSClientConfig contains settings to enable transport layer security.
TLSConfig holds the information needed to set up a TLS transport.

# Interfaces

Interface captures the set of operations for generically interacting with IAM REST apis.