Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthGroupsUserRoleReadonly = "USER_ROLE_READONLY" AuthGroupsUserRoleRegular = "USER_ROLE_REGULAR" AuthGroupsUserRoleAdmin = "USER_ROLE_ACCOUNT_ADMIN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationGroup ¶
type AuthenticationGroupsClient ¶
func New ¶
func New(apiToken string, baseUrl string) (*AuthenticationGroupsClient, error)
New Creates a new entry point into the authentication groups functions, accepts the user's logz.io API token and base url
func (*AuthenticationGroupsClient) GetAuthenticationGroups ¶
func (c *AuthenticationGroupsClient) GetAuthenticationGroups() ([]AuthenticationGroup, error)
GetAuthenticationGroups returns all authentication groups, or error if occurred
func (*AuthenticationGroupsClient) PostAuthenticationGroups ¶
func (c *AuthenticationGroupsClient) PostAuthenticationGroups(groups []AuthenticationGroup) ([]AuthenticationGroup, error)
PostAuthenticationGroups receives a list of authentication groups and generates a request to Logz.io
Click to show internal directories.
Click to hide internal directories.