sharedStructs

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerOnStartMessage

type ContainerOnStartMessage struct {
	ContainerName string `json:"container_name"`
	OperationID   int    `json:"operation_id"`
	OperationName string `json:"operation_name"`
	ServerName    string `json:"server_name"`
	APIToken      string `json:"apitoken"`
}

type ContainerOnStartMessageResponse

type ContainerOnStartMessageResponse struct {
	ContainerName         string `json:"container_name"`
	EventLogInfoMessage   string `json:"stdout"`
	EventLogErrorMessage  string `json:"stderr"`
	RestartInternalServer bool   `json:"restart_internal_server"`
}

type ContainerRPCGetFileMessage

type ContainerRPCGetFileMessage struct {
	ContainerName string `json:"container_name"`
	Filename      string `json:"filename"`
}

type ContainerRPCGetFileMessageResponse

type ContainerRPCGetFileMessageResponse struct {
	Success bool   `json:"success"`
	Error   string `json:"error"`
	Message []byte `json:"message"`
}

type ContainerRPCListFileMessage

type ContainerRPCListFileMessage struct {
	ContainerName string `json:"container_name"`
}

type ContainerRPCListFileMessageResponse

type ContainerRPCListFileMessageResponse struct {
	Success bool     `json:"success"`
	Error   string   `json:"error"`
	Files   []string `json:"files"`
}

type ContainerRPCRemoveFileMessage

type ContainerRPCRemoveFileMessage struct {
	ContainerName string `json:"container_name"`
	Filename      string `json:"filename"`
}

type ContainerRPCRemoveFileMessageResponse

type ContainerRPCRemoveFileMessageResponse struct {
	Success bool   `json:"success"`
	Error   string `json:"error"`
}

type ContainerRPCWriteFileMessage

type ContainerRPCWriteFileMessage struct {
	ContainerName string `json:"container_name"`
	Filename      string `json:"filename"`
	Contents      []byte `json:"contents"`
}

type ContainerRPCWriteFileMessageResponse

type ContainerRPCWriteFileMessageResponse struct {
	Success bool   `json:"success"`
	Error   string `json:"error"`
	Message string `json:"message"`
}

type RabbitmqDirectMethod

type RabbitmqDirectMethod struct {
	RabbitmqRoutingKey         string
	RabbitmqProcessingFunction func([]byte)
}

type RabbitmqRPCMethod

type RabbitmqRPCMethod struct {
	RabbitmqRoutingKey         string
	RabbitmqProcessingFunction func([]byte) interface{}
}

Jump to

Keyboard shortcuts

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