fleet

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package fleet provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.14.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BasicAuthScopes = "basicAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewAgentPolicyInfoRequest

func NewAgentPolicyInfoRequest(server string, agentPolicyId string) (*http.Request, error)

NewAgentPolicyInfoRequest generates requests for AgentPolicyInfo

func NewCreateAgentPolicyRequest

func NewCreateAgentPolicyRequest(server string, body CreateAgentPolicyJSONRequestBody) (*http.Request, error)

NewCreateAgentPolicyRequest calls the generic CreateAgentPolicy builder with application/json body

func NewCreateAgentPolicyRequestWithBody

func NewCreateAgentPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAgentPolicyRequestWithBody generates requests for CreateAgentPolicy with any type of body

func NewDeleteAgentPolicyRequest

func NewDeleteAgentPolicyRequest(server string, body DeleteAgentPolicyJSONRequestBody) (*http.Request, error)

NewDeleteAgentPolicyRequest calls the generic DeleteAgentPolicy builder with application/json body

func NewDeleteAgentPolicyRequestWithBody

func NewDeleteAgentPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteAgentPolicyRequestWithBody generates requests for DeleteAgentPolicy with any type of body

func NewDeleteFleetServerHostsRequest

func NewDeleteFleetServerHostsRequest(server string, itemId string) (*http.Request, error)

NewDeleteFleetServerHostsRequest generates requests for DeleteFleetServerHosts

func NewDeleteOutputRequest

func NewDeleteOutputRequest(server string, outputId string) (*http.Request, error)

NewDeleteOutputRequest generates requests for DeleteOutput

func NewGetEnrollmentApiKeysRequest

func NewGetEnrollmentApiKeysRequest(server string) (*http.Request, error)

NewGetEnrollmentApiKeysRequest generates requests for GetEnrollmentApiKeys

func NewGetOneFleetServerHostsRequest

func NewGetOneFleetServerHostsRequest(server string, itemId string) (*http.Request, error)

NewGetOneFleetServerHostsRequest generates requests for GetOneFleetServerHosts

func NewGetOutputRequest

func NewGetOutputRequest(server string, outputId string) (*http.Request, error)

NewGetOutputRequest generates requests for GetOutput

func NewPostFleetServerHostsRequest

func NewPostFleetServerHostsRequest(server string, body PostFleetServerHostsJSONRequestBody) (*http.Request, error)

NewPostFleetServerHostsRequest calls the generic PostFleetServerHosts builder with application/json body

func NewPostFleetServerHostsRequestWithBody

func NewPostFleetServerHostsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetServerHostsRequestWithBody generates requests for PostFleetServerHosts with any type of body

func NewPostOutputsRequest

func NewPostOutputsRequest(server string, body PostOutputsJSONRequestBody) (*http.Request, error)

NewPostOutputsRequest calls the generic PostOutputs builder with application/json body

func NewPostOutputsRequestWithBody

func NewPostOutputsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostOutputsRequestWithBody generates requests for PostOutputs with any type of body

func NewUpdateAgentPolicyRequest

func NewUpdateAgentPolicyRequest(server string, agentPolicyId string, body UpdateAgentPolicyJSONRequestBody) (*http.Request, error)

NewUpdateAgentPolicyRequest calls the generic UpdateAgentPolicy builder with application/json body

func NewUpdateAgentPolicyRequestWithBody

