Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePrivateTemplate(params *DeletePrivateTemplateParams) error
- func (a *Client) DeletePublicTemplate(params *DeletePublicTemplateParams) error
- func (a *Client) DeleteTemplate(params *DeleteTemplateParams) error
- func (a *Client) GetPrivateTemplate(params *GetPrivateTemplateParams) (*GetPrivateTemplateOK, error)
- func (a *Client) GetPrivatesTemplate(params *GetPrivatesTemplateParams) (*GetPrivatesTemplateOK, error)
- func (a *Client) GetPublicTemplate(params *GetPublicTemplateParams) (*GetPublicTemplateOK, error)
- func (a *Client) GetPublicsTemplate(params *GetPublicsTemplateParams) (*GetPublicsTemplateOK, error)
- func (a *Client) GetTemplate(params *GetTemplateParams) (*GetTemplateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeletePrivateTemplateDefault
- type DeletePrivateTemplateParams
- func NewDeletePrivateTemplateParams() *DeletePrivateTemplateParams
- func NewDeletePrivateTemplateParamsWithContext(ctx context.Context) *DeletePrivateTemplateParams
- func NewDeletePrivateTemplateParamsWithHTTPClient(client *http.Client) *DeletePrivateTemplateParams
- func NewDeletePrivateTemplateParamsWithTimeout(timeout time.Duration) *DeletePrivateTemplateParams
- func (o *DeletePrivateTemplateParams) SetContext(ctx context.Context)
- func (o *DeletePrivateTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateTemplateParams) SetName(name string)
- func (o *DeletePrivateTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateTemplateParams) WithContext(ctx context.Context) *DeletePrivateTemplateParams
- func (o *DeletePrivateTemplateParams) WithHTTPClient(client *http.Client) *DeletePrivateTemplateParams
- func (o *DeletePrivateTemplateParams) WithName(name string) *DeletePrivateTemplateParams
- func (o *DeletePrivateTemplateParams) WithTimeout(timeout time.Duration) *DeletePrivateTemplateParams
- func (o *DeletePrivateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateTemplateReader
- type DeletePublicTemplateDefault
- type DeletePublicTemplateParams
- func NewDeletePublicTemplateParams() *DeletePublicTemplateParams
- func NewDeletePublicTemplateParamsWithContext(ctx context.Context) *DeletePublicTemplateParams
- func NewDeletePublicTemplateParamsWithHTTPClient(client *http.Client) *DeletePublicTemplateParams
- func NewDeletePublicTemplateParamsWithTimeout(timeout time.Duration) *DeletePublicTemplateParams
- func (o *DeletePublicTemplateParams) SetContext(ctx context.Context)
- func (o *DeletePublicTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicTemplateParams) SetName(name string)
- func (o *DeletePublicTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicTemplateParams) WithContext(ctx context.Context) *DeletePublicTemplateParams
- func (o *DeletePublicTemplateParams) WithHTTPClient(client *http.Client) *DeletePublicTemplateParams
- func (o *DeletePublicTemplateParams) WithName(name string) *DeletePublicTemplateParams
- func (o *DeletePublicTemplateParams) WithTimeout(timeout time.Duration) *DeletePublicTemplateParams
- func (o *DeletePublicTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicTemplateReader
- type DeleteTemplateDefault
- type DeleteTemplateParams
- func NewDeleteTemplateParams() *DeleteTemplateParams
- func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams
- func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams
- func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams
- func (o *DeleteTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTemplateParams) SetID(id int64)
- func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithID(id int64) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTemplateReader
- type GetPrivateTemplateOK
- type GetPrivateTemplateParams
- func NewGetPrivateTemplateParams() *GetPrivateTemplateParams
- func NewGetPrivateTemplateParamsWithContext(ctx context.Context) *GetPrivateTemplateParams
- func NewGetPrivateTemplateParamsWithHTTPClient(client *http.Client) *GetPrivateTemplateParams
- func NewGetPrivateTemplateParamsWithTimeout(timeout time.Duration) *GetPrivateTemplateParams
- func (o *GetPrivateTemplateParams) SetContext(ctx context.Context)
- func (o *GetPrivateTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateTemplateParams) SetName(name string)
- func (o *GetPrivateTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateTemplateParams) WithContext(ctx context.Context) *GetPrivateTemplateParams
- func (o *GetPrivateTemplateParams) WithHTTPClient(client *http.Client) *GetPrivateTemplateParams
- func (o *GetPrivateTemplateParams) WithName(name string) *GetPrivateTemplateParams
- func (o *GetPrivateTemplateParams) WithTimeout(timeout time.Duration) *GetPrivateTemplateParams
- func (o *GetPrivateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateTemplateReader
- type GetPrivatesTemplateOK
- type GetPrivatesTemplateParams
- func NewGetPrivatesTemplateParams() *GetPrivatesTemplateParams
- func NewGetPrivatesTemplateParamsWithContext(ctx context.Context) *GetPrivatesTemplateParams
- func NewGetPrivatesTemplateParamsWithHTTPClient(client *http.Client) *GetPrivatesTemplateParams
- func NewGetPrivatesTemplateParamsWithTimeout(timeout time.Duration) *GetPrivatesTemplateParams
- func (o *GetPrivatesTemplateParams) SetContext(ctx context.Context)
- func (o *GetPrivatesTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivatesTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivatesTemplateParams) WithContext(ctx context.Context) *GetPrivatesTemplateParams
- func (o *GetPrivatesTemplateParams) WithHTTPClient(client *http.Client) *GetPrivatesTemplateParams
- func (o *GetPrivatesTemplateParams) WithTimeout(timeout time.Duration) *GetPrivatesTemplateParams
- func (o *GetPrivatesTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivatesTemplateReader
- type GetPublicTemplateOK
- type GetPublicTemplateParams
- func NewGetPublicTemplateParams() *GetPublicTemplateParams
- func NewGetPublicTemplateParamsWithContext(ctx context.Context) *GetPublicTemplateParams
- func NewGetPublicTemplateParamsWithHTTPClient(client *http.Client) *GetPublicTemplateParams
- func NewGetPublicTemplateParamsWithTimeout(timeout time.Duration) *GetPublicTemplateParams
- func (o *GetPublicTemplateParams) SetContext(ctx context.Context)
- func (o *GetPublicTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicTemplateParams) SetName(name string)
- func (o *GetPublicTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicTemplateParams) WithContext(ctx context.Context) *GetPublicTemplateParams
- func (o *GetPublicTemplateParams) WithHTTPClient(client *http.Client) *GetPublicTemplateParams
- func (o *GetPublicTemplateParams) WithName(name string) *GetPublicTemplateParams
- func (o *GetPublicTemplateParams) WithTimeout(timeout time.Duration) *GetPublicTemplateParams
- func (o *GetPublicTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicTemplateReader
- type GetPublicsTemplateOK
- type GetPublicsTemplateParams
- func NewGetPublicsTemplateParams() *GetPublicsTemplateParams
- func NewGetPublicsTemplateParamsWithContext(ctx context.Context) *GetPublicsTemplateParams
- func NewGetPublicsTemplateParamsWithHTTPClient(client *http.Client) *GetPublicsTemplateParams
- func NewGetPublicsTemplateParamsWithTimeout(timeout time.Duration) *GetPublicsTemplateParams
- func (o *GetPublicsTemplateParams) SetContext(ctx context.Context)
- func (o *GetPublicsTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsTemplateParams) WithContext(ctx context.Context) *GetPublicsTemplateParams
- func (o *GetPublicsTemplateParams) WithHTTPClient(client *http.Client) *GetPublicsTemplateParams
- func (o *GetPublicsTemplateParams) WithTimeout(timeout time.Duration) *GetPublicsTemplateParams
- func (o *GetPublicsTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsTemplateReader
- type GetTemplateOK
- type GetTemplateParams
- func (o *GetTemplateParams) SetContext(ctx context.Context)
- func (o *GetTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetTemplateParams) SetID(id int64)
- func (o *GetTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams
- func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams
- func (o *GetTemplateParams) WithID(id int64) *GetTemplateParams
- func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams
- func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTemplateReader
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 v1templates API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1templates API client.
func (*Client) DeletePrivateTemplate ¶
func (a *Client) DeletePrivateTemplate(params *DeletePrivateTemplateParams) error
DeletePrivateTemplate deletes private template by name
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) DeletePublicTemplate ¶
func (a *Client) DeletePublicTemplate(params *DeletePublicTemplateParams) error
DeletePublicTemplate deletes public owned or private template by name
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) DeleteTemplate ¶
func (a *Client) DeleteTemplate(params *DeleteTemplateParams) error
DeleteTemplate deletes template by id
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) GetPrivateTemplate ¶
func (a *Client) GetPrivateTemplate(params *GetPrivateTemplateParams) (*GetPrivateTemplateOK, error)
GetPrivateTemplate retrieves a private template by name
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) GetPrivatesTemplate ¶
func (a *Client) GetPrivatesTemplate(params *GetPrivatesTemplateParams) (*GetPrivatesTemplateOK, error)
GetPrivatesTemplate retrieves private templates
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) GetPublicTemplate ¶
func (a *Client) GetPublicTemplate(params *GetPublicTemplateParams) (*GetPublicTemplateOK, error)
GetPublicTemplate retrieves a public or private owned template by name
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) GetPublicsTemplate ¶
func (a *Client) GetPublicsTemplate(params *GetPublicsTemplateParams) (*GetPublicsTemplateOK, error)
GetPublicsTemplate retrieves public and private owned templates
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) GetTemplate ¶
func (a *Client) GetTemplate(params *GetTemplateParams) (*GetTemplateOK, error)
GetTemplate retrieves template by id
A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeletePrivateTemplateDefault ¶
type DeletePrivateTemplateDefault struct {
// contains filtered or unexported fields
}
DeletePrivateTemplateDefault handles this case with default header values.
successful operation
func NewDeletePrivateTemplateDefault ¶
func NewDeletePrivateTemplateDefault(code int) *DeletePrivateTemplateDefault
NewDeletePrivateTemplateDefault creates a DeletePrivateTemplateDefault with default headers values
func (*DeletePrivateTemplateDefault) Code ¶
func (o *DeletePrivateTemplateDefault) Code() int
Code gets the status code for the delete private template default response
func (*DeletePrivateTemplateDefault) Error ¶
func (o *DeletePrivateTemplateDefault) Error() string
type DeletePrivateTemplateParams ¶
type DeletePrivateTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePrivateTemplateParams contains all the parameters to send to the API endpoint for the delete private template operation typically these are written to a http.Request
func NewDeletePrivateTemplateParams ¶
func NewDeletePrivateTemplateParams() *DeletePrivateTemplateParams
NewDeletePrivateTemplateParams creates a new DeletePrivateTemplateParams object with the default values initialized.
func NewDeletePrivateTemplateParamsWithContext ¶
func NewDeletePrivateTemplateParamsWithContext(ctx context.Context) *DeletePrivateTemplateParams
NewDeletePrivateTemplateParamsWithContext creates a new DeletePrivateTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePrivateTemplateParamsWithHTTPClient ¶
func NewDeletePrivateTemplateParamsWithHTTPClient(client *http.Client) *DeletePrivateTemplateParams
NewDeletePrivateTemplateParamsWithHTTPClient creates a new DeletePrivateTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePrivateTemplateParamsWithTimeout ¶
func NewDeletePrivateTemplateParamsWithTimeout(timeout time.Duration) *DeletePrivateTemplateParams
NewDeletePrivateTemplateParamsWithTimeout creates a new DeletePrivateTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePrivateTemplateParams) SetContext ¶
func (o *DeletePrivateTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete private template params
func (*DeletePrivateTemplateParams) SetHTTPClient ¶
func (o *DeletePrivateTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete private template params
func (*DeletePrivateTemplateParams) SetName ¶
func (o *DeletePrivateTemplateParams) SetName(name string)
SetName adds the name to the delete private template params
func (*DeletePrivateTemplateParams) SetTimeout ¶
func (o *DeletePrivateTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete private template params
func (*DeletePrivateTemplateParams) WithContext ¶
func (o *DeletePrivateTemplateParams) WithContext(ctx context.Context) *DeletePrivateTemplateParams
WithContext adds the context to the delete private template params
func (*DeletePrivateTemplateParams) WithHTTPClient ¶
func (o *DeletePrivateTemplateParams) WithHTTPClient(client *http.Client) *DeletePrivateTemplateParams
WithHTTPClient adds the HTTPClient to the delete private template params
func (*DeletePrivateTemplateParams) WithName ¶
func (o *DeletePrivateTemplateParams) WithName(name string) *DeletePrivateTemplateParams
WithName adds the name to the delete private template params
func (*DeletePrivateTemplateParams) WithTimeout ¶
func (o *DeletePrivateTemplateParams) WithTimeout(timeout time.Duration) *DeletePrivateTemplateParams
WithTimeout adds the timeout to the delete private template params
func (*DeletePrivateTemplateParams) WriteToRequest ¶
func (o *DeletePrivateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePrivateTemplateReader ¶
type DeletePrivateTemplateReader struct {
// contains filtered or unexported fields
}
DeletePrivateTemplateReader is a Reader for the DeletePrivateTemplate structure.
func (*DeletePrivateTemplateReader) ReadResponse ¶
func (o *DeletePrivateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePublicTemplateDefault ¶
type DeletePublicTemplateDefault struct {
// contains filtered or unexported fields
}
DeletePublicTemplateDefault handles this case with default header values.
successful operation
func NewDeletePublicTemplateDefault ¶
func NewDeletePublicTemplateDefault(code int) *DeletePublicTemplateDefault
NewDeletePublicTemplateDefault creates a DeletePublicTemplateDefault with default headers values
func (*DeletePublicTemplateDefault) Code ¶
func (o *DeletePublicTemplateDefault) Code() int
Code gets the status code for the delete public template default response
func (*DeletePublicTemplateDefault) Error ¶
func (o *DeletePublicTemplateDefault) Error() string
type DeletePublicTemplateParams ¶
type DeletePublicTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePublicTemplateParams contains all the parameters to send to the API endpoint for the delete public template operation typically these are written to a http.Request
func NewDeletePublicTemplateParams ¶
func NewDeletePublicTemplateParams() *DeletePublicTemplateParams
NewDeletePublicTemplateParams creates a new DeletePublicTemplateParams object with the default values initialized.
func NewDeletePublicTemplateParamsWithContext ¶
func NewDeletePublicTemplateParamsWithContext(ctx context.Context) *DeletePublicTemplateParams
NewDeletePublicTemplateParamsWithContext creates a new DeletePublicTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePublicTemplateParamsWithHTTPClient ¶
func NewDeletePublicTemplateParamsWithHTTPClient(client *http.Client) *DeletePublicTemplateParams
NewDeletePublicTemplateParamsWithHTTPClient creates a new DeletePublicTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePublicTemplateParamsWithTimeout ¶
func NewDeletePublicTemplateParamsWithTimeout(timeout time.Duration) *DeletePublicTemplateParams
NewDeletePublicTemplateParamsWithTimeout creates a new DeletePublicTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePublicTemplateParams) SetContext ¶
func (o *DeletePublicTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete public template params
func (*DeletePublicTemplateParams) SetHTTPClient ¶
func (o *DeletePublicTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete public template params
func (*DeletePublicTemplateParams) SetName ¶
func (o *DeletePublicTemplateParams) SetName(name string)
SetName adds the name to the delete public template params
func (*DeletePublicTemplateParams) SetTimeout ¶
func (o *DeletePublicTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete public template params
func (*DeletePublicTemplateParams) WithContext ¶
func (o *DeletePublicTemplateParams) WithContext(ctx context.Context) *DeletePublicTemplateParams
WithContext adds the context to the delete public template params
func (*DeletePublicTemplateParams) WithHTTPClient ¶
func (o *DeletePublicTemplateParams) WithHTTPClient(client *http.Client) *DeletePublicTemplateParams
WithHTTPClient adds the HTTPClient to the delete public template params
func (*DeletePublicTemplateParams) WithName ¶
func (o *DeletePublicTemplateParams) WithName(name string) *DeletePublicTemplateParams
WithName adds the name to the delete public template params
func (*DeletePublicTemplateParams) WithTimeout ¶
func (o *DeletePublicTemplateParams) WithTimeout(timeout time.Duration) *DeletePublicTemplateParams
WithTimeout adds the timeout to the delete public template params
func (*DeletePublicTemplateParams) WriteToRequest ¶
func (o *DeletePublicTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePublicTemplateReader ¶
type DeletePublicTemplateReader struct {
// contains filtered or unexported fields
}
DeletePublicTemplateReader is a Reader for the DeletePublicTemplate structure.
func (*DeletePublicTemplateReader) ReadResponse ¶
func (o *DeletePublicTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTemplateDefault ¶
type DeleteTemplateDefault struct {
// contains filtered or unexported fields
}
DeleteTemplateDefault handles this case with default header values.
successful operation
func NewDeleteTemplateDefault ¶
func NewDeleteTemplateDefault(code int) *DeleteTemplateDefault
NewDeleteTemplateDefault creates a DeleteTemplateDefault with default headers values
func (*DeleteTemplateDefault) Code ¶
func (o *DeleteTemplateDefault) Code() int
Code gets the status code for the delete template default response
func (*DeleteTemplateDefault) Error ¶
func (o *DeleteTemplateDefault) Error() string
type DeleteTemplateParams ¶
type DeleteTemplateParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTemplateParams contains all the parameters to send to the API endpoint for the delete template operation typically these are written to a http.Request
func NewDeleteTemplateParams ¶
func NewDeleteTemplateParams() *DeleteTemplateParams
NewDeleteTemplateParams creates a new DeleteTemplateParams object with the default values initialized.
func NewDeleteTemplateParamsWithContext ¶
func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams
NewDeleteTemplateParamsWithContext creates a new DeleteTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTemplateParamsWithHTTPClient ¶
func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams
NewDeleteTemplateParamsWithHTTPClient creates a new DeleteTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTemplateParamsWithTimeout ¶
func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams
NewDeleteTemplateParamsWithTimeout creates a new DeleteTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTemplateParams) SetContext ¶
func (o *DeleteTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete template params
func (*DeleteTemplateParams) SetHTTPClient ¶
func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete template params
func (*DeleteTemplateParams) SetID ¶
func (o *DeleteTemplateParams) SetID(id int64)
SetID adds the id to the delete template params
func (*DeleteTemplateParams) SetTimeout ¶
func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete template params
func (*DeleteTemplateParams) WithContext ¶
func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams
WithContext adds the context to the delete template params
func (*DeleteTemplateParams) WithHTTPClient ¶
func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams
WithHTTPClient adds the HTTPClient to the delete template params
func (*DeleteTemplateParams) WithID ¶
func (o *DeleteTemplateParams) WithID(id int64) *DeleteTemplateParams
WithID adds the id to the delete template params
func (*DeleteTemplateParams) WithTimeout ¶
func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams
WithTimeout adds the timeout to the delete template params
func (*DeleteTemplateParams) WriteToRequest ¶
func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTemplateReader ¶
type DeleteTemplateReader struct {
// contains filtered or unexported fields
}
DeleteTemplateReader is a Reader for the DeleteTemplate structure.
func (*DeleteTemplateReader) ReadResponse ¶
func (o *DeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateTemplateOK ¶
type GetPrivateTemplateOK struct {
Payload *models_cloudbreak.TemplateResponse
}
GetPrivateTemplateOK handles this case with default header values.
successful operation
func NewGetPrivateTemplateOK ¶
func NewGetPrivateTemplateOK() *GetPrivateTemplateOK
NewGetPrivateTemplateOK creates a GetPrivateTemplateOK with default headers values
func (*GetPrivateTemplateOK) Error ¶
func (o *GetPrivateTemplateOK) Error() string
type GetPrivateTemplateParams ¶
type GetPrivateTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateTemplateParams contains all the parameters to send to the API endpoint for the get private template operation typically these are written to a http.Request
func NewGetPrivateTemplateParams ¶
func NewGetPrivateTemplateParams() *GetPrivateTemplateParams
NewGetPrivateTemplateParams creates a new GetPrivateTemplateParams object with the default values initialized.
func NewGetPrivateTemplateParamsWithContext ¶
func NewGetPrivateTemplateParamsWithContext(ctx context.Context) *GetPrivateTemplateParams
NewGetPrivateTemplateParamsWithContext creates a new GetPrivateTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateTemplateParamsWithHTTPClient ¶
func NewGetPrivateTemplateParamsWithHTTPClient(client *http.Client) *GetPrivateTemplateParams
NewGetPrivateTemplateParamsWithHTTPClient creates a new GetPrivateTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateTemplateParamsWithTimeout ¶
func NewGetPrivateTemplateParamsWithTimeout(timeout time.Duration) *GetPrivateTemplateParams
NewGetPrivateTemplateParamsWithTimeout creates a new GetPrivateTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateTemplateParams) SetContext ¶
func (o *GetPrivateTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get private template params
func (*GetPrivateTemplateParams) SetHTTPClient ¶
func (o *GetPrivateTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private template params
func (*GetPrivateTemplateParams) SetName ¶
func (o *GetPrivateTemplateParams) SetName(name string)
SetName adds the name to the get private template params
func (*GetPrivateTemplateParams) SetTimeout ¶
func (o *GetPrivateTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private template params
func (*GetPrivateTemplateParams) WithContext ¶
func (o *GetPrivateTemplateParams) WithContext(ctx context.Context) *GetPrivateTemplateParams
WithContext adds the context to the get private template params
func (*GetPrivateTemplateParams) WithHTTPClient ¶
func (o *GetPrivateTemplateParams) WithHTTPClient(client *http.Client) *GetPrivateTemplateParams
WithHTTPClient adds the HTTPClient to the get private template params
func (*GetPrivateTemplateParams) WithName ¶
func (o *GetPrivateTemplateParams) WithName(name string) *GetPrivateTemplateParams
WithName adds the name to the get private template params
func (*GetPrivateTemplateParams) WithTimeout ¶
func (o *GetPrivateTemplateParams) WithTimeout(timeout time.Duration) *GetPrivateTemplateParams
WithTimeout adds the timeout to the get private template params
func (*GetPrivateTemplateParams) WriteToRequest ¶
func (o *GetPrivateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateTemplateReader ¶
type GetPrivateTemplateReader struct {
// contains filtered or unexported fields
}
GetPrivateTemplateReader is a Reader for the GetPrivateTemplate structure.
func (*GetPrivateTemplateReader) ReadResponse ¶
func (o *GetPrivateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivatesTemplateOK ¶
type GetPrivatesTemplateOK struct {
Payload []*models_cloudbreak.TemplateResponse
}
GetPrivatesTemplateOK handles this case with default header values.
successful operation
func NewGetPrivatesTemplateOK ¶
func NewGetPrivatesTemplateOK() *GetPrivatesTemplateOK
NewGetPrivatesTemplateOK creates a GetPrivatesTemplateOK with default headers values
func (*GetPrivatesTemplateOK) Error ¶
func (o *GetPrivatesTemplateOK) Error() string
type GetPrivatesTemplateParams ¶
type GetPrivatesTemplateParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivatesTemplateParams contains all the parameters to send to the API endpoint for the get privates template operation typically these are written to a http.Request
func NewGetPrivatesTemplateParams ¶
func NewGetPrivatesTemplateParams() *GetPrivatesTemplateParams
NewGetPrivatesTemplateParams creates a new GetPrivatesTemplateParams object with the default values initialized.
func NewGetPrivatesTemplateParamsWithContext ¶
func NewGetPrivatesTemplateParamsWithContext(ctx context.Context) *GetPrivatesTemplateParams
NewGetPrivatesTemplateParamsWithContext creates a new GetPrivatesTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivatesTemplateParamsWithHTTPClient ¶
func NewGetPrivatesTemplateParamsWithHTTPClient(client *http.Client) *GetPrivatesTemplateParams
NewGetPrivatesTemplateParamsWithHTTPClient creates a new GetPrivatesTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivatesTemplateParamsWithTimeout ¶
func NewGetPrivatesTemplateParamsWithTimeout(timeout time.Duration) *GetPrivatesTemplateParams
NewGetPrivatesTemplateParamsWithTimeout creates a new GetPrivatesTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivatesTemplateParams) SetContext ¶
func (o *GetPrivatesTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get privates template params
func (*GetPrivatesTemplateParams) SetHTTPClient ¶
func (o *GetPrivatesTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get privates template params
func (*GetPrivatesTemplateParams) SetTimeout ¶
func (o *GetPrivatesTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get privates template params
func (*GetPrivatesTemplateParams) WithContext ¶
func (o *GetPrivatesTemplateParams) WithContext(ctx context.Context) *GetPrivatesTemplateParams
WithContext adds the context to the get privates template params
func (*GetPrivatesTemplateParams) WithHTTPClient ¶
func (o *GetPrivatesTemplateParams) WithHTTPClient(client *http.Client) *GetPrivatesTemplateParams
WithHTTPClient adds the HTTPClient to the get privates template params
func (*GetPrivatesTemplateParams) WithTimeout ¶
func (o *GetPrivatesTemplateParams) WithTimeout(timeout time.Duration) *GetPrivatesTemplateParams
WithTimeout adds the timeout to the get privates template params
func (*GetPrivatesTemplateParams) WriteToRequest ¶
func (o *GetPrivatesTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivatesTemplateReader ¶
type GetPrivatesTemplateReader struct {
// contains filtered or unexported fields
}
GetPrivatesTemplateReader is a Reader for the GetPrivatesTemplate structure.
func (*GetPrivatesTemplateReader) ReadResponse ¶
func (o *GetPrivatesTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicTemplateOK ¶
type GetPublicTemplateOK struct {
Payload *models_cloudbreak.TemplateResponse
}
GetPublicTemplateOK handles this case with default header values.
successful operation
func NewGetPublicTemplateOK ¶
func NewGetPublicTemplateOK() *GetPublicTemplateOK
NewGetPublicTemplateOK creates a GetPublicTemplateOK with default headers values
func (*GetPublicTemplateOK) Error ¶
func (o *GetPublicTemplateOK) Error() string
type GetPublicTemplateParams ¶
type GetPublicTemplateParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicTemplateParams contains all the parameters to send to the API endpoint for the get public template operation typically these are written to a http.Request
func NewGetPublicTemplateParams ¶
func NewGetPublicTemplateParams() *GetPublicTemplateParams
NewGetPublicTemplateParams creates a new GetPublicTemplateParams object with the default values initialized.
func NewGetPublicTemplateParamsWithContext ¶
func NewGetPublicTemplateParamsWithContext(ctx context.Context) *GetPublicTemplateParams
NewGetPublicTemplateParamsWithContext creates a new GetPublicTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicTemplateParamsWithHTTPClient ¶
func NewGetPublicTemplateParamsWithHTTPClient(client *http.Client) *GetPublicTemplateParams
NewGetPublicTemplateParamsWithHTTPClient creates a new GetPublicTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicTemplateParamsWithTimeout ¶
func NewGetPublicTemplateParamsWithTimeout(timeout time.Duration) *GetPublicTemplateParams
NewGetPublicTemplateParamsWithTimeout creates a new GetPublicTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicTemplateParams) SetContext ¶
func (o *GetPublicTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get public template params
func (*GetPublicTemplateParams) SetHTTPClient ¶
func (o *GetPublicTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public template params
func (*GetPublicTemplateParams) SetName ¶
func (o *GetPublicTemplateParams) SetName(name string)
SetName adds the name to the get public template params
func (*GetPublicTemplateParams) SetTimeout ¶
func (o *GetPublicTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public template params
func (*GetPublicTemplateParams) WithContext ¶
func (o *GetPublicTemplateParams) WithContext(ctx context.Context) *GetPublicTemplateParams
WithContext adds the context to the get public template params
func (*GetPublicTemplateParams) WithHTTPClient ¶
func (o *GetPublicTemplateParams) WithHTTPClient(client *http.Client) *GetPublicTemplateParams
WithHTTPClient adds the HTTPClient to the get public template params
func (*GetPublicTemplateParams) WithName ¶
func (o *GetPublicTemplateParams) WithName(name string) *GetPublicTemplateParams
WithName adds the name to the get public template params
func (*GetPublicTemplateParams) WithTimeout ¶
func (o *GetPublicTemplateParams) WithTimeout(timeout time.Duration) *GetPublicTemplateParams
WithTimeout adds the timeout to the get public template params
func (*GetPublicTemplateParams) WriteToRequest ¶
func (o *GetPublicTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicTemplateReader ¶
type GetPublicTemplateReader struct {
// contains filtered or unexported fields
}
GetPublicTemplateReader is a Reader for the GetPublicTemplate structure.
func (*GetPublicTemplateReader) ReadResponse ¶
func (o *GetPublicTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicsTemplateOK ¶
type GetPublicsTemplateOK struct {
Payload []*models_cloudbreak.TemplateResponse
}
GetPublicsTemplateOK handles this case with default header values.
successful operation
func NewGetPublicsTemplateOK ¶
func NewGetPublicsTemplateOK() *GetPublicsTemplateOK
NewGetPublicsTemplateOK creates a GetPublicsTemplateOK with default headers values
func (*GetPublicsTemplateOK) Error ¶
func (o *GetPublicsTemplateOK) Error() string
type GetPublicsTemplateParams ¶
type GetPublicsTemplateParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicsTemplateParams contains all the parameters to send to the API endpoint for the get publics template operation typically these are written to a http.Request
func NewGetPublicsTemplateParams ¶
func NewGetPublicsTemplateParams() *GetPublicsTemplateParams
NewGetPublicsTemplateParams creates a new GetPublicsTemplateParams object with the default values initialized.
func NewGetPublicsTemplateParamsWithContext ¶
func NewGetPublicsTemplateParamsWithContext(ctx context.Context) *GetPublicsTemplateParams
NewGetPublicsTemplateParamsWithContext creates a new GetPublicsTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicsTemplateParamsWithHTTPClient ¶
func NewGetPublicsTemplateParamsWithHTTPClient(client *http.Client) *GetPublicsTemplateParams
NewGetPublicsTemplateParamsWithHTTPClient creates a new GetPublicsTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicsTemplateParamsWithTimeout ¶
func NewGetPublicsTemplateParamsWithTimeout(timeout time.Duration) *GetPublicsTemplateParams
NewGetPublicsTemplateParamsWithTimeout creates a new GetPublicsTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicsTemplateParams) SetContext ¶
func (o *GetPublicsTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get publics template params
func (*GetPublicsTemplateParams) SetHTTPClient ¶
func (o *GetPublicsTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publics template params
func (*GetPublicsTemplateParams) SetTimeout ¶
func (o *GetPublicsTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publics template params
func (*GetPublicsTemplateParams) WithContext ¶
func (o *GetPublicsTemplateParams) WithContext(ctx context.Context) *GetPublicsTemplateParams
WithContext adds the context to the get publics template params
func (*GetPublicsTemplateParams) WithHTTPClient ¶
func (o *GetPublicsTemplateParams) WithHTTPClient(client *http.Client) *GetPublicsTemplateParams
WithHTTPClient adds the HTTPClient to the get publics template params
func (*GetPublicsTemplateParams) WithTimeout ¶
func (o *GetPublicsTemplateParams) WithTimeout(timeout time.Duration) *GetPublicsTemplateParams
WithTimeout adds the timeout to the get publics template params
func (*GetPublicsTemplateParams) WriteToRequest ¶
func (o *GetPublicsTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicsTemplateReader ¶
type GetPublicsTemplateReader struct {
// contains filtered or unexported fields
}
GetPublicsTemplateReader is a Reader for the GetPublicsTemplate structure.
func (*GetPublicsTemplateReader) ReadResponse ¶
func (o *GetPublicsTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTemplateOK ¶
type GetTemplateOK struct {
Payload *models_cloudbreak.TemplateResponse
}
GetTemplateOK handles this case with default header values.
successful operation
func NewGetTemplateOK ¶
func NewGetTemplateOK() *GetTemplateOK
NewGetTemplateOK creates a GetTemplateOK with default headers values
func (*GetTemplateOK) Error ¶
func (o *GetTemplateOK) Error() string
type GetTemplateParams ¶
type GetTemplateParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTemplateParams contains all the parameters to send to the API endpoint for the get template operation typically these are written to a http.Request
func NewGetTemplateParams ¶
func NewGetTemplateParams() *GetTemplateParams
NewGetTemplateParams creates a new GetTemplateParams object with the default values initialized.
func NewGetTemplateParamsWithContext ¶
func NewGetTemplateParamsWithContext(ctx context.Context) *GetTemplateParams
NewGetTemplateParamsWithContext creates a new GetTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetTemplateParamsWithHTTPClient ¶
func NewGetTemplateParamsWithHTTPClient(client *http.Client) *GetTemplateParams
NewGetTemplateParamsWithHTTPClient creates a new GetTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTemplateParamsWithTimeout ¶
func NewGetTemplateParamsWithTimeout(timeout time.Duration) *GetTemplateParams
NewGetTemplateParamsWithTimeout creates a new GetTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTemplateParams) SetContext ¶
func (o *GetTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get template params
func (*GetTemplateParams) SetHTTPClient ¶
func (o *GetTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get template params
func (*GetTemplateParams) SetID ¶
func (o *GetTemplateParams) SetID(id int64)
SetID adds the id to the get template params
func (*GetTemplateParams) SetTimeout ¶
func (o *GetTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get template params
func (*GetTemplateParams) WithContext ¶
func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams
WithContext adds the context to the get template params
func (*GetTemplateParams) WithHTTPClient ¶
func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams
WithHTTPClient adds the HTTPClient to the get template params
func (*GetTemplateParams) WithID ¶
func (o *GetTemplateParams) WithID(id int64) *GetTemplateParams
WithID adds the id to the get template params
func (*GetTemplateParams) WithTimeout ¶
func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams
WithTimeout adds the timeout to the get template params
func (*GetTemplateParams) WriteToRequest ¶
func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTemplateReader ¶
type GetTemplateReader struct {
// contains filtered or unexported fields
}
GetTemplateReader is a Reader for the GetTemplate structure.
func (*GetTemplateReader) ReadResponse ¶
func (o *GetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_private_template_parameters.go
- delete_private_template_responses.go
- delete_public_template_parameters.go
- delete_public_template_responses.go
- delete_template_parameters.go
- delete_template_responses.go
- get_private_template_parameters.go
- get_private_template_responses.go
- get_privates_template_parameters.go
- get_privates_template_responses.go
- get_public_template_parameters.go
- get_public_template_responses.go
- get_publics_template_parameters.go
- get_publics_template_responses.go
- get_template_parameters.go
- get_template_responses.go
- v1templates_client.go