Documentation ¶
Index ¶
- Constants
- type ConfigArchiveAPI
- type ConfigArchiveService
- func (s *ConfigArchiveService) ExportConfigArchive() (resp *http.Response, err error)
- func (s *ConfigArchiveService) ExportConfigArchiveWithContext(ctx context.Context) (resp *http.Response, err error)
- func (s *ConfigArchiveService) ImportConfigArchive(input *ImportConfigArchiveInput) (output *models.ApiResult, resp *http.Response, err error)
- func (s *ConfigArchiveService) ImportConfigArchiveWithContext(ctx context.Context, input *ImportConfigArchiveInput) (output *models.ApiResult, resp *http.Response, err error)
- type ImportConfigArchiveInput
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 ¶
func New ¶
func New(cfg *config.Config) *ConfigArchiveService
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
Click to show internal directories.
Click to hide internal directories.