func NewUpdateAgentPolicyRequestWithBody(server string, agentPolicyId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAgentPolicyRequestWithBody generates requests for UpdateAgentPolicy with any type of body

func NewUpdateFleetServerHostsRequest

func NewUpdateFleetServerHostsRequest(server string, itemId string, body UpdateFleetServerHostsJSONRequestBody) (*http.Request, error)

NewUpdateFleetServerHostsRequest calls the generic UpdateFleetServerHosts builder with application/json body

func NewUpdateFleetServerHostsRequestWithBody

func NewUpdateFleetServerHostsRequestWithBody(server string, itemId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateFleetServerHostsRequestWithBody generates requests for UpdateFleetServerHosts with any type of body

func NewUpdateOutputRequest

func NewUpdateOutputRequest(server string, outputId string, body UpdateOutputJSONRequestBody) (*http.Request, error)

NewUpdateOutputRequest calls the generic UpdateOutput builder with application/json body

func NewUpdateOutputRequestWithBody

func NewUpdateOutputRequestWithBody(server string, outputId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOutputRequestWithBody generates requests for UpdateOutput with any type of body

Types

type AgentPolicy

type AgentPolicy struct {
	AgentFeatures *[]struct {
		Enabled bool   `json:"enabled"`
		Name    string `json:"name"`
	} `json:"agent_features,omitempty"`
	Agents            *float32 `json:"agents,omitempty"`
	DataOutputId      *string  `json:"data_output_id"`
	Description       *string  `json:"description,omitempty"`
	DownloadSourceId  *string  `json:"download_source_id"`
	FleetServerHostId *string  `json:"fleet_server_host_id"`
	Id                string   `json:"id"`
	InactivityTimeout *float32 `json:"inactivity_timeout,omitempty"`

	// IsProtected Indicates whether the agent policy has tamper protection enabled. Default false.
	IsProtected        *bool                           `json:"is_protected,omitempty"`
	MonitoringEnabled  *[]AgentPolicyMonitoringEnabled `json:"monitoring_enabled,omitempty"`
	MonitoringOutputId *string                         `json:"monitoring_output_id"`
	Name               string                          `json:"name"`
	Namespace          string                          `json:"namespace"`

	// Overrides Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure.
	Overrides *map[string]interface{} `json:"overrides"`

	// PackagePolicies This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter
	PackagePolicies *[]PackagePolicy `json:"package_policies,omitempty"`
	Revision        *float32         `json:"revision,omitempty"`
	UnenrollTimeout *float32         `json:"unenroll_timeout,omitempty"`
	UpdatedBy       *string          `json:"updated_by,omitempty"`
	UpdatedOn       *time.Time       `json:"updated_on,omitempty"`
}

AgentPolicy defines model for agent_policy.

type AgentPolicyCreateRequest

type AgentPolicyCreateRequest struct {
	AgentFeatures *[]struct {
		Enabled bool   `json:"enabled"`
		Name    string `json:"name"`
	} `json:"agent_features,omitempty"`
	DataOutputId       *string                                      `json:"data_output_id"`
	Description        *string                                      `json:"description,omitempty"`
	DownloadSourceId   *string                                      `json:"download_source_id"`
	FleetServerHostId  *string                                      `json:"fleet_server_host_id"`
	Id                 *string                                      `json:"id,omitempty"`
	InactivityTimeout  *float32                                     `json:"inactivity_timeout,omitempty"`
	IsProtected        *bool                                        `json:"is_protected,omitempty"`
	MonitoringEnabled  *[]AgentPolicyCreateRequestMonitoringEnabled `json:"monitoring_enabled,omitempty"`
	MonitoringOutputId *string                                      `json:"monitoring_output_id"`
	Name               string                                       `json:"name"`
	Namespace          string                                       `json:"namespace"`
	UnenrollTimeout    *float32                                     `json:"unenroll_timeout,omitempty"`
}

AgentPolicyCreateRequest defines model for agent_policy_create_request.

type AgentPolicyCreateRequestMonitoringEnabled

type AgentPolicyCreateRequestMonitoringEnabled string

AgentPolicyCreateRequestMonitoringEnabled defines model for AgentPolicyCreateRequest.MonitoringEnabled.

const (
	AgentPolicyCreateRequestMonitoringEnabledLogs    AgentPolicyCreateRequestMonitoringEnabled = "logs"
	AgentPolicyCreateRequestMonitoringEnabledMetrics AgentPolicyCreateRequestMonitoringEnabled = "metrics"
)

Defines values for AgentPolicyCreateRequestMonitoringEnabled.

type AgentPolicyInfoResponse

type AgentPolicyInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item AgentPolicy `json:"item"`
	}
	JSON400 *Error
}

func ParseAgentPolicyInfoResponse

func ParseAgentPolicyInfoResponse(rsp *http.Response) (*AgentPolicyInfoResponse, error)

ParseAgentPolicyInfoResponse parses an HTTP response from a AgentPolicyInfoWithResponse call

func (AgentPolicyInfoResponse) Status

func (r AgentPolicyInfoResponse) Status() string

Status returns HTTPResponse.Status

func (AgentPolicyInfoResponse) StatusCode

func (r AgentPolicyInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentPolicyMonitoringEnabled

type AgentPolicyMonitoringEnabled string

AgentPolicyMonitoringEnabled defines model for AgentPolicy.MonitoringEnabled.

const (
	AgentPolicyMonitoringEnabledLogs    AgentPolicyMonitoringEnabled = "logs"
	AgentPolicyMonitoringEnabledMetrics AgentPolicyMonitoringEnabled = "metrics"
)

Defines values for AgentPolicyMonitoringEnabled.

type AgentPolicyUpdateRequest

type AgentPolicyUpdateRequest struct {
	AgentFeatures *[]struct {
		Enabled bool   `json:"enabled"`
		Name    string `json:"name"`
	} `json:"agent_features,omitempty"`
	DataOutputId       *string                                      `json:"data_output_id"`
	Description        *string                                      `json:"description,omitempty"`
	DownloadSourceId   *string                                      `json:"download_source_id"`
	FleetServerHostId  *string                                      `json:"fleet_server_host_id"`
	InactivityTimeout  *float32                                     `json:"inactivity_timeout,omitempty"`
	IsProtected        *bool                                        `json:"is_protected,omitempty"`
	MonitoringEnabled  *[]AgentPolicyUpdateRequestMonitoringEnabled `json:"monitoring_enabled,omitempty"`
	MonitoringOutputId *string                                      `json:"monitoring_output_id"`
	Name               string                                       `json:"name"`
	Namespace          string                                       `json:"namespace"`
	UnenrollTimeout    *float32                                     `json:"unenroll_timeout,omitempty"`
}

AgentPolicyUpdateRequest defines model for agent_policy_update_request.

type AgentPolicyUpdateRequestMonitoringEnabled

type AgentPolicyUpdateRequestMonitoringEnabled string

AgentPolicyUpdateRequestMonitoringEnabled defines model for AgentPolicyUpdateRequest.MonitoringEnabled.

Defines values for AgentPolicyUpdateRequestMonitoringEnabled.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AgentPolicyInfo

func (c *Client) AgentPolicyInfo(ctx context.Context, agentPolicyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAgentPolicy

func (c *Client) CreateAgentPolicy(ctx context.Context, body CreateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAgentPolicyWithBody

func (c *Client) CreateAgentPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAgentPolicy

func (c *Client) DeleteAgentPolicy(ctx context.Context, body DeleteAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAgentPolicyWithBody

func (c *Client) DeleteAgentPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFleetServerHosts

func (c *Client) DeleteFleetServerHosts(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteOutput

func (c *Client) DeleteOutput(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEnrollmentApiKeys

func (c *Client) GetEnrollmentApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOneFleetServerHosts

func (c *Client) GetOneFleetServerHosts(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOutput

func (c *Client) GetOutput(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetServerHosts

func (c *Client) PostFleetServerHosts(ctx context.Context, body PostFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetServerHostsWithBody

func (c *Client) PostFleetServerHostsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOutputs

func (c *Client) PostOutputs(ctx context.Context, body PostOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostOutputsWithBody

func (c *Client) PostOutputsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAgentPolicy

func (c *Client) UpdateAgentPolicy(ctx context.Context, agentPolicyId string, body UpdateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAgentPolicyWithBody

func (c *Client) UpdateAgentPolicyWithBody(ctx context.Context, agentPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFleetServerHosts

func (c *Client) UpdateFleetServerHosts(ctx context.Context, itemId string, body UpdateFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFleetServerHostsWithBody

func (c *Client) UpdateFleetServerHostsWithBody(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOutput

func (c *Client) UpdateOutput(ctx context.Context, outputId string, body UpdateOutputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOutputWithBody

func (c *Client) UpdateOutputWithBody(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// CreateAgentPolicyWithBody request with any body
	CreateAgentPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAgentPolicy(ctx context.Context, body CreateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAgentPolicyWithBody request with any body
	DeleteAgentPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteAgentPolicy(ctx context.Context, body DeleteAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentPolicyInfo request
	AgentPolicyInfo(ctx context.Context, agentPolicyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAgentPolicyWithBody request with any body
	UpdateAgentPolicyWithBody(ctx context.Context, agentPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateAgentPolicy(ctx context.Context, agentPolicyId string, body UpdateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnrollmentApiKeys request
	GetEnrollmentApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetServerHostsWithBody request with any body
	PostFleetServerHostsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetServerHosts(ctx context.Context, body PostFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFleetServerHosts request
	DeleteFleetServerHosts(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOneFleetServerHosts request
	GetOneFleetServerHosts(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateFleetServerHostsWithBody request with any body
	UpdateFleetServerHostsWithBody(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateFleetServerHosts(ctx context.Context, itemId string, body UpdateFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostOutputsWithBody request with any body
	PostOutputsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostOutputs(ctx context.Context, body PostOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOutput request
	DeleteOutput(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOutput request
	GetOutput(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOutputWithBody request with any body
	UpdateOutputWithBody(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateOutput(ctx context.Context, outputId string, body UpdateOutputJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AgentPolicyInfoWithResponse

func (c *ClientWithResponses) AgentPolicyInfoWithResponse(ctx context.Context, agentPolicyId string, reqEditors ...RequestEditorFn) (*AgentPolicyInfoResponse, error)

AgentPolicyInfoWithResponse request returning *AgentPolicyInfoResponse

func (*ClientWithResponses) CreateAgentPolicyWithBodyWithResponse

func (c *ClientWithResponses) CreateAgentPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentPolicyResponse, error)

CreateAgentPolicyWithBodyWithResponse request with arbitrary body returning *CreateAgentPolicyResponse

func (*ClientWithResponses) CreateAgentPolicyWithResponse

func (c *ClientWithResponses) CreateAgentPolicyWithResponse(ctx context.Context, body CreateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentPolicyResponse, error)

func (*ClientWithResponses) DeleteAgentPolicyWithBodyWithResponse

func (c *ClientWithResponses) DeleteAgentPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAgentPolicyResponse, error)

DeleteAgentPolicyWithBodyWithResponse request with arbitrary body returning *DeleteAgentPolicyResponse

func (*ClientWithResponses) DeleteAgentPolicyWithResponse

func (c *ClientWithResponses) DeleteAgentPolicyWithResponse(ctx context.Context, body DeleteAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAgentPolicyResponse, error)

func (*ClientWithResponses) DeleteFleetServerHostsWithResponse

func (c *ClientWithResponses) DeleteFleetServerHostsWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*DeleteFleetServerHostsResponse, error)

DeleteFleetServerHostsWithResponse request returning *DeleteFleetServerHostsResponse

func (*ClientWithResponses) DeleteOutputWithResponse

func (c *ClientWithResponses) DeleteOutputWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*DeleteOutputResponse, error)

DeleteOutputWithResponse request returning *DeleteOutputResponse

func (*ClientWithResponses) GetEnrollmentApiKeysWithResponse

func (c *ClientWithResponses) GetEnrollmentApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEnrollmentApiKeysResponse, error)

GetEnrollmentApiKeysWithResponse request returning *GetEnrollmentApiKeysResponse

func (*ClientWithResponses) GetOneFleetServerHostsWithResponse

func (c *ClientWithResponses) GetOneFleetServerHostsWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*GetOneFleetServerHostsResponse, error)

GetOneFleetServerHostsWithResponse request returning *GetOneFleetServerHostsResponse

func (*ClientWithResponses) GetOutputWithResponse

func (c *ClientWithResponses) GetOutputWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*GetOutputResponse, error)

GetOutputWithResponse request returning *GetOutputResponse

func (*ClientWithResponses) PostFleetServerHostsWithBodyWithResponse

func (c *ClientWithResponses) PostFleetServerHostsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetServerHostsResponse, error)

PostFleetServerHostsWithBodyWithResponse request with arbitrary body returning *PostFleetServerHostsResponse

func (*ClientWithResponses) PostFleetServerHostsWithResponse

func (c *ClientWithResponses) PostFleetServerHostsWithResponse(ctx context.Context, body PostFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetServerHostsResponse, error)

func (*ClientWithResponses) PostOutputsWithBodyWithResponse

func (c *ClientWithResponses) PostOutputsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOutputsResponse, error)

PostOutputsWithBodyWithResponse request with arbitrary body returning *PostOutputsResponse

func (*ClientWithResponses) PostOutputsWithResponse

func (c *ClientWithResponses) PostOutputsWithResponse(ctx context.Context, body PostOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOutputsResponse, error)

func (*ClientWithResponses) UpdateAgentPolicyWithBodyWithResponse

func (c *ClientWithResponses) UpdateAgentPolicyWithBodyWithResponse(ctx context.Context, agentPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentPolicyResponse, error)

UpdateAgentPolicyWithBodyWithResponse request with arbitrary body returning *UpdateAgentPolicyResponse

func (*ClientWithResponses) UpdateAgentPolicyWithResponse

func (c *ClientWithResponses) UpdateAgentPolicyWithResponse(ctx context.Context, agentPolicyId string, body UpdateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentPolicyResponse, error)

func (*ClientWithResponses) UpdateFleetServerHostsWithBodyWithResponse

func (c *ClientWithResponses) UpdateFleetServerHostsWithBodyWithResponse(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFleetServerHostsResponse, error)

UpdateFleetServerHostsWithBodyWithResponse request with arbitrary body returning *UpdateFleetServerHostsResponse

func (*ClientWithResponses) UpdateFleetServerHostsWithResponse

func (c *ClientWithResponses) UpdateFleetServerHostsWithResponse(ctx context.Context, itemId string, body UpdateFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFleetServerHostsResponse, error)

func (*ClientWithResponses) UpdateOutputWithBodyWithResponse

func (c *ClientWithResponses) UpdateOutputWithBodyWithResponse(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOutputResponse, error)

UpdateOutputWithBodyWithResponse request with arbitrary body returning *UpdateOutputResponse

func (*ClientWithResponses) UpdateOutputWithResponse

func (c *ClientWithResponses) UpdateOutputWithResponse(ctx context.Context, outputId string, body UpdateOutputJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOutputResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// CreateAgentPolicyWithBodyWithResponse request with any body
	CreateAgentPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentPolicyResponse, error)

	CreateAgentPolicyWithResponse(ctx context.Context, body CreateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentPolicyResponse, error)

	// DeleteAgentPolicyWithBodyWithResponse request with any body
	DeleteAgentPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAgentPolicyResponse, error)

	DeleteAgentPolicyWithResponse(ctx context.Context, body DeleteAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAgentPolicyResponse, error)

	// AgentPolicyInfoWithResponse request
	AgentPolicyInfoWithResponse(ctx context.Context, agentPolicyId string, reqEditors ...RequestEditorFn) (*AgentPolicyInfoResponse, error)

	// UpdateAgentPolicyWithBodyWithResponse request with any body
	UpdateAgentPolicyWithBodyWithResponse(ctx context.Context, agentPolicyId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentPolicyResponse, error)

	UpdateAgentPolicyWithResponse(ctx context.Context, agentPolicyId string, body UpdateAgentPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentPolicyResponse, error)

	// GetEnrollmentApiKeysWithResponse request
	GetEnrollmentApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEnrollmentApiKeysResponse, error)

	// PostFleetServerHostsWithBodyWithResponse request with any body
	PostFleetServerHostsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetServerHostsResponse, error)

	PostFleetServerHostsWithResponse(ctx context.Context, body PostFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetServerHostsResponse, error)

	// DeleteFleetServerHostsWithResponse request
	DeleteFleetServerHostsWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*DeleteFleetServerHostsResponse, error)

	// GetOneFleetServerHostsWithResponse request
	GetOneFleetServerHostsWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*GetOneFleetServerHostsResponse, error)

	// UpdateFleetServerHostsWithBodyWithResponse request with any body
	UpdateFleetServerHostsWithBodyWithResponse(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFleetServerHostsResponse, error)

	UpdateFleetServerHostsWithResponse(ctx context.Context, itemId string, body UpdateFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFleetServerHostsResponse, error)

	// PostOutputsWithBodyWithResponse request with any body
	PostOutputsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOutputsResponse, error)

	PostOutputsWithResponse(ctx context.Context, body PostOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOutputsResponse, error)

	// DeleteOutputWithResponse request
	DeleteOutputWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*DeleteOutputResponse, error)

	// GetOutputWithResponse request
	GetOutputWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*GetOutputResponse, error)

	// UpdateOutputWithBodyWithResponse request with any body
	UpdateOutputWithBodyWithResponse(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOutputResponse, error)

	UpdateOutputWithResponse(ctx context.Context, outputId string, body UpdateOutputJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOutputResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateAgentPolicyJSONRequestBody

type CreateAgentPolicyJSONRequestBody = AgentPolicyCreateRequest

CreateAgentPolicyJSONRequestBody defines body for CreateAgentPolicy for application/json ContentType.

type CreateAgentPolicyResponse

type CreateAgentPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item *AgentPolicy `json:"item,omitempty"`
	}
	JSON400 *Error
}

func ParseCreateAgentPolicyResponse

func ParseCreateAgentPolicyResponse(rsp *http.Response) (*CreateAgentPolicyResponse, error)

ParseCreateAgentPolicyResponse parses an HTTP response from a CreateAgentPolicyWithResponse call

func (CreateAgentPolicyResponse) Status

func (r CreateAgentPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAgentPolicyResponse) StatusCode

func (r CreateAgentPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAgentPolicyJSONBody

type DeleteAgentPolicyJSONBody struct {
	AgentPolicyId string `json:"agentPolicyId"`
}

DeleteAgentPolicyJSONBody defines parameters for DeleteAgentPolicy.

type DeleteAgentPolicyJSONRequestBody

type DeleteAgentPolicyJSONRequestBody DeleteAgentPolicyJSONBody

DeleteAgentPolicyJSONRequestBody defines body for DeleteAgentPolicy for application/json ContentType.

type DeleteAgentPolicyResponse

type DeleteAgentPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id      string `json:"id"`
		Success bool   `json:"success"`
	}
	JSON400 *Error
}

func ParseDeleteAgentPolicyResponse

func ParseDeleteAgentPolicyResponse(rsp *http.Response) (*DeleteAgentPolicyResponse, error)

ParseDeleteAgentPolicyResponse parses an HTTP response from a DeleteAgentPolicyWithResponse call

func (DeleteAgentPolicyResponse) Status

func (r DeleteAgentPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAgentPolicyResponse) StatusCode

func (r DeleteAgentPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetServerHostsResponse

type DeleteFleetServerHostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON400 *Error
}

func ParseDeleteFleetServerHostsResponse

func ParseDeleteFleetServerHostsResponse(rsp *http.Response) (*DeleteFleetServerHostsResponse, error)

ParseDeleteFleetServerHostsResponse parses an HTTP response from a DeleteFleetServerHostsWithResponse call

func (DeleteFleetServerHostsResponse) Status

Status returns HTTPResponse.Status

func (DeleteFleetServerHostsResponse) StatusCode

func (r DeleteFleetServerHostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOutputResponse

type DeleteOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON400 *Error
}

func ParseDeleteOutputResponse

func ParseDeleteOutputResponse(rsp *http.Response) (*DeleteOutputResponse, error)

ParseDeleteOutputResponse parses an HTTP response from a DeleteOutputWithResponse call

func (DeleteOutputResponse) Status

func (r DeleteOutputResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteOutputResponse) StatusCode

func (r DeleteOutputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnrollmentApiKey

type EnrollmentApiKey struct {
	Active    bool    `json:"active"`
	ApiKey    string  `json:"api_key"`
	ApiKeyId  string  `json:"api_key_id"`
	CreatedAt string  `json:"created_at"`
	Id        string  `json:"id"`
	Name      *string `json:"name,omitempty"`
	PolicyId  *string `json:"policy_id,omitempty"`
}

EnrollmentApiKey defines model for enrollment_api_key.

type Error

type Error struct {
	Error      *string  `json:"error,omitempty"`
	Message    *string  `json:"message,omitempty"`
	StatusCode *float32 `json:"statusCode,omitempty"`
}

Error defines model for error.

type FleetServerHost

type FleetServerHost struct {
	HostUrls        []string `json:"host_urls"`
	Id              string   `json:"id"`
	IsDefault       bool     `json:"is_default"`
	IsPreconfigured bool     `json:"is_preconfigured"`
	Name            *string  `json:"name,omitempty"`
}

FleetServerHost defines model for fleet_server_host.

type GetEnrollmentApiKeysResponse

type GetEnrollmentApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []EnrollmentApiKey `json:"items"`
		// Deprecated:
		List    *[]EnrollmentApiKey `json:"list,omitempty"`
		Page    float32             `json:"page"`
		PerPage float32             `json:"perPage"`
		Total   float32             `json:"total"`
	}
	JSON400 *Error
}

func ParseGetEnrollmentApiKeysResponse

func ParseGetEnrollmentApiKeysResponse(rsp *http.Response) (*GetEnrollmentApiKeysResponse, error)

ParseGetEnrollmentApiKeysResponse parses an HTTP response from a GetEnrollmentApiKeysWithResponse call

func (GetEnrollmentApiKeysResponse) Status

Status returns HTTPResponse.Status

func (GetEnrollmentApiKeysResponse) StatusCode

func (r GetEnrollmentApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOneFleetServerHostsResponse

type GetOneFleetServerHostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item FleetServerHost `json:"item"`
	}
	JSON400 *Error
}

func ParseGetOneFleetServerHostsResponse

func ParseGetOneFleetServerHostsResponse(rsp *http.Response) (*GetOneFleetServerHostsResponse, error)

ParseGetOneFleetServerHostsResponse parses an HTTP response from a GetOneFleetServerHostsWithResponse call

func (GetOneFleetServerHostsResponse) Status

Status returns HTTPResponse.Status

func (GetOneFleetServerHostsResponse) StatusCode

func (r GetOneFleetServerHostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOutputResponse

type GetOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item *OutputCreateRequest `json:"item,omitempty"`
	}
	JSON400 *Error
}

func ParseGetOutputResponse

func ParseGetOutputResponse(rsp *http.Response) (*GetOutputResponse, error)

ParseGetOutputResponse parses an HTTP response from a GetOutputWithResponse call

func (GetOutputResponse) Status

func (r GetOutputResponse) Status() string

Status returns HTTPResponse.Status

func (GetOutputResponse) StatusCode

func (r GetOutputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type NewPackagePolicy

type NewPackagePolicy struct {
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
	Inputs      []struct {
		Config     *map[string]interface{} `json:"config,omitempty"`
		Enabled    bool                    `json:"enabled"`
		Processors *[]string               `json:"processors,omitempty"`
		Streams    *[]interface{}          `json:"streams,omitempty"`
		Type       string                  `json:"type"`
		Vars       *map[string]interface{} `json:"vars,omitempty"`
	} `json:"inputs"`
	Name      string  `json:"name"`
	Namespace *string `json:"namespace,omitempty"`
	// Deprecated:
	OutputId *string `json:"output_id,omitempty"`
	Package  *struct {
		Name    string  `json:"name"`
		Title   *string `json:"title,omitempty"`
		Version string  `json:"version"`
	} `json:"package,omitempty"`
	PolicyId *string `json:"policy_id,omitempty"`
}

NewPackagePolicy defines model for new_package_policy.

type OutputCreateRequest

type OutputCreateRequest struct {
	// contains filtered or unexported fields
}

OutputCreateRequest defines model for output_create_request.

func (OutputCreateRequest) AsOutputCreateRequestElasticsearch

func (t OutputCreateRequest) AsOutputCreateRequestElasticsearch() (OutputCreateRequestElasticsearch, error)

AsOutputCreateRequestElasticsearch returns the union data inside the OutputCreateRequest as a OutputCreateRequestElasticsearch

func (OutputCreateRequest) AsOutputCreateRequestKafka

func (t OutputCreateRequest) AsOutputCreateRequestKafka() (OutputCreateRequestKafka, error)

AsOutputCreateRequestKafka returns the union data inside the OutputCreateRequest as a OutputCreateRequestKafka

func (OutputCreateRequest) AsOutputCreateRequestLogstash

func (t OutputCreateRequest) AsOutputCreateRequestLogstash() (OutputCreateRequestLogstash, error)

AsOutputCreateRequestLogstash returns the union data inside the OutputCreateRequest as a OutputCreateRequestLogstash

func (OutputCreateRequest) Discriminator

func (t OutputCreateRequest) Discriminator() (string, error)

func (*OutputCreateRequest) FromOutputCreateRequestElasticsearch

func (t *OutputCreateRequest) FromOutputCreateRequestElasticsearch(v OutputCreateRequestElasticsearch) error

FromOutputCreateRequestElasticsearch overwrites any union data inside the OutputCreateRequest as the provided OutputCreateRequestElasticsearch

func (*OutputCreateRequest) FromOutputCreateRequestKafka

func (t *OutputCreateRequest) FromOutputCreateRequestKafka(v OutputCreateRequestKafka) error

FromOutputCreateRequestKafka overwrites any union data inside the OutputCreateRequest as the provided OutputCreateRequestKafka

func (*OutputCreateRequest) FromOutputCreateRequestLogstash

func (t *OutputCreateRequest) FromOutputCreateRequestLogstash(v OutputCreateRequestLogstash) error

FromOutputCreateRequestLogstash overwrites any union data inside the OutputCreateRequest as the provided OutputCreateRequestLogstash

func (OutputCreateRequest) MarshalJSON

func (t OutputCreateRequest) MarshalJSON() ([]byte, error)

func (*OutputCreateRequest) MergeOutputCreateRequestElasticsearch

func (t *OutputCreateRequest) MergeOutputCreateRequestElasticsearch(v OutputCreateRequestElasticsearch) error

MergeOutputCreateRequestElasticsearch performs a merge with any union data inside the OutputCreateRequest, using the provided OutputCreateRequestElasticsearch

func (*OutputCreateRequest) MergeOutputCreateRequestKafka

func (t *OutputCreateRequest) MergeOutputCreateRequestKafka(v OutputCreateRequestKafka) error

MergeOutputCreateRequestKafka performs a merge with any union data inside the OutputCreateRequest, using the provided OutputCreateRequestKafka

func (*OutputCreateRequest) MergeOutputCreateRequestLogstash

func (t *OutputCreateRequest) MergeOutputCreateRequestLogstash(v OutputCreateRequestLogstash) error

MergeOutputCreateRequestLogstash performs a merge with any union data inside the OutputCreateRequest, using the provided OutputCreateRequestLogstash

func (*OutputCreateRequest) UnmarshalJSON

func (t *OutputCreateRequest) UnmarshalJSON(b []byte) error

func (OutputCreateRequest) ValueByDiscriminator

func (t OutputCreateRequest) ValueByDiscriminator() (interface{}, error)

type OutputCreateRequestElasticsearch

type OutputCreateRequestElasticsearch struct {
	CaSha256             *string                 `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                 `json:"ca_trusted_fingerprint,omitempty"`
	Config               *map[string]interface{} `json:"config,omitempty"`
	ConfigYaml           *string                 `json:"config_yaml,omitempty"`
	Hosts                *[]string               `json:"hosts,omitempty"`
	Id                   *string                 `json:"id,omitempty"`
	IsDefault            *bool                   `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                   `json:"is_default_monitoring,omitempty"`
	Name                 string                  `json:"name"`
	ProxyId              *string                 `json:"proxy_id,omitempty"`
	Shipper              *struct {
		CompressionLevel            *float32 `json:"compression_level,omitempty"`
		DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled,omitempty"`
		DiskQueueEnabled            *bool    `json:"disk_queue_enabled,omitempty"`
		DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled,omitempty"`
		DiskQueueMaxSize            *float32 `json:"disk_queue_max_size,omitempty"`
		DiskQueuePath               *string  `json:"disk_queue_path,omitempty"`
		Loadbalance                 *bool    `json:"loadbalance,omitempty"`
	} `json:"shipper,omitempty"`
	Ssl *struct {
		Certificate            *string   `json:"certificate,omitempty"`
		CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"`
		Key                    *string   `json:"key,omitempty"`
	} `json:"ssl,omitempty"`
	Type OutputCreateRequestElasticsearchType `json:"type"`
}

OutputCreateRequestElasticsearch defines model for output_create_request_elasticsearch.

type OutputCreateRequestElasticsearchType

type OutputCreateRequestElasticsearchType string

OutputCreateRequestElasticsearchType defines model for OutputCreateRequestElasticsearch.Type.

const (
	OutputCreateRequestElasticsearchTypeElasticsearch OutputCreateRequestElasticsearchType = "elasticsearch"
)

Defines values for OutputCreateRequestElasticsearchType.

type OutputCreateRequestKafka

type OutputCreateRequestKafka struct {
	AuthType             string                                  `json:"auth_type"`
	BrokerTimeout        *float32                                `json:"broker_timeout,omitempty"`
	CaSha256             *string                                 `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                                 `json:"ca_trusted_fingerprint,omitempty"`
	ClientId             *string                                 `json:"client_id,omitempty"`
	Compression          *string                                 `json:"compression,omitempty"`
	CompressionLevel     *float32                                `json:"compression_level,omitempty"`
	Config               *map[string]interface{}                 `json:"config,omitempty"`
	ConfigYaml           *string                                 `json:"config_yaml,omitempty"`
	ConnectionType       *OutputCreateRequestKafkaConnectionType `json:"connection_type,omitempty"`
	Headers              *[]struct {
		Key   *string `json:"key,omitempty"`
		Value *string `json:"value,omitempty"`
	} `json:"headers,omitempty"`
	Hosts               []string `json:"hosts"`
	Id                  *string  `json:"id,omitempty"`
	IsDefault           *bool    `json:"is_default,omitempty"`
	IsDefaultMonitoring *bool    `json:"is_default_monitoring,omitempty"`
	Key                 *string  `json:"key,omitempty"`
	Name                string   `json:"name"`
	Partition           *string  `json:"partition,omitempty"`
	Password            *string  `json:"password,omitempty"`
	ProxyId             *string  `json:"proxy_id,omitempty"`
	Random              *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"random,omitempty"`
	RequiredAcks *float32 `json:"required_acks,omitempty"`
	RoundRobin   *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"round_robin,omitempty"`
	Sasl *struct {
		Mechanism *string `json:"mechanism,omitempty"`
	} `json:"sasl,omitempty"`
	Shipper *struct {
		CompressionLevel            *float32 `json:"compression_level,omitempty"`
		DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled,omitempty"`
		DiskQueueEnabled            *bool    `json:"disk_queue_enabled,omitempty"`
		DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled,omitempty"`
		DiskQueueMaxSize            *float32 `json:"disk_queue_max_size,omitempty"`
		DiskQueuePath               *string  `json:"disk_queue_path,omitempty"`
		Loadbalance                 *bool    `json:"loadbalance,omitempty"`
	} `json:"shipper,omitempty"`
	Ssl *struct {
		Certificate            *string                                      `json:"certificate,omitempty"`
		CertificateAuthorities *[]string                                    `json:"certificate_authorities,omitempty"`
		Key                    *string                                      `json:"key,omitempty"`
		VerificationMode       *OutputCreateRequestKafkaSslVerificationMode `json:"verification_mode,omitempty"`
	} `json:"ssl,omitempty"`
	Timeout *float32 `json:"timeout,omitempty"`
	Topics  []struct {
		Topic *string `json:"topic,omitempty"`
		When  *struct {
			Condition *string `json:"condition,omitempty"`
			Type      *string `json:"type,omitempty"`
		} `json:"when,omitempty"`
	} `json:"topics"`
	Type     OutputCreateRequestKafkaType `json:"type"`
	Username *string                      `json:"username,omitempty"`
	Version  *string                      `json:"version,omitempty"`
}

OutputCreateRequestKafka defines model for output_create_request_kafka.

type OutputCreateRequestKafkaConnectionType

type OutputCreateRequestKafkaConnectionType string

OutputCreateRequestKafkaConnectionType defines model for OutputCreateRequestKafka.ConnectionType.

const (
	OutputCreateRequestKafkaConnectionTypeEncryption OutputCreateRequestKafkaConnectionType = "encryption"
	OutputCreateRequestKafkaConnectionTypePlaintext  OutputCreateRequestKafkaConnectionType = "plaintext"
)

Defines values for OutputCreateRequestKafkaConnectionType.

type OutputCreateRequestKafkaSslVerificationMode

type OutputCreateRequestKafkaSslVerificationMode string

OutputCreateRequestKafkaSslVerificationMode defines model for OutputCreateRequestKafka.Ssl.VerificationMode.

const (
	OutputCreateRequestKafkaSslVerificationModeCertificate OutputCreateRequestKafkaSslVerificationMode = "certificate"
	OutputCreateRequestKafkaSslVerificationModeFull        OutputCreateRequestKafkaSslVerificationMode = "full"
	OutputCreateRequestKafkaSslVerificationModeNone        OutputCreateRequestKafkaSslVerificationMode = "none"
	OutputCreateRequestKafkaSslVerificationModeStrict      OutputCreateRequestKafkaSslVerificationMode = "strict"
)

Defines values for OutputCreateRequestKafkaSslVerificationMode.

type OutputCreateRequestKafkaType

type OutputCreateRequestKafkaType string

OutputCreateRequestKafkaType defines model for OutputCreateRequestKafka.Type.

const (
	OutputCreateRequestKafkaTypeKafka OutputCreateRequestKafkaType = "kafka"
)

Defines values for OutputCreateRequestKafkaType.

type OutputCreateRequestLogstash

type OutputCreateRequestLogstash struct {
	CaSha256             *string                 `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                 `json:"ca_trusted_fingerprint,omitempty"`
	Config               *map[string]interface{} `json:"config,omitempty"`
	ConfigYaml           *string                 `json:"config_yaml,omitempty"`
	Hosts                []string                `json:"hosts"`
	Id                   *string                 `json:"id,omitempty"`
	IsDefault            *bool                   `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                   `json:"is_default_monitoring,omitempty"`
	Name                 string                  `json:"name"`
	ProxyId              *string                 `json:"proxy_id,omitempty"`
	Shipper              *struct {
		CompressionLevel            *float32 `json:"compression_level,omitempty"`
		DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled,omitempty"`
		DiskQueueEnabled            *bool    `json:"disk_queue_enabled,omitempty"`
		DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled,omitempty"`
		DiskQueueMaxSize            *float32 `json:"disk_queue_max_size,omitempty"`
		DiskQueuePath               *string  `json:"disk_queue_path,omitempty"`
		Loadbalance                 *bool    `json:"loadbalance,omitempty"`
	} `json:"shipper,omitempty"`
	Ssl *struct {
		Certificate            *string   `json:"certificate,omitempty"`
		CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"`
		Key                    *string   `json:"key,omitempty"`
	} `json:"ssl,omitempty"`
	Type OutputCreateRequestLogstashType `json:"type"`
}

OutputCreateRequestLogstash defines model for output_create_request_logstash.

type OutputCreateRequestLogstashType

type OutputCreateRequestLogstashType string

OutputCreateRequestLogstashType defines model for OutputCreateRequestLogstash.Type.

const (
	OutputCreateRequestLogstashTypeLogstash OutputCreateRequestLogstashType = "logstash"
)

Defines values for OutputCreateRequestLogstashType.

type OutputUpdateRequest

type OutputUpdateRequest struct {
	// contains filtered or unexported fields
}

OutputUpdateRequest defines model for output_update_request.

func (OutputUpdateRequest) AsOutputUpdateRequestElasticsearch

func (t OutputUpdateRequest) AsOutputUpdateRequestElasticsearch() (OutputUpdateRequestElasticsearch, error)

AsOutputUpdateRequestElasticsearch returns the union data inside the OutputUpdateRequest as a OutputUpdateRequestElasticsearch

func (OutputUpdateRequest) AsOutputUpdateRequestKafka

func (t OutputUpdateRequest) AsOutputUpdateRequestKafka() (OutputUpdateRequestKafka, error)

AsOutputUpdateRequestKafka returns the union data inside the OutputUpdateRequest as a OutputUpdateRequestKafka

func (OutputUpdateRequest) AsOutputUpdateRequestLogstash

func (t OutputUpdateRequest) AsOutputUpdateRequestLogstash() (OutputUpdateRequestLogstash, error)

AsOutputUpdateRequestLogstash returns the union data inside the OutputUpdateRequest as a OutputUpdateRequestLogstash

func (OutputUpdateRequest) Discriminator

func (t OutputUpdateRequest) Discriminator() (string, error)

func (*OutputUpdateRequest) FromOutputUpdateRequestElasticsearch

func (t *OutputUpdateRequest) FromOutputUpdateRequestElasticsearch(v OutputUpdateRequestElasticsearch) error

FromOutputUpdateRequestElasticsearch overwrites any union data inside the OutputUpdateRequest as the provided OutputUpdateRequestElasticsearch

func (*OutputUpdateRequest) FromOutputUpdateRequestKafka

func (t *OutputUpdateRequest) FromOutputUpdateRequestKafka(v OutputUpdateRequestKafka) error

FromOutputUpdateRequestKafka overwrites any union data inside the OutputUpdateRequest as the provided OutputUpdateRequestKafka

func (*OutputUpdateRequest) FromOutputUpdateRequestLogstash

func (t *OutputUpdateRequest) FromOutputUpdateRequestLogstash(v OutputUpdateRequestLogstash) error

FromOutputUpdateRequestLogstash overwrites any union data inside the OutputUpdateRequest as the provided OutputUpdateRequestLogstash

func (OutputUpdateRequest) MarshalJSON

func (t OutputUpdateRequest) MarshalJSON() ([]byte, error)

func (*OutputUpdateRequest) MergeOutputUpdateRequestElasticsearch

func (t *OutputUpdateRequest) MergeOutputUpdateRequestElasticsearch(v OutputUpdateRequestElasticsearch) error

MergeOutputUpdateRequestElasticsearch performs a merge with any union data inside the OutputUpdateRequest, using the provided OutputUpdateRequestElasticsearch

func (*OutputUpdateRequest) MergeOutputUpdateRequestKafka

func (t *OutputUpdateRequest) MergeOutputUpdateRequestKafka(v OutputUpdateRequestKafka) error

MergeOutputUpdateRequestKafka performs a merge with any union data inside the OutputUpdateRequest, using the provided OutputUpdateRequestKafka

func (*OutputUpdateRequest) MergeOutputUpdateRequestLogstash

func (t *OutputUpdateRequest) MergeOutputUpdateRequestLogstash(v OutputUpdateRequestLogstash) error

MergeOutputUpdateRequestLogstash performs a merge with any union data inside the OutputUpdateRequest, using the provided OutputUpdateRequestLogstash

func (*OutputUpdateRequest) UnmarshalJSON

func (t *OutputUpdateRequest) UnmarshalJSON(b []byte) error

func (OutputUpdateRequest) ValueByDiscriminator

func (t OutputUpdateRequest) ValueByDiscriminator() (interface{}, error)

type OutputUpdateRequestElasticsearch

type OutputUpdateRequestElasticsearch struct {
	CaSha256             *string                 `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                 `json:"ca_trusted_fingerprint,omitempty"`
	Config               *map[string]interface{} `json:"config,omitempty"`
	ConfigYaml           *string                 `json:"config_yaml,omitempty"`
	Hosts                []string                `json:"hosts"`
	Id                   *string                 `json:"id,omitempty"`
	IsDefault            *bool                   `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                   `json:"is_default_monitoring,omitempty"`
	Name                 string                  `json:"name"`
	ProxyId              *string                 `json:"proxy_id,omitempty"`
	Shipper              *struct {
		CompressionLevel            *float32 `json:"compression_level,omitempty"`
		DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled,omitempty"`
		DiskQueueEnabled            *bool    `json:"disk_queue_enabled,omitempty"`
		DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled,omitempty"`
		DiskQueueMaxSize            *float32 `json:"disk_queue_max_size,omitempty"`
		DiskQueuePath               *string  `json:"disk_queue_path,omitempty"`
		Loadbalance                 *bool    `json:"loadbalance,omitempty"`
	} `json:"shipper,omitempty"`
	Ssl *struct {
		Certificate            *string   `json:"certificate,omitempty"`
		CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"`
		Key                    *string   `json:"key,omitempty"`
	} `json:"ssl,omitempty"`
	Type OutputUpdateRequestElasticsearchType `json:"type"`
}

OutputUpdateRequestElasticsearch defines model for output_update_request_elasticsearch.

type OutputUpdateRequestElasticsearchType

type OutputUpdateRequestElasticsearchType string

OutputUpdateRequestElasticsearchType defines model for OutputUpdateRequestElasticsearch.Type.

const (
	OutputUpdateRequestElasticsearchTypeElasticsearch OutputUpdateRequestElasticsearchType = "elasticsearch"
)

Defines values for OutputUpdateRequestElasticsearchType.

type OutputUpdateRequestKafka

type OutputUpdateRequestKafka struct {
	AuthType             *string                                 `json:"auth_type,omitempty"`
	BrokerTimeout        *float32                                `json:"broker_timeout,omitempty"`
	CaSha256             *string                                 `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                                 `json:"ca_trusted_fingerprint,omitempty"`
	ClientId             *string                                 `json:"client_id,omitempty"`
	Compression          *string                                 `json:"compression,omitempty"`
	CompressionLevel     *float32                                `json:"compression_level,omitempty"`
	Config               *map[string]interface{}                 `json:"config,omitempty"`
	ConfigYaml           *string                                 `json:"config_yaml,omitempty"`
	ConnectionType       *OutputUpdateRequestKafkaConnectionType `json:"connection_type,omitempty"`
	Headers              *[]struct {
		Key   *string `json:"key,omitempty"`
		Value *string `json:"value,omitempty"`
	} `json:"headers,omitempty"`
	Hosts               *[]string `json:"hosts,omitempty"`
	Id                  *string   `json:"id,omitempty"`
	IsDefault           *bool     `json:"is_default,omitempty"`
	IsDefaultMonitoring *bool     `json:"is_default_monitoring,omitempty"`
	Key                 *string   `json:"key,omitempty"`
	Name                string    `json:"name"`
	Partition           *string   `json:"partition,omitempty"`
	Password            *string   `json:"password,omitempty"`
	ProxyId             *string   `json:"proxy_id,omitempty"`
	Random              *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"random,omitempty"`
	RequiredAcks *float32 `json:"required_acks,omitempty"`
	RoundRobin   *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"round_robin,omitempty"`
	Sasl *struct {
		Mechanism *string `json:"mechanism,omitempty"`
	} `json:"sasl,omitempty"`
	Shipper *struct {
		CompressionLevel            *float32 `json:"compression_level,omitempty"`
		DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled,omitempty"`
		DiskQueueEnabled            *bool    `json:"disk_queue_enabled,omitempty"`
		DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled,omitempty"`
		DiskQueueMaxSize            *float32 `json:"disk_queue_max_size,omitempty"`
		DiskQueuePath               *string  `json:"disk_queue_path,omitempty"`
		Loadbalance                 *bool    `json:"loadbalance,omitempty"`
	} `json:"shipper,omitempty"`
	Ssl *struct {
		Certificate            *string                                      `json:"certificate,omitempty"`
		CertificateAuthorities *[]string                                    `json:"certificate_authorities,omitempty"`
		Key                    *string                                      `json:"key,omitempty"`
		VerificationMode       *OutputUpdateRequestKafkaSslVerificationMode `json:"verification_mode,omitempty"`
	} `json:"ssl,omitempty"`
	Timeout *float32 `json:"timeout,omitempty"`
	Topics  *[]struct {
		Topic *string `json:"topic,omitempty"`
		When  *struct {
			Condition *string `json:"condition,omitempty"`
			Type      *string `json:"type,omitempty"`
		} `json:"when,omitempty"`
	} `json:"topics,omitempty"`
	Type     OutputUpdateRequestKafkaType `json:"type"`
	Username *string                      `json:"username,omitempty"`
	Version  *string                      `json:"version,omitempty"`
}

OutputUpdateRequestKafka defines model for output_update_request_kafka.

type OutputUpdateRequestKafkaConnectionType

type OutputUpdateRequestKafkaConnectionType string

OutputUpdateRequestKafkaConnectionType defines model for OutputUpdateRequestKafka.ConnectionType.

const (
	OutputUpdateRequestKafkaConnectionTypeEncryption OutputUpdateRequestKafkaConnectionType = "encryption"
	OutputUpdateRequestKafkaConnectionTypePlaintext  OutputUpdateRequestKafkaConnectionType = "plaintext"
)

Defines values for OutputUpdateRequestKafkaConnectionType.

type OutputUpdateRequestKafkaSslVerificationMode

type OutputUpdateRequestKafkaSslVerificationMode string

OutputUpdateRequestKafkaSslVerificationMode defines model for OutputUpdateRequestKafka.Ssl.VerificationMode.

const (
	OutputUpdateRequestKafkaSslVerificationModeCertificate OutputUpdateRequestKafkaSslVerificationMode = "certificate"
	OutputUpdateRequestKafkaSslVerificationModeFull        OutputUpdateRequestKafkaSslVerificationMode = "full"
	OutputUpdateRequestKafkaSslVerificationModeNone        OutputUpdateRequestKafkaSslVerificationMode = "none"
	OutputUpdateRequestKafkaSslVerificationModeStrict      OutputUpdateRequestKafkaSslVerificationMode = "strict"
)

Defines values for OutputUpdateRequestKafkaSslVerificationMode.

type OutputUpdateRequestKafkaType

type OutputUpdateRequestKafkaType string

OutputUpdateRequestKafkaType defines model for OutputUpdateRequestKafka.Type.

const (
	OutputUpdateRequestKafkaTypeKafka OutputUpdateRequestKafkaType = "kafka"
)

Defines values for OutputUpdateRequestKafkaType.

type OutputUpdateRequestLogstash

type OutputUpdateRequestLogstash struct {
	CaSha256             *string                 `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                 `json:"ca_trusted_fingerprint,omitempty"`
	Config               *map[string]interface{} `json:"config,omitempty"`
	ConfigYaml           *string                 `json:"config_yaml,omitempty"`
	Hosts                *[]string               `json:"hosts,omitempty"`
	Id                   *string                 `json:"id,omitempty"`
	IsDefault            *bool                   `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                   `json:"is_default_monitoring,omitempty"`
	Name                 string                  `json:"name"`
	ProxyId              *string                 `json:"proxy_id,omitempty"`
	Shipper              *struct {
		CompressionLevel            *float32 `json:"compression_level,omitempty"`
		DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled,omitempty"`
		DiskQueueEnabled            *bool    `json:"disk_queue_enabled,omitempty"`
		DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled,omitempty"`
		DiskQueueMaxSize            *float32 `json:"disk_queue_max_size,omitempty"`
		DiskQueuePath               *string  `json:"disk_queue_path,omitempty"`
		Loadbalance                 *bool    `json:"loadbalance,omitempty"`
	} `json:"shipper,omitempty"`
	Ssl *struct {
		Certificate            *string   `json:"certificate,omitempty"`
		CertificateAuthorities *[]string `json:"certificate_authorities,omitempty"`
		Key                    *string   `json:"key,omitempty"`
	} `json:"ssl,omitempty"`
	Type OutputUpdateRequestLogstashType `json:"type"`
}

OutputUpdateRequestLogstash defines model for output_update_request_logstash.

type OutputUpdateRequestLogstashType

type OutputUpdateRequestLogstashType string

OutputUpdateRequestLogstashType defines model for OutputUpdateRequestLogstash.Type.

const (
	OutputUpdateRequestLogstashTypeLogstash OutputUpdateRequestLogstashType = "logstash"
)

Defines values for OutputUpdateRequestLogstashType.

type PackagePolicy

type PackagePolicy struct {
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
	Id          string  `json:"id"`
	Inputs      []struct {
		Config     *map[string]interface{} `json:"config,omitempty"`
		Enabled    bool                    `json:"enabled"`
		Processors *[]string               `json:"processors,omitempty"`
		Streams    *[]interface{}          `json:"streams,omitempty"`
		Type       string                  `json:"type"`
		Vars       *map[string]interface{} `json:"vars,omitempty"`
	} `json:"inputs"`
	Name      string  `json:"name"`
	Namespace *string `json:"namespace,omitempty"`
	// Deprecated:
	OutputId *string `json:"output_id,omitempty"`
	Package  *struct {
		Name    string  `json:"name"`
		Title   *string `json:"title,omitempty"`
		Version string  `json:"version"`
	} `json:"package,omitempty"`
	PolicyId *string `json:"policy_id,omitempty"`
	Revision float32 `json:"revision"`
}

PackagePolicy defines model for package_policy.

type PostFleetServerHostsJSONBody

type PostFleetServerHostsJSONBody struct {
	HostUrls  []string `json:"host_urls"`
	Id        *string  `json:"id,omitempty"`
	IsDefault *bool    `json:"is_default,omitempty"`
	Name      string   `json:"name"`
}

PostFleetServerHostsJSONBody defines parameters for PostFleetServerHosts.

type PostFleetServerHostsJSONRequestBody

type PostFleetServerHostsJSONRequestBody PostFleetServerHostsJSONBody

PostFleetServerHostsJSONRequestBody defines body for PostFleetServerHosts for application/json ContentType.

type PostFleetServerHostsResponse

type PostFleetServerHostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item *FleetServerHost `json:"item,omitempty"`
	}
	JSON400 *Error
}

func ParsePostFleetServerHostsResponse

func ParsePostFleetServerHostsResponse(rsp *http.Response) (*PostFleetServerHostsResponse, error)

ParsePostFleetServerHostsResponse parses an HTTP response from a PostFleetServerHostsWithResponse call

func (PostFleetServerHostsResponse) Status

Status returns HTTPResponse.Status

func (PostFleetServerHostsResponse) StatusCode

func (r PostFleetServerHostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostOutputsJSONRequestBody

type PostOutputsJSONRequestBody = OutputCreateRequest

PostOutputsJSONRequestBody defines body for PostOutputs for application/json ContentType.

type PostOutputsResponse

type PostOutputsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item *OutputCreateRequest `json:"item,omitempty"`
	}
	JSON400 *Error
}

func ParsePostOutputsResponse

func ParsePostOutputsResponse(rsp *http.Response) (*PostOutputsResponse, error)

ParsePostOutputsResponse parses an HTTP response from a PostOutputsWithResponse call

func (PostOutputsResponse) Status

func (r PostOutputsResponse) Status() string

Status returns HTTPResponse.Status

func (PostOutputsResponse) StatusCode

func (r PostOutputsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type UpdateAgentPolicyJSONRequestBody

type UpdateAgentPolicyJSONRequestBody = AgentPolicyUpdateRequest

UpdateAgentPolicyJSONRequestBody defines body for UpdateAgentPolicy for application/json ContentType.

type UpdateAgentPolicyResponse

type UpdateAgentPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item AgentPolicy `json:"item"`
	}
	JSON400 *Error
}

func ParseUpdateAgentPolicyResponse

func ParseUpdateAgentPolicyResponse(rsp *http.Response) (*UpdateAgentPolicyResponse, error)

ParseUpdateAgentPolicyResponse parses an HTTP response from a UpdateAgentPolicyWithResponse call

func (UpdateAgentPolicyResponse) Status

func (r UpdateAgentPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAgentPolicyResponse) StatusCode

func (r UpdateAgentPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateFleetServerHostsJSONBody

type UpdateFleetServerHostsJSONBody struct {
	HostUrls  *[]string `json:"host_urls,omitempty"`
	IsDefault *bool     `json:"is_default,omitempty"`
	Name      *string   `json:"name,omitempty"`
}

UpdateFleetServerHostsJSONBody defines parameters for UpdateFleetServerHosts.

type UpdateFleetServerHostsJSONRequestBody

type UpdateFleetServerHostsJSONRequestBody UpdateFleetServerHostsJSONBody

UpdateFleetServerHostsJSONRequestBody defines body for UpdateFleetServerHosts for application/json ContentType.

type UpdateFleetServerHostsResponse

type UpdateFleetServerHostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item FleetServerHost `json:"item"`
	}
	JSON400 *Error
}

func ParseUpdateFleetServerHostsResponse

func ParseUpdateFleetServerHostsResponse(rsp *http.Response) (*UpdateFleetServerHostsResponse, error)

ParseUpdateFleetServerHostsResponse parses an HTTP response from a UpdateFleetServerHostsWithResponse call

func (UpdateFleetServerHostsResponse) Status

Status returns HTTPResponse.Status

func (UpdateFleetServerHostsResponse) StatusCode

func (r UpdateFleetServerHostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOutputJSONRequestBody

type UpdateOutputJSONRequestBody = OutputUpdateRequest

UpdateOutputJSONRequestBody defines body for UpdateOutput for application/json ContentType.

type UpdateOutputResponse

type UpdateOutputResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item *OutputUpdateRequest `json:"item,omitempty"`
	}
	JSON400 *Error
}

func ParseUpdateOutputResponse

func ParseUpdateOutputResponse(rsp *http.Response) (*UpdateOutputResponse, error)

ParseUpdateOutputResponse parses an HTTP response from a UpdateOutputWithResponse call

func (UpdateOutputResponse) Status

func (r UpdateOutputResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateOutputResponse) StatusCode

func (r UpdateOutputResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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