configArchive

package
v0.0.0-...-367d749 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "ConfigArchive"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigArchiveAPI

type ConfigArchiveAPI interface {
	ImportConfigArchive(input *ImportConfigArchiveInput) (output *models.ApiResult, resp *http.Response, err error)
	ImportConfigArchiveWithContext(ctx context.Context, input *ImportConfigArchiveInput) (output *models.ApiResult, resp *http.Response, err error)

	ExportConfigArchive() (resp *http.Response, err error)
	ExportConfigArchiveWithContext(ctx context.Context) (resp *http.Response, err error)
}

type ConfigArchiveService

type ConfigArchiveService struct {
	*client.PfClient
}

func New

New creates a new instance of the ConfigArchiveService client.

func (*ConfigArchiveService) ExportConfigArchive

func (s *ConfigArchiveService) ExportConfigArchive() (resp *http.Response, err error)

ExportConfigArchive - Export a configuration archive. RequestType: GET Input:

func (*ConfigArchiveService) ExportConfigArchiveWithContext

func (s *ConfigArchiveService) ExportConfigArchiveWithContext(ctx context.Context) (resp *http.Response, err error)

ExportConfigArchiveWithContext - Export a configuration archive. RequestType: GET Input: ctx context.Context,

func (*ConfigArchiveService) ImportConfigArchive

func (s *ConfigArchiveService) ImportConfigArchive(input *ImportConfigArchiveInput) (output *models.ApiResult, resp *http.Response, err error)

ImportConfigArchive - Import a configuration archive. RequestType: POST Input: input *ImportConfigArchiveInput

func (*ConfigArchiveService) ImportConfigArchiveWithContext

func (s *ConfigArchiveService) ImportConfigArchiveWithContext(ctx context.Context, input *ImportConfigArchiveInput) (output *models.ApiResult, resp *http.Response, err error)

ImportConfigArchiveWithContext - Import a configuration archive. RequestType: POST Input: ctx context.Context, input *ImportConfigArchiveInput

type ImportConfigArchiveInput

type ImportConfigArchiveInput struct {
	ForceImport string

	Body []byte
}

Jump to

Keyboard shortcuts

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