Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAllowedRegistry(params *DeleteAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAllowedRegistryOK, error)
- func (a *Client) GetAllowedRegistry(params *GetAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAllowedRegistryOK, error)
- func (a *Client) PatchAllowedRegistry(params *PatchAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAllowedRegistryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAllowedRegistryDefault
- type DeleteAllowedRegistryForbidden
- type DeleteAllowedRegistryOK
- type DeleteAllowedRegistryParams
- func NewDeleteAllowedRegistryParams() *DeleteAllowedRegistryParams
- func NewDeleteAllowedRegistryParamsWithContext(ctx context.Context) *DeleteAllowedRegistryParams
- func NewDeleteAllowedRegistryParamsWithHTTPClient(client *http.Client) *DeleteAllowedRegistryParams
- func NewDeleteAllowedRegistryParamsWithTimeout(timeout time.Duration) *DeleteAllowedRegistryParams
- func (o *DeleteAllowedRegistryParams) SetAllowedRegistryName(allowedRegistry string)
- func (o *DeleteAllowedRegistryParams) SetContext(ctx context.Context)
- func (o *DeleteAllowedRegistryParams) SetDefaults()
- func (o *DeleteAllowedRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAllowedRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAllowedRegistryParams) WithAllowedRegistryName(allowedRegistry string) *DeleteAllowedRegistryParams
- func (o *DeleteAllowedRegistryParams) WithContext(ctx context.Context) *DeleteAllowedRegistryParams
- func (o *DeleteAllowedRegistryParams) WithDefaults() *DeleteAllowedRegistryParams
- func (o *DeleteAllowedRegistryParams) WithHTTPClient(client *http.Client) *DeleteAllowedRegistryParams
- func (o *DeleteAllowedRegistryParams) WithTimeout(timeout time.Duration) *DeleteAllowedRegistryParams
- func (o *DeleteAllowedRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAllowedRegistryReader
- type DeleteAllowedRegistryUnauthorized
- type GetAllowedRegistryDefault
- type GetAllowedRegistryForbidden
- type GetAllowedRegistryOK
- type GetAllowedRegistryParams
- func NewGetAllowedRegistryParams() *GetAllowedRegistryParams
- func NewGetAllowedRegistryParamsWithContext(ctx context.Context) *GetAllowedRegistryParams
- func NewGetAllowedRegistryParamsWithHTTPClient(client *http.Client) *GetAllowedRegistryParams
- func NewGetAllowedRegistryParamsWithTimeout(timeout time.Duration) *GetAllowedRegistryParams
- func (o *GetAllowedRegistryParams) SetAllowedRegistryName(allowedRegistry string)
- func (o *GetAllowedRegistryParams) SetContext(ctx context.Context)
- func (o *GetAllowedRegistryParams) SetDefaults()
- func (o *GetAllowedRegistryParams) SetHTTPClient(client *http.Client)
- func (o *GetAllowedRegistryParams) SetTimeout(timeout time.Duration)
- func (o *GetAllowedRegistryParams) WithAllowedRegistryName(allowedRegistry string) *GetAllowedRegistryParams
- func (o *GetAllowedRegistryParams) WithContext(ctx context.Context) *GetAllowedRegistryParams
- func (o *GetAllowedRegistryParams) WithDefaults() *GetAllowedRegistryParams
- func (o *GetAllowedRegistryParams) WithHTTPClient(client *http.Client) *GetAllowedRegistryParams
- func (o *GetAllowedRegistryParams) WithTimeout(timeout time.Duration) *GetAllowedRegistryParams
- func (o *GetAllowedRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllowedRegistryReader
- type GetAllowedRegistryUnauthorized
- type PatchAllowedRegistryDefault
- type PatchAllowedRegistryForbidden
- type PatchAllowedRegistryOK
- type PatchAllowedRegistryParams
- func NewPatchAllowedRegistryParams() *PatchAllowedRegistryParams
- func NewPatchAllowedRegistryParamsWithContext(ctx context.Context) *PatchAllowedRegistryParams
- func NewPatchAllowedRegistryParamsWithHTTPClient(client *http.Client) *PatchAllowedRegistryParams
- func NewPatchAllowedRegistryParamsWithTimeout(timeout time.Duration) *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) SetAllowedRegistryName(allowedRegistry string)
- func (o *PatchAllowedRegistryParams) SetContext(ctx context.Context)
- func (o *PatchAllowedRegistryParams) SetDefaults()
- func (o *PatchAllowedRegistryParams) SetHTTPClient(client *http.Client)
- func (o *PatchAllowedRegistryParams) SetPatch(patch interface{})
- func (o *PatchAllowedRegistryParams) SetTimeout(timeout time.Duration)
- func (o *PatchAllowedRegistryParams) WithAllowedRegistryName(allowedRegistry string) *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) WithContext(ctx context.Context) *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) WithDefaults() *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) WithHTTPClient(client *http.Client) *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) WithPatch(patch interface{}) *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) WithTimeout(timeout time.Duration) *PatchAllowedRegistryParams
- func (o *PatchAllowedRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAllowedRegistryReader
- type PatchAllowedRegistryUnauthorized
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 allowedregistries API
func (*Client) DeleteAllowedRegistry ¶
func (a *Client) DeleteAllowedRegistry(params *DeleteAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllowedRegistryOK, error)
DeleteAllowedRegistry deletes the given allowed registry
func (*Client) GetAllowedRegistry ¶
func (a *Client) GetAllowedRegistry(params *GetAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllowedRegistryOK, error)
GetAllowedRegistry Get allowed registries specified by name
func (*Client) PatchAllowedRegistry ¶
func (a *Client) PatchAllowedRegistry(params *PatchAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAllowedRegistryOK, error)
PatchAllowedRegistry Patch a specified allowed registry
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 is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteAllowedRegistry(params *DeleteAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAllowedRegistryOK, error) GetAllowedRegistry(params *GetAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAllowedRegistryOK, error) PatchAllowedRegistry(params *PatchAllowedRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAllowedRegistryOK, 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 allowedregistries API client.
type DeleteAllowedRegistryDefault ¶
type DeleteAllowedRegistryDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteAllowedRegistryDefault describes a response with status code -1, with default header values.
errorResponse
func NewDeleteAllowedRegistryDefault ¶
func NewDeleteAllowedRegistryDefault(code int) *DeleteAllowedRegistryDefault
NewDeleteAllowedRegistryDefault creates a DeleteAllowedRegistryDefault with default headers values
func (*DeleteAllowedRegistryDefault) Code ¶
func (o *DeleteAllowedRegistryDefault) Code() int
Code gets the status code for the delete allowed registry default response
func (*DeleteAllowedRegistryDefault) Error ¶
func (o *DeleteAllowedRegistryDefault) Error() string
func (*DeleteAllowedRegistryDefault) GetPayload ¶
func (o *DeleteAllowedRegistryDefault) GetPayload() *models.ErrorResponse
type DeleteAllowedRegistryForbidden ¶
type DeleteAllowedRegistryForbidden struct { }
DeleteAllowedRegistryForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewDeleteAllowedRegistryForbidden ¶
func NewDeleteAllowedRegistryForbidden() *DeleteAllowedRegistryForbidden
NewDeleteAllowedRegistryForbidden creates a DeleteAllowedRegistryForbidden with default headers values
func (*DeleteAllowedRegistryForbidden) Error ¶
func (o *DeleteAllowedRegistryForbidden) Error() string
type DeleteAllowedRegistryOK ¶
type DeleteAllowedRegistryOK struct { }
DeleteAllowedRegistryOK describes a response with status code 200, with default header values.
EmptyResponse is a empty response
func NewDeleteAllowedRegistryOK ¶
func NewDeleteAllowedRegistryOK() *DeleteAllowedRegistryOK
NewDeleteAllowedRegistryOK creates a DeleteAllowedRegistryOK with default headers values
func (*DeleteAllowedRegistryOK) Error ¶
func (o *DeleteAllowedRegistryOK) Error() string
type DeleteAllowedRegistryParams ¶
type DeleteAllowedRegistryParams struct { // AllowedRegistry. AllowedRegistryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAllowedRegistryParams contains all the parameters to send to the API endpoint
for the delete allowed registry operation. Typically these are written to a http.Request.
func NewDeleteAllowedRegistryParams ¶
func NewDeleteAllowedRegistryParams() *DeleteAllowedRegistryParams
NewDeleteAllowedRegistryParams creates a new DeleteAllowedRegistryParams 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 NewDeleteAllowedRegistryParamsWithContext ¶
func NewDeleteAllowedRegistryParamsWithContext(ctx context.Context) *DeleteAllowedRegistryParams
NewDeleteAllowedRegistryParamsWithContext creates a new DeleteAllowedRegistryParams object with the ability to set a context for a request.
func NewDeleteAllowedRegistryParamsWithHTTPClient ¶
func NewDeleteAllowedRegistryParamsWithHTTPClient(client *http.Client) *DeleteAllowedRegistryParams
NewDeleteAllowedRegistryParamsWithHTTPClient creates a new DeleteAllowedRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAllowedRegistryParamsWithTimeout ¶
func NewDeleteAllowedRegistryParamsWithTimeout(timeout time.Duration) *DeleteAllowedRegistryParams
NewDeleteAllowedRegistryParamsWithTimeout creates a new DeleteAllowedRegistryParams object with the ability to set a timeout on a request.
func (*DeleteAllowedRegistryParams) SetAllowedRegistryName ¶
func (o *DeleteAllowedRegistryParams) SetAllowedRegistryName(allowedRegistry string)
SetAllowedRegistryName adds the allowedRegistry to the delete allowed registry params
func (*DeleteAllowedRegistryParams) SetContext ¶
func (o *DeleteAllowedRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete allowed registry params
func (*DeleteAllowedRegistryParams) SetDefaults ¶
func (o *DeleteAllowedRegistryParams) SetDefaults()
SetDefaults hydrates default values in the delete allowed registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAllowedRegistryParams) SetHTTPClient ¶
func (o *DeleteAllowedRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete allowed registry params
func (*DeleteAllowedRegistryParams) SetTimeout ¶
func (o *DeleteAllowedRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete allowed registry params
func (*DeleteAllowedRegistryParams) WithAllowedRegistryName ¶
func (o *DeleteAllowedRegistryParams) WithAllowedRegistryName(allowedRegistry string) *DeleteAllowedRegistryParams
WithAllowedRegistryName adds the allowedRegistry to the delete allowed registry params
func (*DeleteAllowedRegistryParams) WithContext ¶
func (o *DeleteAllowedRegistryParams) WithContext(ctx context.Context) *DeleteAllowedRegistryParams
WithContext adds the context to the delete allowed registry params
func (*DeleteAllowedRegistryParams) WithDefaults ¶
func (o *DeleteAllowedRegistryParams) WithDefaults() *DeleteAllowedRegistryParams
WithDefaults hydrates default values in the delete allowed registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAllowedRegistryParams) WithHTTPClient ¶
func (o *DeleteAllowedRegistryParams) WithHTTPClient(client *http.Client) *DeleteAllowedRegistryParams
WithHTTPClient adds the HTTPClient to the delete allowed registry params
func (*DeleteAllowedRegistryParams) WithTimeout ¶
func (o *DeleteAllowedRegistryParams) WithTimeout(timeout time.Duration) *DeleteAllowedRegistryParams
WithTimeout adds the timeout to the delete allowed registry params
func (*DeleteAllowedRegistryParams) WriteToRequest ¶
func (o *DeleteAllowedRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAllowedRegistryReader ¶
type DeleteAllowedRegistryReader struct {
// contains filtered or unexported fields
}
DeleteAllowedRegistryReader is a Reader for the DeleteAllowedRegistry structure.
func (*DeleteAllowedRegistryReader) ReadResponse ¶
func (o *DeleteAllowedRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAllowedRegistryUnauthorized ¶
type DeleteAllowedRegistryUnauthorized struct { }
DeleteAllowedRegistryUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewDeleteAllowedRegistryUnauthorized ¶
func NewDeleteAllowedRegistryUnauthorized() *DeleteAllowedRegistryUnauthorized
NewDeleteAllowedRegistryUnauthorized creates a DeleteAllowedRegistryUnauthorized with default headers values
func (*DeleteAllowedRegistryUnauthorized) Error ¶
func (o *DeleteAllowedRegistryUnauthorized) Error() string
type GetAllowedRegistryDefault ¶
type GetAllowedRegistryDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetAllowedRegistryDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetAllowedRegistryDefault ¶
func NewGetAllowedRegistryDefault(code int) *GetAllowedRegistryDefault
NewGetAllowedRegistryDefault creates a GetAllowedRegistryDefault with default headers values
func (*GetAllowedRegistryDefault) Code ¶
func (o *GetAllowedRegistryDefault) Code() int
Code gets the status code for the get allowed registry default response
func (*GetAllowedRegistryDefault) Error ¶
func (o *GetAllowedRegistryDefault) Error() string
func (*GetAllowedRegistryDefault) GetPayload ¶
func (o *GetAllowedRegistryDefault) GetPayload() *models.ErrorResponse
type GetAllowedRegistryForbidden ¶
type GetAllowedRegistryForbidden struct { }
GetAllowedRegistryForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetAllowedRegistryForbidden ¶
func NewGetAllowedRegistryForbidden() *GetAllowedRegistryForbidden
NewGetAllowedRegistryForbidden creates a GetAllowedRegistryForbidden with default headers values
func (*GetAllowedRegistryForbidden) Error ¶
func (o *GetAllowedRegistryForbidden) Error() string
type GetAllowedRegistryOK ¶
type GetAllowedRegistryOK struct {
Payload *models.AllowedRegistry
}
GetAllowedRegistryOK describes a response with status code 200, with default header values.
AllowedRegistry
func NewGetAllowedRegistryOK ¶
func NewGetAllowedRegistryOK() *GetAllowedRegistryOK
NewGetAllowedRegistryOK creates a GetAllowedRegistryOK with default headers values
func (*GetAllowedRegistryOK) Error ¶
func (o *GetAllowedRegistryOK) Error() string
func (*GetAllowedRegistryOK) GetPayload ¶
func (o *GetAllowedRegistryOK) GetPayload() *models.AllowedRegistry
type GetAllowedRegistryParams ¶
type GetAllowedRegistryParams struct { // AllowedRegistry. AllowedRegistryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllowedRegistryParams contains all the parameters to send to the API endpoint
for the get allowed registry operation. Typically these are written to a http.Request.
func NewGetAllowedRegistryParams ¶
func NewGetAllowedRegistryParams() *GetAllowedRegistryParams
NewGetAllowedRegistryParams creates a new GetAllowedRegistryParams 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 NewGetAllowedRegistryParamsWithContext ¶
func NewGetAllowedRegistryParamsWithContext(ctx context.Context) *GetAllowedRegistryParams
NewGetAllowedRegistryParamsWithContext creates a new GetAllowedRegistryParams object with the ability to set a context for a request.
func NewGetAllowedRegistryParamsWithHTTPClient ¶
func NewGetAllowedRegistryParamsWithHTTPClient(client *http.Client) *GetAllowedRegistryParams
NewGetAllowedRegistryParamsWithHTTPClient creates a new GetAllowedRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewGetAllowedRegistryParamsWithTimeout ¶
func NewGetAllowedRegistryParamsWithTimeout(timeout time.Duration) *GetAllowedRegistryParams
NewGetAllowedRegistryParamsWithTimeout creates a new GetAllowedRegistryParams object with the ability to set a timeout on a request.
func (*GetAllowedRegistryParams) SetAllowedRegistryName ¶
func (o *GetAllowedRegistryParams) SetAllowedRegistryName(allowedRegistry string)
SetAllowedRegistryName adds the allowedRegistry to the get allowed registry params
func (*GetAllowedRegistryParams) SetContext ¶
func (o *GetAllowedRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the get allowed registry params
func (*GetAllowedRegistryParams) SetDefaults ¶
func (o *GetAllowedRegistryParams) SetDefaults()
SetDefaults hydrates default values in the get allowed registry params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllowedRegistryParams) SetHTTPClient ¶
func (o *GetAllowedRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get allowed registry params
func (*GetAllowedRegistryParams) SetTimeout ¶
func (o *GetAllowedRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get allowed registry params
func (*GetAllowedRegistryParams) WithAllowedRegistryName ¶
func (o *GetAllowedRegistryParams) WithAllowedRegistryName(allowedRegistry string) *GetAllowedRegistryParams
WithAllowedRegistryName adds the allowedRegistry to the get allowed registry params
func (*GetAllowedRegistryParams) WithContext ¶
func (o *GetAllowedRegistryParams) WithContext(ctx context.Context) *GetAllowedRegistryParams
WithContext adds the context to the get allowed registry params
func (*GetAllowedRegistryParams) WithDefaults ¶
func (o *GetAllowedRegistryParams) WithDefaults() *GetAllowedRegistryParams
WithDefaults hydrates default values in the get allowed registry params (not the query body).
All values with no default are reset to their zero value.
func (*GetAllowedRegistryParams) WithHTTPClient ¶
func (o *GetAllowedRegistryParams) WithHTTPClient(client *http.Client) *GetAllowedRegistryParams
WithHTTPClient adds the HTTPClient to the get allowed registry params
func (*GetAllowedRegistryParams) WithTimeout ¶
func (o *GetAllowedRegistryParams) WithTimeout(timeout time.Duration) *GetAllowedRegistryParams
WithTimeout adds the timeout to the get allowed registry params
func (*GetAllowedRegistryParams) WriteToRequest ¶
func (o *GetAllowedRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllowedRegistryReader ¶
type GetAllowedRegistryReader struct {
// contains filtered or unexported fields
}
GetAllowedRegistryReader is a Reader for the GetAllowedRegistry structure.
func (*GetAllowedRegistryReader) ReadResponse ¶
func (o *GetAllowedRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllowedRegistryUnauthorized ¶
type GetAllowedRegistryUnauthorized struct { }
GetAllowedRegistryUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetAllowedRegistryUnauthorized ¶
func NewGetAllowedRegistryUnauthorized() *GetAllowedRegistryUnauthorized
NewGetAllowedRegistryUnauthorized creates a GetAllowedRegistryUnauthorized with default headers values
func (*GetAllowedRegistryUnauthorized) Error ¶
func (o *GetAllowedRegistryUnauthorized) Error() string
type PatchAllowedRegistryDefault ¶
type PatchAllowedRegistryDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
PatchAllowedRegistryDefault describes a response with status code -1, with default header values.
errorResponse
func NewPatchAllowedRegistryDefault ¶
func NewPatchAllowedRegistryDefault(code int) *PatchAllowedRegistryDefault
NewPatchAllowedRegistryDefault creates a PatchAllowedRegistryDefault with default headers values
func (*PatchAllowedRegistryDefault) Code ¶
func (o *PatchAllowedRegistryDefault) Code() int
Code gets the status code for the patch allowed registry default response
func (*PatchAllowedRegistryDefault) Error ¶
func (o *PatchAllowedRegistryDefault) Error() string
func (*PatchAllowedRegistryDefault) GetPayload ¶
func (o *PatchAllowedRegistryDefault) GetPayload() *models.ErrorResponse
type PatchAllowedRegistryForbidden ¶
type PatchAllowedRegistryForbidden struct { }
PatchAllowedRegistryForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewPatchAllowedRegistryForbidden ¶
func NewPatchAllowedRegistryForbidden() *PatchAllowedRegistryForbidden
NewPatchAllowedRegistryForbidden creates a PatchAllowedRegistryForbidden with default headers values
func (*PatchAllowedRegistryForbidden) Error ¶
func (o *PatchAllowedRegistryForbidden) Error() string
type PatchAllowedRegistryOK ¶
type PatchAllowedRegistryOK struct {
Payload *models.ConstraintTemplate
}
PatchAllowedRegistryOK describes a response with status code 200, with default header values.
ConstraintTemplate
func NewPatchAllowedRegistryOK ¶
func NewPatchAllowedRegistryOK() *PatchAllowedRegistryOK
NewPatchAllowedRegistryOK creates a PatchAllowedRegistryOK with default headers values
func (*PatchAllowedRegistryOK) Error ¶
func (o *PatchAllowedRegistryOK) Error() string
func (*PatchAllowedRegistryOK) GetPayload ¶
func (o *PatchAllowedRegistryOK) GetPayload() *models.ConstraintTemplate
type PatchAllowedRegistryParams ¶
type PatchAllowedRegistryParams struct { // Patch. Patch interface{} // AllowedRegistry. AllowedRegistryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAllowedRegistryParams contains all the parameters to send to the API endpoint
for the patch allowed registry operation. Typically these are written to a http.Request.
func NewPatchAllowedRegistryParams ¶
func NewPatchAllowedRegistryParams() *PatchAllowedRegistryParams
NewPatchAllowedRegistryParams creates a new PatchAllowedRegistryParams 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 NewPatchAllowedRegistryParamsWithContext ¶
func NewPatchAllowedRegistryParamsWithContext(ctx context.Context) *PatchAllowedRegistryParams
NewPatchAllowedRegistryParamsWithContext creates a new PatchAllowedRegistryParams object with the ability to set a context for a request.
func NewPatchAllowedRegistryParamsWithHTTPClient ¶
func NewPatchAllowedRegistryParamsWithHTTPClient(client *http.Client) *PatchAllowedRegistryParams
NewPatchAllowedRegistryParamsWithHTTPClient creates a new PatchAllowedRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAllowedRegistryParamsWithTimeout ¶
func NewPatchAllowedRegistryParamsWithTimeout(timeout time.Duration) *PatchAllowedRegistryParams
NewPatchAllowedRegistryParamsWithTimeout creates a new PatchAllowedRegistryParams object with the ability to set a timeout on a request.
func (*PatchAllowedRegistryParams) SetAllowedRegistryName ¶
func (o *PatchAllowedRegistryParams) SetAllowedRegistryName(allowedRegistry string)
SetAllowedRegistryName adds the allowedRegistry to the patch allowed registry params
func (*PatchAllowedRegistryParams) SetContext ¶
func (o *PatchAllowedRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the patch allowed registry params
func (*PatchAllowedRegistryParams) SetDefaults ¶
func (o *PatchAllowedRegistryParams) SetDefaults()
SetDefaults hydrates default values in the patch allowed registry params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAllowedRegistryParams) SetHTTPClient ¶
func (o *PatchAllowedRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch allowed registry params
func (*PatchAllowedRegistryParams) SetPatch ¶
func (o *PatchAllowedRegistryParams) SetPatch(patch interface{})
SetPatch adds the patch to the patch allowed registry params
func (*PatchAllowedRegistryParams) SetTimeout ¶
func (o *PatchAllowedRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch allowed registry params
func (*PatchAllowedRegistryParams) WithAllowedRegistryName ¶
func (o *PatchAllowedRegistryParams) WithAllowedRegistryName(allowedRegistry string) *PatchAllowedRegistryParams
WithAllowedRegistryName adds the allowedRegistry to the patch allowed registry params
func (*PatchAllowedRegistryParams) WithContext ¶
func (o *PatchAllowedRegistryParams) WithContext(ctx context.Context) *PatchAllowedRegistryParams
WithContext adds the context to the patch allowed registry params
func (*PatchAllowedRegistryParams) WithDefaults ¶
func (o *PatchAllowedRegistryParams) WithDefaults() *PatchAllowedRegistryParams
WithDefaults hydrates default values in the patch allowed registry params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAllowedRegistryParams) WithHTTPClient ¶
func (o *PatchAllowedRegistryParams) WithHTTPClient(client *http.Client) *PatchAllowedRegistryParams
WithHTTPClient adds the HTTPClient to the patch allowed registry params
func (*PatchAllowedRegistryParams) WithPatch ¶
func (o *PatchAllowedRegistryParams) WithPatch(patch interface{}) *PatchAllowedRegistryParams
WithPatch adds the patch to the patch allowed registry params
func (*PatchAllowedRegistryParams) WithTimeout ¶
func (o *PatchAllowedRegistryParams) WithTimeout(timeout time.Duration) *PatchAllowedRegistryParams
WithTimeout adds the timeout to the patch allowed registry params
func (*PatchAllowedRegistryParams) WriteToRequest ¶
func (o *PatchAllowedRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAllowedRegistryReader ¶
type PatchAllowedRegistryReader struct {
// contains filtered or unexported fields
}
PatchAllowedRegistryReader is a Reader for the PatchAllowedRegistry structure.
func (*PatchAllowedRegistryReader) ReadResponse ¶
func (o *PatchAllowedRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAllowedRegistryUnauthorized ¶
type PatchAllowedRegistryUnauthorized struct { }
PatchAllowedRegistryUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewPatchAllowedRegistryUnauthorized ¶
func NewPatchAllowedRegistryUnauthorized() *PatchAllowedRegistryUnauthorized
NewPatchAllowedRegistryUnauthorized creates a PatchAllowedRegistryUnauthorized with default headers values
func (*PatchAllowedRegistryUnauthorized) Error ¶
func (o *PatchAllowedRegistryUnauthorized) Error() string