dsmc

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "6.4.3"

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
}

func (*AdminService) CountServer deprecated

Deprecated: 2022-01-10 - Please use CountServerShort instead.

func (*AdminService) CountServerDetailed deprecated

Deprecated: 2022-01-10 - Please use CountServerDetailedShort instead.

func (*AdminService) CountServerShort

func (*AdminService) CountSession deprecated

Deprecated: 2022-01-10 - Please use CountSessionShort instead.

func (*AdminService) CountSessionShort

func (*AdminService) DeleteLocalServer deprecated

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

Deprecated: 2022-01-10 - Please use DeleteLocalServerShort instead.

func (*AdminService) DeleteLocalServerShort

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

func (*AdminService) DeleteServer deprecated

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

Deprecated: 2022-01-10 - Please use DeleteServerShort instead.

func (*AdminService) DeleteServerShort

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

func (*AdminService) DeleteSession deprecated

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

Deprecated: 2022-01-10 - Please use DeleteSessionShort instead.

func (*AdminService) DeleteSessionShort

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

func (*AdminService) GetAuthSession

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

func (*AdminService) GetServer deprecated

Deprecated: 2022-01-10 - Please use GetServerShort instead.

func (*AdminService) GetServerShort

func (aaa *AdminService) GetServerShort(input *admin.GetServerParams) (*dsmcclientmodels.ModelsServer, error)

func (*AdminService) ListLocalServer deprecated

Deprecated: 2022-01-10 - Please use ListLocalServerShort instead.

func (*AdminService) ListLocalServerShort

func (*AdminService) ListServer deprecated

Deprecated: 2022-01-10 - Please use ListServerShort instead.

func (*AdminService) ListServerShort

func (*AdminService) ListSession deprecated

Deprecated: 2022-01-10 - Please use ListSessionShort instead.

func (*AdminService) ListSessionShort

type ConfigService

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

func (*ConfigService) AddPort deprecated

Deprecated: 2022-01-10 - Please use AddPortShort instead.

func (*ConfigService) AddPortShort

func (*ConfigService) ClearCache deprecated

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

Deprecated: 2022-01-10 - Please use ClearCacheShort instead.

func (*ConfigService) ClearCacheShort

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

func (*ConfigService) CreateConfig deprecated

Deprecated: 2022-01-10 - Please use CreateConfigShort instead.

func (*ConfigService) CreateConfigShort

func (*ConfigService) DeleteConfig deprecated

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

Deprecated: 2022-01-10 - Please use DeleteConfigShort instead.

func (*ConfigService) DeleteConfigShort

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

func (*ConfigService) DeletePort deprecated

Deprecated: 2022-01-10 - Please use DeletePortShort instead.

func (*ConfigService) DeletePortShort

func (*ConfigService) ExportConfigV1 deprecated

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

Deprecated: 2022-01-10 - Please use ExportConfigV1Short instead.

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) GetConfig deprecated

Deprecated: 2022-01-10 - Please use GetConfigShort instead.

func (*ConfigService) GetConfigShort

func (*ConfigService) ImportConfigV1 deprecated

Deprecated: 2022-01-10 - Please use ImportConfigV1Short instead.

func (*ConfigService) ImportConfigV1Short

func (*ConfigService) ListConfig deprecated

Deprecated: 2022-01-10 - Please use ListConfigShort instead.

func (*ConfigService) ListConfigShort

func (*ConfigService) SaveConfig deprecated

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

Deprecated: 2022-01-10 - Please use SaveConfigShort instead.

func (*ConfigService) SaveConfigShort

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

func (*ConfigService) UpdateConfig deprecated

Deprecated: 2022-01-10 - Please use UpdateConfigShort instead.

func (*ConfigService) UpdateConfigShort

func (*ConfigService) UpdatePort deprecated

Deprecated: 2022-01-10 - Please use UpdatePortShort instead.

func (*ConfigService) UpdatePortShort

type DeploymentConfigService

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

func (*DeploymentConfigService) CreateDeployment deprecated

Deprecated: 2022-01-10 - Please use CreateDeploymentShort instead.

func (*DeploymentConfigService) CreateDeploymentClient deprecated

Deprecated: 2022-01-10 - Please use CreateDeploymentClientShort instead.

func (*DeploymentConfigService) CreateDeploymentOverride deprecated

Deprecated: 2022-01-10 - Please use CreateDeploymentOverrideShort instead.

func (*DeploymentConfigService) CreateOverrideRegionOverride deprecated

Deprecated: 2022-01-10 - Please use CreateOverrideRegionOverrideShort instead.

func (*DeploymentConfigService) CreateRootRegionOverride deprecated

Deprecated: 2022-01-10 - Please use CreateRootRegionOverrideShort instead.

func (*DeploymentConfigService) DeleteDeployment deprecated

Deprecated: 2022-01-10 - Please use DeleteDeploymentShort instead.

