platformsecurityapi

package
v0.44.30 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for platformsecurityapi API

func (*Client) GetPlatformSecuritySigningKeysSigningkeyID

func (a *Client) GetPlatformSecuritySigningKeysSigningkeyID(params *GetPlatformSecuritySigningKeysSigningkeyIDParams) (*GetPlatformSecuritySigningKeysSigningkeyIDOK, error)

GetPlatformSecuritySigningKeysSigningkeyID fetches a signing key

func (*Client) PostPlatformSecuritySigningKeys

func (a *Client) PostPlatformSecuritySigningKeys(params *PostPlatformSecuritySigningKeysParams) (*PostPlatformSecuritySigningKeysCreated, error)

PostPlatformSecuritySigningKeys creates a signing key pair

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetPlatformSecuritySigningKeysSigningkeyID(params *GetPlatformSecuritySigningKeysSigningkeyIDParams) (*GetPlatformSecuritySigningKeysSigningkeyIDOK, error)

	PostPlatformSecuritySigningKeys(params *PostPlatformSecuritySigningKeysParams) (*PostPlatformSecuritySigningKeysCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new platformsecurityapi API client.

type GetPlatformSecuritySigningKeysSigningkeyIDBadRequest

type GetPlatformSecuritySigningKeysSigningkeyIDBadRequest struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDBadRequest handles this case with default header values.

Bad Request

func NewGetPlatformSecuritySigningKeysSigningkeyIDBadRequest

func NewGetPlatformSecuritySigningKeysSigningkeyIDBadRequest() *GetPlatformSecuritySigningKeysSigningkeyIDBadRequest

NewGetPlatformSecuritySigningKeysSigningkeyIDBadRequest creates a GetPlatformSecuritySigningKeysSigningkeyIDBadRequest with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDBadRequest) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDBadRequest) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDConflict

type GetPlatformSecuritySigningKeysSigningkeyIDConflict struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDConflict handles this case with default header values.

Conflict

func NewGetPlatformSecuritySigningKeysSigningkeyIDConflict

func NewGetPlatformSecuritySigningKeysSigningkeyIDConflict() *GetPlatformSecuritySigningKeysSigningkeyIDConflict

NewGetPlatformSecuritySigningKeysSigningkeyIDConflict creates a GetPlatformSecuritySigningKeysSigningkeyIDConflict with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDConflict) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDConflict) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDForbidden

type GetPlatformSecuritySigningKeysSigningkeyIDForbidden struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDForbidden handles this case with default header values.

Forbidden

func NewGetPlatformSecuritySigningKeysSigningkeyIDForbidden

func NewGetPlatformSecuritySigningKeysSigningkeyIDForbidden() *GetPlatformSecuritySigningKeysSigningkeyIDForbidden

NewGetPlatformSecuritySigningKeysSigningkeyIDForbidden creates a GetPlatformSecuritySigningKeysSigningkeyIDForbidden with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDForbidden) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDForbidden) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError

type GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetPlatformSecuritySigningKeysSigningkeyIDInternalServerError

func NewGetPlatformSecuritySigningKeysSigningkeyIDInternalServerError() *GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError

NewGetPlatformSecuritySigningKeysSigningkeyIDInternalServerError creates a GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDInternalServerError) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDNotFound

type GetPlatformSecuritySigningKeysSigningkeyIDNotFound struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDNotFound handles this case with default header values.

Record not found

func NewGetPlatformSecuritySigningKeysSigningkeyIDNotFound

func NewGetPlatformSecuritySigningKeysSigningkeyIDNotFound() *GetPlatformSecuritySigningKeysSigningkeyIDNotFound

NewGetPlatformSecuritySigningKeysSigningkeyIDNotFound creates a GetPlatformSecuritySigningKeysSigningkeyIDNotFound with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDNotFound) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDNotFound) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDOK

type GetPlatformSecuritySigningKeysSigningkeyIDOK struct {
	Payload *models.SigningKeysResponse
}

GetPlatformSecuritySigningKeysSigningkeyIDOK handles this case with default header values.

signing key response

func NewGetPlatformSecuritySigningKeysSigningkeyIDOK

func NewGetPlatformSecuritySigningKeysSigningkeyIDOK() *GetPlatformSecuritySigningKeysSigningkeyIDOK

NewGetPlatformSecuritySigningKeysSigningkeyIDOK creates a GetPlatformSecuritySigningKeysSigningkeyIDOK with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDOK) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDOK) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDParams

type GetPlatformSecuritySigningKeysSigningkeyIDParams struct {

	/*SigningkeyID
	  Signing Key ID

	*/
	SigningkeyID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPlatformSecuritySigningKeysSigningkeyIDParams contains all the parameters to send to the API endpoint for the get platform security signing keys signingkey ID operation typically these are written to a http.Request

func NewGetPlatformSecuritySigningKeysSigningkeyIDParams

func NewGetPlatformSecuritySigningKeysSigningkeyIDParams() *GetPlatformSecuritySigningKeysSigningkeyIDParams

NewGetPlatformSecuritySigningKeysSigningkeyIDParams creates a new GetPlatformSecuritySigningKeysSigningkeyIDParams object with the default values initialized.

func NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithContext

func NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithContext(ctx context.Context) *GetPlatformSecuritySigningKeysSigningkeyIDParams

NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithContext creates a new GetPlatformSecuritySigningKeysSigningkeyIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithHTTPClient

func NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithHTTPClient(client *http.Client) *GetPlatformSecuritySigningKeysSigningkeyIDParams

NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithHTTPClient creates a new GetPlatformSecuritySigningKeysSigningkeyIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithTimeout

func NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithTimeout(timeout time.Duration) *GetPlatformSecuritySigningKeysSigningkeyIDParams

NewGetPlatformSecuritySigningKeysSigningkeyIDParamsWithTimeout creates a new GetPlatformSecuritySigningKeysSigningkeyIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) SetContext

SetContext adds the context to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) SetSigningkeyID

func (o *GetPlatformSecuritySigningKeysSigningkeyIDParams) SetSigningkeyID(signingkeyID strfmt.UUID)

SetSigningkeyID adds the signingkeyId to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) SetTimeout

SetTimeout adds the timeout to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) WithContext

WithContext adds the context to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) WithSigningkeyID

WithSigningkeyID adds the signingkeyID to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) WithTimeout

WithTimeout adds the timeout to the get platform security signing keys signingkey ID params

func (*GetPlatformSecuritySigningKeysSigningkeyIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlatformSecuritySigningKeysSigningkeyIDReader

type GetPlatformSecuritySigningKeysSigningkeyIDReader struct {
	// contains filtered or unexported fields
}

GetPlatformSecuritySigningKeysSigningkeyIDReader is a Reader for the GetPlatformSecuritySigningKeysSigningkeyID structure.

func (*GetPlatformSecuritySigningKeysSigningkeyIDReader) ReadResponse

func (o *GetPlatformSecuritySigningKeysSigningkeyIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable

type GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewGetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable

func NewGetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable() *GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable

NewGetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable creates a GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDServiceUnavailable) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests

type GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewGetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests

func NewGetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests() *GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests

NewGetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests creates a GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDTooManyRequests) GetPayload

type GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized

type GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized struct {
	Payload *models.APIError
}

GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewGetPlatformSecuritySigningKeysSigningkeyIDUnauthorized

func NewGetPlatformSecuritySigningKeysSigningkeyIDUnauthorized() *GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized

NewGetPlatformSecuritySigningKeysSigningkeyIDUnauthorized creates a GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized with default headers values

func (*GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized) Error

func (*GetPlatformSecuritySigningKeysSigningkeyIDUnauthorized) GetPayload

type PostPlatformSecuritySigningKeysBadRequest

type PostPlatformSecuritySigningKeysBadRequest struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysBadRequest handles this case with default header values.

Bad Request

func NewPostPlatformSecuritySigningKeysBadRequest

func NewPostPlatformSecuritySigningKeysBadRequest() *PostPlatformSecuritySigningKeysBadRequest

