Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteConstraint(params *DeleteConstraintParams) error
- func (a *Client) DeletePrivateConstraint(params *DeletePrivateConstraintParams) error
- func (a *Client) DeletePublicConstraint(params *DeletePublicConstraintParams) error
- func (a *Client) GetConstraint(params *GetConstraintParams) (*GetConstraintOK, error)
- func (a *Client) GetPrivateConstraint(params *GetPrivateConstraintParams) (*GetPrivateConstraintOK, error)
- func (a *Client) GetPrivatesConstraint(params *GetPrivatesConstraintParams) (*GetPrivatesConstraintOK, error)
- func (a *Client) GetPublicConstraint(params *GetPublicConstraintParams) (*GetPublicConstraintOK, error)
- func (a *Client) GetPublicsConstraint(params *GetPublicsConstraintParams) (*GetPublicsConstraintOK, error)
- func (a *Client) PostPrivateConstraint(params *PostPrivateConstraintParams) (*PostPrivateConstraintOK, error)
- func (a *Client) PostPublicConstraint(params *PostPublicConstraintParams) (*PostPublicConstraintOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteConstraintDefault
- type DeleteConstraintParams
- func NewDeleteConstraintParams() *DeleteConstraintParams
- func NewDeleteConstraintParamsWithContext(ctx context.Context) *DeleteConstraintParams
- func NewDeleteConstraintParamsWithHTTPClient(client *http.Client) *DeleteConstraintParams
- func NewDeleteConstraintParamsWithTimeout(timeout time.Duration) *DeleteConstraintParams
- func (o *DeleteConstraintParams) SetContext(ctx context.Context)
- func (o *DeleteConstraintParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConstraintParams) SetID(id int64)
- func (o *DeleteConstraintParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConstraintParams) WithContext(ctx context.Context) *DeleteConstraintParams
- func (o *DeleteConstraintParams) WithHTTPClient(client *http.Client) *DeleteConstraintParams
- func (o *DeleteConstraintParams) WithID(id int64) *DeleteConstraintParams
- func (o *DeleteConstraintParams) WithTimeout(timeout time.Duration) *DeleteConstraintParams
- func (o *DeleteConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConstraintReader
- type DeletePrivateConstraintDefault
- type DeletePrivateConstraintParams
- func NewDeletePrivateConstraintParams() *DeletePrivateConstraintParams
- func NewDeletePrivateConstraintParamsWithContext(ctx context.Context) *DeletePrivateConstraintParams
- func NewDeletePrivateConstraintParamsWithHTTPClient(client *http.Client) *DeletePrivateConstraintParams
- func NewDeletePrivateConstraintParamsWithTimeout(timeout time.Duration) *DeletePrivateConstraintParams
- func (o *DeletePrivateConstraintParams) SetContext(ctx context.Context)
- func (o *DeletePrivateConstraintParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateConstraintParams) SetName(name string)
- func (o *DeletePrivateConstraintParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateConstraintParams) WithContext(ctx context.Context) *DeletePrivateConstraintParams
- func (o *DeletePrivateConstraintParams) WithHTTPClient(client *http.Client) *DeletePrivateConstraintParams
- func (o *DeletePrivateConstraintParams) WithName(name string) *DeletePrivateConstraintParams
- func (o *DeletePrivateConstraintParams) WithTimeout(timeout time.Duration) *DeletePrivateConstraintParams
- func (o *DeletePrivateConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateConstraintReader
- type DeletePublicConstraintDefault
- type DeletePublicConstraintParams
- func NewDeletePublicConstraintParams() *DeletePublicConstraintParams
- func NewDeletePublicConstraintParamsWithContext(ctx context.Context) *DeletePublicConstraintParams
- func NewDeletePublicConstraintParamsWithHTTPClient(client *http.Client) *DeletePublicConstraintParams
- func NewDeletePublicConstraintParamsWithTimeout(timeout time.Duration) *DeletePublicConstraintParams
- func (o *DeletePublicConstraintParams) SetContext(ctx context.Context)
- func (o *DeletePublicConstraintParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicConstraintParams) SetName(name string)
- func (o *DeletePublicConstraintParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicConstraintParams) WithContext(ctx context.Context) *DeletePublicConstraintParams
- func (o *DeletePublicConstraintParams) WithHTTPClient(client *http.Client) *DeletePublicConstraintParams
- func (o *DeletePublicConstraintParams) WithName(name string) *DeletePublicConstraintParams
- func (o *DeletePublicConstraintParams) WithTimeout(timeout time.Duration) *DeletePublicConstraintParams
- func (o *DeletePublicConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicConstraintReader
- type GetConstraintOK
- type GetConstraintParams
- func (o *GetConstraintParams) SetContext(ctx context.Context)
- func (o *GetConstraintParams) SetHTTPClient(client *http.Client)
- func (o *GetConstraintParams) SetID(id int64)
- func (o *GetConstraintParams) SetTimeout(timeout time.Duration)
- func (o *GetConstraintParams) WithContext(ctx context.Context) *GetConstraintParams
- func (o *GetConstraintParams) WithHTTPClient(client *http.Client) *GetConstraintParams
- func (o *GetConstraintParams) WithID(id int64) *GetConstraintParams
- func (o *GetConstraintParams) WithTimeout(timeout time.Duration) *GetConstraintParams
- func (o *GetConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConstraintReader
- type GetPrivateConstraintOK
- type GetPrivateConstraintParams
- func NewGetPrivateConstraintParams() *GetPrivateConstraintParams
- func NewGetPrivateConstraintParamsWithContext(ctx context.Context) *GetPrivateConstraintParams
- func NewGetPrivateConstraintParamsWithHTTPClient(client *http.Client) *GetPrivateConstraintParams
- func NewGetPrivateConstraintParamsWithTimeout(timeout time.Duration) *GetPrivateConstraintParams
- func (o *GetPrivateConstraintParams) SetContext(ctx context.Context)
- func (o *GetPrivateConstraintParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateConstraintParams) SetName(name string)
- func (o *GetPrivateConstraintParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateConstraintParams) WithContext(ctx context.Context) *GetPrivateConstraintParams
- func (o *GetPrivateConstraintParams) WithHTTPClient(client *http.Client) *GetPrivateConstraintParams
- func (o *GetPrivateConstraintParams) WithName(name string) *GetPrivateConstraintParams
- func (o *GetPrivateConstraintParams) WithTimeout(timeout time.Duration) *GetPrivateConstraintParams
- func (o *GetPrivateConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateConstraintReader
- type GetPrivatesConstraintOK
- type GetPrivatesConstraintParams
- func NewGetPrivatesConstraintParams() *GetPrivatesConstraintParams
- func NewGetPrivatesConstraintParamsWithContext(ctx context.Context) *GetPrivatesConstraintParams
- func NewGetPrivatesConstraintParamsWithHTTPClient(client *http.Client) *GetPrivatesConstraintParams
- func NewGetPrivatesConstraintParamsWithTimeout(timeout time.Duration) *GetPrivatesConstraintParams
- func (o *GetPrivatesConstraintParams) SetContext(ctx context.Context)
- func (o *GetPrivatesConstraintParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivatesConstraintParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivatesConstraintParams) WithContext(ctx context.Context) *GetPrivatesConstraintParams
- func (o *GetPrivatesConstraintParams) WithHTTPClient(client *http.Client) *GetPrivatesConstraintParams
- func (o *GetPrivatesConstraintParams) WithTimeout(timeout time.Duration) *GetPrivatesConstraintParams
- func (o *GetPrivatesConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivatesConstraintReader
- type GetPublicConstraintOK
- type GetPublicConstraintParams
- func NewGetPublicConstraintParams() *GetPublicConstraintParams
- func NewGetPublicConstraintParamsWithContext(ctx context.Context) *GetPublicConstraintParams
- func NewGetPublicConstraintParamsWithHTTPClient(client *http.Client) *GetPublicConstraintParams
- func NewGetPublicConstraintParamsWithTimeout(timeout time.Duration) *GetPublicConstraintParams
- func (o *GetPublicConstraintParams) SetContext(ctx context.Context)
- func (o *GetPublicConstraintParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicConstraintParams) SetName(name string)
- func (o *GetPublicConstraintParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicConstraintParams) WithContext(ctx context.Context) *GetPublicConstraintParams
- func (o *GetPublicConstraintParams) WithHTTPClient(client *http.Client) *GetPublicConstraintParams
- func (o *GetPublicConstraintParams) WithName(name string) *GetPublicConstraintParams
- func (o *GetPublicConstraintParams) WithTimeout(timeout time.Duration) *GetPublicConstraintParams
- func (o *GetPublicConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicConstraintReader
- type GetPublicsConstraintOK
- type GetPublicsConstraintParams
- func NewGetPublicsConstraintParams() *GetPublicsConstraintParams
- func NewGetPublicsConstraintParamsWithContext(ctx context.Context) *GetPublicsConstraintParams
- func NewGetPublicsConstraintParamsWithHTTPClient(client *http.Client) *GetPublicsConstraintParams
- func NewGetPublicsConstraintParamsWithTimeout(timeout time.Duration) *GetPublicsConstraintParams
- func (o *GetPublicsConstraintParams) SetContext(ctx context.Context)
- func (o *GetPublicsConstraintParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsConstraintParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsConstraintParams) WithContext(ctx context.Context) *GetPublicsConstraintParams
- func (o *GetPublicsConstraintParams) WithHTTPClient(client *http.Client) *GetPublicsConstraintParams
- func (o *GetPublicsConstraintParams) WithTimeout(timeout time.Duration) *GetPublicsConstraintParams
- func (o *GetPublicsConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsConstraintReader
- type PostPrivateConstraintOK
- type PostPrivateConstraintParams
- func NewPostPrivateConstraintParams() *PostPrivateConstraintParams
- func NewPostPrivateConstraintParamsWithContext(ctx context.Context) *PostPrivateConstraintParams
- func NewPostPrivateConstraintParamsWithHTTPClient(client *http.Client) *PostPrivateConstraintParams
- func NewPostPrivateConstraintParamsWithTimeout(timeout time.Duration) *PostPrivateConstraintParams
- func (o *PostPrivateConstraintParams) SetBody(body *models_cloudbreak.ConstraintTemplateRequest)
- func (o *PostPrivateConstraintParams) SetContext(ctx context.Context)
- func (o *PostPrivateConstraintParams) SetHTTPClient(client *http.Client)
- func (o *PostPrivateConstraintParams) SetTimeout(timeout time.Duration)
- func (o *PostPrivateConstraintParams) WithBody(body *models_cloudbreak.ConstraintTemplateRequest) *PostPrivateConstraintParams
- func (o *PostPrivateConstraintParams) WithContext(ctx context.Context) *PostPrivateConstraintParams
- func (o *PostPrivateConstraintParams) WithHTTPClient(client *http.Client) *PostPrivateConstraintParams
- func (o *PostPrivateConstraintParams) WithTimeout(timeout time.Duration) *PostPrivateConstraintParams
- func (o *PostPrivateConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPrivateConstraintReader
- type PostPublicConstraintOK
- type PostPublicConstraintParams
- func NewPostPublicConstraintParams() *PostPublicConstraintParams
- func NewPostPublicConstraintParamsWithContext(ctx context.Context) *PostPublicConstraintParams
- func NewPostPublicConstraintParamsWithHTTPClient(client *http.Client) *PostPublicConstraintParams
- func NewPostPublicConstraintParamsWithTimeout(timeout time.Duration) *PostPublicConstraintParams
- func (o *PostPublicConstraintParams) SetBody(body *models_cloudbreak.ConstraintTemplateRequest)
- func (o *PostPublicConstraintParams) SetContext(ctx context.Context)
- func (o *PostPublicConstraintParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicConstraintParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicConstraintParams) WithBody(body *models_cloudbreak.ConstraintTemplateRequest) *PostPublicConstraintParams
- func (o *PostPublicConstraintParams) WithContext(ctx context.Context) *PostPublicConstraintParams
- func (o *PostPublicConstraintParams) WithHTTPClient(client *http.Client) *PostPublicConstraintParams
- func (o *PostPublicConstraintParams) WithTimeout(timeout time.Duration) *PostPublicConstraintParams
- func (o *PostPublicConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicConstraintReader
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 v1constraints API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1constraints API client.
func (*Client) DeleteConstraint ¶
func (a *Client) DeleteConstraint(params *DeleteConstraintParams) error
DeleteConstraint deletes constraint template by id
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) DeletePrivateConstraint ¶
func (a *Client) DeletePrivateConstraint(params *DeletePrivateConstraintParams) error
DeletePrivateConstraint deletes private constraint template by name
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) DeletePublicConstraint ¶
func (a *Client) DeletePublicConstraint(params *DeletePublicConstraintParams) error
DeletePublicConstraint deletes public owned or private constraint template by name
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) GetConstraint ¶
func (a *Client) GetConstraint(params *GetConstraintParams) (*GetConstraintOK, error)
GetConstraint retrieves constraint template by id
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) GetPrivateConstraint ¶
func (a *Client) GetPrivateConstraint(params *GetPrivateConstraintParams) (*GetPrivateConstraintOK, error)
GetPrivateConstraint retrieves a private constraint template by name
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) GetPrivatesConstraint ¶
func (a *Client) GetPrivatesConstraint(params *GetPrivatesConstraintParams) (*GetPrivatesConstraintOK, error)
GetPrivatesConstraint retrieves private constraint templates
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) GetPublicConstraint ¶
func (a *Client) GetPublicConstraint(params *GetPublicConstraintParams) (*GetPublicConstraintOK, error)
GetPublicConstraint retrieves a public or private owned constraint template by name
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) GetPublicsConstraint ¶
func (a *Client) GetPublicsConstraint(params *GetPublicsConstraintParams) (*GetPublicsConstraintOK, error)
GetPublicsConstraint retrieves public and private owned constraint templates
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) PostPrivateConstraint ¶
func (a *Client) PostPrivateConstraint(params *PostPrivateConstraintParams) (*PostPrivateConstraintOK, error)
PostPrivateConstraint creates constraint template as private resource
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) PostPublicConstraint ¶
func (a *Client) PostPublicConstraint(params *PostPublicConstraintParams) (*PostPublicConstraintOK, error)
PostPublicConstraint creates constraint template as public resource
A constraint template tells Cloudbreak the resource constraints (cpu, memory, disk) of the Ambari containers that will be deployed to the cluster. A constraint template must be created onenvironments where there is no one-to-one mapping between containers and nodes, like YARN.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteConstraintDefault ¶
type DeleteConstraintDefault struct {
// contains filtered or unexported fields
}
DeleteConstraintDefault handles this case with default header values.
successful operation
func NewDeleteConstraintDefault ¶
func NewDeleteConstraintDefault(code int) *DeleteConstraintDefault
NewDeleteConstraintDefault creates a DeleteConstraintDefault with default headers values
func (*DeleteConstraintDefault) Code ¶
func (o *DeleteConstraintDefault) Code() int
Code gets the status code for the delete constraint default response
func (*DeleteConstraintDefault) Error ¶
func (o *DeleteConstraintDefault) Error() string
type DeleteConstraintParams ¶
type DeleteConstraintParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConstraintParams contains all the parameters to send to the API endpoint for the delete constraint operation typically these are written to a http.Request
func NewDeleteConstraintParams ¶
func NewDeleteConstraintParams() *DeleteConstraintParams
NewDeleteConstraintParams creates a new DeleteConstraintParams object with the default values initialized.
func NewDeleteConstraintParamsWithContext ¶
func NewDeleteConstraintParamsWithContext(ctx context.Context) *DeleteConstraintParams
NewDeleteConstraintParamsWithContext creates a new DeleteConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConstraintParamsWithHTTPClient ¶
func NewDeleteConstraintParamsWithHTTPClient(client *http.Client) *DeleteConstraintParams
NewDeleteConstraintParamsWithHTTPClient creates a new DeleteConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConstraintParamsWithTimeout ¶
func NewDeleteConstraintParamsWithTimeout(timeout time.Duration) *DeleteConstraintParams
NewDeleteConstraintParamsWithTimeout creates a new DeleteConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConstraintParams) SetContext ¶
func (o *DeleteConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the delete constraint params
func (*DeleteConstraintParams) SetHTTPClient ¶
func (o *DeleteConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete constraint params
func (*DeleteConstraintParams) SetID ¶
func (o *DeleteConstraintParams) SetID(id int64)
SetID adds the id to the delete constraint params
func (*DeleteConstraintParams) SetTimeout ¶
func (o *DeleteConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete constraint params
func (*DeleteConstraintParams) WithContext ¶
func (o *DeleteConstraintParams) WithContext(ctx context.Context) *DeleteConstraintParams
WithContext adds the context to the delete constraint params
func (*DeleteConstraintParams) WithHTTPClient ¶
func (o *DeleteConstraintParams) WithHTTPClient(client *http.Client) *DeleteConstraintParams
WithHTTPClient adds the HTTPClient to the delete constraint params
func (*DeleteConstraintParams) WithID ¶
func (o *DeleteConstraintParams) WithID(id int64) *DeleteConstraintParams
WithID adds the id to the delete constraint params
func (*DeleteConstraintParams) WithTimeout ¶
func (o *DeleteConstraintParams) WithTimeout(timeout time.Duration) *DeleteConstraintParams
WithTimeout adds the timeout to the delete constraint params
func (*DeleteConstraintParams) WriteToRequest ¶
func (o *DeleteConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConstraintReader ¶
type DeleteConstraintReader struct {
// contains filtered or unexported fields
}
DeleteConstraintReader is a Reader for the DeleteConstraint structure.
func (*DeleteConstraintReader) ReadResponse ¶
func (o *DeleteConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePrivateConstraintDefault ¶
type DeletePrivateConstraintDefault struct {
// contains filtered or unexported fields
}
DeletePrivateConstraintDefault handles this case with default header values.
successful operation
func NewDeletePrivateConstraintDefault ¶
func NewDeletePrivateConstraintDefault(code int) *DeletePrivateConstraintDefault
NewDeletePrivateConstraintDefault creates a DeletePrivateConstraintDefault with default headers values
func (*DeletePrivateConstraintDefault) Code ¶
func (o *DeletePrivateConstraintDefault) Code() int
Code gets the status code for the delete private constraint default response
func (*DeletePrivateConstraintDefault) Error ¶
func (o *DeletePrivateConstraintDefault) Error() string
type DeletePrivateConstraintParams ¶
type DeletePrivateConstraintParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePrivateConstraintParams contains all the parameters to send to the API endpoint for the delete private constraint operation typically these are written to a http.Request
func NewDeletePrivateConstraintParams ¶
func NewDeletePrivateConstraintParams() *DeletePrivateConstraintParams
NewDeletePrivateConstraintParams creates a new DeletePrivateConstraintParams object with the default values initialized.
func NewDeletePrivateConstraintParamsWithContext ¶
func NewDeletePrivateConstraintParamsWithContext(ctx context.Context) *DeletePrivateConstraintParams
NewDeletePrivateConstraintParamsWithContext creates a new DeletePrivateConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePrivateConstraintParamsWithHTTPClient ¶
func NewDeletePrivateConstraintParamsWithHTTPClient(client *http.Client) *DeletePrivateConstraintParams
NewDeletePrivateConstraintParamsWithHTTPClient creates a new DeletePrivateConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePrivateConstraintParamsWithTimeout ¶
func NewDeletePrivateConstraintParamsWithTimeout(timeout time.Duration) *DeletePrivateConstraintParams
NewDeletePrivateConstraintParamsWithTimeout creates a new DeletePrivateConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePrivateConstraintParams) SetContext ¶
func (o *DeletePrivateConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the delete private constraint params
func (*DeletePrivateConstraintParams) SetHTTPClient ¶
func (o *DeletePrivateConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete private constraint params
func (*DeletePrivateConstraintParams) SetName ¶
func (o *DeletePrivateConstraintParams) SetName(name string)
SetName adds the name to the delete private constraint params
func (*DeletePrivateConstraintParams) SetTimeout ¶
func (o *DeletePrivateConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete private constraint params
func (*DeletePrivateConstraintParams) WithContext ¶
func (o *DeletePrivateConstraintParams) WithContext(ctx context.Context) *DeletePrivateConstraintParams
WithContext adds the context to the delete private constraint params
func (*DeletePrivateConstraintParams) WithHTTPClient ¶
func (o *DeletePrivateConstraintParams) WithHTTPClient(client *http.Client) *DeletePrivateConstraintParams
WithHTTPClient adds the HTTPClient to the delete private constraint params
func (*DeletePrivateConstraintParams) WithName ¶
func (o *DeletePrivateConstraintParams) WithName(name string) *DeletePrivateConstraintParams
WithName adds the name to the delete private constraint params
func (*DeletePrivateConstraintParams) WithTimeout ¶
func (o *DeletePrivateConstraintParams) WithTimeout(timeout time.Duration) *DeletePrivateConstraintParams
WithTimeout adds the timeout to the delete private constraint params
func (*DeletePrivateConstraintParams) WriteToRequest ¶
func (o *DeletePrivateConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrivateConstraintReader ¶
type DeletePrivateConstraintReader struct {
// contains filtered or unexported fields
}
DeletePrivateConstraintReader is a Reader for the DeletePrivateConstraint structure.
func (*DeletePrivateConstraintReader) ReadResponse ¶
func (o *DeletePrivateConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePublicConstraintDefault ¶
type DeletePublicConstraintDefault struct {
// contains filtered or unexported fields
}
DeletePublicConstraintDefault handles this case with default header values.
successful operation
func NewDeletePublicConstraintDefault ¶
func NewDeletePublicConstraintDefault(code int) *DeletePublicConstraintDefault
NewDeletePublicConstraintDefault creates a DeletePublicConstraintDefault with default headers values
func (*DeletePublicConstraintDefault) Code ¶
func (o *DeletePublicConstraintDefault) Code() int
Code gets the status code for the delete public constraint default response
func (*DeletePublicConstraintDefault) Error ¶
func (o *DeletePublicConstraintDefault) Error() string
type DeletePublicConstraintParams ¶
type DeletePublicConstraintParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePublicConstraintParams contains all the parameters to send to the API endpoint for the delete public constraint operation typically these are written to a http.Request
func NewDeletePublicConstraintParams ¶
func NewDeletePublicConstraintParams() *DeletePublicConstraintParams
NewDeletePublicConstraintParams creates a new DeletePublicConstraintParams object with the default values initialized.
func NewDeletePublicConstraintParamsWithContext ¶
func NewDeletePublicConstraintParamsWithContext(ctx context.Context) *DeletePublicConstraintParams
NewDeletePublicConstraintParamsWithContext creates a new DeletePublicConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePublicConstraintParamsWithHTTPClient ¶
func NewDeletePublicConstraintParamsWithHTTPClient(client *http.Client) *DeletePublicConstraintParams
NewDeletePublicConstraintParamsWithHTTPClient creates a new DeletePublicConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePublicConstraintParamsWithTimeout ¶
func NewDeletePublicConstraintParamsWithTimeout(timeout time.Duration) *DeletePublicConstraintParams
NewDeletePublicConstraintParamsWithTimeout creates a new DeletePublicConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePublicConstraintParams) SetContext ¶
func (o *DeletePublicConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the delete public constraint params
func (*DeletePublicConstraintParams) SetHTTPClient ¶
func (o *DeletePublicConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete public constraint params
func (*DeletePublicConstraintParams) SetName ¶
func (o *DeletePublicConstraintParams) SetName(name string)
SetName adds the name to the delete public constraint params
func (*DeletePublicConstraintParams) SetTimeout ¶
func (o *DeletePublicConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete public constraint params
func (*DeletePublicConstraintParams) WithContext ¶
func (o *DeletePublicConstraintParams) WithContext(ctx context.Context) *DeletePublicConstraintParams
WithContext adds the context to the delete public constraint params
func (*DeletePublicConstraintParams) WithHTTPClient ¶
func (o *DeletePublicConstraintParams) WithHTTPClient(client *http.Client) *DeletePublicConstraintParams
WithHTTPClient adds the HTTPClient to the delete public constraint params
func (*DeletePublicConstraintParams) WithName ¶
func (o *DeletePublicConstraintParams) WithName(name string) *DeletePublicConstraintParams
WithName adds the name to the delete public constraint params
func (*DeletePublicConstraintParams) WithTimeout ¶
func (o *DeletePublicConstraintParams) WithTimeout(timeout time.Duration) *DeletePublicConstraintParams
WithTimeout adds the timeout to the delete public constraint params
func (*DeletePublicConstraintParams) WriteToRequest ¶
func (o *DeletePublicConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePublicConstraintReader ¶
type DeletePublicConstraintReader struct {
// contains filtered or unexported fields
}
DeletePublicConstraintReader is a Reader for the DeletePublicConstraint structure.
func (*DeletePublicConstraintReader) ReadResponse ¶
func (o *DeletePublicConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConstraintOK ¶
type GetConstraintOK struct {
Payload *models_cloudbreak.ConstraintTemplateResponse
}
GetConstraintOK handles this case with default header values.
successful operation
func NewGetConstraintOK ¶
func NewGetConstraintOK() *GetConstraintOK
NewGetConstraintOK creates a GetConstraintOK with default headers values
func (*GetConstraintOK) Error ¶
func (o *GetConstraintOK) Error() string
type GetConstraintParams ¶
type GetConstraintParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConstraintParams contains all the parameters to send to the API endpoint for the get constraint operation typically these are written to a http.Request
func NewGetConstraintParams ¶
func NewGetConstraintParams() *GetConstraintParams
NewGetConstraintParams creates a new GetConstraintParams object with the default values initialized.
func NewGetConstraintParamsWithContext ¶
func NewGetConstraintParamsWithContext(ctx context.Context) *GetConstraintParams
NewGetConstraintParamsWithContext creates a new GetConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewGetConstraintParamsWithHTTPClient ¶
func NewGetConstraintParamsWithHTTPClient(client *http.Client) *GetConstraintParams
NewGetConstraintParamsWithHTTPClient creates a new GetConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConstraintParamsWithTimeout ¶
func NewGetConstraintParamsWithTimeout(timeout time.Duration) *GetConstraintParams
NewGetConstraintParamsWithTimeout creates a new GetConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConstraintParams) SetContext ¶
func (o *GetConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the get constraint params
func (*GetConstraintParams) SetHTTPClient ¶
func (o *GetConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get constraint params
func (*GetConstraintParams) SetID ¶
func (o *GetConstraintParams) SetID(id int64)
SetID adds the id to the get constraint params
func (*GetConstraintParams) SetTimeout ¶
func (o *GetConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get constraint params
func (*GetConstraintParams) WithContext ¶
func (o *GetConstraintParams) WithContext(ctx context.Context) *GetConstraintParams
WithContext adds the context to the get constraint params
func (*GetConstraintParams) WithHTTPClient ¶
func (o *GetConstraintParams) WithHTTPClient(client *http.Client) *GetConstraintParams
WithHTTPClient adds the HTTPClient to the get constraint params
func (*GetConstraintParams) WithID ¶
func (o *GetConstraintParams) WithID(id int64) *GetConstraintParams
WithID adds the id to the get constraint params
func (*GetConstraintParams) WithTimeout ¶
func (o *GetConstraintParams) WithTimeout(timeout time.Duration) *GetConstraintParams
WithTimeout adds the timeout to the get constraint params
func (*GetConstraintParams) WriteToRequest ¶
func (o *GetConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConstraintReader ¶
type GetConstraintReader struct {
// contains filtered or unexported fields
}
GetConstraintReader is a Reader for the GetConstraint structure.
func (*GetConstraintReader) ReadResponse ¶
func (o *GetConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateConstraintOK ¶
type GetPrivateConstraintOK struct {
Payload *models_cloudbreak.ConstraintTemplateResponse
}
GetPrivateConstraintOK handles this case with default header values.
successful operation
func NewGetPrivateConstraintOK ¶
func NewGetPrivateConstraintOK() *GetPrivateConstraintOK
NewGetPrivateConstraintOK creates a GetPrivateConstraintOK with default headers values
func (*GetPrivateConstraintOK) Error ¶
func (o *GetPrivateConstraintOK) Error() string
type GetPrivateConstraintParams ¶
type GetPrivateConstraintParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateConstraintParams contains all the parameters to send to the API endpoint for the get private constraint operation typically these are written to a http.Request
func NewGetPrivateConstraintParams ¶
func NewGetPrivateConstraintParams() *GetPrivateConstraintParams
NewGetPrivateConstraintParams creates a new GetPrivateConstraintParams object with the default values initialized.
func NewGetPrivateConstraintParamsWithContext ¶
func NewGetPrivateConstraintParamsWithContext(ctx context.Context) *GetPrivateConstraintParams
NewGetPrivateConstraintParamsWithContext creates a new GetPrivateConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateConstraintParamsWithHTTPClient ¶
func NewGetPrivateConstraintParamsWithHTTPClient(client *http.Client) *GetPrivateConstraintParams
NewGetPrivateConstraintParamsWithHTTPClient creates a new GetPrivateConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateConstraintParamsWithTimeout ¶
func NewGetPrivateConstraintParamsWithTimeout(timeout time.Duration) *GetPrivateConstraintParams
NewGetPrivateConstraintParamsWithTimeout creates a new GetPrivateConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateConstraintParams) SetContext ¶
func (o *GetPrivateConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the get private constraint params
func (*GetPrivateConstraintParams) SetHTTPClient ¶
func (o *GetPrivateConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private constraint params
func (*GetPrivateConstraintParams) SetName ¶
func (o *GetPrivateConstraintParams) SetName(name string)
SetName adds the name to the get private constraint params
func (*GetPrivateConstraintParams) SetTimeout ¶
func (o *GetPrivateConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private constraint params
func (*GetPrivateConstraintParams) WithContext ¶
func (o *GetPrivateConstraintParams) WithContext(ctx context.Context) *GetPrivateConstraintParams
WithContext adds the context to the get private constraint params
func (*GetPrivateConstraintParams) WithHTTPClient ¶
func (o *GetPrivateConstraintParams) WithHTTPClient(client *http.Client) *GetPrivateConstraintParams
WithHTTPClient adds the HTTPClient to the get private constraint params
func (*GetPrivateConstraintParams) WithName ¶
func (o *GetPrivateConstraintParams) WithName(name string) *GetPrivateConstraintParams
WithName adds the name to the get private constraint params
func (*GetPrivateConstraintParams) WithTimeout ¶
func (o *GetPrivateConstraintParams) WithTimeout(timeout time.Duration) *GetPrivateConstraintParams
WithTimeout adds the timeout to the get private constraint params
func (*GetPrivateConstraintParams) WriteToRequest ¶
func (o *GetPrivateConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateConstraintReader ¶
type GetPrivateConstraintReader struct {
// contains filtered or unexported fields
}
GetPrivateConstraintReader is a Reader for the GetPrivateConstraint structure.
func (*GetPrivateConstraintReader) ReadResponse ¶
func (o *GetPrivateConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivatesConstraintOK ¶
type GetPrivatesConstraintOK struct {
Payload []*models_cloudbreak.ConstraintTemplateResponse
}
GetPrivatesConstraintOK handles this case with default header values.
successful operation
func NewGetPrivatesConstraintOK ¶
func NewGetPrivatesConstraintOK() *GetPrivatesConstraintOK
NewGetPrivatesConstraintOK creates a GetPrivatesConstraintOK with default headers values
func (*GetPrivatesConstraintOK) Error ¶
func (o *GetPrivatesConstraintOK) Error() string
type GetPrivatesConstraintParams ¶
type GetPrivatesConstraintParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivatesConstraintParams contains all the parameters to send to the API endpoint for the get privates constraint operation typically these are written to a http.Request
func NewGetPrivatesConstraintParams ¶
func NewGetPrivatesConstraintParams() *GetPrivatesConstraintParams
NewGetPrivatesConstraintParams creates a new GetPrivatesConstraintParams object with the default values initialized.
func NewGetPrivatesConstraintParamsWithContext ¶
func NewGetPrivatesConstraintParamsWithContext(ctx context.Context) *GetPrivatesConstraintParams
NewGetPrivatesConstraintParamsWithContext creates a new GetPrivatesConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivatesConstraintParamsWithHTTPClient ¶
func NewGetPrivatesConstraintParamsWithHTTPClient(client *http.Client) *GetPrivatesConstraintParams
NewGetPrivatesConstraintParamsWithHTTPClient creates a new GetPrivatesConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivatesConstraintParamsWithTimeout ¶
func NewGetPrivatesConstraintParamsWithTimeout(timeout time.Duration) *GetPrivatesConstraintParams
NewGetPrivatesConstraintParamsWithTimeout creates a new GetPrivatesConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivatesConstraintParams) SetContext ¶
func (o *GetPrivatesConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the get privates constraint params
func (*GetPrivatesConstraintParams) SetHTTPClient ¶
func (o *GetPrivatesConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get privates constraint params
func (*GetPrivatesConstraintParams) SetTimeout ¶
func (o *GetPrivatesConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get privates constraint params
func (*GetPrivatesConstraintParams) WithContext ¶
func (o *GetPrivatesConstraintParams) WithContext(ctx context.Context) *GetPrivatesConstraintParams
WithContext adds the context to the get privates constraint params
func (*GetPrivatesConstraintParams) WithHTTPClient ¶
func (o *GetPrivatesConstraintParams) WithHTTPClient(client *http.Client) *GetPrivatesConstraintParams
WithHTTPClient adds the HTTPClient to the get privates constraint params
func (*GetPrivatesConstraintParams) WithTimeout ¶
func (o *GetPrivatesConstraintParams) WithTimeout(timeout time.Duration) *GetPrivatesConstraintParams
WithTimeout adds the timeout to the get privates constraint params
func (*GetPrivatesConstraintParams) WriteToRequest ¶
func (o *GetPrivatesConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivatesConstraintReader ¶
type GetPrivatesConstraintReader struct {
// contains filtered or unexported fields
}
GetPrivatesConstraintReader is a Reader for the GetPrivatesConstraint structure.
func (*GetPrivatesConstraintReader) ReadResponse ¶
func (o *GetPrivatesConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicConstraintOK ¶
type GetPublicConstraintOK struct {
Payload *models_cloudbreak.ConstraintTemplateResponse
}
GetPublicConstraintOK handles this case with default header values.
successful operation
func NewGetPublicConstraintOK ¶
func NewGetPublicConstraintOK() *GetPublicConstraintOK
NewGetPublicConstraintOK creates a GetPublicConstraintOK with default headers values
func (*GetPublicConstraintOK) Error ¶
func (o *GetPublicConstraintOK) Error() string
type GetPublicConstraintParams ¶
type GetPublicConstraintParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicConstraintParams contains all the parameters to send to the API endpoint for the get public constraint operation typically these are written to a http.Request
func NewGetPublicConstraintParams ¶
func NewGetPublicConstraintParams() *GetPublicConstraintParams
NewGetPublicConstraintParams creates a new GetPublicConstraintParams object with the default values initialized.
func NewGetPublicConstraintParamsWithContext ¶
func NewGetPublicConstraintParamsWithContext(ctx context.Context) *GetPublicConstraintParams
NewGetPublicConstraintParamsWithContext creates a new GetPublicConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicConstraintParamsWithHTTPClient ¶
func NewGetPublicConstraintParamsWithHTTPClient(client *http.Client) *GetPublicConstraintParams
NewGetPublicConstraintParamsWithHTTPClient creates a new GetPublicConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicConstraintParamsWithTimeout ¶
func NewGetPublicConstraintParamsWithTimeout(timeout time.Duration) *GetPublicConstraintParams
NewGetPublicConstraintParamsWithTimeout creates a new GetPublicConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicConstraintParams) SetContext ¶
func (o *GetPublicConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the get public constraint params
func (*GetPublicConstraintParams) SetHTTPClient ¶
func (o *GetPublicConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public constraint params
func (*GetPublicConstraintParams) SetName ¶
func (o *GetPublicConstraintParams) SetName(name string)
SetName adds the name to the get public constraint params
func (*GetPublicConstraintParams) SetTimeout ¶
func (o *GetPublicConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public constraint params
func (*GetPublicConstraintParams) WithContext ¶
func (o *GetPublicConstraintParams) WithContext(ctx context.Context) *GetPublicConstraintParams
WithContext adds the context to the get public constraint params
func (*GetPublicConstraintParams) WithHTTPClient ¶
func (o *GetPublicConstraintParams) WithHTTPClient(client *http.Client) *GetPublicConstraintParams
WithHTTPClient adds the HTTPClient to the get public constraint params
func (*GetPublicConstraintParams) WithName ¶
func (o *GetPublicConstraintParams) WithName(name string) *GetPublicConstraintParams
WithName adds the name to the get public constraint params
func (*GetPublicConstraintParams) WithTimeout ¶
func (o *GetPublicConstraintParams) WithTimeout(timeout time.Duration) *GetPublicConstraintParams
WithTimeout adds the timeout to the get public constraint params
func (*GetPublicConstraintParams) WriteToRequest ¶
func (o *GetPublicConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicConstraintReader ¶
type GetPublicConstraintReader struct {
// contains filtered or unexported fields
}
GetPublicConstraintReader is a Reader for the GetPublicConstraint structure.
func (*GetPublicConstraintReader) ReadResponse ¶
func (o *GetPublicConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicsConstraintOK ¶
type GetPublicsConstraintOK struct {
Payload []*models_cloudbreak.ConstraintTemplateResponse
}
GetPublicsConstraintOK handles this case with default header values.
successful operation
func NewGetPublicsConstraintOK ¶
func NewGetPublicsConstraintOK() *GetPublicsConstraintOK
NewGetPublicsConstraintOK creates a GetPublicsConstraintOK with default headers values
func (*GetPublicsConstraintOK) Error ¶
func (o *GetPublicsConstraintOK) Error() string
type GetPublicsConstraintParams ¶
type GetPublicsConstraintParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicsConstraintParams contains all the parameters to send to the API endpoint for the get publics constraint operation typically these are written to a http.Request
func NewGetPublicsConstraintParams ¶
func NewGetPublicsConstraintParams() *GetPublicsConstraintParams
NewGetPublicsConstraintParams creates a new GetPublicsConstraintParams object with the default values initialized.
func NewGetPublicsConstraintParamsWithContext ¶
func NewGetPublicsConstraintParamsWithContext(ctx context.Context) *GetPublicsConstraintParams
NewGetPublicsConstraintParamsWithContext creates a new GetPublicsConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicsConstraintParamsWithHTTPClient ¶
func NewGetPublicsConstraintParamsWithHTTPClient(client *http.Client) *GetPublicsConstraintParams
NewGetPublicsConstraintParamsWithHTTPClient creates a new GetPublicsConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicsConstraintParamsWithTimeout ¶
func NewGetPublicsConstraintParamsWithTimeout(timeout time.Duration) *GetPublicsConstraintParams
NewGetPublicsConstraintParamsWithTimeout creates a new GetPublicsConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicsConstraintParams) SetContext ¶
func (o *GetPublicsConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the get publics constraint params
func (*GetPublicsConstraintParams) SetHTTPClient ¶
func (o *GetPublicsConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publics constraint params
func (*GetPublicsConstraintParams) SetTimeout ¶
func (o *GetPublicsConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publics constraint params
func (*GetPublicsConstraintParams) WithContext ¶
func (o *GetPublicsConstraintParams) WithContext(ctx context.Context) *GetPublicsConstraintParams
WithContext adds the context to the get publics constraint params
func (*GetPublicsConstraintParams) WithHTTPClient ¶
func (o *GetPublicsConstraintParams) WithHTTPClient(client *http.Client) *GetPublicsConstraintParams
WithHTTPClient adds the HTTPClient to the get publics constraint params
func (*GetPublicsConstraintParams) WithTimeout ¶
func (o *GetPublicsConstraintParams) WithTimeout(timeout time.Duration) *GetPublicsConstraintParams
WithTimeout adds the timeout to the get publics constraint params
func (*GetPublicsConstraintParams) WriteToRequest ¶
func (o *GetPublicsConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicsConstraintReader ¶
type GetPublicsConstraintReader struct {
// contains filtered or unexported fields
}
GetPublicsConstraintReader is a Reader for the GetPublicsConstraint structure.
func (*GetPublicsConstraintReader) ReadResponse ¶
func (o *GetPublicsConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPrivateConstraintOK ¶
type PostPrivateConstraintOK struct {
Payload *models_cloudbreak.ConstraintTemplateResponse
}
PostPrivateConstraintOK handles this case with default header values.
successful operation
func NewPostPrivateConstraintOK ¶
func NewPostPrivateConstraintOK() *PostPrivateConstraintOK
NewPostPrivateConstraintOK creates a PostPrivateConstraintOK with default headers values
func (*PostPrivateConstraintOK) Error ¶
func (o *PostPrivateConstraintOK) Error() string
type PostPrivateConstraintParams ¶
type PostPrivateConstraintParams struct { /*Body*/ Body *models_cloudbreak.ConstraintTemplateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPrivateConstraintParams contains all the parameters to send to the API endpoint for the post private constraint operation typically these are written to a http.Request
func NewPostPrivateConstraintParams ¶
func NewPostPrivateConstraintParams() *PostPrivateConstraintParams
NewPostPrivateConstraintParams creates a new PostPrivateConstraintParams object with the default values initialized.
func NewPostPrivateConstraintParamsWithContext ¶
func NewPostPrivateConstraintParamsWithContext(ctx context.Context) *PostPrivateConstraintParams
NewPostPrivateConstraintParamsWithContext creates a new PostPrivateConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewPostPrivateConstraintParamsWithHTTPClient ¶
func NewPostPrivateConstraintParamsWithHTTPClient(client *http.Client) *PostPrivateConstraintParams
NewPostPrivateConstraintParamsWithHTTPClient creates a new PostPrivateConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPrivateConstraintParamsWithTimeout ¶
func NewPostPrivateConstraintParamsWithTimeout(timeout time.Duration) *PostPrivateConstraintParams
NewPostPrivateConstraintParamsWithTimeout creates a new PostPrivateConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPrivateConstraintParams) SetBody ¶
func (o *PostPrivateConstraintParams) SetBody(body *models_cloudbreak.ConstraintTemplateRequest)
SetBody adds the body to the post private constraint params
func (*PostPrivateConstraintParams) SetContext ¶
func (o *PostPrivateConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the post private constraint params
func (*PostPrivateConstraintParams) SetHTTPClient ¶
func (o *PostPrivateConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post private constraint params
func (*PostPrivateConstraintParams) SetTimeout ¶
func (o *PostPrivateConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post private constraint params
func (*PostPrivateConstraintParams) WithBody ¶
func (o *PostPrivateConstraintParams) WithBody(body *models_cloudbreak.ConstraintTemplateRequest) *PostPrivateConstraintParams
WithBody adds the body to the post private constraint params
func (*PostPrivateConstraintParams) WithContext ¶
func (o *PostPrivateConstraintParams) WithContext(ctx context.Context) *PostPrivateConstraintParams
WithContext adds the context to the post private constraint params
func (*PostPrivateConstraintParams) WithHTTPClient ¶
func (o *PostPrivateConstraintParams) WithHTTPClient(client *http.Client) *PostPrivateConstraintParams
WithHTTPClient adds the HTTPClient to the post private constraint params
func (*PostPrivateConstraintParams) WithTimeout ¶
func (o *PostPrivateConstraintParams) WithTimeout(timeout time.Duration) *PostPrivateConstraintParams
WithTimeout adds the timeout to the post private constraint params
func (*PostPrivateConstraintParams) WriteToRequest ¶
func (o *PostPrivateConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPrivateConstraintReader ¶
type PostPrivateConstraintReader struct {
// contains filtered or unexported fields
}
PostPrivateConstraintReader is a Reader for the PostPrivateConstraint structure.
func (*PostPrivateConstraintReader) ReadResponse ¶
func (o *PostPrivateConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPublicConstraintOK ¶
type PostPublicConstraintOK struct {
Payload *models_cloudbreak.ConstraintTemplateResponse
}
PostPublicConstraintOK handles this case with default header values.
successful operation
func NewPostPublicConstraintOK ¶
func NewPostPublicConstraintOK() *PostPublicConstraintOK
NewPostPublicConstraintOK creates a PostPublicConstraintOK with default headers values
func (*PostPublicConstraintOK) Error ¶
func (o *PostPublicConstraintOK) Error() string
type PostPublicConstraintParams ¶
type PostPublicConstraintParams struct { /*Body*/ Body *models_cloudbreak.ConstraintTemplateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPublicConstraintParams contains all the parameters to send to the API endpoint for the post public constraint operation typically these are written to a http.Request
func NewPostPublicConstraintParams ¶
func NewPostPublicConstraintParams() *PostPublicConstraintParams
NewPostPublicConstraintParams creates a new PostPublicConstraintParams object with the default values initialized.
func NewPostPublicConstraintParamsWithContext ¶
func NewPostPublicConstraintParamsWithContext(ctx context.Context) *PostPublicConstraintParams
NewPostPublicConstraintParamsWithContext creates a new PostPublicConstraintParams object with the default values initialized, and the ability to set a context for a request
func NewPostPublicConstraintParamsWithHTTPClient ¶
func NewPostPublicConstraintParamsWithHTTPClient(client *http.Client) *PostPublicConstraintParams
NewPostPublicConstraintParamsWithHTTPClient creates a new PostPublicConstraintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPublicConstraintParamsWithTimeout ¶
func NewPostPublicConstraintParamsWithTimeout(timeout time.Duration) *PostPublicConstraintParams
NewPostPublicConstraintParamsWithTimeout creates a new PostPublicConstraintParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPublicConstraintParams) SetBody ¶
func (o *PostPublicConstraintParams) SetBody(body *models_cloudbreak.ConstraintTemplateRequest)
SetBody adds the body to the post public constraint params
func (*PostPublicConstraintParams) SetContext ¶
func (o *PostPublicConstraintParams) SetContext(ctx context.Context)
SetContext adds the context to the post public constraint params
func (*PostPublicConstraintParams) SetHTTPClient ¶
func (o *PostPublicConstraintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post public constraint params
func (*PostPublicConstraintParams) SetTimeout ¶
func (o *PostPublicConstraintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post public constraint params
func (*PostPublicConstraintParams) WithBody ¶
func (o *PostPublicConstraintParams) WithBody(body *models_cloudbreak.ConstraintTemplateRequest) *PostPublicConstraintParams
WithBody adds the body to the post public constraint params
func (*PostPublicConstraintParams) WithContext ¶
func (o *PostPublicConstraintParams) WithContext(ctx context.Context) *PostPublicConstraintParams
WithContext adds the context to the post public constraint params
func (*PostPublicConstraintParams) WithHTTPClient ¶
func (o *PostPublicConstraintParams) WithHTTPClient(client *http.Client) *PostPublicConstraintParams
WithHTTPClient adds the HTTPClient to the post public constraint params
func (*PostPublicConstraintParams) WithTimeout ¶
func (o *PostPublicConstraintParams) WithTimeout(timeout time.Duration) *PostPublicConstraintParams
WithTimeout adds the timeout to the post public constraint params
func (*PostPublicConstraintParams) WriteToRequest ¶
func (o *PostPublicConstraintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPublicConstraintReader ¶
type PostPublicConstraintReader struct {
// contains filtered or unexported fields
}
PostPublicConstraintReader is a Reader for the PostPublicConstraint structure.
func (*PostPublicConstraintReader) ReadResponse ¶
func (o *PostPublicConstraintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_constraint_parameters.go
- delete_constraint_responses.go
- delete_private_constraint_parameters.go
- delete_private_constraint_responses.go
- delete_public_constraint_parameters.go
- delete_public_constraint_responses.go
- get_constraint_parameters.go
- get_constraint_responses.go
- get_private_constraint_parameters.go
- get_private_constraint_responses.go
- get_privates_constraint_parameters.go
- get_privates_constraint_responses.go
- get_public_constraint_parameters.go
- get_public_constraint_responses.go
- get_publics_constraint_parameters.go
- get_publics_constraint_responses.go
- post_private_constraint_parameters.go
- post_private_constraint_responses.go
- post_public_constraint_parameters.go
- post_public_constraint_responses.go
- v1constraints_client.go