types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplicationQueueConfig

type ReplicationQueueConfig struct {
	Enabled      bool
	QueueType    string
	QueueOptions *viper.Viper
}

type SetupOptions

type SetupOptions struct {
	Name                                   string
	Location                               string
	Hostname                               string
	ReplicationEnabled                     bool
	ReplicationPassphrase                  string
	ReplicationQueueType                   string
	ReplicationQueueGooglePubSubProject    string
	ReplicationQueueGooglePubSubTopic      string
	TTYRecsOffloadEnabled                  bool
	TTYRecsOffloadConfigType               string
	TTYRecsOffloadConfigGCSBucket          string
	TTYRecsOffloadConfigGCSObjectsBasePath string
	TTYRecsOffloadConfigS3Bucket           string
	TTYRecsOffloadConfigS3KeysBasePath     string
}

type StandardError

type StandardError string

StandardError is a wrapper around string to handle the plugin's custom errors

const (
	ErrUnknownCommand   StandardError = "unknown command"
	ErrCommandDisabled  StandardError = "command disabled"
	ErrMissingArguments StandardError = "missing arguments"
)

func (StandardError) Error

func (e StandardError) Error() string

Error returns the error as a string

type TTYRecsOffloadingConfig

type TTYRecsOffloadingConfig struct {
	Enabled        bool
	StorageType    string
	StorageOptions *viper.Viper
}

Jump to

Keyboard shortcuts

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