func (*DeploymentConfigService) DeleteDeploymentClient deprecated

Deprecated: 2022-01-10 - Please use DeleteDeploymentClientShort instead.

func (*DeploymentConfigService) DeleteDeploymentClientShort

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

func (*DeploymentConfigService) DeleteDeploymentOverride deprecated

Deprecated: 2022-01-10 - Please use DeleteDeploymentOverrideShort instead.

func (*DeploymentConfigService) DeleteDeploymentShort

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

func (*DeploymentConfigService) DeleteOverrideRegionOverride deprecated

Deprecated: 2022-01-10 - Please use DeleteOverrideRegionOverrideShort instead.

func (*DeploymentConfigService) DeleteRootRegionOverride deprecated

Deprecated: 2022-01-10 - Please use DeleteRootRegionOverrideShort instead.

func (*DeploymentConfigService) GetAllDeployment deprecated

Deprecated: 2022-01-10 - Please use GetAllDeploymentShort instead.

func (*DeploymentConfigService) GetAllDeploymentClient deprecated

Deprecated: 2022-01-10 - Please use GetAllDeploymentClientShort instead.

func (*DeploymentConfigService) GetAuthSession

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

func (*DeploymentConfigService) GetDeployment deprecated

Deprecated: 2022-01-10 - Please use GetDeploymentShort instead.

func (*DeploymentConfigService) UpdateDeployment deprecated

Deprecated: 2022-01-10 - Please use UpdateDeploymentShort instead.

func (*DeploymentConfigService) UpdateDeploymentOverride deprecated

Deprecated: 2022-01-10 - Please use UpdateDeploymentOverrideShort instead.

func (*DeploymentConfigService) UpdateOverrideRegionOverride deprecated

Deprecated: 2022-01-10 - Please use UpdateOverrideRegionOverrideShort instead.

func (*DeploymentConfigService) UpdateRootRegionOverride deprecated

Deprecated: 2022-01-10 - Please use UpdateRootRegionOverrideShort instead.

type DsmcOperationsService

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

func (*DsmcOperationsService) GetAuthSession

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

func (*DsmcOperationsService) PublicGetMessages deprecated

Deprecated: 2022-01-10 - Please use PublicGetMessagesShort instead.

func (*DsmcOperationsService) PublicGetMessagesShort

type ImageConfigService

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

func (*ImageConfigService) CreateImage deprecated

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

Deprecated: 2022-01-10 - Please use CreateImageShort instead.

func (*ImageConfigService) CreateImagePatch deprecated

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

Deprecated: 2022-01-10 - Please use CreateImagePatchShort instead.

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) CreateRepository deprecated

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

Deprecated: 2022-01-10 - Please use CreateRepositoryShort instead.

func (*ImageConfigService) CreateRepositoryShort

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

func (*ImageConfigService) DeleteImage deprecated

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

Deprecated: 2022-01-10 - Please use DeleteImageShort instead.

func (*ImageConfigService) DeleteImagePatch deprecated

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

Deprecated: 2022-01-10 - Please use DeleteImagePatchShort instead.

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) ExportImages deprecated

Deprecated: 2022-01-10 - Please use ExportImagesShort instead.

func (*ImageConfigService) ExportImagesShort

func (*ImageConfigService) GetAuthSession

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

func (*ImageConfigService) GetImageDetail deprecated

Deprecated: 2022-01-10 - Please use GetImageDetailShort instead.

func (*ImageConfigService) GetImageDetailShort

func (*ImageConfigService) GetImageLimit deprecated

Deprecated: 2022-01-10 - Please use GetImageLimitShort instead.

func (*ImageConfigService) GetImageLimitShort

func (*ImageConfigService) GetImagePatchDetail deprecated

Deprecated: 2022-01-10 - Please use GetImagePatchDetailShort instead.

func (*ImageConfigService) GetImagePatches deprecated

Deprecated: 2022-01-10 - Please use GetImagePatchesShort instead.

func (*ImageConfigService) GetRepository deprecated

Deprecated: 2022-01-10 - Please use GetRepositoryShort instead.

func (*ImageConfigService) GetRepositoryShort

func (*ImageConfigService) ImageDetailClient deprecated

Deprecated: 2022-01-10 - Please use ImageDetailClientShort instead.

func (*ImageConfigService) ImageLimitClient deprecated

Deprecated: 2022-01-10 - Please use ImageLimitClientShort instead.

func (*ImageConfigService) ImageLimitClientShort

func (*ImageConfigService) ImportImages deprecated

Deprecated: 2022-01-10 - Please use ImportImagesShort instead.

func (*ImageConfigService) ImportImagesShort

func (*ImageConfigService) ListImages deprecated

Deprecated: 2022-01-10 - Please use ListImagesShort instead.

func (*ImageConfigService) ListImagesClient deprecated

Deprecated: 2022-01-10 - Please use ListImagesClientShort instead.

