Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateKeyGroup(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, *CreateKeyGroupConflict, ...)deprecated
- func (a *Client) CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error)
- func (a *Client) GetKeyGroup(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, *GetKeyGroupNotFound, error)deprecated
- func (a *Client) GetKeyGroupByBoothName(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, *GetKeyGroupByBoothNameNotFound, error)deprecated
- func (a *Client) GetKeyGroupByBoothNameShort(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, error)
- func (a *Client) GetKeyGroupDynamic(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, *GetKeyGroupDynamicNotFound, error)deprecated
- func (a *Client) GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error)
- func (a *Client) GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error)
- func (a *Client) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)deprecated
- func (a *Client) ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
- func (a *Client) QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)deprecated
- func (a *Client) QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateKeyGroup(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, *UpdateKeyGroupNotFound, *UpdateKeyGroupConflict, ...)deprecated
- func (a *Client) UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error)
- func (a *Client) UploadKeys(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, *UploadKeysBadRequest, *UploadKeysNotFound, error)deprecated
- func (a *Client) UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, error)
- type ClientService
- type CreateKeyGroupConflict
- type CreateKeyGroupCreated
- type CreateKeyGroupParams
- func NewCreateKeyGroupParams() *CreateKeyGroupParams
- func NewCreateKeyGroupParamsWithContext(ctx context.Context) *CreateKeyGroupParams
- func NewCreateKeyGroupParamsWithHTTPClient(client *http.Client) *CreateKeyGroupParams
- func NewCreateKeyGroupParamsWithTimeout(timeout time.Duration) *CreateKeyGroupParams
- func (o *CreateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateKeyGroupParams) SetBody(body *platformclientmodels.KeyGroupCreate)
- func (o *CreateKeyGroupParams) SetContext(ctx context.Context)
- func (o *CreateKeyGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateKeyGroupParams) SetNamespace(namespace string)
- func (o *CreateKeyGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateKeyGroupParams) WithBody(body *platformclientmodels.KeyGroupCreate) *CreateKeyGroupParams
- func (o *CreateKeyGroupParams) WithContext(ctx context.Context) *CreateKeyGroupParams
- func (o *CreateKeyGroupParams) WithHTTPClient(client *http.Client) *CreateKeyGroupParams
- func (o *CreateKeyGroupParams) WithNamespace(namespace string) *CreateKeyGroupParams
- func (o *CreateKeyGroupParams) WithTimeout(timeout time.Duration) *CreateKeyGroupParams
- func (o *CreateKeyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateKeyGroupReader
- type CreateKeyGroupUnprocessableEntity
- type GetKeyGroupByBoothNameNotFound
- type GetKeyGroupByBoothNameOK
- type GetKeyGroupByBoothNameParams
- func NewGetKeyGroupByBoothNameParams() *GetKeyGroupByBoothNameParams
- func NewGetKeyGroupByBoothNameParamsWithContext(ctx context.Context) *GetKeyGroupByBoothNameParams
- func NewGetKeyGroupByBoothNameParamsWithHTTPClient(client *http.Client) *GetKeyGroupByBoothNameParams
- func NewGetKeyGroupByBoothNameParamsWithTimeout(timeout time.Duration) *GetKeyGroupByBoothNameParams
- func (o *GetKeyGroupByBoothNameParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetKeyGroupByBoothNameParams) SetBoothName(boothName string)
- func (o *GetKeyGroupByBoothNameParams) SetContext(ctx context.Context)
- func (o *GetKeyGroupByBoothNameParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyGroupByBoothNameParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetKeyGroupByBoothNameParams) SetNamespace(namespace string)
- func (o *GetKeyGroupByBoothNameParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyGroupByBoothNameParams) WithBoothName(boothName string) *GetKeyGroupByBoothNameParams
- func (o *GetKeyGroupByBoothNameParams) WithContext(ctx context.Context) *GetKeyGroupByBoothNameParams
- func (o *GetKeyGroupByBoothNameParams) WithHTTPClient(client *http.Client) *GetKeyGroupByBoothNameParams
- func (o *GetKeyGroupByBoothNameParams) WithNamespace(namespace string) *GetKeyGroupByBoothNameParams
- func (o *GetKeyGroupByBoothNameParams) WithTimeout(timeout time.Duration) *GetKeyGroupByBoothNameParams
- func (o *GetKeyGroupByBoothNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeyGroupByBoothNameReader
- type GetKeyGroupDynamicNotFound
- type GetKeyGroupDynamicOK
- type GetKeyGroupDynamicParams
- func NewGetKeyGroupDynamicParams() *GetKeyGroupDynamicParams
- func NewGetKeyGroupDynamicParamsWithContext(ctx context.Context) *GetKeyGroupDynamicParams
- func NewGetKeyGroupDynamicParamsWithHTTPClient(client *http.Client) *GetKeyGroupDynamicParams
- func NewGetKeyGroupDynamicParamsWithTimeout(timeout time.Duration) *GetKeyGroupDynamicParams
- func (o *GetKeyGroupDynamicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetKeyGroupDynamicParams) SetContext(ctx context.Context)
- func (o *GetKeyGroupDynamicParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyGroupDynamicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetKeyGroupDynamicParams) SetKeyGroupID(keyGroupID string)
- func (o *GetKeyGroupDynamicParams) SetNamespace(namespace string)
- func (o *GetKeyGroupDynamicParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyGroupDynamicParams) WithContext(ctx context.Context) *GetKeyGroupDynamicParams
- func (o *GetKeyGroupDynamicParams) WithHTTPClient(client *http.Client) *GetKeyGroupDynamicParams
- func (o *GetKeyGroupDynamicParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupDynamicParams
- func (o *GetKeyGroupDynamicParams) WithNamespace(namespace string) *GetKeyGroupDynamicParams
- func (o *GetKeyGroupDynamicParams) WithTimeout(timeout time.Duration) *GetKeyGroupDynamicParams
- func (o *GetKeyGroupDynamicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeyGroupDynamicReader
- type GetKeyGroupNotFound
- type GetKeyGroupOK
- type GetKeyGroupParams
- func (o *GetKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetKeyGroupParams) SetContext(ctx context.Context)
- func (o *GetKeyGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetKeyGroupParams) SetKeyGroupID(keyGroupID string)
- func (o *GetKeyGroupParams) SetNamespace(namespace string)
- func (o *GetKeyGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyGroupParams) WithContext(ctx context.Context) *GetKeyGroupParams
- func (o *GetKeyGroupParams) WithHTTPClient(client *http.Client) *GetKeyGroupParams
- func (o *GetKeyGroupParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupParams
- func (o *GetKeyGroupParams) WithNamespace(namespace string) *GetKeyGroupParams
- func (o *GetKeyGroupParams) WithTimeout(timeout time.Duration) *GetKeyGroupParams
- func (o *GetKeyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeyGroupReader
- type ListKeysOK
- type ListKeysParams
- func (o *ListKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListKeysParams) SetContext(ctx context.Context)
- func (o *ListKeysParams) SetHTTPClient(client *http.Client)
- func (o *ListKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListKeysParams) SetKeyGroupID(keyGroupID string)
- func (o *ListKeysParams) SetLimit(limit *int32)
- func (o *ListKeysParams) SetNamespace(namespace string)
- func (o *ListKeysParams) SetOffset(offset *int32)
- func (o *ListKeysParams) SetStatus(status *string)
- func (o *ListKeysParams) SetTimeout(timeout time.Duration)
- func (o *ListKeysParams) WithContext(ctx context.Context) *ListKeysParams
- func (o *ListKeysParams) WithHTTPClient(client *http.Client) *ListKeysParams
- func (o *ListKeysParams) WithKeyGroupID(keyGroupID string) *ListKeysParams
- func (o *ListKeysParams) WithLimit(limit *int32) *ListKeysParams
- func (o *ListKeysParams) WithNamespace(namespace string) *ListKeysParams
- func (o *ListKeysParams) WithOffset(offset *int32) *ListKeysParams
- func (o *ListKeysParams) WithStatus(status *string) *ListKeysParams
- func (o *ListKeysParams) WithTimeout(timeout time.Duration) *ListKeysParams
- func (o *ListKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKeysReader
- type QueryKeyGroupsOK
- type QueryKeyGroupsParams
- func NewQueryKeyGroupsParams() *QueryKeyGroupsParams
- func NewQueryKeyGroupsParamsWithContext(ctx context.Context) *QueryKeyGroupsParams
- func NewQueryKeyGroupsParamsWithHTTPClient(client *http.Client) *QueryKeyGroupsParams
- func NewQueryKeyGroupsParamsWithTimeout(timeout time.Duration) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryKeyGroupsParams) SetContext(ctx context.Context)
- func (o *QueryKeyGroupsParams) SetHTTPClient(client *http.Client)
- func (o *QueryKeyGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryKeyGroupsParams) SetLimit(limit *int32)
- func (o *QueryKeyGroupsParams) SetName(name *string)
- func (o *QueryKeyGroupsParams) SetNamespace(namespace string)
- func (o *QueryKeyGroupsParams) SetOffset(offset *int32)
- func (o *QueryKeyGroupsParams) SetTag(tag *string)
- func (o *QueryKeyGroupsParams) SetTimeout(timeout time.Duration)
- func (o *QueryKeyGroupsParams) WithContext(ctx context.Context) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithHTTPClient(client *http.Client) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithLimit(limit *int32) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithName(name *string) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithNamespace(namespace string) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithOffset(offset *int32) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithTag(tag *string) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WithTimeout(timeout time.Duration) *QueryKeyGroupsParams
- func (o *QueryKeyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryKeyGroupsReader
- type UpdateKeyGroupConflict
- type UpdateKeyGroupNotFound
- type UpdateKeyGroupOK
- type UpdateKeyGroupParams
- func NewUpdateKeyGroupParams() *UpdateKeyGroupParams
- func NewUpdateKeyGroupParamsWithContext(ctx context.Context) *UpdateKeyGroupParams
- func NewUpdateKeyGroupParamsWithHTTPClient(client *http.Client) *UpdateKeyGroupParams
- func NewUpdateKeyGroupParamsWithTimeout(timeout time.Duration) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateKeyGroupParams) SetBody(body *platformclientmodels.KeyGroupUpdate)
- func (o *UpdateKeyGroupParams) SetContext(ctx context.Context)
- func (o *UpdateKeyGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateKeyGroupParams) SetKeyGroupID(keyGroupID string)
- func (o *UpdateKeyGroupParams) SetNamespace(namespace string)
- func (o *UpdateKeyGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateKeyGroupParams) WithBody(body *platformclientmodels.KeyGroupUpdate) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) WithContext(ctx context.Context) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) WithHTTPClient(client *http.Client) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) WithKeyGroupID(keyGroupID string) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) WithNamespace(namespace string) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) WithTimeout(timeout time.Duration) *UpdateKeyGroupParams
- func (o *UpdateKeyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateKeyGroupReader
- type UpdateKeyGroupUnprocessableEntity
- type UploadKeysBadRequest
- type UploadKeysNotFound
- type UploadKeysOK
- type UploadKeysParams
- func (o *UploadKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UploadKeysParams) SetContext(ctx context.Context)
- func (o *UploadKeysParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadKeysParams) SetHTTPClient(client *http.Client)
- func (o *UploadKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UploadKeysParams) SetKeyGroupID(keyGroupID string)
- func (o *UploadKeysParams) SetNamespace(namespace string)
- func (o *UploadKeysParams) SetTimeout(timeout time.Duration)
- func (o *UploadKeysParams) WithContext(ctx context.Context) *UploadKeysParams
- func (o *UploadKeysParams) WithFile(file runtime.NamedReadCloser) *UploadKeysParams
- func (o *UploadKeysParams) WithHTTPClient(client *http.Client) *UploadKeysParams
- func (o *UploadKeysParams) WithKeyGroupID(keyGroupID string) *UploadKeysParams
- func (o *UploadKeysParams) WithNamespace(namespace string) *UploadKeysParams
- func (o *UploadKeysParams) WithTimeout(timeout time.Duration) *UploadKeysParams
- func (o *UploadKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadKeysReader
Constants ¶
const ( ListKeysACQUIREDConstant = "ACQUIRED" ListKeysACTIVEConstant = "ACTIVE" )
Get the enum in ListKeysParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for key group API
func (*Client) CreateKeyGroup
deprecated
func (a *Client) CreateKeyGroup(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, *CreateKeyGroupConflict, *CreateKeyGroupUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreateKeyGroupShort instead.
CreateKeyGroup create key group Create key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=1 (CREATE)
- Returns : created key group
func (*Client) CreateKeyGroupShort ¶ added in v0.8.0
func (a *Client) CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error)
CreateKeyGroupShort create key group Create key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=1 (CREATE)
- Returns : created key group
func (*Client) GetKeyGroup
deprecated
func (a *Client) GetKeyGroup(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, *GetKeyGroupNotFound, error)
Deprecated: 2022-08-10 - Use GetKeyGroupShort instead.
GetKeyGroup get key group Get key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : key group info
func (*Client) GetKeyGroupByBoothName
deprecated
added in
v0.29.0
func (a *Client) GetKeyGroupByBoothName(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, *GetKeyGroupByBoothNameNotFound, error)
Deprecated: 2022-08-10 - Use GetKeyGroupByBoothNameShort instead.
GetKeyGroupByBoothName get key group by booth name Get key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : key group info
func (*Client) GetKeyGroupByBoothNameShort ¶ added in v0.29.0
func (a *Client) GetKeyGroupByBoothNameShort(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, error)
GetKeyGroupByBoothNameShort get key group by booth name Get key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : key group info
func (*Client) GetKeyGroupDynamic
deprecated
func (a *Client) GetKeyGroupDynamic(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, *GetKeyGroupDynamicNotFound, error)
Deprecated: 2022-08-10 - Use GetKeyGroupDynamicShort instead.
GetKeyGroupDynamic get key group dynamic Get key group dynamic. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : key group info
func (*Client) GetKeyGroupDynamicShort ¶ added in v0.8.0
func (a *Client) GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error)
GetKeyGroupDynamicShort get key group dynamic Get key group dynamic. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : key group info
func (*Client) GetKeyGroupShort ¶ added in v0.8.0
func (a *Client) GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error)
GetKeyGroupShort get key group Get key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : key group info
func (*Client) ListKeys
deprecated
func (a *Client) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
Deprecated: 2022-08-10 - Use ListKeysShort instead.
ListKeys list keys of a key group This API is used to list keys of a key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : keys
func (*Client) ListKeysShort ¶ added in v0.8.0
func (a *Client) ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error)
ListKeysShort list keys of a key group This API is used to list keys of a key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : keys
func (*Client) QueryKeyGroups
deprecated
func (a *Client) QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
Deprecated: 2022-08-10 - Use QueryKeyGroupsShort instead.
QueryKeyGroups query key groups Query key groups, if name is presented, it's fuzzy match. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : slice of key group
func (*Client) QueryKeyGroupsShort ¶ added in v0.8.0
func (a *Client) QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error)
QueryKeyGroupsShort query key groups Query key groups, if name is presented, it's fuzzy match. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=2 (READ)
- Returns : slice of key group
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateKeyGroup
deprecated
func (a *Client) UpdateKeyGroup(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, *UpdateKeyGroupNotFound, *UpdateKeyGroupConflict, *UpdateKeyGroupUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use UpdateKeyGroupShort instead.
UpdateKeyGroup update key group Update key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=4 (UPDATE)
- Returns : updated key group
func (*Client) UpdateKeyGroupShort ¶ added in v0.8.0
func (a *Client) UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error)
UpdateKeyGroupShort update key group Update key group. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=4 (UPDATE)
- Returns : updated key group
func (*Client) UploadKeys
deprecated
func (a *Client) UploadKeys(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, *UploadKeysBadRequest, *UploadKeysNotFound, error)
Deprecated: 2022-08-10 - Use UploadKeysShort instead.
UploadKeys upload keys to key group This API is used to upload keys with csv format to a key group.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=4 (UPDATE)
- Returns : item data
func (*Client) UploadKeysShort ¶ added in v0.8.0
func (a *Client) UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, error)
UploadKeysShort upload keys to key group This API is used to upload keys with csv format to a key group.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:KEYGROUP", action=4 (UPDATE)
- Returns : item data
type ClientService ¶
type ClientService interface { QueryKeyGroups(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error) QueryKeyGroupsShort(params *QueryKeyGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryKeyGroupsOK, error) CreateKeyGroup(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, *CreateKeyGroupConflict, *CreateKeyGroupUnprocessableEntity, error) CreateKeyGroupShort(params *CreateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateKeyGroupCreated, error) GetKeyGroupByBoothName(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, *GetKeyGroupByBoothNameNotFound, error) GetKeyGroupByBoothNameShort(params *GetKeyGroupByBoothNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupByBoothNameOK, error) GetKeyGroup(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, *GetKeyGroupNotFound, error) GetKeyGroupShort(params *GetKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupOK, error) UpdateKeyGroup(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, *UpdateKeyGroupNotFound, *UpdateKeyGroupConflict, *UpdateKeyGroupUnprocessableEntity, error) UpdateKeyGroupShort(params *UpdateKeyGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateKeyGroupOK, error) GetKeyGroupDynamic(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, *GetKeyGroupDynamicNotFound, error) GetKeyGroupDynamicShort(params *GetKeyGroupDynamicParams, authInfo runtime.ClientAuthInfoWriter) (*GetKeyGroupDynamicOK, error) ListKeys(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error) ListKeysShort(params *ListKeysParams, authInfo runtime.ClientAuthInfoWriter) (*ListKeysOK, error) UploadKeys(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, *UploadKeysBadRequest, *UploadKeysNotFound, error) UploadKeysShort(params *UploadKeysParams, authInfo runtime.ClientAuthInfoWriter) (*UploadKeysOK, 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 key group API client.
type CreateKeyGroupConflict ¶
type CreateKeyGroupConflict struct {
Payload *platformclientmodels.ErrorEntity
}
CreateKeyGroupConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37271</td><td>Key group [{name}] already exists in namespace [{namespace}]</td></tr></table>
func NewCreateKeyGroupConflict ¶
func NewCreateKeyGroupConflict() *CreateKeyGroupConflict
NewCreateKeyGroupConflict creates a CreateKeyGroupConflict with default headers values
func (*CreateKeyGroupConflict) Error ¶
func (o *CreateKeyGroupConflict) Error() string
func (*CreateKeyGroupConflict) GetPayload ¶
func (o *CreateKeyGroupConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*CreateKeyGroupConflict) ToJSONString ¶ added in v0.25.0
func (o *CreateKeyGroupConflict) ToJSONString() string
type CreateKeyGroupCreated ¶
type CreateKeyGroupCreated struct {
Payload *platformclientmodels.KeyGroupInfo
}
CreateKeyGroupCreated handles this case with default header values.
successful operation
func NewCreateKeyGroupCreated ¶
func NewCreateKeyGroupCreated() *CreateKeyGroupCreated
NewCreateKeyGroupCreated creates a CreateKeyGroupCreated with default headers values
func (*CreateKeyGroupCreated) Error ¶
func (o *CreateKeyGroupCreated) Error() string
func (*CreateKeyGroupCreated) GetPayload ¶
func (o *CreateKeyGroupCreated) GetPayload() *platformclientmodels.KeyGroupInfo
func (*CreateKeyGroupCreated) ToJSONString ¶ added in v0.25.0
func (o *CreateKeyGroupCreated) ToJSONString() string
type CreateKeyGroupParams ¶
type CreateKeyGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.KeyGroupCreate /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateKeyGroupParams contains all the parameters to send to the API endpoint for the create key group operation typically these are written to a http.Request
func NewCreateKeyGroupParams ¶
func NewCreateKeyGroupParams() *CreateKeyGroupParams
NewCreateKeyGroupParams creates a new CreateKeyGroupParams object with the default values initialized.
func NewCreateKeyGroupParamsWithContext ¶
func NewCreateKeyGroupParamsWithContext(ctx context.Context) *CreateKeyGroupParams
NewCreateKeyGroupParamsWithContext creates a new CreateKeyGroupParams object with the default values initialized, and the ability to set a context for a request
func NewCreateKeyGroupParamsWithHTTPClient ¶
func NewCreateKeyGroupParamsWithHTTPClient(client *http.Client) *CreateKeyGroupParams
NewCreateKeyGroupParamsWithHTTPClient creates a new CreateKeyGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateKeyGroupParamsWithTimeout ¶
func NewCreateKeyGroupParamsWithTimeout(timeout time.Duration) *CreateKeyGroupParams
NewCreateKeyGroupParamsWithTimeout creates a new CreateKeyGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateKeyGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create key group params
func (*CreateKeyGroupParams) SetBody ¶
func (o *CreateKeyGroupParams) SetBody(body *platformclientmodels.KeyGroupCreate)
SetBody adds the body to the create key group params
func (*CreateKeyGroupParams) SetContext ¶
func (o *CreateKeyGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create key group params
func (*CreateKeyGroupParams) SetHTTPClient ¶
func (o *CreateKeyGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create key group params
func (*CreateKeyGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create key group params
func (*CreateKeyGroupParams) SetNamespace ¶
func (o *CreateKeyGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create key group params
func (*CreateKeyGroupParams) SetTimeout ¶
func (o *CreateKeyGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create key group params
func (*CreateKeyGroupParams) WithBody ¶
func (o *CreateKeyGroupParams) WithBody(body *platformclientmodels.KeyGroupCreate) *CreateKeyGroupParams
WithBody adds the body to the create key group params
func (*CreateKeyGroupParams) WithContext ¶
func (o *CreateKeyGroupParams) WithContext(ctx context.Context) *CreateKeyGroupParams
WithContext adds the context to the create key group params
func (*CreateKeyGroupParams) WithHTTPClient ¶
func (o *CreateKeyGroupParams) WithHTTPClient(client *http.Client) *CreateKeyGroupParams
WithHTTPClient adds the HTTPClient to the create key group params
func (*CreateKeyGroupParams) WithNamespace ¶
func (o *CreateKeyGroupParams) WithNamespace(namespace string) *CreateKeyGroupParams
WithNamespace adds the namespace to the create key group params
func (*CreateKeyGroupParams) WithTimeout ¶
func (o *CreateKeyGroupParams) WithTimeout(timeout time.Duration) *CreateKeyGroupParams
WithTimeout adds the timeout to the create key group params
func (*CreateKeyGroupParams) WriteToRequest ¶
func (o *CreateKeyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateKeyGroupReader ¶
type CreateKeyGroupReader struct {
// contains filtered or unexported fields
}
CreateKeyGroupReader is a Reader for the CreateKeyGroup structure.
func (*CreateKeyGroupReader) ReadResponse ¶
func (o *CreateKeyGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateKeyGroupUnprocessableEntity ¶
type CreateKeyGroupUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
CreateKeyGroupUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCreateKeyGroupUnprocessableEntity ¶
func NewCreateKeyGroupUnprocessableEntity() *CreateKeyGroupUnprocessableEntity
NewCreateKeyGroupUnprocessableEntity creates a CreateKeyGroupUnprocessableEntity with default headers values
func (*CreateKeyGroupUnprocessableEntity) Error ¶
func (o *CreateKeyGroupUnprocessableEntity) Error() string
func (*CreateKeyGroupUnprocessableEntity) GetPayload ¶
func (o *CreateKeyGroupUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*CreateKeyGroupUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CreateKeyGroupUnprocessableEntity) ToJSONString() string
type GetKeyGroupByBoothNameNotFound ¶ added in v0.29.0
type GetKeyGroupByBoothNameNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetKeyGroupByBoothNameNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37041</td><td>Ticket booth [{boothName}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetKeyGroupByBoothNameNotFound ¶ added in v0.29.0
func NewGetKeyGroupByBoothNameNotFound() *GetKeyGroupByBoothNameNotFound
NewGetKeyGroupByBoothNameNotFound creates a GetKeyGroupByBoothNameNotFound with default headers values
func (*GetKeyGroupByBoothNameNotFound) Error ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameNotFound) Error() string
func (*GetKeyGroupByBoothNameNotFound) GetPayload ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetKeyGroupByBoothNameNotFound) ToJSONString ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameNotFound) ToJSONString() string
type GetKeyGroupByBoothNameOK ¶ added in v0.29.0
type GetKeyGroupByBoothNameOK struct {
Payload *platformclientmodels.KeyGroupInfo
}
GetKeyGroupByBoothNameOK handles this case with default header values.
successful operation
func NewGetKeyGroupByBoothNameOK ¶ added in v0.29.0
func NewGetKeyGroupByBoothNameOK() *GetKeyGroupByBoothNameOK
NewGetKeyGroupByBoothNameOK creates a GetKeyGroupByBoothNameOK with default headers values
func (*GetKeyGroupByBoothNameOK) Error ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameOK) Error() string
func (*GetKeyGroupByBoothNameOK) GetPayload ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameOK) GetPayload() *platformclientmodels.KeyGroupInfo
func (*GetKeyGroupByBoothNameOK) ToJSONString ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameOK) ToJSONString() string
type GetKeyGroupByBoothNameParams ¶ added in v0.29.0
type GetKeyGroupByBoothNameParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*BoothName*/ BoothName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKeyGroupByBoothNameParams contains all the parameters to send to the API endpoint for the get key group by booth name operation typically these are written to a http.Request
func NewGetKeyGroupByBoothNameParams ¶ added in v0.29.0
func NewGetKeyGroupByBoothNameParams() *GetKeyGroupByBoothNameParams
NewGetKeyGroupByBoothNameParams creates a new GetKeyGroupByBoothNameParams object with the default values initialized.
func NewGetKeyGroupByBoothNameParamsWithContext ¶ added in v0.29.0
func NewGetKeyGroupByBoothNameParamsWithContext(ctx context.Context) *GetKeyGroupByBoothNameParams
NewGetKeyGroupByBoothNameParamsWithContext creates a new GetKeyGroupByBoothNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetKeyGroupByBoothNameParamsWithHTTPClient ¶ added in v0.29.0
func NewGetKeyGroupByBoothNameParamsWithHTTPClient(client *http.Client) *GetKeyGroupByBoothNameParams
NewGetKeyGroupByBoothNameParamsWithHTTPClient creates a new GetKeyGroupByBoothNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetKeyGroupByBoothNameParamsWithTimeout ¶ added in v0.29.0
func NewGetKeyGroupByBoothNameParamsWithTimeout(timeout time.Duration) *GetKeyGroupByBoothNameParams
NewGetKeyGroupByBoothNameParamsWithTimeout creates a new GetKeyGroupByBoothNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetKeyGroupByBoothNameParams) SetAuthInfoWriter ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) SetBoothName ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetBoothName(boothName string)
SetBoothName adds the boothName to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) SetContext ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) SetHTTPClient ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) SetHTTPClientTransport ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) SetNamespace ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) SetTimeout ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) WithBoothName ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) WithBoothName(boothName string) *GetKeyGroupByBoothNameParams
WithBoothName adds the boothName to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) WithContext ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) WithContext(ctx context.Context) *GetKeyGroupByBoothNameParams
WithContext adds the context to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) WithHTTPClient ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) WithHTTPClient(client *http.Client) *GetKeyGroupByBoothNameParams
WithHTTPClient adds the HTTPClient to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) WithNamespace ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) WithNamespace(namespace string) *GetKeyGroupByBoothNameParams
WithNamespace adds the namespace to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) WithTimeout ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) WithTimeout(timeout time.Duration) *GetKeyGroupByBoothNameParams
WithTimeout adds the timeout to the get key group by booth name params
func (*GetKeyGroupByBoothNameParams) WriteToRequest ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKeyGroupByBoothNameReader ¶ added in v0.29.0
type GetKeyGroupByBoothNameReader struct {
// contains filtered or unexported fields
}
GetKeyGroupByBoothNameReader is a Reader for the GetKeyGroupByBoothName structure.
func (*GetKeyGroupByBoothNameReader) ReadResponse ¶ added in v0.29.0
func (o *GetKeyGroupByBoothNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKeyGroupDynamicNotFound ¶
type GetKeyGroupDynamicNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetKeyGroupDynamicNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetKeyGroupDynamicNotFound ¶
func NewGetKeyGroupDynamicNotFound() *GetKeyGroupDynamicNotFound
NewGetKeyGroupDynamicNotFound creates a GetKeyGroupDynamicNotFound with default headers values
func (*GetKeyGroupDynamicNotFound) Error ¶
func (o *GetKeyGroupDynamicNotFound) Error() string
func (*GetKeyGroupDynamicNotFound) GetPayload ¶
func (o *GetKeyGroupDynamicNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetKeyGroupDynamicNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetKeyGroupDynamicNotFound) ToJSONString() string
type GetKeyGroupDynamicOK ¶
type GetKeyGroupDynamicOK struct {
Payload *platformclientmodels.KeyGroupDynamicInfo
}
GetKeyGroupDynamicOK handles this case with default header values.
successful operation
func NewGetKeyGroupDynamicOK ¶
func NewGetKeyGroupDynamicOK() *GetKeyGroupDynamicOK
NewGetKeyGroupDynamicOK creates a GetKeyGroupDynamicOK with default headers values
func (*GetKeyGroupDynamicOK) Error ¶
func (o *GetKeyGroupDynamicOK) Error() string
func (*GetKeyGroupDynamicOK) GetPayload ¶
func (o *GetKeyGroupDynamicOK) GetPayload() *platformclientmodels.KeyGroupDynamicInfo
func (*GetKeyGroupDynamicOK) ToJSONString ¶ added in v0.25.0
func (o *GetKeyGroupDynamicOK) ToJSONString() string
type GetKeyGroupDynamicParams ¶
type GetKeyGroupDynamicParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*KeyGroupID*/ KeyGroupID string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKeyGroupDynamicParams contains all the parameters to send to the API endpoint for the get key group dynamic operation typically these are written to a http.Request
func NewGetKeyGroupDynamicParams ¶
func NewGetKeyGroupDynamicParams() *GetKeyGroupDynamicParams
NewGetKeyGroupDynamicParams creates a new GetKeyGroupDynamicParams object with the default values initialized.
func NewGetKeyGroupDynamicParamsWithContext ¶
func NewGetKeyGroupDynamicParamsWithContext(ctx context.Context) *GetKeyGroupDynamicParams
NewGetKeyGroupDynamicParamsWithContext creates a new GetKeyGroupDynamicParams object with the default values initialized, and the ability to set a context for a request
func NewGetKeyGroupDynamicParamsWithHTTPClient ¶
func NewGetKeyGroupDynamicParamsWithHTTPClient(client *http.Client) *GetKeyGroupDynamicParams
NewGetKeyGroupDynamicParamsWithHTTPClient creates a new GetKeyGroupDynamicParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetKeyGroupDynamicParamsWithTimeout ¶
func NewGetKeyGroupDynamicParamsWithTimeout(timeout time.Duration) *GetKeyGroupDynamicParams
NewGetKeyGroupDynamicParamsWithTimeout creates a new GetKeyGroupDynamicParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetKeyGroupDynamicParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetKeyGroupDynamicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get key group dynamic params
func (*GetKeyGroupDynamicParams) SetContext ¶
func (o *GetKeyGroupDynamicParams) SetContext(ctx context.Context)
SetContext adds the context to the get key group dynamic params
func (*GetKeyGroupDynamicParams) SetHTTPClient ¶
func (o *GetKeyGroupDynamicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get key group dynamic params
func (*GetKeyGroupDynamicParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetKeyGroupDynamicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get key group dynamic params
func (*GetKeyGroupDynamicParams) SetKeyGroupID ¶
func (o *GetKeyGroupDynamicParams) SetKeyGroupID(keyGroupID string)
SetKeyGroupID adds the keyGroupId to the get key group dynamic params
func (*GetKeyGroupDynamicParams) SetNamespace ¶
func (o *GetKeyGroupDynamicParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get key group dynamic params
func (*GetKeyGroupDynamicParams) SetTimeout ¶
func (o *GetKeyGroupDynamicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get key group dynamic params
func (*GetKeyGroupDynamicParams) WithContext ¶
func (o *GetKeyGroupDynamicParams) WithContext(ctx context.Context) *GetKeyGroupDynamicParams
WithContext adds the context to the get key group dynamic params
func (*GetKeyGroupDynamicParams) WithHTTPClient ¶
func (o *GetKeyGroupDynamicParams) WithHTTPClient(client *http.Client) *GetKeyGroupDynamicParams
WithHTTPClient adds the HTTPClient to the get key group dynamic params
func (*GetKeyGroupDynamicParams) WithKeyGroupID ¶
func (o *GetKeyGroupDynamicParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupDynamicParams
WithKeyGroupID adds the keyGroupID to the get key group dynamic params
func (*GetKeyGroupDynamicParams) WithNamespace ¶
func (o *GetKeyGroupDynamicParams) WithNamespace(namespace string) *GetKeyGroupDynamicParams
WithNamespace adds the namespace to the get key group dynamic params
func (*GetKeyGroupDynamicParams) WithTimeout ¶
func (o *GetKeyGroupDynamicParams) WithTimeout(timeout time.Duration) *GetKeyGroupDynamicParams
WithTimeout adds the timeout to the get key group dynamic params
func (*GetKeyGroupDynamicParams) WriteToRequest ¶
func (o *GetKeyGroupDynamicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKeyGroupDynamicReader ¶
type GetKeyGroupDynamicReader struct {
// contains filtered or unexported fields
}
GetKeyGroupDynamicReader is a Reader for the GetKeyGroupDynamic structure.
func (*GetKeyGroupDynamicReader) ReadResponse ¶
func (o *GetKeyGroupDynamicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKeyGroupNotFound ¶
type GetKeyGroupNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetKeyGroupNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetKeyGroupNotFound ¶
func NewGetKeyGroupNotFound() *GetKeyGroupNotFound
NewGetKeyGroupNotFound creates a GetKeyGroupNotFound with default headers values
func (*GetKeyGroupNotFound) Error ¶
func (o *GetKeyGroupNotFound) Error() string
func (*GetKeyGroupNotFound) GetPayload ¶
func (o *GetKeyGroupNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetKeyGroupNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetKeyGroupNotFound) ToJSONString() string
type GetKeyGroupOK ¶
type GetKeyGroupOK struct {
Payload *platformclientmodels.KeyGroupInfo
}
GetKeyGroupOK handles this case with default header values.
successful operation
func NewGetKeyGroupOK ¶
func NewGetKeyGroupOK() *GetKeyGroupOK
NewGetKeyGroupOK creates a GetKeyGroupOK with default headers values
func (*GetKeyGroupOK) Error ¶
func (o *GetKeyGroupOK) Error() string
func (*GetKeyGroupOK) GetPayload ¶
func (o *GetKeyGroupOK) GetPayload() *platformclientmodels.KeyGroupInfo
func (*GetKeyGroupOK) ToJSONString ¶ added in v0.25.0
func (o *GetKeyGroupOK) ToJSONString() string
type GetKeyGroupParams ¶
type GetKeyGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*KeyGroupID*/ KeyGroupID string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKeyGroupParams contains all the parameters to send to the API endpoint for the get key group operation typically these are written to a http.Request
func NewGetKeyGroupParams ¶
func NewGetKeyGroupParams() *GetKeyGroupParams
NewGetKeyGroupParams creates a new GetKeyGroupParams object with the default values initialized.
func NewGetKeyGroupParamsWithContext ¶
func NewGetKeyGroupParamsWithContext(ctx context.Context) *GetKeyGroupParams
NewGetKeyGroupParamsWithContext creates a new GetKeyGroupParams object with the default values initialized, and the ability to set a context for a request
func NewGetKeyGroupParamsWithHTTPClient ¶
func NewGetKeyGroupParamsWithHTTPClient(client *http.Client) *GetKeyGroupParams
NewGetKeyGroupParamsWithHTTPClient creates a new GetKeyGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetKeyGroupParamsWithTimeout ¶
func NewGetKeyGroupParamsWithTimeout(timeout time.Duration) *GetKeyGroupParams
NewGetKeyGroupParamsWithTimeout creates a new GetKeyGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetKeyGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get key group params
func (*GetKeyGroupParams) SetContext ¶
func (o *GetKeyGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get key group params
func (*GetKeyGroupParams) SetHTTPClient ¶
func (o *GetKeyGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get key group params
func (*GetKeyGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get key group params
func (*GetKeyGroupParams) SetKeyGroupID ¶
func (o *GetKeyGroupParams) SetKeyGroupID(keyGroupID string)
SetKeyGroupID adds the keyGroupId to the get key group params
func (*GetKeyGroupParams) SetNamespace ¶
func (o *GetKeyGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get key group params
func (*GetKeyGroupParams) SetTimeout ¶
func (o *GetKeyGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get key group params
func (*GetKeyGroupParams) WithContext ¶
func (o *GetKeyGroupParams) WithContext(ctx context.Context) *GetKeyGroupParams
WithContext adds the context to the get key group params
func (*GetKeyGroupParams) WithHTTPClient ¶
func (o *GetKeyGroupParams) WithHTTPClient(client *http.Client) *GetKeyGroupParams
WithHTTPClient adds the HTTPClient to the get key group params
func (*GetKeyGroupParams) WithKeyGroupID ¶
func (o *GetKeyGroupParams) WithKeyGroupID(keyGroupID string) *GetKeyGroupParams
WithKeyGroupID adds the keyGroupID to the get key group params
func (*GetKeyGroupParams) WithNamespace ¶
func (o *GetKeyGroupParams) WithNamespace(namespace string) *GetKeyGroupParams
WithNamespace adds the namespace to the get key group params
func (*GetKeyGroupParams) WithTimeout ¶
func (o *GetKeyGroupParams) WithTimeout(timeout time.Duration) *GetKeyGroupParams
WithTimeout adds the timeout to the get key group params
func (*GetKeyGroupParams) WriteToRequest ¶
func (o *GetKeyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKeyGroupReader ¶
type GetKeyGroupReader struct {
// contains filtered or unexported fields
}
GetKeyGroupReader is a Reader for the GetKeyGroup structure.
func (*GetKeyGroupReader) ReadResponse ¶
func (o *GetKeyGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKeysOK ¶
type ListKeysOK struct {
Payload *platformclientmodels.KeyPagingSliceResult
}
ListKeysOK handles this case with default header values.
successful operation
func NewListKeysOK ¶
func NewListKeysOK() *ListKeysOK
NewListKeysOK creates a ListKeysOK with default headers values
func (*ListKeysOK) Error ¶
func (o *ListKeysOK) Error() string
func (*ListKeysOK) GetPayload ¶
func (o *ListKeysOK) GetPayload() *platformclientmodels.KeyPagingSliceResult
func (*ListKeysOK) ToJSONString ¶ added in v0.25.0
func (o *ListKeysOK) ToJSONString() string
type ListKeysParams ¶
type ListKeysParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*KeyGroupID*/ KeyGroupID string /*Namespace Namespace */ Namespace string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Status*/ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKeysParams contains all the parameters to send to the API endpoint for the list keys operation typically these are written to a http.Request
func NewListKeysParams ¶
func NewListKeysParams() *ListKeysParams
NewListKeysParams creates a new ListKeysParams object with the default values initialized.
func NewListKeysParamsWithContext ¶
func NewListKeysParamsWithContext(ctx context.Context) *ListKeysParams
NewListKeysParamsWithContext creates a new ListKeysParams object with the default values initialized, and the ability to set a context for a request
func NewListKeysParamsWithHTTPClient ¶
func NewListKeysParamsWithHTTPClient(client *http.Client) *ListKeysParams
NewListKeysParamsWithHTTPClient creates a new ListKeysParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListKeysParamsWithTimeout ¶
func NewListKeysParamsWithTimeout(timeout time.Duration) *ListKeysParams
NewListKeysParamsWithTimeout creates a new ListKeysParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListKeysParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list keys params
func (*ListKeysParams) SetContext ¶
func (o *ListKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the list keys params
func (*ListKeysParams) SetHTTPClient ¶
func (o *ListKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list keys params
func (*ListKeysParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list keys params
func (*ListKeysParams) SetKeyGroupID ¶
func (o *ListKeysParams) SetKeyGroupID(keyGroupID string)
SetKeyGroupID adds the keyGroupId to the list keys params
func (*ListKeysParams) SetLimit ¶
func (o *ListKeysParams) SetLimit(limit *int32)
SetLimit adds the limit to the list keys params
func (*ListKeysParams) SetNamespace ¶
func (o *ListKeysParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list keys params
func (*ListKeysParams) SetOffset ¶
func (o *ListKeysParams) SetOffset(offset *int32)
SetOffset adds the offset to the list keys params
func (*ListKeysParams) SetStatus ¶
func (o *ListKeysParams) SetStatus(status *string)
SetStatus adds the status to the list keys params
func (*ListKeysParams) SetTimeout ¶
func (o *ListKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list keys params
func (*ListKeysParams) WithContext ¶
func (o *ListKeysParams) WithContext(ctx context.Context) *ListKeysParams
WithContext adds the context to the list keys params
func (*ListKeysParams) WithHTTPClient ¶
func (o *ListKeysParams) WithHTTPClient(client *http.Client) *ListKeysParams
WithHTTPClient adds the HTTPClient to the list keys params
func (*ListKeysParams) WithKeyGroupID ¶
func (o *ListKeysParams) WithKeyGroupID(keyGroupID string) *ListKeysParams
WithKeyGroupID adds the keyGroupID to the list keys params
func (*ListKeysParams) WithLimit ¶
func (o *ListKeysParams) WithLimit(limit *int32) *ListKeysParams
WithLimit adds the limit to the list keys params
func (*ListKeysParams) WithNamespace ¶
func (o *ListKeysParams) WithNamespace(namespace string) *ListKeysParams
WithNamespace adds the namespace to the list keys params
func (*ListKeysParams) WithOffset ¶
func (o *ListKeysParams) WithOffset(offset *int32) *ListKeysParams
WithOffset adds the offset to the list keys params
func (*ListKeysParams) WithStatus ¶
func (o *ListKeysParams) WithStatus(status *string) *ListKeysParams
WithStatus adds the status to the list keys params
func (*ListKeysParams) WithTimeout ¶
func (o *ListKeysParams) WithTimeout(timeout time.Duration) *ListKeysParams
WithTimeout adds the timeout to the list keys params
func (*ListKeysParams) WriteToRequest ¶
func (o *ListKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKeysReader ¶
type ListKeysReader struct {
// contains filtered or unexported fields
}
ListKeysReader is a Reader for the ListKeys structure.
func (*ListKeysReader) ReadResponse ¶
func (o *ListKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryKeyGroupsOK ¶
type QueryKeyGroupsOK struct {
Payload *platformclientmodels.KeyGroupPagingSlicedResult
}
QueryKeyGroupsOK handles this case with default header values.
successful operation
func NewQueryKeyGroupsOK ¶
func NewQueryKeyGroupsOK() *QueryKeyGroupsOK
NewQueryKeyGroupsOK creates a QueryKeyGroupsOK with default headers values
func (*QueryKeyGroupsOK) Error ¶
func (o *QueryKeyGroupsOK) Error() string
func (*QueryKeyGroupsOK) GetPayload ¶
func (o *QueryKeyGroupsOK) GetPayload() *platformclientmodels.KeyGroupPagingSlicedResult
func (*QueryKeyGroupsOK) ToJSONString ¶ added in v0.25.0
func (o *QueryKeyGroupsOK) ToJSONString() string
type QueryKeyGroupsParams ¶
type QueryKeyGroupsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*Limit*/ Limit *int32 /*Name*/ Name *string /*Offset*/ Offset *int32 /*Tag*/ Tag *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryKeyGroupsParams contains all the parameters to send to the API endpoint for the query key groups operation typically these are written to a http.Request
func NewQueryKeyGroupsParams ¶
func NewQueryKeyGroupsParams() *QueryKeyGroupsParams
NewQueryKeyGroupsParams creates a new QueryKeyGroupsParams object with the default values initialized.
func NewQueryKeyGroupsParamsWithContext ¶
func NewQueryKeyGroupsParamsWithContext(ctx context.Context) *QueryKeyGroupsParams
NewQueryKeyGroupsParamsWithContext creates a new QueryKeyGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryKeyGroupsParamsWithHTTPClient ¶
func NewQueryKeyGroupsParamsWithHTTPClient(client *http.Client) *QueryKeyGroupsParams
NewQueryKeyGroupsParamsWithHTTPClient creates a new QueryKeyGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryKeyGroupsParamsWithTimeout ¶
func NewQueryKeyGroupsParamsWithTimeout(timeout time.Duration) *QueryKeyGroupsParams
NewQueryKeyGroupsParamsWithTimeout creates a new QueryKeyGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryKeyGroupsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryKeyGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query key groups params
func (*QueryKeyGroupsParams) SetContext ¶
func (o *QueryKeyGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the query key groups params
func (*QueryKeyGroupsParams) SetHTTPClient ¶
func (o *QueryKeyGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query key groups params
func (*QueryKeyGroupsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryKeyGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query key groups params
func (*QueryKeyGroupsParams) SetLimit ¶
func (o *QueryKeyGroupsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query key groups params
func (*QueryKeyGroupsParams) SetName ¶
func (o *QueryKeyGroupsParams) SetName(name *string)
SetName adds the name to the query key groups params
func (*QueryKeyGroupsParams) SetNamespace ¶
func (o *QueryKeyGroupsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query key groups params
func (*QueryKeyGroupsParams) SetOffset ¶
func (o *QueryKeyGroupsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query key groups params
func (*QueryKeyGroupsParams) SetTag ¶
func (o *QueryKeyGroupsParams) SetTag(tag *string)
SetTag adds the tag to the query key groups params
func (*QueryKeyGroupsParams) SetTimeout ¶
func (o *QueryKeyGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query key groups params
func (*QueryKeyGroupsParams) WithContext ¶
func (o *QueryKeyGroupsParams) WithContext(ctx context.Context) *QueryKeyGroupsParams
WithContext adds the context to the query key groups params
func (*QueryKeyGroupsParams) WithHTTPClient ¶
func (o *QueryKeyGroupsParams) WithHTTPClient(client *http.Client) *QueryKeyGroupsParams
WithHTTPClient adds the HTTPClient to the query key groups params
func (*QueryKeyGroupsParams) WithLimit ¶
func (o *QueryKeyGroupsParams) WithLimit(limit *int32) *QueryKeyGroupsParams
WithLimit adds the limit to the query key groups params
func (*QueryKeyGroupsParams) WithName ¶
func (o *QueryKeyGroupsParams) WithName(name *string) *QueryKeyGroupsParams
WithName adds the name to the query key groups params
func (*QueryKeyGroupsParams) WithNamespace ¶
func (o *QueryKeyGroupsParams) WithNamespace(namespace string) *QueryKeyGroupsParams
WithNamespace adds the namespace to the query key groups params
func (*QueryKeyGroupsParams) WithOffset ¶
func (o *QueryKeyGroupsParams) WithOffset(offset *int32) *QueryKeyGroupsParams
WithOffset adds the offset to the query key groups params
func (*QueryKeyGroupsParams) WithTag ¶
func (o *QueryKeyGroupsParams) WithTag(tag *string) *QueryKeyGroupsParams
WithTag adds the tag to the query key groups params
func (*QueryKeyGroupsParams) WithTimeout ¶
func (o *QueryKeyGroupsParams) WithTimeout(timeout time.Duration) *QueryKeyGroupsParams
WithTimeout adds the timeout to the query key groups params
func (*QueryKeyGroupsParams) WriteToRequest ¶
func (o *QueryKeyGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryKeyGroupsReader ¶
type QueryKeyGroupsReader struct {
// contains filtered or unexported fields
}
QueryKeyGroupsReader is a Reader for the QueryKeyGroups structure.
func (*QueryKeyGroupsReader) ReadResponse ¶
func (o *QueryKeyGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateKeyGroupConflict ¶
type UpdateKeyGroupConflict struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateKeyGroupConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37271</td><td>Key group [{name}] already exists in namespace [{namespace}]</td></tr></table>
func NewUpdateKeyGroupConflict ¶
func NewUpdateKeyGroupConflict() *UpdateKeyGroupConflict
NewUpdateKeyGroupConflict creates a UpdateKeyGroupConflict with default headers values
func (*UpdateKeyGroupConflict) Error ¶
func (o *UpdateKeyGroupConflict) Error() string
func (*UpdateKeyGroupConflict) GetPayload ¶
func (o *UpdateKeyGroupConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateKeyGroupConflict) ToJSONString ¶ added in v0.25.0
func (o *UpdateKeyGroupConflict) ToJSONString() string
type UpdateKeyGroupNotFound ¶
type UpdateKeyGroupNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateKeyGroupNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUpdateKeyGroupNotFound ¶
func NewUpdateKeyGroupNotFound() *UpdateKeyGroupNotFound
NewUpdateKeyGroupNotFound creates a UpdateKeyGroupNotFound with default headers values
func (*UpdateKeyGroupNotFound) Error ¶
func (o *UpdateKeyGroupNotFound) Error() string
func (*UpdateKeyGroupNotFound) GetPayload ¶
func (o *UpdateKeyGroupNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateKeyGroupNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateKeyGroupNotFound) ToJSONString() string
type UpdateKeyGroupOK ¶
type UpdateKeyGroupOK struct {
Payload *platformclientmodels.KeyGroupInfo
}
UpdateKeyGroupOK handles this case with default header values.
successful operation
func NewUpdateKeyGroupOK ¶
func NewUpdateKeyGroupOK() *UpdateKeyGroupOK
NewUpdateKeyGroupOK creates a UpdateKeyGroupOK with default headers values
func (*UpdateKeyGroupOK) Error ¶
func (o *UpdateKeyGroupOK) Error() string
func (*UpdateKeyGroupOK) GetPayload ¶
func (o *UpdateKeyGroupOK) GetPayload() *platformclientmodels.KeyGroupInfo
func (*UpdateKeyGroupOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateKeyGroupOK) ToJSONString() string
type UpdateKeyGroupParams ¶
type UpdateKeyGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.KeyGroupUpdate /*KeyGroupID*/ KeyGroupID string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateKeyGroupParams contains all the parameters to send to the API endpoint for the update key group operation typically these are written to a http.Request
func NewUpdateKeyGroupParams ¶
func NewUpdateKeyGroupParams() *UpdateKeyGroupParams
NewUpdateKeyGroupParams creates a new UpdateKeyGroupParams object with the default values initialized.
func NewUpdateKeyGroupParamsWithContext ¶
func NewUpdateKeyGroupParamsWithContext(ctx context.Context) *UpdateKeyGroupParams
NewUpdateKeyGroupParamsWithContext creates a new UpdateKeyGroupParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateKeyGroupParamsWithHTTPClient ¶
func NewUpdateKeyGroupParamsWithHTTPClient(client *http.Client) *UpdateKeyGroupParams
NewUpdateKeyGroupParamsWithHTTPClient creates a new UpdateKeyGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateKeyGroupParamsWithTimeout ¶
func NewUpdateKeyGroupParamsWithTimeout(timeout time.Duration) *UpdateKeyGroupParams
NewUpdateKeyGroupParamsWithTimeout creates a new UpdateKeyGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateKeyGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateKeyGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update key group params
func (*UpdateKeyGroupParams) SetBody ¶
func (o *UpdateKeyGroupParams) SetBody(body *platformclientmodels.KeyGroupUpdate)
SetBody adds the body to the update key group params
func (*UpdateKeyGroupParams) SetContext ¶
func (o *UpdateKeyGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update key group params
func (*UpdateKeyGroupParams) SetHTTPClient ¶
func (o *UpdateKeyGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update key group params
func (*UpdateKeyGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateKeyGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update key group params
func (*UpdateKeyGroupParams) SetKeyGroupID ¶
func (o *UpdateKeyGroupParams) SetKeyGroupID(keyGroupID string)
SetKeyGroupID adds the keyGroupId to the update key group params
func (*UpdateKeyGroupParams) SetNamespace ¶
func (o *UpdateKeyGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update key group params
func (*UpdateKeyGroupParams) SetTimeout ¶
func (o *UpdateKeyGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update key group params
func (*UpdateKeyGroupParams) WithBody ¶
func (o *UpdateKeyGroupParams) WithBody(body *platformclientmodels.KeyGroupUpdate) *UpdateKeyGroupParams
WithBody adds the body to the update key group params
func (*UpdateKeyGroupParams) WithContext ¶
func (o *UpdateKeyGroupParams) WithContext(ctx context.Context) *UpdateKeyGroupParams
WithContext adds the context to the update key group params
func (*UpdateKeyGroupParams) WithHTTPClient ¶
func (o *UpdateKeyGroupParams) WithHTTPClient(client *http.Client) *UpdateKeyGroupParams
WithHTTPClient adds the HTTPClient to the update key group params
func (*UpdateKeyGroupParams) WithKeyGroupID ¶
func (o *UpdateKeyGroupParams) WithKeyGroupID(keyGroupID string) *UpdateKeyGroupParams
WithKeyGroupID adds the keyGroupID to the update key group params
func (*UpdateKeyGroupParams) WithNamespace ¶
func (o *UpdateKeyGroupParams) WithNamespace(namespace string) *UpdateKeyGroupParams
WithNamespace adds the namespace to the update key group params
func (*UpdateKeyGroupParams) WithTimeout ¶
func (o *UpdateKeyGroupParams) WithTimeout(timeout time.Duration) *UpdateKeyGroupParams
WithTimeout adds the timeout to the update key group params
func (*UpdateKeyGroupParams) WriteToRequest ¶
func (o *UpdateKeyGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateKeyGroupReader ¶
type UpdateKeyGroupReader struct {
// contains filtered or unexported fields
}
UpdateKeyGroupReader is a Reader for the UpdateKeyGroup structure.
func (*UpdateKeyGroupReader) ReadResponse ¶
func (o *UpdateKeyGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateKeyGroupUnprocessableEntity ¶
type UpdateKeyGroupUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UpdateKeyGroupUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewUpdateKeyGroupUnprocessableEntity ¶
func NewUpdateKeyGroupUnprocessableEntity() *UpdateKeyGroupUnprocessableEntity
NewUpdateKeyGroupUnprocessableEntity creates a UpdateKeyGroupUnprocessableEntity with default headers values
func (*UpdateKeyGroupUnprocessableEntity) Error ¶
func (o *UpdateKeyGroupUnprocessableEntity) Error() string
func (*UpdateKeyGroupUnprocessableEntity) GetPayload ¶
func (o *UpdateKeyGroupUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*UpdateKeyGroupUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *UpdateKeyGroupUnprocessableEntity) ToJSONString() string
type UploadKeysBadRequest ¶
type UploadKeysBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
UploadKeysBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37221</td><td>Invalid key file</td></tr></table>
func NewUploadKeysBadRequest ¶
func NewUploadKeysBadRequest() *UploadKeysBadRequest
NewUploadKeysBadRequest creates a UploadKeysBadRequest with default headers values
func (*UploadKeysBadRequest) Error ¶
func (o *UploadKeysBadRequest) Error() string
func (*UploadKeysBadRequest) GetPayload ¶
func (o *UploadKeysBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*UploadKeysBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UploadKeysBadRequest) ToJSONString() string
type UploadKeysNotFound ¶
type UploadKeysNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UploadKeysNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37241</td><td>Key group [{keyGroupId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUploadKeysNotFound ¶
func NewUploadKeysNotFound() *UploadKeysNotFound
NewUploadKeysNotFound creates a UploadKeysNotFound with default headers values
func (*UploadKeysNotFound) Error ¶
func (o *UploadKeysNotFound) Error() string
func (*UploadKeysNotFound) GetPayload ¶
func (o *UploadKeysNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UploadKeysNotFound) ToJSONString ¶ added in v0.25.0
func (o *UploadKeysNotFound) ToJSONString() string
type UploadKeysOK ¶
type UploadKeysOK struct {
Payload *platformclientmodels.BulkOperationResult
}
UploadKeysOK handles this case with default header values.
successful operation
func NewUploadKeysOK ¶
func NewUploadKeysOK() *UploadKeysOK
NewUploadKeysOK creates a UploadKeysOK with default headers values
func (*UploadKeysOK) Error ¶
func (o *UploadKeysOK) Error() string
func (*UploadKeysOK) GetPayload ¶
func (o *UploadKeysOK) GetPayload() *platformclientmodels.BulkOperationResult
func (*UploadKeysOK) ToJSONString ¶ added in v0.25.0
func (o *UploadKeysOK) ToJSONString() string
type UploadKeysParams ¶
type UploadKeysParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*File*/ File runtime.NamedReadCloser /*KeyGroupID*/ KeyGroupID string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadKeysParams contains all the parameters to send to the API endpoint for the upload keys operation typically these are written to a http.Request
func NewUploadKeysParams ¶
func NewUploadKeysParams() *UploadKeysParams
NewUploadKeysParams creates a new UploadKeysParams object with the default values initialized.
func NewUploadKeysParamsWithContext ¶
func NewUploadKeysParamsWithContext(ctx context.Context) *UploadKeysParams
NewUploadKeysParamsWithContext creates a new UploadKeysParams object with the default values initialized, and the ability to set a context for a request
func NewUploadKeysParamsWithHTTPClient ¶
func NewUploadKeysParamsWithHTTPClient(client *http.Client) *UploadKeysParams
NewUploadKeysParamsWithHTTPClient creates a new UploadKeysParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadKeysParamsWithTimeout ¶
func NewUploadKeysParamsWithTimeout(timeout time.Duration) *UploadKeysParams
NewUploadKeysParamsWithTimeout creates a new UploadKeysParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadKeysParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UploadKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the upload keys params
func (*UploadKeysParams) SetContext ¶
func (o *UploadKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the upload keys params
func (*UploadKeysParams) SetFile ¶
func (o *UploadKeysParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload keys params
func (*UploadKeysParams) SetHTTPClient ¶
func (o *UploadKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload keys params
func (*UploadKeysParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UploadKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the upload keys params
func (*UploadKeysParams) SetKeyGroupID ¶
func (o *UploadKeysParams) SetKeyGroupID(keyGroupID string)
SetKeyGroupID adds the keyGroupId to the upload keys params
func (*UploadKeysParams) SetNamespace ¶
func (o *UploadKeysParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the upload keys params
func (*UploadKeysParams) SetTimeout ¶
func (o *UploadKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload keys params
func (*UploadKeysParams) WithContext ¶
func (o *UploadKeysParams) WithContext(ctx context.Context) *UploadKeysParams
WithContext adds the context to the upload keys params
func (*UploadKeysParams) WithFile ¶
func (o *UploadKeysParams) WithFile(file runtime.NamedReadCloser) *UploadKeysParams
WithFile adds the file to the upload keys params
func (*UploadKeysParams) WithHTTPClient ¶
func (o *UploadKeysParams) WithHTTPClient(client *http.Client) *UploadKeysParams
WithHTTPClient adds the HTTPClient to the upload keys params
func (*UploadKeysParams) WithKeyGroupID ¶
func (o *UploadKeysParams) WithKeyGroupID(keyGroupID string) *UploadKeysParams
WithKeyGroupID adds the keyGroupID to the upload keys params
func (*UploadKeysParams) WithNamespace ¶
func (o *UploadKeysParams) WithNamespace(namespace string) *UploadKeysParams
WithNamespace adds the namespace to the upload keys params
func (*UploadKeysParams) WithTimeout ¶
func (o *UploadKeysParams) WithTimeout(timeout time.Duration) *UploadKeysParams
WithTimeout adds the timeout to the upload keys params
func (*UploadKeysParams) WriteToRequest ¶
func (o *UploadKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadKeysReader ¶
type UploadKeysReader struct {
// contains filtered or unexported fields
}
UploadKeysReader is a Reader for the UploadKeys structure.
func (*UploadKeysReader) ReadResponse ¶
func (o *UploadKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_key_group_parameters.go
- create_key_group_responses.go
- get_key_group_by_booth_name_parameters.go
- get_key_group_by_booth_name_responses.go
- get_key_group_dynamic_parameters.go
- get_key_group_dynamic_responses.go
- get_key_group_parameters.go
- get_key_group_responses.go
- key_group_client.go
- list_keys_parameters.go
- list_keys_responses.go
- query_key_groups_parameters.go
- query_key_groups_responses.go
- update_key_group_parameters.go
- update_key_group_responses.go
- upload_keys_parameters.go
- upload_keys_responses.go