platform_configuration_templates

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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 platform configuration templates API

func (*Client) GetGlobalDeploymentTemplates added in v1.1.0

func (a *Client) GetGlobalDeploymentTemplates(params *GetGlobalDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalDeploymentTemplatesOK, error)

GetGlobalDeploymentTemplates gets all templates cross region

Global deployment template endpoint which fetches the deployment templates across all region services.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetGlobalDeploymentTemplates(params *GetGlobalDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalDeploymentTemplatesOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new platform configuration templates API client.

type GetGlobalDeploymentTemplatesOK added in v1.1.0

type GetGlobalDeploymentTemplatesOK struct {
	Payload []*models.GlobalDeploymentTemplateInfo
}

GetGlobalDeploymentTemplatesOK describes a response with status code 200, with default header values.

The deployment templates were returned successfully.

func NewGetGlobalDeploymentTemplatesOK added in v1.1.0

func NewGetGlobalDeploymentTemplatesOK() *GetGlobalDeploymentTemplatesOK

NewGetGlobalDeploymentTemplatesOK creates a GetGlobalDeploymentTemplatesOK with default headers values

func (*GetGlobalDeploymentTemplatesOK) Code added in v1.13.0

Code gets the status code for the get global deployment templates o k response

func (*GetGlobalDeploymentTemplatesOK) Error added in v1.1.0

func (*GetGlobalDeploymentTemplatesOK) GetPayload added in v1.1.0

func (*GetGlobalDeploymentTemplatesOK) IsClientError added in v1.13.0

func (o *GetGlobalDeploymentTemplatesOK) IsClientError() bool

IsClientError returns true when this get global deployment templates o k response has a 4xx status code

func (*GetGlobalDeploymentTemplatesOK) IsCode added in v1.13.0

func (o *GetGlobalDeploymentTemplatesOK) IsCode(code int) bool

IsCode returns true when this get global deployment templates o k response a status code equal to that given

func (*GetGlobalDeploymentTemplatesOK) IsRedirect added in v1.13.0

func (o *GetGlobalDeploymentTemplatesOK) IsRedirect() bool

IsRedirect returns true when this get global deployment templates o k response has a 3xx status code

func (*GetGlobalDeploymentTemplatesOK) IsServerError added in v1.13.0

func (o *GetGlobalDeploymentTemplatesOK) IsServerError() bool

IsServerError returns true when this get global deployment templates o k response has a 5xx status code

func (*GetGlobalDeploymentTemplatesOK) IsSuccess added in v1.13.0

func (o *GetGlobalDeploymentTemplatesOK) IsSuccess() bool

IsSuccess returns true when this get global deployment templates o k response has a 2xx status code

func (*GetGlobalDeploymentTemplatesOK) String added in v1.13.0

type GetGlobalDeploymentTemplatesParams added in v1.1.0

type GetGlobalDeploymentTemplatesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGlobalDeploymentTemplatesParams contains all the parameters to send to the API endpoint

for the get global deployment templates operation.

Typically these are written to a http.Request.

func NewGetGlobalDeploymentTemplatesParams added in v1.1.0

func NewGetGlobalDeploymentTemplatesParams() *GetGlobalDeploymentTemplatesParams

NewGetGlobalDeploymentTemplatesParams creates a new GetGlobalDeploymentTemplatesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetGlobalDeploymentTemplatesParamsWithContext added in v1.1.0

func NewGetGlobalDeploymentTemplatesParamsWithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams

NewGetGlobalDeploymentTemplatesParamsWithContext creates a new GetGlobalDeploymentTemplatesParams object with the ability to set a context for a request.

func NewGetGlobalDeploymentTemplatesParamsWithHTTPClient added in v1.1.0

func NewGetGlobalDeploymentTemplatesParamsWithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams

NewGetGlobalDeploymentTemplatesParamsWithHTTPClient creates a new GetGlobalDeploymentTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalDeploymentTemplatesParamsWithTimeout added in v1.1.0

func NewGetGlobalDeploymentTemplatesParamsWithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams

NewGetGlobalDeploymentTemplatesParamsWithTimeout creates a new GetGlobalDeploymentTemplatesParams object with the ability to set a timeout on a request.

func (*GetGlobalDeploymentTemplatesParams) SetContext added in v1.1.0

SetContext adds the context to the get global deployment templates params

func (*GetGlobalDeploymentTemplatesParams) SetDefaults added in v1.3.0

func (o *GetGlobalDeploymentTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the get global deployment templates params (not the query body).

All values with no default are reset to their zero value.

func (*GetGlobalDeploymentTemplatesParams) SetHTTPClient added in v1.1.0

func (o *GetGlobalDeploymentTemplatesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get global deployment templates params

func (*GetGlobalDeploymentTemplatesParams) SetTimeout added in v1.1.0

func (o *GetGlobalDeploymentTemplatesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get global deployment templates params

func (*GetGlobalDeploymentTemplatesParams) WithContext added in v1.1.0

WithContext adds the context to the get global deployment templates params

func (*GetGlobalDeploymentTemplatesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get global deployment templates params (not the query body).

All values with no default are reset to their zero value.

func (*GetGlobalDeploymentTemplatesParams) WithHTTPClient added in v1.1.0

WithHTTPClient adds the HTTPClient to the get global deployment templates params

func (*GetGlobalDeploymentTemplatesParams) WithTimeout added in v1.1.0

WithTimeout adds the timeout to the get global deployment templates params

func (*GetGlobalDeploymentTemplatesParams) WriteToRequest added in v1.1.0

WriteToRequest writes these params to a swagger request

type GetGlobalDeploymentTemplatesReader added in v1.1.0

type GetGlobalDeploymentTemplatesReader struct {
	// contains filtered or unexported fields
}

GetGlobalDeploymentTemplatesReader is a Reader for the GetGlobalDeploymentTemplates structure.

func (*GetGlobalDeploymentTemplatesReader) ReadResponse added in v1.1.0

func (o *GetGlobalDeploymentTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL