v32

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v32 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.

Index

Constants

View Source
const (
	Basic_authScopes basicAuthContextKey = "basic_auth.Scopes"
)

Variables

This section is empty.

Functions

func NewAddCaEntryRequestWithBody

func NewAddCaEntryRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewAddCaEntryRequestWithBody generates requests for AddCaEntry with any type of body

func NewAddMapEntryRequest

func NewAddMapEntryRequest(server string, parentName ParentName, params *AddMapEntryParams, body AddMapEntryJSONRequestBody) (*http.Request, error)

NewAddMapEntryRequest calls the generic AddMapEntry builder with application/json body

func NewAddMapEntryRequestWithBody

func NewAddMapEntryRequestWithBody(server string, parentName ParentName, params *AddMapEntryParams, contentType string, body io.Reader) (*http.Request, error)

NewAddMapEntryRequestWithBody generates requests for AddMapEntry with any type of body

func NewCreateCaFileRequestWithBody

func NewCreateCaFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateCaFileRequestWithBody generates requests for CreateCaFile with any type of body

func NewCreateStorageGeneralFileRequestWithBody

func NewCreateStorageGeneralFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateStorageGeneralFileRequestWithBody generates requests for CreateStorageGeneralFile with any type of body

func NewCreateStorageMapFileRequestWithBody

func NewCreateStorageMapFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateStorageMapFileRequestWithBody generates requests for CreateStorageMapFile with any type of body

func NewCreateStorageSSLCertificateRequestWithBody

