Documentation ¶
Index ¶
- type Client
- func (a *Client) Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error)
- func (a *Client) GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEnvironmentDetailOK, error)
- func (a *Client) GetShareDetail(params *GetShareDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetShareDetailOK, error)
- func (a *Client) Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OverviewOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Version(params *VersionParams, opts ...ClientOption) (*VersionOK, error)
- type ClientOption
- type ClientService
- type ConfigurationOK
- func (o *ConfigurationOK) Error() string
- func (o *ConfigurationOK) GetPayload() *rest_model_zrok.Configuration
- func (o *ConfigurationOK) IsClientError() bool
- func (o *ConfigurationOK) IsCode(code int) bool
- func (o *ConfigurationOK) IsRedirect() bool
- func (o *ConfigurationOK) IsServerError() bool
- func (o *ConfigurationOK) IsSuccess() bool
- func (o *ConfigurationOK) String() string
- type ConfigurationParams
- func (o *ConfigurationParams) SetContext(ctx context.Context)
- func (o *ConfigurationParams) SetDefaults()
- func (o *ConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *ConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *ConfigurationParams) WithContext(ctx context.Context) *ConfigurationParams
- func (o *ConfigurationParams) WithDefaults() *ConfigurationParams
- func (o *ConfigurationParams) WithHTTPClient(client *http.Client) *ConfigurationParams
- func (o *ConfigurationParams) WithTimeout(timeout time.Duration) *ConfigurationParams
- func (o *ConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigurationReader
- type GetEnvironmentDetailInternalServerError
- func (o *GetEnvironmentDetailInternalServerError) Error() string
- func (o *GetEnvironmentDetailInternalServerError) IsClientError() bool
- func (o *GetEnvironmentDetailInternalServerError) IsCode(code int) bool
- func (o *GetEnvironmentDetailInternalServerError) IsRedirect() bool
- func (o *GetEnvironmentDetailInternalServerError) IsServerError() bool
- func (o *GetEnvironmentDetailInternalServerError) IsSuccess() bool
- func (o *GetEnvironmentDetailInternalServerError) String() string
- type GetEnvironmentDetailNotFound
- func (o *GetEnvironmentDetailNotFound) Error() string
- func (o *GetEnvironmentDetailNotFound) IsClientError() bool
- func (o *GetEnvironmentDetailNotFound) IsCode(code int) bool
- func (o *GetEnvironmentDetailNotFound) IsRedirect() bool
- func (o *GetEnvironmentDetailNotFound) IsServerError() bool
- func (o *GetEnvironmentDetailNotFound) IsSuccess() bool
- func (o *GetEnvironmentDetailNotFound) String() string
- type GetEnvironmentDetailOK
- func (o *GetEnvironmentDetailOK) Error() string
- func (o *GetEnvironmentDetailOK) GetPayload() *rest_model_zrok.EnvironmentShares
- func (o *GetEnvironmentDetailOK) IsClientError() bool
- func (o *GetEnvironmentDetailOK) IsCode(code int) bool
- func (o *GetEnvironmentDetailOK) IsRedirect() bool
- func (o *GetEnvironmentDetailOK) IsServerError() bool
- func (o *GetEnvironmentDetailOK) IsSuccess() bool
- func (o *GetEnvironmentDetailOK) String() string
- type GetEnvironmentDetailParams
- func NewGetEnvironmentDetailParams() *GetEnvironmentDetailParams
- func NewGetEnvironmentDetailParamsWithContext(ctx context.Context) *GetEnvironmentDetailParams
- func NewGetEnvironmentDetailParamsWithHTTPClient(client *http.Client) *GetEnvironmentDetailParams
- func NewGetEnvironmentDetailParamsWithTimeout(timeout time.Duration) *GetEnvironmentDetailParams
- func (o *GetEnvironmentDetailParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentDetailParams) SetDefaults()
- func (o *GetEnvironmentDetailParams) SetEnvZID(envZID string)
- func (o *GetEnvironmentDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentDetailParams) WithContext(ctx context.Context) *GetEnvironmentDetailParams
- func (o *GetEnvironmentDetailParams) WithDefaults() *GetEnvironmentDetailParams
- func (o *GetEnvironmentDetailParams) WithEnvZID(envZID string) *GetEnvironmentDetailParams
- func (o *GetEnvironmentDetailParams) WithHTTPClient(client *http.Client) *GetEnvironmentDetailParams
- func (o *GetEnvironmentDetailParams) WithTimeout(timeout time.Duration) *GetEnvironmentDetailParams
- func (o *GetEnvironmentDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentDetailReader
- type GetEnvironmentDetailUnauthorized
- func (o *GetEnvironmentDetailUnauthorized) Error() string
- func (o *GetEnvironmentDetailUnauthorized) IsClientError() bool
- func (o *GetEnvironmentDetailUnauthorized) IsCode(code int) bool
- func (o *GetEnvironmentDetailUnauthorized) IsRedirect() bool
- func (o *GetEnvironmentDetailUnauthorized) IsServerError() bool
- func (o *GetEnvironmentDetailUnauthorized) IsSuccess() bool
- func (o *GetEnvironmentDetailUnauthorized) String() string
- type GetShareDetailInternalServerError
- func (o *GetShareDetailInternalServerError) Error() string
- func (o *GetShareDetailInternalServerError) IsClientError() bool
- func (o *GetShareDetailInternalServerError) IsCode(code int) bool
- func (o *GetShareDetailInternalServerError) IsRedirect() bool
- func (o *GetShareDetailInternalServerError) IsServerError() bool
- func (o *GetShareDetailInternalServerError) IsSuccess() bool
- func (o *GetShareDetailInternalServerError) String() string
- type GetShareDetailNotFound
- func (o *GetShareDetailNotFound) Error() string
- func (o *GetShareDetailNotFound) IsClientError() bool
- func (o *GetShareDetailNotFound) IsCode(code int) bool
- func (o *GetShareDetailNotFound) IsRedirect() bool
- func (o *GetShareDetailNotFound) IsServerError() bool
- func (o *GetShareDetailNotFound) IsSuccess() bool
- func (o *GetShareDetailNotFound) String() string
- type GetShareDetailOK
- func (o *GetShareDetailOK) Error() string
- func (o *GetShareDetailOK) GetPayload() *rest_model_zrok.Share
- func (o *GetShareDetailOK) IsClientError() bool
- func (o *GetShareDetailOK) IsCode(code int) bool
- func (o *GetShareDetailOK) IsRedirect() bool
- func (o *GetShareDetailOK) IsServerError() bool
- func (o *GetShareDetailOK) IsSuccess() bool
- func (o *GetShareDetailOK) String() string
- type GetShareDetailParams
- func NewGetShareDetailParams() *GetShareDetailParams
- func NewGetShareDetailParamsWithContext(ctx context.Context) *GetShareDetailParams
- func NewGetShareDetailParamsWithHTTPClient(client *http.Client) *GetShareDetailParams
- func NewGetShareDetailParamsWithTimeout(timeout time.Duration) *GetShareDetailParams
- func (o *GetShareDetailParams) SetContext(ctx context.Context)
- func (o *GetShareDetailParams) SetDefaults()
- func (o *GetShareDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetShareDetailParams) SetShrToken(shrToken string)
- func (o *GetShareDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetShareDetailParams) WithContext(ctx context.Context) *GetShareDetailParams
- func (o *GetShareDetailParams) WithDefaults() *GetShareDetailParams
- func (o *GetShareDetailParams) WithHTTPClient(client *http.Client) *GetShareDetailParams
- func (o *GetShareDetailParams) WithShrToken(shrToken string) *GetShareDetailParams
- func (o *GetShareDetailParams) WithTimeout(timeout time.Duration) *GetShareDetailParams
- func (o *GetShareDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShareDetailReader
- type GetShareDetailUnauthorized
- func (o *GetShareDetailUnauthorized) Error() string
- func (o *GetShareDetailUnauthorized) IsClientError() bool
- func (o *GetShareDetailUnauthorized) IsCode(code int) bool
- func (o *GetShareDetailUnauthorized) IsRedirect() bool
- func (o *GetShareDetailUnauthorized) IsServerError() bool
- func (o *GetShareDetailUnauthorized) IsSuccess() bool
- func (o *GetShareDetailUnauthorized) String() string
- type OverviewInternalServerError
- func (o *OverviewInternalServerError) Error() string
- func (o *OverviewInternalServerError) GetPayload() rest_model_zrok.ErrorMessage
- func (o *OverviewInternalServerError) IsClientError() bool
- func (o *OverviewInternalServerError) IsCode(code int) bool
- func (o *OverviewInternalServerError) IsRedirect() bool
- func (o *OverviewInternalServerError) IsServerError() bool
- func (o *OverviewInternalServerError) IsSuccess() bool
- func (o *OverviewInternalServerError) String() string
- type OverviewOK
- func (o *OverviewOK) Error() string
- func (o *OverviewOK) GetPayload() rest_model_zrok.EnvironmentSharesList
- func (o *OverviewOK) IsClientError() bool
- func (o *OverviewOK) IsCode(code int) bool
- func (o *OverviewOK) IsRedirect() bool
- func (o *OverviewOK) IsServerError() bool
- func (o *OverviewOK) IsSuccess() bool
- func (o *OverviewOK) String() string
- type OverviewParams
- func (o *OverviewParams) SetContext(ctx context.Context)
- func (o *OverviewParams) SetDefaults()
- func (o *OverviewParams) SetHTTPClient(client *http.Client)
- func (o *OverviewParams) SetTimeout(timeout time.Duration)
- func (o *OverviewParams) WithContext(ctx context.Context) *OverviewParams
- func (o *OverviewParams) WithDefaults() *OverviewParams
- func (o *OverviewParams) WithHTTPClient(client *http.Client) *OverviewParams
- func (o *OverviewParams) WithTimeout(timeout time.Duration) *OverviewParams
- func (o *OverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OverviewReader
- type VersionOK
- func (o *VersionOK) Error() string
- func (o *VersionOK) GetPayload() rest_model_zrok.Version
- func (o *VersionOK) IsClientError() bool
- func (o *VersionOK) IsCode(code int) bool
- func (o *VersionOK) IsRedirect() bool
- func (o *VersionOK) IsServerError() bool
- func (o *VersionOK) IsSuccess() bool
- func (o *VersionOK) String() string
- type VersionParams
- func (o *VersionParams) SetContext(ctx context.Context)
- func (o *VersionParams) SetDefaults()
- func (o *VersionParams) SetHTTPClient(client *http.Client)
- func (o *VersionParams) SetTimeout(timeout time.Duration)
- func (o *VersionParams) WithContext(ctx context.Context) *VersionParams
- func (o *VersionParams) WithDefaults() *VersionParams
- func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams
- func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams
- func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VersionReader
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 metadata API
func (*Client) Configuration ¶
func (a *Client) Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error)
Configuration configuration API
func (*Client) GetEnvironmentDetail ¶
func (a *Client) GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentDetailOK, error)
GetEnvironmentDetail get environment detail API
func (*Client) GetShareDetail ¶
func (a *Client) GetShareDetail(params *GetShareDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareDetailOK, error)
GetShareDetail get share detail API
func (*Client) Overview ¶
func (a *Client) Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OverviewOK, error)
Overview overview API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Version ¶
func (a *Client) Version(params *VersionParams, opts ...ClientOption) (*VersionOK, error)
Version version API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error) GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentDetailOK, error) Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OverviewOK, error) Version(params *VersionParams, opts ...ClientOption) (*VersionOK, 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 metadata API client.
type ConfigurationOK ¶
type ConfigurationOK struct {
Payload *rest_model_zrok.Configuration
}
ConfigurationOK describes a response with status code 200, with default header values.
current configuration
func NewConfigurationOK ¶
func NewConfigurationOK() *ConfigurationOK
NewConfigurationOK creates a ConfigurationOK with default headers values
func (*ConfigurationOK) Error ¶
func (o *ConfigurationOK) Error() string
func (*ConfigurationOK) GetPayload ¶
func (o *ConfigurationOK) GetPayload() *rest_model_zrok.Configuration
func (*ConfigurationOK) IsClientError ¶
func (o *ConfigurationOK) IsClientError() bool
IsClientError returns true when this configuration o k response has a 4xx status code
func (*ConfigurationOK) IsCode ¶
func (o *ConfigurationOK) IsCode(code int) bool
IsCode returns true when this configuration o k response a status code equal to that given
func (*ConfigurationOK) IsRedirect ¶
func (o *ConfigurationOK) IsRedirect() bool
IsRedirect returns true when this configuration o k response has a 3xx status code
func (*ConfigurationOK) IsServerError ¶
func (o *ConfigurationOK) IsServerError() bool
IsServerError returns true when this configuration o k response has a 5xx status code
func (*ConfigurationOK) IsSuccess ¶
func (o *ConfigurationOK) IsSuccess() bool
IsSuccess returns true when this configuration o k response has a 2xx status code
func (*ConfigurationOK) String ¶
func (o *ConfigurationOK) String() string
type ConfigurationParams ¶
type ConfigurationParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigurationParams contains all the parameters to send to the API endpoint
for the configuration operation. Typically these are written to a http.Request.
func NewConfigurationParams ¶
func NewConfigurationParams() *ConfigurationParams
NewConfigurationParams creates a new ConfigurationParams 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 NewConfigurationParamsWithContext ¶
func NewConfigurationParamsWithContext(ctx context.Context) *ConfigurationParams
NewConfigurationParamsWithContext creates a new ConfigurationParams object with the ability to set a context for a request.
func NewConfigurationParamsWithHTTPClient ¶
func NewConfigurationParamsWithHTTPClient(client *http.Client) *ConfigurationParams
NewConfigurationParamsWithHTTPClient creates a new ConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewConfigurationParamsWithTimeout ¶
func NewConfigurationParamsWithTimeout(timeout time.Duration) *ConfigurationParams
NewConfigurationParamsWithTimeout creates a new ConfigurationParams object with the ability to set a timeout on a request.
func (*ConfigurationParams) SetContext ¶
func (o *ConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the configuration params
func (*ConfigurationParams) SetDefaults ¶
func (o *ConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the configuration params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigurationParams) SetHTTPClient ¶
func (o *ConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the configuration params
func (*ConfigurationParams) SetTimeout ¶
func (o *ConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the configuration params
func (*ConfigurationParams) WithContext ¶
func (o *ConfigurationParams) WithContext(ctx context.Context) *ConfigurationParams
WithContext adds the context to the configuration params
func (*ConfigurationParams) WithDefaults ¶
func (o *ConfigurationParams) WithDefaults() *ConfigurationParams
WithDefaults hydrates default values in the configuration params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigurationParams) WithHTTPClient ¶
func (o *ConfigurationParams) WithHTTPClient(client *http.Client) *ConfigurationParams
WithHTTPClient adds the HTTPClient to the configuration params
func (*ConfigurationParams) WithTimeout ¶
func (o *ConfigurationParams) WithTimeout(timeout time.Duration) *ConfigurationParams
WithTimeout adds the timeout to the configuration params
func (*ConfigurationParams) WriteToRequest ¶
func (o *ConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigurationReader ¶
type ConfigurationReader struct {
// contains filtered or unexported fields
}
ConfigurationReader is a Reader for the Configuration structure.
func (*ConfigurationReader) ReadResponse ¶
func (o *ConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnvironmentDetailInternalServerError ¶
type GetEnvironmentDetailInternalServerError struct { }
GetEnvironmentDetailInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetEnvironmentDetailInternalServerError ¶
func NewGetEnvironmentDetailInternalServerError() *GetEnvironmentDetailInternalServerError
NewGetEnvironmentDetailInternalServerError creates a GetEnvironmentDetailInternalServerError with default headers values
func (*GetEnvironmentDetailInternalServerError) Error ¶
func (o *GetEnvironmentDetailInternalServerError) Error() string
func (*GetEnvironmentDetailInternalServerError) IsClientError ¶
func (o *GetEnvironmentDetailInternalServerError) IsClientError() bool
IsClientError returns true when this get environment detail internal server error response has a 4xx status code
func (*GetEnvironmentDetailInternalServerError) IsCode ¶
func (o *GetEnvironmentDetailInternalServerError) IsCode(code int) bool
IsCode returns true when this get environment detail internal server error response a status code equal to that given
func (*GetEnvironmentDetailInternalServerError) IsRedirect ¶
func (o *GetEnvironmentDetailInternalServerError) IsRedirect() bool
IsRedirect returns true when this get environment detail internal server error response has a 3xx status code
func (*GetEnvironmentDetailInternalServerError) IsServerError ¶
func (o *GetEnvironmentDetailInternalServerError) IsServerError() bool
IsServerError returns true when this get environment detail internal server error response has a 5xx status code
func (*GetEnvironmentDetailInternalServerError) IsSuccess ¶
func (o *GetEnvironmentDetailInternalServerError) IsSuccess() bool
IsSuccess returns true when this get environment detail internal server error response has a 2xx status code
func (*GetEnvironmentDetailInternalServerError) String ¶
func (o *GetEnvironmentDetailInternalServerError) String() string
type GetEnvironmentDetailNotFound ¶
type GetEnvironmentDetailNotFound struct { }
GetEnvironmentDetailNotFound describes a response with status code 404, with default header values.
not found
func NewGetEnvironmentDetailNotFound ¶
func NewGetEnvironmentDetailNotFound() *GetEnvironmentDetailNotFound
NewGetEnvironmentDetailNotFound creates a GetEnvironmentDetailNotFound with default headers values
func (*GetEnvironmentDetailNotFound) Error ¶
func (o *GetEnvironmentDetailNotFound) Error() string
func (*GetEnvironmentDetailNotFound) IsClientError ¶
func (o *GetEnvironmentDetailNotFound) IsClientError() bool
IsClientError returns true when this get environment detail not found response has a 4xx status code
func (*GetEnvironmentDetailNotFound) IsCode ¶
func (o *GetEnvironmentDetailNotFound) IsCode(code int) bool
IsCode returns true when this get environment detail not found response a status code equal to that given
func (*GetEnvironmentDetailNotFound) IsRedirect ¶
func (o *GetEnvironmentDetailNotFound) IsRedirect() bool
IsRedirect returns true when this get environment detail not found response has a 3xx status code
func (*GetEnvironmentDetailNotFound) IsServerError ¶
func (o *GetEnvironmentDetailNotFound) IsServerError() bool
IsServerError returns true when this get environment detail not found response has a 5xx status code
func (*GetEnvironmentDetailNotFound) IsSuccess ¶
func (o *GetEnvironmentDetailNotFound) IsSuccess() bool
IsSuccess returns true when this get environment detail not found response has a 2xx status code
func (*GetEnvironmentDetailNotFound) String ¶
func (o *GetEnvironmentDetailNotFound) String() string
type GetEnvironmentDetailOK ¶
type GetEnvironmentDetailOK struct {
Payload *rest_model_zrok.EnvironmentShares
}
GetEnvironmentDetailOK describes a response with status code 200, with default header values.
ok
func NewGetEnvironmentDetailOK ¶
func NewGetEnvironmentDetailOK() *GetEnvironmentDetailOK
NewGetEnvironmentDetailOK creates a GetEnvironmentDetailOK with default headers values
func (*GetEnvironmentDetailOK) Error ¶
func (o *GetEnvironmentDetailOK) Error() string
func (*GetEnvironmentDetailOK) GetPayload ¶
func (o *GetEnvironmentDetailOK) GetPayload() *rest_model_zrok.EnvironmentShares
func (*GetEnvironmentDetailOK) IsClientError ¶
func (o *GetEnvironmentDetailOK) IsClientError() bool
IsClientError returns true when this get environment detail o k response has a 4xx status code
func (*GetEnvironmentDetailOK) IsCode ¶
func (o *GetEnvironmentDetailOK) IsCode(code int) bool
IsCode returns true when this get environment detail o k response a status code equal to that given
func (*GetEnvironmentDetailOK) IsRedirect ¶
func (o *GetEnvironmentDetailOK) IsRedirect() bool
IsRedirect returns true when this get environment detail o k response has a 3xx status code
func (*GetEnvironmentDetailOK) IsServerError ¶
func (o *GetEnvironmentDetailOK) IsServerError() bool
IsServerError returns true when this get environment detail o k response has a 5xx status code
func (*GetEnvironmentDetailOK) IsSuccess ¶
func (o *GetEnvironmentDetailOK) IsSuccess() bool
IsSuccess returns true when this get environment detail o k response has a 2xx status code
func (*GetEnvironmentDetailOK) String ¶
func (o *GetEnvironmentDetailOK) String() string
type GetEnvironmentDetailParams ¶
type GetEnvironmentDetailParams struct { // EnvZID. EnvZID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEnvironmentDetailParams contains all the parameters to send to the API endpoint
for the get environment detail operation. Typically these are written to a http.Request.
func NewGetEnvironmentDetailParams ¶
func NewGetEnvironmentDetailParams() *GetEnvironmentDetailParams
NewGetEnvironmentDetailParams creates a new GetEnvironmentDetailParams 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 NewGetEnvironmentDetailParamsWithContext ¶
func NewGetEnvironmentDetailParamsWithContext(ctx context.Context) *GetEnvironmentDetailParams
NewGetEnvironmentDetailParamsWithContext creates a new GetEnvironmentDetailParams object with the ability to set a context for a request.
func NewGetEnvironmentDetailParamsWithHTTPClient ¶
func NewGetEnvironmentDetailParamsWithHTTPClient(client *http.Client) *GetEnvironmentDetailParams
NewGetEnvironmentDetailParamsWithHTTPClient creates a new GetEnvironmentDetailParams object with the ability to set a custom HTTPClient for a request.
func NewGetEnvironmentDetailParamsWithTimeout ¶
func NewGetEnvironmentDetailParamsWithTimeout(timeout time.Duration) *GetEnvironmentDetailParams
NewGetEnvironmentDetailParamsWithTimeout creates a new GetEnvironmentDetailParams object with the ability to set a timeout on a request.
func (*GetEnvironmentDetailParams) SetContext ¶
func (o *GetEnvironmentDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the get environment detail params
func (*GetEnvironmentDetailParams) SetDefaults ¶
func (o *GetEnvironmentDetailParams) SetDefaults()
SetDefaults hydrates default values in the get environment detail params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnvironmentDetailParams) SetEnvZID ¶
func (o *GetEnvironmentDetailParams) SetEnvZID(envZID string)
SetEnvZID adds the envZId to the get environment detail params
func (*GetEnvironmentDetailParams) SetHTTPClient ¶
func (o *GetEnvironmentDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get environment detail params
func (*GetEnvironmentDetailParams) SetTimeout ¶
func (o *GetEnvironmentDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get environment detail params
func (*GetEnvironmentDetailParams) WithContext ¶
func (o *GetEnvironmentDetailParams) WithContext(ctx context.Context) *GetEnvironmentDetailParams
WithContext adds the context to the get environment detail params
func (*GetEnvironmentDetailParams) WithDefaults ¶
func (o *GetEnvironmentDetailParams) WithDefaults() *GetEnvironmentDetailParams
WithDefaults hydrates default values in the get environment detail params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnvironmentDetailParams) WithEnvZID ¶
func (o *GetEnvironmentDetailParams) WithEnvZID(envZID string) *GetEnvironmentDetailParams
WithEnvZID adds the envZID to the get environment detail params
func (*GetEnvironmentDetailParams) WithHTTPClient ¶
func (o *GetEnvironmentDetailParams) WithHTTPClient(client *http.Client) *GetEnvironmentDetailParams
WithHTTPClient adds the HTTPClient to the get environment detail params
func (*GetEnvironmentDetailParams) WithTimeout ¶
func (o *GetEnvironmentDetailParams) WithTimeout(timeout time.Duration) *GetEnvironmentDetailParams
WithTimeout adds the timeout to the get environment detail params
func (*GetEnvironmentDetailParams) WriteToRequest ¶
func (o *GetEnvironmentDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnvironmentDetailReader ¶
type GetEnvironmentDetailReader struct {
// contains filtered or unexported fields
}
GetEnvironmentDetailReader is a Reader for the GetEnvironmentDetail structure.
func (*GetEnvironmentDetailReader) ReadResponse ¶
func (o *GetEnvironmentDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnvironmentDetailUnauthorized ¶
type GetEnvironmentDetailUnauthorized struct { }
GetEnvironmentDetailUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetEnvironmentDetailUnauthorized ¶
func NewGetEnvironmentDetailUnauthorized() *GetEnvironmentDetailUnauthorized
NewGetEnvironmentDetailUnauthorized creates a GetEnvironmentDetailUnauthorized with default headers values
func (*GetEnvironmentDetailUnauthorized) Error ¶
func (o *GetEnvironmentDetailUnauthorized) Error() string
func (*GetEnvironmentDetailUnauthorized) IsClientError ¶
func (o *GetEnvironmentDetailUnauthorized) IsClientError() bool
IsClientError returns true when this get environment detail unauthorized response has a 4xx status code
func (*GetEnvironmentDetailUnauthorized) IsCode ¶
func (o *GetEnvironmentDetailUnauthorized) IsCode(code int) bool
IsCode returns true when this get environment detail unauthorized response a status code equal to that given
func (*GetEnvironmentDetailUnauthorized) IsRedirect ¶
func (o *GetEnvironmentDetailUnauthorized) IsRedirect() bool
IsRedirect returns true when this get environment detail unauthorized response has a 3xx status code
func (*GetEnvironmentDetailUnauthorized) IsServerError ¶
func (o *GetEnvironmentDetailUnauthorized) IsServerError() bool
IsServerError returns true when this get environment detail unauthorized response has a 5xx status code
func (*GetEnvironmentDetailUnauthorized) IsSuccess ¶
func (o *GetEnvironmentDetailUnauthorized) IsSuccess() bool
IsSuccess returns true when this get environment detail unauthorized response has a 2xx status code
func (*GetEnvironmentDetailUnauthorized) String ¶
func (o *GetEnvironmentDetailUnauthorized) String() string
type GetShareDetailInternalServerError ¶
type GetShareDetailInternalServerError struct { }
GetShareDetailInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetShareDetailInternalServerError ¶
func NewGetShareDetailInternalServerError() *GetShareDetailInternalServerError
NewGetShareDetailInternalServerError creates a GetShareDetailInternalServerError with default headers values
func (*GetShareDetailInternalServerError) Error ¶
func (o *GetShareDetailInternalServerError) Error() string
func (*GetShareDetailInternalServerError) IsClientError ¶
func (o *GetShareDetailInternalServerError) IsClientError() bool
IsClientError returns true when this get share detail internal server error response has a 4xx status code
func (*GetShareDetailInternalServerError) IsCode ¶
func (o *GetShareDetailInternalServerError) IsCode(code int) bool
IsCode returns true when this get share detail internal server error response a status code equal to that given
func (*GetShareDetailInternalServerError) IsRedirect ¶
func (o *GetShareDetailInternalServerError) IsRedirect() bool
IsRedirect returns true when this get share detail internal server error response has a 3xx status code
func (*GetShareDetailInternalServerError) IsServerError ¶
func (o *GetShareDetailInternalServerError) IsServerError() bool
IsServerError returns true when this get share detail internal server error response has a 5xx status code
func (*GetShareDetailInternalServerError) IsSuccess ¶
func (o *GetShareDetailInternalServerError) IsSuccess() bool
IsSuccess returns true when this get share detail internal server error response has a 2xx status code
func (*GetShareDetailInternalServerError) String ¶
func (o *GetShareDetailInternalServerError) String() string
type GetShareDetailNotFound ¶
type GetShareDetailNotFound struct { }
GetShareDetailNotFound describes a response with status code 404, with default header values.
not found
func NewGetShareDetailNotFound ¶
func NewGetShareDetailNotFound() *GetShareDetailNotFound
NewGetShareDetailNotFound creates a GetShareDetailNotFound with default headers values
func (*GetShareDetailNotFound) Error ¶
func (o *GetShareDetailNotFound) Error() string
func (*GetShareDetailNotFound) IsClientError ¶
func (o *GetShareDetailNotFound) IsClientError() bool
IsClientError returns true when this get share detail not found response has a 4xx status code
func (*GetShareDetailNotFound) IsCode ¶
func (o *GetShareDetailNotFound) IsCode(code int) bool
IsCode returns true when this get share detail not found response a status code equal to that given
func (*GetShareDetailNotFound) IsRedirect ¶
func (o *GetShareDetailNotFound) IsRedirect() bool
IsRedirect returns true when this get share detail not found response has a 3xx status code
func (*GetShareDetailNotFound) IsServerError ¶
func (o *GetShareDetailNotFound) IsServerError() bool
IsServerError returns true when this get share detail not found response has a 5xx status code
func (*GetShareDetailNotFound) IsSuccess ¶
func (o *GetShareDetailNotFound) IsSuccess() bool
IsSuccess returns true when this get share detail not found response has a 2xx status code
func (*GetShareDetailNotFound) String ¶
func (o *GetShareDetailNotFound) String() string
type GetShareDetailOK ¶
type GetShareDetailOK struct {
}GetShareDetailOK describes a response with status code 200, with default header values.
ok
func NewGetShareDetailOK ¶
func NewGetShareDetailOK() *GetShareDetailOK
NewGetShareDetailOK creates a GetShareDetailOK with default headers values
func (*GetShareDetailOK) Error ¶
func (o *GetShareDetailOK) Error() string
func (*GetShareDetailOK) GetPayload ¶
func (o *GetShareDetailOK) GetPayload() *rest_model_zrok.Share
func (*GetShareDetailOK) IsClientError ¶
func (o *GetShareDetailOK) IsClientError() bool
IsClientError returns true when this get share detail o k response has a 4xx status code
func (*GetShareDetailOK) IsCode ¶
func (o *GetShareDetailOK) IsCode(code int) bool
IsCode returns true when this get share detail o k response a status code equal to that given
func (*GetShareDetailOK) IsRedirect ¶
func (o *GetShareDetailOK) IsRedirect() bool
IsRedirect returns true when this get share detail o k response has a 3xx status code
func (*GetShareDetailOK) IsServerError ¶
func (o *GetShareDetailOK) IsServerError() bool
IsServerError returns true when this get share detail o k response has a 5xx status code
func (*GetShareDetailOK) IsSuccess ¶
func (o *GetShareDetailOK) IsSuccess() bool
IsSuccess returns true when this get share detail o k response has a 2xx status code
func (*GetShareDetailOK) String ¶
func (o *GetShareDetailOK) String() string
type GetShareDetailParams ¶
type GetShareDetailParams struct { string // contains filtered or unexported fields }ShrToken
GetShareDetailParams contains all the parameters to send to the API endpoint
for the get share detail operation. Typically these are written to a http.Request.
func NewGetShareDetailParams ¶
func NewGetShareDetailParams() *GetShareDetailParams
NewGetShareDetailParams creates a new GetShareDetailParams 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 NewGetShareDetailParamsWithContext ¶
func NewGetShareDetailParamsWithContext(ctx context.Context) *GetShareDetailParams
NewGetShareDetailParamsWithContext creates a new GetShareDetailParams object with the ability to set a context for a request.
func NewGetShareDetailParamsWithHTTPClient ¶
func NewGetShareDetailParamsWithHTTPClient(client *http.Client) *GetShareDetailParams
NewGetShareDetailParamsWithHTTPClient creates a new GetShareDetailParams object with the ability to set a custom HTTPClient for a request.
func NewGetShareDetailParamsWithTimeout ¶
func NewGetShareDetailParamsWithTimeout(timeout time.Duration) *GetShareDetailParams
NewGetShareDetailParamsWithTimeout creates a new GetShareDetailParams object with the ability to set a timeout on a request.
func (*GetShareDetailParams) SetContext ¶
func (o *GetShareDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the get share detail params
func (*GetShareDetailParams) SetDefaults ¶
func (o *GetShareDetailParams) SetDefaults()
SetDefaults hydrates default values in the get share detail params (not the query body).
All values with no default are reset to their zero value.
func (*GetShareDetailParams) SetHTTPClient ¶
func (o *GetShareDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get share detail params
func (*GetShareDetailParams) SetShrToken ¶
func (o *GetShareDetailParams) SetShrToken(shrToken string)
SetShrToken adds the shrToken to the get share detail params
func (*GetShareDetailParams) SetTimeout ¶
func (o *GetShareDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get share detail params
func (*GetShareDetailParams) WithContext ¶
func (o *GetShareDetailParams) WithContext(ctx context.Context) *GetShareDetailParams
WithContext adds the context to the get share detail params
func (*GetShareDetailParams) WithDefaults ¶
func (o *GetShareDetailParams) WithDefaults() *GetShareDetailParams
WithDefaults hydrates default values in the get share detail params (not the query body).
All values with no default are reset to their zero value.
func (*GetShareDetailParams) WithHTTPClient ¶
func (o *GetShareDetailParams) WithHTTPClient(client *http.Client) *GetShareDetailParams
WithHTTPClient adds the HTTPClient to the get share detail params
func (*GetShareDetailParams) WithShrToken ¶
func (o *GetShareDetailParams) WithShrToken(shrToken string) *GetShareDetailParams
WithShrToken adds the shrToken to the get share detail params
func (*GetShareDetailParams) WithTimeout ¶
func (o *GetShareDetailParams) WithTimeout(timeout time.Duration) *GetShareDetailParams
WithTimeout adds the timeout to the get share detail params
func (*GetShareDetailParams) WriteToRequest ¶
func (o *GetShareDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetShareDetailReader ¶
type GetShareDetailReader struct {
// contains filtered or unexported fields
}
GetShareDetailReader is a Reader for the GetShareDetail structure.
func (*GetShareDetailReader) ReadResponse ¶
func (o *GetShareDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetShareDetailUnauthorized ¶
type GetShareDetailUnauthorized struct { }
GetShareDetailUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetShareDetailUnauthorized ¶
func NewGetShareDetailUnauthorized() *GetShareDetailUnauthorized
NewGetShareDetailUnauthorized creates a GetShareDetailUnauthorized with default headers values
func (*GetShareDetailUnauthorized) Error ¶
func (o *GetShareDetailUnauthorized) Error() string
func (*GetShareDetailUnauthorized) IsClientError ¶
func (o *GetShareDetailUnauthorized) IsClientError() bool
IsClientError returns true when this get share detail unauthorized response has a 4xx status code
func (*GetShareDetailUnauthorized) IsCode ¶
func (o *GetShareDetailUnauthorized) IsCode(code int) bool
IsCode returns true when this get share detail unauthorized response a status code equal to that given
func (*GetShareDetailUnauthorized) IsRedirect ¶
func (o *GetShareDetailUnauthorized) IsRedirect() bool
IsRedirect returns true when this get share detail unauthorized response has a 3xx status code
func (*GetShareDetailUnauthorized) IsServerError ¶
func (o *GetShareDetailUnauthorized) IsServerError() bool
IsServerError returns true when this get share detail unauthorized response has a 5xx status code
func (*GetShareDetailUnauthorized) IsSuccess ¶
func (o *GetShareDetailUnauthorized) IsSuccess() bool
IsSuccess returns true when this get share detail unauthorized response has a 2xx status code
func (*GetShareDetailUnauthorized) String ¶
func (o *GetShareDetailUnauthorized) String() string
type OverviewInternalServerError ¶
type OverviewInternalServerError struct {
Payload rest_model_zrok.ErrorMessage
}
OverviewInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewOverviewInternalServerError ¶
func NewOverviewInternalServerError() *OverviewInternalServerError
NewOverviewInternalServerError creates a OverviewInternalServerError with default headers values
func (*OverviewInternalServerError) Error ¶
func (o *OverviewInternalServerError) Error() string
func (*OverviewInternalServerError) GetPayload ¶
func (o *OverviewInternalServerError) GetPayload() rest_model_zrok.ErrorMessage
func (*OverviewInternalServerError) IsClientError ¶
func (o *OverviewInternalServerError) IsClientError() bool
IsClientError returns true when this overview internal server error response has a 4xx status code
func (*OverviewInternalServerError) IsCode ¶
func (o *OverviewInternalServerError) IsCode(code int) bool
IsCode returns true when this overview internal server error response a status code equal to that given
func (*OverviewInternalServerError) IsRedirect ¶
func (o *OverviewInternalServerError) IsRedirect() bool
IsRedirect returns true when this overview internal server error response has a 3xx status code
func (*OverviewInternalServerError) IsServerError ¶
func (o *OverviewInternalServerError) IsServerError() bool
IsServerError returns true when this overview internal server error response has a 5xx status code
func (*OverviewInternalServerError) IsSuccess ¶
func (o *OverviewInternalServerError) IsSuccess() bool
IsSuccess returns true when this overview internal server error response has a 2xx status code
func (*OverviewInternalServerError) String ¶
func (o *OverviewInternalServerError) String() string
type OverviewOK ¶
type OverviewOK struct {
Payload rest_model_zrok.EnvironmentSharesList
}
OverviewOK describes a response with status code 200, with default header values.
overview returned
func NewOverviewOK ¶
func NewOverviewOK() *OverviewOK
NewOverviewOK creates a OverviewOK with default headers values
func (*OverviewOK) Error ¶
func (o *OverviewOK) Error() string
func (*OverviewOK) GetPayload ¶
func (o *OverviewOK) GetPayload() rest_model_zrok.EnvironmentSharesList
func (*OverviewOK) IsClientError ¶
func (o *OverviewOK) IsClientError() bool
IsClientError returns true when this overview o k response has a 4xx status code
func (*OverviewOK) IsCode ¶
func (o *OverviewOK) IsCode(code int) bool
IsCode returns true when this overview o k response a status code equal to that given
func (*OverviewOK) IsRedirect ¶
func (o *OverviewOK) IsRedirect() bool
IsRedirect returns true when this overview o k response has a 3xx status code
func (*OverviewOK) IsServerError ¶
func (o *OverviewOK) IsServerError() bool
IsServerError returns true when this overview o k response has a 5xx status code
func (*OverviewOK) IsSuccess ¶
func (o *OverviewOK) IsSuccess() bool
IsSuccess returns true when this overview o k response has a 2xx status code
func (*OverviewOK) String ¶
func (o *OverviewOK) String() string
type OverviewParams ¶
type OverviewParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OverviewParams contains all the parameters to send to the API endpoint
for the overview operation. Typically these are written to a http.Request.
func NewOverviewParams ¶
func NewOverviewParams() *OverviewParams
NewOverviewParams creates a new OverviewParams 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 NewOverviewParamsWithContext ¶
func NewOverviewParamsWithContext(ctx context.Context) *OverviewParams
NewOverviewParamsWithContext creates a new OverviewParams object with the ability to set a context for a request.
func NewOverviewParamsWithHTTPClient ¶
func NewOverviewParamsWithHTTPClient(client *http.Client) *OverviewParams
NewOverviewParamsWithHTTPClient creates a new OverviewParams object with the ability to set a custom HTTPClient for a request.
func NewOverviewParamsWithTimeout ¶
func NewOverviewParamsWithTimeout(timeout time.Duration) *OverviewParams
NewOverviewParamsWithTimeout creates a new OverviewParams object with the ability to set a timeout on a request.
func (*OverviewParams) SetContext ¶
func (o *OverviewParams) SetContext(ctx context.Context)
SetContext adds the context to the overview params
func (*OverviewParams) SetDefaults ¶
func (o *OverviewParams) SetDefaults()
SetDefaults hydrates default values in the overview params (not the query body).
All values with no default are reset to their zero value.
func (*OverviewParams) SetHTTPClient ¶
func (o *OverviewParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the overview params
func (*OverviewParams) SetTimeout ¶
func (o *OverviewParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the overview params
func (*OverviewParams) WithContext ¶
func (o *OverviewParams) WithContext(ctx context.Context) *OverviewParams
WithContext adds the context to the overview params
func (*OverviewParams) WithDefaults ¶
func (o *OverviewParams) WithDefaults() *OverviewParams
WithDefaults hydrates default values in the overview params (not the query body).
All values with no default are reset to their zero value.
func (*OverviewParams) WithHTTPClient ¶
func (o *OverviewParams) WithHTTPClient(client *http.Client) *OverviewParams
WithHTTPClient adds the HTTPClient to the overview params
func (*OverviewParams) WithTimeout ¶
func (o *OverviewParams) WithTimeout(timeout time.Duration) *OverviewParams
WithTimeout adds the timeout to the overview params
func (*OverviewParams) WriteToRequest ¶
func (o *OverviewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OverviewReader ¶
type OverviewReader struct {
// contains filtered or unexported fields
}
OverviewReader is a Reader for the Overview structure.
func (*OverviewReader) ReadResponse ¶
func (o *OverviewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type VersionOK ¶
type VersionOK struct {
Payload rest_model_zrok.Version
}
VersionOK describes a response with status code 200, with default header values.
current server version
func NewVersionOK ¶
func NewVersionOK() *VersionOK
NewVersionOK creates a VersionOK with default headers values
func (*VersionOK) GetPayload ¶
func (o *VersionOK) GetPayload() rest_model_zrok.Version
func (*VersionOK) IsClientError ¶
IsClientError returns true when this version o k response has a 4xx status code
func (*VersionOK) IsCode ¶
IsCode returns true when this version o k response a status code equal to that given
func (*VersionOK) IsRedirect ¶
IsRedirect returns true when this version o k response has a 3xx status code
func (*VersionOK) IsServerError ¶
IsServerError returns true when this version o k response has a 5xx status code
type VersionParams ¶
type VersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VersionParams contains all the parameters to send to the API endpoint
for the version operation. Typically these are written to a http.Request.
func NewVersionParams ¶
func NewVersionParams() *VersionParams
NewVersionParams creates a new VersionParams 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 NewVersionParamsWithContext ¶
func NewVersionParamsWithContext(ctx context.Context) *VersionParams
NewVersionParamsWithContext creates a new VersionParams object with the ability to set a context for a request.
func NewVersionParamsWithHTTPClient ¶
func NewVersionParamsWithHTTPClient(client *http.Client) *VersionParams
NewVersionParamsWithHTTPClient creates a new VersionParams object with the ability to set a custom HTTPClient for a request.
func NewVersionParamsWithTimeout ¶
func NewVersionParamsWithTimeout(timeout time.Duration) *VersionParams
NewVersionParamsWithTimeout creates a new VersionParams object with the ability to set a timeout on a request.
func (*VersionParams) SetContext ¶
func (o *VersionParams) SetContext(ctx context.Context)
SetContext adds the context to the version params
func (*VersionParams) SetDefaults ¶
func (o *VersionParams) SetDefaults()
SetDefaults hydrates default values in the version params (not the query body).
All values with no default are reset to their zero value.
func (*VersionParams) SetHTTPClient ¶
func (o *VersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the version params
func (*VersionParams) SetTimeout ¶
func (o *VersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the version params
func (*VersionParams) WithContext ¶
func (o *VersionParams) WithContext(ctx context.Context) *VersionParams
WithContext adds the context to the version params
func (*VersionParams) WithDefaults ¶
func (o *VersionParams) WithDefaults() *VersionParams
WithDefaults hydrates default values in the version params (not the query body).
All values with no default are reset to their zero value.
func (*VersionParams) WithHTTPClient ¶
func (o *VersionParams) WithHTTPClient(client *http.Client) *VersionParams
WithHTTPClient adds the HTTPClient to the version params
func (*VersionParams) WithTimeout ¶
func (o *VersionParams) WithTimeout(timeout time.Duration) *VersionParams
WithTimeout adds the timeout to the version params
func (*VersionParams) WriteToRequest ¶
func (o *VersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VersionReader ¶
type VersionReader struct {
// contains filtered or unexported fields
}
VersionReader is a Reader for the Version structure.
func (*VersionReader) ReadResponse ¶
func (o *VersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.