jobs

package
v0.0.0-...-2655167 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunFileBackup

func RunFileBackup(plan config.Plan, tmpPath string, filePostFix string) (string, string, error)

func RunMongoBackup

func RunMongoBackup(plan config.Plan, k8Client *kubernetes.Clientset, tmpPath string, filePostFix string) (string, string, error)

func RunMongoPurge

func RunMongoPurge(plan config.Plan, k8Client *kubernetes.Clientset, tmpPath string, filePostFix string) (string, string, error)

func RunSolrBackup

func RunSolrBackup(plan config.Plan, tmpPath string, filePostFix string) (string, string, error)

Types

type PodToBackup

type PodToBackup struct {
	BaseURL string

	BackupSuccess bool
	ShardName     string
	// contains filtered or unexported fields
}

type SolrBackupResponse

type SolrBackupResponse struct {
	Status         string `json:"status"`
	ResponseHeader struct {
		Status int `json:"status"`
		QTime  int `json:"QTime"`
	} `json:"response"`
	Exception string `json:"exception"`
}

type SolrReplicaDetailsResponse

type SolrReplicaDetailsResponse struct {
	ResponseHeader struct {
		Status int `json:"status"`
		QTime  int `json:"QTime"`
	} `json:"response"`
	Details map[string]interface {
	} `json:"details"`
	Exception string `json:"exception"`
}

Jump to

Keyboard shortcuts

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