Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct {
sdkgoauth.Configuration
}
type ClientService ¶
type ClientService interface { Get() *Client GetConfig() *ClientConfig }
ClientService is a wrapper around sdkgoauth.APIClient
func NewClientService ¶
func NewClientService(name, pwd, token, hostUrl string) (ClientService, error)
type DeleteResponse ¶
type DeleteResponse struct {
sdkgoauth.DeleteResponse
}
type Response ¶
type Response struct {
sdkgoauth.APIResponse
}
type TokensService ¶
type TokensService interface { List(contractNumber int32) (Tokens, *Response, error) Get(tokenId string, contractNumber int32) (*Token, *Response, error) Create(contractNumber int32) (*Jwt, *Response, error) DeleteByID(tokenId string, contractNumber int32) (*DeleteResponse, *Response, error) DeleteByCriteria(criteria string, contractNumber int32) (*DeleteResponse, *Response, error) }
TokensService is a wrapper around ionoscloud.Token
func NewTokenService ¶
func NewTokenService(client *client.Client, ctx context.Context) TokensService
Click to show internal directories.
Click to hide internal directories.