func NewCreateStorageSSLCertificateRequestWithBody(server string, params *CreateStorageSSLCertificateParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateStorageSSLCertificateRequestWithBody generates requests for CreateStorageSSLCertificate with any type of body

func NewCreateStorageSSLCrtListFileRequestWithBody

func NewCreateStorageSSLCrtListFileRequestWithBody(server string, params *CreateStorageSSLCrtListFileParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateStorageSSLCrtListFileRequestWithBody generates requests for CreateStorageSSLCrtListFile with any type of body

func NewDeleteCaFileRequest

func NewDeleteCaFileRequest(server string, name string) (*http.Request, error)

NewDeleteCaFileRequest generates requests for DeleteCaFile

func NewDeleteRuntimeMapEntryRequest

func NewDeleteRuntimeMapEntryRequest(server string, parentName ParentName, id string, params *DeleteRuntimeMapEntryParams) (*http.Request, error)

NewDeleteRuntimeMapEntryRequest generates requests for DeleteRuntimeMapEntry

func NewDeleteStorageGeneralFileRequest

func NewDeleteStorageGeneralFileRequest(server string, name string) (*http.Request, error)

NewDeleteStorageGeneralFileRequest generates requests for DeleteStorageGeneralFile

func NewDeleteStorageMapRequest

func NewDeleteStorageMapRequest(server string, name string) (*http.Request, error)

NewDeleteStorageMapRequest generates requests for DeleteStorageMap

func NewDeleteStorageSSLCertificateRequest

func NewDeleteStorageSSLCertificateRequest(server string, name string, params *DeleteStorageSSLCertificateParams) (*http.Request, error)

NewDeleteStorageSSLCertificateRequest generates requests for DeleteStorageSSLCertificate

func NewDeleteStorageSSLCrtListFileRequest

func NewDeleteStorageSSLCrtListFileRequest(server string, name string, params *DeleteStorageSSLCrtListFileParams) (*http.Request, error)

NewDeleteStorageSSLCrtListFileRequest generates requests for DeleteStorageSSLCrtListFile

func NewGetAllCaFilesRequest

func NewGetAllCaFilesRequest(server string) (*http.Request, error)

NewGetAllCaFilesRequest generates requests for GetAllCaFiles

func NewGetAllCertsRequest

func NewGetAllCertsRequest(server string) (*http.Request, error)

NewGetAllCertsRequest generates requests for GetAllCerts

func NewGetAllStorageGeneralFilesRequest

func NewGetAllStorageGeneralFilesRequest(server string) (*http.Request, error)

NewGetAllStorageGeneralFilesRequest generates requests for GetAllStorageGeneralFiles

func NewGetAllStorageMapFilesRequest

func NewGetAllStorageMapFilesRequest(server string) (*http.Request, error)

NewGetAllStorageMapFilesRequest generates requests for GetAllStorageMapFiles

func NewGetAllStorageSSLCertificatesRequest

func NewGetAllStorageSSLCertificatesRequest(server string) (*http.Request, error)

NewGetAllStorageSSLCertificatesRequest generates requests for GetAllStorageSSLCertificates

func NewGetAllStorageSSLCrtListFilesRequest

func NewGetAllStorageSSLCrtListFilesRequest(server string) (*http.Request, error)

NewGetAllStorageSSLCrtListFilesRequest generates requests for GetAllStorageSSLCrtListFiles

func NewGetCaFileRequest

func NewGetCaFileRequest(server string, name string) (*http.Request, error)

NewGetCaFileRequest generates requests for GetCaFile

func NewGetConfigurationVersionRequest

func NewGetConfigurationVersionRequest(server string, params *GetConfigurationVersionParams) (*http.Request, error)

NewGetConfigurationVersionRequest generates requests for GetConfigurationVersion

func NewGetHAProxyConfigurationRequest

func NewGetHAProxyConfigurationRequest(server string, params *GetHAProxyConfigurationParams) (*http.Request, error)

NewGetHAProxyConfigurationRequest generates requests for GetHAProxyConfiguration

func NewGetOneStorageGeneralFileRequest

func NewGetOneStorageGeneralFileRequest(server string, name string) (*http.Request, error)

NewGetOneStorageGeneralFileRequest generates requests for GetOneStorageGeneralFile

func NewGetOneStorageMapRequest

func NewGetOneStorageMapRequest(server string, name string) (*http.Request, error)

NewGetOneStorageMapRequest generates requests for GetOneStorageMap

func NewGetOneStorageSSLCertificateRequest

func NewGetOneStorageSSLCertificateRequest(server string, name string) (*http.Request, error)

NewGetOneStorageSSLCertificateRequest generates requests for GetOneStorageSSLCertificate

func NewGetOneStorageSSLCrtListFileRequest

func NewGetOneStorageSSLCrtListFileRequest(server string, name string) (*http.Request, error)

NewGetOneStorageSSLCrtListFileRequest generates requests for GetOneStorageSSLCrtListFile

func NewGetReloadRequest

func NewGetReloadRequest(server string, id string) (*http.Request, error)

NewGetReloadRequest generates requests for GetReload

func NewPostHAProxyConfigurationRequestWithBody

func NewPostHAProxyConfigurationRequestWithBody(server string, params *PostHAProxyConfigurationParams, contentType string, body io.Reader) (*http.Request, error)

NewPostHAProxyConfigurationRequestWithBody generates requests for PostHAProxyConfiguration with any type of body

func NewPostHAProxyConfigurationRequestWithTextBody

func NewPostHAProxyConfigurationRequestWithTextBody(server string, params *PostHAProxyConfigurationParams, body PostHAProxyConfigurationTextRequestBody) (*http.Request, error)

NewPostHAProxyConfigurationRequestWithTextBody calls the generic PostHAProxyConfiguration builder with text/plain body

func NewReplaceCertRequestWithBody

func NewReplaceCertRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewReplaceCertRequestWithBody generates requests for ReplaceCert with any type of body

func NewReplaceRuntimeMapEntryRequest

func NewReplaceRuntimeMapEntryRequest(server string, parentName ParentName, id string, params *ReplaceRuntimeMapEntryParams, body ReplaceRuntimeMapEntryJSONRequestBody) (*http.Request, error)

NewReplaceRuntimeMapEntryRequest calls the generic ReplaceRuntimeMapEntry builder with application/json body

func NewReplaceRuntimeMapEntryRequestWithBody

func NewReplaceRuntimeMapEntryRequestWithBody(server string, parentName ParentName, id string, params *ReplaceRuntimeMapEntryParams, contentType string, body io.Reader) (*http.Request, error)

NewReplaceRuntimeMapEntryRequestWithBody generates requests for ReplaceRuntimeMapEntry with any type of body

func NewReplaceStorageGeneralFileRequestWithBody

func NewReplaceStorageGeneralFileRequestWithBody(server string, name string, params *ReplaceStorageGeneralFileParams, contentType string, body io.Reader) (*http.Request, error)

NewReplaceStorageGeneralFileRequestWithBody generates requests for ReplaceStorageGeneralFile with any type of body

func NewReplaceStorageMapFileRequestWithBody

func NewReplaceStorageMapFileRequestWithBody(server string, name string, params *ReplaceStorageMapFileParams, contentType string, body io.Reader) (*http.Request, error)

NewReplaceStorageMapFileRequestWithBody generates requests for ReplaceStorageMapFile with any type of body

func NewReplaceStorageMapFileRequestWithTextBody

func NewReplaceStorageMapFileRequestWithTextBody(server string, name string, params *ReplaceStorageMapFileParams, body ReplaceStorageMapFileTextRequestBody) (*http.Request, error)

NewReplaceStorageMapFileRequestWithTextBody calls the generic ReplaceStorageMapFile builder with text/plain body

func NewReplaceStorageSSLCertificateRequestWithBody

func NewReplaceStorageSSLCertificateRequestWithBody(server string, name string, params *ReplaceStorageSSLCertificateParams, contentType string, body io.Reader) (*http.Request, error)

NewReplaceStorageSSLCertificateRequestWithBody generates requests for ReplaceStorageSSLCertificate with any type of body

func NewReplaceStorageSSLCertificateRequestWithTextBody

func NewReplaceStorageSSLCertificateRequestWithTextBody(server string, name string, params *ReplaceStorageSSLCertificateParams, body ReplaceStorageSSLCertificateTextRequestBody) (*http.Request, error)

NewReplaceStorageSSLCertificateRequestWithTextBody calls the generic ReplaceStorageSSLCertificate builder with text/plain body

func NewReplaceStorageSSLCrtListFileRequestWithBody

func NewReplaceStorageSSLCrtListFileRequestWithBody(server string, name string, params *ReplaceStorageSSLCrtListFileParams, contentType string, body io.Reader) (*http.Request, error)

NewReplaceStorageSSLCrtListFileRequestWithBody generates requests for ReplaceStorageSSLCrtListFile with any type of body

func NewReplaceStorageSSLCrtListFileRequestWithTextBody

func NewReplaceStorageSSLCrtListFileRequestWithTextBody(server string, name string, params *ReplaceStorageSSLCrtListFileParams, body ReplaceStorageSSLCrtListFileTextRequestBody) (*http.Request, error)

NewReplaceStorageSSLCrtListFileRequestWithTextBody calls the generic ReplaceStorageSSLCrtListFile builder with text/plain body

func NewSetCaFileRequestWithBody

func NewSetCaFileRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)

NewSetCaFileRequestWithBody generates requests for SetCaFile with any type of body

func NewShowRuntimeMapRequest

func NewShowRuntimeMapRequest(server string, parentName ParentName) (*http.Request, error)

NewShowRuntimeMapRequest generates requests for ShowRuntimeMap

Types

type AddCaEntryMultipartBody

type AddCaEntryMultipartBody struct {
	// FileUpload Payload of the cert entry
	FileUpload openapi_types.File `json:"file_upload"`
}

AddCaEntryMultipartBody defines parameters for AddCaEntry.

type AddCaEntryMultipartRequestBody

type AddCaEntryMultipartRequestBody AddCaEntryMultipartBody

AddCaEntryMultipartRequestBody defines body for AddCaEntry for multipart/form-data ContentType.

type AddMapEntryJSONRequestBody

type AddMapEntryJSONRequestBody = MapEntry

AddMapEntryJSONRequestBody defines body for AddMapEntry for application/json ContentType.

type AddMapEntryParams

type AddMapEntryParams struct {
	// ForceSync If true, immediately syncs changes to disk
	ForceSync *bool `form:"force_sync,omitempty" json:"force_sync,omitempty"`
}

AddMapEntryParams defines parameters for AddMapEntry.

type AlreadyExists

type AlreadyExists = Error

AlreadyExists API Error

type BadRequest

type BadRequest = Error

BadRequest API Error

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddCaEntryWithBody

func (c *Client) AddCaEntryWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddMapEntry

func (c *Client) AddMapEntry(ctx context.Context, parentName ParentName, params *AddMapEntryParams, body AddMapEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddMapEntryWithBody

func (c *Client) AddMapEntryWithBody(ctx context.Context, parentName ParentName, params *AddMapEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateCaFileWithBody

func (c *Client) CreateCaFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateStorageGeneralFileWithBody

func (c *Client) CreateStorageGeneralFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateStorageMapFileWithBody

func (c *Client) CreateStorageMapFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateStorageSSLCertificateWithBody

func (c *Client) CreateStorageSSLCertificateWithBody(ctx context.Context, params *CreateStorageSSLCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateStorageSSLCrtListFileWithBody

func (c *Client) CreateStorageSSLCrtListFileWithBody(ctx context.Context, params *CreateStorageSSLCrtListFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCaFile

func (c *Client) DeleteCaFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRuntimeMapEntry

func (c *Client) DeleteRuntimeMapEntry(ctx context.Context, parentName ParentName, id string, params *DeleteRuntimeMapEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStorageGeneralFile

func (c *Client) DeleteStorageGeneralFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStorageMap

func (c *Client) DeleteStorageMap(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStorageSSLCertificate

func (c *Client) DeleteStorageSSLCertificate(ctx context.Context, name string, params *DeleteStorageSSLCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteStorageSSLCrtListFile

func (c *Client) DeleteStorageSSLCrtListFile(ctx context.Context, name string, params *DeleteStorageSSLCrtListFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllCaFiles

func (c *Client) GetAllCaFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllCerts

func (c *Client) GetAllCerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllStorageGeneralFiles

func (c *Client) GetAllStorageGeneralFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllStorageMapFiles

func (c *Client) GetAllStorageMapFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllStorageSSLCertificates

func (c *Client) GetAllStorageSSLCertificates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllStorageSSLCrtListFiles

func (c *Client) GetAllStorageSSLCrtListFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCaFile

func (c *Client) GetCaFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConfigurationVersion

func (c *Client) GetConfigurationVersion(ctx context.Context, params *GetConfigurationVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHAProxyConfiguration

func (c *Client) GetHAProxyConfiguration(ctx context.Context, params *GetHAProxyConfigurationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOneStorageGeneralFile

func (c *Client) GetOneStorageGeneralFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOneStorageMap

func (c *Client) GetOneStorageMap(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOneStorageSSLCertificate

func (c *Client) GetOneStorageSSLCertificate(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOneStorageSSLCrtListFile

func (c *Client) GetOneStorageSSLCrtListFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReload

func (c *Client) GetReload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostHAProxyConfigurationWithBody

func (c *Client) PostHAProxyConfigurationWithBody(ctx context.Context, params *PostHAProxyConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostHAProxyConfigurationWithTextBody

func (c *Client) PostHAProxyConfigurationWithTextBody(ctx context.Context, params *PostHAProxyConfigurationParams, body PostHAProxyConfigurationTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceCertWithBody

func (c *Client) ReplaceCertWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceRuntimeMapEntry

func (c *Client) ReplaceRuntimeMapEntry(ctx context.Context, parentName ParentName, id string, params *ReplaceRuntimeMapEntryParams, body ReplaceRuntimeMapEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceRuntimeMapEntryWithBody

func (c *Client) ReplaceRuntimeMapEntryWithBody(ctx context.Context, parentName ParentName, id string, params *ReplaceRuntimeMapEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageGeneralFileWithBody

func (c *Client) ReplaceStorageGeneralFileWithBody(ctx context.Context, name string, params *ReplaceStorageGeneralFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageMapFileWithBody

func (c *Client) ReplaceStorageMapFileWithBody(ctx context.Context, name string, params *ReplaceStorageMapFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageMapFileWithTextBody

func (c *Client) ReplaceStorageMapFileWithTextBody(ctx context.Context, name string, params *ReplaceStorageMapFileParams, body ReplaceStorageMapFileTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageSSLCertificateWithBody

func (c *Client) ReplaceStorageSSLCertificateWithBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageSSLCertificateWithTextBody

func (c *Client) ReplaceStorageSSLCertificateWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, body ReplaceStorageSSLCertificateTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageSSLCrtListFileWithBody

func (c *Client) ReplaceStorageSSLCrtListFileWithBody(ctx context.Context, name string, params *ReplaceStorageSSLCrtListFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceStorageSSLCrtListFileWithTextBody

func (c *Client) ReplaceStorageSSLCrtListFileWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCrtListFileParams, body ReplaceStorageSSLCrtListFileTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCaFileWithBody

func (c *Client) SetCaFileWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ShowRuntimeMap

func (c *Client) ShowRuntimeMap(ctx context.Context, parentName ParentName, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetHAProxyConfiguration request
	GetHAProxyConfiguration(ctx context.Context, params *GetHAProxyConfigurationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHAProxyConfigurationWithBody request with any body
	PostHAProxyConfigurationWithBody(ctx context.Context, params *PostHAProxyConfigurationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostHAProxyConfigurationWithTextBody(ctx context.Context, params *PostHAProxyConfigurationParams, body PostHAProxyConfigurationTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConfigurationVersion request
	GetConfigurationVersion(ctx context.Context, params *GetConfigurationVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReload request
	GetReload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShowRuntimeMap request
	ShowRuntimeMap(ctx context.Context, parentName ParentName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddMapEntryWithBody request with any body
	AddMapEntryWithBody(ctx context.Context, parentName ParentName, params *AddMapEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddMapEntry(ctx context.Context, parentName ParentName, params *AddMapEntryParams, body AddMapEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRuntimeMapEntry request
	DeleteRuntimeMapEntry(ctx context.Context, parentName ParentName, id string, params *DeleteRuntimeMapEntryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceRuntimeMapEntryWithBody request with any body
	ReplaceRuntimeMapEntryWithBody(ctx context.Context, parentName ParentName, id string, params *ReplaceRuntimeMapEntryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceRuntimeMapEntry(ctx context.Context, parentName ParentName, id string, params *ReplaceRuntimeMapEntryParams, body ReplaceRuntimeMapEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllCaFiles request
	GetAllCaFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCaFileWithBody request with any body
	CreateCaFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCaFile request
	DeleteCaFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCaFile request
	GetCaFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetCaFileWithBody request with any body
	SetCaFileWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddCaEntryWithBody request with any body
	AddCaEntryWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllCerts request
	GetAllCerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceCertWithBody request with any body
	ReplaceCertWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllStorageGeneralFiles request
	GetAllStorageGeneralFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateStorageGeneralFileWithBody request with any body
	CreateStorageGeneralFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStorageGeneralFile request
	DeleteStorageGeneralFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOneStorageGeneralFile request
	GetOneStorageGeneralFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceStorageGeneralFileWithBody request with any body
	ReplaceStorageGeneralFileWithBody(ctx context.Context, name string, params *ReplaceStorageGeneralFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllStorageMapFiles request
	GetAllStorageMapFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateStorageMapFileWithBody request with any body
	CreateStorageMapFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStorageMap request
	DeleteStorageMap(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOneStorageMap request
	GetOneStorageMap(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceStorageMapFileWithBody request with any body
	ReplaceStorageMapFileWithBody(ctx context.Context, name string, params *ReplaceStorageMapFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceStorageMapFileWithTextBody(ctx context.Context, name string, params *ReplaceStorageMapFileParams, body ReplaceStorageMapFileTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllStorageSSLCertificates request
	GetAllStorageSSLCertificates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateStorageSSLCertificateWithBody request with any body
	CreateStorageSSLCertificateWithBody(ctx context.Context, params *CreateStorageSSLCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStorageSSLCertificate request
	DeleteStorageSSLCertificate(ctx context.Context, name string, params *DeleteStorageSSLCertificateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOneStorageSSLCertificate request
	GetOneStorageSSLCertificate(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceStorageSSLCertificateWithBody request with any body
	ReplaceStorageSSLCertificateWithBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceStorageSSLCertificateWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, body ReplaceStorageSSLCertificateTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllStorageSSLCrtListFiles request
	GetAllStorageSSLCrtListFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateStorageSSLCrtListFileWithBody request with any body
	CreateStorageSSLCrtListFileWithBody(ctx context.Context, params *CreateStorageSSLCrtListFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteStorageSSLCrtListFile request
	DeleteStorageSSLCrtListFile(ctx context.Context, name string, params *DeleteStorageSSLCrtListFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOneStorageSSLCrtListFile request
	GetOneStorageSSLCrtListFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceStorageSSLCrtListFileWithBody request with any body
	ReplaceStorageSSLCrtListFileWithBody(ctx context.Context, name string, params *ReplaceStorageSSLCrtListFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceStorageSSLCrtListFileWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCrtListFileParams, body ReplaceStorageSSLCrtListFileTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type CreateCaFileMultipartBody

type CreateCaFileMultipartBody struct {
	// FileUpload CA certificate file
	FileUpload openapi_types.File `json:"file_upload"`
}

CreateCaFileMultipartBody defines parameters for CreateCaFile.

type CreateCaFileMultipartRequestBody

type CreateCaFileMultipartRequestBody CreateCaFileMultipartBody

CreateCaFileMultipartRequestBody defines body for CreateCaFile for multipart/form-data ContentType.

type CreateStorageGeneralFileMultipartBody

type CreateStorageGeneralFileMultipartBody struct {
	// FileUpload General use file content
	FileUpload *openapi_types.File `json:"file_upload,omitempty"`
}

CreateStorageGeneralFileMultipartBody defines parameters for CreateStorageGeneralFile.

type CreateStorageGeneralFileMultipartRequestBody

type CreateStorageGeneralFileMultipartRequestBody CreateStorageGeneralFileMultipartBody

CreateStorageGeneralFileMultipartRequestBody defines body for CreateStorageGeneralFile for multipart/form-data ContentType.

type CreateStorageMapFileMultipartBody

type CreateStorageMapFileMultipartBody struct {
	// FileUpload The map file contents
	FileUpload *openapi_types.File `json:"file_upload,omitempty"`
}

CreateStorageMapFileMultipartBody defines parameters for CreateStorageMapFile.

type CreateStorageMapFileMultipartRequestBody

type CreateStorageMapFileMultipartRequestBody CreateStorageMapFileMultipartBody

CreateStorageMapFileMultipartRequestBody defines body for CreateStorageMapFile for multipart/form-data ContentType.

type CreateStorageSSLCertificateMultipartBody

type CreateStorageSSLCertificateMultipartBody struct {
	// FileUpload The SSL certificate to upload
	FileUpload *openapi_types.File `json:"file_upload,omitempty"`
}

CreateStorageSSLCertificateMultipartBody defines parameters for CreateStorageSSLCertificate.

type CreateStorageSSLCertificateMultipartRequestBody

type CreateStorageSSLCertificateMultipartRequestBody CreateStorageSSLCertificateMultipartBody

CreateStorageSSLCertificateMultipartRequestBody defines body for CreateStorageSSLCertificate for multipart/form-data ContentType.

type CreateStorageSSLCertificateParams

type CreateStorageSSLCertificateParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

CreateStorageSSLCertificateParams defines parameters for CreateStorageSSLCertificate.

type CreateStorageSSLCrtListFileMultipartBody

type CreateStorageSSLCrtListFileMultipartBody struct {
	// FileUpload The certificate list to upload
	FileUpload *openapi_types.File `json:"file_upload,omitempty"`
}

CreateStorageSSLCrtListFileMultipartBody defines parameters for CreateStorageSSLCrtListFile.

type CreateStorageSSLCrtListFileMultipartRequestBody

type CreateStorageSSLCrtListFileMultipartRequestBody CreateStorageSSLCrtListFileMultipartBody

CreateStorageSSLCrtListFileMultipartRequestBody defines body for CreateStorageSSLCrtListFile for multipart/form-data ContentType.

type CreateStorageSSLCrtListFileParams

type CreateStorageSSLCrtListFileParams struct {
	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

CreateStorageSSLCrtListFileParams defines parameters for CreateStorageSSLCrtListFile.

type DefaultError

type DefaultError = Error

DefaultError API Error

type DeleteRuntimeMapEntryParams

type DeleteRuntimeMapEntryParams struct {
	// ForceSync If true, immediately syncs changes to disk
	ForceSync *bool `form:"force_sync,omitempty" json:"force_sync,omitempty"`
}

DeleteRuntimeMapEntryParams defines parameters for DeleteRuntimeMapEntry.

type DeleteStorageSSLCertificateParams

type DeleteStorageSSLCertificateParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

DeleteStorageSSLCertificateParams defines parameters for DeleteStorageSSLCertificate.

type DeleteStorageSSLCrtListFileParams

type DeleteStorageSSLCrtListFileParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

DeleteStorageSSLCrtListFileParams defines parameters for DeleteStorageSSLCrtListFile.

type Error

type Error struct {
	Code                 *int              `json:"code"`
	Message              *string           `json:"message"`
	AdditionalProperties map[string]string `json:"-"`
}

Error API Error

func (Error) Get

func (a Error) Get(fieldName string) (value string, found bool)

Getter for additional properties for Error. Returns the specified element and whether it was found

func (Error) MarshalJSON

func (a Error) MarshalJSON() ([]byte, error)

Override default JSON handling for Error to handle AdditionalProperties

func (*Error) Set

func (a *Error) Set(fieldName string, value string)

Setter for additional properties for Error

func (*Error) UnmarshalJSON

func (a *Error) UnmarshalJSON(b []byte) error

Override default JSON handling for Error to handle AdditionalProperties

type ForceReload

type ForceReload = bool

ForceReload defines model for force_reload.

type GeneralFile

type GeneralFile struct {
	Description *string `json:"description,omitempty"`
	File        *string `json:"file,omitempty"`
	Id          *string `json:"id,omitempty"`

	// Size File size in bytes.
	Size        *int    `json:"size,omitempty"`
	StorageName *string `json:"storage_name,omitempty"`
}

GeneralFile General use file

type GeneralFiles

type GeneralFiles = []GeneralFile

GeneralFiles Array of general use files

type GetConfigurationVersionParams

type GetConfigurationVersionParams struct {
	// TransactionId ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	TransactionId *TransactionId `form:"transaction_id,omitempty" json:"transaction_id,omitempty"`
}

GetConfigurationVersionParams defines parameters for GetConfigurationVersion.

type GetHAProxyConfigurationParams

type GetHAProxyConfigurationParams struct {
	// TransactionId ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	TransactionId *TransactionId `form:"transaction_id,omitempty" json:"transaction_id,omitempty"`

	// Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	Version *Version `form:"version,omitempty" json:"version,omitempty"`
}

GetHAProxyConfigurationParams defines parameters for GetHAProxyConfiguration.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Map

type Map struct {
	Description *string `json:"description,omitempty"`
	File        *string `json:"file,omitempty"`
	Id          *string `json:"id,omitempty"`

	// Size File size in bytes.
	Size        *int    `json:"size,omitempty"`
	StorageName *string `json:"storage_name,omitempty"`
}

Map Map File

type MapEntries

type MapEntries = []MapEntry

MapEntries Entries of one runtime map

type MapEntry

type MapEntry struct {
	Id    *string `json:"id,omitempty"`
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

MapEntry One Map Entry

type Maps

type Maps = []Map

Maps Array of runtime map files

type NotFound

type NotFound = Error

NotFound API Error

type ParentName

type ParentName = string

ParentName defines model for parent_name.

type PostHAProxyConfigurationParams

type PostHAProxyConfigurationParams struct {
	// SkipVersion If set, no version check will be done and the pushed config will be enforced
	SkipVersion *bool `form:"skip_version,omitempty" json:"skip_version,omitempty"`

	// SkipReload If set, no reload will be initiated and runtime actions from X-Runtime-Actions will be applied
	SkipReload *bool `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// OnlyValidate If set, only validates configuration, without applying it
	OnlyValidate *bool `form:"only_validate,omitempty" json:"only_validate,omitempty"`

	// Version Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	Version *Version `form:"version,omitempty" json:"version,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`

	// XRuntimeActions List of Runtime API commands with parameters separated by ';'
	XRuntimeActions *string `json:"X-Runtime-Actions,omitempty"`
}

PostHAProxyConfigurationParams defines parameters for PostHAProxyConfiguration.

type PostHAProxyConfigurationTextBody

type PostHAProxyConfigurationTextBody = string

PostHAProxyConfigurationTextBody defines parameters for PostHAProxyConfiguration.

type PostHAProxyConfigurationTextRequestBody

type PostHAProxyConfigurationTextRequestBody = PostHAProxyConfigurationTextBody

PostHAProxyConfigurationTextRequestBody defines body for PostHAProxyConfiguration for text/plain ContentType.

type Reload

type Reload struct {
	Id              *string       `json:"id,omitempty"`
	ReloadTimestamp *int          `json:"reload_timestamp,omitempty"`
	Response        *string       `json:"response,omitempty"`
	Status          *ReloadStatus `json:"status,omitempty"`
}

Reload HAProxy reload

type ReloadStatus

type ReloadStatus string

ReloadStatus defines model for Reload.Status.

const (
	ReloadStatusFailed     ReloadStatus = "failed"
	ReloadStatusInProgress ReloadStatus = "in_progress"
	ReloadStatusSucceeded  ReloadStatus = "succeeded"
)

Defines values for ReloadStatus.

func (ReloadStatus) Valid

func (e ReloadStatus) Valid() bool

Valid indicates whether the value is a known member of the ReloadStatus enum.

type ReplaceCertMultipartBody

type ReplaceCertMultipartBody struct {
	FileUpload openapi_types.File `json:"file_upload"`
}

ReplaceCertMultipartBody defines parameters for ReplaceCert.

type ReplaceCertMultipartRequestBody

type ReplaceCertMultipartRequestBody ReplaceCertMultipartBody

ReplaceCertMultipartRequestBody defines body for ReplaceCert for multipart/form-data ContentType.

type ReplaceRuntimeMapEntryJSONBody

type ReplaceRuntimeMapEntryJSONBody struct {
	// Value Map value
	Value string `json:"value"`
}

ReplaceRuntimeMapEntryJSONBody defines parameters for ReplaceRuntimeMapEntry.

type ReplaceRuntimeMapEntryJSONRequestBody

type ReplaceRuntimeMapEntryJSONRequestBody ReplaceRuntimeMapEntryJSONBody

ReplaceRuntimeMapEntryJSONRequestBody defines body for ReplaceRuntimeMapEntry for application/json ContentType.

type ReplaceRuntimeMapEntryParams

type ReplaceRuntimeMapEntryParams struct {
	// ForceSync If true, immediately syncs changes to disk
	ForceSync *bool `form:"force_sync,omitempty" json:"force_sync,omitempty"`
}

ReplaceRuntimeMapEntryParams defines parameters for ReplaceRuntimeMapEntry.

type ReplaceStorageGeneralFileMultipartBody

type ReplaceStorageGeneralFileMultipartBody struct {
	// FileUpload General use file content
	FileUpload *openapi_types.File `json:"file_upload,omitempty"`
}

ReplaceStorageGeneralFileMultipartBody defines parameters for ReplaceStorageGeneralFile.

type ReplaceStorageGeneralFileMultipartRequestBody

type ReplaceStorageGeneralFileMultipartRequestBody ReplaceStorageGeneralFileMultipartBody

ReplaceStorageGeneralFileMultipartRequestBody defines body for ReplaceStorageGeneralFile for multipart/form-data ContentType.

type ReplaceStorageGeneralFileParams

type ReplaceStorageGeneralFileParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

ReplaceStorageGeneralFileParams defines parameters for ReplaceStorageGeneralFile.

type ReplaceStorageMapFileParams

type ReplaceStorageMapFileParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

ReplaceStorageMapFileParams defines parameters for ReplaceStorageMapFile.

type ReplaceStorageMapFileTextBody

type ReplaceStorageMapFileTextBody = string

ReplaceStorageMapFileTextBody defines parameters for ReplaceStorageMapFile.

type ReplaceStorageMapFileTextRequestBody

type ReplaceStorageMapFileTextRequestBody = ReplaceStorageMapFileTextBody

ReplaceStorageMapFileTextRequestBody defines body for ReplaceStorageMapFile for text/plain ContentType.

type ReplaceStorageSSLCertificateParams

type ReplaceStorageSSLCertificateParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

ReplaceStorageSSLCertificateParams defines parameters for ReplaceStorageSSLCertificate.

type ReplaceStorageSSLCertificateTextBody

type ReplaceStorageSSLCertificateTextBody = string

ReplaceStorageSSLCertificateTextBody defines parameters for ReplaceStorageSSLCertificate.

type ReplaceStorageSSLCertificateTextRequestBody

type ReplaceStorageSSLCertificateTextRequestBody = ReplaceStorageSSLCertificateTextBody

ReplaceStorageSSLCertificateTextRequestBody defines body for ReplaceStorageSSLCertificate for text/plain ContentType.

type ReplaceStorageSSLCrtListFileParams

type ReplaceStorageSSLCrtListFileParams struct {
	// SkipReload If set, no reload will be initiated after update
	SkipReload *SkipReload `form:"skip_reload,omitempty" json:"skip_reload,omitempty"`

	// ForceReload If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	ForceReload *ForceReload `form:"force_reload,omitempty" json:"force_reload,omitempty"`
}

ReplaceStorageSSLCrtListFileParams defines parameters for ReplaceStorageSSLCrtListFile.

type ReplaceStorageSSLCrtListFileTextBody

type ReplaceStorageSSLCrtListFileTextBody = string

ReplaceStorageSSLCrtListFileTextBody defines parameters for ReplaceStorageSSLCrtListFile.

type ReplaceStorageSSLCrtListFileTextRequestBody

type ReplaceStorageSSLCrtListFileTextRequestBody = ReplaceStorageSSLCrtListFileTextBody

ReplaceStorageSSLCrtListFileTextRequestBody defines body for ReplaceStorageSSLCrtListFile for text/plain ContentType.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SetCaFileMultipartBody

type SetCaFileMultipartBody struct {
	FileUpload openapi_types.File `json:"file_upload"`
}

SetCaFileMultipartBody defines parameters for SetCaFile.

type SetCaFileMultipartRequestBody

type SetCaFileMultipartRequestBody SetCaFileMultipartBody

SetCaFileMultipartRequestBody defines body for SetCaFile for multipart/form-data ContentType.

type SkipReload

type SkipReload = bool

SkipReload defines model for skip_reload.

type SslCaFile

type SslCaFile struct {
	Count       *string `json:"count,omitempty"`
	File        *string `json:"file,omitempty"`
	StorageName *string `json:"storage_name,omitempty"`
}

SslCaFile A file containing one or more SSL/TLS certificates and keys

type SslCaFiles

type SslCaFiles = []SslCaFile

SslCaFiles Array of SSL CA files

type SslCertificate

type SslCertificate struct {
	Algorithm         *string    `json:"algorithm,omitempty"`
	AuthorityKeyId    *string    `json:"authority_key_id,omitempty"`
	ChainIssuer       *string    `json:"chain_issuer,omitempty"`
	ChainSubject      *string    `json:"chain_subject,omitempty"`
	Description       *string    `json:"description,omitempty"`
	Domains           *string    `json:"domains,omitempty"`
	File              *string    `json:"file,omitempty"`
	IpAddresses       *string    `json:"ip_addresses,omitempty"`
	Issuers           *string    `json:"issuers,omitempty"`
	NotAfter          *time.Time `json:"not_after,omitempty"`
	NotBefore         *time.Time `json:"not_before,omitempty"`
	Serial            *string    `json:"serial,omitempty"`
	Sha1FingerPrint   *string    `json:"sha1_finger_print,omitempty"`
	Sha256FingerPrint *string    `json:"sha256_finger_print,omitempty"`

	// Size File size in bytes.
	Size *int `json:"size,omitempty"`

	// Status Only set when using the runtime API.
	Status                  *string `json:"status,omitempty"`
	StorageName             *string `json:"storage_name,omitempty"`
	Subject                 *string `json:"subject,omitempty"`
	SubjectAlternativeNames *string `json:"subject_alternative_names,omitempty"`
	SubjectKeyId            *string `json:"subject_key_id,omitempty"`
}

SslCertificate A file containing one or more SSL/TLS certificates and keys

type SslCertificates

type SslCertificates = []SslCertificate

SslCertificates Array of ssl certificate files

type SslCrtListFile

type SslCrtListFile struct {
	Description *string `json:"description,omitempty"`
	File        *string `json:"file,omitempty"`

	// Size File size in bytes.
	Size        *int    `json:"size,omitempty"`
	StorageName *string `json:"storage_name,omitempty"`
}

SslCrtListFile A file referencing one or more certificates with their configuration.

type SslCrtListFiles

type SslCrtListFiles = []SslCrtListFile

SslCrtListFiles List of SSL certificate list files (crt-list)

type TransactionId

type TransactionId = string

TransactionId defines model for transaction_id.

type Version

type Version = int

Version defines model for version.

Jump to

Keyboard shortcuts

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