func (*ImageConfigService) ListImagesClientShort

func (*ImageConfigService) ListImagesShort

func (*ImageConfigService) UpdateImage deprecated

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

Deprecated: 2022-01-10 - Please use UpdateImageShort instead.

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
}

func (*PodConfigService) CreatePodConfig deprecated

Deprecated: 2022-01-10 - Please use CreatePodConfigShort instead.

func (*PodConfigService) CreatePodConfigClient deprecated

Deprecated: 2022-01-10 - Please use CreatePodConfigClientShort instead.

func (*PodConfigService) CreatePodConfigClientShort

func (*PodConfigService) CreatePodConfigShort

func (*PodConfigService) DeletePodConfig deprecated

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

Deprecated: 2022-01-10 - Please use DeletePodConfigShort instead.

func (*PodConfigService) DeletePodConfigClient deprecated

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

Deprecated: 2022-01-10 - Please use DeletePodConfigClientShort instead.

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) GetAllPodConfig deprecated

Deprecated: 2022-01-10 - Please use GetAllPodConfigShort instead.

func (*PodConfigService) GetAllPodConfigClient deprecated

Deprecated: 2022-01-10 - Please use GetAllPodConfigClientShort instead.

func (*PodConfigService) GetAllPodConfigShort

func (*PodConfigService) GetAuthSession

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

func (*PodConfigService) GetLowestInstanceSpec deprecated

Deprecated: 2022-01-10 - Please use GetLowestInstanceSpecShort instead.

func (*PodConfigService) GetLowestInstanceSpecShort

func (*PodConfigService) GetPodConfig deprecated

Deprecated: 2022-01-10 - Please use GetPodConfigShort instead.

func (*PodConfigService) GetPodConfigShort

func (*PodConfigService) UpdatePodConfig deprecated

Deprecated: 2022-01-10 - Please use UpdatePodConfigShort instead.

func (*PodConfigService) UpdatePodConfigShort

type PublicService

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

func (*PublicService) GetAuthSession

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

func (*PublicService) GetDefaultProvider deprecated

Deprecated: 2022-01-10 - Please use GetDefaultProviderShort instead.

func (*PublicService) GetDefaultProviderShort

func (*PublicService) ListProviders deprecated

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

Deprecated: 2022-01-10 - Please use ListProvidersShort instead.

func (*PublicService) ListProvidersByRegion deprecated

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

Deprecated: 2022-01-10 - Please use ListProvidersByRegionShort instead.

func (*PublicService) ListProvidersByRegionShort

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

func (*PublicService) ListProvidersShort

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

type ServerService

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

func (*ServerService) DeregisterLocalServer deprecated

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

Deprecated: 2022-01-10 - Please use DeregisterLocalServerShort instead.

func (*ServerService) DeregisterLocalServerShort

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

func (*ServerService) GetAuthSession

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

func (*ServerService) GetServerSession deprecated

Deprecated: 2022-01-10 - Please use GetServerSessionShort instead.

func (*ServerService) GetServerSessionShort

func (*ServerService) GetServerSessionTimeout deprecated

Deprecated: 2022-01-10 - Please use GetServerSessionTimeoutShort instead.

func (*ServerService) ListServerClient deprecated

Deprecated: 2022-01-10 - Please use ListServerClientShort instead.

func (*ServerService) ListServerClientShort

func (*ServerService) RegisterLocalServer deprecated

Deprecated: 2022-01-10 - Please use RegisterLocalServerShort instead.

func (*ServerService) RegisterLocalServerShort

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

func (*ServerService) RegisterServer deprecated

Deprecated: 2022-01-10 - Please use RegisterServerShort instead.

func (*ServerService) RegisterServerShort

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

func (*ServerService) ServerHeartbeat deprecated

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

Deprecated: 2022-01-10 - Please use ServerHeartbeatShort instead.

func (*ServerService) ServerHeartbeatShort

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

func (*ServerService) ShutdownServer deprecated

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

Deprecated: 2022-01-10 - Please use ShutdownServerShort instead.

func (*ServerService) ShutdownServerShort

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

type SessionService

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

func (*SessionService) CancelSession deprecated

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

Deprecated: 2022-01-10 - Please use CancelSessionShort instead.

func (*SessionService) CancelSessionShort

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

func (*SessionService) ClaimServer deprecated

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

Deprecated: 2022-01-10 - Please use ClaimServerShort instead.

func (*SessionService) ClaimServerShort

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

func (*SessionService) CreateSession deprecated

Deprecated: 2022-01-10 - Please use CreateSessionShort instead.

func (*SessionService) CreateSessionShort

func (*SessionService) GetAuthSession

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

func (*SessionService) GetSession deprecated

Deprecated: 2022-01-10 - Please use GetSessionShort instead.

func (*SessionService) GetSessionShort

Jump to

Keyboard shortcuts

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