Help us shape the future of Go! Take the 2026 Go Developer Survey

dslogmanagerclientmodels

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiError

type ApiError struct {
	Code    string
	Message string
}

func (*ApiError) Error

func (e *ApiError) Error() string

func (*ApiError) IsAvailable

func (e *ApiError) IsAvailable() bool

type ApiResponse

type ApiResponse struct {
	IsSuccess   bool
	StatusCode  int
	ContentType *string
	Error       *ApiError
}

type LogAppMessageDeclaration

type LogAppMessageDeclaration struct {

	// attributes
	// Required: true
	Attributes []string `json:"Attributes"`

	// code
	// Required: true
	Code *string `json:"Code"`

	// codename
	// Required: true
	CodeName *string `json:"CodeName"`

	// section
	// Required: true
	Section *string `json:"Section"`

	// service
	// Required: true
	Service *string `json:"Service"`

	// text
	// Required: true
	Text *string `json:"Text"`
}

LogAppMessageDeclaration Log app message declaration

swagger:model Log app message declaration.

func (*LogAppMessageDeclaration) MarshalBinary

func (m *LogAppMessageDeclaration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogAppMessageDeclaration) UnmarshalBinary

func (m *LogAppMessageDeclaration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogAppMessageDeclaration) Validate

func (m *LogAppMessageDeclaration) Validate(formats strfmt.Registry) error

Validate validates this Log app message declaration

type ModelsAllocationEvent

type ModelsAllocationEvent struct {

	// description
	// Required: true
	Description *string `json:"description"`

	// time_stamp
	// Required: true
	// Format: date-time
	TimeStamp strfmt.DateTime `json:"time_stamp"`

	// type
	// Required: true
	Type *string `json:"type"`
}

ModelsAllocationEvent Models allocation event

swagger:model Models allocation event.

func (*ModelsAllocationEvent) MarshalBinary

func (m *ModelsAllocationEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAllocationEvent) UnmarshalBinary

func (m *ModelsAllocationEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAllocationEvent) Validate

func (m *ModelsAllocationEvent) Validate(formats strfmt.Registry) error

Validate validates this Models allocation event

type ModelsBatchDownloadLogsRequest

type ModelsBatchDownloadLogsRequest struct {

	// downloads
	// Required: true
	Downloads []*ModelsDownloadLogsRequest `json:"Downloads"`
}

ModelsBatchDownloadLogsRequest Models batch download logs request

swagger:model Models batch download logs request.

func (*ModelsBatchDownloadLogsRequest) MarshalBinary

func (m *ModelsBatchDownloadLogsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsBatchDownloadLogsRequest) UnmarshalBinary

func (m *ModelsBatchDownloadLogsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsBatchDownloadLogsRequest) Validate

func (m *ModelsBatchDownloadLogsRequest) Validate(formats strfmt.Registry) error

Validate validates this Models batch download logs request

type ModelsDownloadLogsRequest

type ModelsDownloadLogsRequest struct {

	// alloc_id
	// Required: true
	AllocID *string `json:"alloc_id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// pod_name
	// Required: true
	PodName *string `json:"pod_name"`
}

ModelsDownloadLogsRequest Models download logs request

swagger:model Models download logs request.

func (*ModelsDownloadLogsRequest) MarshalBinary

func (m *ModelsDownloadLogsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsDownloadLogsRequest) UnmarshalBinary

func (m *ModelsDownloadLogsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsDownloadLogsRequest) Validate

func (m *ModelsDownloadLogsRequest) Validate(formats strfmt.Registry) error

Validate validates this Models download logs request

type ModelsListTerminatedServersResponse

type ModelsListTerminatedServersResponse struct {

	// data
	// Required: true
	Data []*ModelsNotifPayloadServerStatusChangeResponse `json:"data"`

	// paging
	// Required: true
	Paging *ModelsPagingCursor `json:"paging"`
}

ModelsListTerminatedServersResponse Models list terminated servers response

swagger:model Models list terminated servers response.

func (*ModelsListTerminatedServersResponse) MarshalBinary

func (m *ModelsListTerminatedServersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsListTerminatedServersResponse) UnmarshalBinary

func (m *ModelsListTerminatedServersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsListTerminatedServersResponse) Validate

Validate validates this Models list terminated servers response

type ModelsLogFileStatus

type ModelsLogFileStatus struct {

	// log_existence
	// Required: true
	LogExistence *bool `json:"log_existence"`
}

ModelsLogFileStatus Models log file status

swagger:model Models log file status.

func (*ModelsLogFileStatus) MarshalBinary

func (m *ModelsLogFileStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsLogFileStatus) UnmarshalBinary

func (m *ModelsLogFileStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsLogFileStatus) Validate

func (m *ModelsLogFileStatus) Validate(formats strfmt.Registry) error

Validate validates this Models log file status

type ModelsMatchResult

type ModelsMatchResult struct {

	// game_mode
	// Required: true
	GameMode *string `json:"game_mode"`

	// matching_allies
	MatchingAllies []*ModelsRequestMatchingAlly `json:"matching_allies,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`
}

