Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type InternalV1TransitgatewayGetForbidden
- type InternalV1TransitgatewayGetOK
- type InternalV1TransitgatewayGetParams
- func NewInternalV1TransitgatewayGetParams() *InternalV1TransitgatewayGetParams
- func NewInternalV1TransitgatewayGetParamsWithContext(ctx context.Context) *InternalV1TransitgatewayGetParams
- func NewInternalV1TransitgatewayGetParamsWithHTTPClient(client *http.Client) *InternalV1TransitgatewayGetParams
- func NewInternalV1TransitgatewayGetParamsWithTimeout(timeout time.Duration) *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) SetContext(ctx context.Context)
- func (o *InternalV1TransitgatewayGetParams) SetDefaults()
- func (o *InternalV1TransitgatewayGetParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1TransitgatewayGetParams) SetIBMUserAuthorization(iBMUserAuthorization string)
- func (o *InternalV1TransitgatewayGetParams) SetPowervsServiceCrn(powervsServiceCrn string)
- func (o *InternalV1TransitgatewayGetParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1TransitgatewayGetParams) WithContext(ctx context.Context) *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) WithDefaults() *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) WithHTTPClient(client *http.Client) *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) WithPowervsServiceCrn(powervsServiceCrn string) *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) WithTimeout(timeout time.Duration) *InternalV1TransitgatewayGetParams
- func (o *InternalV1TransitgatewayGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1TransitgatewayGetReader
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 internal transit gateway API
func (*Client) InternalV1TransitgatewayGet ¶
func (a *Client) InternalV1TransitgatewayGet(params *InternalV1TransitgatewayGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1TransitgatewayGetOK, error)
InternalV1TransitgatewayGet gets the cloud instance transit gateway information
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { InternalV1TransitgatewayGet(params *InternalV1TransitgatewayGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1TransitgatewayGetOK, 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 internal transit gateway API client.
type InternalV1TransitgatewayGetForbidden ¶
InternalV1TransitgatewayGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1TransitgatewayGetForbidden ¶
func NewInternalV1TransitgatewayGetForbidden() *InternalV1TransitgatewayGetForbidden
NewInternalV1TransitgatewayGetForbidden creates a InternalV1TransitgatewayGetForbidden with default headers values
func (*InternalV1TransitgatewayGetForbidden) Error ¶
func (o *InternalV1TransitgatewayGetForbidden) Error() string
func (*InternalV1TransitgatewayGetForbidden) GetPayload ¶
func (o *InternalV1TransitgatewayGetForbidden) GetPayload() *models.Error
type InternalV1TransitgatewayGetOK ¶
type InternalV1TransitgatewayGetOK struct {
Payload *models.TransitGatewayInstance
}
InternalV1TransitgatewayGetOK describes a response with status code 200, with default header values.
OK
func NewInternalV1TransitgatewayGetOK ¶
func NewInternalV1TransitgatewayGetOK() *InternalV1TransitgatewayGetOK
NewInternalV1TransitgatewayGetOK creates a InternalV1TransitgatewayGetOK with default headers values
func (*InternalV1TransitgatewayGetOK) Error ¶
func (o *InternalV1TransitgatewayGetOK) Error() string
func (*InternalV1TransitgatewayGetOK) GetPayload ¶
func (o *InternalV1TransitgatewayGetOK) GetPayload() *models.TransitGatewayInstance
type InternalV1TransitgatewayGetParams ¶
type InternalV1TransitgatewayGetParams struct { /* IBMUserAuthorization. Authentication of the user that initiated the request from the TGW Platform */ IBMUserAuthorization string /* PowervsServiceCrn. The PowerVS Service Instance CRN (Targeting) */ PowervsServiceCrn string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1TransitgatewayGetParams contains all the parameters to send to the API endpoint
for the internal v1 transitgateway get operation. Typically these are written to a http.Request.
func NewInternalV1TransitgatewayGetParams ¶
func NewInternalV1TransitgatewayGetParams() *InternalV1TransitgatewayGetParams
NewInternalV1TransitgatewayGetParams creates a new InternalV1TransitgatewayGetParams 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 NewInternalV1TransitgatewayGetParamsWithContext ¶
func NewInternalV1TransitgatewayGetParamsWithContext(ctx context.Context) *InternalV1TransitgatewayGetParams
NewInternalV1TransitgatewayGetParamsWithContext creates a new InternalV1TransitgatewayGetParams object with the ability to set a context for a request.
func NewInternalV1TransitgatewayGetParamsWithHTTPClient ¶
func NewInternalV1TransitgatewayGetParamsWithHTTPClient(client *http.Client) *InternalV1TransitgatewayGetParams
NewInternalV1TransitgatewayGetParamsWithHTTPClient creates a new InternalV1TransitgatewayGetParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1TransitgatewayGetParamsWithTimeout ¶
func NewInternalV1TransitgatewayGetParamsWithTimeout(timeout time.Duration) *InternalV1TransitgatewayGetParams
NewInternalV1TransitgatewayGetParamsWithTimeout creates a new InternalV1TransitgatewayGetParams object with the ability to set a timeout on a request.
func (*InternalV1TransitgatewayGetParams) SetContext ¶
func (o *InternalV1TransitgatewayGetParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) SetDefaults ¶
func (o *InternalV1TransitgatewayGetParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 transitgateway get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1TransitgatewayGetParams) SetHTTPClient ¶
func (o *InternalV1TransitgatewayGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) SetIBMUserAuthorization ¶
func (o *InternalV1TransitgatewayGetParams) SetIBMUserAuthorization(iBMUserAuthorization string)
SetIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) SetPowervsServiceCrn ¶
func (o *InternalV1TransitgatewayGetParams) SetPowervsServiceCrn(powervsServiceCrn string)
SetPowervsServiceCrn adds the powervsServiceCrn to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) SetTimeout ¶
func (o *InternalV1TransitgatewayGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) WithContext ¶
func (o *InternalV1TransitgatewayGetParams) WithContext(ctx context.Context) *InternalV1TransitgatewayGetParams
WithContext adds the context to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) WithDefaults ¶
func (o *InternalV1TransitgatewayGetParams) WithDefaults() *InternalV1TransitgatewayGetParams
WithDefaults hydrates default values in the internal v1 transitgateway get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1TransitgatewayGetParams) WithHTTPClient ¶
func (o *InternalV1TransitgatewayGetParams) WithHTTPClient(client *http.Client) *InternalV1TransitgatewayGetParams
WithHTTPClient adds the HTTPClient to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) WithIBMUserAuthorization ¶
func (o *InternalV1TransitgatewayGetParams) WithIBMUserAuthorization(iBMUserAuthorization string) *InternalV1TransitgatewayGetParams
WithIBMUserAuthorization adds the iBMUserAuthorization to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) WithPowervsServiceCrn ¶
func (o *InternalV1TransitgatewayGetParams) WithPowervsServiceCrn(powervsServiceCrn string) *InternalV1TransitgatewayGetParams
WithPowervsServiceCrn adds the powervsServiceCrn to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) WithTimeout ¶
func (o *InternalV1TransitgatewayGetParams) WithTimeout(timeout time.Duration) *InternalV1TransitgatewayGetParams
WithTimeout adds the timeout to the internal v1 transitgateway get params
func (*InternalV1TransitgatewayGetParams) WriteToRequest ¶
func (o *InternalV1TransitgatewayGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1TransitgatewayGetReader ¶
type InternalV1TransitgatewayGetReader struct {
// contains filtered or unexported fields
}
InternalV1TransitgatewayGetReader is a Reader for the InternalV1TransitgatewayGet structure.
func (*InternalV1TransitgatewayGetReader) ReadResponse ¶
func (o *InternalV1TransitgatewayGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.