Documentation ¶
Index ¶
- func NewDeleteCoreEntitiesRequest(server string, entityEndpoint string) (*http.Request, error)
- func NewDeleteDpClientCertificatesCertIdRequest(server string, certificateId string) (*http.Request, error)
- func NewDeleteNodesNodeIdRequest(server string, nodeId string) (*http.Request, error)
- func NewGetCoreEntitiesRequest(server string, entityEndpoint string) (*http.Request, error)
- func NewGetDpClientCertificatesCertIdRequest(server string, certificateId string) (*http.Request, error)
- func NewGetDpClientCertificatesRequest(server string, params *GetDpClientCertificatesParams) (*http.Request, error)
- func NewGetExpectedConfigHashRequest(server string) (*http.Request, error)
- func NewGetNodesNodeIdRequest(server string, nodeId string) (*http.Request, error)
- func NewGetNodesRequest(server string, params *GetNodesParams) (*http.Request, error)
- func NewPostCoreEntitiesRequest(server string, entityEndpoint string) (*http.Request, error)
- func NewPostDpClientCertificatesRequest(server string, body PostDpClientCertificatesJSONRequestBody) (*http.Request, error)
- func NewPostDpClientCertificatesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutCoreEntitiesRequest(server string, entityEndpoint string) (*http.Request, error)
- type Client
- func (c *Client) DeleteCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteDpClientCertificatesCertId(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteNodesNodeId(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDpClientCertificates(ctx context.Context, params *GetDpClientCertificatesParams, ...) (*http.Response, error)
- func (c *Client) GetDpClientCertificatesCertId(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExpectedConfigHash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodesNodeId(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostDpClientCertificates(ctx context.Context, body PostDpClientCertificatesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostDpClientCertificatesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*DeleteCoreEntitiesHTTPResponse, error)
- func (c *ClientWithResponses) DeleteDpClientCertificatesCertIdWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*DeleteDpClientCertificatesCertIdHTTPResponse, error)
- func (c *ClientWithResponses) DeleteNodesNodeIdWithResponse(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*DeleteNodesNodeIdHTTPResponse, error)
- func (c *ClientWithResponses) GetCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*GetCoreEntitiesHTTPResponse, error)
- func (c *ClientWithResponses) GetDpClientCertificatesCertIdWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*GetDpClientCertificatesCertIdHTTPResponse, error)
- func (c *ClientWithResponses) GetDpClientCertificatesWithResponse(ctx context.Context, params *GetDpClientCertificatesParams, ...) (*GetDpClientCertificatesHTTPResponse, error)
- func (c *ClientWithResponses) GetExpectedConfigHashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExpectedConfigHashHTTPResponse, error)
- func (c *ClientWithResponses) GetNodesNodeIdWithResponse(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*GetNodesNodeIdHTTPResponse, error)
- func (c *ClientWithResponses) GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesHTTPResponse, error)
- func (c *ClientWithResponses) PostCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*PostCoreEntitiesHTTPResponse, error)
- func (c *ClientWithResponses) PostDpClientCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostDpClientCertificatesHTTPResponse, error)
- func (c *ClientWithResponses) PostDpClientCertificatesWithResponse(ctx context.Context, body PostDpClientCertificatesJSONRequestBody, ...) (*PostDpClientCertificatesHTTPResponse, error)
- func (c *ClientWithResponses) PutCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*PutCoreEntitiesHTTPResponse, error)
- type ClientWithResponsesInterface
- type CreateDpClientCert
- type DeleteCoreEntitiesHTTPResponse
- type DeleteDpClientCertificatesCertIdHTTPResponse
- type DeleteNodesNodeIdHTTPResponse
- type GetCoreEntitiesHTTPResponse
- type GetDpClientCert
- type GetDpClientCertificatesCertIdHTTPResponse
- type GetDpClientCertificatesHTTPResponse
- type GetDpClientCertificatesParams
- type GetExpectedConfigHash
- type GetExpectedConfigHashHTTPResponse
- type GetNode
- type GetNodesHTTPResponse
- type GetNodesNodeIdHTTPResponse
- type GetNodesParams
- type HttpRequestDoer
- type ListDpClientCerts
- type ListNodes
- type PageNumber
- type PageSize
- type PostCoreEntitiesHTTPResponse
- type PostDpClientCertificatesHTTPResponse
- type PostDpClientCertificatesJSONBody
- type PostDpClientCertificatesJSONRequestBody
- type PutCoreEntitiesHTTPResponse
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteCoreEntitiesRequest ¶
NewDeleteCoreEntitiesRequest generates requests for DeleteCoreEntities
func NewDeleteDpClientCertificatesCertIdRequest ¶
func NewDeleteDpClientCertificatesCertIdRequest(server string, certificateId string) (*http.Request, error)
NewDeleteDpClientCertificatesCertIdRequest generates requests for DeleteDpClientCertificatesCertId
func NewDeleteNodesNodeIdRequest ¶
NewDeleteNodesNodeIdRequest generates requests for DeleteNodesNodeId
func NewGetCoreEntitiesRequest ¶
NewGetCoreEntitiesRequest generates requests for GetCoreEntities
func NewGetDpClientCertificatesCertIdRequest ¶
func NewGetDpClientCertificatesCertIdRequest(server string, certificateId string) (*http.Request, error)
NewGetDpClientCertificatesCertIdRequest generates requests for GetDpClientCertificatesCertId
func NewGetDpClientCertificatesRequest ¶
func NewGetDpClientCertificatesRequest(server string, params *GetDpClientCertificatesParams) (*http.Request, error)
NewGetDpClientCertificatesRequest generates requests for GetDpClientCertificates
func NewGetExpectedConfigHashRequest ¶
NewGetExpectedConfigHashRequest generates requests for GetExpectedConfigHash
func NewGetNodesNodeIdRequest ¶
NewGetNodesNodeIdRequest generates requests for GetNodesNodeId
func NewGetNodesRequest ¶
func NewGetNodesRequest(server string, params *GetNodesParams) (*http.Request, error)
NewGetNodesRequest generates requests for GetNodes
func NewPostCoreEntitiesRequest ¶
NewPostCoreEntitiesRequest generates requests for PostCoreEntities
func NewPostDpClientCertificatesRequest ¶
func NewPostDpClientCertificatesRequest(server string, body PostDpClientCertificatesJSONRequestBody) (*http.Request, error)
NewPostDpClientCertificatesRequest calls the generic PostDpClientCertificates builder with application/json body
Types ¶
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) DeleteCoreEntities ¶
func (*Client) DeleteDpClientCertificatesCertId ¶
func (*Client) DeleteNodesNodeId ¶
func (*Client) GetCoreEntities ¶
func (*Client) GetDpClientCertificates ¶
func (c *Client) GetDpClientCertificates(ctx context.Context, params *GetDpClientCertificatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDpClientCertificatesCertId ¶
func (*Client) GetExpectedConfigHash ¶
func (*Client) GetNodes ¶
func (c *Client) GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodesNodeId ¶
func (*Client) PostCoreEntities ¶
func (*Client) PostDpClientCertificates ¶
func (c *Client) PostDpClientCertificates(ctx context.Context, body PostDpClientCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostDpClientCertificatesWithBody ¶
func (*Client) PutCoreEntities ¶
type ClientInterface ¶
type ClientInterface interface { // DeleteCoreEntities request DeleteCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCoreEntities request GetCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCoreEntities request PostCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutCoreEntities request PutCoreEntities(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDpClientCertificates request GetDpClientCertificates(ctx context.Context, params *GetDpClientCertificatesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostDpClientCertificates request with any body PostDpClientCertificatesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostDpClientCertificates(ctx context.Context, body PostDpClientCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteDpClientCertificatesCertId request DeleteDpClientCertificatesCertId(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDpClientCertificatesCertId request GetDpClientCertificatesCertId(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetExpectedConfigHash request GetExpectedConfigHash(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetNodes request GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteNodesNodeId request DeleteNodesNodeId(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetNodesNodeId request GetNodesNodeId(ctx context.Context, nodeId string, 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 ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteCoreEntitiesWithResponse ¶
func (c *ClientWithResponses) DeleteCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*DeleteCoreEntitiesHTTPResponse, error)
DeleteCoreEntitiesWithResponse request returning *DeleteCoreEntitiesHTTPResponse
func (*ClientWithResponses) DeleteDpClientCertificatesCertIdWithResponse ¶
func (c *ClientWithResponses) DeleteDpClientCertificatesCertIdWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*DeleteDpClientCertificatesCertIdHTTPResponse, error)
DeleteDpClientCertificatesCertIdWithResponse request returning *DeleteDpClientCertificatesCertIdHTTPResponse
func (*ClientWithResponses) DeleteNodesNodeIdWithResponse ¶
func (c *ClientWithResponses) DeleteNodesNodeIdWithResponse(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*DeleteNodesNodeIdHTTPResponse, error)
DeleteNodesNodeIdWithResponse request returning *DeleteNodesNodeIdHTTPResponse
func (*ClientWithResponses) GetCoreEntitiesWithResponse ¶
func (c *ClientWithResponses) GetCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*GetCoreEntitiesHTTPResponse, error)
GetCoreEntitiesWithResponse request returning *GetCoreEntitiesHTTPResponse
func (*ClientWithResponses) GetDpClientCertificatesCertIdWithResponse ¶
func (c *ClientWithResponses) GetDpClientCertificatesCertIdWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*GetDpClientCertificatesCertIdHTTPResponse, error)
GetDpClientCertificatesCertIdWithResponse request returning *GetDpClientCertificatesCertIdHTTPResponse
func (*ClientWithResponses) GetDpClientCertificatesWithResponse ¶
func (c *ClientWithResponses) GetDpClientCertificatesWithResponse(ctx context.Context, params *GetDpClientCertificatesParams, reqEditors ...RequestEditorFn) (*GetDpClientCertificatesHTTPResponse, error)
GetDpClientCertificatesWithResponse request returning *GetDpClientCertificatesHTTPResponse
func (*ClientWithResponses) GetExpectedConfigHashWithResponse ¶
func (c *ClientWithResponses) GetExpectedConfigHashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExpectedConfigHashHTTPResponse, error)
GetExpectedConfigHashWithResponse request returning *GetExpectedConfigHashHTTPResponse
func (*ClientWithResponses) GetNodesNodeIdWithResponse ¶
func (c *ClientWithResponses) GetNodesNodeIdWithResponse(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*GetNodesNodeIdHTTPResponse, error)
GetNodesNodeIdWithResponse request returning *GetNodesNodeIdHTTPResponse
func (*ClientWithResponses) GetNodesWithResponse ¶
func (c *ClientWithResponses) GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesHTTPResponse, error)
GetNodesWithResponse request returning *GetNodesHTTPResponse
func (*ClientWithResponses) PostCoreEntitiesWithResponse ¶
func (c *ClientWithResponses) PostCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*PostCoreEntitiesHTTPResponse, error)
PostCoreEntitiesWithResponse request returning *PostCoreEntitiesHTTPResponse
func (*ClientWithResponses) PostDpClientCertificatesWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDpClientCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDpClientCertificatesHTTPResponse, error)
PostDpClientCertificatesWithBodyWithResponse request with arbitrary body returning *PostDpClientCertificatesHTTPResponse
func (*ClientWithResponses) PostDpClientCertificatesWithResponse ¶
func (c *ClientWithResponses) PostDpClientCertificatesWithResponse(ctx context.Context, body PostDpClientCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDpClientCertificatesHTTPResponse, error)
func (*ClientWithResponses) PutCoreEntitiesWithResponse ¶
func (c *ClientWithResponses) PutCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*PutCoreEntitiesHTTPResponse, error)
PutCoreEntitiesWithResponse request returning *PutCoreEntitiesHTTPResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // DeleteCoreEntities request DeleteCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*DeleteCoreEntitiesHTTPResponse, error) // GetCoreEntities request GetCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*GetCoreEntitiesHTTPResponse, error) // PostCoreEntities request PostCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*PostCoreEntitiesHTTPResponse, error) // PutCoreEntities request PutCoreEntitiesWithResponse(ctx context.Context, entityEndpoint string, reqEditors ...RequestEditorFn) (*PutCoreEntitiesHTTPResponse, error) // GetDpClientCertificates request GetDpClientCertificatesWithResponse(ctx context.Context, params *GetDpClientCertificatesParams, reqEditors ...RequestEditorFn) (*GetDpClientCertificatesHTTPResponse, error) // PostDpClientCertificates request with any body PostDpClientCertificatesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDpClientCertificatesHTTPResponse, error) PostDpClientCertificatesWithResponse(ctx context.Context, body PostDpClientCertificatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDpClientCertificatesHTTPResponse, error) // DeleteDpClientCertificatesCertId request DeleteDpClientCertificatesCertIdWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*DeleteDpClientCertificatesCertIdHTTPResponse, error) // GetDpClientCertificatesCertId request GetDpClientCertificatesCertIdWithResponse(ctx context.Context, certificateId string, reqEditors ...RequestEditorFn) (*GetDpClientCertificatesCertIdHTTPResponse, error) // GetExpectedConfigHash request GetExpectedConfigHashWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExpectedConfigHashHTTPResponse, error) // GetNodes request GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesHTTPResponse, error) // DeleteNodesNodeId request DeleteNodesNodeIdWithResponse(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*DeleteNodesNodeIdHTTPResponse, error) // GetNodesNodeId request GetNodesNodeIdWithResponse(ctx context.Context, nodeId string, reqEditors ...RequestEditorFn) (*GetNodesNodeIdHTTPResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateDpClientCert ¶
type CreateDpClientCert struct { // Cert JSON escaped string of the certificate. Cert string `json:"cert"` }
CreateDpClientCert defines model for create-dp-client-cert.
type DeleteCoreEntitiesHTTPResponse ¶
func ParseDeleteCoreEntitiesHTTPResponse ¶
func ParseDeleteCoreEntitiesHTTPResponse(rsp *http.Response) (*DeleteCoreEntitiesHTTPResponse, error)
ParseDeleteCoreEntitiesHTTPResponse parses an HTTP response from a DeleteCoreEntitiesWithResponse call
func (DeleteCoreEntitiesHTTPResponse) Status ¶
func (r DeleteCoreEntitiesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCoreEntitiesHTTPResponse) StatusCode ¶
func (r DeleteCoreEntitiesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDpClientCertificatesCertIdHTTPResponse ¶
type DeleteDpClientCertificatesCertIdHTTPResponse struct { Body []byte HTTPResponse *http.Response }
func ParseDeleteDpClientCertificatesCertIdHTTPResponse ¶
func ParseDeleteDpClientCertificatesCertIdHTTPResponse(rsp *http.Response) (*DeleteDpClientCertificatesCertIdHTTPResponse, error)
ParseDeleteDpClientCertificatesCertIdHTTPResponse parses an HTTP response from a DeleteDpClientCertificatesCertIdWithResponse call
func (DeleteDpClientCertificatesCertIdHTTPResponse) Status ¶
func (r DeleteDpClientCertificatesCertIdHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDpClientCertificatesCertIdHTTPResponse) StatusCode ¶
func (r DeleteDpClientCertificatesCertIdHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodesNodeIdHTTPResponse ¶
func ParseDeleteNodesNodeIdHTTPResponse ¶
func ParseDeleteNodesNodeIdHTTPResponse(rsp *http.Response) (*DeleteNodesNodeIdHTTPResponse, error)
ParseDeleteNodesNodeIdHTTPResponse parses an HTTP response from a DeleteNodesNodeIdWithResponse call
func (DeleteNodesNodeIdHTTPResponse) Status ¶
func (r DeleteNodesNodeIdHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodesNodeIdHTTPResponse) StatusCode ¶
func (r DeleteNodesNodeIdHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCoreEntitiesHTTPResponse ¶
func ParseGetCoreEntitiesHTTPResponse ¶
func ParseGetCoreEntitiesHTTPResponse(rsp *http.Response) (*GetCoreEntitiesHTTPResponse, error)
ParseGetCoreEntitiesHTTPResponse parses an HTTP response from a GetCoreEntitiesWithResponse call
func (GetCoreEntitiesHTTPResponse) Status ¶
func (r GetCoreEntitiesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetCoreEntitiesHTTPResponse) StatusCode ¶
func (r GetCoreEntitiesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDpClientCert ¶
type GetDpClientCert struct { Item *struct { // Cert JSON escaped string of the certificate. Cert *string `json:"cert,omitempty"` // CreatedAt Date certificate was created. CreatedAt *int `json:"created_at,omitempty"` // Id Unique ID of the certificate entity. Id *string `json:"id,omitempty"` // UpdatedAt Date certificate was last updated. UpdatedAt *int `json:"updated_at,omitempty"` } `json:"item,omitempty"` }
GetDpClientCert defines model for get-dp-client-cert.
type GetDpClientCertificatesCertIdHTTPResponse ¶
type GetDpClientCertificatesCertIdHTTPResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Item *struct { // Cert JSON escaped string of the certificate. Cert *string `json:"cert,omitempty"` // CreatedAt Date certificate was created. CreatedAt *int `json:"created_at,omitempty"` // Id Unique ID of the certificate entity. Id *string `json:"id,omitempty"` // UpdatedAt Date certificate was last updated. UpdatedAt *int `json:"updated_at,omitempty"` } `json:"item,omitempty"` } }
func ParseGetDpClientCertificatesCertIdHTTPResponse ¶
func ParseGetDpClientCertificatesCertIdHTTPResponse(rsp *http.Response) (*GetDpClientCertificatesCertIdHTTPResponse, error)
ParseGetDpClientCertificatesCertIdHTTPResponse parses an HTTP response from a GetDpClientCertificatesCertIdWithResponse call
func (GetDpClientCertificatesCertIdHTTPResponse) Status ¶
func (r GetDpClientCertificatesCertIdHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetDpClientCertificatesCertIdHTTPResponse) StatusCode ¶
func (r GetDpClientCertificatesCertIdHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDpClientCertificatesHTTPResponse ¶
type GetDpClientCertificatesHTTPResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Items *[]struct { // Cert JSON escaped string of the certificate. Cert *string `json:"cert,omitempty"` // CreatedAt Date certificate was created. CreatedAt *int `json:"created_at,omitempty"` // Id Unique ID of the certificate entity. Id *string `json:"id,omitempty"` // UpdatedAt Date certificate was last updated. UpdatedAt *int `json:"updated_at,omitempty"` } `json:"items,omitempty"` Page *struct { TotalCount *int `json:"total_count,omitempty"` } `json:"page,omitempty"` } }
func ParseGetDpClientCertificatesHTTPResponse ¶
func ParseGetDpClientCertificatesHTTPResponse(rsp *http.Response) (*GetDpClientCertificatesHTTPResponse, error)
ParseGetDpClientCertificatesHTTPResponse parses an HTTP response from a GetDpClientCertificatesWithResponse call
func (GetDpClientCertificatesHTTPResponse) Status ¶
func (r GetDpClientCertificatesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetDpClientCertificatesHTTPResponse) StatusCode ¶
func (r GetDpClientCertificatesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDpClientCertificatesParams ¶
type GetDpClientCertificatesParams struct { // PageSize The number of items to include in a page. PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"` // PageNumber The specific page number in the collection results. PageNumber *PageNumber `form:"page_number,omitempty" json:"page_number,omitempty"` }
GetDpClientCertificatesParams defines parameters for GetDpClientCertificates.
type GetExpectedConfigHash ¶
type GetExpectedConfigHash struct { // CreatedAt Date the control plane configuration was created. CreatedAt *int `json:"created_at,omitempty"` // ExpectedHash The expected configuration hash. ExpectedHash *string `json:"expected_hash,omitempty"` // UpdatedAt Date the control plane configuration was last updated. UpdatedAt *int `json:"updated_at,omitempty"` }
GetExpectedConfigHash defines model for get-expected-config-hash.
type GetExpectedConfigHashHTTPResponse ¶
type GetExpectedConfigHashHTTPResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { // CreatedAt Date the control plane configuration was created. CreatedAt *int `json:"created_at,omitempty"` // ExpectedHash The expected configuration hash. ExpectedHash *string `json:"expected_hash,omitempty"` // UpdatedAt Date the control plane configuration was last updated. UpdatedAt *int `json:"updated_at,omitempty"` } }
func ParseGetExpectedConfigHashHTTPResponse ¶
func ParseGetExpectedConfigHashHTTPResponse(rsp *http.Response) (*GetExpectedConfigHashHTTPResponse, error)
ParseGetExpectedConfigHashHTTPResponse parses an HTTP response from a GetExpectedConfigHashWithResponse call
func (GetExpectedConfigHashHTTPResponse) Status ¶
func (r GetExpectedConfigHashHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetExpectedConfigHashHTTPResponse) StatusCode ¶
func (r GetExpectedConfigHashHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNode ¶
type GetNode struct { Item *struct { CompatibilityStatus *struct { State *string `json:"state,omitempty"` } `json:"compatibility_status,omitempty"` ConfigHash *string `json:"config_hash,omitempty"` CreatedAt *int `json:"created_at,omitempty"` Hostname *string `json:"hostname,omitempty"` Id *string `json:"id,omitempty"` LastPing *int `json:"last_ping,omitempty"` Type *string `json:"type,omitempty"` UpdatedAt *int `json:"updated_at,omitempty"` Version *string `json:"version,omitempty"` } `json:"item,omitempty"` }
GetNode defines model for get-node.
type GetNodesHTTPResponse ¶
type GetNodesHTTPResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Items *[]struct { CompatibilityStatus *struct { State *string `json:"state,omitempty"` } `json:"compatibility_status,omitempty"` ConfigHash *string `json:"config_hash,omitempty"` CreatedAt *int `json:"created_at,omitempty"` Hostname *string `json:"hostname,omitempty"` Id *string `json:"id,omitempty"` LastPing *int `json:"last_ping,omitempty"` Type *string `json:"type,omitempty"` UpdatedAt *int `json:"updated_at,omitempty"` Version *string `json:"version,omitempty"` } `json:"items,omitempty"` Page *struct { TotalCount *int `json:"total_count,omitempty"` } `json:"page,omitempty"` } }
func ParseGetNodesHTTPResponse ¶
func ParseGetNodesHTTPResponse(rsp *http.Response) (*GetNodesHTTPResponse, error)
ParseGetNodesHTTPResponse parses an HTTP response from a GetNodesWithResponse call
func (GetNodesHTTPResponse) Status ¶
func (r GetNodesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodesHTTPResponse) StatusCode ¶
func (r GetNodesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodesNodeIdHTTPResponse ¶
type GetNodesNodeIdHTTPResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Item *struct { CompatibilityStatus *struct { State *string `json:"state,omitempty"` } `json:"compatibility_status,omitempty"` ConfigHash *string `json:"config_hash,omitempty"` CreatedAt *int `json:"created_at,omitempty"` Hostname *string `json:"hostname,omitempty"` Id *string `json:"id,omitempty"` LastPing *int `json:"last_ping,omitempty"` Type *string `json:"type,omitempty"` UpdatedAt *int `json:"updated_at,omitempty"` Version *string `json:"version,omitempty"` } `json:"item,omitempty"` } }
func ParseGetNodesNodeIdHTTPResponse ¶
func ParseGetNodesNodeIdHTTPResponse(rsp *http.Response) (*GetNodesNodeIdHTTPResponse, error)
ParseGetNodesNodeIdHTTPResponse parses an HTTP response from a GetNodesNodeIdWithResponse call
func (GetNodesNodeIdHTTPResponse) Status ¶
func (r GetNodesNodeIdHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodesNodeIdHTTPResponse) StatusCode ¶
func (r GetNodesNodeIdHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodesParams ¶
type GetNodesParams struct { // PageSize The number of items to include in a page. PageSize *PageSize `form:"page_size,omitempty" json:"page_size,omitempty"` // PageNumber The specific page number in the collection results. PageNumber *PageNumber `form:"page_number,omitempty" json:"page_number,omitempty"` }
GetNodesParams defines parameters for GetNodes.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListDpClientCerts ¶
type ListDpClientCerts struct { Items *[]struct { // Cert JSON escaped string of the certificate. Cert *string `json:"cert,omitempty"` // CreatedAt Date certificate was created. CreatedAt *int `json:"created_at,omitempty"` // Id Unique ID of the certificate entity. Id *string `json:"id,omitempty"` // UpdatedAt Date certificate was last updated. UpdatedAt *int `json:"updated_at,omitempty"` } `json:"items,omitempty"` Page *struct { TotalCount *int `json:"total_count,omitempty"` } `json:"page,omitempty"` }
ListDpClientCerts defines model for list-dp-client-certs.
type ListNodes ¶
type ListNodes struct { Items *[]struct { CompatibilityStatus *struct { State *string `json:"state,omitempty"` } `json:"compatibility_status,omitempty"` ConfigHash *string `json:"config_hash,omitempty"` CreatedAt *int `json:"created_at,omitempty"` Hostname *string `json:"hostname,omitempty"` Id *string `json:"id,omitempty"` LastPing *int `json:"last_ping,omitempty"` Type *string `json:"type,omitempty"` UpdatedAt *int `json:"updated_at,omitempty"` Version *string `json:"version,omitempty"` } `json:"items,omitempty"` Page *struct { TotalCount *int `json:"total_count,omitempty"` } `json:"page,omitempty"` }
ListNodes defines model for list-nodes.
type PostCoreEntitiesHTTPResponse ¶
func ParsePostCoreEntitiesHTTPResponse ¶
func ParsePostCoreEntitiesHTTPResponse(rsp *http.Response) (*PostCoreEntitiesHTTPResponse, error)
ParsePostCoreEntitiesHTTPResponse parses an HTTP response from a PostCoreEntitiesWithResponse call
func (PostCoreEntitiesHTTPResponse) Status ¶
func (r PostCoreEntitiesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (PostCoreEntitiesHTTPResponse) StatusCode ¶
func (r PostCoreEntitiesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDpClientCertificatesHTTPResponse ¶
type PostDpClientCertificatesHTTPResponse struct { Body []byte HTTPResponse *http.Response JSON201 *struct { Item *struct { // Cert JSON escaped string of the certificate. Cert *string `json:"cert,omitempty"` // CreatedAt Date certificate was created. CreatedAt *int `json:"created_at,omitempty"` // Id Unique ID of the certificate entity. Id *string `json:"id,omitempty"` // UpdatedAt Date certificate was last updated. UpdatedAt *int `json:"updated_at,omitempty"` } `json:"item,omitempty"` } }
func ParsePostDpClientCertificatesHTTPResponse ¶
func ParsePostDpClientCertificatesHTTPResponse(rsp *http.Response) (*PostDpClientCertificatesHTTPResponse, error)
ParsePostDpClientCertificatesHTTPResponse parses an HTTP response from a PostDpClientCertificatesWithResponse call
func (PostDpClientCertificatesHTTPResponse) Status ¶
func (r PostDpClientCertificatesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (PostDpClientCertificatesHTTPResponse) StatusCode ¶
func (r PostDpClientCertificatesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDpClientCertificatesJSONBody ¶
type PostDpClientCertificatesJSONBody struct { // Cert JSON escaped string of the certificate. Cert string `json:"cert"` }
PostDpClientCertificatesJSONBody defines parameters for PostDpClientCertificates.
type PostDpClientCertificatesJSONRequestBody ¶
type PostDpClientCertificatesJSONRequestBody PostDpClientCertificatesJSONBody
PostDpClientCertificatesJSONRequestBody defines body for PostDpClientCertificates for application/json ContentType.
type PutCoreEntitiesHTTPResponse ¶
func ParsePutCoreEntitiesHTTPResponse ¶
func ParsePutCoreEntitiesHTTPResponse(rsp *http.Response) (*PutCoreEntitiesHTTPResponse, error)
ParsePutCoreEntitiesHTTPResponse parses an HTTP response from a PutCoreEntitiesWithResponse call
func (PutCoreEntitiesHTTPResponse) Status ¶
func (r PutCoreEntitiesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (PutCoreEntitiesHTTPResponse) StatusCode ¶
func (r PutCoreEntitiesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode