Documentation
¶
Overview ¶
Package iam is an entry point of IAM SDK and implements functionality for interacting with the Selectel IAM API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Users instance is used to make requests against Selectel IAM API and manage Panel Users. Users *users.Service // ServiceUsers instance is used to make requests against Selectel IAM API and manage Service Users. ServiceUsers *serviceusers.Service // Groups instance is used to make requests against Selectel IAM API and manage Groups of users. Groups *groups.Service // S3Credentials instance is used to make requests against Selectel IAM API and manage S3 Credentials. S3Credentials *s3credentials.Service // SAMLFederations instance is used to make requests against Selectel IAM API and manage SAML Federations. // It also contains Certificates service, which is used to manage certificates. SAMLFederations *saml.Service // contains filtered or unexported fields }
Client stores the configuration, which is needed to make requests to the IAM API.
type Option ¶
type Option func(*Client)
func WithAPIUrl ¶
WithAPIUrl is a functional parameter for Client, used to set IAM API URL.
func WithAuthOpts ¶
WithAuthOpts is a functional parameter for Client, used to set on of implementations of AuthType.
func WithCustomHTTPClient ¶
WithCustomHTTPClient is a functional parameter for Client, used to set a custom HTTP client.
func WithUserAgentPrefix ¶
WithUserAgentPrefix is a functional parameter for Client, used to set a custom prefix.
Directories
¶
Path | Synopsis |
---|---|
examples
|
|
internal
|
|
service
|
|
federations/saml
Package saml provides a set of functions for interacting with the Selectel SAML Federations API.
|
Package saml provides a set of functions for interacting with the Selectel SAML Federations API. |
federations/saml/certificates
Package certificates provides a set of functions for interacting with the Selectel Federations Certificates API.
|
Package certificates provides a set of functions for interacting with the Selectel Federations Certificates API. |
groups
Package groups provides a set of functions for interacting with the Selectel Groups API.
|
Package groups provides a set of functions for interacting with the Selectel Groups API. |
s3credentials
Package s3credentials provides a set of functions for interacting with the Selectel S3 Credentials API.
|
Package s3credentials provides a set of functions for interacting with the Selectel S3 Credentials API. |
serviceusers
Package serviceusers provides a set of functions for interacting with the Selectel Service Users API.
|
Package serviceusers provides a set of functions for interacting with the Selectel Service Users API. |
users
Package Users provides a set of functions for interacting with the Selectel Users API.
|
Package Users provides a set of functions for interacting with the Selectel Users API. |
Click to show internal directories.
Click to hide internal directories.