operations

package
v0.0.0-...-b41912a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 (*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

WithContext adds the context to the container enrichment params

func (*ContainerEnrichmentParams) WithDefaults

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

WithTimeout adds the timeout to the container enrichment params

func (*ContainerEnrichmentParams) WriteToRequest

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 (*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

WithContext adds the context to the deployment enrichment params

func (*DeploymentEnrichmentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the deployment enrichment params

func (*DeploymentEnrichmentParams) WithTimeout

WithTimeout adds the timeout to the deployment enrichment params

func (*DeploymentEnrichmentParams) WriteToRequest

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL