Versions in this module Expand all Collapse all v0 v0.66.3 Oct 31, 2024 Changes in this version + type ACLGetResponseBody struct + Data []ACLGetResponseData + type ACLGetResponseData struct + Path string + Propagate *types.CustomBool + RoleID string + Type string + UserOrGroupID string + type ACLUpdateRequestBody struct + Delete *types.CustomBool + Groups []string + Path string + Propagate *types.CustomBool + Roles []string + Tokens []string + Users []string + type Client struct + func (c *Client) ChangeUserPassword(ctx context.Context, id, password string) error + func (c *Client) CreateGroup(ctx context.Context, d *GroupCreateRequestBody) error + func (c *Client) CreateRole(ctx context.Context, d *RoleCreateRequestBody) error + func (c *Client) CreateUser(ctx context.Context, d *UserCreateRequestBody) error + func (c *Client) CreateUserToken(ctx context.Context, userid string, id string, d *UserTokenCreateRequestBody) (string, error) + func (c *Client) DeleteGroup(ctx context.Context, id string) error + func (c *Client) DeleteRole(ctx context.Context, id string) error + func (c *Client) DeleteUser(ctx context.Context, id string) error + func (c *Client) DeleteUserToken(ctx context.Context, userid string, id string) error + func (c *Client) ExpandPath(path string) string + func (c *Client) GetACL(ctx context.Context) ([]ACLGetResponseData, error) + func (c *Client) GetGroup(ctx context.Context, id string) (*GroupGetResponseData, error) + func (c *Client) GetRole(ctx context.Context, id string) (*types.CustomPrivileges, error) + func (c *Client) GetUser(ctx context.Context, id string) (*UserGetResponseData, error) + func (c *Client) GetUserToken(ctx context.Context, userid string, id string) (*UserTokenGetResponseData, error) + func (c *Client) ListGroups(ctx context.Context) ([]*GroupListResponseData, error) + func (c *Client) ListRoles(ctx context.Context) ([]*RoleListResponseData, error) + func (c *Client) ListUserTokens(ctx context.Context, userid string) ([]*UserTokenListResponseData, error) + func (c *Client) ListUsers(ctx context.Context) ([]*UserListResponseData, error) + func (c *Client) UpdateACL(ctx context.Context, d *ACLUpdateRequestBody) error + func (c *Client) UpdateGroup(ctx context.Context, id string, d *GroupUpdateRequestBody) error + func (c *Client) UpdateRole(ctx context.Context, id string, d *RoleUpdateRequestBody) error + func (c *Client) UpdateUser(ctx context.Context, id string, d *UserUpdateRequestBody) error + func (c *Client) UpdateUserToken(ctx context.Context, userid string, id string, d *UserTokenUpdateRequestBody) error + type GroupCreateRequestBody struct + Comment *string + ID string + type GroupGetResponseBody struct + Data *GroupGetResponseData + type GroupGetResponseData struct + Comment *string + Members []string + type GroupListResponseBody struct + Data []*GroupListResponseData + type GroupListResponseData struct + Comment *string + ID string + type GroupUpdateRequestBody struct + Comment *string + type RoleCreateRequestBody struct + ID string + Privileges types.CustomPrivileges + type RoleGetResponseBody struct + Data *types.CustomPrivileges + type RoleListResponseBody struct + Data []*RoleListResponseData + type RoleListResponseData struct + ID string + Privileges *types.CustomPrivileges + Special *types.CustomBool + type RoleUpdateRequestBody struct + Privileges types.CustomPrivileges + type UserChangePasswordRequestBody struct + ID string + Password string + type UserCreateRequestBody struct + Comment *string + Email *string + Enabled *types.CustomBool + ExpirationDate *int64 + FirstName *string + Groups []string + ID string + Keys *string + LastName *string + Password string + type UserGetResponseBody struct + Data *UserGetResponseData + type UserGetResponseData struct + Comment *string + Email *string + Enabled *types.CustomBool + ExpirationDate *int64 + FirstName *string + Groups *[]string + Keys *string + LastName *string + type UserListResponseBody struct + Data []*UserListResponseData + type UserListResponseData struct + Comment *string + Email *string + Enabled *types.CustomBool + ExpirationDate *int64 + FirstName *string + Groups *[]string + ID string + Keys *string + LastName *string + type UserTokenCreateRequestBody struct + Comment *string + ExpirationDate *int64 + PrivSeparate *types.CustomBool + type UserTokenCreateResponseBody struct + Data *UserTokenCreateResponseData + type UserTokenCreateResponseData struct + FullTokenID string + Info UserTokenGetResponseData + Value string + type UserTokenGetResponseBody struct + Data *UserTokenGetResponseData + type UserTokenGetResponseData struct + Comment *string + ExpirationDate *types.CustomInt64 + PrivSeparate *types.CustomBool + type UserTokenListResponseBody struct + Data []*UserTokenListResponseData + type UserTokenListResponseData struct + TokenID string + type UserTokenUpdateRequestBody UserTokenCreateRequestBody + type UserUpdateRequestBody struct + Append *types.CustomBool + Comment *string + Email *string + Enabled *types.CustomBool + ExpirationDate *int64 + FirstName *string + Groups []string + Keys *string + LastName *string