qosm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = ""

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewQosmClient

func NewQosmClient(configRepository repository.ConfigRepository) *qosmclient.JusticeQosmService

Types

type AdminService

type AdminService struct {
	Client           *qosmclient.JusticeQosmService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminService) DeleteServerShort

func (aaa *AdminService) DeleteServerShort(input *admin.DeleteServerParams) error

func (*AdminService) GetAuthSession

func (aaa *AdminService) GetAuthSession() auth.Session

func (*AdminService) SetServerAliasShort

func (aaa *AdminService) SetServerAliasShort(input *admin.SetServerAliasParams) error

func (*AdminService) UpdateFlightId

func (aaa *AdminService) UpdateFlightId(flightId string)

func (*AdminService) UpdateServerConfigShort

func (aaa *AdminService) UpdateServerConfigShort(input *admin.UpdateServerConfigParams) error

type PublicService

type PublicService struct {
	Client           *qosmclient.JusticeQosmService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicService) GetAuthSession

func (aaa *PublicService) GetAuthSession() auth.Session

func (*PublicService) ListServerPerNamespaceShort

func (aaa *PublicService) ListServerPerNamespaceShort(input *public.ListServerPerNamespaceParams) (*public.ListServerPerNamespaceResponse, error)

func (*PublicService) ListServerShort

func (aaa *PublicService) ListServerShort(input *public.ListServerParams) (*public.ListServerResponse, error)

func (*PublicService) UpdateFlightId

func (aaa *PublicService) UpdateFlightId(flightId string)

type ServerService

type ServerService struct {
	Client           *qosmclient.JusticeQosmService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ServerService) GetAuthSession

func (aaa *ServerService) GetAuthSession() auth.Session

func (*ServerService) HeartbeatShort

func (aaa *ServerService) HeartbeatShort(input *server.HeartbeatParams) error

func (*ServerService) UpdateFlightId

func (aaa *ServerService) UpdateFlightId(flightId string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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