Documentation ¶
Index ¶
- type CancelInstanceOK
- type CancelInstanceParams
- func NewCancelInstanceParams() *CancelInstanceParams
- func NewCancelInstanceParamsWithContext(ctx context.Context) *CancelInstanceParams
- func NewCancelInstanceParamsWithHTTPClient(client *http.Client) *CancelInstanceParams
- func NewCancelInstanceParamsWithTimeout(timeout time.Duration) *CancelInstanceParams
- func (o *CancelInstanceParams) SetContext(ctx context.Context)
- func (o *CancelInstanceParams) SetDefaults()
- func (o *CancelInstanceParams) SetHTTPClient(client *http.Client)
- func (o *CancelInstanceParams) SetInstance(instance string)
- func (o *CancelInstanceParams) SetNamespace(namespace string)
- func (o *CancelInstanceParams) SetTimeout(timeout time.Duration)
- func (o *CancelInstanceParams) WithContext(ctx context.Context) *CancelInstanceParams
- func (o *CancelInstanceParams) WithDefaults() *CancelInstanceParams
- func (o *CancelInstanceParams) WithHTTPClient(client *http.Client) *CancelInstanceParams
- func (o *CancelInstanceParams) WithInstance(instance string) *CancelInstanceParams
- func (o *CancelInstanceParams) WithNamespace(namespace string) *CancelInstanceParams
- func (o *CancelInstanceParams) WithTimeout(timeout time.Duration) *CancelInstanceParams
- func (o *CancelInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelInstanceReader
- type Client
- func (a *Client) CancelInstance(params *CancelInstanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelInstanceOK, error)
- func (a *Client) GetInstance(params *GetInstanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInstanceOK, error)
- func (a *Client) GetInstanceInput(params *GetInstanceInputParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInstanceInputOK, error)
- func (a *Client) GetInstanceList(params *GetInstanceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInstanceListOK, error)
- func (a *Client) GetInstanceOutput(params *GetInstanceOutputParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInstanceOutputOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetInstanceDefault
- type GetInstanceInputOK
- type GetInstanceInputParams
- func NewGetInstanceInputParams() *GetInstanceInputParams
- func NewGetInstanceInputParamsWithContext(ctx context.Context) *GetInstanceInputParams
- func NewGetInstanceInputParamsWithHTTPClient(client *http.Client) *GetInstanceInputParams
- func NewGetInstanceInputParamsWithTimeout(timeout time.Duration) *GetInstanceInputParams
- func (o *GetInstanceInputParams) SetContext(ctx context.Context)
- func (o *GetInstanceInputParams) SetDefaults()
- func (o *GetInstanceInputParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceInputParams) SetInstance(instance string)
- func (o *GetInstanceInputParams) SetNamespace(namespace string)
- func (o *GetInstanceInputParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceInputParams) WithContext(ctx context.Context) *GetInstanceInputParams
- func (o *GetInstanceInputParams) WithDefaults() *GetInstanceInputParams
- func (o *GetInstanceInputParams) WithHTTPClient(client *http.Client) *GetInstanceInputParams
- func (o *GetInstanceInputParams) WithInstance(instance string) *GetInstanceInputParams
- func (o *GetInstanceInputParams) WithNamespace(namespace string) *GetInstanceInputParams
- func (o *GetInstanceInputParams) WithTimeout(timeout time.Duration) *GetInstanceInputParams
- func (o *GetInstanceInputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceInputReader
- type GetInstanceListOK
- type GetInstanceListParams
- func NewGetInstanceListParams() *GetInstanceListParams
- func NewGetInstanceListParamsWithContext(ctx context.Context) *GetInstanceListParams
- func NewGetInstanceListParamsWithHTTPClient(client *http.Client) *GetInstanceListParams
- func NewGetInstanceListParamsWithTimeout(timeout time.Duration) *GetInstanceListParams
- func (o *GetInstanceListParams) SetContext(ctx context.Context)
- func (o *GetInstanceListParams) SetDefaults()
- func (o *GetInstanceListParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceListParams) SetNamespace(namespace string)
- func (o *GetInstanceListParams) SetPageFilterField(filterField *string)
- func (o *GetInstanceListParams) SetPageFilterType(filterType *string)
- func (o *GetInstanceListParams) SetPageOrderDirection(orderDirection *string)
- func (o *GetInstanceListParams) SetPageOrderField(orderField *string)
- func (o *GetInstanceListParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceListParams) WithContext(ctx context.Context) *GetInstanceListParams
- func (o *GetInstanceListParams) WithDefaults() *GetInstanceListParams
- func (o *GetInstanceListParams) WithHTTPClient(client *http.Client) *GetInstanceListParams
- func (o *GetInstanceListParams) WithNamespace(namespace string) *GetInstanceListParams
- func (o *GetInstanceListParams) WithPageFilterField(filterField *string) *GetInstanceListParams
- func (o *GetInstanceListParams) WithPageFilterType(filterType *string) *GetInstanceListParams
- func (o *GetInstanceListParams) WithPageOrderDirection(orderDirection *string) *GetInstanceListParams
- func (o *GetInstanceListParams) WithPageOrderField(orderField *string) *GetInstanceListParams
- func (o *GetInstanceListParams) WithTimeout(timeout time.Duration) *GetInstanceListParams
- func (o *GetInstanceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceListReader
- type GetInstanceOK
- type GetInstanceOutputOK
- type GetInstanceOutputParams
- func NewGetInstanceOutputParams() *GetInstanceOutputParams
- func NewGetInstanceOutputParamsWithContext(ctx context.Context) *GetInstanceOutputParams
- func NewGetInstanceOutputParamsWithHTTPClient(client *http.Client) *GetInstanceOutputParams
- func NewGetInstanceOutputParamsWithTimeout(timeout time.Duration) *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) SetContext(ctx context.Context)
- func (o *GetInstanceOutputParams) SetDefaults()
- func (o *GetInstanceOutputParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceOutputParams) SetInstance(instance string)
- func (o *GetInstanceOutputParams) SetNamespace(namespace string)
- func (o *GetInstanceOutputParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceOutputParams) WithContext(ctx context.Context) *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) WithDefaults() *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) WithHTTPClient(client *http.Client) *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) WithInstance(instance string) *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) WithNamespace(namespace string) *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) WithTimeout(timeout time.Duration) *GetInstanceOutputParams
- func (o *GetInstanceOutputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceOutputReader
- type GetInstanceParams
- func (o *GetInstanceParams) SetContext(ctx context.Context)
- func (o *GetInstanceParams) SetDefaults()
- func (o *GetInstanceParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceParams) SetInstance(instance string)
- func (o *GetInstanceParams) SetNamespace(namespace string)
- func (o *GetInstanceParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceParams) WithContext(ctx context.Context) *GetInstanceParams
- func (o *GetInstanceParams) WithDefaults() *GetInstanceParams
- func (o *GetInstanceParams) WithHTTPClient(client *http.Client) *GetInstanceParams
- func (o *GetInstanceParams) WithInstance(instance string) *GetInstanceParams
- func (o *GetInstanceParams) WithNamespace(namespace string) *GetInstanceParams
- func (o *GetInstanceParams) WithTimeout(timeout time.Duration) *GetInstanceParams
- func (o *GetInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelInstanceOK ¶
type CancelInstanceOK struct { }
CancelInstanceOK describes a response with status code 200, with default header values.
successfully cancelled instance
func NewCancelInstanceOK ¶
func NewCancelInstanceOK() *CancelInstanceOK
NewCancelInstanceOK creates a CancelInstanceOK with default headers values
func (*CancelInstanceOK) Error ¶
func (o *CancelInstanceOK) Error() string
type CancelInstanceParams ¶
type CancelInstanceParams struct { /* Instance. target instance */ Instance string /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelInstanceParams contains all the parameters to send to the API endpoint
for the cancel instance operation. Typically these are written to a http.Request.
func NewCancelInstanceParams ¶
func NewCancelInstanceParams() *CancelInstanceParams
NewCancelInstanceParams creates a new CancelInstanceParams 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 NewCancelInstanceParamsWithContext ¶
func NewCancelInstanceParamsWithContext(ctx context.Context) *CancelInstanceParams
NewCancelInstanceParamsWithContext creates a new CancelInstanceParams object with the ability to set a context for a request.
func NewCancelInstanceParamsWithHTTPClient ¶
func NewCancelInstanceParamsWithHTTPClient(client *http.Client) *CancelInstanceParams
NewCancelInstanceParamsWithHTTPClient creates a new CancelInstanceParams object with the ability to set a custom HTTPClient for a request.
func NewCancelInstanceParamsWithTimeout ¶
func NewCancelInstanceParamsWithTimeout(timeout time.Duration) *CancelInstanceParams
NewCancelInstanceParamsWithTimeout creates a new CancelInstanceParams object with the ability to set a timeout on a request.
func (*CancelInstanceParams) SetContext ¶
func (o *CancelInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel instance params
func (*CancelInstanceParams) SetDefaults ¶
func (o *CancelInstanceParams) SetDefaults()
SetDefaults hydrates default values in the cancel instance params (not the query body).
All values with no default are reset to their zero value.
func (*CancelInstanceParams) SetHTTPClient ¶
func (o *CancelInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel instance params
func (*CancelInstanceParams) SetInstance ¶
func (o *CancelInstanceParams) SetInstance(instance string)
SetInstance adds the instance to the cancel instance params
func (*CancelInstanceParams) SetNamespace ¶
func (o *CancelInstanceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the cancel instance params
func (*CancelInstanceParams) SetTimeout ¶
func (o *CancelInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel instance params
func (*CancelInstanceParams) WithContext ¶
func (o *CancelInstanceParams) WithContext(ctx context.Context) *CancelInstanceParams
WithContext adds the context to the cancel instance params
func (*CancelInstanceParams) WithDefaults ¶
func (o *CancelInstanceParams) WithDefaults() *CancelInstanceParams
WithDefaults hydrates default values in the cancel instance params (not the query body).
All values with no default are reset to their zero value.
func (*CancelInstanceParams) WithHTTPClient ¶
func (o *CancelInstanceParams) WithHTTPClient(client *http.Client) *CancelInstanceParams
WithHTTPClient adds the HTTPClient to the cancel instance params
func (*CancelInstanceParams) WithInstance ¶
func (o *CancelInstanceParams) WithInstance(instance string) *CancelInstanceParams
WithInstance adds the instance to the cancel instance params
func (*CancelInstanceParams) WithNamespace ¶
func (o *CancelInstanceParams) WithNamespace(namespace string) *CancelInstanceParams
WithNamespace adds the namespace to the cancel instance params
func (*CancelInstanceParams) WithTimeout ¶
func (o *CancelInstanceParams) WithTimeout(timeout time.Duration) *CancelInstanceParams
WithTimeout adds the timeout to the cancel instance params
func (*CancelInstanceParams) WriteToRequest ¶
func (o *CancelInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelInstanceReader ¶
type CancelInstanceReader struct {
// contains filtered or unexported fields
}
CancelInstanceReader is a Reader for the CancelInstance structure.
func (*CancelInstanceReader) ReadResponse ¶
func (o *CancelInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for instances API
func (*Client) CancelInstance ¶
func (a *Client) CancelInstance(params *CancelInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelInstanceOK, error)
CancelInstance cancels a pending instance
Cancel a currently pending instance.
func (*Client) GetInstance ¶
func (a *Client) GetInstance(params *GetInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceOK, error)
GetInstance gets a instance
Gets the details of a executed workflow instance in this namespace.
func (*Client) GetInstanceInput ¶
func (a *Client) GetInstanceInput(params *GetInstanceInputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceInputOK, error)
GetInstanceInput gets a instance input
Gets the input an instance was provided when executed.
func (*Client) GetInstanceList ¶
func (a *Client) GetInstanceList(params *GetInstanceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceListOK, error)
GetInstanceList gets list instances
Gets a list of instances in a namespace.
func (*Client) GetInstanceOutput ¶
func (a *Client) GetInstanceOutput(params *GetInstanceOutputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceOutputOK, error)
GetInstanceOutput gets a instance output
Gets the output an instance was provided when executed.
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 { CancelInstance(params *CancelInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelInstanceOK, error) GetInstance(params *GetInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceOK, error) GetInstanceInput(params *GetInstanceInputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceInputOK, error) GetInstanceList(params *GetInstanceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceListOK, error) GetInstanceOutput(params *GetInstanceOutputParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInstanceOutputOK, 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 instances API client.
type GetInstanceDefault ¶
type GetInstanceDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetInstanceDefault describes a response with status code -1, with default header values.
an error has occurred
func NewGetInstanceDefault ¶
func NewGetInstanceDefault(code int) *GetInstanceDefault
NewGetInstanceDefault creates a GetInstanceDefault with default headers values
func (*GetInstanceDefault) Code ¶
func (o *GetInstanceDefault) Code() int
Code gets the status code for the get instance default response
func (*GetInstanceDefault) Error ¶
func (o *GetInstanceDefault) Error() string
func (*GetInstanceDefault) GetPayload ¶
func (o *GetInstanceDefault) GetPayload() *models.ErrorResponse
type GetInstanceInputOK ¶
type GetInstanceInputOK struct { }
GetInstanceInputOK describes a response with status code 200, with default header values.
successfully got instance input
func NewGetInstanceInputOK ¶
func NewGetInstanceInputOK() *GetInstanceInputOK
NewGetInstanceInputOK creates a GetInstanceInputOK with default headers values
func (*GetInstanceInputOK) Error ¶
func (o *GetInstanceInputOK) Error() string
type GetInstanceInputParams ¶
type GetInstanceInputParams struct { /* Instance. target instance */ Instance string /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstanceInputParams contains all the parameters to send to the API endpoint
for the get instance input operation. Typically these are written to a http.Request.
func NewGetInstanceInputParams ¶
func NewGetInstanceInputParams() *GetInstanceInputParams
NewGetInstanceInputParams creates a new GetInstanceInputParams 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 NewGetInstanceInputParamsWithContext ¶
func NewGetInstanceInputParamsWithContext(ctx context.Context) *GetInstanceInputParams
NewGetInstanceInputParamsWithContext creates a new GetInstanceInputParams object with the ability to set a context for a request.
func NewGetInstanceInputParamsWithHTTPClient ¶
func NewGetInstanceInputParamsWithHTTPClient(client *http.Client) *GetInstanceInputParams
NewGetInstanceInputParamsWithHTTPClient creates a new GetInstanceInputParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstanceInputParamsWithTimeout ¶
func NewGetInstanceInputParamsWithTimeout(timeout time.Duration) *GetInstanceInputParams
NewGetInstanceInputParamsWithTimeout creates a new GetInstanceInputParams object with the ability to set a timeout on a request.
func (*GetInstanceInputParams) SetContext ¶
func (o *GetInstanceInputParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance input params
func (*GetInstanceInputParams) SetDefaults ¶
func (o *GetInstanceInputParams) SetDefaults()
SetDefaults hydrates default values in the get instance input params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceInputParams) SetHTTPClient ¶
func (o *GetInstanceInputParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instance input params
func (*GetInstanceInputParams) SetInstance ¶
func (o *GetInstanceInputParams) SetInstance(instance string)
SetInstance adds the instance to the get instance input params
func (*GetInstanceInputParams) SetNamespace ¶
func (o *GetInstanceInputParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get instance input params
func (*GetInstanceInputParams) SetTimeout ¶
func (o *GetInstanceInputParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instance input params
func (*GetInstanceInputParams) WithContext ¶
func (o *GetInstanceInputParams) WithContext(ctx context.Context) *GetInstanceInputParams
WithContext adds the context to the get instance input params
func (*GetInstanceInputParams) WithDefaults ¶
func (o *GetInstanceInputParams) WithDefaults() *GetInstanceInputParams
WithDefaults hydrates default values in the get instance input params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceInputParams) WithHTTPClient ¶
func (o *GetInstanceInputParams) WithHTTPClient(client *http.Client) *GetInstanceInputParams
WithHTTPClient adds the HTTPClient to the get instance input params
func (*GetInstanceInputParams) WithInstance ¶
func (o *GetInstanceInputParams) WithInstance(instance string) *GetInstanceInputParams
WithInstance adds the instance to the get instance input params
func (*GetInstanceInputParams) WithNamespace ¶
func (o *GetInstanceInputParams) WithNamespace(namespace string) *GetInstanceInputParams
WithNamespace adds the namespace to the get instance input params
func (*GetInstanceInputParams) WithTimeout ¶
func (o *GetInstanceInputParams) WithTimeout(timeout time.Duration) *GetInstanceInputParams
WithTimeout adds the timeout to the get instance input params
func (*GetInstanceInputParams) WriteToRequest ¶
func (o *GetInstanceInputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstanceInputReader ¶
type GetInstanceInputReader struct {
// contains filtered or unexported fields
}
GetInstanceInputReader is a Reader for the GetInstanceInput structure.
func (*GetInstanceInputReader) ReadResponse ¶
func (o *GetInstanceInputReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstanceListOK ¶
type GetInstanceListOK struct { }
GetInstanceListOK describes a response with status code 200, with default header values.
successfully got namespace instances
func NewGetInstanceListOK ¶
func NewGetInstanceListOK() *GetInstanceListOK
NewGetInstanceListOK creates a GetInstanceListOK with default headers values
func (*GetInstanceListOK) Error ¶
func (o *GetInstanceListOK) Error() string
type GetInstanceListParams ¶
type GetInstanceListParams struct { /* FilterField. field to filter */ PageFilterField *string /* FilterType. filter behaviour */ PageFilterType *string /* Namespace. target namespace */ Namespace string /* OrderDirection. order direction */ PageOrderDirection *string /* OrderField. field to order by */ PageOrderField *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstanceListParams contains all the parameters to send to the API endpoint
for the get instance list operation. Typically these are written to a http.Request.
func NewGetInstanceListParams ¶
func NewGetInstanceListParams() *GetInstanceListParams
NewGetInstanceListParams creates a new GetInstanceListParams 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 NewGetInstanceListParamsWithContext ¶
func NewGetInstanceListParamsWithContext(ctx context.Context) *GetInstanceListParams
NewGetInstanceListParamsWithContext creates a new GetInstanceListParams object with the ability to set a context for a request.
func NewGetInstanceListParamsWithHTTPClient ¶
func NewGetInstanceListParamsWithHTTPClient(client *http.Client) *GetInstanceListParams
NewGetInstanceListParamsWithHTTPClient creates a new GetInstanceListParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstanceListParamsWithTimeout ¶
func NewGetInstanceListParamsWithTimeout(timeout time.Duration) *GetInstanceListParams
NewGetInstanceListParamsWithTimeout creates a new GetInstanceListParams object with the ability to set a timeout on a request.
func (*GetInstanceListParams) SetContext ¶
func (o *GetInstanceListParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance list params
func (*GetInstanceListParams) SetDefaults ¶
func (o *GetInstanceListParams) SetDefaults()
SetDefaults hydrates default values in the get instance list params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceListParams) SetHTTPClient ¶
func (o *GetInstanceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instance list params
func (*GetInstanceListParams) SetNamespace ¶
func (o *GetInstanceListParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get instance list params
func (*GetInstanceListParams) SetPageFilterField ¶ added in v0.6.0
func (o *GetInstanceListParams) SetPageFilterField(filterField *string)
SetPageFilterField adds the filterField to the get instance list params
func (*GetInstanceListParams) SetPageFilterType ¶ added in v0.6.0
func (o *GetInstanceListParams) SetPageFilterType(filterType *string)
SetPageFilterType adds the filterType to the get instance list params
func (*GetInstanceListParams) SetPageOrderDirection ¶ added in v0.6.0
func (o *GetInstanceListParams) SetPageOrderDirection(orderDirection *string)
SetPageOrderDirection adds the orderDirection to the get instance list params
func (*GetInstanceListParams) SetPageOrderField ¶ added in v0.6.0
func (o *GetInstanceListParams) SetPageOrderField(orderField *string)
SetPageOrderField adds the orderField to the get instance list params
func (*GetInstanceListParams) SetTimeout ¶
func (o *GetInstanceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instance list params
func (*GetInstanceListParams) WithContext ¶
func (o *GetInstanceListParams) WithContext(ctx context.Context) *GetInstanceListParams
WithContext adds the context to the get instance list params
func (*GetInstanceListParams) WithDefaults ¶
func (o *GetInstanceListParams) WithDefaults() *GetInstanceListParams
WithDefaults hydrates default values in the get instance list params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceListParams) WithHTTPClient ¶
func (o *GetInstanceListParams) WithHTTPClient(client *http.Client) *GetInstanceListParams
WithHTTPClient adds the HTTPClient to the get instance list params
func (*GetInstanceListParams) WithNamespace ¶
func (o *GetInstanceListParams) WithNamespace(namespace string) *GetInstanceListParams
WithNamespace adds the namespace to the get instance list params
func (*GetInstanceListParams) WithPageFilterField ¶ added in v0.6.0
func (o *GetInstanceListParams) WithPageFilterField(filterField *string) *GetInstanceListParams
WithPageFilterField adds the filterField to the get instance list params
func (*GetInstanceListParams) WithPageFilterType ¶ added in v0.6.0
func (o *GetInstanceListParams) WithPageFilterType(filterType *string) *GetInstanceListParams
WithPageFilterType adds the filterType to the get instance list params
func (*GetInstanceListParams) WithPageOrderDirection ¶ added in v0.6.0
func (o *GetInstanceListParams) WithPageOrderDirection(orderDirection *string) *GetInstanceListParams
WithPageOrderDirection adds the orderDirection to the get instance list params
func (*GetInstanceListParams) WithPageOrderField ¶ added in v0.6.0
func (o *GetInstanceListParams) WithPageOrderField(orderField *string) *GetInstanceListParams
WithPageOrderField adds the orderField to the get instance list params
func (*GetInstanceListParams) WithTimeout ¶
func (o *GetInstanceListParams) WithTimeout(timeout time.Duration) *GetInstanceListParams
WithTimeout adds the timeout to the get instance list params
func (*GetInstanceListParams) WriteToRequest ¶
func (o *GetInstanceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstanceListReader ¶
type GetInstanceListReader struct {
// contains filtered or unexported fields
}
GetInstanceListReader is a Reader for the GetInstanceList structure.
func (*GetInstanceListReader) ReadResponse ¶
func (o *GetInstanceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstanceOK ¶
GetInstanceOK describes a response with status code 200, with default header values.
successfully got instance
func NewGetInstanceOK ¶
func NewGetInstanceOK() *GetInstanceOK
NewGetInstanceOK creates a GetInstanceOK with default headers values
func (*GetInstanceOK) Error ¶
func (o *GetInstanceOK) Error() string
func (*GetInstanceOK) GetPayload ¶
func (o *GetInstanceOK) GetPayload() models.OkBody
type GetInstanceOutputOK ¶
type GetInstanceOutputOK struct { }
GetInstanceOutputOK describes a response with status code 200, with default header values.
successfully got instance output
func NewGetInstanceOutputOK ¶
func NewGetInstanceOutputOK() *GetInstanceOutputOK
NewGetInstanceOutputOK creates a GetInstanceOutputOK with default headers values
func (*GetInstanceOutputOK) Error ¶
func (o *GetInstanceOutputOK) Error() string
type GetInstanceOutputParams ¶
type GetInstanceOutputParams struct { /* Instance. target instance */ Instance string /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstanceOutputParams contains all the parameters to send to the API endpoint
for the get instance output operation. Typically these are written to a http.Request.
func NewGetInstanceOutputParams ¶
func NewGetInstanceOutputParams() *GetInstanceOutputParams
NewGetInstanceOutputParams creates a new GetInstanceOutputParams 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 NewGetInstanceOutputParamsWithContext ¶
func NewGetInstanceOutputParamsWithContext(ctx context.Context) *GetInstanceOutputParams
NewGetInstanceOutputParamsWithContext creates a new GetInstanceOutputParams object with the ability to set a context for a request.
func NewGetInstanceOutputParamsWithHTTPClient ¶
func NewGetInstanceOutputParamsWithHTTPClient(client *http.Client) *GetInstanceOutputParams
NewGetInstanceOutputParamsWithHTTPClient creates a new GetInstanceOutputParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstanceOutputParamsWithTimeout ¶
func NewGetInstanceOutputParamsWithTimeout(timeout time.Duration) *GetInstanceOutputParams
NewGetInstanceOutputParamsWithTimeout creates a new GetInstanceOutputParams object with the ability to set a timeout on a request.
func (*GetInstanceOutputParams) SetContext ¶
func (o *GetInstanceOutputParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance output params
func (*GetInstanceOutputParams) SetDefaults ¶
func (o *GetInstanceOutputParams) SetDefaults()
SetDefaults hydrates default values in the get instance output params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceOutputParams) SetHTTPClient ¶
func (o *GetInstanceOutputParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instance output params
func (*GetInstanceOutputParams) SetInstance ¶
func (o *GetInstanceOutputParams) SetInstance(instance string)
SetInstance adds the instance to the get instance output params
func (*GetInstanceOutputParams) SetNamespace ¶
func (o *GetInstanceOutputParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get instance output params
func (*GetInstanceOutputParams) SetTimeout ¶
func (o *GetInstanceOutputParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instance output params
func (*GetInstanceOutputParams) WithContext ¶
func (o *GetInstanceOutputParams) WithContext(ctx context.Context) *GetInstanceOutputParams
WithContext adds the context to the get instance output params
func (*GetInstanceOutputParams) WithDefaults ¶
func (o *GetInstanceOutputParams) WithDefaults() *GetInstanceOutputParams
WithDefaults hydrates default values in the get instance output params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceOutputParams) WithHTTPClient ¶
func (o *GetInstanceOutputParams) WithHTTPClient(client *http.Client) *GetInstanceOutputParams
WithHTTPClient adds the HTTPClient to the get instance output params
func (*GetInstanceOutputParams) WithInstance ¶
func (o *GetInstanceOutputParams) WithInstance(instance string) *GetInstanceOutputParams
WithInstance adds the instance to the get instance output params
func (*GetInstanceOutputParams) WithNamespace ¶
func (o *GetInstanceOutputParams) WithNamespace(namespace string) *GetInstanceOutputParams
WithNamespace adds the namespace to the get instance output params
func (*GetInstanceOutputParams) WithTimeout ¶
func (o *GetInstanceOutputParams) WithTimeout(timeout time.Duration) *GetInstanceOutputParams
WithTimeout adds the timeout to the get instance output params
func (*GetInstanceOutputParams) WriteToRequest ¶
func (o *GetInstanceOutputParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstanceOutputReader ¶
type GetInstanceOutputReader struct {
// contains filtered or unexported fields
}
GetInstanceOutputReader is a Reader for the GetInstanceOutput structure.
func (*GetInstanceOutputReader) ReadResponse ¶
func (o *GetInstanceOutputReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInstanceParams ¶
type GetInstanceParams struct { /* Instance. target instance */ Instance string /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstanceParams contains all the parameters to send to the API endpoint
for the get instance operation. Typically these are written to a http.Request.
func NewGetInstanceParams ¶
func NewGetInstanceParams() *GetInstanceParams
NewGetInstanceParams creates a new GetInstanceParams 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 NewGetInstanceParamsWithContext ¶
func NewGetInstanceParamsWithContext(ctx context.Context) *GetInstanceParams
NewGetInstanceParamsWithContext creates a new GetInstanceParams object with the ability to set a context for a request.
func NewGetInstanceParamsWithHTTPClient ¶
func NewGetInstanceParamsWithHTTPClient(client *http.Client) *GetInstanceParams
NewGetInstanceParamsWithHTTPClient creates a new GetInstanceParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstanceParamsWithTimeout ¶
func NewGetInstanceParamsWithTimeout(timeout time.Duration) *GetInstanceParams
NewGetInstanceParamsWithTimeout creates a new GetInstanceParams object with the ability to set a timeout on a request.
func (*GetInstanceParams) SetContext ¶
func (o *GetInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the get instance params
func (*GetInstanceParams) SetDefaults ¶
func (o *GetInstanceParams) SetDefaults()
SetDefaults hydrates default values in the get instance params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceParams) SetHTTPClient ¶
func (o *GetInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get instance params
func (*GetInstanceParams) SetInstance ¶
func (o *GetInstanceParams) SetInstance(instance string)
SetInstance adds the instance to the get instance params
func (*GetInstanceParams) SetNamespace ¶
func (o *GetInstanceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get instance params
func (*GetInstanceParams) SetTimeout ¶
func (o *GetInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get instance params
func (*GetInstanceParams) WithContext ¶
func (o *GetInstanceParams) WithContext(ctx context.Context) *GetInstanceParams
WithContext adds the context to the get instance params
func (*GetInstanceParams) WithDefaults ¶
func (o *GetInstanceParams) WithDefaults() *GetInstanceParams
WithDefaults hydrates default values in the get instance params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstanceParams) WithHTTPClient ¶
func (o *GetInstanceParams) WithHTTPClient(client *http.Client) *GetInstanceParams
WithHTTPClient adds the HTTPClient to the get instance params
func (*GetInstanceParams) WithInstance ¶
func (o *GetInstanceParams) WithInstance(instance string) *GetInstanceParams
WithInstance adds the instance to the get instance params
func (*GetInstanceParams) WithNamespace ¶
func (o *GetInstanceParams) WithNamespace(namespace string) *GetInstanceParams
WithNamespace adds the namespace to the get instance params
func (*GetInstanceParams) WithTimeout ¶
func (o *GetInstanceParams) WithTimeout(timeout time.Duration) *GetInstanceParams
WithTimeout adds the timeout to the get instance params
func (*GetInstanceParams) WriteToRequest ¶
func (o *GetInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstanceReader ¶
type GetInstanceReader struct {
// contains filtered or unexported fields
}
GetInstanceReader is a Reader for the GetInstance structure.
func (*GetInstanceReader) ReadResponse ¶
func (o *GetInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cancel_instance_parameters.go
- cancel_instance_responses.go
- get_instance_input_parameters.go
- get_instance_input_responses.go
- get_instance_list_parameters.go
- get_instance_list_responses.go
- get_instance_output_parameters.go
- get_instance_output_responses.go
- get_instance_parameters.go
- get_instance_responses.go
- instances_client.go