ModelsMatchResult Models match result

swagger:model Models match result.

func (*ModelsMatchResult) MarshalBinary

func (m *ModelsMatchResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMatchResult) UnmarshalBinary

func (m *ModelsMatchResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMatchResult) Validate

func (m *ModelsMatchResult) Validate(formats strfmt.Registry) error

Validate validates this Models match result

type ModelsMetadataServersRequest

type ModelsMetadataServersRequest struct {

	// pod_names
	// Required: true
	PodNames []string `json:"pod_names"`
}

ModelsMetadataServersRequest Models metadata servers request

swagger:model Models metadata servers request.

func (*ModelsMetadataServersRequest) MarshalBinary

func (m *ModelsMetadataServersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsMetadataServersRequest) UnmarshalBinary

func (m *ModelsMetadataServersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsMetadataServersRequest) Validate

func (m *ModelsMetadataServersRequest) Validate(formats strfmt.Registry) error

Validate validates this Models metadata servers request

type ModelsNotifPayloadServerStatusChangeResponse

type ModelsNotifPayloadServerStatusChangeResponse struct {

	// match
	// Required: true
	Match *ModelsMatchResult `json:"match"`

	// server
	// Required: true
	Server *ModelsServerResponse `json:"server"`
}

ModelsNotifPayloadServerStatusChangeResponse Models notif payload server status change response

swagger:model Models notif payload server status change response.

func (*ModelsNotifPayloadServerStatusChangeResponse) MarshalBinary

MarshalBinary interface implementation

func (*ModelsNotifPayloadServerStatusChangeResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ModelsNotifPayloadServerStatusChangeResponse) Validate

Validate validates this Models notif payload server status change response

type ModelsPagingCursor

type ModelsPagingCursor struct {

	// first
	// Required: true
	First *string `json:"first"`

	// last
	// Required: true
	Last *string `json:"last"`

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

ModelsPagingCursor Models paging cursor

swagger:model Models paging cursor.

func (*ModelsPagingCursor) MarshalBinary

func (m *ModelsPagingCursor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsPagingCursor) UnmarshalBinary

func (m *ModelsPagingCursor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsPagingCursor) Validate

func (m *ModelsPagingCursor) Validate(formats strfmt.Registry) error

Validate validates this Models paging cursor

type ModelsRequestMatchMember

type ModelsRequestMatchMember struct {

	// user_id
	// Required: true
	UserID *string `json:"user_id"`
}

ModelsRequestMatchMember Models request match member

swagger:model Models request match member.

func (*ModelsRequestMatchMember) MarshalBinary

func (m *ModelsRequestMatchMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRequestMatchMember) UnmarshalBinary

func (m *ModelsRequestMatchMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRequestMatchMember) Validate

func (m *ModelsRequestMatchMember) Validate(formats strfmt.Registry) error

Validate validates this Models request match member

type ModelsRequestMatchParty

type ModelsRequestMatchParty struct {

	// party_attributes
	// Required: true
	PartyAttributes interface{} `json:"party_attributes"`

	// party_id
	// Required: true
	PartyID *string `json:"party_id"`

	// party_members
	// Required: true
	PartyMembers []*ModelsRequestMatchMember `json:"party_members"`
}

ModelsRequestMatchParty Models request match party

swagger:model Models request match party.

func (*ModelsRequestMatchParty) MarshalBinary

func (m *ModelsRequestMatchParty) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRequestMatchParty) UnmarshalBinary

func (m *ModelsRequestMatchParty) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRequestMatchParty) Validate

func (m *ModelsRequestMatchParty) Validate(formats strfmt.Registry) error

Validate validates this Models request match party

type ModelsRequestMatchingAlly

type ModelsRequestMatchingAlly struct {

	// matching_parties
	// Required: true
	MatchingParties []*ModelsRequestMatchParty `json:"matching_parties"`
}

ModelsRequestMatchingAlly Models request matching ally

swagger:model Models request matching ally.

func (*ModelsRequestMatchingAlly) MarshalBinary

func (m *ModelsRequestMatchingAlly) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsRequestMatchingAlly) UnmarshalBinary

func (m *ModelsRequestMatchingAlly) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsRequestMatchingAlly) Validate

func (m *ModelsRequestMatchingAlly) Validate(formats strfmt.Registry) error

Validate validates this Models request matching ally