NewPostPlatformSecuritySigningKeysBadRequest creates a PostPlatformSecuritySigningKeysBadRequest with default headers values

func (*PostPlatformSecuritySigningKeysBadRequest) Error

func (*PostPlatformSecuritySigningKeysBadRequest) GetPayload

type PostPlatformSecuritySigningKeysConflict

type PostPlatformSecuritySigningKeysConflict struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysConflict handles this case with default header values.

Conflict

func NewPostPlatformSecuritySigningKeysConflict

func NewPostPlatformSecuritySigningKeysConflict() *PostPlatformSecuritySigningKeysConflict

NewPostPlatformSecuritySigningKeysConflict creates a PostPlatformSecuritySigningKeysConflict with default headers values

func (*PostPlatformSecuritySigningKeysConflict) Error

func (*PostPlatformSecuritySigningKeysConflict) GetPayload

type PostPlatformSecuritySigningKeysCreated

type PostPlatformSecuritySigningKeysCreated struct {
	Payload *models.SigningKeysResponse
}

PostPlatformSecuritySigningKeysCreated handles this case with default header values.

creation response

func NewPostPlatformSecuritySigningKeysCreated

func NewPostPlatformSecuritySigningKeysCreated() *PostPlatformSecuritySigningKeysCreated

NewPostPlatformSecuritySigningKeysCreated creates a PostPlatformSecuritySigningKeysCreated with default headers values

func (*PostPlatformSecuritySigningKeysCreated) Error

func (*PostPlatformSecuritySigningKeysCreated) GetPayload

type PostPlatformSecuritySigningKeysForbidden

type PostPlatformSecuritySigningKeysForbidden struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysForbidden handles this case with default header values.

Forbidden

func NewPostPlatformSecuritySigningKeysForbidden

func NewPostPlatformSecuritySigningKeysForbidden() *PostPlatformSecuritySigningKeysForbidden

NewPostPlatformSecuritySigningKeysForbidden creates a PostPlatformSecuritySigningKeysForbidden with default headers values

func (*PostPlatformSecuritySigningKeysForbidden) Error

func (*PostPlatformSecuritySigningKeysForbidden) GetPayload

type PostPlatformSecuritySigningKeysInternalServerError

type PostPlatformSecuritySigningKeysInternalServerError struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysInternalServerError handles this case with default header values.

Internal Server Error

func NewPostPlatformSecuritySigningKeysInternalServerError

func NewPostPlatformSecuritySigningKeysInternalServerError() *PostPlatformSecuritySigningKeysInternalServerError

NewPostPlatformSecuritySigningKeysInternalServerError creates a PostPlatformSecuritySigningKeysInternalServerError with default headers values

func (*PostPlatformSecuritySigningKeysInternalServerError) Error

func (*PostPlatformSecuritySigningKeysInternalServerError) GetPayload

type PostPlatformSecuritySigningKeysNotFound

type PostPlatformSecuritySigningKeysNotFound struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysNotFound handles this case with default header values.

Record not found

func NewPostPlatformSecuritySigningKeysNotFound

func NewPostPlatformSecuritySigningKeysNotFound() *PostPlatformSecuritySigningKeysNotFound

NewPostPlatformSecuritySigningKeysNotFound creates a PostPlatformSecuritySigningKeysNotFound with default headers values

func (*PostPlatformSecuritySigningKeysNotFound) Error

func (*PostPlatformSecuritySigningKeysNotFound) GetPayload

type PostPlatformSecuritySigningKeysParams

