Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateServiceAccountAPIKey(params *CreateServiceAccountAPIKeyParams, ...) (*CreateServiceAccountAPIKeyOK, error)
- func (a *Client) DeleteServiceAccountAPIKey(params *DeleteServiceAccountAPIKeyParams, ...) (*DeleteServiceAccountAPIKeyOK, error)
- func (a *Client) ListServiceAccountAPIKeys(params *ListServiceAccountAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServiceAccountAPIKeysOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateServiceAccountAPIKeyForbidden
- func (o *CreateServiceAccountAPIKeyForbidden) Code() int
- func (o *CreateServiceAccountAPIKeyForbidden) Error() string
- func (o *CreateServiceAccountAPIKeyForbidden) GetPayload() *models.ErrorResponse
- func (o *CreateServiceAccountAPIKeyForbidden) IsClientError() bool
- func (o *CreateServiceAccountAPIKeyForbidden) IsCode(code int) bool
- func (o *CreateServiceAccountAPIKeyForbidden) IsRedirect() bool
- func (o *CreateServiceAccountAPIKeyForbidden) IsServerError() bool
- func (o *CreateServiceAccountAPIKeyForbidden) IsSuccess() bool
- func (o *CreateServiceAccountAPIKeyForbidden) String() string
- type CreateServiceAccountAPIKeyNotFound
- func (o *CreateServiceAccountAPIKeyNotFound) Code() int
- func (o *CreateServiceAccountAPIKeyNotFound) Error() string
- func (o *CreateServiceAccountAPIKeyNotFound) GetPayload() *models.ErrorResponse
- func (o *CreateServiceAccountAPIKeyNotFound) IsClientError() bool
- func (o *CreateServiceAccountAPIKeyNotFound) IsCode(code int) bool
- func (o *CreateServiceAccountAPIKeyNotFound) IsRedirect() bool
- func (o *CreateServiceAccountAPIKeyNotFound) IsServerError() bool
- func (o *CreateServiceAccountAPIKeyNotFound) IsSuccess() bool
- func (o *CreateServiceAccountAPIKeyNotFound) String() string
- type CreateServiceAccountAPIKeyOK
- func (o *CreateServiceAccountAPIKeyOK) Code() int
- func (o *CreateServiceAccountAPIKeyOK) Error() string
- func (o *CreateServiceAccountAPIKeyOK) GetPayload() *models.APIKey
- func (o *CreateServiceAccountAPIKeyOK) IsClientError() bool
- func (o *CreateServiceAccountAPIKeyOK) IsCode(code int) bool
- func (o *CreateServiceAccountAPIKeyOK) IsRedirect() bool
- func (o *CreateServiceAccountAPIKeyOK) IsServerError() bool
- func (o *CreateServiceAccountAPIKeyOK) IsSuccess() bool
- func (o *CreateServiceAccountAPIKeyOK) String() string
- type CreateServiceAccountAPIKeyParams
- func NewCreateServiceAccountAPIKeyParams() *CreateServiceAccountAPIKeyParams
- func NewCreateServiceAccountAPIKeyParamsWithContext(ctx context.Context) *CreateServiceAccountAPIKeyParams
- func NewCreateServiceAccountAPIKeyParamsWithHTTPClient(client *http.Client) *CreateServiceAccountAPIKeyParams
- func NewCreateServiceAccountAPIKeyParamsWithTimeout(timeout time.Duration) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) SetContext(ctx context.Context)
- func (o *CreateServiceAccountAPIKeyParams) SetData(data *models.CreateAPIKeyRequest)
- func (o *CreateServiceAccountAPIKeyParams) SetDefaults()
- func (o *CreateServiceAccountAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceAccountAPIKeyParams) SetOrgName(orgName string)
- func (o *CreateServiceAccountAPIKeyParams) SetServiceAccountName(serviceAccountName string)
- func (o *CreateServiceAccountAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceAccountAPIKeyParams) WithContext(ctx context.Context) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WithData(data *models.CreateAPIKeyRequest) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WithDefaults() *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WithHTTPClient(client *http.Client) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WithOrgName(orgName string) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WithServiceAccountName(serviceAccountName string) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WithTimeout(timeout time.Duration) *CreateServiceAccountAPIKeyParams
- func (o *CreateServiceAccountAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceAccountAPIKeyReader
- type DeleteServiceAccountAPIKeyForbidden
- func (o *DeleteServiceAccountAPIKeyForbidden) Code() int
- func (o *DeleteServiceAccountAPIKeyForbidden) Error() string
- func (o *DeleteServiceAccountAPIKeyForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteServiceAccountAPIKeyForbidden) IsClientError() bool
- func (o *DeleteServiceAccountAPIKeyForbidden) IsCode(code int) bool
- func (o *DeleteServiceAccountAPIKeyForbidden) IsRedirect() bool
- func (o *DeleteServiceAccountAPIKeyForbidden) IsServerError() bool
- func (o *DeleteServiceAccountAPIKeyForbidden) IsSuccess() bool
- func (o *DeleteServiceAccountAPIKeyForbidden) String() string
- type DeleteServiceAccountAPIKeyNotFound
- func (o *DeleteServiceAccountAPIKeyNotFound) Code() int
- func (o *DeleteServiceAccountAPIKeyNotFound) Error() string
- func (o *DeleteServiceAccountAPIKeyNotFound) GetPayload() *models.ErrorResponse
- func (o *DeleteServiceAccountAPIKeyNotFound) IsClientError() bool
- func (o *DeleteServiceAccountAPIKeyNotFound) IsCode(code int) bool
- func (o *DeleteServiceAccountAPIKeyNotFound) IsRedirect() bool
- func (o *DeleteServiceAccountAPIKeyNotFound) IsServerError() bool
- func (o *DeleteServiceAccountAPIKeyNotFound) IsSuccess() bool
- func (o *DeleteServiceAccountAPIKeyNotFound) String() string
- type DeleteServiceAccountAPIKeyOK
- func (o *DeleteServiceAccountAPIKeyOK) Code() int
- func (o *DeleteServiceAccountAPIKeyOK) Error() string
- func (o *DeleteServiceAccountAPIKeyOK) GetPayload() models.EmptyResponse
- func (o *DeleteServiceAccountAPIKeyOK) IsClientError() bool
- func (o *DeleteServiceAccountAPIKeyOK) IsCode(code int) bool
- func (o *DeleteServiceAccountAPIKeyOK) IsRedirect() bool
- func (o *DeleteServiceAccountAPIKeyOK) IsServerError() bool
- func (o *DeleteServiceAccountAPIKeyOK) IsSuccess() bool
- func (o *DeleteServiceAccountAPIKeyOK) String() string
- type DeleteServiceAccountAPIKeyParams
- func NewDeleteServiceAccountAPIKeyParams() *DeleteServiceAccountAPIKeyParams
- func NewDeleteServiceAccountAPIKeyParamsWithContext(ctx context.Context) *DeleteServiceAccountAPIKeyParams
- func NewDeleteServiceAccountAPIKeyParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountAPIKeyParams
- func NewDeleteServiceAccountAPIKeyParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) SetAPIKeyID(apiKeyID string)
- func (o *DeleteServiceAccountAPIKeyParams) SetContext(ctx context.Context)
- func (o *DeleteServiceAccountAPIKeyParams) SetDefaults()
- func (o *DeleteServiceAccountAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceAccountAPIKeyParams) SetOrgName(orgName string)
- func (o *DeleteServiceAccountAPIKeyParams) SetServiceAccountName(serviceAccountName string)
- func (o *DeleteServiceAccountAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceAccountAPIKeyParams) WithAPIKeyID(apiKeyID string) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WithContext(ctx context.Context) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WithDefaults() *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WithOrgName(orgName string) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WithServiceAccountName(serviceAccountName string) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountAPIKeyParams
- func (o *DeleteServiceAccountAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceAccountAPIKeyReader
- type ListServiceAccountAPIKeysForbidden
- func (o *ListServiceAccountAPIKeysForbidden) Code() int
- func (o *ListServiceAccountAPIKeysForbidden) Error() string
- func (o *ListServiceAccountAPIKeysForbidden) GetPayload() *models.ErrorResponse
- func (o *ListServiceAccountAPIKeysForbidden) IsClientError() bool
- func (o *ListServiceAccountAPIKeysForbidden) IsCode(code int) bool
- func (o *ListServiceAccountAPIKeysForbidden) IsRedirect() bool
- func (o *ListServiceAccountAPIKeysForbidden) IsServerError() bool
- func (o *ListServiceAccountAPIKeysForbidden) IsSuccess() bool
- func (o *ListServiceAccountAPIKeysForbidden) String() string
- type ListServiceAccountAPIKeysNotFound
- func (o *ListServiceAccountAPIKeysNotFound) Code() int
- func (o *ListServiceAccountAPIKeysNotFound) Error() string
- func (o *ListServiceAccountAPIKeysNotFound) GetPayload() *models.ErrorResponse
- func (o *ListServiceAccountAPIKeysNotFound) IsClientError() bool
- func (o *ListServiceAccountAPIKeysNotFound) IsCode(code int) bool
- func (o *ListServiceAccountAPIKeysNotFound) IsRedirect() bool
- func (o *ListServiceAccountAPIKeysNotFound) IsServerError() bool
- func (o *ListServiceAccountAPIKeysNotFound) IsSuccess() bool
- func (o *ListServiceAccountAPIKeysNotFound) String() string
- type ListServiceAccountAPIKeysOK
- func (o *ListServiceAccountAPIKeysOK) Code() int
- func (o *ListServiceAccountAPIKeysOK) Error() string
- func (o *ListServiceAccountAPIKeysOK) GetPayload() *models.ListAPIKeysResponse
- func (o *ListServiceAccountAPIKeysOK) IsClientError() bool
- func (o *ListServiceAccountAPIKeysOK) IsCode(code int) bool
- func (o *ListServiceAccountAPIKeysOK) IsRedirect() bool
- func (o *ListServiceAccountAPIKeysOK) IsServerError() bool
- func (o *ListServiceAccountAPIKeysOK) IsSuccess() bool
- func (o *ListServiceAccountAPIKeysOK) String() string
- type ListServiceAccountAPIKeysParams
- func NewListServiceAccountAPIKeysParams() *ListServiceAccountAPIKeysParams
- func NewListServiceAccountAPIKeysParamsWithContext(ctx context.Context) *ListServiceAccountAPIKeysParams
- func NewListServiceAccountAPIKeysParamsWithHTTPClient(client *http.Client) *ListServiceAccountAPIKeysParams
- func NewListServiceAccountAPIKeysParamsWithTimeout(timeout time.Duration) *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) SetContext(ctx context.Context)
- func (o *ListServiceAccountAPIKeysParams) SetDefaults()
- func (o *ListServiceAccountAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceAccountAPIKeysParams) SetOrgName(orgName string)
- func (o *ListServiceAccountAPIKeysParams) SetServiceAccountName(serviceAccountName string)
- func (o *ListServiceAccountAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceAccountAPIKeysParams) WithContext(ctx context.Context) *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) WithDefaults() *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) WithHTTPClient(client *http.Client) *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) WithOrgName(orgName string) *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) WithServiceAccountName(serviceAccountName string) *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) WithTimeout(timeout time.Duration) *ListServiceAccountAPIKeysParams
- func (o *ListServiceAccountAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceAccountAPIKeysReader
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 api keys API
func (*Client) CreateServiceAccountAPIKey ¶
func (a *Client) CreateServiceAccountAPIKey(params *CreateServiceAccountAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceAccountAPIKeyOK, error)
CreateServiceAccountAPIKey creates a service account API key
Create an API key bound to a service account (admin only). The token is returned once.
func (*Client) DeleteServiceAccountAPIKey ¶
func (a *Client) DeleteServiceAccountAPIKey(params *DeleteServiceAccountAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountAPIKeyOK, error)
DeleteServiceAccountAPIKey deletes a service account API key
Delete a service-account-bound API key (admin only). The key must belong to the SA in the path.
func (*Client) ListServiceAccountAPIKeys ¶
func (a *Client) ListServiceAccountAPIKeys(params *ListServiceAccountAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountAPIKeysOK, error)
ListServiceAccountAPIKeys lists a service account s API keys
List the API keys bound to a service account (admin only).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CreateServiceAccountAPIKey(params *CreateServiceAccountAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceAccountAPIKeyOK, error)
DeleteServiceAccountAPIKey(params *DeleteServiceAccountAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountAPIKeyOK, error)
ListServiceAccountAPIKeys(params *ListServiceAccountAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountAPIKeysOK, 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 api keys API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api keys API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new api keys API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateServiceAccountAPIKeyForbidden ¶
type CreateServiceAccountAPIKeyForbidden struct {
Payload *models.ErrorResponse
}
CreateServiceAccountAPIKeyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateServiceAccountAPIKeyForbidden ¶
func NewCreateServiceAccountAPIKeyForbidden() *CreateServiceAccountAPIKeyForbidden
NewCreateServiceAccountAPIKeyForbidden creates a CreateServiceAccountAPIKeyForbidden with default headers values
func (*CreateServiceAccountAPIKeyForbidden) Code ¶
func (o *CreateServiceAccountAPIKeyForbidden) Code() int
Code gets the status code for the create service account Api key forbidden response
func (*CreateServiceAccountAPIKeyForbidden) Error ¶
func (o *CreateServiceAccountAPIKeyForbidden) Error() string
func (*CreateServiceAccountAPIKeyForbidden) GetPayload ¶
func (o *CreateServiceAccountAPIKeyForbidden) GetPayload() *models.ErrorResponse
func (*CreateServiceAccountAPIKeyForbidden) IsClientError ¶
func (o *CreateServiceAccountAPIKeyForbidden) IsClientError() bool
IsClientError returns true when this create service account Api key forbidden response has a 4xx status code
func (*CreateServiceAccountAPIKeyForbidden) IsCode ¶
func (o *CreateServiceAccountAPIKeyForbidden) IsCode(code int) bool
IsCode returns true when this create service account Api key forbidden response a status code equal to that given
func (*CreateServiceAccountAPIKeyForbidden) IsRedirect ¶
func (o *CreateServiceAccountAPIKeyForbidden) IsRedirect() bool
IsRedirect returns true when this create service account Api key forbidden response has a 3xx status code
func (*CreateServiceAccountAPIKeyForbidden) IsServerError ¶
func (o *CreateServiceAccountAPIKeyForbidden) IsServerError() bool
IsServerError returns true when this create service account Api key forbidden response has a 5xx status code
func (*CreateServiceAccountAPIKeyForbidden) IsSuccess ¶
func (o *CreateServiceAccountAPIKeyForbidden) IsSuccess() bool
IsSuccess returns true when this create service account Api key forbidden response has a 2xx status code
func (*CreateServiceAccountAPIKeyForbidden) String ¶
func (o *CreateServiceAccountAPIKeyForbidden) String() string
type CreateServiceAccountAPIKeyNotFound ¶
type CreateServiceAccountAPIKeyNotFound struct {
Payload *models.ErrorResponse
}
CreateServiceAccountAPIKeyNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateServiceAccountAPIKeyNotFound ¶
func NewCreateServiceAccountAPIKeyNotFound() *CreateServiceAccountAPIKeyNotFound
NewCreateServiceAccountAPIKeyNotFound creates a CreateServiceAccountAPIKeyNotFound with default headers values
func (*CreateServiceAccountAPIKeyNotFound) Code ¶
func (o *CreateServiceAccountAPIKeyNotFound) Code() int
Code gets the status code for the create service account Api key not found response
func (*CreateServiceAccountAPIKeyNotFound) Error ¶
func (o *CreateServiceAccountAPIKeyNotFound) Error() string
func (*CreateServiceAccountAPIKeyNotFound) GetPayload ¶
func (o *CreateServiceAccountAPIKeyNotFound) GetPayload() *models.ErrorResponse
func (*CreateServiceAccountAPIKeyNotFound) IsClientError ¶
func (o *CreateServiceAccountAPIKeyNotFound) IsClientError() bool
IsClientError returns true when this create service account Api key not found response has a 4xx status code
func (*CreateServiceAccountAPIKeyNotFound) IsCode ¶
func (o *CreateServiceAccountAPIKeyNotFound) IsCode(code int) bool
IsCode returns true when this create service account Api key not found response a status code equal to that given
func (*CreateServiceAccountAPIKeyNotFound) IsRedirect ¶
func (o *CreateServiceAccountAPIKeyNotFound) IsRedirect() bool
IsRedirect returns true when this create service account Api key not found response has a 3xx status code
func (*CreateServiceAccountAPIKeyNotFound) IsServerError ¶
func (o *CreateServiceAccountAPIKeyNotFound) IsServerError() bool
IsServerError returns true when this create service account Api key not found response has a 5xx status code
func (*CreateServiceAccountAPIKeyNotFound) IsSuccess ¶
func (o *CreateServiceAccountAPIKeyNotFound) IsSuccess() bool
IsSuccess returns true when this create service account Api key not found response has a 2xx status code
func (*CreateServiceAccountAPIKeyNotFound) String ¶
func (o *CreateServiceAccountAPIKeyNotFound) String() string
type CreateServiceAccountAPIKeyOK ¶
CreateServiceAccountAPIKeyOK describes a response with status code 200, with default header values.
OK
func NewCreateServiceAccountAPIKeyOK ¶
func NewCreateServiceAccountAPIKeyOK() *CreateServiceAccountAPIKeyOK
NewCreateServiceAccountAPIKeyOK creates a CreateServiceAccountAPIKeyOK with default headers values
func (*CreateServiceAccountAPIKeyOK) Code ¶
func (o *CreateServiceAccountAPIKeyOK) Code() int
Code gets the status code for the create service account Api key o k response
func (*CreateServiceAccountAPIKeyOK) Error ¶
func (o *CreateServiceAccountAPIKeyOK) Error() string
func (*CreateServiceAccountAPIKeyOK) GetPayload ¶
func (o *CreateServiceAccountAPIKeyOK) GetPayload() *models.APIKey
func (*CreateServiceAccountAPIKeyOK) IsClientError ¶
func (o *CreateServiceAccountAPIKeyOK) IsClientError() bool
IsClientError returns true when this create service account Api key o k response has a 4xx status code
func (*CreateServiceAccountAPIKeyOK) IsCode ¶
func (o *CreateServiceAccountAPIKeyOK) IsCode(code int) bool
IsCode returns true when this create service account Api key o k response a status code equal to that given
func (*CreateServiceAccountAPIKeyOK) IsRedirect ¶
func (o *CreateServiceAccountAPIKeyOK) IsRedirect() bool
IsRedirect returns true when this create service account Api key o k response has a 3xx status code
func (*CreateServiceAccountAPIKeyOK) IsServerError ¶
func (o *CreateServiceAccountAPIKeyOK) IsServerError() bool
IsServerError returns true when this create service account Api key o k response has a 5xx status code
func (*CreateServiceAccountAPIKeyOK) IsSuccess ¶
func (o *CreateServiceAccountAPIKeyOK) IsSuccess() bool
IsSuccess returns true when this create service account Api key o k response has a 2xx status code
func (*CreateServiceAccountAPIKeyOK) String ¶
func (o *CreateServiceAccountAPIKeyOK) String() string
type CreateServiceAccountAPIKeyParams ¶
type CreateServiceAccountAPIKeyParams struct {
/* Data.
Optional description
*/
Data *models.CreateAPIKeyRequest
/* OrgName.
Signadot Org Name
*/
OrgName string
/* ServiceAccountName.
Service Account Name
*/
ServiceAccountName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateServiceAccountAPIKeyParams contains all the parameters to send to the API endpoint
for the create service account api key operation. Typically these are written to a http.Request.
func NewCreateServiceAccountAPIKeyParams ¶
func NewCreateServiceAccountAPIKeyParams() *CreateServiceAccountAPIKeyParams
NewCreateServiceAccountAPIKeyParams creates a new CreateServiceAccountAPIKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateServiceAccountAPIKeyParamsWithContext ¶
func NewCreateServiceAccountAPIKeyParamsWithContext(ctx context.Context) *CreateServiceAccountAPIKeyParams
NewCreateServiceAccountAPIKeyParamsWithContext creates a new CreateServiceAccountAPIKeyParams object with the ability to set a context for a request.
func NewCreateServiceAccountAPIKeyParamsWithHTTPClient ¶
func NewCreateServiceAccountAPIKeyParamsWithHTTPClient(client *http.Client) *CreateServiceAccountAPIKeyParams
NewCreateServiceAccountAPIKeyParamsWithHTTPClient creates a new CreateServiceAccountAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServiceAccountAPIKeyParamsWithTimeout ¶
func NewCreateServiceAccountAPIKeyParamsWithTimeout(timeout time.Duration) *CreateServiceAccountAPIKeyParams
NewCreateServiceAccountAPIKeyParamsWithTimeout creates a new CreateServiceAccountAPIKeyParams object with the ability to set a timeout on a request.
func (*CreateServiceAccountAPIKeyParams) SetContext ¶
func (o *CreateServiceAccountAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) SetData ¶
func (o *CreateServiceAccountAPIKeyParams) SetData(data *models.CreateAPIKeyRequest)
SetData adds the data to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) SetDefaults ¶
func (o *CreateServiceAccountAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the create service account api key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceAccountAPIKeyParams) SetHTTPClient ¶
func (o *CreateServiceAccountAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) SetOrgName ¶
func (o *CreateServiceAccountAPIKeyParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) SetServiceAccountName ¶
func (o *CreateServiceAccountAPIKeyParams) SetServiceAccountName(serviceAccountName string)
SetServiceAccountName adds the serviceAccountName to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) SetTimeout ¶
func (o *CreateServiceAccountAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WithContext ¶
func (o *CreateServiceAccountAPIKeyParams) WithContext(ctx context.Context) *CreateServiceAccountAPIKeyParams
WithContext adds the context to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WithData ¶
func (o *CreateServiceAccountAPIKeyParams) WithData(data *models.CreateAPIKeyRequest) *CreateServiceAccountAPIKeyParams
WithData adds the data to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WithDefaults ¶
func (o *CreateServiceAccountAPIKeyParams) WithDefaults() *CreateServiceAccountAPIKeyParams
WithDefaults hydrates default values in the create service account api key params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceAccountAPIKeyParams) WithHTTPClient ¶
func (o *CreateServiceAccountAPIKeyParams) WithHTTPClient(client *http.Client) *CreateServiceAccountAPIKeyParams
WithHTTPClient adds the HTTPClient to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WithOrgName ¶
func (o *CreateServiceAccountAPIKeyParams) WithOrgName(orgName string) *CreateServiceAccountAPIKeyParams
WithOrgName adds the orgName to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WithServiceAccountName ¶
func (o *CreateServiceAccountAPIKeyParams) WithServiceAccountName(serviceAccountName string) *CreateServiceAccountAPIKeyParams
WithServiceAccountName adds the serviceAccountName to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WithTimeout ¶
func (o *CreateServiceAccountAPIKeyParams) WithTimeout(timeout time.Duration) *CreateServiceAccountAPIKeyParams
WithTimeout adds the timeout to the create service account api key params
func (*CreateServiceAccountAPIKeyParams) WriteToRequest ¶
func (o *CreateServiceAccountAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServiceAccountAPIKeyReader ¶
type CreateServiceAccountAPIKeyReader struct {
// contains filtered or unexported fields
}
CreateServiceAccountAPIKeyReader is a Reader for the CreateServiceAccountAPIKey structure.
func (*CreateServiceAccountAPIKeyReader) ReadResponse ¶
func (o *CreateServiceAccountAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteServiceAccountAPIKeyForbidden ¶
type DeleteServiceAccountAPIKeyForbidden struct {
Payload *models.ErrorResponse
}
DeleteServiceAccountAPIKeyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteServiceAccountAPIKeyForbidden ¶
func NewDeleteServiceAccountAPIKeyForbidden() *DeleteServiceAccountAPIKeyForbidden
NewDeleteServiceAccountAPIKeyForbidden creates a DeleteServiceAccountAPIKeyForbidden with default headers values
func (*DeleteServiceAccountAPIKeyForbidden) Code ¶
func (o *DeleteServiceAccountAPIKeyForbidden) Code() int
Code gets the status code for the delete service account Api key forbidden response
func (*DeleteServiceAccountAPIKeyForbidden) Error ¶
func (o *DeleteServiceAccountAPIKeyForbidden) Error() string
func (*DeleteServiceAccountAPIKeyForbidden) GetPayload ¶
func (o *DeleteServiceAccountAPIKeyForbidden) GetPayload() *models.ErrorResponse
func (*DeleteServiceAccountAPIKeyForbidden) IsClientError ¶
func (o *DeleteServiceAccountAPIKeyForbidden) IsClientError() bool
IsClientError returns true when this delete service account Api key forbidden response has a 4xx status code
func (*DeleteServiceAccountAPIKeyForbidden) IsCode ¶
func (o *DeleteServiceAccountAPIKeyForbidden) IsCode(code int) bool
IsCode returns true when this delete service account Api key forbidden response a status code equal to that given
func (*DeleteServiceAccountAPIKeyForbidden) IsRedirect ¶
func (o *DeleteServiceAccountAPIKeyForbidden) IsRedirect() bool
IsRedirect returns true when this delete service account Api key forbidden response has a 3xx status code
func (*DeleteServiceAccountAPIKeyForbidden) IsServerError ¶
func (o *DeleteServiceAccountAPIKeyForbidden) IsServerError() bool
IsServerError returns true when this delete service account Api key forbidden response has a 5xx status code
func (*DeleteServiceAccountAPIKeyForbidden) IsSuccess ¶
func (o *DeleteServiceAccountAPIKeyForbidden) IsSuccess() bool
IsSuccess returns true when this delete service account Api key forbidden response has a 2xx status code
func (*DeleteServiceAccountAPIKeyForbidden) String ¶
func (o *DeleteServiceAccountAPIKeyForbidden) String() string
type DeleteServiceAccountAPIKeyNotFound ¶
type DeleteServiceAccountAPIKeyNotFound struct {
Payload *models.ErrorResponse
}
DeleteServiceAccountAPIKeyNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteServiceAccountAPIKeyNotFound ¶
func NewDeleteServiceAccountAPIKeyNotFound() *DeleteServiceAccountAPIKeyNotFound
NewDeleteServiceAccountAPIKeyNotFound creates a DeleteServiceAccountAPIKeyNotFound with default headers values
func (*DeleteServiceAccountAPIKeyNotFound) Code ¶
func (o *DeleteServiceAccountAPIKeyNotFound) Code() int
Code gets the status code for the delete service account Api key not found response
func (*DeleteServiceAccountAPIKeyNotFound) Error ¶
func (o *DeleteServiceAccountAPIKeyNotFound) Error() string
func (*DeleteServiceAccountAPIKeyNotFound) GetPayload ¶
func (o *DeleteServiceAccountAPIKeyNotFound) GetPayload() *models.ErrorResponse
func (*DeleteServiceAccountAPIKeyNotFound) IsClientError ¶
func (o *DeleteServiceAccountAPIKeyNotFound) IsClientError() bool
IsClientError returns true when this delete service account Api key not found response has a 4xx status code
func (*DeleteServiceAccountAPIKeyNotFound) IsCode ¶
func (o *DeleteServiceAccountAPIKeyNotFound) IsCode(code int) bool
IsCode returns true when this delete service account Api key not found response a status code equal to that given
func (*DeleteServiceAccountAPIKeyNotFound) IsRedirect ¶
func (o *DeleteServiceAccountAPIKeyNotFound) IsRedirect() bool
IsRedirect returns true when this delete service account Api key not found response has a 3xx status code
func (*DeleteServiceAccountAPIKeyNotFound) IsServerError ¶
func (o *DeleteServiceAccountAPIKeyNotFound) IsServerError() bool
IsServerError returns true when this delete service account Api key not found response has a 5xx status code
func (*DeleteServiceAccountAPIKeyNotFound) IsSuccess ¶
func (o *DeleteServiceAccountAPIKeyNotFound) IsSuccess() bool
IsSuccess returns true when this delete service account Api key not found response has a 2xx status code
func (*DeleteServiceAccountAPIKeyNotFound) String ¶
func (o *DeleteServiceAccountAPIKeyNotFound) String() string
type DeleteServiceAccountAPIKeyOK ¶
type DeleteServiceAccountAPIKeyOK struct {
Payload models.EmptyResponse
}
DeleteServiceAccountAPIKeyOK describes a response with status code 200, with default header values.
OK
func NewDeleteServiceAccountAPIKeyOK ¶
func NewDeleteServiceAccountAPIKeyOK() *DeleteServiceAccountAPIKeyOK
NewDeleteServiceAccountAPIKeyOK creates a DeleteServiceAccountAPIKeyOK with default headers values
func (*DeleteServiceAccountAPIKeyOK) Code ¶
func (o *DeleteServiceAccountAPIKeyOK) Code() int
Code gets the status code for the delete service account Api key o k response
func (*DeleteServiceAccountAPIKeyOK) Error ¶
func (o *DeleteServiceAccountAPIKeyOK) Error() string
func (*DeleteServiceAccountAPIKeyOK) GetPayload ¶
func (o *DeleteServiceAccountAPIKeyOK) GetPayload() models.EmptyResponse
func (*DeleteServiceAccountAPIKeyOK) IsClientError ¶
func (o *DeleteServiceAccountAPIKeyOK) IsClientError() bool
IsClientError returns true when this delete service account Api key o k response has a 4xx status code
func (*DeleteServiceAccountAPIKeyOK) IsCode ¶
func (o *DeleteServiceAccountAPIKeyOK) IsCode(code int) bool
IsCode returns true when this delete service account Api key o k response a status code equal to that given
func (*DeleteServiceAccountAPIKeyOK) IsRedirect ¶
func (o *DeleteServiceAccountAPIKeyOK) IsRedirect() bool
IsRedirect returns true when this delete service account Api key o k response has a 3xx status code
func (*DeleteServiceAccountAPIKeyOK) IsServerError ¶
func (o *DeleteServiceAccountAPIKeyOK) IsServerError() bool
IsServerError returns true when this delete service account Api key o k response has a 5xx status code
func (*DeleteServiceAccountAPIKeyOK) IsSuccess ¶
func (o *DeleteServiceAccountAPIKeyOK) IsSuccess() bool
IsSuccess returns true when this delete service account Api key o k response has a 2xx status code
func (*DeleteServiceAccountAPIKeyOK) String ¶
func (o *DeleteServiceAccountAPIKeyOK) String() string
type DeleteServiceAccountAPIKeyParams ¶
type DeleteServiceAccountAPIKeyParams struct {
/* APIKeyID.
API key public ID
*/
APIKeyID string
/* OrgName.
Signadot Org Name
*/
OrgName string
/* ServiceAccountName.
Service Account Name
*/
ServiceAccountName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteServiceAccountAPIKeyParams contains all the parameters to send to the API endpoint
for the delete service account api key operation. Typically these are written to a http.Request.
func NewDeleteServiceAccountAPIKeyParams ¶
func NewDeleteServiceAccountAPIKeyParams() *DeleteServiceAccountAPIKeyParams
NewDeleteServiceAccountAPIKeyParams creates a new DeleteServiceAccountAPIKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteServiceAccountAPIKeyParamsWithContext ¶
func NewDeleteServiceAccountAPIKeyParamsWithContext(ctx context.Context) *DeleteServiceAccountAPIKeyParams
NewDeleteServiceAccountAPIKeyParamsWithContext creates a new DeleteServiceAccountAPIKeyParams object with the ability to set a context for a request.
func NewDeleteServiceAccountAPIKeyParamsWithHTTPClient ¶
func NewDeleteServiceAccountAPIKeyParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountAPIKeyParams
NewDeleteServiceAccountAPIKeyParamsWithHTTPClient creates a new DeleteServiceAccountAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteServiceAccountAPIKeyParamsWithTimeout ¶
func NewDeleteServiceAccountAPIKeyParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountAPIKeyParams
NewDeleteServiceAccountAPIKeyParamsWithTimeout creates a new DeleteServiceAccountAPIKeyParams object with the ability to set a timeout on a request.
func (*DeleteServiceAccountAPIKeyParams) SetAPIKeyID ¶
func (o *DeleteServiceAccountAPIKeyParams) SetAPIKeyID(apiKeyID string)
SetAPIKeyID adds the apiKeyId to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) SetContext ¶
func (o *DeleteServiceAccountAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) SetDefaults ¶
func (o *DeleteServiceAccountAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the delete service account api key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceAccountAPIKeyParams) SetHTTPClient ¶
func (o *DeleteServiceAccountAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) SetOrgName ¶
func (o *DeleteServiceAccountAPIKeyParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) SetServiceAccountName ¶
func (o *DeleteServiceAccountAPIKeyParams) SetServiceAccountName(serviceAccountName string)
SetServiceAccountName adds the serviceAccountName to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) SetTimeout ¶
func (o *DeleteServiceAccountAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WithAPIKeyID ¶
func (o *DeleteServiceAccountAPIKeyParams) WithAPIKeyID(apiKeyID string) *DeleteServiceAccountAPIKeyParams
WithAPIKeyID adds the apiKeyID to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WithContext ¶
func (o *DeleteServiceAccountAPIKeyParams) WithContext(ctx context.Context) *DeleteServiceAccountAPIKeyParams
WithContext adds the context to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WithDefaults ¶
func (o *DeleteServiceAccountAPIKeyParams) WithDefaults() *DeleteServiceAccountAPIKeyParams
WithDefaults hydrates default values in the delete service account api key params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceAccountAPIKeyParams) WithHTTPClient ¶
func (o *DeleteServiceAccountAPIKeyParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountAPIKeyParams
WithHTTPClient adds the HTTPClient to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WithOrgName ¶
func (o *DeleteServiceAccountAPIKeyParams) WithOrgName(orgName string) *DeleteServiceAccountAPIKeyParams
WithOrgName adds the orgName to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WithServiceAccountName ¶
func (o *DeleteServiceAccountAPIKeyParams) WithServiceAccountName(serviceAccountName string) *DeleteServiceAccountAPIKeyParams
WithServiceAccountName adds the serviceAccountName to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WithTimeout ¶
func (o *DeleteServiceAccountAPIKeyParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountAPIKeyParams
WithTimeout adds the timeout to the delete service account api key params
func (*DeleteServiceAccountAPIKeyParams) WriteToRequest ¶
func (o *DeleteServiceAccountAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceAccountAPIKeyReader ¶
type DeleteServiceAccountAPIKeyReader struct {
// contains filtered or unexported fields
}
DeleteServiceAccountAPIKeyReader is a Reader for the DeleteServiceAccountAPIKey structure.
func (*DeleteServiceAccountAPIKeyReader) ReadResponse ¶
func (o *DeleteServiceAccountAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListServiceAccountAPIKeysForbidden ¶
type ListServiceAccountAPIKeysForbidden struct {
Payload *models.ErrorResponse
}
ListServiceAccountAPIKeysForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListServiceAccountAPIKeysForbidden ¶
func NewListServiceAccountAPIKeysForbidden() *ListServiceAccountAPIKeysForbidden
NewListServiceAccountAPIKeysForbidden creates a ListServiceAccountAPIKeysForbidden with default headers values
func (*ListServiceAccountAPIKeysForbidden) Code ¶
func (o *ListServiceAccountAPIKeysForbidden) Code() int
Code gets the status code for the list service account Api keys forbidden response
func (*ListServiceAccountAPIKeysForbidden) Error ¶
func (o *ListServiceAccountAPIKeysForbidden) Error() string
func (*ListServiceAccountAPIKeysForbidden) GetPayload ¶
func (o *ListServiceAccountAPIKeysForbidden) GetPayload() *models.ErrorResponse
func (*ListServiceAccountAPIKeysForbidden) IsClientError ¶
func (o *ListServiceAccountAPIKeysForbidden) IsClientError() bool
IsClientError returns true when this list service account Api keys forbidden response has a 4xx status code
func (*ListServiceAccountAPIKeysForbidden) IsCode ¶
func (o *ListServiceAccountAPIKeysForbidden) IsCode(code int) bool
IsCode returns true when this list service account Api keys forbidden response a status code equal to that given
func (*ListServiceAccountAPIKeysForbidden) IsRedirect ¶
func (o *ListServiceAccountAPIKeysForbidden) IsRedirect() bool
IsRedirect returns true when this list service account Api keys forbidden response has a 3xx status code
func (*ListServiceAccountAPIKeysForbidden) IsServerError ¶
func (o *ListServiceAccountAPIKeysForbidden) IsServerError() bool
IsServerError returns true when this list service account Api keys forbidden response has a 5xx status code
func (*ListServiceAccountAPIKeysForbidden) IsSuccess ¶
func (o *ListServiceAccountAPIKeysForbidden) IsSuccess() bool
IsSuccess returns true when this list service account Api keys forbidden response has a 2xx status code
func (*ListServiceAccountAPIKeysForbidden) String ¶
func (o *ListServiceAccountAPIKeysForbidden) String() string
type ListServiceAccountAPIKeysNotFound ¶
type ListServiceAccountAPIKeysNotFound struct {
Payload *models.ErrorResponse
}
ListServiceAccountAPIKeysNotFound describes a response with status code 404, with default header values.
Not Found
func NewListServiceAccountAPIKeysNotFound ¶
func NewListServiceAccountAPIKeysNotFound() *ListServiceAccountAPIKeysNotFound
NewListServiceAccountAPIKeysNotFound creates a ListServiceAccountAPIKeysNotFound with default headers values
func (*ListServiceAccountAPIKeysNotFound) Code ¶
func (o *ListServiceAccountAPIKeysNotFound) Code() int
Code gets the status code for the list service account Api keys not found response
func (*ListServiceAccountAPIKeysNotFound) Error ¶
func (o *ListServiceAccountAPIKeysNotFound) Error() string
func (*ListServiceAccountAPIKeysNotFound) GetPayload ¶
func (o *ListServiceAccountAPIKeysNotFound) GetPayload() *models.ErrorResponse
func (*ListServiceAccountAPIKeysNotFound) IsClientError ¶
func (o *ListServiceAccountAPIKeysNotFound) IsClientError() bool
IsClientError returns true when this list service account Api keys not found response has a 4xx status code
func (*ListServiceAccountAPIKeysNotFound) IsCode ¶
func (o *ListServiceAccountAPIKeysNotFound) IsCode(code int) bool
IsCode returns true when this list service account Api keys not found response a status code equal to that given
func (*ListServiceAccountAPIKeysNotFound) IsRedirect ¶
func (o *ListServiceAccountAPIKeysNotFound) IsRedirect() bool
IsRedirect returns true when this list service account Api keys not found response has a 3xx status code
func (*ListServiceAccountAPIKeysNotFound) IsServerError ¶
func (o *ListServiceAccountAPIKeysNotFound) IsServerError() bool
IsServerError returns true when this list service account Api keys not found response has a 5xx status code
func (*ListServiceAccountAPIKeysNotFound) IsSuccess ¶
func (o *ListServiceAccountAPIKeysNotFound) IsSuccess() bool
IsSuccess returns true when this list service account Api keys not found response has a 2xx status code
func (*ListServiceAccountAPIKeysNotFound) String ¶
func (o *ListServiceAccountAPIKeysNotFound) String() string
type ListServiceAccountAPIKeysOK ¶
type ListServiceAccountAPIKeysOK struct {
Payload *models.ListAPIKeysResponse
}
ListServiceAccountAPIKeysOK describes a response with status code 200, with default header values.
OK
func NewListServiceAccountAPIKeysOK ¶
func NewListServiceAccountAPIKeysOK() *ListServiceAccountAPIKeysOK
NewListServiceAccountAPIKeysOK creates a ListServiceAccountAPIKeysOK with default headers values
func (*ListServiceAccountAPIKeysOK) Code ¶
func (o *ListServiceAccountAPIKeysOK) Code() int
Code gets the status code for the list service account Api keys o k response
func (*ListServiceAccountAPIKeysOK) Error ¶
func (o *ListServiceAccountAPIKeysOK) Error() string
func (*ListServiceAccountAPIKeysOK) GetPayload ¶
func (o *ListServiceAccountAPIKeysOK) GetPayload() *models.ListAPIKeysResponse
func (*ListServiceAccountAPIKeysOK) IsClientError ¶
func (o *ListServiceAccountAPIKeysOK) IsClientError() bool
IsClientError returns true when this list service account Api keys o k response has a 4xx status code
func (*ListServiceAccountAPIKeysOK) IsCode ¶
func (o *ListServiceAccountAPIKeysOK) IsCode(code int) bool
IsCode returns true when this list service account Api keys o k response a status code equal to that given
func (*ListServiceAccountAPIKeysOK) IsRedirect ¶
func (o *ListServiceAccountAPIKeysOK) IsRedirect() bool
IsRedirect returns true when this list service account Api keys o k response has a 3xx status code
func (*ListServiceAccountAPIKeysOK) IsServerError ¶
func (o *ListServiceAccountAPIKeysOK) IsServerError() bool
IsServerError returns true when this list service account Api keys o k response has a 5xx status code
func (*ListServiceAccountAPIKeysOK) IsSuccess ¶
func (o *ListServiceAccountAPIKeysOK) IsSuccess() bool
IsSuccess returns true when this list service account Api keys o k response has a 2xx status code
func (*ListServiceAccountAPIKeysOK) String ¶
func (o *ListServiceAccountAPIKeysOK) String() string
type ListServiceAccountAPIKeysParams ¶
type ListServiceAccountAPIKeysParams struct {
/* OrgName.
Signadot Org Name
*/
OrgName string
/* ServiceAccountName.
Service Account Name
*/
ServiceAccountName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListServiceAccountAPIKeysParams contains all the parameters to send to the API endpoint
for the list service account api keys operation. Typically these are written to a http.Request.
func NewListServiceAccountAPIKeysParams ¶
func NewListServiceAccountAPIKeysParams() *ListServiceAccountAPIKeysParams
NewListServiceAccountAPIKeysParams creates a new ListServiceAccountAPIKeysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListServiceAccountAPIKeysParamsWithContext ¶
func NewListServiceAccountAPIKeysParamsWithContext(ctx context.Context) *ListServiceAccountAPIKeysParams
NewListServiceAccountAPIKeysParamsWithContext creates a new ListServiceAccountAPIKeysParams object with the ability to set a context for a request.
func NewListServiceAccountAPIKeysParamsWithHTTPClient ¶
func NewListServiceAccountAPIKeysParamsWithHTTPClient(client *http.Client) *ListServiceAccountAPIKeysParams
NewListServiceAccountAPIKeysParamsWithHTTPClient creates a new ListServiceAccountAPIKeysParams object with the ability to set a custom HTTPClient for a request.
func NewListServiceAccountAPIKeysParamsWithTimeout ¶
func NewListServiceAccountAPIKeysParamsWithTimeout(timeout time.Duration) *ListServiceAccountAPIKeysParams
NewListServiceAccountAPIKeysParamsWithTimeout creates a new ListServiceAccountAPIKeysParams object with the ability to set a timeout on a request.
func (*ListServiceAccountAPIKeysParams) SetContext ¶
func (o *ListServiceAccountAPIKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) SetDefaults ¶
func (o *ListServiceAccountAPIKeysParams) SetDefaults()
SetDefaults hydrates default values in the list service account api keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceAccountAPIKeysParams) SetHTTPClient ¶
func (o *ListServiceAccountAPIKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) SetOrgName ¶
func (o *ListServiceAccountAPIKeysParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) SetServiceAccountName ¶
func (o *ListServiceAccountAPIKeysParams) SetServiceAccountName(serviceAccountName string)
SetServiceAccountName adds the serviceAccountName to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) SetTimeout ¶
func (o *ListServiceAccountAPIKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) WithContext ¶
func (o *ListServiceAccountAPIKeysParams) WithContext(ctx context.Context) *ListServiceAccountAPIKeysParams
WithContext adds the context to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) WithDefaults ¶
func (o *ListServiceAccountAPIKeysParams) WithDefaults() *ListServiceAccountAPIKeysParams
WithDefaults hydrates default values in the list service account api keys params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceAccountAPIKeysParams) WithHTTPClient ¶
func (o *ListServiceAccountAPIKeysParams) WithHTTPClient(client *http.Client) *ListServiceAccountAPIKeysParams
WithHTTPClient adds the HTTPClient to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) WithOrgName ¶
func (o *ListServiceAccountAPIKeysParams) WithOrgName(orgName string) *ListServiceAccountAPIKeysParams
WithOrgName adds the orgName to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) WithServiceAccountName ¶
func (o *ListServiceAccountAPIKeysParams) WithServiceAccountName(serviceAccountName string) *ListServiceAccountAPIKeysParams
WithServiceAccountName adds the serviceAccountName to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) WithTimeout ¶
func (o *ListServiceAccountAPIKeysParams) WithTimeout(timeout time.Duration) *ListServiceAccountAPIKeysParams
WithTimeout adds the timeout to the list service account api keys params
func (*ListServiceAccountAPIKeysParams) WriteToRequest ¶
func (o *ListServiceAccountAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServiceAccountAPIKeysReader ¶
type ListServiceAccountAPIKeysReader struct {
// contains filtered or unexported fields
}
ListServiceAccountAPIKeysReader is a Reader for the ListServiceAccountAPIKeys structure.
func (*ListServiceAccountAPIKeysReader) ReadResponse ¶
func (o *ListServiceAccountAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.