Documentation
¶
Index ¶
- type Client
- func (a *Client) ContainerEnrichment(params *ContainerEnrichmentParams, opts ...ClientOption) error
- func (a *Client) DeploymentEnrichment(params *DeploymentEnrichmentParams, opts ...ClientOption) error
- func (a *Client) PodEnrichment(params *PodEnrichmentParams, opts ...ClientOption) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContainerEnrichmentDefault
- func (o *ContainerEnrichmentDefault) Code() int
- func (o *ContainerEnrichmentDefault) Error() string
- func (o *ContainerEnrichmentDefault) IsClientError() bool
- func (o *ContainerEnrichmentDefault) IsCode(code int) bool
- func (o *ContainerEnrichmentDefault) IsRedirect() bool
- func (o *ContainerEnrichmentDefault) IsServerError() bool
- func (o *ContainerEnrichmentDefault) IsSuccess() bool
- func (o *ContainerEnrichmentDefault) String() string
- type ContainerEnrichmentParams
- func NewContainerEnrichmentParams() *ContainerEnrichmentParams
- func NewContainerEnrichmentParamsWithContext(ctx context.Context) *ContainerEnrichmentParams
- func NewContainerEnrichmentParamsWithHTTPClient(client *http.Client) *ContainerEnrichmentParams
- func NewContainerEnrichmentParamsWithTimeout(timeout time.Duration) *ContainerEnrichmentParams
- func (o *ContainerEnrichmentParams) SetContext(ctx context.Context)
- func (o *ContainerEnrichmentParams) SetDefaults()
- func (o *ContainerEnrichmentParams) SetHTTPClient(client *http.Client)
- func (o *ContainerEnrichmentParams) SetTimeout(timeout time.Duration)
- func (o *ContainerEnrichmentParams) WithContext(ctx context.Context) *ContainerEnrichmentParams
- func (o *ContainerEnrichmentParams) WithDefaults() *ContainerEnrichmentParams
- func (o *ContainerEnrichmentParams) WithHTTPClient(client *http.Client) *ContainerEnrichmentParams
- func (o *ContainerEnrichmentParams) WithTimeout(timeout time.Duration) *ContainerEnrichmentParams
- func (o *ContainerEnrichmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerEnrichmentReader
- type DeploymentEnrichmentDefault
- func (o *DeploymentEnrichmentDefault) Code() int
- func (o *DeploymentEnrichmentDefault) Error() string
- func (o *DeploymentEnrichmentDefault) IsClientError() bool
- func (o *DeploymentEnrichmentDefault) IsCode(code int) bool
- func (o *DeploymentEnrichmentDefault) IsRedirect() bool
- func (o *DeploymentEnrichmentDefault) IsServerError() bool
- func (o *DeploymentEnrichmentDefault) IsSuccess() bool
- func (o *DeploymentEnrichmentDefault) String() string
- type DeploymentEnrichmentParams
- func NewDeploymentEnrichmentParams() *DeploymentEnrichmentParams
- func NewDeploymentEnrichmentParamsWithContext(ctx context.Context) *DeploymentEnrichmentParams
- func NewDeploymentEnrichmentParamsWithHTTPClient(client *http.Client) *DeploymentEnrichmentParams
- func NewDeploymentEnrichmentParamsWithTimeout(timeout time.Duration) *DeploymentEnrichmentParams
- func (o *DeploymentEnrichmentParams) SetContext(ctx context.Context)
- func (o *DeploymentEnrichmentParams) SetDefaults()
- func (o *DeploymentEnrichmentParams) SetHTTPClient(client *http.Client)
- func (o *DeploymentEnrichmentParams) SetTimeout(timeout time.Duration)
- func (o *DeploymentEnrichmentParams) WithContext(ctx context.Context) *DeploymentEnrichmentParams
- func (o *DeploymentEnrichmentParams) WithDefaults() *DeploymentEnrichmentParams
- func (o *DeploymentEnrichmentParams) WithHTTPClient(client *http.Client) *DeploymentEnrichmentParams
- func (o *DeploymentEnrichmentParams) WithTimeout(timeout time.Duration) *DeploymentEnrichmentParams
- func (o *DeploymentEnrichmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeploymentEnrichmentReader
- type PodEnrichmentDefault
- func (o *PodEnrichmentDefault) Code() int
- func (o *PodEnrichmentDefault) Error() string
- func (o *PodEnrichmentDefault) IsClientError() bool
- func (o *PodEnrichmentDefault) IsCode(code int) bool
- func (o *PodEnrichmentDefault) IsRedirect() bool
- func (o *PodEnrichmentDefault) IsServerError() bool
- func (o *PodEnrichmentDefault) IsSuccess() bool
- func (o *PodEnrichmentDefault) String() string
- type PodEnrichmentParams
- func (o *PodEnrichmentParams) SetContext(ctx context.Context)
- func (o *PodEnrichmentParams) SetDefaults()
- func (o *PodEnrichmentParams) SetHTTPClient(client *http.Client)
- func (o *PodEnrichmentParams) SetTimeout(timeout time.Duration)
- func (o *PodEnrichmentParams) WithContext(ctx context.Context) *PodEnrichmentParams
- func (o *PodEnrichmentParams) WithDefaults() *PodEnrichmentParams
- func (o *PodEnrichmentParams) WithHTTPClient(client *http.Client) *PodEnrichmentParams
- func (o *PodEnrichmentParams) WithTimeout(timeout time.Duration) *PodEnrichmentParams
- func (o *PodEnrichmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PodEnrichmentReader
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 operations API
func (*Client) ContainerEnrichment ¶
func (a *Client) ContainerEnrichment(params *ContainerEnrichmentParams, opts ...ClientOption) error
ContainerEnrichment container enrichment API
func (*Client) DeploymentEnrichment ¶
func (a *Client) DeploymentEnrichment(params *DeploymentEnrichmentParams, opts ...ClientOption) error
DeploymentEnrichment deployment enrichment API
func (*Client) PodEnrichment ¶
func (a *Client) PodEnrichment(params *PodEnrichmentParams, opts ...ClientOption) error
PodEnrichment pod enrichment API
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 { ContainerEnrichment(params *ContainerEnrichmentParams, opts ...ClientOption) error DeploymentEnrichment(params *DeploymentEnrichmentParams, opts ...ClientOption) error PodEnrichment(params *PodEnrichmentParams, opts ...ClientOption) 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 operations API client.
type ContainerEnrichmentDefault ¶
type ContainerEnrichmentDefault struct {
// contains filtered or unexported fields
}
ContainerEnrichmentDefault describes a response with status code -1, with default header values.
ContainerEnrichmentDefault container enrichment default
func NewContainerEnrichmentDefault ¶
func NewContainerEnrichmentDefault(code int) *ContainerEnrichmentDefault
NewContainerEnrichmentDefault creates a ContainerEnrichmentDefault with default headers values
func (*ContainerEnrichmentDefault) Code ¶
func (o *ContainerEnrichmentDefault) Code() int
Code gets the status code for the container enrichment default response
func (*ContainerEnrichmentDefault) Error ¶
func (o *ContainerEnrichmentDefault) Error() string
func (*ContainerEnrichmentDefault) IsClientError ¶
func (o *ContainerEnrichmentDefault) IsClientError() bool
IsClientError returns true when this container enrichment default response has a 4xx status code
func (*ContainerEnrichmentDefault) IsCode ¶
func (o *ContainerEnrichmentDefault) IsCode(code int) bool
IsCode returns true when this container enrichment default response a status code equal to that given
func (*ContainerEnrichmentDefault) IsRedirect ¶
func (o *ContainerEnrichmentDefault) IsRedirect() bool
IsRedirect returns true when this container enrichment default response has a 3xx status code
func (*ContainerEnrichmentDefault) IsServerError ¶
func (o *ContainerEnrichmentDefault) IsServerError() bool
IsServerError returns true when this container enrichment default response has a 5xx status code
func (*ContainerEnrichmentDefault) IsSuccess ¶
func (o *ContainerEnrichmentDefault) IsSuccess() bool
IsSuccess returns true when this container enrichment default response has a 2xx status code
func (*ContainerEnrichmentDefault) String ¶
func (o *ContainerEnrichmentDefault) String() string
type ContainerEnrichmentParams ¶
type ContainerEnrichmentParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerEnrichmentParams contains all the parameters to send to the API endpoint
for the container enrichment operation. Typically these are written to a http.Request.
func NewContainerEnrichmentParams ¶
func NewContainerEnrichmentParams() *ContainerEnrichmentParams
NewContainerEnrichmentParams creates a new ContainerEnrichmentParams 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 NewContainerEnrichmentParamsWithContext ¶
func NewContainerEnrichmentParamsWithContext(ctx context.Context) *ContainerEnrichmentParams
NewContainerEnrichmentParamsWithContext creates a new ContainerEnrichmentParams object with the ability to set a context for a request.
func NewContainerEnrichmentParamsWithHTTPClient ¶
func NewContainerEnrichmentParamsWithHTTPClient(client *http.Client) *ContainerEnrichmentParams
NewContainerEnrichmentParamsWithHTTPClient creates a new ContainerEnrichmentParams object with the ability to set a custom HTTPClient for a request.
func NewContainerEnrichmentParamsWithTimeout ¶
func NewContainerEnrichmentParamsWithTimeout(timeout time.Duration) *ContainerEnrichmentParams
NewContainerEnrichmentParamsWithTimeout creates a new ContainerEnrichmentParams object with the ability to set a timeout on a request.
func (*ContainerEnrichmentParams) SetContext ¶
func (o *ContainerEnrichmentParams) SetContext(ctx context.Context)
SetContext adds the context to the container enrichment params
func (*ContainerEnrichmentParams) SetDefaults ¶
func (o *ContainerEnrichmentParams) SetDefaults()
SetDefaults hydrates default values in the container enrichment params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerEnrichmentParams) SetHTTPClient ¶
func (o *ContainerEnrichmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container enrichment params
func (*ContainerEnrichmentParams) SetTimeout ¶
func (o *ContainerEnrichmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container enrichment params
func (*ContainerEnrichmentParams) WithContext ¶
func (o *ContainerEnrichmentParams) WithContext(ctx context.Context) *ContainerEnrichmentParams
WithContext adds the context to the container enrichment params
func (*ContainerEnrichmentParams) WithDefaults ¶
func (o *ContainerEnrichmentParams) WithDefaults() *ContainerEnrichmentParams
WithDefaults hydrates default values in the container enrichment params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerEnrichmentParams) WithHTTPClient ¶
func (o *ContainerEnrichmentParams) WithHTTPClient(client *http.Client) *ContainerEnrichmentParams
WithHTTPClient adds the HTTPClient to the container enrichment params
func (*ContainerEnrichmentParams) WithTimeout ¶
func (o *ContainerEnrichmentParams) WithTimeout(timeout time.Duration) *ContainerEnrichmentParams
WithTimeout adds the timeout to the container enrichment params
func (*ContainerEnrichmentParams) WriteToRequest ¶
func (o *ContainerEnrichmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerEnrichmentReader ¶
type ContainerEnrichmentReader struct {
// contains filtered or unexported fields
}
ContainerEnrichmentReader is a Reader for the ContainerEnrichment structure.
func (*ContainerEnrichmentReader) ReadResponse ¶
func (o *ContainerEnrichmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeploymentEnrichmentDefault ¶
type DeploymentEnrichmentDefault struct {
// contains filtered or unexported fields
}
DeploymentEnrichmentDefault describes a response with status code -1, with default header values.
DeploymentEnrichmentDefault deployment enrichment default
func NewDeploymentEnrichmentDefault ¶
func NewDeploymentEnrichmentDefault(code int) *DeploymentEnrichmentDefault
NewDeploymentEnrichmentDefault creates a DeploymentEnrichmentDefault with default headers values
func (*DeploymentEnrichmentDefault) Code ¶
func (o *DeploymentEnrichmentDefault) Code() int
Code gets the status code for the deployment enrichment default response
func (*DeploymentEnrichmentDefault) Error ¶
func (o *DeploymentEnrichmentDefault) Error() string
func (*DeploymentEnrichmentDefault) IsClientError ¶
func (o *DeploymentEnrichmentDefault) IsClientError() bool
IsClientError returns true when this deployment enrichment default response has a 4xx status code
func (*DeploymentEnrichmentDefault) IsCode ¶
func (o *DeploymentEnrichmentDefault) IsCode(code int) bool
IsCode returns true when this deployment enrichment default response a status code equal to that given
func (*DeploymentEnrichmentDefault) IsRedirect ¶
func (o *DeploymentEnrichmentDefault) IsRedirect() bool
IsRedirect returns true when this deployment enrichment default response has a 3xx status code
func (*DeploymentEnrichmentDefault) IsServerError ¶
func (o *DeploymentEnrichmentDefault) IsServerError() bool
IsServerError returns true when this deployment enrichment default response has a 5xx status code
func (*DeploymentEnrichmentDefault) IsSuccess ¶
func (o *DeploymentEnrichmentDefault) IsSuccess() bool
IsSuccess returns true when this deployment enrichment default response has a 2xx status code
func (*DeploymentEnrichmentDefault) String ¶
func (o *DeploymentEnrichmentDefault) String() string
type DeploymentEnrichmentParams ¶
type DeploymentEnrichmentParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeploymentEnrichmentParams contains all the parameters to send to the API endpoint
for the deployment enrichment operation. Typically these are written to a http.Request.
func NewDeploymentEnrichmentParams ¶
func NewDeploymentEnrichmentParams() *DeploymentEnrichmentParams
NewDeploymentEnrichmentParams creates a new DeploymentEnrichmentParams 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 NewDeploymentEnrichmentParamsWithContext ¶
func NewDeploymentEnrichmentParamsWithContext(ctx context.Context) *DeploymentEnrichmentParams
NewDeploymentEnrichmentParamsWithContext creates a new DeploymentEnrichmentParams object with the ability to set a context for a request.
func NewDeploymentEnrichmentParamsWithHTTPClient ¶
func NewDeploymentEnrichmentParamsWithHTTPClient(client *http.Client) *DeploymentEnrichmentParams
NewDeploymentEnrichmentParamsWithHTTPClient creates a new DeploymentEnrichmentParams object with the ability to set a custom HTTPClient for a request.
func NewDeploymentEnrichmentParamsWithTimeout ¶
func NewDeploymentEnrichmentParamsWithTimeout(timeout time.Duration) *DeploymentEnrichmentParams
NewDeploymentEnrichmentParamsWithTimeout creates a new DeploymentEnrichmentParams object with the ability to set a timeout on a request.
func (*DeploymentEnrichmentParams) SetContext ¶
func (o *DeploymentEnrichmentParams) SetContext(ctx context.Context)
SetContext adds the context to the deployment enrichment params
func (*DeploymentEnrichmentParams) SetDefaults ¶
func (o *DeploymentEnrichmentParams) SetDefaults()
SetDefaults hydrates default values in the deployment enrichment params (not the query body).
All values with no default are reset to their zero value.
func (*DeploymentEnrichmentParams) SetHTTPClient ¶
func (o *DeploymentEnrichmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deployment enrichment params
func (*DeploymentEnrichmentParams) SetTimeout ¶
func (o *DeploymentEnrichmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deployment enrichment params
func (*DeploymentEnrichmentParams) WithContext ¶
func (o *DeploymentEnrichmentParams) WithContext(ctx context.Context) *DeploymentEnrichmentParams
WithContext adds the context to the deployment enrichment params
func (*DeploymentEnrichmentParams) WithDefaults ¶
func (o *DeploymentEnrichmentParams) WithDefaults() *DeploymentEnrichmentParams
WithDefaults hydrates default values in the deployment enrichment params (not the query body).
All values with no default are reset to their zero value.
func (*DeploymentEnrichmentParams) WithHTTPClient ¶
func (o *DeploymentEnrichmentParams) WithHTTPClient(client *http.Client) *DeploymentEnrichmentParams
WithHTTPClient adds the HTTPClient to the deployment enrichment params
func (*DeploymentEnrichmentParams) WithTimeout ¶
func (o *DeploymentEnrichmentParams) WithTimeout(timeout time.Duration) *DeploymentEnrichmentParams
WithTimeout adds the timeout to the deployment enrichment params
func (*DeploymentEnrichmentParams) WriteToRequest ¶
func (o *DeploymentEnrichmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeploymentEnrichmentReader ¶
type DeploymentEnrichmentReader struct {
// contains filtered or unexported fields
}
DeploymentEnrichmentReader is a Reader for the DeploymentEnrichment structure.
func (*DeploymentEnrichmentReader) ReadResponse ¶
func (o *DeploymentEnrichmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PodEnrichmentDefault ¶
type PodEnrichmentDefault struct {
// contains filtered or unexported fields
}
PodEnrichmentDefault describes a response with status code -1, with default header values.
PodEnrichmentDefault pod enrichment default
func NewPodEnrichmentDefault ¶
func NewPodEnrichmentDefault(code int) *PodEnrichmentDefault
NewPodEnrichmentDefault creates a PodEnrichmentDefault with default headers values
func (*PodEnrichmentDefault) Code ¶
func (o *PodEnrichmentDefault) Code() int
Code gets the status code for the pod enrichment default response
func (*PodEnrichmentDefault) Error ¶
func (o *PodEnrichmentDefault) Error() string
func (*PodEnrichmentDefault) IsClientError ¶
func (o *PodEnrichmentDefault) IsClientError() bool
IsClientError returns true when this pod enrichment default response has a 4xx status code
func (*PodEnrichmentDefault) IsCode ¶
func (o *PodEnrichmentDefault) IsCode(code int) bool
IsCode returns true when this pod enrichment default response a status code equal to that given
func (*PodEnrichmentDefault) IsRedirect ¶
func (o *PodEnrichmentDefault) IsRedirect() bool
IsRedirect returns true when this pod enrichment default response has a 3xx status code
func (*PodEnrichmentDefault) IsServerError ¶
func (o *PodEnrichmentDefault) IsServerError() bool
IsServerError returns true when this pod enrichment default response has a 5xx status code
func (*PodEnrichmentDefault) IsSuccess ¶
func (o *PodEnrichmentDefault) IsSuccess() bool
IsSuccess returns true when this pod enrichment default response has a 2xx status code
func (*PodEnrichmentDefault) String ¶
func (o *PodEnrichmentDefault) String() string
type PodEnrichmentParams ¶
type PodEnrichmentParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PodEnrichmentParams contains all the parameters to send to the API endpoint
for the pod enrichment operation. Typically these are written to a http.Request.
func NewPodEnrichmentParams ¶
func NewPodEnrichmentParams() *PodEnrichmentParams
NewPodEnrichmentParams creates a new PodEnrichmentParams 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 NewPodEnrichmentParamsWithContext ¶
func NewPodEnrichmentParamsWithContext(ctx context.Context) *PodEnrichmentParams
NewPodEnrichmentParamsWithContext creates a new PodEnrichmentParams object with the ability to set a context for a request.
func NewPodEnrichmentParamsWithHTTPClient ¶
func NewPodEnrichmentParamsWithHTTPClient(client *http.Client) *PodEnrichmentParams
NewPodEnrichmentParamsWithHTTPClient creates a new PodEnrichmentParams object with the ability to set a custom HTTPClient for a request.
func NewPodEnrichmentParamsWithTimeout ¶
func NewPodEnrichmentParamsWithTimeout(timeout time.Duration) *PodEnrichmentParams
NewPodEnrichmentParamsWithTimeout creates a new PodEnrichmentParams object with the ability to set a timeout on a request.
func (*PodEnrichmentParams) SetContext ¶
func (o *PodEnrichmentParams) SetContext(ctx context.Context)
SetContext adds the context to the pod enrichment params
func (*PodEnrichmentParams) SetDefaults ¶
func (o *PodEnrichmentParams) SetDefaults()
SetDefaults hydrates default values in the pod enrichment params (not the query body).
All values with no default are reset to their zero value.
func (*PodEnrichmentParams) SetHTTPClient ¶
func (o *PodEnrichmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pod enrichment params
func (*PodEnrichmentParams) SetTimeout ¶
func (o *PodEnrichmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pod enrichment params
func (*PodEnrichmentParams) WithContext ¶
func (o *PodEnrichmentParams) WithContext(ctx context.Context) *PodEnrichmentParams
WithContext adds the context to the pod enrichment params
func (*PodEnrichmentParams) WithDefaults ¶
func (o *PodEnrichmentParams) WithDefaults() *PodEnrichmentParams
WithDefaults hydrates default values in the pod enrichment params (not the query body).
All values with no default are reset to their zero value.
func (*PodEnrichmentParams) WithHTTPClient ¶
func (o *PodEnrichmentParams) WithHTTPClient(client *http.Client) *PodEnrichmentParams
WithHTTPClient adds the HTTPClient to the pod enrichment params
func (*PodEnrichmentParams) WithTimeout ¶
func (o *PodEnrichmentParams) WithTimeout(timeout time.Duration) *PodEnrichmentParams
WithTimeout adds the timeout to the pod enrichment params
func (*PodEnrichmentParams) WriteToRequest ¶
func (o *PodEnrichmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PodEnrichmentReader ¶
type PodEnrichmentReader struct {
// contains filtered or unexported fields
}
PodEnrichmentReader is a Reader for the PodEnrichment structure.
func (*PodEnrichmentReader) ReadResponse ¶
func (o *PodEnrichmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.