dsmc

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: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 (aaa *AdminService) AddBufferShort(input *admin.AddBufferParams) (*admin.AddBufferResponse, error)

func (*AdminService) CountServerDetailedShort

func (aaa *AdminService) CountServerDetailedShort(input *admin.CountServerDetailedParams) (*admin.CountServerDetailedResponse, error)

func (*AdminService) CountServerShort

func (aaa *AdminService) CountServerShort(input *admin.CountServerParams) (*admin.CountServerResponse, error)

func (*AdminService) CountSessionShort

func (aaa *AdminService) CountSessionShort(input *admin.CountSessionParams) (*admin.CountSessionResponse, error)

func (*AdminService) CreateWorkerConfigShort

func (aaa *AdminService) CreateWorkerConfigShort(input *admin.CreateWorkerConfigParams) (*admin.CreateWorkerConfigResponse, 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 (aaa *AdminService) GetServerShort(input *admin.GetServerParams) (*admin.GetServerResponse, error)

func (*AdminService) GetWorkerConfigShort

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

func (*AdminService) ListLocalServerShort

func (aaa *AdminService) ListLocalServerShort(input *admin.ListLocalServerParams) (*admin.ListLocalServerResponse, error)

func (*AdminService) ListServerShort

func (aaa *AdminService) ListServerShort(input *admin.ListServerParams) (*admin.ListServerResponse, error)

func (*AdminService) ListSessionShort

func (aaa *AdminService) ListSessionShort(input *admin.ListSessionParams) (*admin.ListSessionResponse, error)

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 (aaa *ConfigService) AddPortShort(input *config.AddPortParams) (*config.AddPortResponse, error)

func (*ConfigService) ClearCacheShort

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

func (*ConfigService) CreateConfigShort

func (aaa *ConfigService) CreateConfigShort(input *config.CreateConfigParams) (*config.CreateConfigResponse, error)

func (*ConfigService) DeleteConfigShort

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

func (*ConfigService) DeletePortShort

func (aaa *ConfigService) DeletePortShort(input *config.DeletePortParams) (*config.DeletePortResponse, error)

func (*ConfigService) ExportConfigV1Short

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

func (*ConfigService) GetAuthSession

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

func (*ConfigService) GetConfigShort

func (aaa *ConfigService) GetConfigShort(input *config.GetConfigParams) (*config.GetConfigResponse, error)

func (*ConfigService) ImportConfigV1Short

func (aaa *ConfigService) ImportConfigV1Short(input *config.ImportConfigV1Params) (*config.ImportConfigV1Response, error)

func (*ConfigService) ListConfigShort

func (aaa *ConfigService) ListConfigShort(input *config.ListConfigParams) (*config.ListConfigResponse, error)

func (*ConfigService) SaveConfigShort

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

func (*ConfigService) UpdateConfigShort

func (aaa *ConfigService) UpdateConfigShort(input *config.UpdateConfigParams) (*config.UpdateConfigResponse, error)

func (*ConfigService) UpdateFlightId

func (aaa *ConfigService) UpdateFlightId(flightId string)

func (*ConfigService) UpdatePortShort

func (aaa *ConfigService) UpdatePortShort(input *config.UpdatePortParams) (*config.UpdatePortResponse, error)

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) GetDeploymentShort

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) GetImagePatchDetailShort

func (*ImageConfigService) GetImagePatchesShort

func (*ImageConfigService) GetRepositoryShort

func (*ImageConfigService) ImageDetailClientShort

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) GetAllPodConfigClientShort

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 (aaa *PublicService) GetDefaultProviderShort(input *public.GetDefaultProviderParams) (*public.GetDefaultProviderResponse, error)

func (*PublicService) ListProvidersByRegionShort

func (aaa *PublicService) ListProvidersByRegionShort(input *public.ListProvidersByRegionParams) (*public.ListProvidersByRegionResponse, error)

func (*PublicService) ListProvidersShort

func (aaa *PublicService) ListProvidersShort(input *public.ListProvidersParams) (*public.ListProvidersResponse, 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) CountServerDetailedClientShort

func (*ServerService) DeregisterLocalServerShort

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

func (*ServerService) GetAuthSession

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

func (*ServerService) GetServerSessionShort

func (aaa *ServerService) GetServerSessionShort(input *server.GetServerSessionParams) (*server.GetServerSessionResponse, error)

func (*ServerService) GetServerSessionTimeoutShort

func (aaa *ServerService) GetServerSessionTimeoutShort(input *server.GetServerSessionTimeoutParams) (*server.GetServerSessionTimeoutResponse, error)

func (*ServerService) ListServerClientShort

func (aaa *ServerService) ListServerClientShort(input *server.ListServerClientParams) (*server.ListServerClientResponse, error)

func (*ServerService) RegisterLocalServerShort

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

func (*ServerService) RegisterServerShort

func (aaa *ServerService) RegisterServerShort(input *server.RegisterServerParams) (*server.RegisterServerResponse, 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 (aaa *SessionService) CreateSessionShort(input *session.CreateSessionParams) (*session.CreateSessionResponse, error)

func (*SessionService) GetAuthSession

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

func (*SessionService) GetSessionShort

func (aaa *SessionService) GetSessionShort(input *session.GetSessionParams) (*session.GetSessionResponse, error)

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