Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConstraintTemplate(params *CreateConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConstraintTemplateOK, error)
- func (a *Client) DeleteConstraintTemplate(params *DeleteConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConstraintTemplateOK, error)
- func (a *Client) GetConstraintTemplate(params *GetConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetConstraintTemplateOK, error)
- func (a *Client) ListConstraintTemplates(params *ListConstraintTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*ListConstraintTemplatesOK, error)
- func (a *Client) PatchConstraintTemplate(params *PatchConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PatchConstraintTemplateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateConstraintTemplateDefault
- type CreateConstraintTemplateForbidden
- type CreateConstraintTemplateOK
- type CreateConstraintTemplateParams
- func NewCreateConstraintTemplateParams() *CreateConstraintTemplateParams
- func NewCreateConstraintTemplateParamsWithContext(ctx context.Context) *CreateConstraintTemplateParams
- func NewCreateConstraintTemplateParamsWithHTTPClient(client *http.Client) *CreateConstraintTemplateParams
- func NewCreateConstraintTemplateParamsWithTimeout(timeout time.Duration) *CreateConstraintTemplateParams
- func (o *CreateConstraintTemplateParams) SetBody(body *models.CtBody)
- func (o *CreateConstraintTemplateParams) SetContext(ctx context.Context)
- func (o *CreateConstraintTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateConstraintTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateConstraintTemplateParams) WithBody(body *models.CtBody) *CreateConstraintTemplateParams
- func (o *CreateConstraintTemplateParams) WithContext(ctx context.Context) *CreateConstraintTemplateParams
- func (o *CreateConstraintTemplateParams) WithHTTPClient(client *http.Client) *CreateConstraintTemplateParams
- func (o *CreateConstraintTemplateParams) WithTimeout(timeout time.Duration) *CreateConstraintTemplateParams
- func (o *CreateConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConstraintTemplateReader
- type CreateConstraintTemplateUnauthorized
- type DeleteConstraintTemplateDefault
- type DeleteConstraintTemplateForbidden
- type DeleteConstraintTemplateOK
- type DeleteConstraintTemplateParams
- func NewDeleteConstraintTemplateParams() *DeleteConstraintTemplateParams
- func NewDeleteConstraintTemplateParamsWithContext(ctx context.Context) *DeleteConstraintTemplateParams
- func NewDeleteConstraintTemplateParamsWithHTTPClient(client *http.Client) *DeleteConstraintTemplateParams
- func NewDeleteConstraintTemplateParamsWithTimeout(timeout time.Duration) *DeleteConstraintTemplateParams
- func (o *DeleteConstraintTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteConstraintTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConstraintTemplateParams) SetName(ctName string)
- func (o *DeleteConstraintTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConstraintTemplateParams) WithContext(ctx context.Context) *DeleteConstraintTemplateParams
- func (o *DeleteConstraintTemplateParams) WithHTTPClient(client *http.Client) *DeleteConstraintTemplateParams
- func (o *DeleteConstraintTemplateParams) WithName(ctName string) *DeleteConstraintTemplateParams
- func (o *DeleteConstraintTemplateParams) WithTimeout(timeout time.Duration) *DeleteConstraintTemplateParams
- func (o *DeleteConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConstraintTemplateReader
- type DeleteConstraintTemplateUnauthorized
- type GetConstraintTemplateDefault
- type GetConstraintTemplateForbidden
- type GetConstraintTemplateOK
- type GetConstraintTemplateParams
- func NewGetConstraintTemplateParams() *GetConstraintTemplateParams
- func NewGetConstraintTemplateParamsWithContext(ctx context.Context) *GetConstraintTemplateParams
- func NewGetConstraintTemplateParamsWithHTTPClient(client *http.Client) *GetConstraintTemplateParams
- func NewGetConstraintTemplateParamsWithTimeout(timeout time.Duration) *GetConstraintTemplateParams
- func (o *GetConstraintTemplateParams) SetContext(ctx context.Context)
- func (o *GetConstraintTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetConstraintTemplateParams) SetName(ctName string)
- func (o *GetConstraintTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetConstraintTemplateParams) WithContext(ctx context.Context) *GetConstraintTemplateParams
- func (o *GetConstraintTemplateParams) WithHTTPClient(client *http.Client) *GetConstraintTemplateParams
- func (o *GetConstraintTemplateParams) WithName(ctName string) *GetConstraintTemplateParams
- func (o *GetConstraintTemplateParams) WithTimeout(timeout time.Duration) *GetConstraintTemplateParams
- func (o *GetConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConstraintTemplateReader
- type GetConstraintTemplateUnauthorized
- type ListConstraintTemplatesDefault
- type ListConstraintTemplatesForbidden
- type ListConstraintTemplatesOK
- type ListConstraintTemplatesParams
- func NewListConstraintTemplatesParams() *ListConstraintTemplatesParams
- func NewListConstraintTemplatesParamsWithContext(ctx context.Context) *ListConstraintTemplatesParams
- func NewListConstraintTemplatesParamsWithHTTPClient(client *http.Client) *ListConstraintTemplatesParams
- func NewListConstraintTemplatesParamsWithTimeout(timeout time.Duration) *ListConstraintTemplatesParams
- func (o *ListConstraintTemplatesParams) SetContext(ctx context.Context)
- func (o *ListConstraintTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListConstraintTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListConstraintTemplatesParams) WithContext(ctx context.Context) *ListConstraintTemplatesParams
- func (o *ListConstraintTemplatesParams) WithHTTPClient(client *http.Client) *ListConstraintTemplatesParams
- func (o *ListConstraintTemplatesParams) WithTimeout(timeout time.Duration) *ListConstraintTemplatesParams
- func (o *ListConstraintTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConstraintTemplatesReader
- type ListConstraintTemplatesUnauthorized
- type PatchConstraintTemplateDefault
- type PatchConstraintTemplateForbidden
- type PatchConstraintTemplateOK
- type PatchConstraintTemplateParams
- func NewPatchConstraintTemplateParams() *PatchConstraintTemplateParams
- func NewPatchConstraintTemplateParamsWithContext(ctx context.Context) *PatchConstraintTemplateParams
- func NewPatchConstraintTemplateParamsWithHTTPClient(client *http.Client) *PatchConstraintTemplateParams
- func NewPatchConstraintTemplateParamsWithTimeout(timeout time.Duration) *PatchConstraintTemplateParams
- func (o *PatchConstraintTemplateParams) SetContext(ctx context.Context)
- func (o *PatchConstraintTemplateParams) SetHTTPClient(client *http.Client)
- func (o *PatchConstraintTemplateParams) SetName(ctName string)
- func (o *PatchConstraintTemplateParams) SetPatch(patch interface{})
- func (o *PatchConstraintTemplateParams) SetTimeout(timeout time.Duration)
- func (o *PatchConstraintTemplateParams) WithContext(ctx context.Context) *PatchConstraintTemplateParams
- func (o *PatchConstraintTemplateParams) WithHTTPClient(client *http.Client) *PatchConstraintTemplateParams
- func (o *PatchConstraintTemplateParams) WithName(ctName string) *PatchConstraintTemplateParams
- func (o *PatchConstraintTemplateParams) WithPatch(patch interface{}) *PatchConstraintTemplateParams
- func (o *PatchConstraintTemplateParams) WithTimeout(timeout time.Duration) *PatchConstraintTemplateParams
- func (o *PatchConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchConstraintTemplateReader
- type PatchConstraintTemplateUnauthorized
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 constrainttemplates API
func (*Client) CreateConstraintTemplate ¶
func (a *Client) CreateConstraintTemplate(params *CreateConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConstraintTemplateOK, error)
CreateConstraintTemplate Create constraint template
func (*Client) DeleteConstraintTemplate ¶
func (a *Client) DeleteConstraintTemplate(params *DeleteConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConstraintTemplateOK, error)
DeleteConstraintTemplate Deletes the specified cluster
func (*Client) GetConstraintTemplate ¶
func (a *Client) GetConstraintTemplate(params *GetConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetConstraintTemplateOK, error)
GetConstraintTemplate Get constraint templates specified by name
func (*Client) ListConstraintTemplates ¶
func (a *Client) ListConstraintTemplates(params *ListConstraintTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*ListConstraintTemplatesOK, error)
ListConstraintTemplates lists constraint templates
func (*Client) PatchConstraintTemplate ¶
func (a *Client) PatchConstraintTemplate(params *PatchConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PatchConstraintTemplateOK, error)
PatchConstraintTemplate Patch a specified constraint template
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateConstraintTemplate(params *CreateConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConstraintTemplateOK, error) DeleteConstraintTemplate(params *DeleteConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConstraintTemplateOK, error) GetConstraintTemplate(params *GetConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetConstraintTemplateOK, error) ListConstraintTemplates(params *ListConstraintTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*ListConstraintTemplatesOK, error) PatchConstraintTemplate(params *PatchConstraintTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PatchConstraintTemplateOK, 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 constrainttemplates API client.
type CreateConstraintTemplateDefault ¶
type CreateConstraintTemplateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateConstraintTemplateDefault handles this case with default header values.
errorResponse
func NewCreateConstraintTemplateDefault ¶
func NewCreateConstraintTemplateDefault(code int) *CreateConstraintTemplateDefault
NewCreateConstraintTemplateDefault creates a CreateConstraintTemplateDefault with default headers values
func (*CreateConstraintTemplateDefault) Code ¶
func (o *CreateConstraintTemplateDefault) Code() int
Code gets the status code for the create constraint template default response
func (*CreateConstraintTemplateDefault) Error ¶
func (o *CreateConstraintTemplateDefault) Error() string
func (*CreateConstraintTemplateDefault) GetPayload ¶
func (o *CreateConstraintTemplateDefault) GetPayload() *models.ErrorResponse
type CreateConstraintTemplateForbidden ¶
type CreateConstraintTemplateForbidden struct { }
CreateConstraintTemplateForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewCreateConstraintTemplateForbidden ¶
func NewCreateConstraintTemplateForbidden() *CreateConstraintTemplateForbidden
NewCreateConstraintTemplateForbidden creates a CreateConstraintTemplateForbidden with default headers values
func (*CreateConstraintTemplateForbidden) Error ¶
func (o *CreateConstraintTemplateForbidden) Error() string
type CreateConstraintTemplateOK ¶
type CreateConstraintTemplateOK struct {
Payload *models.ConstraintTemplate
}
CreateConstraintTemplateOK handles this case with default header values.
ConstraintTemplate
func NewCreateConstraintTemplateOK ¶
func NewCreateConstraintTemplateOK() *CreateConstraintTemplateOK
NewCreateConstraintTemplateOK creates a CreateConstraintTemplateOK with default headers values
func (*CreateConstraintTemplateOK) Error ¶
func (o *CreateConstraintTemplateOK) Error() string
func (*CreateConstraintTemplateOK) GetPayload ¶
func (o *CreateConstraintTemplateOK) GetPayload() *models.ConstraintTemplate
type CreateConstraintTemplateParams ¶
type CreateConstraintTemplateParams struct { /*Body*/ Body *models.CtBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConstraintTemplateParams contains all the parameters to send to the API endpoint for the create constraint template operation typically these are written to a http.Request
func NewCreateConstraintTemplateParams ¶
func NewCreateConstraintTemplateParams() *CreateConstraintTemplateParams
NewCreateConstraintTemplateParams creates a new CreateConstraintTemplateParams object with the default values initialized.
func NewCreateConstraintTemplateParamsWithContext ¶
func NewCreateConstraintTemplateParamsWithContext(ctx context.Context) *CreateConstraintTemplateParams
NewCreateConstraintTemplateParamsWithContext creates a new CreateConstraintTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewCreateConstraintTemplateParamsWithHTTPClient ¶
func NewCreateConstraintTemplateParamsWithHTTPClient(client *http.Client) *CreateConstraintTemplateParams
NewCreateConstraintTemplateParamsWithHTTPClient creates a new CreateConstraintTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateConstraintTemplateParamsWithTimeout ¶
func NewCreateConstraintTemplateParamsWithTimeout(timeout time.Duration) *CreateConstraintTemplateParams
NewCreateConstraintTemplateParamsWithTimeout creates a new CreateConstraintTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateConstraintTemplateParams) SetBody ¶
func (o *CreateConstraintTemplateParams) SetBody(body *models.CtBody)
SetBody adds the body to the create constraint template params
func (*CreateConstraintTemplateParams) SetContext ¶
func (o *CreateConstraintTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the create constraint template params
func (*CreateConstraintTemplateParams) SetHTTPClient ¶
func (o *CreateConstraintTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create constraint template params
func (*CreateConstraintTemplateParams) SetTimeout ¶
func (o *CreateConstraintTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create constraint template params
func (*CreateConstraintTemplateParams) WithBody ¶
func (o *CreateConstraintTemplateParams) WithBody(body *models.CtBody) *CreateConstraintTemplateParams
WithBody adds the body to the create constraint template params
func (*CreateConstraintTemplateParams) WithContext ¶
func (o *CreateConstraintTemplateParams) WithContext(ctx context.Context) *CreateConstraintTemplateParams
WithContext adds the context to the create constraint template params
func (*CreateConstraintTemplateParams) WithHTTPClient ¶
func (o *CreateConstraintTemplateParams) WithHTTPClient(client *http.Client) *CreateConstraintTemplateParams
WithHTTPClient adds the HTTPClient to the create constraint template params
func (*CreateConstraintTemplateParams) WithTimeout ¶
func (o *CreateConstraintTemplateParams) WithTimeout(timeout time.Duration) *CreateConstraintTemplateParams
WithTimeout adds the timeout to the create constraint template params
func (*CreateConstraintTemplateParams) WriteToRequest ¶
func (o *CreateConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConstraintTemplateReader ¶
type CreateConstraintTemplateReader struct {
// contains filtered or unexported fields
}
CreateConstraintTemplateReader is a Reader for the CreateConstraintTemplate structure.
func (*CreateConstraintTemplateReader) ReadResponse ¶
func (o *CreateConstraintTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConstraintTemplateUnauthorized ¶
type CreateConstraintTemplateUnauthorized struct { }
CreateConstraintTemplateUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewCreateConstraintTemplateUnauthorized ¶
func NewCreateConstraintTemplateUnauthorized() *CreateConstraintTemplateUnauthorized
NewCreateConstraintTemplateUnauthorized creates a CreateConstraintTemplateUnauthorized with default headers values
func (*CreateConstraintTemplateUnauthorized) Error ¶
func (o *CreateConstraintTemplateUnauthorized) Error() string
type DeleteConstraintTemplateDefault ¶
type DeleteConstraintTemplateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
DeleteConstraintTemplateDefault handles this case with default header values.
errorResponse
func NewDeleteConstraintTemplateDefault ¶
func NewDeleteConstraintTemplateDefault(code int) *DeleteConstraintTemplateDefault
NewDeleteConstraintTemplateDefault creates a DeleteConstraintTemplateDefault with default headers values
func (*DeleteConstraintTemplateDefault) Code ¶
func (o *DeleteConstraintTemplateDefault) Code() int
Code gets the status code for the delete constraint template default response
func (*DeleteConstraintTemplateDefault) Error ¶
func (o *DeleteConstraintTemplateDefault) Error() string
func (*DeleteConstraintTemplateDefault) GetPayload ¶
func (o *DeleteConstraintTemplateDefault) GetPayload() *models.ErrorResponse
type DeleteConstraintTemplateForbidden ¶
type DeleteConstraintTemplateForbidden struct { }
DeleteConstraintTemplateForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteConstraintTemplateForbidden ¶
func NewDeleteConstraintTemplateForbidden() *DeleteConstraintTemplateForbidden
NewDeleteConstraintTemplateForbidden creates a DeleteConstraintTemplateForbidden with default headers values
func (*DeleteConstraintTemplateForbidden) Error ¶
func (o *DeleteConstraintTemplateForbidden) Error() string
type DeleteConstraintTemplateOK ¶
type DeleteConstraintTemplateOK struct { }
DeleteConstraintTemplateOK handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteConstraintTemplateOK ¶
func NewDeleteConstraintTemplateOK() *DeleteConstraintTemplateOK
NewDeleteConstraintTemplateOK creates a DeleteConstraintTemplateOK with default headers values
func (*DeleteConstraintTemplateOK) Error ¶
func (o *DeleteConstraintTemplateOK) Error() string
type DeleteConstraintTemplateParams ¶
type DeleteConstraintTemplateParams struct { /*CtName*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConstraintTemplateParams contains all the parameters to send to the API endpoint for the delete constraint template operation typically these are written to a http.Request
func NewDeleteConstraintTemplateParams ¶
func NewDeleteConstraintTemplateParams() *DeleteConstraintTemplateParams
NewDeleteConstraintTemplateParams creates a new DeleteConstraintTemplateParams object with the default values initialized.
func NewDeleteConstraintTemplateParamsWithContext ¶
func NewDeleteConstraintTemplateParamsWithContext(ctx context.Context) *DeleteConstraintTemplateParams
NewDeleteConstraintTemplateParamsWithContext creates a new DeleteConstraintTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConstraintTemplateParamsWithHTTPClient ¶
func NewDeleteConstraintTemplateParamsWithHTTPClient(client *http.Client) *DeleteConstraintTemplateParams
NewDeleteConstraintTemplateParamsWithHTTPClient creates a new DeleteConstraintTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConstraintTemplateParamsWithTimeout ¶
func NewDeleteConstraintTemplateParamsWithTimeout(timeout time.Duration) *DeleteConstraintTemplateParams
NewDeleteConstraintTemplateParamsWithTimeout creates a new DeleteConstraintTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConstraintTemplateParams) SetContext ¶
func (o *DeleteConstraintTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete constraint template params
func (*DeleteConstraintTemplateParams) SetHTTPClient ¶
func (o *DeleteConstraintTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete constraint template params
func (*DeleteConstraintTemplateParams) SetName ¶
func (o *DeleteConstraintTemplateParams) SetName(ctName string)
SetName adds the ctName to the delete constraint template params
func (*DeleteConstraintTemplateParams) SetTimeout ¶
func (o *DeleteConstraintTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete constraint template params
func (*DeleteConstraintTemplateParams) WithContext ¶
func (o *DeleteConstraintTemplateParams) WithContext(ctx context.Context) *DeleteConstraintTemplateParams
WithContext adds the context to the delete constraint template params
func (*DeleteConstraintTemplateParams) WithHTTPClient ¶
func (o *DeleteConstraintTemplateParams) WithHTTPClient(client *http.Client) *DeleteConstraintTemplateParams
WithHTTPClient adds the HTTPClient to the delete constraint template params
func (*DeleteConstraintTemplateParams) WithName ¶
func (o *DeleteConstraintTemplateParams) WithName(ctName string) *DeleteConstraintTemplateParams
WithName adds the ctName to the delete constraint template params
func (*DeleteConstraintTemplateParams) WithTimeout ¶
func (o *DeleteConstraintTemplateParams) WithTimeout(timeout time.Duration) *DeleteConstraintTemplateParams
WithTimeout adds the timeout to the delete constraint template params
func (*DeleteConstraintTemplateParams) WriteToRequest ¶
func (o *DeleteConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConstraintTemplateReader ¶
type DeleteConstraintTemplateReader struct {
// contains filtered or unexported fields
}
DeleteConstraintTemplateReader is a Reader for the DeleteConstraintTemplate structure.
func (*DeleteConstraintTemplateReader) ReadResponse ¶
func (o *DeleteConstraintTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConstraintTemplateUnauthorized ¶
type DeleteConstraintTemplateUnauthorized struct { }
DeleteConstraintTemplateUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewDeleteConstraintTemplateUnauthorized ¶
func NewDeleteConstraintTemplateUnauthorized() *DeleteConstraintTemplateUnauthorized
NewDeleteConstraintTemplateUnauthorized creates a DeleteConstraintTemplateUnauthorized with default headers values
func (*DeleteConstraintTemplateUnauthorized) Error ¶
func (o *DeleteConstraintTemplateUnauthorized) Error() string
type GetConstraintTemplateDefault ¶
type GetConstraintTemplateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetConstraintTemplateDefault handles this case with default header values.
errorResponse
func NewGetConstraintTemplateDefault ¶
func NewGetConstraintTemplateDefault(code int) *GetConstraintTemplateDefault
NewGetConstraintTemplateDefault creates a GetConstraintTemplateDefault with default headers values
func (*GetConstraintTemplateDefault) Code ¶
func (o *GetConstraintTemplateDefault) Code() int
Code gets the status code for the get constraint template default response
func (*GetConstraintTemplateDefault) Error ¶
func (o *GetConstraintTemplateDefault) Error() string
func (*GetConstraintTemplateDefault) GetPayload ¶
func (o *GetConstraintTemplateDefault) GetPayload() *models.ErrorResponse
type GetConstraintTemplateForbidden ¶
type GetConstraintTemplateForbidden struct { }
GetConstraintTemplateForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewGetConstraintTemplateForbidden ¶
func NewGetConstraintTemplateForbidden() *GetConstraintTemplateForbidden
NewGetConstraintTemplateForbidden creates a GetConstraintTemplateForbidden with default headers values
func (*GetConstraintTemplateForbidden) Error ¶
func (o *GetConstraintTemplateForbidden) Error() string
type GetConstraintTemplateOK ¶
type GetConstraintTemplateOK struct {
Payload *models.ConstraintTemplate
}
GetConstraintTemplateOK handles this case with default header values.
ConstraintTemplate
func NewGetConstraintTemplateOK ¶
func NewGetConstraintTemplateOK() *GetConstraintTemplateOK
NewGetConstraintTemplateOK creates a GetConstraintTemplateOK with default headers values
func (*GetConstraintTemplateOK) Error ¶
func (o *GetConstraintTemplateOK) Error() string
func (*GetConstraintTemplateOK) GetPayload ¶
func (o *GetConstraintTemplateOK) GetPayload() *models.ConstraintTemplate
type GetConstraintTemplateParams ¶
type GetConstraintTemplateParams struct { /*CtName*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConstraintTemplateParams contains all the parameters to send to the API endpoint for the get constraint template operation typically these are written to a http.Request
func NewGetConstraintTemplateParams ¶
func NewGetConstraintTemplateParams() *GetConstraintTemplateParams
NewGetConstraintTemplateParams creates a new GetConstraintTemplateParams object with the default values initialized.
func NewGetConstraintTemplateParamsWithContext ¶
func NewGetConstraintTemplateParamsWithContext(ctx context.Context) *GetConstraintTemplateParams
NewGetConstraintTemplateParamsWithContext creates a new GetConstraintTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetConstraintTemplateParamsWithHTTPClient ¶
func NewGetConstraintTemplateParamsWithHTTPClient(client *http.Client) *GetConstraintTemplateParams
NewGetConstraintTemplateParamsWithHTTPClient creates a new GetConstraintTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConstraintTemplateParamsWithTimeout ¶
func NewGetConstraintTemplateParamsWithTimeout(timeout time.Duration) *GetConstraintTemplateParams
NewGetConstraintTemplateParamsWithTimeout creates a new GetConstraintTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConstraintTemplateParams) SetContext ¶
func (o *GetConstraintTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get constraint template params
func (*GetConstraintTemplateParams) SetHTTPClient ¶
func (o *GetConstraintTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get constraint template params
func (*GetConstraintTemplateParams) SetName ¶
func (o *GetConstraintTemplateParams) SetName(ctName string)
SetName adds the ctName to the get constraint template params
func (*GetConstraintTemplateParams) SetTimeout ¶
func (o *GetConstraintTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get constraint template params
func (*GetConstraintTemplateParams) WithContext ¶
func (o *GetConstraintTemplateParams) WithContext(ctx context.Context) *GetConstraintTemplateParams
WithContext adds the context to the get constraint template params
func (*GetConstraintTemplateParams) WithHTTPClient ¶
func (o *GetConstraintTemplateParams) WithHTTPClient(client *http.Client) *GetConstraintTemplateParams
WithHTTPClient adds the HTTPClient to the get constraint template params
func (*GetConstraintTemplateParams) WithName ¶
func (o *GetConstraintTemplateParams) WithName(ctName string) *GetConstraintTemplateParams
WithName adds the ctName to the get constraint template params
func (*GetConstraintTemplateParams) WithTimeout ¶
func (o *GetConstraintTemplateParams) WithTimeout(timeout time.Duration) *GetConstraintTemplateParams
WithTimeout adds the timeout to the get constraint template params
func (*GetConstraintTemplateParams) WriteToRequest ¶
func (o *GetConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConstraintTemplateReader ¶
type GetConstraintTemplateReader struct {
// contains filtered or unexported fields
}
GetConstraintTemplateReader is a Reader for the GetConstraintTemplate structure.
func (*GetConstraintTemplateReader) ReadResponse ¶
func (o *GetConstraintTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConstraintTemplateUnauthorized ¶
type GetConstraintTemplateUnauthorized struct { }
GetConstraintTemplateUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewGetConstraintTemplateUnauthorized ¶
func NewGetConstraintTemplateUnauthorized() *GetConstraintTemplateUnauthorized
NewGetConstraintTemplateUnauthorized creates a GetConstraintTemplateUnauthorized with default headers values
func (*GetConstraintTemplateUnauthorized) Error ¶
func (o *GetConstraintTemplateUnauthorized) Error() string
type ListConstraintTemplatesDefault ¶
type ListConstraintTemplatesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListConstraintTemplatesDefault handles this case with default header values.
errorResponse
func NewListConstraintTemplatesDefault ¶
func NewListConstraintTemplatesDefault(code int) *ListConstraintTemplatesDefault
NewListConstraintTemplatesDefault creates a ListConstraintTemplatesDefault with default headers values
func (*ListConstraintTemplatesDefault) Code ¶
func (o *ListConstraintTemplatesDefault) Code() int
Code gets the status code for the list constraint templates default response
func (*ListConstraintTemplatesDefault) Error ¶
func (o *ListConstraintTemplatesDefault) Error() string
func (*ListConstraintTemplatesDefault) GetPayload ¶
func (o *ListConstraintTemplatesDefault) GetPayload() *models.ErrorResponse
type ListConstraintTemplatesForbidden ¶
type ListConstraintTemplatesForbidden struct { }
ListConstraintTemplatesForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewListConstraintTemplatesForbidden ¶
func NewListConstraintTemplatesForbidden() *ListConstraintTemplatesForbidden
NewListConstraintTemplatesForbidden creates a ListConstraintTemplatesForbidden with default headers values
func (*ListConstraintTemplatesForbidden) Error ¶
func (o *ListConstraintTemplatesForbidden) Error() string
type ListConstraintTemplatesOK ¶
type ListConstraintTemplatesOK struct {
Payload []*models.ConstraintTemplate
}
ListConstraintTemplatesOK handles this case with default header values.
ConstraintTemplate
func NewListConstraintTemplatesOK ¶
func NewListConstraintTemplatesOK() *ListConstraintTemplatesOK
NewListConstraintTemplatesOK creates a ListConstraintTemplatesOK with default headers values
func (*ListConstraintTemplatesOK) Error ¶
func (o *ListConstraintTemplatesOK) Error() string
func (*ListConstraintTemplatesOK) GetPayload ¶
func (o *ListConstraintTemplatesOK) GetPayload() []*models.ConstraintTemplate
type ListConstraintTemplatesParams ¶
type ListConstraintTemplatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConstraintTemplatesParams contains all the parameters to send to the API endpoint for the list constraint templates operation typically these are written to a http.Request
func NewListConstraintTemplatesParams ¶
func NewListConstraintTemplatesParams() *ListConstraintTemplatesParams
NewListConstraintTemplatesParams creates a new ListConstraintTemplatesParams object with the default values initialized.
func NewListConstraintTemplatesParamsWithContext ¶
func NewListConstraintTemplatesParamsWithContext(ctx context.Context) *ListConstraintTemplatesParams
NewListConstraintTemplatesParamsWithContext creates a new ListConstraintTemplatesParams object with the default values initialized, and the ability to set a context for a request
func NewListConstraintTemplatesParamsWithHTTPClient ¶
func NewListConstraintTemplatesParamsWithHTTPClient(client *http.Client) *ListConstraintTemplatesParams
NewListConstraintTemplatesParamsWithHTTPClient creates a new ListConstraintTemplatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListConstraintTemplatesParamsWithTimeout ¶
func NewListConstraintTemplatesParamsWithTimeout(timeout time.Duration) *ListConstraintTemplatesParams
NewListConstraintTemplatesParamsWithTimeout creates a new ListConstraintTemplatesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListConstraintTemplatesParams) SetContext ¶
func (o *ListConstraintTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list constraint templates params
func (*ListConstraintTemplatesParams) SetHTTPClient ¶
func (o *ListConstraintTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list constraint templates params
func (*ListConstraintTemplatesParams) SetTimeout ¶
func (o *ListConstraintTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list constraint templates params
func (*ListConstraintTemplatesParams) WithContext ¶
func (o *ListConstraintTemplatesParams) WithContext(ctx context.Context) *ListConstraintTemplatesParams
WithContext adds the context to the list constraint templates params
func (*ListConstraintTemplatesParams) WithHTTPClient ¶
func (o *ListConstraintTemplatesParams) WithHTTPClient(client *http.Client) *ListConstraintTemplatesParams
WithHTTPClient adds the HTTPClient to the list constraint templates params
func (*ListConstraintTemplatesParams) WithTimeout ¶
func (o *ListConstraintTemplatesParams) WithTimeout(timeout time.Duration) *ListConstraintTemplatesParams
WithTimeout adds the timeout to the list constraint templates params
func (*ListConstraintTemplatesParams) WriteToRequest ¶
func (o *ListConstraintTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConstraintTemplatesReader ¶
type ListConstraintTemplatesReader struct {
// contains filtered or unexported fields
}
ListConstraintTemplatesReader is a Reader for the ListConstraintTemplates structure.
func (*ListConstraintTemplatesReader) ReadResponse ¶
func (o *ListConstraintTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConstraintTemplatesUnauthorized ¶
type ListConstraintTemplatesUnauthorized struct { }
ListConstraintTemplatesUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewListConstraintTemplatesUnauthorized ¶
func NewListConstraintTemplatesUnauthorized() *ListConstraintTemplatesUnauthorized
NewListConstraintTemplatesUnauthorized creates a ListConstraintTemplatesUnauthorized with default headers values
func (*ListConstraintTemplatesUnauthorized) Error ¶
func (o *ListConstraintTemplatesUnauthorized) Error() string
type PatchConstraintTemplateDefault ¶
type PatchConstraintTemplateDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
PatchConstraintTemplateDefault handles this case with default header values.
errorResponse
func NewPatchConstraintTemplateDefault ¶
func NewPatchConstraintTemplateDefault(code int) *PatchConstraintTemplateDefault
NewPatchConstraintTemplateDefault creates a PatchConstraintTemplateDefault with default headers values
func (*PatchConstraintTemplateDefault) Code ¶
func (o *PatchConstraintTemplateDefault) Code() int
Code gets the status code for the patch constraint template default response
func (*PatchConstraintTemplateDefault) Error ¶
func (o *PatchConstraintTemplateDefault) Error() string
func (*PatchConstraintTemplateDefault) GetPayload ¶
func (o *PatchConstraintTemplateDefault) GetPayload() *models.ErrorResponse
type PatchConstraintTemplateForbidden ¶
type PatchConstraintTemplateForbidden struct { }
PatchConstraintTemplateForbidden handles this case with default header values.
EmptyResponse is a empty response
func NewPatchConstraintTemplateForbidden ¶
func NewPatchConstraintTemplateForbidden() *PatchConstraintTemplateForbidden
NewPatchConstraintTemplateForbidden creates a PatchConstraintTemplateForbidden with default headers values
func (*PatchConstraintTemplateForbidden) Error ¶
func (o *PatchConstraintTemplateForbidden) Error() string
type PatchConstraintTemplateOK ¶
type PatchConstraintTemplateOK struct {
Payload *models.ConstraintTemplate
}
PatchConstraintTemplateOK handles this case with default header values.
ConstraintTemplate
func NewPatchConstraintTemplateOK ¶
func NewPatchConstraintTemplateOK() *PatchConstraintTemplateOK
NewPatchConstraintTemplateOK creates a PatchConstraintTemplateOK with default headers values
func (*PatchConstraintTemplateOK) Error ¶
func (o *PatchConstraintTemplateOK) Error() string
func (*PatchConstraintTemplateOK) GetPayload ¶
func (o *PatchConstraintTemplateOK) GetPayload() *models.ConstraintTemplate
type PatchConstraintTemplateParams ¶
type PatchConstraintTemplateParams struct { /*Patch*/ Patch interface{} /*CtName*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchConstraintTemplateParams contains all the parameters to send to the API endpoint for the patch constraint template operation typically these are written to a http.Request
func NewPatchConstraintTemplateParams ¶
func NewPatchConstraintTemplateParams() *PatchConstraintTemplateParams
NewPatchConstraintTemplateParams creates a new PatchConstraintTemplateParams object with the default values initialized.
func NewPatchConstraintTemplateParamsWithContext ¶
func NewPatchConstraintTemplateParamsWithContext(ctx context.Context) *PatchConstraintTemplateParams
NewPatchConstraintTemplateParamsWithContext creates a new PatchConstraintTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewPatchConstraintTemplateParamsWithHTTPClient ¶
func NewPatchConstraintTemplateParamsWithHTTPClient(client *http.Client) *PatchConstraintTemplateParams
NewPatchConstraintTemplateParamsWithHTTPClient creates a new PatchConstraintTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchConstraintTemplateParamsWithTimeout ¶
func NewPatchConstraintTemplateParamsWithTimeout(timeout time.Duration) *PatchConstraintTemplateParams
NewPatchConstraintTemplateParamsWithTimeout creates a new PatchConstraintTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchConstraintTemplateParams) SetContext ¶
func (o *PatchConstraintTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the patch constraint template params
func (*PatchConstraintTemplateParams) SetHTTPClient ¶
func (o *PatchConstraintTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch constraint template params
func (*PatchConstraintTemplateParams) SetName ¶
func (o *PatchConstraintTemplateParams) SetName(ctName string)
SetName adds the ctName to the patch constraint template params
func (*PatchConstraintTemplateParams) SetPatch ¶
func (o *PatchConstraintTemplateParams) SetPatch(patch interface{})
SetPatch adds the patch to the patch constraint template params
func (*PatchConstraintTemplateParams) SetTimeout ¶
func (o *PatchConstraintTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch constraint template params
func (*PatchConstraintTemplateParams) WithContext ¶
func (o *PatchConstraintTemplateParams) WithContext(ctx context.Context) *PatchConstraintTemplateParams
WithContext adds the context to the patch constraint template params
func (*PatchConstraintTemplateParams) WithHTTPClient ¶
func (o *PatchConstraintTemplateParams) WithHTTPClient(client *http.Client) *PatchConstraintTemplateParams
WithHTTPClient adds the HTTPClient to the patch constraint template params
func (*PatchConstraintTemplateParams) WithName ¶
func (o *PatchConstraintTemplateParams) WithName(ctName string) *PatchConstraintTemplateParams
WithName adds the ctName to the patch constraint template params
func (*PatchConstraintTemplateParams) WithPatch ¶
func (o *PatchConstraintTemplateParams) WithPatch(patch interface{}) *PatchConstraintTemplateParams
WithPatch adds the patch to the patch constraint template params
func (*PatchConstraintTemplateParams) WithTimeout ¶
func (o *PatchConstraintTemplateParams) WithTimeout(timeout time.Duration) *PatchConstraintTemplateParams
WithTimeout adds the timeout to the patch constraint template params
func (*PatchConstraintTemplateParams) WriteToRequest ¶
func (o *PatchConstraintTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchConstraintTemplateReader ¶
type PatchConstraintTemplateReader struct {
// contains filtered or unexported fields
}
PatchConstraintTemplateReader is a Reader for the PatchConstraintTemplate structure.
func (*PatchConstraintTemplateReader) ReadResponse ¶
func (o *PatchConstraintTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchConstraintTemplateUnauthorized ¶
type PatchConstraintTemplateUnauthorized struct { }
PatchConstraintTemplateUnauthorized handles this case with default header values.
EmptyResponse is a empty response
func NewPatchConstraintTemplateUnauthorized ¶
func NewPatchConstraintTemplateUnauthorized() *PatchConstraintTemplateUnauthorized
NewPatchConstraintTemplateUnauthorized creates a PatchConstraintTemplateUnauthorized with default headers values
func (*PatchConstraintTemplateUnauthorized) Error ¶
func (o *PatchConstraintTemplateUnauthorized) Error() string
Source Files ¶
- constrainttemplates_client.go
- create_constraint_template_parameters.go
- create_constraint_template_responses.go
- delete_constraint_template_parameters.go
- delete_constraint_template_responses.go
- get_constraint_template_parameters.go
- get_constraint_template_responses.go
- list_constraint_templates_parameters.go
- list_constraint_templates_responses.go
- patch_constraint_template_parameters.go
- patch_constraint_template_responses.go