velero

package
v0.0.0-...-96b04c8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name, operate string, args []string) ([]byte, error)

func Delete

func Delete(name, operate string, args []string) ([]byte, error)

func ExecCommand

func ExecCommand(command string, args []string) ([]byte, error)

func GetDescribe

func GetDescribe(name, operate string, args []string) ([]byte, error)

func GetLogs

func GetLogs(name, operate string, args []string) ([]byte, error)

func Install

func Install(args []string) ([]byte, error)

func Restore

func Restore(backupName string, args []string) ([]byte, error)

Types

type VeleroBackup

type VeleroBackup struct {
	Kind     string                 `json:"kind"`
	Metadata map[string]interface{} `json:"metadata"`
	Spec     map[string]interface{} `json:"spec"`
	Status   map[string]interface{} `json:"status"`
}

func Get

func Get(operate string, args []string) ([]VeleroBackup, error)

type VeleroBackupList

type VeleroBackupList struct {
	ApiVersion string         `json:"apiVersion"`
	Items      []VeleroBackup `json:"items"`
}

Jump to

Keyboard shortcuts

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