type PostPlatformSecuritySigningKeysParams struct {

	/*Data*/
	Data *models.SigningKeysCreation

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostPlatformSecuritySigningKeysParams contains all the parameters to send to the API endpoint for the post platform security signing keys operation typically these are written to a http.Request

func NewPostPlatformSecuritySigningKeysParams

func NewPostPlatformSecuritySigningKeysParams() *PostPlatformSecuritySigningKeysParams

NewPostPlatformSecuritySigningKeysParams creates a new PostPlatformSecuritySigningKeysParams object with the default values initialized.

func NewPostPlatformSecuritySigningKeysParamsWithContext

func NewPostPlatformSecuritySigningKeysParamsWithContext(ctx context.Context) *PostPlatformSecuritySigningKeysParams

NewPostPlatformSecuritySigningKeysParamsWithContext creates a new PostPlatformSecuritySigningKeysParams object with the default values initialized, and the ability to set a context for a request

func NewPostPlatformSecuritySigningKeysParamsWithHTTPClient

func NewPostPlatformSecuritySigningKeysParamsWithHTTPClient(client *http.Client) *PostPlatformSecuritySigningKeysParams

NewPostPlatformSecuritySigningKeysParamsWithHTTPClient creates a new PostPlatformSecuritySigningKeysParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostPlatformSecuritySigningKeysParamsWithTimeout

func NewPostPlatformSecuritySigningKeysParamsWithTimeout(timeout time.Duration) *PostPlatformSecuritySigningKeysParams

NewPostPlatformSecuritySigningKeysParamsWithTimeout creates a new PostPlatformSecuritySigningKeysParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostPlatformSecuritySigningKeysParams) SetContext

SetContext adds the context to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) SetData

SetData adds the data to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) SetHTTPClient

func (o *PostPlatformSecuritySigningKeysParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) SetTimeout

func (o *PostPlatformSecuritySigningKeysParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) WithContext

WithContext adds the context to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) WithData

WithData adds the data to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) WithTimeout

WithTimeout adds the timeout to the post platform security signing keys params

func (*PostPlatformSecuritySigningKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPlatformSecuritySigningKeysReader

type PostPlatformSecuritySigningKeysReader struct {
	// contains filtered or unexported fields
}

PostPlatformSecuritySigningKeysReader is a Reader for the PostPlatformSecuritySigningKeys structure.

func (*PostPlatformSecuritySigningKeysReader) ReadResponse

func (o *PostPlatformSecuritySigningKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostPlatformSecuritySigningKeysServiceUnavailable

type PostPlatformSecuritySigningKeysServiceUnavailable struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysServiceUnavailable handles this case with default header values.

The server is up, but overloaded with requests. Try again later.

func NewPostPlatformSecuritySigningKeysServiceUnavailable

func NewPostPlatformSecuritySigningKeysServiceUnavailable() *PostPlatformSecuritySigningKeysServiceUnavailable

NewPostPlatformSecuritySigningKeysServiceUnavailable creates a PostPlatformSecuritySigningKeysServiceUnavailable with default headers values

func (*PostPlatformSecuritySigningKeysServiceUnavailable) Error

func (*PostPlatformSecuritySigningKeysServiceUnavailable) GetPayload

type PostPlatformSecuritySigningKeysTooManyRequests

type PostPlatformSecuritySigningKeysTooManyRequests struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysTooManyRequests handles this case with default header values.

The request cannot be served due to the application’s rate limit

func NewPostPlatformSecuritySigningKeysTooManyRequests

func NewPostPlatformSecuritySigningKeysTooManyRequests() *PostPlatformSecuritySigningKeysTooManyRequests

NewPostPlatformSecuritySigningKeysTooManyRequests creates a PostPlatformSecuritySigningKeysTooManyRequests with default headers values

func (*PostPlatformSecuritySigningKeysTooManyRequests) Error

func (*PostPlatformSecuritySigningKeysTooManyRequests) GetPayload

type PostPlatformSecuritySigningKeysUnauthorized

type PostPlatformSecuritySigningKeysUnauthorized struct {
	Payload *models.APIError
}

PostPlatformSecuritySigningKeysUnauthorized handles this case with default header values.

Authentication credentials were missing or incorrect

func NewPostPlatformSecuritySigningKeysUnauthorized

func NewPostPlatformSecuritySigningKeysUnauthorized() *PostPlatformSecuritySigningKeysUnauthorized

NewPostPlatformSecuritySigningKeysUnauthorized creates a PostPlatformSecuritySigningKeysUnauthorized with default headers values

func (*PostPlatformSecuritySigningKeysUnauthorized) Error

func (*PostPlatformSecuritySigningKeysUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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