Documentation ¶
Index ¶
- type Client
- func (a *Client) GetWorkflowLogs(params *GetWorkflowLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetWorkflowLogsOK, error)
- func (a *Client) InstanceLogs(params *InstanceLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InstanceLogsOK, error)
- func (a *Client) NamespaceLogs(params *NamespaceLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*NamespaceLogsOK, error)
- func (a *Client) ServerLogs(params *ServerLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServerLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetWorkflowLogsOK
- type GetWorkflowLogsParams
- func NewGetWorkflowLogsParams() *GetWorkflowLogsParams
- func NewGetWorkflowLogsParamsWithContext(ctx context.Context) *GetWorkflowLogsParams
- func NewGetWorkflowLogsParamsWithHTTPClient(client *http.Client) *GetWorkflowLogsParams
- func NewGetWorkflowLogsParamsWithTimeout(timeout time.Duration) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) SetContext(ctx context.Context)
- func (o *GetWorkflowLogsParams) SetDefaults()
- func (o *GetWorkflowLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetWorkflowLogsParams) SetNamespace(namespace string)
- func (o *GetWorkflowLogsParams) SetPageFilterField(filterField *string)
- func (o *GetWorkflowLogsParams) SetPageFilterType(filterType *string)
- func (o *GetWorkflowLogsParams) SetPageOrderDirection(orderDirection *string)
- func (o *GetWorkflowLogsParams) SetPageOrderField(orderField *string)
- func (o *GetWorkflowLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetWorkflowLogsParams) SetWorkflow(workflow string)
- func (o *GetWorkflowLogsParams) WithContext(ctx context.Context) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithDefaults() *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithHTTPClient(client *http.Client) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithNamespace(namespace string) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithPageFilterField(filterField *string) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithPageFilterType(filterType *string) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithPageOrderDirection(orderDirection *string) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithPageOrderField(orderField *string) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithTimeout(timeout time.Duration) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WithWorkflow(workflow string) *GetWorkflowLogsParams
- func (o *GetWorkflowLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWorkflowLogsReader
- type InstanceLogsDefault
- type InstanceLogsOK
- type InstanceLogsParams
- func (o *InstanceLogsParams) SetContext(ctx context.Context)
- func (o *InstanceLogsParams) SetDefaults()
- func (o *InstanceLogsParams) SetHTTPClient(client *http.Client)
- func (o *InstanceLogsParams) SetInstance(instance string)
- func (o *InstanceLogsParams) SetNamespace(namespace string)
- func (o *InstanceLogsParams) SetPageFilterField(filterField *string)
- func (o *InstanceLogsParams) SetPageFilterType(filterType *string)
- func (o *InstanceLogsParams) SetPageOrderDirection(orderDirection *string)
- func (o *InstanceLogsParams) SetPageOrderField(orderField *string)
- func (o *InstanceLogsParams) SetTimeout(timeout time.Duration)
- func (o *InstanceLogsParams) WithContext(ctx context.Context) *InstanceLogsParams
- func (o *InstanceLogsParams) WithDefaults() *InstanceLogsParams
- func (o *InstanceLogsParams) WithHTTPClient(client *http.Client) *InstanceLogsParams
- func (o *InstanceLogsParams) WithInstance(instance string) *InstanceLogsParams
- func (o *InstanceLogsParams) WithNamespace(namespace string) *InstanceLogsParams
- func (o *InstanceLogsParams) WithPageFilterField(filterField *string) *InstanceLogsParams
- func (o *InstanceLogsParams) WithPageFilterType(filterType *string) *InstanceLogsParams
- func (o *InstanceLogsParams) WithPageOrderDirection(orderDirection *string) *InstanceLogsParams
- func (o *InstanceLogsParams) WithPageOrderField(orderField *string) *InstanceLogsParams
- func (o *InstanceLogsParams) WithTimeout(timeout time.Duration) *InstanceLogsParams
- func (o *InstanceLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InstanceLogsReader
- type NamespaceLogsOK
- type NamespaceLogsParams
- func (o *NamespaceLogsParams) SetContext(ctx context.Context)
- func (o *NamespaceLogsParams) SetDefaults()
- func (o *NamespaceLogsParams) SetHTTPClient(client *http.Client)
- func (o *NamespaceLogsParams) SetNamespace(namespace string)
- func (o *NamespaceLogsParams) SetPageFilterField(filterField *string)
- func (o *NamespaceLogsParams) SetPageFilterType(filterType *string)
- func (o *NamespaceLogsParams) SetPageOrderDirection(orderDirection *string)
- func (o *NamespaceLogsParams) SetPageOrderField(orderField *string)
- func (o *NamespaceLogsParams) SetTimeout(timeout time.Duration)
- func (o *NamespaceLogsParams) WithContext(ctx context.Context) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithDefaults() *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithHTTPClient(client *http.Client) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithNamespace(namespace string) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithPageFilterField(filterField *string) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithPageFilterType(filterType *string) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithPageOrderDirection(orderDirection *string) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithPageOrderField(orderField *string) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WithTimeout(timeout time.Duration) *NamespaceLogsParams
- func (o *NamespaceLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NamespaceLogsReader
- type ServerLogsDefault
- type ServerLogsOK
- type ServerLogsParams
- func (o *ServerLogsParams) SetContext(ctx context.Context)
- func (o *ServerLogsParams) SetDefaults()
- func (o *ServerLogsParams) SetHTTPClient(client *http.Client)
- func (o *ServerLogsParams) SetPageFilterField(filterField *string)
- func (o *ServerLogsParams) SetPageFilterType(filterType *string)
- func (o *ServerLogsParams) SetPageOrderDirection(orderDirection *string)
- func (o *ServerLogsParams) SetPageOrderField(orderField *string)
- func (o *ServerLogsParams) SetTimeout(timeout time.Duration)
- func (o *ServerLogsParams) WithContext(ctx context.Context) *ServerLogsParams
- func (o *ServerLogsParams) WithDefaults() *ServerLogsParams
- func (o *ServerLogsParams) WithHTTPClient(client *http.Client) *ServerLogsParams
- func (o *ServerLogsParams) WithPageFilterField(filterField *string) *ServerLogsParams
- func (o *ServerLogsParams) WithPageFilterType(filterType *string) *ServerLogsParams
- func (o *ServerLogsParams) WithPageOrderDirection(orderDirection *string) *ServerLogsParams
- func (o *ServerLogsParams) WithPageOrderField(orderField *string) *ServerLogsParams
- func (o *ServerLogsParams) WithTimeout(timeout time.Duration) *ServerLogsParams
- func (o *ServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerLogsReader
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 logs API
func (*Client) GetWorkflowLogs ¶
func (a *Client) GetWorkflowLogs(params *GetWorkflowLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowLogsOK, error)
GetWorkflowLogs gets workflow level logs
Get workflow level logs.
func (*Client) InstanceLogs ¶
func (a *Client) InstanceLogs(params *InstanceLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InstanceLogsOK, error)
InstanceLogs gets instance logs
Gets the logs of an executed instance.
func (*Client) NamespaceLogs ¶
func (a *Client) NamespaceLogs(params *NamespaceLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NamespaceLogsOK, error)
NamespaceLogs gets namespace level logs
Gets Namespace Level Logs.
func (*Client) ServerLogs ¶
func (a *Client) ServerLogs(params *ServerLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerLogsOK, error)
ServerLogs gets direktiv server logs
Gets Direktiv Server Logs.
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 { GetWorkflowLogs(params *GetWorkflowLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWorkflowLogsOK, error) InstanceLogs(params *InstanceLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InstanceLogsOK, error) NamespaceLogs(params *NamespaceLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NamespaceLogsOK, error) ServerLogs(params *ServerLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServerLogsOK, 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 logs API client.
type GetWorkflowLogsOK ¶
type GetWorkflowLogsOK struct { }
GetWorkflowLogsOK describes a response with status code 200, with default header values.
successfully got workflow logs
func NewGetWorkflowLogsOK ¶
func NewGetWorkflowLogsOK() *GetWorkflowLogsOK
NewGetWorkflowLogsOK creates a GetWorkflowLogsOK with default headers values
func (*GetWorkflowLogsOK) Error ¶
func (o *GetWorkflowLogsOK) Error() string
type GetWorkflowLogsParams ¶
type GetWorkflowLogsParams 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 /* Workflow. path to target workflow */ Workflow string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWorkflowLogsParams contains all the parameters to send to the API endpoint
for the get workflow logs operation. Typically these are written to a http.Request.
func NewGetWorkflowLogsParams ¶
func NewGetWorkflowLogsParams() *GetWorkflowLogsParams
NewGetWorkflowLogsParams creates a new GetWorkflowLogsParams 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 NewGetWorkflowLogsParamsWithContext ¶
func NewGetWorkflowLogsParamsWithContext(ctx context.Context) *GetWorkflowLogsParams
NewGetWorkflowLogsParamsWithContext creates a new GetWorkflowLogsParams object with the ability to set a context for a request.
func NewGetWorkflowLogsParamsWithHTTPClient ¶
func NewGetWorkflowLogsParamsWithHTTPClient(client *http.Client) *GetWorkflowLogsParams
NewGetWorkflowLogsParamsWithHTTPClient creates a new GetWorkflowLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetWorkflowLogsParamsWithTimeout ¶
func NewGetWorkflowLogsParamsWithTimeout(timeout time.Duration) *GetWorkflowLogsParams
NewGetWorkflowLogsParamsWithTimeout creates a new GetWorkflowLogsParams object with the ability to set a timeout on a request.
func (*GetWorkflowLogsParams) SetContext ¶
func (o *GetWorkflowLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get workflow logs params
func (*GetWorkflowLogsParams) SetDefaults ¶
func (o *GetWorkflowLogsParams) SetDefaults()
SetDefaults hydrates default values in the get workflow logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkflowLogsParams) SetHTTPClient ¶
func (o *GetWorkflowLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get workflow logs params
func (*GetWorkflowLogsParams) SetNamespace ¶
func (o *GetWorkflowLogsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get workflow logs params
func (*GetWorkflowLogsParams) SetPageFilterField ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) SetPageFilterField(filterField *string)
SetPageFilterField adds the filterField to the get workflow logs params
func (*GetWorkflowLogsParams) SetPageFilterType ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) SetPageFilterType(filterType *string)
SetPageFilterType adds the filterType to the get workflow logs params
func (*GetWorkflowLogsParams) SetPageOrderDirection ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) SetPageOrderDirection(orderDirection *string)
SetPageOrderDirection adds the orderDirection to the get workflow logs params
func (*GetWorkflowLogsParams) SetPageOrderField ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) SetPageOrderField(orderField *string)
SetPageOrderField adds the orderField to the get workflow logs params
func (*GetWorkflowLogsParams) SetTimeout ¶
func (o *GetWorkflowLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get workflow logs params
func (*GetWorkflowLogsParams) SetWorkflow ¶
func (o *GetWorkflowLogsParams) SetWorkflow(workflow string)
SetWorkflow adds the workflow to the get workflow logs params
func (*GetWorkflowLogsParams) WithContext ¶
func (o *GetWorkflowLogsParams) WithContext(ctx context.Context) *GetWorkflowLogsParams
WithContext adds the context to the get workflow logs params
func (*GetWorkflowLogsParams) WithDefaults ¶
func (o *GetWorkflowLogsParams) WithDefaults() *GetWorkflowLogsParams
WithDefaults hydrates default values in the get workflow logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetWorkflowLogsParams) WithHTTPClient ¶
func (o *GetWorkflowLogsParams) WithHTTPClient(client *http.Client) *GetWorkflowLogsParams
WithHTTPClient adds the HTTPClient to the get workflow logs params
func (*GetWorkflowLogsParams) WithNamespace ¶
func (o *GetWorkflowLogsParams) WithNamespace(namespace string) *GetWorkflowLogsParams
WithNamespace adds the namespace to the get workflow logs params
func (*GetWorkflowLogsParams) WithPageFilterField ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) WithPageFilterField(filterField *string) *GetWorkflowLogsParams
WithPageFilterField adds the filterField to the get workflow logs params
func (*GetWorkflowLogsParams) WithPageFilterType ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) WithPageFilterType(filterType *string) *GetWorkflowLogsParams
WithPageFilterType adds the filterType to the get workflow logs params
func (*GetWorkflowLogsParams) WithPageOrderDirection ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) WithPageOrderDirection(orderDirection *string) *GetWorkflowLogsParams
WithPageOrderDirection adds the orderDirection to the get workflow logs params
func (*GetWorkflowLogsParams) WithPageOrderField ¶ added in v0.6.0
func (o *GetWorkflowLogsParams) WithPageOrderField(orderField *string) *GetWorkflowLogsParams
WithPageOrderField adds the orderField to the get workflow logs params
func (*GetWorkflowLogsParams) WithTimeout ¶
func (o *GetWorkflowLogsParams) WithTimeout(timeout time.Duration) *GetWorkflowLogsParams
WithTimeout adds the timeout to the get workflow logs params
func (*GetWorkflowLogsParams) WithWorkflow ¶
func (o *GetWorkflowLogsParams) WithWorkflow(workflow string) *GetWorkflowLogsParams
WithWorkflow adds the workflow to the get workflow logs params
func (*GetWorkflowLogsParams) WriteToRequest ¶
func (o *GetWorkflowLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWorkflowLogsReader ¶
type GetWorkflowLogsReader struct {
// contains filtered or unexported fields
}
GetWorkflowLogsReader is a Reader for the GetWorkflowLogs structure.
func (*GetWorkflowLogsReader) ReadResponse ¶
func (o *GetWorkflowLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InstanceLogsDefault ¶
type InstanceLogsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
InstanceLogsDefault describes a response with status code -1, with default header values.
an error has occurred
func NewInstanceLogsDefault ¶
func NewInstanceLogsDefault(code int) *InstanceLogsDefault
NewInstanceLogsDefault creates a InstanceLogsDefault with default headers values
func (*InstanceLogsDefault) Code ¶
func (o *InstanceLogsDefault) Code() int
Code gets the status code for the instance logs default response
func (*InstanceLogsDefault) Error ¶
func (o *InstanceLogsDefault) Error() string
func (*InstanceLogsDefault) GetPayload ¶
func (o *InstanceLogsDefault) GetPayload() *models.ErrorResponse
type InstanceLogsOK ¶
InstanceLogsOK describes a response with status code 200, with default header values.
successfully got instance logs
func NewInstanceLogsOK ¶
func NewInstanceLogsOK() *InstanceLogsOK
NewInstanceLogsOK creates a InstanceLogsOK with default headers values
func (*InstanceLogsOK) Error ¶
func (o *InstanceLogsOK) Error() string
func (*InstanceLogsOK) GetPayload ¶
func (o *InstanceLogsOK) GetPayload() models.OkBody
type InstanceLogsParams ¶
type InstanceLogsParams struct { /* FilterField. field to filter */ PageFilterField *string /* FilterType. filter behaviour */ PageFilterType *string /* Instance. target instance id */ Instance 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 }
InstanceLogsParams contains all the parameters to send to the API endpoint
for the instance logs operation. Typically these are written to a http.Request.
func NewInstanceLogsParams ¶
func NewInstanceLogsParams() *InstanceLogsParams
NewInstanceLogsParams creates a new InstanceLogsParams 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 NewInstanceLogsParamsWithContext ¶
func NewInstanceLogsParamsWithContext(ctx context.Context) *InstanceLogsParams
NewInstanceLogsParamsWithContext creates a new InstanceLogsParams object with the ability to set a context for a request.
func NewInstanceLogsParamsWithHTTPClient ¶
func NewInstanceLogsParamsWithHTTPClient(client *http.Client) *InstanceLogsParams
NewInstanceLogsParamsWithHTTPClient creates a new InstanceLogsParams object with the ability to set a custom HTTPClient for a request.
func NewInstanceLogsParamsWithTimeout ¶
func NewInstanceLogsParamsWithTimeout(timeout time.Duration) *InstanceLogsParams
NewInstanceLogsParamsWithTimeout creates a new InstanceLogsParams object with the ability to set a timeout on a request.
func (*InstanceLogsParams) SetContext ¶
func (o *InstanceLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the instance logs params
func (*InstanceLogsParams) SetDefaults ¶
func (o *InstanceLogsParams) SetDefaults()
SetDefaults hydrates default values in the instance logs params (not the query body).
All values with no default are reset to their zero value.
func (*InstanceLogsParams) SetHTTPClient ¶
func (o *InstanceLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the instance logs params
func (*InstanceLogsParams) SetInstance ¶
func (o *InstanceLogsParams) SetInstance(instance string)
SetInstance adds the instance to the instance logs params
func (*InstanceLogsParams) SetNamespace ¶
func (o *InstanceLogsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the instance logs params
func (*InstanceLogsParams) SetPageFilterField ¶ added in v0.6.0
func (o *InstanceLogsParams) SetPageFilterField(filterField *string)
SetPageFilterField adds the filterField to the instance logs params
func (*InstanceLogsParams) SetPageFilterType ¶ added in v0.6.0
func (o *InstanceLogsParams) SetPageFilterType(filterType *string)
SetPageFilterType adds the filterType to the instance logs params
func (*InstanceLogsParams) SetPageOrderDirection ¶ added in v0.6.0
func (o *InstanceLogsParams) SetPageOrderDirection(orderDirection *string)
SetPageOrderDirection adds the orderDirection to the instance logs params
func (*InstanceLogsParams) SetPageOrderField ¶ added in v0.6.0
func (o *InstanceLogsParams) SetPageOrderField(orderField *string)
SetPageOrderField adds the orderField to the instance logs params
func (*InstanceLogsParams) SetTimeout ¶
func (o *InstanceLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the instance logs params
func (*InstanceLogsParams) WithContext ¶
func (o *InstanceLogsParams) WithContext(ctx context.Context) *InstanceLogsParams
WithContext adds the context to the instance logs params
func (*InstanceLogsParams) WithDefaults ¶
func (o *InstanceLogsParams) WithDefaults() *InstanceLogsParams
WithDefaults hydrates default values in the instance logs params (not the query body).
All values with no default are reset to their zero value.
func (*InstanceLogsParams) WithHTTPClient ¶
func (o *InstanceLogsParams) WithHTTPClient(client *http.Client) *InstanceLogsParams
WithHTTPClient adds the HTTPClient to the instance logs params
func (*InstanceLogsParams) WithInstance ¶
func (o *InstanceLogsParams) WithInstance(instance string) *InstanceLogsParams
WithInstance adds the instance to the instance logs params
func (*InstanceLogsParams) WithNamespace ¶
func (o *InstanceLogsParams) WithNamespace(namespace string) *InstanceLogsParams
WithNamespace adds the namespace to the instance logs params
func (*InstanceLogsParams) WithPageFilterField ¶ added in v0.6.0
func (o *InstanceLogsParams) WithPageFilterField(filterField *string) *InstanceLogsParams
WithPageFilterField adds the filterField to the instance logs params
func (*InstanceLogsParams) WithPageFilterType ¶ added in v0.6.0
func (o *InstanceLogsParams) WithPageFilterType(filterType *string) *InstanceLogsParams
WithPageFilterType adds the filterType to the instance logs params
func (*InstanceLogsParams) WithPageOrderDirection ¶ added in v0.6.0
func (o *InstanceLogsParams) WithPageOrderDirection(orderDirection *string) *InstanceLogsParams
WithPageOrderDirection adds the orderDirection to the instance logs params
func (*InstanceLogsParams) WithPageOrderField ¶ added in v0.6.0
func (o *InstanceLogsParams) WithPageOrderField(orderField *string) *InstanceLogsParams
WithPageOrderField adds the orderField to the instance logs params
func (*InstanceLogsParams) WithTimeout ¶
func (o *InstanceLogsParams) WithTimeout(timeout time.Duration) *InstanceLogsParams
WithTimeout adds the timeout to the instance logs params
func (*InstanceLogsParams) WriteToRequest ¶
func (o *InstanceLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InstanceLogsReader ¶
type InstanceLogsReader struct {
// contains filtered or unexported fields
}
InstanceLogsReader is a Reader for the InstanceLogs structure.
func (*InstanceLogsReader) ReadResponse ¶
func (o *InstanceLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NamespaceLogsOK ¶
type NamespaceLogsOK struct { }
NamespaceLogsOK describes a response with status code 200, with default header values.
successfully got namespace logs
func NewNamespaceLogsOK ¶
func NewNamespaceLogsOK() *NamespaceLogsOK
NewNamespaceLogsOK creates a NamespaceLogsOK with default headers values
func (*NamespaceLogsOK) Error ¶
func (o *NamespaceLogsOK) Error() string
type NamespaceLogsParams ¶
type NamespaceLogsParams 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 }
NamespaceLogsParams contains all the parameters to send to the API endpoint
for the namespace logs operation. Typically these are written to a http.Request.
func NewNamespaceLogsParams ¶
func NewNamespaceLogsParams() *NamespaceLogsParams
NewNamespaceLogsParams creates a new NamespaceLogsParams 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 NewNamespaceLogsParamsWithContext ¶
func NewNamespaceLogsParamsWithContext(ctx context.Context) *NamespaceLogsParams
NewNamespaceLogsParamsWithContext creates a new NamespaceLogsParams object with the ability to set a context for a request.
func NewNamespaceLogsParamsWithHTTPClient ¶
func NewNamespaceLogsParamsWithHTTPClient(client *http.Client) *NamespaceLogsParams
NewNamespaceLogsParamsWithHTTPClient creates a new NamespaceLogsParams object with the ability to set a custom HTTPClient for a request.
func NewNamespaceLogsParamsWithTimeout ¶
func NewNamespaceLogsParamsWithTimeout(timeout time.Duration) *NamespaceLogsParams
NewNamespaceLogsParamsWithTimeout creates a new NamespaceLogsParams object with the ability to set a timeout on a request.
func (*NamespaceLogsParams) SetContext ¶
func (o *NamespaceLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the namespace logs params
func (*NamespaceLogsParams) SetDefaults ¶
func (o *NamespaceLogsParams) SetDefaults()
SetDefaults hydrates default values in the namespace logs params (not the query body).
All values with no default are reset to their zero value.
func (*NamespaceLogsParams) SetHTTPClient ¶
func (o *NamespaceLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the namespace logs params
func (*NamespaceLogsParams) SetNamespace ¶
func (o *NamespaceLogsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the namespace logs params
func (*NamespaceLogsParams) SetPageFilterField ¶ added in v0.6.0
func (o *NamespaceLogsParams) SetPageFilterField(filterField *string)
SetPageFilterField adds the filterField to the namespace logs params
func (*NamespaceLogsParams) SetPageFilterType ¶ added in v0.6.0
func (o *NamespaceLogsParams) SetPageFilterType(filterType *string)
SetPageFilterType adds the filterType to the namespace logs params
func (*NamespaceLogsParams) SetPageOrderDirection ¶ added in v0.6.0
func (o *NamespaceLogsParams) SetPageOrderDirection(orderDirection *string)
SetPageOrderDirection adds the orderDirection to the namespace logs params
func (*NamespaceLogsParams) SetPageOrderField ¶ added in v0.6.0
func (o *NamespaceLogsParams) SetPageOrderField(orderField *string)
SetPageOrderField adds the orderField to the namespace logs params
func (*NamespaceLogsParams) SetTimeout ¶
func (o *NamespaceLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the namespace logs params
func (*NamespaceLogsParams) WithContext ¶
func (o *NamespaceLogsParams) WithContext(ctx context.Context) *NamespaceLogsParams
WithContext adds the context to the namespace logs params
func (*NamespaceLogsParams) WithDefaults ¶
func (o *NamespaceLogsParams) WithDefaults() *NamespaceLogsParams
WithDefaults hydrates default values in the namespace logs params (not the query body).
All values with no default are reset to their zero value.
func (*NamespaceLogsParams) WithHTTPClient ¶
func (o *NamespaceLogsParams) WithHTTPClient(client *http.Client) *NamespaceLogsParams
WithHTTPClient adds the HTTPClient to the namespace logs params
func (*NamespaceLogsParams) WithNamespace ¶
func (o *NamespaceLogsParams) WithNamespace(namespace string) *NamespaceLogsParams
WithNamespace adds the namespace to the namespace logs params
func (*NamespaceLogsParams) WithPageFilterField ¶ added in v0.6.0
func (o *NamespaceLogsParams) WithPageFilterField(filterField *string) *NamespaceLogsParams
WithPageFilterField adds the filterField to the namespace logs params
func (*NamespaceLogsParams) WithPageFilterType ¶ added in v0.6.0
func (o *NamespaceLogsParams) WithPageFilterType(filterType *string) *NamespaceLogsParams
WithPageFilterType adds the filterType to the namespace logs params
func (*NamespaceLogsParams) WithPageOrderDirection ¶ added in v0.6.0
func (o *NamespaceLogsParams) WithPageOrderDirection(orderDirection *string) *NamespaceLogsParams
WithPageOrderDirection adds the orderDirection to the namespace logs params
func (*NamespaceLogsParams) WithPageOrderField ¶ added in v0.6.0
func (o *NamespaceLogsParams) WithPageOrderField(orderField *string) *NamespaceLogsParams
WithPageOrderField adds the orderField to the namespace logs params
func (*NamespaceLogsParams) WithTimeout ¶
func (o *NamespaceLogsParams) WithTimeout(timeout time.Duration) *NamespaceLogsParams
WithTimeout adds the timeout to the namespace logs params
func (*NamespaceLogsParams) WriteToRequest ¶
func (o *NamespaceLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NamespaceLogsReader ¶
type NamespaceLogsReader struct {
// contains filtered or unexported fields
}
NamespaceLogsReader is a Reader for the NamespaceLogs structure.
func (*NamespaceLogsReader) ReadResponse ¶
func (o *NamespaceLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerLogsDefault ¶
type ServerLogsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ServerLogsDefault describes a response with status code -1, with default header values.
an error has occurred
func NewServerLogsDefault ¶
func NewServerLogsDefault(code int) *ServerLogsDefault
NewServerLogsDefault creates a ServerLogsDefault with default headers values
func (*ServerLogsDefault) Code ¶
func (o *ServerLogsDefault) Code() int
Code gets the status code for the server logs default response
func (*ServerLogsDefault) Error ¶
func (o *ServerLogsDefault) Error() string
func (*ServerLogsDefault) GetPayload ¶
func (o *ServerLogsDefault) GetPayload() *models.ErrorResponse
type ServerLogsOK ¶
ServerLogsOK describes a response with status code 200, with default header values.
successfully got server logs
func NewServerLogsOK ¶
func NewServerLogsOK() *ServerLogsOK
NewServerLogsOK creates a ServerLogsOK with default headers values
func (*ServerLogsOK) Error ¶
func (o *ServerLogsOK) Error() string
func (*ServerLogsOK) GetPayload ¶
func (o *ServerLogsOK) GetPayload() models.OkBody
type ServerLogsParams ¶
type ServerLogsParams struct { /* FilterField. field to filter */ PageFilterField *string /* FilterType. filter behaviour */ PageFilterType *string /* OrderDirection. order direction */ PageOrderDirection *string /* OrderField. field to order by */ PageOrderField *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServerLogsParams contains all the parameters to send to the API endpoint
for the server logs operation. Typically these are written to a http.Request.
func NewServerLogsParams ¶
func NewServerLogsParams() *ServerLogsParams
NewServerLogsParams creates a new ServerLogsParams 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 NewServerLogsParamsWithContext ¶
func NewServerLogsParamsWithContext(ctx context.Context) *ServerLogsParams
NewServerLogsParamsWithContext creates a new ServerLogsParams object with the ability to set a context for a request.
func NewServerLogsParamsWithHTTPClient ¶
func NewServerLogsParamsWithHTTPClient(client *http.Client) *ServerLogsParams
NewServerLogsParamsWithHTTPClient creates a new ServerLogsParams object with the ability to set a custom HTTPClient for a request.
func NewServerLogsParamsWithTimeout ¶
func NewServerLogsParamsWithTimeout(timeout time.Duration) *ServerLogsParams
NewServerLogsParamsWithTimeout creates a new ServerLogsParams object with the ability to set a timeout on a request.
func (*ServerLogsParams) SetContext ¶
func (o *ServerLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the server logs params
func (*ServerLogsParams) SetDefaults ¶
func (o *ServerLogsParams) SetDefaults()
SetDefaults hydrates default values in the server logs params (not the query body).
All values with no default are reset to their zero value.
func (*ServerLogsParams) SetHTTPClient ¶
func (o *ServerLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server logs params
func (*ServerLogsParams) SetPageFilterField ¶ added in v0.6.0
func (o *ServerLogsParams) SetPageFilterField(filterField *string)
SetPageFilterField adds the filterField to the server logs params
func (*ServerLogsParams) SetPageFilterType ¶ added in v0.6.0
func (o *ServerLogsParams) SetPageFilterType(filterType *string)
SetPageFilterType adds the filterType to the server logs params
func (*ServerLogsParams) SetPageOrderDirection ¶ added in v0.6.0
func (o *ServerLogsParams) SetPageOrderDirection(orderDirection *string)
SetPageOrderDirection adds the orderDirection to the server logs params
func (*ServerLogsParams) SetPageOrderField ¶ added in v0.6.0
func (o *ServerLogsParams) SetPageOrderField(orderField *string)
SetPageOrderField adds the orderField to the server logs params
func (*ServerLogsParams) SetTimeout ¶
func (o *ServerLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server logs params
func (*ServerLogsParams) WithContext ¶
func (o *ServerLogsParams) WithContext(ctx context.Context) *ServerLogsParams
WithContext adds the context to the server logs params
func (*ServerLogsParams) WithDefaults ¶
func (o *ServerLogsParams) WithDefaults() *ServerLogsParams
WithDefaults hydrates default values in the server logs params (not the query body).
All values with no default are reset to their zero value.
func (*ServerLogsParams) WithHTTPClient ¶
func (o *ServerLogsParams) WithHTTPClient(client *http.Client) *ServerLogsParams
WithHTTPClient adds the HTTPClient to the server logs params
func (*ServerLogsParams) WithPageFilterField ¶ added in v0.6.0
func (o *ServerLogsParams) WithPageFilterField(filterField *string) *ServerLogsParams
WithPageFilterField adds the filterField to the server logs params
func (*ServerLogsParams) WithPageFilterType ¶ added in v0.6.0
func (o *ServerLogsParams) WithPageFilterType(filterType *string) *ServerLogsParams
WithPageFilterType adds the filterType to the server logs params
func (*ServerLogsParams) WithPageOrderDirection ¶ added in v0.6.0
func (o *ServerLogsParams) WithPageOrderDirection(orderDirection *string) *ServerLogsParams
WithPageOrderDirection adds the orderDirection to the server logs params
func (*ServerLogsParams) WithPageOrderField ¶ added in v0.6.0
func (o *ServerLogsParams) WithPageOrderField(orderField *string) *ServerLogsParams
WithPageOrderField adds the orderField to the server logs params
func (*ServerLogsParams) WithTimeout ¶
func (o *ServerLogsParams) WithTimeout(timeout time.Duration) *ServerLogsParams
WithTimeout adds the timeout to the server logs params
func (*ServerLogsParams) WriteToRequest ¶
func (o *ServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerLogsReader ¶
type ServerLogsReader struct {
// contains filtered or unexported fields
}
ServerLogsReader is a Reader for the ServerLogs structure.
func (*ServerLogsReader) ReadResponse ¶
func (o *ServerLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.