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
- func NewAddCaEntryRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddMapEntryRequest(server string, parentName ParentName, params *AddMapEntryParams, ...) (*http.Request, error)
- func NewAddMapEntryRequestWithBody(server string, parentName ParentName, params *AddMapEntryParams, ...) (*http.Request, error)
- func NewCreateCaFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStorageGeneralFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStorageMapFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStorageSSLCertificateRequestWithBody(server string, params *CreateStorageSSLCertificateParams, contentType string, ...) (*http.Request, error)
- func NewCreateStorageSSLCrtListFileRequestWithBody(server string, params *CreateStorageSSLCrtListFileParams, contentType string, ...) (*http.Request, error)
- func NewDeleteCaFileRequest(server string, name string) (*http.Request, error)
- func NewDeleteRuntimeMapEntryRequest(server string, parentName ParentName, id string, ...) (*http.Request, error)
- func NewDeleteStorageGeneralFileRequest(server string, name string) (*http.Request, error)
- func NewDeleteStorageMapRequest(server string, name string) (*http.Request, error)
- func NewDeleteStorageSSLCertificateRequest(server string, name string, params *DeleteStorageSSLCertificateParams) (*http.Request, error)
- func NewDeleteStorageSSLCrtListFileRequest(server string, name string, params *DeleteStorageSSLCrtListFileParams) (*http.Request, error)
- func NewGetAllCaFilesRequest(server string) (*http.Request, error)
- func NewGetAllCertsRequest(server string) (*http.Request, error)
- func NewGetAllStorageGeneralFilesRequest(server string) (*http.Request, error)
- func NewGetAllStorageMapFilesRequest(server string) (*http.Request, error)
- func NewGetAllStorageSSLCertificatesRequest(server string) (*http.Request, error)
- func NewGetAllStorageSSLCrtListFilesRequest(server string) (*http.Request, error)
- func NewGetCaFileRequest(server string, name string) (*http.Request, error)
- func NewGetConfigurationVersionRequest(server string, params *GetConfigurationVersionParams) (*http.Request, error)
- func NewGetHAProxyConfigurationRequest(server string, params *GetHAProxyConfigurationParams) (*http.Request, error)
- func NewGetOneStorageGeneralFileRequest(server string, name string) (*http.Request, error)
- func NewGetOneStorageMapRequest(server string, name string) (*http.Request, error)
- func NewGetOneStorageSSLCertificateRequest(server string, name string) (*http.Request, error)
- func NewGetOneStorageSSLCrtListFileRequest(server string, name string) (*http.Request, error)
- func NewGetReloadRequest(server string, id string) (*http.Request, error)
- func NewPostHAProxyConfigurationRequestWithBody(server string, params *PostHAProxyConfigurationParams, contentType string, ...) (*http.Request, error)
- func NewPostHAProxyConfigurationRequestWithTextBody(server string, params *PostHAProxyConfigurationParams, ...) (*http.Request, error)
- func NewReplaceCertRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceRuntimeMapEntryRequest(server string, parentName ParentName, id string, ...) (*http.Request, error)
- func NewReplaceRuntimeMapEntryRequestWithBody(server string, parentName ParentName, id string, ...) (*http.Request, error)
- func NewReplaceStorageGeneralFileRequestWithBody(server string, name string, params *ReplaceStorageGeneralFileParams, ...) (*http.Request, error)
- func NewReplaceStorageMapFileRequestWithBody(server string, name string, params *ReplaceStorageMapFileParams, ...) (*http.Request, error)
- func NewReplaceStorageMapFileRequestWithTextBody(server string, name string, params *ReplaceStorageMapFileParams, ...) (*http.Request, error)
- func NewReplaceStorageSSLCertificateRequestWithBody(server string, name string, params *ReplaceStorageSSLCertificateParams, ...) (*http.Request, error)
- func NewReplaceStorageSSLCertificateRequestWithTextBody(server string, name string, params *ReplaceStorageSSLCertificateParams, ...) (*http.Request, error)
- func NewReplaceStorageSSLCrtListFileRequestWithBody(server string, name string, params *ReplaceStorageSSLCrtListFileParams, ...) (*http.Request, error)
- func NewReplaceStorageSSLCrtListFileRequestWithTextBody(server string, name string, params *ReplaceStorageSSLCrtListFileParams, ...) (*http.Request, error)
- func NewSetCaFileRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewShowRuntimeMapRequest(server string, parentName ParentName) (*http.Request, error)
- type AddCaEntryMultipartBody
- type AddCaEntryMultipartRequestBody
- type AddMapEntryJSONRequestBody
- type AddMapEntryParams
- type AlreadyExists
- type BadRequest
- type Client
- func (c *Client) AddCaEntryWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddMapEntry(ctx context.Context, parentName ParentName, params *AddMapEntryParams, ...) (*http.Response, error)
- func (c *Client) AddMapEntryWithBody(ctx context.Context, parentName ParentName, params *AddMapEntryParams, ...) (*http.Response, error)
- func (c *Client) CreateCaFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStorageGeneralFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStorageMapFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStorageSSLCertificateWithBody(ctx context.Context, params *CreateStorageSSLCertificateParams, ...) (*http.Response, error)
- func (c *Client) CreateStorageSSLCrtListFileWithBody(ctx context.Context, params *CreateStorageSSLCrtListFileParams, ...) (*http.Response, error)
- func (c *Client) DeleteCaFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRuntimeMapEntry(ctx context.Context, parentName ParentName, id string, ...) (*http.Response, error)
- func (c *Client) DeleteStorageGeneralFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStorageMap(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStorageSSLCertificate(ctx context.Context, name string, params *DeleteStorageSSLCertificateParams, ...) (*http.Response, error)
- func (c *Client) DeleteStorageSSLCrtListFile(ctx context.Context, name string, params *DeleteStorageSSLCrtListFileParams, ...) (*http.Response, error)
- func (c *Client) GetAllCaFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllCerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllStorageGeneralFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllStorageMapFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllStorageSSLCertificates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllStorageSSLCrtListFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCaFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfigurationVersion(ctx context.Context, params *GetConfigurationVersionParams, ...) (*http.Response, error)
- func (c *Client) GetHAProxyConfiguration(ctx context.Context, params *GetHAProxyConfigurationParams, ...) (*http.Response, error)
- func (c *Client) GetOneStorageGeneralFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOneStorageMap(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOneStorageSSLCertificate(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOneStorageSSLCrtListFile(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetReload(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostHAProxyConfigurationWithBody(ctx context.Context, params *PostHAProxyConfigurationParams, ...) (*http.Response, error)
- func (c *Client) PostHAProxyConfigurationWithTextBody(ctx context.Context, params *PostHAProxyConfigurationParams, ...) (*http.Response, error)
- func (c *Client) ReplaceCertWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceRuntimeMapEntry(ctx context.Context, parentName ParentName, id string, ...) (*http.Response, error)
- func (c *Client) ReplaceRuntimeMapEntryWithBody(ctx context.Context, parentName ParentName, id string, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageGeneralFileWithBody(ctx context.Context, name string, params *ReplaceStorageGeneralFileParams, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageMapFileWithBody(ctx context.Context, name string, params *ReplaceStorageMapFileParams, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageMapFileWithTextBody(ctx context.Context, name string, params *ReplaceStorageMapFileParams, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageSSLCertificateWithBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageSSLCertificateWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageSSLCrtListFileWithBody(ctx context.Context, name string, params *ReplaceStorageSSLCrtListFileParams, ...) (*http.Response, error)
- func (c *Client) ReplaceStorageSSLCrtListFileWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCrtListFileParams, ...) (*http.Response, error)
- func (c *Client) SetCaFileWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ShowRuntimeMap(ctx context.Context, parentName ParentName, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type CreateCaFileMultipartBody
- type CreateCaFileMultipartRequestBody
- type CreateStorageGeneralFileMultipartBody
- type CreateStorageGeneralFileMultipartRequestBody
- type CreateStorageMapFileMultipartBody
- type CreateStorageMapFileMultipartRequestBody
- type CreateStorageSSLCertificateMultipartBody
- type CreateStorageSSLCertificateMultipartRequestBody
- type CreateStorageSSLCertificateParams
- type CreateStorageSSLCrtListFileMultipartBody
- type CreateStorageSSLCrtListFileMultipartRequestBody
- type CreateStorageSSLCrtListFileParams
- type DefaultError
- type DeleteRuntimeMapEntryParams
- type DeleteStorageSSLCertificateParams
- type DeleteStorageSSLCrtListFileParams
- type Error
- type ForceReload
- type GeneralFile
- type GeneralFiles
- type GetConfigurationVersionParams
- type GetHAProxyConfigurationParams
- type HttpRequestDoer
- type Map
- type MapEntries
- type MapEntry
- type Maps
- type NotFound
- type ParentName
- type PostHAProxyConfigurationParams
- type PostHAProxyConfigurationTextBody
- type PostHAProxyConfigurationTextRequestBody
- type Reload
- type ReloadStatus
- type ReplaceCertMultipartBody
- type ReplaceCertMultipartRequestBody
- type ReplaceRuntimeMapEntryJSONBody
- type ReplaceRuntimeMapEntryJSONRequestBody
- type ReplaceRuntimeMapEntryParams
- type ReplaceStorageGeneralFileMultipartBody
- type ReplaceStorageGeneralFileMultipartRequestBody
- type ReplaceStorageGeneralFileParams
- type ReplaceStorageMapFileParams
- type ReplaceStorageMapFileTextBody
- type ReplaceStorageMapFileTextRequestBody
- type ReplaceStorageSSLCertificateParams
- type ReplaceStorageSSLCertificateTextBody
- type ReplaceStorageSSLCertificateTextRequestBody
- type ReplaceStorageSSLCrtListFileParams
- type ReplaceStorageSSLCrtListFileTextBody
- type ReplaceStorageSSLCrtListFileTextRequestBody
- type RequestEditorFn
- type SetCaFileMultipartBody
- type SetCaFileMultipartRequestBody
- type SkipReload
- type SslCaFile
- type SslCaFiles
- type SslCertificate
- type SslCertificates
- type SslCrtListFile
- type SslCrtListFiles
- type TransactionId
- type Version
Constants ¶
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 ¶
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 ¶
NewDeleteStorageGeneralFileRequest generates requests for DeleteStorageGeneralFile
func NewDeleteStorageMapRequest ¶
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 ¶
NewGetAllCaFilesRequest generates requests for GetAllCaFiles
func NewGetAllCertsRequest ¶
NewGetAllCertsRequest generates requests for GetAllCerts
func NewGetAllStorageGeneralFilesRequest ¶
NewGetAllStorageGeneralFilesRequest generates requests for GetAllStorageGeneralFiles
func NewGetAllStorageMapFilesRequest ¶
NewGetAllStorageMapFilesRequest generates requests for GetAllStorageMapFiles
func NewGetAllStorageSSLCertificatesRequest ¶
NewGetAllStorageSSLCertificatesRequest generates requests for GetAllStorageSSLCertificates
func NewGetAllStorageSSLCrtListFilesRequest ¶
NewGetAllStorageSSLCrtListFilesRequest generates requests for GetAllStorageSSLCrtListFiles
func NewGetCaFileRequest ¶
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 ¶
NewGetOneStorageGeneralFileRequest generates requests for GetOneStorageGeneralFile
func NewGetOneStorageMapRequest ¶
NewGetOneStorageMapRequest generates requests for GetOneStorageMap
func NewGetOneStorageSSLCertificateRequest ¶
NewGetOneStorageSSLCertificateRequest generates requests for GetOneStorageSSLCertificate
func NewGetOneStorageSSLCrtListFileRequest ¶
NewGetOneStorageSSLCrtListFileRequest generates requests for GetOneStorageSSLCrtListFile
func NewGetReloadRequest ¶
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 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 (*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 (*Client) CreateStorageGeneralFileWithBody ¶
func (*Client) CreateStorageMapFileWithBody ¶
func (*Client) CreateStorageSSLCertificateWithBody ¶
func (*Client) CreateStorageSSLCrtListFileWithBody ¶
func (*Client) DeleteCaFile ¶
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 (*Client) DeleteStorageMap ¶
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 (*Client) GetAllCerts ¶
func (*Client) GetAllStorageGeneralFiles ¶
func (*Client) GetAllStorageMapFiles ¶
func (*Client) GetAllStorageSSLCertificates ¶
func (*Client) GetAllStorageSSLCrtListFiles ¶
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 (*Client) GetOneStorageMap ¶
func (*Client) GetOneStorageSSLCertificate ¶
func (*Client) GetOneStorageSSLCrtListFile ¶
func (*Client) PostHAProxyConfigurationWithBody ¶
func (*Client) PostHAProxyConfigurationWithTextBody ¶
func (c *Client) PostHAProxyConfigurationWithTextBody(ctx context.Context, params *PostHAProxyConfigurationParams, body PostHAProxyConfigurationTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReplaceCertWithBody ¶
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 (*Client) ReplaceStorageMapFileWithBody ¶
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 (*Client) ReplaceStorageSSLCertificateWithTextBody ¶
func (c *Client) ReplaceStorageSSLCertificateWithTextBody(ctx context.Context, name string, params *ReplaceStorageSSLCertificateParams, body ReplaceStorageSSLCertificateTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReplaceStorageSSLCrtListFileWithBody ¶
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 (*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 ¶
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 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 ¶
Getter for additional properties for Error. Returns the specified element and whether it was found
func (Error) MarshalJSON ¶
Override default JSON handling for Error to handle AdditionalProperties
func (*Error) UnmarshalJSON ¶
Override default JSON handling for Error to handle AdditionalProperties
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 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 ¶
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 MapEntry ¶
type MapEntry struct {
Id *string `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
}
MapEntry One Map Entry
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 ¶
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 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 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)