Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetGlobalDeploymentTemplatesOK
- func (o *GetGlobalDeploymentTemplatesOK) Code() int
- func (o *GetGlobalDeploymentTemplatesOK) Error() string
- func (o *GetGlobalDeploymentTemplatesOK) GetPayload() []*models.GlobalDeploymentTemplateInfo
- func (o *GetGlobalDeploymentTemplatesOK) IsClientError() bool
- func (o *GetGlobalDeploymentTemplatesOK) IsCode(code int) bool
- func (o *GetGlobalDeploymentTemplatesOK) IsRedirect() bool
- func (o *GetGlobalDeploymentTemplatesOK) IsServerError() bool
- func (o *GetGlobalDeploymentTemplatesOK) IsSuccess() bool
- func (o *GetGlobalDeploymentTemplatesOK) String() string
- type GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParams() *GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParamsWithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParamsWithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParamsWithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) SetContext(ctx context.Context)
- func (o *GetGlobalDeploymentTemplatesParams) SetDefaults()
- func (o *GetGlobalDeploymentTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalDeploymentTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalDeploymentTemplatesParams) WithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WithDefaults() *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalDeploymentTemplatesReader
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
func (o *GetGlobalDeploymentTemplatesOK) Code() int
Code gets the status code for the get global deployment templates o k response
func (*GetGlobalDeploymentTemplatesOK) Error ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesOK) Error() string
func (*GetGlobalDeploymentTemplatesOK) GetPayload ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesOK) GetPayload() []*models.GlobalDeploymentTemplateInfo
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
func (o *GetGlobalDeploymentTemplatesOK) String() string
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
func (o *GetGlobalDeploymentTemplatesParams) SetContext(ctx context.Context)
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
func (o *GetGlobalDeploymentTemplatesParams) WithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
WithContext adds the context to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WithDefaults ¶ added in v1.3.0
func (o *GetGlobalDeploymentTemplatesParams) WithDefaults() *GetGlobalDeploymentTemplatesParams
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
func (o *GetGlobalDeploymentTemplatesParams) WithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
WithHTTPClient adds the HTTPClient to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WithTimeout ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) WithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
WithTimeout adds the timeout to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WriteToRequest ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.