dsmc

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "6.8.2"

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewDsmcClient

func NewDsmcClient(configRepository repository.ConfigRepository) *dsmcclient.JusticeDsmcService

Types

type AdminService

type AdminService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminService) AddBufferShort

func (*AdminService) CountServerShort

func (*AdminService) CountSessionShort

func (*AdminService) CreateWorkerConfigShort

func (aaa *AdminService) CreateWorkerConfigShort(input *admin.CreateWorkerConfigParams) (*dsmcclientmodels.ModelsWorkerConfig, error)

func (*AdminService) DeleteLocalServerShort

func (aaa *AdminService) DeleteLocalServerShort(input *admin.DeleteLocalServerParams) error

func (*AdminService) DeleteServerShort

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

func (*AdminService) DeleteSessionShort

func (aaa *AdminService) DeleteSessionShort(input *admin.DeleteSessionParams) error

func (*AdminService) GetAuthSession

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

func (*AdminService) GetServerShort

func (*AdminService) GetWorkerConfigShort

func (aaa *AdminService) GetWorkerConfigShort(input *admin.GetWorkerConfigParams) (*dsmcclientmodels.ModelsWorkerConfig, error)

func (*AdminService) ListLocalServerShort

func (*AdminService) ListServerShort

func (*AdminService) ListSessionShort

func (*AdminService) RunGhostCleanerRequestHandlerShort

func (aaa *AdminService) RunGhostCleanerRequestHandlerShort(input *admin.RunGhostCleanerRequestHandlerParams) error

func (*AdminService) RunZombieCleanerRequestHandlerShort

func (aaa *AdminService) RunZombieCleanerRequestHandlerShort(input *admin.RunZombieCleanerRequestHandlerParams) error

func (*AdminService) UpdateFlightId

func (aaa *AdminService) UpdateFlightId(flightId string)

func (*AdminService) UpdateWorkerConfigShort

func (aaa *AdminService) UpdateWorkerConfigShort(input *admin.UpdateWorkerConfigParams) error

type ConfigService

type ConfigService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigService) AddPortShort

func (*ConfigService) ClearCacheShort

func (aaa *ConfigService) ClearCacheShort(input *config.ClearCacheParams) error

func (*ConfigService) CreateConfigShort

func (*ConfigService) DeleteConfigShort

func (aaa *ConfigService) DeleteConfigShort(input *config.DeleteConfigParams) error

func (*ConfigService) DeletePortShort

func (*ConfigService) ExportConfigV1Short

func (aaa *ConfigService) ExportConfigV1Short(input *config.ExportConfigV1Params, writer io.Writer) (io.Writer, error)

func (*ConfigService) GetAuthSession

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

func (*ConfigService) GetConfigShort

func (*ConfigService) ImportConfigV1Short

func (*ConfigService) ListConfigShort

func (*ConfigService) SaveConfigShort

func (aaa *ConfigService) SaveConfigShort(input *config.SaveConfigParams) error

func (*ConfigService) UpdateConfigShort

func (*ConfigService) UpdateFlightId

func (aaa *ConfigService) UpdateFlightId(flightId string)

func (*ConfigService) UpdatePortShort

type DeploymentConfigService

type DeploymentConfigService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*DeploymentConfigService) DeleteCreatingServerCountQueueShort

func (aaa *DeploymentConfigService) DeleteCreatingServerCountQueueShort(input *deployment_config.DeleteCreatingServerCountQueueParams) error

func (*DeploymentConfigService) DeleteDeploymentClientShort

func (aaa *DeploymentConfigService) DeleteDeploymentClientShort(input *deployment_config.DeleteDeploymentClientParams) error

func (*DeploymentConfigService) DeleteDeploymentShort

func (aaa *DeploymentConfigService) DeleteDeploymentShort(input *deployment_config.DeleteDeploymentParams) error

func (*DeploymentConfigService) GetAuthSession

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

func (*DeploymentConfigService) UpdateFlightId

func (aaa *DeploymentConfigService) UpdateFlightId(flightId string)

type DsmcOperationsService

type DsmcOperationsService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*DsmcOperationsService) GetAuthSession

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

func (*DsmcOperationsService) PublicGetMessagesShort

func (*DsmcOperationsService) UpdateFlightId

func (aaa *DsmcOperationsService) UpdateFlightId(flightId string)

type ImageConfigService

type ImageConfigService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ImageConfigService) CreateImagePatchShort

func (aaa *ImageConfigService) CreateImagePatchShort(input *image_config.CreateImagePatchParams) error

func (*ImageConfigService) CreateImageShort

func (aaa *ImageConfigService) CreateImageShort(input *image_config.CreateImageParams) error

func (*ImageConfigService) CreateRepositoryShort

func (aaa *ImageConfigService) CreateRepositoryShort(input *image_config.CreateRepositoryParams) error

func (*ImageConfigService) DeleteImagePatchShort

func (aaa *ImageConfigService) DeleteImagePatchShort(input *image_config.DeleteImagePatchParams) error

func (*ImageConfigService) DeleteImageShort

func (aaa *ImageConfigService) DeleteImageShort(input *image_config.DeleteImageParams) error

func (*ImageConfigService) GetAuthSession

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

func (*ImageConfigService) GetImageDetailShort

func (*ImageConfigService) GetImageLimitShort

func (*ImageConfigService) GetRepositoryShort

func (*ImageConfigService) ImageLimitClientShort

func (*ImageConfigService) ListImagesClientShort

func (*ImageConfigService) ListImagesShort

func (*ImageConfigService) UpdateFlightId

func (aaa *ImageConfigService) UpdateFlightId(flightId string)

func (*ImageConfigService) UpdateImageShort

func (aaa *ImageConfigService) UpdateImageShort(input *image_config.UpdateImageParams) error

type PodConfigService

type PodConfigService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PodConfigService) CreatePodConfigClientShort

func (*PodConfigService) CreatePodConfigShort

func (*PodConfigService) DeletePodConfigClientShort

func (aaa *PodConfigService) DeletePodConfigClientShort(input *pod_config.DeletePodConfigClientParams) error

func (*PodConfigService) DeletePodConfigShort

func (aaa *PodConfigService) DeletePodConfigShort(input *pod_config.DeletePodConfigParams) error

func (*PodConfigService) GetAllPodConfigShort

func (*PodConfigService) GetAuthSession

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

func (*PodConfigService) GetLowestInstanceSpecShort

func (*PodConfigService) GetPodConfigShort

func (*PodConfigService) UpdateFlightId

func (aaa *PodConfigService) UpdateFlightId(flightId string)

func (*PodConfigService) UpdatePodConfigShort

type PublicService

type PublicService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PublicService) GetAuthSession

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

func (*PublicService) GetDefaultProviderShort

func (*PublicService) ListProvidersByRegionShort

func (aaa *PublicService) ListProvidersByRegionShort(input *public.ListProvidersByRegionParams) ([]string, error)

func (*PublicService) ListProvidersShort

func (aaa *PublicService) ListProvidersShort(input *public.ListProvidersParams) ([]string, error)

func (*PublicService) UpdateFlightId

func (aaa *PublicService) UpdateFlightId(flightId string)

type ServerService

type ServerService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ServerService) DeregisterLocalServerShort

func (aaa *ServerService) DeregisterLocalServerShort(input *server.DeregisterLocalServerParams) error

func (*ServerService) GetAuthSession

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

func (*ServerService) GetServerSessionShort

func (*ServerService) ListServerClientShort

func (*ServerService) RegisterLocalServerShort

func (aaa *ServerService) RegisterLocalServerShort(input *server.RegisterLocalServerParams) (*dsmcclientmodels.ModelsServer, error)

func (*ServerService) RegisterServerShort

func (aaa *ServerService) RegisterServerShort(input *server.RegisterServerParams) (*dsmcclientmodels.ModelsServer, error)

func (*ServerService) ServerHeartbeatShort

func (aaa *ServerService) ServerHeartbeatShort(input *server.ServerHeartbeatParams) error

func (*ServerService) ShutdownServerShort

func (aaa *ServerService) ShutdownServerShort(input *server.ShutdownServerParams) error

func (*ServerService) UpdateFlightId

func (aaa *ServerService) UpdateFlightId(flightId string)

type SessionService

type SessionService struct {
	Client           *dsmcclient.JusticeDsmcService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*SessionService) CancelSessionShort

func (aaa *SessionService) CancelSessionShort(input *session.CancelSessionParams) error

func (*SessionService) ClaimServerShort

func (aaa *SessionService) ClaimServerShort(input *session.ClaimServerParams) error

func (*SessionService) CreateSessionShort

func (*SessionService) GetAuthSession

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

func (*SessionService) GetSessionShort

func (*SessionService) UpdateFlightId

func (aaa *SessionService) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

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