type ModelsServerLogs

type ModelsServerLogs struct {

	// std_err_logs
	// Required: true
	StdErrLogs *string `json:"std_err_logs"`

	// std_out_logs
	// Required: true
	StdOutLogs *string `json:"std_out_logs"`
}

ModelsServerLogs Models server logs

swagger:model Models server logs.

func (*ModelsServerLogs) MarshalBinary

func (m *ModelsServerLogs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsServerLogs) UnmarshalBinary

func (m *ModelsServerLogs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsServerLogs) Validate

func (m *ModelsServerLogs) Validate(formats strfmt.Registry) error

Validate validates this Models server logs

type ModelsServerResponse

type ModelsServerResponse struct {

	// allocation_events
	AllocationEvents []*ModelsAllocationEvent `json:"allocation_events,omitempty"`

	// allocation_id
	// Required: true
	AllocationID *string `json:"allocation_id"`

	// alternate_ips
	AlternateIps []string `json:"alternate_ips,omitempty"`

	// artifact_path
	ArtifactPath string `json:"artifact_path,omitempty"`

	// cpu_limit
	// Required: true
	// Format: int32
	CPULimit *int32 `json:"cpu_limit"`

	// deployment
	// Required: true
	Deployment *string `json:"deployment"`

	// deployment_override
	// Required: true
	DeploymentOverride *string `json:"deployment_override"`

	// game_version
	// Required: true
	GameVersion *string `json:"game_version"`

	// image_version
	// Required: true
	ImageVersion *string `json:"image_version"`

	// ip
	// Required: true
	IP *string `json:"ip"`

	// is_core_dump_enabled
	IsCoreDumpEnabled bool `json:"is_core_dump_enabled"`

	// is_override_game_version
	// Required: true
	IsOverrideGameVersion *bool `json:"is_override_game_version"`

	// job_id
	// Required: true
	JobID *string `json:"job_id"`

	// last_update
	// Required: true
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"last_update"`

	// match_id
	// Required: true
	MatchID *string `json:"match_id"`

	// mem_limit
	// Required: true
	// Format: int32
	MemLimit *int32 `json:"mem_limit"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// params
	// Required: true
	Params *string `json:"params"`

	// pod_name
	// Required: true
	PodName *string `json:"pod_name"`

	// port
	// Required: true
	// Format: int32
	Port *int32 `json:"port"`

	// ports
	Ports map[string]int64 `json:"ports,omitempty"`

	// protocol
	// Required: true
	Protocol *string `json:"protocol"`

	// provider
	// Required: true
	Provider *string `json:"provider"`

	// region
	// Required: true
	Region *string `json:"region"`

	// session_id
	// Required: true
	SessionID *string `json:"session_id"`

	// status
	// Required: true
	Status *string `json:"status"`

	// status_history
	StatusHistory []*ModelsStatusHistory `json:"status_history,omitempty"`

	// termination_reason
	// Required: true
	TerminationReason *string `json:"termination_reason"`

	// ulimit_file_size
	// Format: int32
	UlimitFileSize int32 `json:"ulimit_file_size,omitempty"`
}

ModelsServerResponse Models server response

swagger:model Models server response.

func (*ModelsServerResponse) MarshalBinary

func (m *ModelsServerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsServerResponse) UnmarshalBinary

func (m *ModelsServerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsServerResponse) Validate

func (m *ModelsServerResponse) Validate(formats strfmt.Registry) error

Validate validates this Models server response

type ModelsStatusHistory

type ModelsStatusHistory struct {

	// status
	// Required: true
	Status *string `json:"status"`

	// time_stamp
	// Required: true
	// Format: date-time
	TimeStamp strfmt.DateTime `json:"time_stamp"`
}

ModelsStatusHistory Models status history

swagger:model Models status history.

func (*ModelsStatusHistory) MarshalBinary

func (m *ModelsStatusHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsStatusHistory) UnmarshalBinary

func (m *ModelsStatusHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsStatusHistory) Validate

func (m *ModelsStatusHistory) Validate(formats strfmt.Registry) error

Validate validates this Models status history

type ResponseError

type ResponseError struct {

	// errorcode
	// Required: true
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

	// errormessage
	// Required: true
	ErrorMessage *string `json:"errorMessage"`
}

ResponseError Response error

swagger:model Response error.

func (*ResponseError) MarshalBinary

func (m *ResponseError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResponseError) TranslateToApiError

func (m *ResponseError) TranslateToApiError() (*ApiError, error)

func (*ResponseError) UnmarshalBinary

func (m *ResponseError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResponseError) Validate

func (m *ResponseError) Validate(formats strfmt.Registry) error

Validate validates this Response error

Jump to

Keyboard shortcuts

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