resources

package
v6.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	sdkgoauth.APIClient
}

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 Jwt

type Jwt struct {
	sdkgoauth.Jwt
}

type Response

type Response struct {
	sdkgoauth.APIResponse
}

type Token

type Token struct {
	sdkgoauth.Token
}

type Tokens

type Tokens struct {
	sdkgoauth.Tokens
}

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

Directories

Path Synopsis
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL