Help us shape the future of Go! Take the 2026 Go Developer Survey

platformsecurityapi

package
v7.2.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 11 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for platformsecurityapi API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client

New creates a new platformsecurityapi API client.

func (*Client) GetSigningKey

func (c *Client) GetSigningKey() *GetSigningKeyRequest

Client.GetSigningKey creates a new GetSigningKeyRequest object with the default values initialized.

func (*Client) ListSigningKeys

func (c *Client) ListSigningKeys() *ListSigningKeysRequest

Client.ListSigningKeys creates a new ListSigningKeysRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetSigningKeyBadGateway

type GetSigningKeyBadGateway struct {

	// isStream: false
	*models.APIError
}

GetSigningKeyBadGateway handles this case with default header values.

Bad gateway

func NewGetSigningKeyBadGateway

func NewGetSigningKeyBadGateway() *GetSigningKeyBadGateway

NewGetSigningKeyBadGateway creates a GetSigningKeyBadGateway with default headers values

func (*GetSigningKeyBadGateway) Code

func (o *GetSigningKeyBadGateway) Code() int

Code gets the status code for the get signing key bad gateway response

func (*GetSigningKeyBadGateway) Error

func (o *GetSigningKeyBadGateway) Error() string

func (*GetSigningKeyBadGateway) IsClientError

func (o *GetSigningKeyBadGateway) IsClientError() bool

IsClientError returns true when this get signing key bad gateway response has a 4xx status code

func (*GetSigningKeyBadGateway) IsCode

func (o *GetSigningKeyBadGateway) IsCode(code int) bool

IsCode returns true when this get signing key bad gateway response a status code equal to that given

func (*GetSigningKeyBadGateway) IsRedirect

func (o *GetSigningKeyBadGateway) IsRedirect() bool

IsRedirect returns true when this get signing key bad gateway response has a 3xx status code

func (*GetSigningKeyBadGateway) IsServerError

func (o *GetSigningKeyBadGateway) IsServerError() bool

IsServerError returns true when this get signing key bad gateway response has a 5xx status code

func (*GetSigningKeyBadGateway) IsSuccess

func (o *GetSigningKeyBadGateway) IsSuccess() bool

IsSuccess returns true when this get signing key bad gateway response has a 2xx status code

type GetSigningKeyBadRequest

type GetSigningKeyBadRequest struct {

	// isStream: false
	*models.APIError
}

GetSigningKeyBadRequest handles this case with default header values.

Bad request

func NewGetSigningKeyBadRequest

func NewGetSigningKeyBadRequest() *GetSigningKeyBadRequest

NewGetSigningKeyBadRequest creates a GetSigningKeyBadRequest with default headers values

func (*GetSigningKeyBadRequest) Code

func (o *GetSigningKeyBadRequest) Code() int

Code gets the status code for the get signing key bad request response

func (*GetSigningKeyBadRequest) Error

func (o *GetSigningKeyBadRequest) Error() string

func (*GetSigningKeyBadRequest) IsClientError

func (o *GetSigningKeyBadRequest) IsClientError() bool

IsClientError returns true when this get signing key bad request response has a 4xx status code

func (*GetSigningKeyBadRequest) IsCode

func (o *GetSigningKeyBadRequest) IsCode(code int) bool

IsCode returns true when this get signing key bad request response a status code equal to that given

func (*GetSigningKeyBadRequest) IsRedirect

func (o *GetSigningKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this get signing key bad request response has a 3xx status code

func (*GetSigningKeyBadRequest) IsServerError

func (o *GetSigningKeyBadRequest) IsServerError() bool

IsServerError returns true when this get signing key bad request response has a 5xx status code

func (*GetSigningKeyBadRequest) IsSuccess

func (o *GetSigningKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this get signing key bad request response has a 2xx status code

type GetSigningKeyDefault

type GetSigningKeyDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

GetSigningKeyDefault handles this case with default header values.

Default response

func NewGetSigningKeyDefault

func NewGetSigningKeyDefault(code int) *GetSigningKeyDefault

NewGetSigningKeyDefault creates a GetSigningKeyDefault with default headers values

func (*GetSigningKeyDefault) Code

func (o *GetSigningKeyDefault) Code() int

Code gets the status code for the get signing key default response

func (*GetSigningKeyDefault) Error

func (o *GetSigningKeyDefault) Error() string

func (*GetSigningKeyDefault) IsClientError

func (o *GetSigningKeyDefault) IsClientError() bool

IsClientError returns true when this get signing key default response has a 4xx status code

func (*GetSigningKeyDefault) IsCode

func (o *GetSigningKeyDefault) IsCode(code int) bool

IsCode returns true when this get signing key default response a status code equal to that given

func (*GetSigningKeyDefault) IsRedirect

func (o *GetSigningKeyDefault) IsRedirect() bool

IsRedirect returns true when this get signing key default response has a 3xx status code

func (*GetSigningKeyDefault) IsServerError

func (o *GetSigningKeyDefault) IsServerError() bool

IsServerError returns true when this get signing key default response has a 5xx status code

func (*GetSigningKeyDefault) IsSuccess

func (o *GetSigningKeyDefault) IsSuccess() bool

IsSuccess returns true when this get signing key default response has a 2xx status code

type GetSigningKeyForbidden

type GetSigningKeyForbidden struct {

	// isStream: false
	*models.APIError
}

GetSigningKeyForbidden handles this case with default header values.

Forbidden

func NewGetSigningKeyForbidden

func NewGetSigningKeyForbidden() *GetSigningKeyForbidden

NewGetSigningKeyForbidden creates a GetSigningKeyForbidden with default headers values

func (*GetSigningKeyForbidden) Code

func (o *GetSigningKeyForbidden) Code() int

Code gets the status code for the get signing key forbidden response

func (*GetSigningKeyForbidden) Error

func (o *GetSigningKeyForbidden) Error() string

func (*GetSigningKeyForbidden) IsClientError

func (o *GetSigningKeyForbidden) IsClientError() bool

IsClientError returns true when this get signing key forbidden response has a 4xx status code

func (*GetSigningKeyForbidden) IsCode

func (o *GetSigningKeyForbidden) IsCode(code int) bool

IsCode returns true when this get signing key forbidden response a status code equal to that given

func (*GetSigningKeyForbidden) IsRedirect

func (o *GetSigningKeyForbidden) IsRedirect() bool

IsRedirect returns true when this get signing key forbidden response has a 3xx status code

func (*GetSigningKeyForbidden) IsServerError

func (o *GetSigningKeyForbidden) IsServerError() bool

IsServerError returns true when this get signing key forbidden response has a 5xx status code

func (*GetSigningKeyForbidden) IsSuccess

func (o *GetSigningKeyForbidden) IsSuccess() bool

IsSuccess returns true when this get signing key forbidden response has a 2xx status code

type GetSigningKeyNotFound

type GetSigningKeyNotFound struct {

	// isStream: false
	*models.APIError
}

GetSigningKeyNotFound handles this case with default header values.

Not found

func NewGetSigningKeyNotFound

func NewGetSigningKeyNotFound() *GetSigningKeyNotFound

NewGetSigningKeyNotFound creates a GetSigningKeyNotFound with default headers values

func (*GetSigningKeyNotFound) Code

func (o *GetSigningKeyNotFound) Code() int

Code gets the status code for the get signing key not found response

func (*GetSigningKeyNotFound) Error

func (o *GetSigningKeyNotFound) Error() string

func (*GetSigningKeyNotFound) IsClientError

func (o *GetSigningKeyNotFound) IsClientError() bool

IsClientError returns true when this get signing key not found response has a 4xx status code

func (*GetSigningKeyNotFound) IsCode

func (o *GetSigningKeyNotFound) IsCode(code int) bool

IsCode returns true when this get signing key not found response a status code equal to that given

func (*GetSigningKeyNotFound) IsRedirect

func (o *GetSigningKeyNotFound) IsRedirect() bool

IsRedirect returns true when this get signing key not found response has a 3xx status code

func (*GetSigningKeyNotFound) IsServerError

func (o *GetSigningKeyNotFound) IsServerError() bool

IsServerError returns true when this get signing key not found response has a 5xx status code

func (*GetSigningKeyNotFound) IsSuccess

func (o *GetSigningKeyNotFound) IsSuccess() bool

IsSuccess returns true when this get signing key not found response has a 2xx status code

type GetSigningKeyOK

type GetSigningKeyOK struct {

	// isStream: false
	*models.SigningKeysResponse
}

GetSigningKeyOK handles this case with default header values.

signing key response

func NewGetSigningKeyOK

func NewGetSigningKeyOK() *GetSigningKeyOK

NewGetSigningKeyOK creates a GetSigningKeyOK with default headers values

func (*GetSigningKeyOK) Code

func (o *GetSigningKeyOK) Code() int

Code gets the status code for the get signing key o k response

func (*GetSigningKeyOK) Error

func (o *GetSigningKeyOK) Error() string

func (*GetSigningKeyOK) IsClientError

func (o *GetSigningKeyOK) IsClientError() bool

IsClientError returns true when this get signing key o k response has a 4xx status code

func (*GetSigningKeyOK) IsCode

func (o *GetSigningKeyOK) IsCode(code int) bool

IsCode returns true when this get signing key o k response a status code equal to that given

func (*GetSigningKeyOK) IsRedirect

func (o *GetSigningKeyOK) IsRedirect() bool

IsRedirect returns true when this get signing key o k response has a 3xx status code

func (*GetSigningKeyOK) IsServerError

func (o *GetSigningKeyOK) IsServerError() bool

IsServerError returns true when this get signing key o k response has a 5xx status code

func (*GetSigningKeyOK) IsSuccess

func (o *GetSigningKeyOK) IsSuccess() bool

IsSuccess returns true when this get signing key o k response has a 2xx status code

type GetSigningKeyReader

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

GetSigningKeyReader is a Reader for the GetSigningKey structure.

func (*GetSigningKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSigningKeyRequest

type GetSigningKeyRequest struct {
	SigningkeyID strfmt.UUID

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

func (*GetSigningKeyRequest) Do

get signing key API

func (*GetSigningKeyRequest) FromJson

func (*GetSigningKeyRequest) MustDo

func (*GetSigningKeyRequest) WithContext

//////////////// WithContext adds the context to the get signing key Request

func (*GetSigningKeyRequest) WithHTTPClient

func (o *GetSigningKeyRequest) WithHTTPClient(client *http.Client) *GetSigningKeyRequest

WithHTTPClient adds the HTTPClient to the get signing key Request

func (*GetSigningKeyRequest) WithSigningkeyID

func (o *GetSigningKeyRequest) WithSigningkeyID(signingkeyID strfmt.UUID) *GetSigningKeyRequest

func (*GetSigningKeyRequest) WriteToRequest

func (o *GetSigningKeyRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these Request to a swagger request

type ListSigningKeysBadGateway

type ListSigningKeysBadGateway struct {

	// isStream: false
	*models.APIError
}

ListSigningKeysBadGateway handles this case with default header values.

Bad gateway

func NewListSigningKeysBadGateway

func NewListSigningKeysBadGateway() *ListSigningKeysBadGateway

NewListSigningKeysBadGateway creates a ListSigningKeysBadGateway with default headers values

func (*ListSigningKeysBadGateway) Code

func (o *ListSigningKeysBadGateway) Code() int

Code gets the status code for the list signing keys bad gateway response

func (*ListSigningKeysBadGateway) Error

func (o *ListSigningKeysBadGateway) Error() string

func (*ListSigningKeysBadGateway) IsClientError

func (o *ListSigningKeysBadGateway) IsClientError() bool

IsClientError returns true when this list signing keys bad gateway response has a 4xx status code

func (*ListSigningKeysBadGateway) IsCode

func (o *ListSigningKeysBadGateway) IsCode(code int) bool

IsCode returns true when this list signing keys bad gateway response a status code equal to that given

func (*ListSigningKeysBadGateway) IsRedirect

func (o *ListSigningKeysBadGateway) IsRedirect() bool

IsRedirect returns true when this list signing keys bad gateway response has a 3xx status code

func (*ListSigningKeysBadGateway) IsServerError

func (o *ListSigningKeysBadGateway) IsServerError() bool

IsServerError returns true when this list signing keys bad gateway response has a 5xx status code

func (*ListSigningKeysBadGateway) IsSuccess

func (o *ListSigningKeysBadGateway) IsSuccess() bool

IsSuccess returns true when this list signing keys bad gateway response has a 2xx status code

type ListSigningKeysBadRequest

type ListSigningKeysBadRequest struct {

	// isStream: false
	*models.APIError
}

ListSigningKeysBadRequest handles this case with default header values.

Bad request

func NewListSigningKeysBadRequest

func NewListSigningKeysBadRequest() *ListSigningKeysBadRequest

NewListSigningKeysBadRequest creates a ListSigningKeysBadRequest with default headers values

func (*ListSigningKeysBadRequest) Code

func (o *ListSigningKeysBadRequest) Code() int

Code gets the status code for the list signing keys bad request response

func (*ListSigningKeysBadRequest) Error

func (o *ListSigningKeysBadRequest) Error() string

func (*ListSigningKeysBadRequest) IsClientError

func (o *ListSigningKeysBadRequest) IsClientError() bool

IsClientError returns true when this list signing keys bad request response has a 4xx status code

func (*ListSigningKeysBadRequest) IsCode

func (o *ListSigningKeysBadRequest) IsCode(code int) bool

IsCode returns true when this list signing keys bad request response a status code equal to that given

func (*ListSigningKeysBadRequest) IsRedirect

func (o *ListSigningKeysBadRequest) IsRedirect() bool

IsRedirect returns true when this list signing keys bad request response has a 3xx status code

func (*ListSigningKeysBadRequest) IsServerError

func (o *ListSigningKeysBadRequest) IsServerError() bool

IsServerError returns true when this list signing keys bad request response has a 5xx status code

func (*ListSigningKeysBadRequest) IsSuccess

func (o *ListSigningKeysBadRequest) IsSuccess() bool

IsSuccess returns true when this list signing keys bad request response has a 2xx status code

type ListSigningKeysDefault

type ListSigningKeysDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

ListSigningKeysDefault handles this case with default header values.

Default response

func NewListSigningKeysDefault

func NewListSigningKeysDefault(code int) *ListSigningKeysDefault

NewListSigningKeysDefault creates a ListSigningKeysDefault with default headers values

func (*ListSigningKeysDefault) Code

func (o *ListSigningKeysDefault) Code() int

Code gets the status code for the list signing keys default response

func (*ListSigningKeysDefault) Error

func (o *ListSigningKeysDefault) Error() string

func (*ListSigningKeysDefault) IsClientError

func (o *ListSigningKeysDefault) IsClientError() bool

IsClientError returns true when this list signing keys default response has a 4xx status code

func (*ListSigningKeysDefault) IsCode

func (o *ListSigningKeysDefault) IsCode(code int) bool

IsCode returns true when this list signing keys default response a status code equal to that given

func (*ListSigningKeysDefault) IsRedirect

func (o *ListSigningKeysDefault) IsRedirect() bool

IsRedirect returns true when this list signing keys default response has a 3xx status code

func (*ListSigningKeysDefault) IsServerError

func (o *ListSigningKeysDefault) IsServerError() bool

IsServerError returns true when this list signing keys default response has a 5xx status code

func (*ListSigningKeysDefault) IsSuccess

func (o *ListSigningKeysDefault) IsSuccess() bool

IsSuccess returns true when this list signing keys default response has a 2xx status code

type ListSigningKeysForbidden

type ListSigningKeysForbidden struct {

	// isStream: false
	*models.APIError
}

ListSigningKeysForbidden handles this case with default header values.

Forbidden

func NewListSigningKeysForbidden

func NewListSigningKeysForbidden() *ListSigningKeysForbidden

NewListSigningKeysForbidden creates a ListSigningKeysForbidden with default headers values

func (*ListSigningKeysForbidden) Code

func (o *ListSigningKeysForbidden) Code() int

Code gets the status code for the list signing keys forbidden response

func (*ListSigningKeysForbidden) Error

func (o *ListSigningKeysForbidden) Error() string

func (*ListSigningKeysForbidden) IsClientError

func (o *ListSigningKeysForbidden) IsClientError() bool

IsClientError returns true when this list signing keys forbidden response has a 4xx status code

func (*ListSigningKeysForbidden) IsCode

func (o *ListSigningKeysForbidden) IsCode(code int) bool

IsCode returns true when this list signing keys forbidden response a status code equal to that given

func (*ListSigningKeysForbidden) IsRedirect

func (o *ListSigningKeysForbidden) IsRedirect() bool

IsRedirect returns true when this list signing keys forbidden response has a 3xx status code

func (*ListSigningKeysForbidden) IsServerError

func (o *ListSigningKeysForbidden) IsServerError() bool

IsServerError returns true when this list signing keys forbidden response has a 5xx status code

func (*ListSigningKeysForbidden) IsSuccess

func (o *ListSigningKeysForbidden) IsSuccess() bool

IsSuccess returns true when this list signing keys forbidden response has a 2xx status code

type ListSigningKeysOK

type ListSigningKeysOK struct {

	// isStream: false
	*models.SigningKeysListResponse
}

ListSigningKeysOK handles this case with default header values.

keys returned

func NewListSigningKeysOK

func NewListSigningKeysOK() *ListSigningKeysOK

NewListSigningKeysOK creates a ListSigningKeysOK with default headers values

func (*ListSigningKeysOK) Code

func (o *ListSigningKeysOK) Code() int

Code gets the status code for the list signing keys o k response

func (*ListSigningKeysOK) Error

func (o *ListSigningKeysOK) Error() string

func (*ListSigningKeysOK) IsClientError

func (o *ListSigningKeysOK) IsClientError() bool

IsClientError returns true when this list signing keys o k response has a 4xx status code

func (*ListSigningKeysOK) IsCode

func (o *ListSigningKeysOK) IsCode(code int) bool

IsCode returns true when this list signing keys o k response a status code equal to that given

func (*ListSigningKeysOK) IsRedirect

func (o *ListSigningKeysOK) IsRedirect() bool

IsRedirect returns true when this list signing keys o k response has a 3xx status code

func (*ListSigningKeysOK) IsServerError

func (o *ListSigningKeysOK) IsServerError() bool

IsServerError returns true when this list signing keys o k response has a 5xx status code

func (*ListSigningKeysOK) IsSuccess

func (o *ListSigningKeysOK) IsSuccess() bool

IsSuccess returns true when this list signing keys o k response has a 2xx status code

type ListSigningKeysReader

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

ListSigningKeysReader is a Reader for the ListSigningKeys structure.

func (*ListSigningKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSigningKeysRequest

type ListSigningKeysRequest struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

func (*ListSigningKeysRequest) Do

list signing keys API

func (*ListSigningKeysRequest) FromJson

func (*ListSigningKeysRequest) MustDo

func (*ListSigningKeysRequest) WithContext

//////////////// WithContext adds the context to the list signing keys Request

func (*ListSigningKeysRequest) WithHTTPClient

func (o *ListSigningKeysRequest) WithHTTPClient(client *http.Client) *ListSigningKeysRequest

WithHTTPClient adds the HTTPClient to the list signing keys Request

func (*ListSigningKeysRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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