resources

package
v6.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocationsService

type LocationsService interface {
	Get() (sdkgo.LocationsResponse, *sdkgo.APIResponse, error)
}

func NewLocationsService

func NewLocationsService(client *client2.Client, ctx context.Context) LocationsService

type NameService

type NameService interface {
	Head(name string) (*sdkgo.APIResponse, error)
}

NameService is a contract for the name service.

func NewNameService

func NewNameService(client *client2.Client, ctx context.Context) NameService

NewNameService returns a new NameService.

type RegistriesService

RegistriesService is a wrapper around ionoscloud.Registry

func NewRegistriesService

func NewRegistriesService(client *client2.Client, ctx context.Context) RegistriesService

type RepositoryService

type RepositoryService interface {
	Delete(regId string, name string) (*sdkgo.APIResponse, error)
}

func NewRepositoryService

func NewRepositoryService(client *client2.Client, ctx context.Context) RepositoryService

type TokenService

type TokenService interface {
	Get(id string, registryId string) (sdkgo.TokenResponse, *sdkgo.APIResponse, error)
	List(registryId string) (sdkgo.TokensResponse, *sdkgo.APIResponse, error)
	Post(input sdkgo.PostTokenInput, registryId string) (sdkgo.PostTokenOutput, *sdkgo.APIResponse, error)
	Delete(id string, registryId string) (*sdkgo.APIResponse, error)
	Patch(id string, input sdkgo.PatchTokenInput, registryId string) (sdkgo.TokenResponse, *sdkgo.APIResponse, error)
	Put(id string, input sdkgo.PutTokenInput, registryId string) (sdkgo.PutTokenOutput, *sdkgo.APIResponse, error)
}

TokenService is a wrapper around ionoscloud.Registry

func NewTokenService

func NewTokenService(client *client2.Client, ctx context.Context) TokenService

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