Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateClusterTemplateInWorkspace(params *CreateClusterTemplateInWorkspaceParams) (*CreateClusterTemplateInWorkspaceOK, error)
- func (a *Client) DeleteClusterTemplateByCrnInWorkspace(params *DeleteClusterTemplateByCrnInWorkspaceParams) (*DeleteClusterTemplateByCrnInWorkspaceOK, error)
- func (a *Client) DeleteClusterTemplateByNameInWorkspace(params *DeleteClusterTemplateByNameInWorkspaceParams) (*DeleteClusterTemplateByNameInWorkspaceOK, error)
- func (a *Client) DeleteClusterTemplatesInWorkspace(params *DeleteClusterTemplatesInWorkspaceParams) (*DeleteClusterTemplatesInWorkspaceOK, error)
- func (a *Client) GetClusterTemplateByCrnInWorkspace(params *GetClusterTemplateByCrnInWorkspaceParams) (*GetClusterTemplateByCrnInWorkspaceOK, error)
- func (a *Client) GetClusterTemplateByNameInWorkspace(params *GetClusterTemplateByNameInWorkspaceParams) (*GetClusterTemplateByNameInWorkspaceOK, error)
- func (a *Client) ListClusterTemplatesByWorkspace(params *ListClusterTemplatesByWorkspaceParams) (*ListClusterTemplatesByWorkspaceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateClusterTemplateInWorkspaceOK
- type CreateClusterTemplateInWorkspaceParams
- func NewCreateClusterTemplateInWorkspaceParams() *CreateClusterTemplateInWorkspaceParams
- func NewCreateClusterTemplateInWorkspaceParamsWithContext(ctx context.Context) *CreateClusterTemplateInWorkspaceParams
- func NewCreateClusterTemplateInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateClusterTemplateInWorkspaceParams
- func NewCreateClusterTemplateInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateClusterTemplateInWorkspaceParams
- func (o *CreateClusterTemplateInWorkspaceParams) SetBody(body *model.ClusterTemplateV4Request)
- func (o *CreateClusterTemplateInWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateClusterTemplateInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterTemplateInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterTemplateInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateClusterTemplateInWorkspaceParams) WithBody(body *model.ClusterTemplateV4Request) *CreateClusterTemplateInWorkspaceParams
- func (o *CreateClusterTemplateInWorkspaceParams) WithContext(ctx context.Context) *CreateClusterTemplateInWorkspaceParams
- func (o *CreateClusterTemplateInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateClusterTemplateInWorkspaceParams
- func (o *CreateClusterTemplateInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateClusterTemplateInWorkspaceParams
- func (o *CreateClusterTemplateInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateClusterTemplateInWorkspaceParams
- func (o *CreateClusterTemplateInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterTemplateInWorkspaceReader
- type DeleteClusterTemplateByCrnInWorkspaceOK
- type DeleteClusterTemplateByCrnInWorkspaceParams
- func NewDeleteClusterTemplateByCrnInWorkspaceParams() *DeleteClusterTemplateByCrnInWorkspaceParams
- func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithContext(ctx context.Context) *DeleteClusterTemplateByCrnInWorkspaceParams
- func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplateByCrnInWorkspaceParams
- func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplateByCrnInWorkspaceParams
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetCrn(crn string)
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithContext(ctx context.Context) *DeleteClusterTemplateByCrnInWorkspaceParams
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithCrn(crn string) *DeleteClusterTemplateByCrnInWorkspaceParams
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplateByCrnInWorkspaceParams
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplateByCrnInWorkspaceParams
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteClusterTemplateByCrnInWorkspaceParams
- func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterTemplateByCrnInWorkspaceReader
- type DeleteClusterTemplateByNameInWorkspaceOK
- type DeleteClusterTemplateByNameInWorkspaceParams
- func NewDeleteClusterTemplateByNameInWorkspaceParams() *DeleteClusterTemplateByNameInWorkspaceParams
- func NewDeleteClusterTemplateByNameInWorkspaceParamsWithContext(ctx context.Context) *DeleteClusterTemplateByNameInWorkspaceParams
- func NewDeleteClusterTemplateByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplateByNameInWorkspaceParams
- func NewDeleteClusterTemplateByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplateByNameInWorkspaceParams
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetName(name string)
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithContext(ctx context.Context) *DeleteClusterTemplateByNameInWorkspaceParams
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplateByNameInWorkspaceParams
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithName(name string) *DeleteClusterTemplateByNameInWorkspaceParams
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplateByNameInWorkspaceParams
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteClusterTemplateByNameInWorkspaceParams
- func (o *DeleteClusterTemplateByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterTemplateByNameInWorkspaceReader
- type DeleteClusterTemplatesInWorkspaceOK
- type DeleteClusterTemplatesInWorkspaceParams
- func NewDeleteClusterTemplatesInWorkspaceParams() *DeleteClusterTemplatesInWorkspaceParams
- func NewDeleteClusterTemplatesInWorkspaceParamsWithContext(ctx context.Context) *DeleteClusterTemplatesInWorkspaceParams
- func NewDeleteClusterTemplatesInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplatesInWorkspaceParams
- func NewDeleteClusterTemplatesInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetBody(body []string)
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetEnvironmentCrn(environmentCrn *string)
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetEnvironmentName(environmentName *string)
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterTemplatesInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithBody(body []string) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithContext(ctx context.Context) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithEnvironmentCrn(environmentCrn *string) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithEnvironmentName(environmentName *string) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteClusterTemplatesInWorkspaceParams
- func (o *DeleteClusterTemplatesInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterTemplatesInWorkspaceReader
- type GetClusterTemplateByCrnInWorkspaceOK
- type GetClusterTemplateByCrnInWorkspaceParams
- func NewGetClusterTemplateByCrnInWorkspaceParams() *GetClusterTemplateByCrnInWorkspaceParams
- func NewGetClusterTemplateByCrnInWorkspaceParamsWithContext(ctx context.Context) *GetClusterTemplateByCrnInWorkspaceParams
- func NewGetClusterTemplateByCrnInWorkspaceParamsWithHTTPClient(client *http.Client) *GetClusterTemplateByCrnInWorkspaceParams
- func NewGetClusterTemplateByCrnInWorkspaceParamsWithTimeout(timeout time.Duration) *GetClusterTemplateByCrnInWorkspaceParams
- func (o *GetClusterTemplateByCrnInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetClusterTemplateByCrnInWorkspaceParams) SetCrn(crn string)
- func (o *GetClusterTemplateByCrnInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterTemplateByCrnInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterTemplateByCrnInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetClusterTemplateByCrnInWorkspaceParams) WithContext(ctx context.Context) *GetClusterTemplateByCrnInWorkspaceParams
- func (o *GetClusterTemplateByCrnInWorkspaceParams) WithCrn(crn string) *GetClusterTemplateByCrnInWorkspaceParams
- func (o *GetClusterTemplateByCrnInWorkspaceParams) WithHTTPClient(client *http.Client) *GetClusterTemplateByCrnInWorkspaceParams
- func (o *GetClusterTemplateByCrnInWorkspaceParams) WithTimeout(timeout time.Duration) *GetClusterTemplateByCrnInWorkspaceParams
- func (o *GetClusterTemplateByCrnInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetClusterTemplateByCrnInWorkspaceParams
- func (o *GetClusterTemplateByCrnInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterTemplateByCrnInWorkspaceReader
- type GetClusterTemplateByNameInWorkspaceOK
- type GetClusterTemplateByNameInWorkspaceParams
- func NewGetClusterTemplateByNameInWorkspaceParams() *GetClusterTemplateByNameInWorkspaceParams
- func NewGetClusterTemplateByNameInWorkspaceParamsWithContext(ctx context.Context) *GetClusterTemplateByNameInWorkspaceParams
- func NewGetClusterTemplateByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *GetClusterTemplateByNameInWorkspaceParams
- func NewGetClusterTemplateByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *GetClusterTemplateByNameInWorkspaceParams
- func (o *GetClusterTemplateByNameInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetClusterTemplateByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterTemplateByNameInWorkspaceParams) SetName(name string)
- func (o *GetClusterTemplateByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterTemplateByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetClusterTemplateByNameInWorkspaceParams) WithContext(ctx context.Context) *GetClusterTemplateByNameInWorkspaceParams
- func (o *GetClusterTemplateByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *GetClusterTemplateByNameInWorkspaceParams
- func (o *GetClusterTemplateByNameInWorkspaceParams) WithName(name string) *GetClusterTemplateByNameInWorkspaceParams
- func (o *GetClusterTemplateByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *GetClusterTemplateByNameInWorkspaceParams
- func (o *GetClusterTemplateByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetClusterTemplateByNameInWorkspaceParams
- func (o *GetClusterTemplateByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterTemplateByNameInWorkspaceReader
- type ListClusterTemplatesByWorkspaceOK
- type ListClusterTemplatesByWorkspaceParams
- func NewListClusterTemplatesByWorkspaceParams() *ListClusterTemplatesByWorkspaceParams
- func NewListClusterTemplatesByWorkspaceParamsWithContext(ctx context.Context) *ListClusterTemplatesByWorkspaceParams
- func NewListClusterTemplatesByWorkspaceParamsWithHTTPClient(client *http.Client) *ListClusterTemplatesByWorkspaceParams
- func NewListClusterTemplatesByWorkspaceParamsWithTimeout(timeout time.Duration) *ListClusterTemplatesByWorkspaceParams
- func (o *ListClusterTemplatesByWorkspaceParams) SetContext(ctx context.Context)
- func (o *ListClusterTemplatesByWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ListClusterTemplatesByWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ListClusterTemplatesByWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ListClusterTemplatesByWorkspaceParams) WithContext(ctx context.Context) *ListClusterTemplatesByWorkspaceParams
- func (o *ListClusterTemplatesByWorkspaceParams) WithHTTPClient(client *http.Client) *ListClusterTemplatesByWorkspaceParams
- func (o *ListClusterTemplatesByWorkspaceParams) WithTimeout(timeout time.Duration) *ListClusterTemplatesByWorkspaceParams
- func (o *ListClusterTemplatesByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListClusterTemplatesByWorkspaceParams
- func (o *ListClusterTemplatesByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClusterTemplatesByWorkspaceReader
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 v4 workspace id cluster templates API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v4 workspace id cluster templates API client.
func (*Client) CreateClusterTemplateInWorkspace ¶
func (a *Client) CreateClusterTemplateInWorkspace(params *CreateClusterTemplateInWorkspaceParams) (*CreateClusterTemplateInWorkspaceOK, error)
CreateClusterTemplateInWorkspace creates cluster template in workspace
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) DeleteClusterTemplateByCrnInWorkspace ¶
func (a *Client) DeleteClusterTemplateByCrnInWorkspace(params *DeleteClusterTemplateByCrnInWorkspaceParams) (*DeleteClusterTemplateByCrnInWorkspaceOK, error)
DeleteClusterTemplateByCrnInWorkspace deletes cluster template by crn in workspace
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) DeleteClusterTemplateByNameInWorkspace ¶
func (a *Client) DeleteClusterTemplateByNameInWorkspace(params *DeleteClusterTemplateByNameInWorkspaceParams) (*DeleteClusterTemplateByNameInWorkspaceOK, error)
DeleteClusterTemplateByNameInWorkspace deletes cluster template by name in workspace
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) DeleteClusterTemplatesInWorkspace ¶
func (a *Client) DeleteClusterTemplatesInWorkspace(params *DeleteClusterTemplatesInWorkspaceParams) (*DeleteClusterTemplatesInWorkspaceOK, error)
DeleteClusterTemplatesInWorkspace deletes multiple cluster templates by name in workspace
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) GetClusterTemplateByCrnInWorkspace ¶
func (a *Client) GetClusterTemplateByCrnInWorkspace(params *GetClusterTemplateByCrnInWorkspaceParams) (*GetClusterTemplateByCrnInWorkspaceOK, error)
GetClusterTemplateByCrnInWorkspace gets cluster template by crn in workspace
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) GetClusterTemplateByNameInWorkspace ¶
func (a *Client) GetClusterTemplateByNameInWorkspace(params *GetClusterTemplateByNameInWorkspaceParams) (*GetClusterTemplateByNameInWorkspaceOK, error)
GetClusterTemplateByNameInWorkspace gets cluster template by name in workspace
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) ListClusterTemplatesByWorkspace ¶
func (a *Client) ListClusterTemplatesByWorkspace(params *ListClusterTemplatesByWorkspaceParams) (*ListClusterTemplatesByWorkspaceOK, error)
ListClusterTemplatesByWorkspace lists cluster templates for the given workspace
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 CreateClusterTemplateInWorkspaceOK ¶
type CreateClusterTemplateInWorkspaceOK struct {
Payload *model.ClusterTemplateV4Response
}
CreateClusterTemplateInWorkspaceOK handles this case with default header values.
successful operation
func NewCreateClusterTemplateInWorkspaceOK ¶
func NewCreateClusterTemplateInWorkspaceOK() *CreateClusterTemplateInWorkspaceOK
NewCreateClusterTemplateInWorkspaceOK creates a CreateClusterTemplateInWorkspaceOK with default headers values
func (*CreateClusterTemplateInWorkspaceOK) Error ¶
func (o *CreateClusterTemplateInWorkspaceOK) Error() string
type CreateClusterTemplateInWorkspaceParams ¶
type CreateClusterTemplateInWorkspaceParams struct { /*Body*/ Body *model.ClusterTemplateV4Request /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterTemplateInWorkspaceParams contains all the parameters to send to the API endpoint for the create cluster template in workspace operation typically these are written to a http.Request
func NewCreateClusterTemplateInWorkspaceParams ¶
func NewCreateClusterTemplateInWorkspaceParams() *CreateClusterTemplateInWorkspaceParams
NewCreateClusterTemplateInWorkspaceParams creates a new CreateClusterTemplateInWorkspaceParams object with the default values initialized.
func NewCreateClusterTemplateInWorkspaceParamsWithContext ¶
func NewCreateClusterTemplateInWorkspaceParamsWithContext(ctx context.Context) *CreateClusterTemplateInWorkspaceParams
NewCreateClusterTemplateInWorkspaceParamsWithContext creates a new CreateClusterTemplateInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateClusterTemplateInWorkspaceParamsWithHTTPClient ¶
func NewCreateClusterTemplateInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateClusterTemplateInWorkspaceParams
NewCreateClusterTemplateInWorkspaceParamsWithHTTPClient creates a new CreateClusterTemplateInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClusterTemplateInWorkspaceParamsWithTimeout ¶
func NewCreateClusterTemplateInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateClusterTemplateInWorkspaceParams
NewCreateClusterTemplateInWorkspaceParamsWithTimeout creates a new CreateClusterTemplateInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClusterTemplateInWorkspaceParams) SetBody ¶
func (o *CreateClusterTemplateInWorkspaceParams) SetBody(body *model.ClusterTemplateV4Request)
SetBody adds the body to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) SetContext ¶
func (o *CreateClusterTemplateInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) SetHTTPClient ¶
func (o *CreateClusterTemplateInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) SetTimeout ¶
func (o *CreateClusterTemplateInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) SetWorkspaceID ¶
func (o *CreateClusterTemplateInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) WithBody ¶
func (o *CreateClusterTemplateInWorkspaceParams) WithBody(body *model.ClusterTemplateV4Request) *CreateClusterTemplateInWorkspaceParams
WithBody adds the body to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) WithContext ¶
func (o *CreateClusterTemplateInWorkspaceParams) WithContext(ctx context.Context) *CreateClusterTemplateInWorkspaceParams
WithContext adds the context to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) WithHTTPClient ¶
func (o *CreateClusterTemplateInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateClusterTemplateInWorkspaceParams
WithHTTPClient adds the HTTPClient to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) WithTimeout ¶
func (o *CreateClusterTemplateInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateClusterTemplateInWorkspaceParams
WithTimeout adds the timeout to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) WithWorkspaceID ¶
func (o *CreateClusterTemplateInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateClusterTemplateInWorkspaceParams
WithWorkspaceID adds the workspaceID to the create cluster template in workspace params
func (*CreateClusterTemplateInWorkspaceParams) WriteToRequest ¶
func (o *CreateClusterTemplateInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterTemplateInWorkspaceReader ¶
type CreateClusterTemplateInWorkspaceReader struct {
// contains filtered or unexported fields
}
CreateClusterTemplateInWorkspaceReader is a Reader for the CreateClusterTemplateInWorkspace structure.
func (*CreateClusterTemplateInWorkspaceReader) ReadResponse ¶
func (o *CreateClusterTemplateInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterTemplateByCrnInWorkspaceOK ¶
type DeleteClusterTemplateByCrnInWorkspaceOK struct {
Payload *model.ClusterTemplateV4Response
}
DeleteClusterTemplateByCrnInWorkspaceOK handles this case with default header values.
successful operation
func NewDeleteClusterTemplateByCrnInWorkspaceOK ¶
func NewDeleteClusterTemplateByCrnInWorkspaceOK() *DeleteClusterTemplateByCrnInWorkspaceOK
NewDeleteClusterTemplateByCrnInWorkspaceOK creates a DeleteClusterTemplateByCrnInWorkspaceOK with default headers values
func (*DeleteClusterTemplateByCrnInWorkspaceOK) Error ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceOK) Error() string
type DeleteClusterTemplateByCrnInWorkspaceParams ¶
type DeleteClusterTemplateByCrnInWorkspaceParams struct { /*Crn*/ Crn string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterTemplateByCrnInWorkspaceParams contains all the parameters to send to the API endpoint for the delete cluster template by crn in workspace operation typically these are written to a http.Request
func NewDeleteClusterTemplateByCrnInWorkspaceParams ¶
func NewDeleteClusterTemplateByCrnInWorkspaceParams() *DeleteClusterTemplateByCrnInWorkspaceParams
NewDeleteClusterTemplateByCrnInWorkspaceParams creates a new DeleteClusterTemplateByCrnInWorkspaceParams object with the default values initialized.
func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithContext ¶
func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithContext(ctx context.Context) *DeleteClusterTemplateByCrnInWorkspaceParams
NewDeleteClusterTemplateByCrnInWorkspaceParamsWithContext creates a new DeleteClusterTemplateByCrnInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithHTTPClient ¶
func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplateByCrnInWorkspaceParams
NewDeleteClusterTemplateByCrnInWorkspaceParamsWithHTTPClient creates a new DeleteClusterTemplateByCrnInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithTimeout ¶
func NewDeleteClusterTemplateByCrnInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplateByCrnInWorkspaceParams
NewDeleteClusterTemplateByCrnInWorkspaceParamsWithTimeout creates a new DeleteClusterTemplateByCrnInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterTemplateByCrnInWorkspaceParams) SetContext ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) SetCrn ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetCrn(crn string)
SetCrn adds the crn to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) SetHTTPClient ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) SetTimeout ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) SetWorkspaceID ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) WithContext ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithContext(ctx context.Context) *DeleteClusterTemplateByCrnInWorkspaceParams
WithContext adds the context to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) WithCrn ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithCrn(crn string) *DeleteClusterTemplateByCrnInWorkspaceParams
WithCrn adds the crn to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplateByCrnInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) WithTimeout ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplateByCrnInWorkspaceParams
WithTimeout adds the timeout to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteClusterTemplateByCrnInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete cluster template by crn in workspace params
func (*DeleteClusterTemplateByCrnInWorkspaceParams) WriteToRequest ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterTemplateByCrnInWorkspaceReader ¶
type DeleteClusterTemplateByCrnInWorkspaceReader struct {
// contains filtered or unexported fields
}
DeleteClusterTemplateByCrnInWorkspaceReader is a Reader for the DeleteClusterTemplateByCrnInWorkspace structure.
func (*DeleteClusterTemplateByCrnInWorkspaceReader) ReadResponse ¶
func (o *DeleteClusterTemplateByCrnInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterTemplateByNameInWorkspaceOK ¶
type DeleteClusterTemplateByNameInWorkspaceOK struct {
Payload *model.ClusterTemplateV4Response
}
DeleteClusterTemplateByNameInWorkspaceOK handles this case with default header values.
successful operation
func NewDeleteClusterTemplateByNameInWorkspaceOK ¶
func NewDeleteClusterTemplateByNameInWorkspaceOK() *DeleteClusterTemplateByNameInWorkspaceOK
NewDeleteClusterTemplateByNameInWorkspaceOK creates a DeleteClusterTemplateByNameInWorkspaceOK with default headers values
func (*DeleteClusterTemplateByNameInWorkspaceOK) Error ¶
func (o *DeleteClusterTemplateByNameInWorkspaceOK) Error() string
type DeleteClusterTemplateByNameInWorkspaceParams ¶
type DeleteClusterTemplateByNameInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterTemplateByNameInWorkspaceParams contains all the parameters to send to the API endpoint for the delete cluster template by name in workspace operation typically these are written to a http.Request
func NewDeleteClusterTemplateByNameInWorkspaceParams ¶
func NewDeleteClusterTemplateByNameInWorkspaceParams() *DeleteClusterTemplateByNameInWorkspaceParams
NewDeleteClusterTemplateByNameInWorkspaceParams creates a new DeleteClusterTemplateByNameInWorkspaceParams object with the default values initialized.
func NewDeleteClusterTemplateByNameInWorkspaceParamsWithContext ¶
func NewDeleteClusterTemplateByNameInWorkspaceParamsWithContext(ctx context.Context) *DeleteClusterTemplateByNameInWorkspaceParams
NewDeleteClusterTemplateByNameInWorkspaceParamsWithContext creates a new DeleteClusterTemplateByNameInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterTemplateByNameInWorkspaceParamsWithHTTPClient ¶
func NewDeleteClusterTemplateByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplateByNameInWorkspaceParams
NewDeleteClusterTemplateByNameInWorkspaceParamsWithHTTPClient creates a new DeleteClusterTemplateByNameInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterTemplateByNameInWorkspaceParamsWithTimeout ¶
func NewDeleteClusterTemplateByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplateByNameInWorkspaceParams
NewDeleteClusterTemplateByNameInWorkspaceParamsWithTimeout creates a new DeleteClusterTemplateByNameInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterTemplateByNameInWorkspaceParams) SetContext ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) SetHTTPClient ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) SetName ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetName(name string)
SetName adds the name to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) SetTimeout ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) SetWorkspaceID ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) WithContext ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithContext(ctx context.Context) *DeleteClusterTemplateByNameInWorkspaceParams
WithContext adds the context to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplateByNameInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) WithName ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithName(name string) *DeleteClusterTemplateByNameInWorkspaceParams
WithName adds the name to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) WithTimeout ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplateByNameInWorkspaceParams
WithTimeout adds the timeout to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteClusterTemplateByNameInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete cluster template by name in workspace params
func (*DeleteClusterTemplateByNameInWorkspaceParams) WriteToRequest ¶
func (o *DeleteClusterTemplateByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterTemplateByNameInWorkspaceReader ¶
type DeleteClusterTemplateByNameInWorkspaceReader struct {
// contains filtered or unexported fields
}
DeleteClusterTemplateByNameInWorkspaceReader is a Reader for the DeleteClusterTemplateByNameInWorkspace structure.
func (*DeleteClusterTemplateByNameInWorkspaceReader) ReadResponse ¶
func (o *DeleteClusterTemplateByNameInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterTemplatesInWorkspaceOK ¶
type DeleteClusterTemplatesInWorkspaceOK struct {
Payload *model.ClusterTemplateV4Responses
}
DeleteClusterTemplatesInWorkspaceOK handles this case with default header values.
successful operation
func NewDeleteClusterTemplatesInWorkspaceOK ¶
func NewDeleteClusterTemplatesInWorkspaceOK() *DeleteClusterTemplatesInWorkspaceOK
NewDeleteClusterTemplatesInWorkspaceOK creates a DeleteClusterTemplatesInWorkspaceOK with default headers values
func (*DeleteClusterTemplatesInWorkspaceOK) Error ¶
func (o *DeleteClusterTemplatesInWorkspaceOK) Error() string
type DeleteClusterTemplatesInWorkspaceParams ¶
type DeleteClusterTemplatesInWorkspaceParams struct { /*Body*/ Body []string /*EnvironmentCrn*/ EnvironmentCrn *string /*EnvironmentName*/ EnvironmentName *string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterTemplatesInWorkspaceParams contains all the parameters to send to the API endpoint for the delete cluster templates in workspace operation typically these are written to a http.Request
func NewDeleteClusterTemplatesInWorkspaceParams ¶
func NewDeleteClusterTemplatesInWorkspaceParams() *DeleteClusterTemplatesInWorkspaceParams
NewDeleteClusterTemplatesInWorkspaceParams creates a new DeleteClusterTemplatesInWorkspaceParams object with the default values initialized.
func NewDeleteClusterTemplatesInWorkspaceParamsWithContext ¶
func NewDeleteClusterTemplatesInWorkspaceParamsWithContext(ctx context.Context) *DeleteClusterTemplatesInWorkspaceParams
NewDeleteClusterTemplatesInWorkspaceParamsWithContext creates a new DeleteClusterTemplatesInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterTemplatesInWorkspaceParamsWithHTTPClient ¶
func NewDeleteClusterTemplatesInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteClusterTemplatesInWorkspaceParams
NewDeleteClusterTemplatesInWorkspaceParamsWithHTTPClient creates a new DeleteClusterTemplatesInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterTemplatesInWorkspaceParamsWithTimeout ¶
func NewDeleteClusterTemplatesInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteClusterTemplatesInWorkspaceParams
NewDeleteClusterTemplatesInWorkspaceParamsWithTimeout creates a new DeleteClusterTemplatesInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterTemplatesInWorkspaceParams) SetBody ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetBody(body []string)
SetBody adds the body to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) SetContext ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) SetEnvironmentCrn ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetEnvironmentCrn(environmentCrn *string)
SetEnvironmentCrn adds the environmentCrn to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) SetEnvironmentName ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetEnvironmentName(environmentName *string)
SetEnvironmentName adds the environmentName to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) SetHTTPClient ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) SetTimeout ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) SetWorkspaceID ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithBody ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithBody(body []string) *DeleteClusterTemplatesInWorkspaceParams
WithBody adds the body to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithContext ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithContext(ctx context.Context) *DeleteClusterTemplatesInWorkspaceParams
WithContext adds the context to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithEnvironmentCrn ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithEnvironmentCrn(environmentCrn *string) *DeleteClusterTemplatesInWorkspaceParams
WithEnvironmentCrn adds the environmentCrn to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithEnvironmentName ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithEnvironmentName(environmentName *string) *DeleteClusterTemplatesInWorkspaceParams
WithEnvironmentName adds the environmentName to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteClusterTemplatesInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithTimeout ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteClusterTemplatesInWorkspaceParams
WithTimeout adds the timeout to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteClusterTemplatesInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete cluster templates in workspace params
func (*DeleteClusterTemplatesInWorkspaceParams) WriteToRequest ¶
func (o *DeleteClusterTemplatesInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterTemplatesInWorkspaceReader ¶
type DeleteClusterTemplatesInWorkspaceReader struct {
// contains filtered or unexported fields
}
DeleteClusterTemplatesInWorkspaceReader is a Reader for the DeleteClusterTemplatesInWorkspace structure.
func (*DeleteClusterTemplatesInWorkspaceReader) ReadResponse ¶
func (o *DeleteClusterTemplatesInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterTemplateByCrnInWorkspaceOK ¶
type GetClusterTemplateByCrnInWorkspaceOK struct {
Payload *model.ClusterTemplateV4Response
}
GetClusterTemplateByCrnInWorkspaceOK handles this case with default header values.
successful operation
func NewGetClusterTemplateByCrnInWorkspaceOK ¶
func NewGetClusterTemplateByCrnInWorkspaceOK() *GetClusterTemplateByCrnInWorkspaceOK
NewGetClusterTemplateByCrnInWorkspaceOK creates a GetClusterTemplateByCrnInWorkspaceOK with default headers values
func (*GetClusterTemplateByCrnInWorkspaceOK) Error ¶
func (o *GetClusterTemplateByCrnInWorkspaceOK) Error() string
type GetClusterTemplateByCrnInWorkspaceParams ¶
type GetClusterTemplateByCrnInWorkspaceParams struct { /*Crn*/ Crn string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterTemplateByCrnInWorkspaceParams contains all the parameters to send to the API endpoint for the get cluster template by crn in workspace operation typically these are written to a http.Request
func NewGetClusterTemplateByCrnInWorkspaceParams ¶
func NewGetClusterTemplateByCrnInWorkspaceParams() *GetClusterTemplateByCrnInWorkspaceParams
NewGetClusterTemplateByCrnInWorkspaceParams creates a new GetClusterTemplateByCrnInWorkspaceParams object with the default values initialized.
func NewGetClusterTemplateByCrnInWorkspaceParamsWithContext ¶
func NewGetClusterTemplateByCrnInWorkspaceParamsWithContext(ctx context.Context) *GetClusterTemplateByCrnInWorkspaceParams
NewGetClusterTemplateByCrnInWorkspaceParamsWithContext creates a new GetClusterTemplateByCrnInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterTemplateByCrnInWorkspaceParamsWithHTTPClient ¶
func NewGetClusterTemplateByCrnInWorkspaceParamsWithHTTPClient(client *http.Client) *GetClusterTemplateByCrnInWorkspaceParams
NewGetClusterTemplateByCrnInWorkspaceParamsWithHTTPClient creates a new GetClusterTemplateByCrnInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterTemplateByCrnInWorkspaceParamsWithTimeout ¶
func NewGetClusterTemplateByCrnInWorkspaceParamsWithTimeout(timeout time.Duration) *GetClusterTemplateByCrnInWorkspaceParams
NewGetClusterTemplateByCrnInWorkspaceParamsWithTimeout creates a new GetClusterTemplateByCrnInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterTemplateByCrnInWorkspaceParams) SetContext ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) SetCrn ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) SetCrn(crn string)
SetCrn adds the crn to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) SetHTTPClient ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) SetTimeout ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) SetWorkspaceID ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) WithContext ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) WithContext(ctx context.Context) *GetClusterTemplateByCrnInWorkspaceParams
WithContext adds the context to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) WithCrn ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) WithCrn(crn string) *GetClusterTemplateByCrnInWorkspaceParams
WithCrn adds the crn to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) WithHTTPClient ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) WithHTTPClient(client *http.Client) *GetClusterTemplateByCrnInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) WithTimeout ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) WithTimeout(timeout time.Duration) *GetClusterTemplateByCrnInWorkspaceParams
WithTimeout adds the timeout to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) WithWorkspaceID ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetClusterTemplateByCrnInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get cluster template by crn in workspace params
func (*GetClusterTemplateByCrnInWorkspaceParams) WriteToRequest ¶
func (o *GetClusterTemplateByCrnInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterTemplateByCrnInWorkspaceReader ¶
type GetClusterTemplateByCrnInWorkspaceReader struct {
// contains filtered or unexported fields
}
GetClusterTemplateByCrnInWorkspaceReader is a Reader for the GetClusterTemplateByCrnInWorkspace structure.
func (*GetClusterTemplateByCrnInWorkspaceReader) ReadResponse ¶
func (o *GetClusterTemplateByCrnInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterTemplateByNameInWorkspaceOK ¶
type GetClusterTemplateByNameInWorkspaceOK struct {
Payload *model.ClusterTemplateV4Response
}
GetClusterTemplateByNameInWorkspaceOK handles this case with default header values.
successful operation
func NewGetClusterTemplateByNameInWorkspaceOK ¶
func NewGetClusterTemplateByNameInWorkspaceOK() *GetClusterTemplateByNameInWorkspaceOK
NewGetClusterTemplateByNameInWorkspaceOK creates a GetClusterTemplateByNameInWorkspaceOK with default headers values
func (*GetClusterTemplateByNameInWorkspaceOK) Error ¶
func (o *GetClusterTemplateByNameInWorkspaceOK) Error() string
type GetClusterTemplateByNameInWorkspaceParams ¶
type GetClusterTemplateByNameInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterTemplateByNameInWorkspaceParams contains all the parameters to send to the API endpoint for the get cluster template by name in workspace operation typically these are written to a http.Request
func NewGetClusterTemplateByNameInWorkspaceParams ¶
func NewGetClusterTemplateByNameInWorkspaceParams() *GetClusterTemplateByNameInWorkspaceParams
NewGetClusterTemplateByNameInWorkspaceParams creates a new GetClusterTemplateByNameInWorkspaceParams object with the default values initialized.
func NewGetClusterTemplateByNameInWorkspaceParamsWithContext ¶
func NewGetClusterTemplateByNameInWorkspaceParamsWithContext(ctx context.Context) *GetClusterTemplateByNameInWorkspaceParams
NewGetClusterTemplateByNameInWorkspaceParamsWithContext creates a new GetClusterTemplateByNameInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterTemplateByNameInWorkspaceParamsWithHTTPClient ¶
func NewGetClusterTemplateByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *GetClusterTemplateByNameInWorkspaceParams
NewGetClusterTemplateByNameInWorkspaceParamsWithHTTPClient creates a new GetClusterTemplateByNameInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterTemplateByNameInWorkspaceParamsWithTimeout ¶
func NewGetClusterTemplateByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *GetClusterTemplateByNameInWorkspaceParams
NewGetClusterTemplateByNameInWorkspaceParamsWithTimeout creates a new GetClusterTemplateByNameInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterTemplateByNameInWorkspaceParams) SetContext ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) SetHTTPClient ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) SetName ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) SetName(name string)
SetName adds the name to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) SetTimeout ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) SetWorkspaceID ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) WithContext ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) WithContext(ctx context.Context) *GetClusterTemplateByNameInWorkspaceParams
WithContext adds the context to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) WithHTTPClient ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *GetClusterTemplateByNameInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) WithName ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) WithName(name string) *GetClusterTemplateByNameInWorkspaceParams
WithName adds the name to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) WithTimeout ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *GetClusterTemplateByNameInWorkspaceParams
WithTimeout adds the timeout to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) WithWorkspaceID ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetClusterTemplateByNameInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get cluster template by name in workspace params
func (*GetClusterTemplateByNameInWorkspaceParams) WriteToRequest ¶
func (o *GetClusterTemplateByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterTemplateByNameInWorkspaceReader ¶
type GetClusterTemplateByNameInWorkspaceReader struct {
// contains filtered or unexported fields
}
GetClusterTemplateByNameInWorkspaceReader is a Reader for the GetClusterTemplateByNameInWorkspace structure.
func (*GetClusterTemplateByNameInWorkspaceReader) ReadResponse ¶
func (o *GetClusterTemplateByNameInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClusterTemplatesByWorkspaceOK ¶
type ListClusterTemplatesByWorkspaceOK struct {
Payload *model.ClusterTemplateViewV4Responses
}
ListClusterTemplatesByWorkspaceOK handles this case with default header values.
successful operation
func NewListClusterTemplatesByWorkspaceOK ¶
func NewListClusterTemplatesByWorkspaceOK() *ListClusterTemplatesByWorkspaceOK
NewListClusterTemplatesByWorkspaceOK creates a ListClusterTemplatesByWorkspaceOK with default headers values
func (*ListClusterTemplatesByWorkspaceOK) Error ¶
func (o *ListClusterTemplatesByWorkspaceOK) Error() string
type ListClusterTemplatesByWorkspaceParams ¶
type ListClusterTemplatesByWorkspaceParams struct { /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClusterTemplatesByWorkspaceParams contains all the parameters to send to the API endpoint for the list cluster templates by workspace operation typically these are written to a http.Request
func NewListClusterTemplatesByWorkspaceParams ¶
func NewListClusterTemplatesByWorkspaceParams() *ListClusterTemplatesByWorkspaceParams
NewListClusterTemplatesByWorkspaceParams creates a new ListClusterTemplatesByWorkspaceParams object with the default values initialized.
func NewListClusterTemplatesByWorkspaceParamsWithContext ¶
func NewListClusterTemplatesByWorkspaceParamsWithContext(ctx context.Context) *ListClusterTemplatesByWorkspaceParams
NewListClusterTemplatesByWorkspaceParamsWithContext creates a new ListClusterTemplatesByWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewListClusterTemplatesByWorkspaceParamsWithHTTPClient ¶
func NewListClusterTemplatesByWorkspaceParamsWithHTTPClient(client *http.Client) *ListClusterTemplatesByWorkspaceParams
NewListClusterTemplatesByWorkspaceParamsWithHTTPClient creates a new ListClusterTemplatesByWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListClusterTemplatesByWorkspaceParamsWithTimeout ¶
func NewListClusterTemplatesByWorkspaceParamsWithTimeout(timeout time.Duration) *ListClusterTemplatesByWorkspaceParams
NewListClusterTemplatesByWorkspaceParamsWithTimeout creates a new ListClusterTemplatesByWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListClusterTemplatesByWorkspaceParams) SetContext ¶
func (o *ListClusterTemplatesByWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) SetHTTPClient ¶
func (o *ListClusterTemplatesByWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) SetTimeout ¶
func (o *ListClusterTemplatesByWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) SetWorkspaceID ¶
func (o *ListClusterTemplatesByWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) WithContext ¶
func (o *ListClusterTemplatesByWorkspaceParams) WithContext(ctx context.Context) *ListClusterTemplatesByWorkspaceParams
WithContext adds the context to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) WithHTTPClient ¶
func (o *ListClusterTemplatesByWorkspaceParams) WithHTTPClient(client *http.Client) *ListClusterTemplatesByWorkspaceParams
WithHTTPClient adds the HTTPClient to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) WithTimeout ¶
func (o *ListClusterTemplatesByWorkspaceParams) WithTimeout(timeout time.Duration) *ListClusterTemplatesByWorkspaceParams
WithTimeout adds the timeout to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) WithWorkspaceID ¶
func (o *ListClusterTemplatesByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListClusterTemplatesByWorkspaceParams
WithWorkspaceID adds the workspaceID to the list cluster templates by workspace params
func (*ListClusterTemplatesByWorkspaceParams) WriteToRequest ¶
func (o *ListClusterTemplatesByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClusterTemplatesByWorkspaceReader ¶
type ListClusterTemplatesByWorkspaceReader struct {
// contains filtered or unexported fields
}
ListClusterTemplatesByWorkspaceReader is a Reader for the ListClusterTemplatesByWorkspace structure.
func (*ListClusterTemplatesByWorkspaceReader) ReadResponse ¶
func (o *ListClusterTemplatesByWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_cluster_template_in_workspace_parameters.go
- create_cluster_template_in_workspace_responses.go
- delete_cluster_template_by_crn_in_workspace_parameters.go
- delete_cluster_template_by_crn_in_workspace_responses.go
- delete_cluster_template_by_name_in_workspace_parameters.go
- delete_cluster_template_by_name_in_workspace_responses.go
- delete_cluster_templates_in_workspace_parameters.go
- delete_cluster_templates_in_workspace_responses.go
- get_cluster_template_by_crn_in_workspace_parameters.go
- get_cluster_template_by_crn_in_workspace_responses.go
- get_cluster_template_by_name_in_workspace_parameters.go
- get_cluster_template_by_name_in_workspace_responses.go
- list_cluster_templates_by_workspace_parameters.go
- list_cluster_templates_by_workspace_responses.go
- v4_workspace_id_cluster_templates_client.go