api

package
v0.0.0-...-24bfe3f Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

extra hand written stuffs to make working with generated code easier

Code generated by network-observer codegen. DO NOT EDIT

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r *mux.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r *mux.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options GorillaServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewApplicationflowsRequest

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

NewApplicationflowsRequest generates requests for Applicationflows

func NewComponentByIDRequest

func NewComponentByIDRequest(server string, id PathID) (*http.Request, error)

NewComponentByIDRequest generates requests for ComponentByID

func NewComponentpairByIDRequest

func NewComponentpairByIDRequest(server string, id PathID) (*http.Request, error)

NewComponentpairByIDRequest generates requests for ComponentpairByID

func NewComponentpairsRequest

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

NewComponentpairsRequest generates requests for Componentpairs

func NewComponentsRequest

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

NewComponentsRequest generates requests for Components

func NewConnectionsByServiceRequest

func NewConnectionsByServiceRequest(server string, id PathID) (*http.Request, error)

NewConnectionsByServiceRequest generates requests for ConnectionsByService

func NewConnectionsRequest

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

NewConnectionsRequest generates requests for Connections

func NewConnectorByIDRequest

func NewConnectorByIDRequest(server string, id PathID) (*http.Request, error)

NewConnectorByIDRequest generates requests for ConnectorByID

func NewConnectorsRequest

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

NewConnectorsRequest generates requests for Connectors

func NewHostsByIDRequest

func NewHostsByIDRequest(server string, id PathID) (*http.Request, error)

NewHostsByIDRequest generates requests for HostsByID

func NewHostsBySiteRequest

func NewHostsBySiteRequest(server string, id PathID) (*http.Request, error)

NewHostsBySiteRequest generates requests for HostsBySite

func NewHostsRequest

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

NewHostsRequest generates requests for Hosts

func NewListenerByIDRequest

func NewListenerByIDRequest(server string, id PathID) (*http.Request, error)

NewListenerByIDRequest generates requests for ListenerByID

func NewListenersRequest

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

NewListenersRequest generates requests for Listeners

func NewProcessByIdRequest

func NewProcessByIdRequest(server string, id PathID) (*http.Request, error)

NewProcessByIdRequest generates requests for ProcessById

func NewProcessPairsByServiceRequest

func NewProcessPairsByServiceRequest(server string, id PathID) (*http.Request, error)

NewProcessPairsByServiceRequest generates requests for ProcessPairsByService

func NewProcessesByServiceRequest

func NewProcessesByServiceRequest(server string, id PathID) (*http.Request, error)

NewProcessesByServiceRequest generates requests for ProcessesByService

func NewProcessesBySiteRequest

func NewProcessesBySiteRequest(server string, id PathID) (*http.Request, error)

NewProcessesBySiteRequest generates requests for ProcessesBySite

func NewProcessesRequest

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

NewProcessesRequest generates requests for Processes

func NewProcesspairByIDRequest

func NewProcesspairByIDRequest(server string, id PathID) (*http.Request, error)

NewProcesspairByIDRequest generates requests for ProcesspairByID

func NewProcesspairsRequest

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

NewProcesspairsRequest generates requests for Processpairs

func NewRouterByIDRequest

func NewRouterByIDRequest(server string, id PathID) (*http.Request, error)

NewRouterByIDRequest generates requests for RouterByID

func NewRouteraccessByIDRequest

func NewRouteraccessByIDRequest(server string, id PathID) (*http.Request, error)

NewRouteraccessByIDRequest generates requests for RouteraccessByID

func NewRouteraccessRequest

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

NewRouteraccessRequest generates requests for Routeraccess

func NewRouterlinkByIDRequest

func NewRouterlinkByIDRequest(server string, id PathID) (*http.Request, error)

NewRouterlinkByIDRequest generates requests for RouterlinkByID

func NewRouterlinksRequest

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

NewRouterlinksRequest generates requests for Routerlinks

func NewRoutersBySiteRequest

func NewRoutersBySiteRequest(server string, id PathID) (*http.Request, error)

NewRoutersBySiteRequest generates requests for RoutersBySite

func NewRoutersRequest

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

NewRoutersRequest generates requests for Routers

func NewServiceByIDRequest

func NewServiceByIDRequest(server string, id PathID) (*http.Request, error)

NewServiceByIDRequest generates requests for ServiceByID

func NewServicesRequest

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

NewServicesRequest generates requests for Services

func NewSiteByIdRequest

func NewSiteByIdRequest(server string, id PathID) (*http.Request, error)

NewSiteByIdRequest generates requests for SiteById

func NewSitepairByIDRequest

func NewSitepairByIDRequest(server string, id PathID) (*http.Request, error)

NewSitepairByIDRequest generates requests for SitepairByID

func NewSitepairsRequest

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

NewSitepairsRequest generates requests for Sitepairs

func NewSitesRequest

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

NewSitesRequest generates requests for Sites

Types

type ApplicationFlowRecord

type ApplicationFlowRecord struct {
	ConnectionId    string  `json:"connectionId"`
	DestProcessId   string  `json:"destProcessId"`
	DestProcessName string  `json:"destProcessName"`
	DestSiteId      string  `json:"destSiteId"`
	DestSiteName    string  `json:"destSiteName"`
	Duration        *uint64 `json:"duration"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity          string `json:"identity"`
	Method            string `json:"method"`
	OctetCount        uint64 `json:"octetCount"`
	OctetReverseCount uint64 `json:"octetReverseCount"`
	Protocol          string `json:"protocol"`
	RoutingKey        string `json:"routingKey"`
	SourceProcessId   string `json:"sourceProcessId"`
	SourceProcessName string `json:"sourceProcessName"`
	SourceSiteId      string `json:"sourceSiteId"`
	SourceSiteName    string `json:"sourceSiteName"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
	Status    string `json:"status"`

	// TraceRouters Ordered array of the names of routers involved in proxying the connection
	TraceRouters []string `json:"traceRouters"`

	// TraceSites Ordered array of the names of sites involved in proxying the connection
	TraceSites []string `json:"traceSites"`
}

ApplicationFlowRecord defines model for ApplicationFlowRecord.

func (ApplicationFlowRecord) GetEndTime

func (r ApplicationFlowRecord) GetEndTime() uint64

GetEndTime

func (ApplicationFlowRecord) GetStartTime

func (r ApplicationFlowRecord) GetStartTime() uint64

GetStartTime

type ApplicationFlowResponse

type ApplicationFlowResponse struct {
	// Count number of results in response
	Count   int64                   `json:"count"`
	Results []ApplicationFlowRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ApplicationFlowResponse defines model for ApplicationFlowResponse.

func (*ApplicationFlowResponse) SetCount

func (r *ApplicationFlowResponse) SetCount(v int64)

SetCount

func (*ApplicationFlowResponse) SetResults

SetResults

func (*ApplicationFlowResponse) SetTimeRangeCount

func (r *ApplicationFlowResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ApplicationflowsResponse

type ApplicationflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetApplicationFlows
}

func ParseApplicationflowsResponse

func ParseApplicationflowsResponse(rsp *http.Response) (*ApplicationflowsResponse, error)

ParseApplicationflowsResponse parses an HTTP response from a ApplicationflowsWithResponse call

func (ApplicationflowsResponse) Status

func (r ApplicationflowsResponse) Status() string

Status returns HTTPResponse.Status

func (ApplicationflowsResponse) StatusCode

func (r ApplicationflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AtmarkDelimitedString

type AtmarkDelimitedString string

func NewAtmarkDelimitedString

func NewAtmarkDelimitedString(parts ...string) AtmarkDelimitedString

func (AtmarkDelimitedString) Parts

func (a AtmarkDelimitedString) Parts() []string

type BaseRecord

type BaseRecord struct {
	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity string `json:"identity"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

BaseRecord defines model for baseRecord.

func (BaseRecord) GetEndTime

func (r BaseRecord) GetEndTime() uint64

GetEndTime

func (BaseRecord) GetStartTime

func (r BaseRecord) GetStartTime() uint64

GetStartTime

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) Applicationflows

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

func (*Client) ComponentByID

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

func (*Client) ComponentpairByID

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

func (*Client) Componentpairs

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

func (*Client) Components

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

func (*Client) Connections

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

func (*Client) ConnectionsByService

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

func (*Client) ConnectorByID

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

func (*Client) Connectors

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

func (*Client) Hosts

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

func (*Client) HostsByID

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

func (*Client) HostsBySite

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

func (*Client) ListenerByID

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

func (*Client) Listeners

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

func (*Client) ProcessById

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

func (*Client) ProcessPairsByService

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

func (*Client) Processes

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

func (*Client) ProcessesByService

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

func (*Client) ProcessesBySite

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

func (*Client) ProcesspairByID

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

func (*Client) Processpairs

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

func (*Client) RouterByID

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

func (*Client) Routeraccess

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

func (*Client) RouteraccessByID

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

func (*Client) RouterlinkByID

func (c *Client) RouterlinkByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (c *Client) Routerlinks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) Routers

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

func (*Client) RoutersBySite

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

func (*Client) ServiceByID

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

func (*Client) Services

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

func (*Client) SiteById

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

func (*Client) SitepairByID

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

func (*Client) Sitepairs

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

func (*Client) Sites

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

type ClientInterface

type ClientInterface interface {
	// Applicationflows request
	Applicationflows(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ComponentpairByID request
	ComponentpairByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ComponentByID request
	ComponentByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// ConnectorByID request
	ConnectorByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// HostsByID request
	HostsByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ListenerByID request
	ListenerByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ProcessById request
	ProcessById(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ProcesspairByID request
	ProcesspairByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// RouteraccessByID request
	RouteraccessByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// RouterlinkByID request
	RouterlinkByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// RouterByID request
	RouterByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// ServiceByID request
	ServiceByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectionsByService request
	ConnectionsByService(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessesByService request
	ProcessesByService(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessPairsByService request
	ProcessPairsByService(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// SitepairByID request
	SitepairByID(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// SiteById request
	SiteById(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// HostsBySite request
	HostsBySite(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProcessesBySite request
	ProcessesBySite(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RoutersBySite request
	RoutersBySite(ctx context.Context, id PathID, 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) ApplicationflowsWithResponse

func (c *ClientWithResponses) ApplicationflowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApplicationflowsResponse, error)

ApplicationflowsWithResponse request returning *ApplicationflowsResponse

func (*ClientWithResponses) ComponentByIDWithResponse

func (c *ClientWithResponses) ComponentByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ComponentByIDResponse, error)

ComponentByIDWithResponse request returning *ComponentByIDResponse

func (*ClientWithResponses) ComponentpairByIDWithResponse

func (c *ClientWithResponses) ComponentpairByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ComponentpairByIDResponse, error)

ComponentpairByIDWithResponse request returning *ComponentpairByIDResponse

func (*ClientWithResponses) ComponentpairsWithResponse

func (c *ClientWithResponses) ComponentpairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ComponentpairsResponse, error)

ComponentpairsWithResponse request returning *ComponentpairsResponse

func (*ClientWithResponses) ComponentsWithResponse

func (c *ClientWithResponses) ComponentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ComponentsResponse, error)

ComponentsWithResponse request returning *ComponentsResponse

func (*ClientWithResponses) ConnectionsByServiceWithResponse

func (c *ClientWithResponses) ConnectionsByServiceWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ConnectionsByServiceResponse, error)

ConnectionsByServiceWithResponse request returning *ConnectionsByServiceResponse

func (*ClientWithResponses) ConnectionsWithResponse

func (c *ClientWithResponses) ConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectionsResponse, error)

ConnectionsWithResponse request returning *ConnectionsResponse

func (*ClientWithResponses) ConnectorByIDWithResponse

func (c *ClientWithResponses) ConnectorByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ConnectorByIDResponse, error)

ConnectorByIDWithResponse request returning *ConnectorByIDResponse

func (*ClientWithResponses) ConnectorsWithResponse

func (c *ClientWithResponses) ConnectorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectorsResponse, error)

ConnectorsWithResponse request returning *ConnectorsResponse

func (*ClientWithResponses) HostsByIDWithResponse

func (c *ClientWithResponses) HostsByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*HostsByIDResponse, error)

HostsByIDWithResponse request returning *HostsByIDResponse

func (*ClientWithResponses) HostsBySiteWithResponse

func (c *ClientWithResponses) HostsBySiteWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*HostsBySiteResponse, error)

HostsBySiteWithResponse request returning *HostsBySiteResponse

func (*ClientWithResponses) HostsWithResponse

func (c *ClientWithResponses) HostsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HostsResponse, error)

HostsWithResponse request returning *HostsResponse

func (*ClientWithResponses) ListenerByIDWithResponse

func (c *ClientWithResponses) ListenerByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ListenerByIDResponse, error)

ListenerByIDWithResponse request returning *ListenerByIDResponse

func (*ClientWithResponses) ListenersWithResponse

func (c *ClientWithResponses) ListenersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListenersResponse, error)

ListenersWithResponse request returning *ListenersResponse

func (*ClientWithResponses) ProcessByIdWithResponse

func (c *ClientWithResponses) ProcessByIdWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessByIdResponse, error)

ProcessByIdWithResponse request returning *ProcessByIdResponse

func (*ClientWithResponses) ProcessPairsByServiceWithResponse

func (c *ClientWithResponses) ProcessPairsByServiceWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessPairsByServiceResponse, error)

ProcessPairsByServiceWithResponse request returning *ProcessPairsByServiceResponse

func (*ClientWithResponses) ProcessesByServiceWithResponse

func (c *ClientWithResponses) ProcessesByServiceWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessesByServiceResponse, error)

ProcessesByServiceWithResponse request returning *ProcessesByServiceResponse

func (*ClientWithResponses) ProcessesBySiteWithResponse

func (c *ClientWithResponses) ProcessesBySiteWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessesBySiteResponse, error)

ProcessesBySiteWithResponse request returning *ProcessesBySiteResponse

func (*ClientWithResponses) ProcessesWithResponse

func (c *ClientWithResponses) ProcessesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProcessesResponse, error)

ProcessesWithResponse request returning *ProcessesResponse

func (*ClientWithResponses) ProcesspairByIDWithResponse

func (c *ClientWithResponses) ProcesspairByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcesspairByIDResponse, error)

ProcesspairByIDWithResponse request returning *ProcesspairByIDResponse

func (*ClientWithResponses) ProcesspairsWithResponse

func (c *ClientWithResponses) ProcesspairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProcesspairsResponse, error)

ProcesspairsWithResponse request returning *ProcesspairsResponse

func (*ClientWithResponses) RouterByIDWithResponse

func (c *ClientWithResponses) RouterByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RouterByIDResponse, error)

RouterByIDWithResponse request returning *RouterByIDResponse

func (*ClientWithResponses) RouteraccessByIDWithResponse

func (c *ClientWithResponses) RouteraccessByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RouteraccessByIDResponse, error)

RouteraccessByIDWithResponse request returning *RouteraccessByIDResponse

func (*ClientWithResponses) RouteraccessWithResponse

func (c *ClientWithResponses) RouteraccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RouteraccessResponse, error)

RouteraccessWithResponse request returning *RouteraccessResponse

func (*ClientWithResponses) RouterlinkByIDWithResponse

func (c *ClientWithResponses) RouterlinkByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RouterlinkByIDResponse, error)

RouterlinkByIDWithResponse request returning *RouterlinkByIDResponse

func (*ClientWithResponses) RouterlinksWithResponse

func (c *ClientWithResponses) RouterlinksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RouterlinksResponse, error)

RouterlinksWithResponse request returning *RouterlinksResponse

func (*ClientWithResponses) RoutersBySiteWithResponse

func (c *ClientWithResponses) RoutersBySiteWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RoutersBySiteResponse, error)

RoutersBySiteWithResponse request returning *RoutersBySiteResponse

func (*ClientWithResponses) RoutersWithResponse

func (c *ClientWithResponses) RoutersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RoutersResponse, error)

RoutersWithResponse request returning *RoutersResponse

func (*ClientWithResponses) ServiceByIDWithResponse

func (c *ClientWithResponses) ServiceByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ServiceByIDResponse, error)

ServiceByIDWithResponse request returning *ServiceByIDResponse

func (*ClientWithResponses) ServicesWithResponse

func (c *ClientWithResponses) ServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServicesResponse, error)

ServicesWithResponse request returning *ServicesResponse

func (*ClientWithResponses) SiteByIdWithResponse

func (c *ClientWithResponses) SiteByIdWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*SiteByIdResponse, error)

SiteByIdWithResponse request returning *SiteByIdResponse

func (*ClientWithResponses) SitepairByIDWithResponse

func (c *ClientWithResponses) SitepairByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*SitepairByIDResponse, error)

SitepairByIDWithResponse request returning *SitepairByIDResponse

func (*ClientWithResponses) SitepairsWithResponse

func (c *ClientWithResponses) SitepairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SitepairsResponse, error)

SitepairsWithResponse request returning *SitepairsResponse

func (*ClientWithResponses) SitesWithResponse

func (c *ClientWithResponses) SitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SitesResponse, error)

SitesWithResponse request returning *SitesResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ApplicationflowsWithResponse request
	ApplicationflowsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApplicationflowsResponse, error)

	// ComponentpairsWithResponse request
	ComponentpairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ComponentpairsResponse, error)

	// ComponentpairByIDWithResponse request
	ComponentpairByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ComponentpairByIDResponse, error)

	// ComponentsWithResponse request
	ComponentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ComponentsResponse, error)

	// ComponentByIDWithResponse request
	ComponentByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ComponentByIDResponse, error)

	// ConnectionsWithResponse request
	ConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectionsResponse, error)

	// ConnectorsWithResponse request
	ConnectorsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectorsResponse, error)

	// ConnectorByIDWithResponse request
	ConnectorByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ConnectorByIDResponse, error)

	// HostsWithResponse request
	HostsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HostsResponse, error)

	// HostsByIDWithResponse request
	HostsByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*HostsByIDResponse, error)

	// ListenersWithResponse request
	ListenersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListenersResponse, error)

	// ListenerByIDWithResponse request
	ListenerByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ListenerByIDResponse, error)

	// ProcessesWithResponse request
	ProcessesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProcessesResponse, error)

	// ProcessByIdWithResponse request
	ProcessByIdWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessByIdResponse, error)

	// ProcesspairsWithResponse request
	ProcesspairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProcesspairsResponse, error)

	// ProcesspairByIDWithResponse request
	ProcesspairByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcesspairByIDResponse, error)

	// RouteraccessWithResponse request
	RouteraccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RouteraccessResponse, error)

	// RouteraccessByIDWithResponse request
	RouteraccessByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RouteraccessByIDResponse, error)

	// RouterlinksWithResponse request
	RouterlinksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RouterlinksResponse, error)

	// RouterlinkByIDWithResponse request
	RouterlinkByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RouterlinkByIDResponse, error)

	// RoutersWithResponse request
	RoutersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RoutersResponse, error)

	// RouterByIDWithResponse request
	RouterByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RouterByIDResponse, error)

	// ServicesWithResponse request
	ServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServicesResponse, error)

	// ServiceByIDWithResponse request
	ServiceByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ServiceByIDResponse, error)

	// ConnectionsByServiceWithResponse request
	ConnectionsByServiceWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ConnectionsByServiceResponse, error)

	// ProcessesByServiceWithResponse request
	ProcessesByServiceWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessesByServiceResponse, error)

	// ProcessPairsByServiceWithResponse request
	ProcessPairsByServiceWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessPairsByServiceResponse, error)

	// SitepairsWithResponse request
	SitepairsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SitepairsResponse, error)

	// SitepairByIDWithResponse request
	SitepairByIDWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*SitepairByIDResponse, error)

	// SitesWithResponse request
	SitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SitesResponse, error)

	// SiteByIdWithResponse request
	SiteByIdWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*SiteByIdResponse, error)

	// HostsBySiteWithResponse request
	HostsBySiteWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*HostsBySiteResponse, error)

	// ProcessesBySiteWithResponse request
	ProcessesBySiteWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*ProcessesBySiteResponse, error)

	// RoutersBySiteWithResponse request
	RoutersBySiteWithResponse(ctx context.Context, id PathID, reqEditors ...RequestEditorFn) (*RoutersBySiteResponse, error)
}

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

type CollectionResponse

type CollectionResponse struct {
	// Count number of results in response
	Count int64 `json:"count"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

CollectionResponse defines model for collectionResponse.

func (*CollectionResponse) SetCount

func (r *CollectionResponse) SetCount(v int64)

SetCount

func (*CollectionResponse) SetTimeRangeCount

func (r *CollectionResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type CollectionResponseSetter

type CollectionResponseSetter[T any] interface {
	ResponseSetter[[]T]
	SetCount(int64)
	SetTimeRangeCount(int64)
}

type ComponentByIDResponse

type ComponentByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetComponentByID
	JSON404      *ErrorNotFound
}

func ParseComponentByIDResponse

func ParseComponentByIDResponse(rsp *http.Response) (*ComponentByIDResponse, error)

ParseComponentByIDResponse parses an HTTP response from a ComponentByIDWithResponse call

func (ComponentByIDResponse) Status

func (r ComponentByIDResponse) Status() string

Status returns HTTPResponse.Status

func (ComponentByIDResponse) StatusCode

func (r ComponentByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ComponentListResponse

type ComponentListResponse struct {
	// Count number of results in response
	Count   int64             `json:"count"`
	Results []ComponentRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ComponentListResponse defines model for ComponentListResponse.

func (*ComponentListResponse) SetCount

func (r *ComponentListResponse) SetCount(v int64)

SetCount

func (*ComponentListResponse) SetResults

func (r *ComponentListResponse) SetResults(v []ComponentRecord)

SetResults

func (*ComponentListResponse) SetTimeRangeCount

func (r *ComponentListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ComponentRecord

type ComponentRecord struct {
	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity     string `json:"identity"`
	Name         string `json:"name"`
	ProcessCount int    `json:"processCount"`
	Role         string `json:"role"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

ComponentRecord defines model for ComponentRecord.

func (ComponentRecord) GetEndTime

func (r ComponentRecord) GetEndTime() uint64

GetEndTime

func (ComponentRecord) GetStartTime

func (r ComponentRecord) GetStartTime() uint64

GetStartTime

type ComponentResponse

type ComponentResponse struct {
	Results ComponentRecord `json:"results"`
}

ComponentResponse defines model for ComponentResponse.

func (*ComponentResponse) SetResults

func (r *ComponentResponse) SetResults(v ComponentRecord)

SetResults

type ComponentpairByIDResponse

type ComponentpairByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregateByID
	JSON404      *ErrorNotFound
}

func ParseComponentpairByIDResponse

func ParseComponentpairByIDResponse(rsp *http.Response) (*ComponentpairByIDResponse, error)

ParseComponentpairByIDResponse parses an HTTP response from a ComponentpairByIDWithResponse call

func (ComponentpairByIDResponse) Status

func (r ComponentpairByIDResponse) Status() string

Status returns HTTPResponse.Status

func (ComponentpairByIDResponse) StatusCode

func (r ComponentpairByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ComponentpairsResponse

type ComponentpairsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregates
	JSON400      *ErrorBadRequest
}

func ParseComponentpairsResponse

func ParseComponentpairsResponse(rsp *http.Response) (*ComponentpairsResponse, error)

ParseComponentpairsResponse parses an HTTP response from a ComponentpairsWithResponse call

func (ComponentpairsResponse) Status

func (r ComponentpairsResponse) Status() string

Status returns HTTPResponse.Status

func (ComponentpairsResponse) StatusCode

func (r ComponentpairsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ComponentsResponse

type ComponentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetComponents
	JSON400      *ErrorBadRequest
}

func ParseComponentsResponse

func ParseComponentsResponse(rsp *http.Response) (*ComponentsResponse, error)

ParseComponentsResponse parses an HTTP response from a ComponentsWithResponse call

func (ComponentsResponse) Status

func (r ComponentsResponse) Status() string

Status returns HTTPResponse.Status

func (ComponentsResponse) StatusCode

func (r ComponentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectionListResponse

type ConnectionListResponse struct {
	// Count number of results in response
	Count   int64              `json:"count"`
	Results []ConnectionRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ConnectionListResponse defines model for ConnectionListResponse.

func (*ConnectionListResponse) SetCount

func (r *ConnectionListResponse) SetCount(v int64)

SetCount

func (*ConnectionListResponse) SetResults

func (r *ConnectionListResponse) SetResults(v []ConnectionRecord)

SetResults

func (*ConnectionListResponse) SetTimeRangeCount

func (r *ConnectionListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ConnectionRecord

type ConnectionRecord struct {
	ComponentPairId *string `json:"componentPairId"`
	ConnectorError  *string `json:"connectorError"`
	ConnectorId     string  `json:"connectorId"`
	DestHost        string  `json:"destHost"`
	DestPort        string  `json:"destPort"`
	DestProcessId   string  `json:"destProcessId"`
	DestProcessName string  `json:"destProcessName"`
	DestSiteId      string  `json:"destSiteId"`
	DestSiteName    string  `json:"destSiteName"`
	Duration        *uint64 `json:"duration"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity          string  `json:"identity"`
	Latency           uint64  `json:"latency"`
	LatencyReverse    uint64  `json:"latencyReverse"`
	ListenerError     *string `json:"listenerError"`
	ListenerId        string  `json:"listenerId"`
	OctetCount        uint64  `json:"octetCount"`
	OctetReverseCount uint64  `json:"octetReverseCount"`
	ProcessPairId     *string `json:"processPairId"`
	Protocol          string  `json:"protocol"`
	ProxyHost         string  `json:"proxyHost"`
	ProxyPort         string  `json:"proxyPort"`
	RoutingKey        string  `json:"routingKey"`
	SitePairId        *string `json:"sitePairId"`
	SourceHost        string  `json:"sourceHost"`
	SourcePort        string  `json:"sourcePort"`
	SourceProcessId   string  `json:"sourceProcessId"`
	SourceProcessName string  `json:"sourceProcessName"`
	SourceSiteId      string  `json:"sourceSiteId"`
	SourceSiteName    string  `json:"sourceSiteName"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`

	// TraceRouters Ordered array of the names of routers involved in proxying the connection
	TraceRouters []string `json:"traceRouters"`

	// TraceSites Ordered array of the names of sites involved in proxying the connection
	TraceSites []string `json:"traceSites"`
}

ConnectionRecord defines model for ConnectionRecord.

func (ConnectionRecord) GetEndTime

func (r ConnectionRecord) GetEndTime() uint64

GetEndTime

func (ConnectionRecord) GetStartTime

func (r ConnectionRecord) GetStartTime() uint64

GetStartTime

type ConnectionsByServiceResponse

type ConnectionsByServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetConnections
	JSON404      *ErrorNotFound
}

func ParseConnectionsByServiceResponse

func ParseConnectionsByServiceResponse(rsp *http.Response) (*ConnectionsByServiceResponse, error)

ParseConnectionsByServiceResponse parses an HTTP response from a ConnectionsByServiceWithResponse call

func (ConnectionsByServiceResponse) Status

Status returns HTTPResponse.Status

func (ConnectionsByServiceResponse) StatusCode

func (r ConnectionsByServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectionsResponse

type ConnectionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetConnections
}

func ParseConnectionsResponse

func ParseConnectionsResponse(rsp *http.Response) (*ConnectionsResponse, error)

ParseConnectionsResponse parses an HTTP response from a ConnectionsWithResponse call

func (ConnectionsResponse) Status

func (r ConnectionsResponse) Status() string

Status returns HTTPResponse.Status

func (ConnectionsResponse) StatusCode

func (r ConnectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorByIDResponse

type ConnectorByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetConnectorByID
	JSON404      *ErrorNotFound
}

func ParseConnectorByIDResponse

func ParseConnectorByIDResponse(rsp *http.Response) (*ConnectorByIDResponse, error)

ParseConnectorByIDResponse parses an HTTP response from a ConnectorByIDWithResponse call

func (ConnectorByIDResponse) Status

func (r ConnectorByIDResponse) Status() string

Status returns HTTPResponse.Status

func (ConnectorByIDResponse) StatusCode

func (r ConnectorByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorListResponse

type ConnectorListResponse struct {
	// Count number of results in response
	Count   int64             `json:"count"`
	Results []ConnectorRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ConnectorListResponse defines model for ConnectorListResponse.

func (*ConnectorListResponse) SetCount

func (r *ConnectorListResponse) SetCount(v int64)

SetCount

func (*ConnectorListResponse) SetResults

func (r *ConnectorListResponse) SetResults(v []ConnectorRecord)

SetResults

func (*ConnectorListResponse) SetTimeRangeCount

func (r *ConnectorListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ConnectorRecord

type ConnectorRecord struct {
	DestHost string `json:"destHost"`
	DestPort string `json:"destPort"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity   string  `json:"identity"`
	Name       string  `json:"name"`
	ProcessId  string  `json:"processId"`
	Protocol   string  `json:"protocol"`
	RouterId   string  `json:"routerId"`
	RoutingKey string  `json:"routingKey"`
	ServiceId  *string `json:"serviceId,omitempty"`
	SiteId     string  `json:"siteId"`
	SiteName   string  `json:"siteName"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64  `json:"startTime"`
	Target    *string `json:"target"`
}

ConnectorRecord defines model for ConnectorRecord.

func (ConnectorRecord) GetEndTime

func (r ConnectorRecord) GetEndTime() uint64

GetEndTime

func (ConnectorRecord) GetStartTime

func (r ConnectorRecord) GetStartTime() uint64

GetStartTime

type ConnectorResponse

type ConnectorResponse struct {
	Results ConnectorRecord `json:"results"`
}

ConnectorResponse defines model for ConnectorResponse.

func (*ConnectorResponse) SetResults

func (r *ConnectorResponse) SetResults(v ConnectorRecord)

SetResults

type ConnectorsResponse

type ConnectorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetConnectors
	JSON400      *ErrorBadRequest
}

func ParseConnectorsResponse

func ParseConnectorsResponse(rsp *http.Response) (*ConnectorsResponse, error)

ParseConnectorsResponse parses an HTTP response from a ConnectorsWithResponse call

func (ConnectorsResponse) Status

func (r ConnectorsResponse) Status() string

Status returns HTTPResponse.Status

func (ConnectorsResponse) StatusCode

func (r ConnectorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ErrorBadRequest

type ErrorBadRequest = ErrorResponse

ErrorBadRequest defines model for errorBadRequest.

type ErrorNotFound

type ErrorNotFound = ErrorResponse

ErrorNotFound defines model for errorNotFound.

type ErrorResponse

type ErrorResponse struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

ErrorResponse defines model for ErrorResponse.

type FlowAggregateListResponse

type FlowAggregateListResponse struct {
	// Count number of results in response
	Count   int64                 `json:"count"`
	Results []FlowAggregateRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

FlowAggregateListResponse defines model for FlowAggregateListResponse.

func (*FlowAggregateListResponse) SetCount

func (r *FlowAggregateListResponse) SetCount(v int64)

SetCount

func (*FlowAggregateListResponse) SetResults

SetResults

func (*FlowAggregateListResponse) SetTimeRangeCount

func (r *FlowAggregateListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type FlowAggregatePairType

type FlowAggregatePairType string

FlowAggregatePairType defines model for flowAggregatePairType.

const (
	PROCESS      FlowAggregatePairType = "PROCESS"
	PROCESSGROUP FlowAggregatePairType = "PROCESS_GROUP"
	SITE         FlowAggregatePairType = "SITE"
)

Defines values for FlowAggregatePairType.

type FlowAggregateRecord

type FlowAggregateRecord struct {
	DestinationId       string  `json:"destinationId"`
	DestinationName     string  `json:"destinationName"`
	DestinationSiteId   *string `json:"destinationSiteId,omitempty"`
	DestinationSiteName *string `json:"destinationSiteName,omitempty"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity       string                `json:"identity"`
	PairType       FlowAggregatePairType `json:"pairType"`
	Protocol       string                `json:"protocol"`
	RecordCount    uint64                `json:"recordCount"`
	SourceId       string                `json:"sourceId"`
	SourceName     string                `json:"sourceName"`
	SourceSiteId   *string               `json:"sourceSiteId,omitempty"`
	SourceSiteName *string               `json:"sourceSiteName,omitempty"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

FlowAggregateRecord defines model for FlowAggregateRecord.

func (FlowAggregateRecord) GetEndTime

func (r FlowAggregateRecord) GetEndTime() uint64

GetEndTime

func (FlowAggregateRecord) GetStartTime

func (r FlowAggregateRecord) GetStartTime() uint64

GetStartTime

type FlowAggregateResponse

type FlowAggregateResponse struct {
	Results FlowAggregateRecord `json:"results"`
}

FlowAggregateResponse defines model for FlowAggregateResponse.

func (*FlowAggregateResponse) SetResults

func (r *FlowAggregateResponse) SetResults(v FlowAggregateRecord)

SetResults

type GetApplicationFlows

type GetApplicationFlows = ApplicationFlowResponse

GetApplicationFlows defines model for getApplicationFlows.

type GetComponentByID

type GetComponentByID = ComponentResponse

GetComponentByID defines model for getComponentByID.

type GetComponents

type GetComponents = ComponentListResponse

GetComponents defines model for getComponents.

type GetConnections

type GetConnections = ConnectionListResponse

GetConnections defines model for getConnections.

type GetConnectorByID

type GetConnectorByID = ConnectorResponse

GetConnectorByID defines model for getConnectorByID.

type GetConnectors

type GetConnectors = ConnectorListResponse

GetConnectors defines model for getConnectors.

type GetFlowAggregateByID

type GetFlowAggregateByID = FlowAggregateResponse

GetFlowAggregateByID defines model for getFlowAggregateByID.

type GetFlowAggregates

type GetFlowAggregates = FlowAggregateListResponse

GetFlowAggregates defines model for getFlowAggregates.

type GetListenerByID

type GetListenerByID = ListenerResponse

GetListenerByID defines model for getListenerByID.

type GetListeners

type GetListeners = ListenerListResponse

GetListeners defines model for getListeners.

type GetProcessByID

type GetProcessByID = ProcessResponse

GetProcessByID defines model for getProcessByID.

type GetProcesses

type GetProcesses = ProcessListResponse

GetProcesses defines model for getProcesses.

type GetRouterAccess

type GetRouterAccess = RouterAccessListResponse

GetRouterAccess defines model for getRouterAccess.

type GetRouterAccessByID

type GetRouterAccessByID = RouterAccessResponse

GetRouterAccessByID defines model for getRouterAccessByID.

type GetRouterByID

type GetRouterByID = RouterResponse

GetRouterByID defines model for getRouterByID.

type GetRouterLinkByID

type GetRouterLinkByID = RouterLinkResponse

GetRouterLinkByID defines model for getRouterLinkByID.

type GetRouterLinks = RouterLinkListResponse

GetRouterLinks defines model for getRouterLinks.

type GetRouters

type GetRouters = RouterListResponse

GetRouters defines model for getRouters.

type GetServiceByID

type GetServiceByID = ServiceResponse

GetServiceByID defines model for getServiceByID.

type GetServices

type GetServices = ServiceListResponse

GetServices defines model for getServices.

type GetSiteByID

type GetSiteByID = SiteResponse

GetSiteByID defines model for getSiteByID.

type GetSites

type GetSites = SiteListResponse

GetSites defines model for getSites.

type GorillaServerOptions

type GorillaServerOptions struct {
	BaseURL          string
	BaseRouter       *mux.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type HostsByIDResponse

type HostsByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotSupported
	JSON404      *ErrorNotFound
}

func ParseHostsByIDResponse

func ParseHostsByIDResponse(rsp *http.Response) (*HostsByIDResponse, error)

ParseHostsByIDResponse parses an HTTP response from a HostsByIDWithResponse call

func (HostsByIDResponse) Status

func (r HostsByIDResponse) Status() string

Status returns HTTPResponse.Status

func (HostsByIDResponse) StatusCode

func (r HostsByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HostsBySiteResponse

type HostsBySiteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON410      *NotSupported
}

func ParseHostsBySiteResponse

func ParseHostsBySiteResponse(rsp *http.Response) (*HostsBySiteResponse, error)

ParseHostsBySiteResponse parses an HTTP response from a HostsBySiteWithResponse call

func (HostsBySiteResponse) Status

func (r HostsBySiteResponse) Status() string

Status returns HTTPResponse.Status

func (HostsBySiteResponse) StatusCode

func (r HostsBySiteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HostsResponse

type HostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON410      *NotSupported
}

func ParseHostsResponse

func ParseHostsResponse(rsp *http.Response) (*HostsResponse, error)

ParseHostsResponse parses an HTTP response from a HostsWithResponse call

func (HostsResponse) Status

func (r HostsResponse) Status() string

Status returns HTTPResponse.Status

func (HostsResponse) StatusCode

func (r HostsResponse) 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 InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type LinkRoleType

type LinkRoleType string

LinkRoleType The class of skupper link

const (
	LinkRoleTypeEdge        LinkRoleType = "edge"
	LinkRoleTypeInterRouter LinkRoleType = "inter-router"
	LinkRoleTypeUnknown     LinkRoleType = "unknown"
)

Defines values for LinkRoleType.

type ListenerByIDResponse

type ListenerByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetListenerByID
	JSON404      *ErrorNotFound
}

func ParseListenerByIDResponse

func ParseListenerByIDResponse(rsp *http.Response) (*ListenerByIDResponse, error)

ParseListenerByIDResponse parses an HTTP response from a ListenerByIDWithResponse call

func (ListenerByIDResponse) Status

func (r ListenerByIDResponse) Status() string

Status returns HTTPResponse.Status

func (ListenerByIDResponse) StatusCode

func (r ListenerByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListenerListResponse

type ListenerListResponse struct {
	// Count number of results in response
	Count   int64            `json:"count"`
	Results []ListenerRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ListenerListResponse defines model for ListenerListResponse.

func (*ListenerListResponse) SetCount

func (r *ListenerListResponse) SetCount(v int64)

SetCount

func (*ListenerListResponse) SetResults

func (r *ListenerListResponse) SetResults(v []ListenerRecord)

SetResults

func (*ListenerListResponse) SetTimeRangeCount

func (r *ListenerListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ListenerRecord

type ListenerRecord struct {
	DestHost string `json:"destHost"`
	DestPort string `json:"destPort"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity   string  `json:"identity"`
	Name       string  `json:"name"`
	Protocol   string  `json:"protocol"`
	RouterId   string  `json:"routerId"`
	RoutingKey string  `json:"routingKey"`
	ServiceId  *string `json:"serviceId,omitempty"`
	SiteId     string  `json:"siteId"`
	SiteName   string  `json:"siteName"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

ListenerRecord defines model for ListenerRecord.

func (ListenerRecord) GetEndTime

func (r ListenerRecord) GetEndTime() uint64

GetEndTime

func (ListenerRecord) GetStartTime

func (r ListenerRecord) GetStartTime() uint64

GetStartTime

type ListenerResponse

type ListenerResponse struct {
	Results ListenerRecord `json:"results"`
}

ListenerResponse defines model for ListenerResponse.

func (*ListenerResponse) SetResults

func (r *ListenerResponse) SetResults(v ListenerRecord)

SetResults

type ListenersResponse

type ListenersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetListeners
	JSON400      *ErrorBadRequest
}

func ParseListenersResponse

func ParseListenersResponse(rsp *http.Response) (*ListenersResponse, error)

ParseListenersResponse parses an HTTP response from a ListenersWithResponse call

func (ListenersResponse) Status

func (r ListenersResponse) Status() string

Status returns HTTPResponse.Status

func (ListenersResponse) StatusCode

func (r ListenersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NotSupported

type NotSupported = ErrorResponse

NotSupported defines model for notSupported.

type OperStatusType

type OperStatusType string

OperStatusType defines model for operStatusType.

const (
	Down OperStatusType = "down"
	Up   OperStatusType = "up"
)

Defines values for OperStatusType.

type PathID

type PathID = string

PathID defines model for pathID.

type ProcessBindingType

type ProcessBindingType string

ProcessBindingType Indicates whether a process is exposed or not in a skupper network

const (
	Bound   ProcessBindingType = "bound"
	Unbound ProcessBindingType = "unbound"
)

Defines values for ProcessBindingType.

type ProcessByIdResponse

type ProcessByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetProcessByID
	JSON404      *ErrorNotFound
}

func ParseProcessByIdResponse

func ParseProcessByIdResponse(rsp *http.Response) (*ProcessByIdResponse, error)

ParseProcessByIdResponse parses an HTTP response from a ProcessByIdWithResponse call

func (ProcessByIdResponse) Status

func (r ProcessByIdResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessByIdResponse) StatusCode

func (r ProcessByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessListResponse

type ProcessListResponse struct {
	// Count number of results in response
	Count   int64           `json:"count"`
	Results []ProcessRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ProcessListResponse defines model for ProcessListResponse.

func (*ProcessListResponse) SetCount

func (r *ProcessListResponse) SetCount(v int64)

SetCount

func (*ProcessListResponse) SetResults

func (r *ProcessListResponse) SetResults(v []ProcessRecord)

SetResults

func (*ProcessListResponse) SetTimeRangeCount

func (r *ProcessListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ProcessPairsByServiceResponse

type ProcessPairsByServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregates
	JSON404      *ErrorNotFound
}

func ParseProcessPairsByServiceResponse

func ParseProcessPairsByServiceResponse(rsp *http.Response) (*ProcessPairsByServiceResponse, error)

ParseProcessPairsByServiceResponse parses an HTTP response from a ProcessPairsByServiceWithResponse call

func (ProcessPairsByServiceResponse) Status

Status returns HTTPResponse.Status

func (ProcessPairsByServiceResponse) StatusCode

func (r ProcessPairsByServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessRecord

type ProcessRecord struct {
	// Binding Indicates whether a process is exposed or not in a skupper network
	Binding ProcessBindingType `json:"binding"`

	// ComponentId Id of the component associated to the process.
	ComponentId   string `json:"componentId"`
	ComponentName string `json:"componentName"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// HostName The IP address of the pod within the Kubernetes cluster
	HostName *string `json:"hostName"`

	// Identity The unique identifier for the record.
	Identity  string  `json:"identity"`
	ImageName *string `json:"imageName"`
	Name      string  `json:"name"`

	// Role Internal processes are processes related to Skupper. Remote processes are processes indirectly connected, such as a proxy
	Role     ProcessRecordRole        `json:"role"`
	Services *[]ServiceIdentifierType `json:"services"`

	// SiteId Id of the site associated to the process.
	SiteId   string `json:"siteId"`
	SiteName string `json:"siteName"`

	// SourceHost The IP address of the node where the pod is running
	SourceHost string `json:"sourceHost"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

ProcessRecord defines model for ProcessRecord.

func (ProcessRecord) GetEndTime

func (r ProcessRecord) GetEndTime() uint64

GetEndTime

func (ProcessRecord) GetStartTime

func (r ProcessRecord) GetStartTime() uint64

GetStartTime

type ProcessRecordRole

type ProcessRecordRole string

ProcessRecordRole Internal processes are processes related to Skupper. Remote processes are processes indirectly connected, such as a proxy

const (
	External ProcessRecordRole = "external"
	Internal ProcessRecordRole = "internal"
	Remote   ProcessRecordRole = "remote"
)

Defines values for ProcessRecordRole.

type ProcessResponse

type ProcessResponse struct {
	Results ProcessRecord `json:"results"`
}

ProcessResponse defines model for ProcessResponse.

func (*ProcessResponse) SetResults

func (r *ProcessResponse) SetResults(v ProcessRecord)

SetResults

type ProcessesByServiceResponse

type ProcessesByServiceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetProcesses
	JSON400      *ErrorBadRequest
}

func ParseProcessesByServiceResponse

func ParseProcessesByServiceResponse(rsp *http.Response) (*ProcessesByServiceResponse, error)

ParseProcessesByServiceResponse parses an HTTP response from a ProcessesByServiceWithResponse call

func (ProcessesByServiceResponse) Status

Status returns HTTPResponse.Status

func (ProcessesByServiceResponse) StatusCode

func (r ProcessesByServiceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessesBySiteResponse

type ProcessesBySiteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetProcesses
	JSON404      *ErrorNotFound
}

func ParseProcessesBySiteResponse

func ParseProcessesBySiteResponse(rsp *http.Response) (*ProcessesBySiteResponse, error)

ParseProcessesBySiteResponse parses an HTTP response from a ProcessesBySiteWithResponse call

func (ProcessesBySiteResponse) Status

func (r ProcessesBySiteResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessesBySiteResponse) StatusCode

func (r ProcessesBySiteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcessesResponse

type ProcessesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetProcesses
	JSON400      *ErrorBadRequest
}

func ParseProcessesResponse

func ParseProcessesResponse(rsp *http.Response) (*ProcessesResponse, error)

ParseProcessesResponse parses an HTTP response from a ProcessesWithResponse call

func (ProcessesResponse) Status

func (r ProcessesResponse) Status() string

Status returns HTTPResponse.Status

func (ProcessesResponse) StatusCode

func (r ProcessesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcesspairByIDResponse

type ProcesspairByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregateByID
	JSON404      *ErrorNotFound
}

func ParseProcesspairByIDResponse

func ParseProcesspairByIDResponse(rsp *http.Response) (*ProcesspairByIDResponse, error)

ParseProcesspairByIDResponse parses an HTTP response from a ProcesspairByIDWithResponse call

func (ProcesspairByIDResponse) Status

func (r ProcesspairByIDResponse) Status() string

Status returns HTTPResponse.Status

func (ProcesspairByIDResponse) StatusCode

func (r ProcesspairByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProcesspairsResponse

type ProcesspairsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregates
	JSON400      *ErrorBadRequest
}

func ParseProcesspairsResponse

func ParseProcesspairsResponse(rsp *http.Response) (*ProcesspairsResponse, error)

ParseProcesspairsResponse parses an HTTP response from a ProcesspairsWithResponse call

func (ProcesspairsResponse) Status

func (r ProcesspairsResponse) Status() string

Status returns HTTPResponse.Status

func (ProcesspairsResponse) StatusCode

func (r ProcesspairsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Record

type Record interface {
	GetStartTime() uint64
	GetEndTime() uint64
}

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResponseSetter

type ResponseSetter[T any] interface {
	SetResults(T)
}

type RouterAccessListResponse

type RouterAccessListResponse struct {
	// Count number of results in response
	Count   int64                `json:"count"`
	Results []RouterAccessRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

RouterAccessListResponse defines model for RouterAccessListResponse.

func (*RouterAccessListResponse) SetCount

func (r *RouterAccessListResponse) SetCount(v int64)

SetCount

func (*RouterAccessListResponse) SetResults

func (r *RouterAccessListResponse) SetResults(v []RouterAccessRecord)

SetResults

func (*RouterAccessListResponse) SetTimeRangeCount

func (r *RouterAccessListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type RouterAccessRecord

type RouterAccessRecord struct {
	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity  string `json:"identity"`
	LinkCount uint64 `json:"linkCount"`
	Name      string `json:"name"`
	Role      string `json:"role"`
	RouterId  string `json:"routerId"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

RouterAccessRecord defines model for RouterAccessRecord.

func (RouterAccessRecord) GetEndTime

func (r RouterAccessRecord) GetEndTime() uint64

GetEndTime

func (RouterAccessRecord) GetStartTime

func (r RouterAccessRecord) GetStartTime() uint64

GetStartTime

type RouterAccessResponse

type RouterAccessResponse struct {
	Results RouterAccessRecord `json:"results"`
}

RouterAccessResponse defines model for RouterAccessResponse.

func (*RouterAccessResponse) SetResults

func (r *RouterAccessResponse) SetResults(v RouterAccessRecord)

SetResults

type RouterByIDResponse

type RouterByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouterByID
	JSON404      *ErrorNotFound
}

func ParseRouterByIDResponse

func ParseRouterByIDResponse(rsp *http.Response) (*RouterByIDResponse, error)

ParseRouterByIDResponse parses an HTTP response from a RouterByIDWithResponse call

func (RouterByIDResponse) Status

func (r RouterByIDResponse) Status() string

Status returns HTTPResponse.Status

func (RouterByIDResponse) StatusCode

func (r RouterByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RouterLinkListResponse

type RouterLinkListResponse struct {
	// Count number of results in response
	Count   int64              `json:"count"`
	Results []RouterLinkRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

RouterLinkListResponse defines model for RouterLinkListResponse.

func (*RouterLinkListResponse) SetCount

func (r *RouterLinkListResponse) SetCount(v int64)

SetCount

func (*RouterLinkListResponse) SetResults

func (r *RouterLinkListResponse) SetResults(v []RouterLinkRecord)

SetResults

func (*RouterLinkListResponse) SetTimeRangeCount

func (r *RouterLinkListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type RouterLinkRecord

type RouterLinkRecord struct {
	// Cost When connected, cost will be set to the link cost attribute
	Cost *uint64 `json:"cost"`

	// DestinationRouterId When connected, the identity of the destitation (peer) router.
	DestinationRouterId *string `json:"destinationRouterId"`

	// DestinationRouterName When connected, the name of the destitation (peer) router.
	DestinationRouterName *string `json:"destinationRouterName"`

	// DestinationSiteId When connected, the identity of the destitation (peer) site.
	DestinationSiteId *string `json:"destinationSiteId"`

	// DestinationSiteName When connected, the name of the destitation (peer) site.
	DestinationSiteName *string `json:"destinationSiteName"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity          string `json:"identity"`
	Name              string `json:"name"`
	OctetCount        uint64 `json:"octetCount"`
	OctetReverseCount uint64 `json:"octetReverseCount"`

	// Role The class of skupper link
	Role LinkRoleType `json:"role"`

	// RouterAccessId When connected, the identity of the destitation (peer) router access.
	RouterAccessId *string `json:"routerAccessId"`
	RouterId       string  `json:"routerId"`
	RouterName     string  `json:"routerName"`
	SourceSiteId   string  `json:"sourceSiteId"`
	SourceSiteName string  `json:"sourceSiteName"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64         `json:"startTime"`
	Status    OperStatusType `json:"status"`
}

RouterLinkRecord defines model for RouterLinkRecord.

func (RouterLinkRecord) GetEndTime

func (r RouterLinkRecord) GetEndTime() uint64

GetEndTime

func (RouterLinkRecord) GetStartTime

func (r RouterLinkRecord) GetStartTime() uint64

GetStartTime

type RouterLinkResponse

type RouterLinkResponse struct {
	Results RouterLinkRecord `json:"results"`
}

RouterLinkResponse defines model for RouterLinkResponse.

func (*RouterLinkResponse) SetResults

func (r *RouterLinkResponse) SetResults(v RouterLinkRecord)

SetResults

type RouterListResponse

type RouterListResponse struct {
	// Count number of results in response
	Count   int64          `json:"count"`
	Results []RouterRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

RouterListResponse defines model for RouterListResponse.

func (*RouterListResponse) SetCount

func (r *RouterListResponse) SetCount(v int64)

SetCount

func (*RouterListResponse) SetResults

func (r *RouterListResponse) SetResults(v []RouterRecord)

SetResults

func (*RouterListResponse) SetTimeRangeCount

func (r *RouterListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type RouterRecord

type RouterRecord struct {
	BuildVersion string `json:"buildVersion"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime  uint64 `json:"endTime"`
	HostName string `json:"hostName"`

	// Identity The unique identifier for the record.
	Identity     string  `json:"identity"`
	ImageName    string  `json:"imageName"`
	ImageVersion string  `json:"imageVersion"`
	Mode         string  `json:"mode"`
	Name         string  `json:"name"`
	Namespace    *string `json:"namespace,omitempty"`
	SiteId       string  `json:"siteId"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

RouterRecord defines model for RouterRecord.

func (RouterRecord) GetEndTime

func (r RouterRecord) GetEndTime() uint64

GetEndTime

func (RouterRecord) GetStartTime

func (r RouterRecord) GetStartTime() uint64

GetStartTime

type RouterResponse

type RouterResponse struct {
	Results RouterRecord `json:"results"`
}

RouterResponse defines model for RouterResponse.

func (*RouterResponse) SetResults

func (r *RouterResponse) SetResults(v RouterRecord)

SetResults

type RouteraccessByIDResponse

type RouteraccessByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouterAccessByID
	JSON404      *ErrorNotFound
}

func ParseRouteraccessByIDResponse

func ParseRouteraccessByIDResponse(rsp *http.Response) (*RouteraccessByIDResponse, error)

ParseRouteraccessByIDResponse parses an HTTP response from a RouteraccessByIDWithResponse call

func (RouteraccessByIDResponse) Status

func (r RouteraccessByIDResponse) Status() string

Status returns HTTPResponse.Status

func (RouteraccessByIDResponse) StatusCode

func (r RouteraccessByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RouteraccessResponse

type RouteraccessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouterAccess
	JSON400      *ErrorBadRequest
}

func ParseRouteraccessResponse

func ParseRouteraccessResponse(rsp *http.Response) (*RouteraccessResponse, error)

ParseRouteraccessResponse parses an HTTP response from a RouteraccessWithResponse call

func (RouteraccessResponse) Status

func (r RouteraccessResponse) Status() string

Status returns HTTPResponse.Status

func (RouteraccessResponse) StatusCode

func (r RouteraccessResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RouterlinkByIDResponse

type RouterlinkByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouterLinkByID
	JSON404      *ErrorNotFound
}

func ParseRouterlinkByIDResponse

func ParseRouterlinkByIDResponse(rsp *http.Response) (*RouterlinkByIDResponse, error)

ParseRouterlinkByIDResponse parses an HTTP response from a RouterlinkByIDWithResponse call

func (RouterlinkByIDResponse) Status

func (r RouterlinkByIDResponse) Status() string

Status returns HTTPResponse.Status

func (RouterlinkByIDResponse) StatusCode

func (r RouterlinkByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RouterlinksResponse

type RouterlinksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouterLinks
	JSON400      *ErrorBadRequest
}

func ParseRouterlinksResponse

func ParseRouterlinksResponse(rsp *http.Response) (*RouterlinksResponse, error)

ParseRouterlinksResponse parses an HTTP response from a RouterlinksWithResponse call

func (RouterlinksResponse) Status

func (r RouterlinksResponse) Status() string

Status returns HTTPResponse.Status

func (RouterlinksResponse) StatusCode

func (r RouterlinksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoutersBySiteResponse

type RoutersBySiteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouters
	JSON404      *ErrorNotFound
}

func ParseRoutersBySiteResponse

func ParseRoutersBySiteResponse(rsp *http.Response) (*RoutersBySiteResponse, error)

ParseRoutersBySiteResponse parses an HTTP response from a RoutersBySiteWithResponse call

func (RoutersBySiteResponse) Status

func (r RoutersBySiteResponse) Status() string

Status returns HTTPResponse.Status

func (RoutersBySiteResponse) StatusCode

func (r RoutersBySiteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoutersResponse

type RoutersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetRouters
	JSON400      *ErrorBadRequest
}

func ParseRoutersResponse

func ParseRoutersResponse(rsp *http.Response) (*RoutersResponse, error)

ParseRoutersResponse parses an HTTP response from a RoutersWithResponse call

func (RoutersResponse) Status

func (r RoutersResponse) Status() string

Status returns HTTPResponse.Status

func (RoutersResponse) StatusCode

func (r RoutersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServerInterface

type ServerInterface interface {

	// (GET /api/v2alpha1/applicationflows)
	Applicationflows(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/componentpairs)
	Componentpairs(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/componentpairs/{id})
	ComponentpairByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/components)
	Components(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/components/{id})
	ComponentByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/connections)
	Connections(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/connectors)
	Connectors(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/connectors/{id})
	ConnectorByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/hosts)
	Hosts(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/hosts/{id})
	HostsByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/listeners)
	Listeners(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/listeners/{id})
	ListenerByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/processes)
	Processes(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/processes/{id})
	ProcessById(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/processpairs)
	Processpairs(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/processpairs/{id})
	ProcesspairByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/routeraccess)
	Routeraccess(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/routeraccess/{id})
	RouteraccessByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/routerlinks)
	Routerlinks(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/routerlinks/{id})
	RouterlinkByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/routers)
	Routers(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/routers/{id})
	RouterByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/services)
	Services(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/services/{id})
	ServiceByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/services/{id}/connections)
	ConnectionsByService(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/services/{id}/processes)
	ProcessesByService(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/services/{id}/processpairs)
	ProcessPairsByService(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/sitepairs)
	Sitepairs(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/sitepairs/{id})
	SitepairByID(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/sites)
	Sites(w http.ResponseWriter, r *http.Request)

	// (GET /api/v2alpha1/sites/{id})
	SiteById(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/sites/{id}/hosts)
	HostsBySite(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/sites/{id}/processes)
	ProcessesBySite(w http.ResponseWriter, r *http.Request, id PathID)

	// (GET /api/v2alpha1/sites/{id}/routers)
	RoutersBySite(w http.ResponseWriter, r *http.Request, id PathID)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) Applicationflows

func (siw *ServerInterfaceWrapper) Applicationflows(w http.ResponseWriter, r *http.Request)

Applicationflows operation middleware

func (*ServerInterfaceWrapper) ComponentByID

func (siw *ServerInterfaceWrapper) ComponentByID(w http.ResponseWriter, r *http.Request)

ComponentByID operation middleware

func (*ServerInterfaceWrapper) ComponentpairByID

func (siw *ServerInterfaceWrapper) ComponentpairByID(w http.ResponseWriter, r *http.Request)

ComponentpairByID operation middleware

func (*ServerInterfaceWrapper) Componentpairs

func (siw *ServerInterfaceWrapper) Componentpairs(w http.ResponseWriter, r *http.Request)

Componentpairs operation middleware

func (*ServerInterfaceWrapper) Components

func (siw *ServerInterfaceWrapper) Components(w http.ResponseWriter, r *http.Request)

Components operation middleware

func (*ServerInterfaceWrapper) Connections

func (siw *ServerInterfaceWrapper) Connections(w http.ResponseWriter, r *http.Request)

Connections operation middleware

func (*ServerInterfaceWrapper) ConnectionsByService

func (siw *ServerInterfaceWrapper) ConnectionsByService(w http.ResponseWriter, r *http.Request)

ConnectionsByService operation middleware

func (*ServerInterfaceWrapper) ConnectorByID

func (siw *ServerInterfaceWrapper) ConnectorByID(w http.ResponseWriter, r *http.Request)

ConnectorByID operation middleware

func (*ServerInterfaceWrapper) Connectors

func (siw *ServerInterfaceWrapper) Connectors(w http.ResponseWriter, r *http.Request)

Connectors operation middleware

func (*ServerInterfaceWrapper) Hosts

Hosts operation middleware

func (*ServerInterfaceWrapper) HostsByID

func (siw *ServerInterfaceWrapper) HostsByID(w http.ResponseWriter, r *http.Request)

HostsByID operation middleware

func (*ServerInterfaceWrapper) HostsBySite

func (siw *ServerInterfaceWrapper) HostsBySite(w http.ResponseWriter, r *http.Request)

HostsBySite operation middleware

func (*ServerInterfaceWrapper) ListenerByID

func (siw *ServerInterfaceWrapper) ListenerByID(w http.ResponseWriter, r *http.Request)

ListenerByID operation middleware

func (*ServerInterfaceWrapper) Listeners

func (siw *ServerInterfaceWrapper) Listeners(w http.ResponseWriter, r *http.Request)

Listeners operation middleware

func (*ServerInterfaceWrapper) ProcessById

func (siw *ServerInterfaceWrapper) ProcessById(w http.ResponseWriter, r *http.Request)

ProcessById operation middleware

func (*ServerInterfaceWrapper) ProcessPairsByService

func (siw *ServerInterfaceWrapper) ProcessPairsByService(w http.ResponseWriter, r *http.Request)

ProcessPairsByService operation middleware

func (*ServerInterfaceWrapper) Processes

func (siw *ServerInterfaceWrapper) Processes(w http.ResponseWriter, r *http.Request)

Processes operation middleware

func (*ServerInterfaceWrapper) ProcessesByService

func (siw *ServerInterfaceWrapper) ProcessesByService(w http.ResponseWriter, r *http.Request)

ProcessesByService operation middleware

func (*ServerInterfaceWrapper) ProcessesBySite

func (siw *ServerInterfaceWrapper) ProcessesBySite(w http.ResponseWriter, r *http.Request)

ProcessesBySite operation middleware

func (*ServerInterfaceWrapper) ProcesspairByID

func (siw *ServerInterfaceWrapper) ProcesspairByID(w http.ResponseWriter, r *http.Request)

ProcesspairByID operation middleware

func (*ServerInterfaceWrapper) Processpairs

func (siw *ServerInterfaceWrapper) Processpairs(w http.ResponseWriter, r *http.Request)

Processpairs operation middleware

func (*ServerInterfaceWrapper) RouterByID

func (siw *ServerInterfaceWrapper) RouterByID(w http.ResponseWriter, r *http.Request)

RouterByID operation middleware

func (*ServerInterfaceWrapper) Routeraccess

func (siw *ServerInterfaceWrapper) Routeraccess(w http.ResponseWriter, r *http.Request)

Routeraccess operation middleware

func (*ServerInterfaceWrapper) RouteraccessByID

func (siw *ServerInterfaceWrapper) RouteraccessByID(w http.ResponseWriter, r *http.Request)

RouteraccessByID operation middleware

func (*ServerInterfaceWrapper) RouterlinkByID

func (siw *ServerInterfaceWrapper) RouterlinkByID(w http.ResponseWriter, r *http.Request)

RouterlinkByID operation middleware

func (siw *ServerInterfaceWrapper) Routerlinks(w http.ResponseWriter, r *http.Request)

Routerlinks operation middleware

func (*ServerInterfaceWrapper) Routers

Routers operation middleware

func (*ServerInterfaceWrapper) RoutersBySite

func (siw *ServerInterfaceWrapper) RoutersBySite(w http.ResponseWriter, r *http.Request)

RoutersBySite operation middleware

func (*ServerInterfaceWrapper) ServiceByID

func (siw *ServerInterfaceWrapper) ServiceByID(w http.ResponseWriter, r *http.Request)

ServiceByID operation middleware

func (*ServerInterfaceWrapper) Services

func (siw *ServerInterfaceWrapper) Services(w http.ResponseWriter, r *http.Request)

Services operation middleware

func (*ServerInterfaceWrapper) SiteById

func (siw *ServerInterfaceWrapper) SiteById(w http.ResponseWriter, r *http.Request)

SiteById operation middleware

func (*ServerInterfaceWrapper) SitepairByID

func (siw *ServerInterfaceWrapper) SitepairByID(w http.ResponseWriter, r *http.Request)

SitepairByID operation middleware

func (*ServerInterfaceWrapper) Sitepairs

func (siw *ServerInterfaceWrapper) Sitepairs(w http.ResponseWriter, r *http.Request)

Sitepairs operation middleware

func (*ServerInterfaceWrapper) Sites

Sites operation middleware

type ServiceByIDResponse

type ServiceByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetServiceByID
	JSON404      *ErrorNotFound
}

func ParseServiceByIDResponse

func ParseServiceByIDResponse(rsp *http.Response) (*ServiceByIDResponse, error)

ParseServiceByIDResponse parses an HTTP response from a ServiceByIDWithResponse call

func (ServiceByIDResponse) Status

func (r ServiceByIDResponse) Status() string

Status returns HTTPResponse.Status

func (ServiceByIDResponse) StatusCode

func (r ServiceByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServiceIdentifierType

type ServiceIdentifierType = AtmarkDelimitedString

ServiceIdentifierType a special string for identifying services uses the form `name@identity@protocol`

type ServiceListResponse

type ServiceListResponse struct {
	// Count number of results in response
	Count   int64           `json:"count"`
	Results []ServiceRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

ServiceListResponse defines model for ServiceListResponse.

func (*ServiceListResponse) SetCount

func (r *ServiceListResponse) SetCount(v int64)

SetCount

func (*ServiceListResponse) SetResults

func (r *ServiceListResponse) SetResults(v []ServiceRecord)

SetResults

func (*ServiceListResponse) SetTimeRangeCount

func (r *ServiceListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type ServiceRecord

type ServiceRecord struct {
	ConnectorCount int `json:"connectorCount"`

	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// HasListener true when there is at least one listener for this routingKey
	HasListener bool `json:"hasListener"`

	// Identity The unique identifier for the record.
	Identity string `json:"identity"`

	// IsBound true when there are both listeners and connectors configured
	IsBound       bool   `json:"isBound"`
	ListenerCount int    `json:"listenerCount"`
	Name          string `json:"name"`

	// ObservedApplicationProtocols Array of the observed application level protocols
	ObservedApplicationProtocols []string `json:"observedApplicationProtocols"`
	Protocol                     string   `json:"protocol"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`
}

ServiceRecord defines model for ServiceRecord.

func (ServiceRecord) GetEndTime

func (r ServiceRecord) GetEndTime() uint64

GetEndTime

func (ServiceRecord) GetStartTime

func (r ServiceRecord) GetStartTime() uint64

GetStartTime

type ServiceResponse

type ServiceResponse struct {
	Results ServiceRecord `json:"results"`
}

ServiceResponse defines model for ServiceResponse.

func (*ServiceResponse) SetResults

func (r *ServiceResponse) SetResults(v ServiceRecord)

SetResults

type ServicesResponse

type ServicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetServices
	JSON400      *ErrorBadRequest
}

func ParseServicesResponse

func ParseServicesResponse(rsp *http.Response) (*ServicesResponse, error)

ParseServicesResponse parses an HTTP response from a ServicesWithResponse call

func (ServicesResponse) Status

func (r ServicesResponse) Status() string

Status returns HTTPResponse.Status

func (ServicesResponse) StatusCode

func (r ServicesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SiteByIdResponse

type SiteByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetSiteByID
	JSON404      *ErrorNotFound
}

func ParseSiteByIdResponse

func ParseSiteByIdResponse(rsp *http.Response) (*SiteByIdResponse, error)

ParseSiteByIdResponse parses an HTTP response from a SiteByIdWithResponse call

func (SiteByIdResponse) Status

func (r SiteByIdResponse) Status() string

Status returns HTTPResponse.Status

func (SiteByIdResponse) StatusCode

func (r SiteByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SiteListResponse

type SiteListResponse struct {
	// Count number of results in response
	Count   int64        `json:"count"`
	Results []SiteRecord `json:"results"`

	// TimeRangeCount number of results matching filtering and time range constraints before any limit or offset is applied.
	TimeRangeCount int64 `json:"timeRangeCount"`
}

SiteListResponse defines model for SiteListResponse.

func (*SiteListResponse) SetCount

func (r *SiteListResponse) SetCount(v int64)

SetCount

func (*SiteListResponse) SetResults

func (r *SiteListResponse) SetResults(v []SiteRecord)

SetResults

func (*SiteListResponse) SetTimeRangeCount

func (r *SiteListResponse) SetTimeRangeCount(v int64)

SetTimeRangeCount

type SitePlatformType

type SitePlatformType string

SitePlatformType The platform used for the site.

const (
	SitePlatformTypeDocker     SitePlatformType = "docker"
	SitePlatformTypeKubernetes SitePlatformType = "kubernetes"
	SitePlatformTypeLinux      SitePlatformType = "linux"
	SitePlatformTypePodman     SitePlatformType = "podman"
	SitePlatformTypeUnknown    SitePlatformType = "unknown"
)

Defines values for SitePlatformType.

type SiteRecord

type SiteRecord struct {
	// EndTime The end time in microseconds of the record in Unix timestamp format.
	EndTime uint64 `json:"endTime"`

	// Identity The unique identifier for the record.
	Identity  string  `json:"identity"`
	Name      string  `json:"name"`
	Namespace *string `json:"namespace"`

	// Platform The platform used for the site.
	Platform SitePlatformType `json:"platform"`

	// Provider Possible values are 'AWS', 'IBM', 'Azure' ecc. Can be any string or 'unknown'
	Provider    string `json:"provider"`
	RouterCount int    `json:"routerCount"`

	// StartTime The creation time in microseconds of the record in Unix timestamp format. The value 0 means that the record is not terminated
	StartTime uint64 `json:"startTime"`

	// Version The current skupper version installed. Can be any string or 'unknown'
	Version string `json:"version"`
}

SiteRecord defines model for SiteRecord.

func (SiteRecord) GetEndTime

func (r SiteRecord) GetEndTime() uint64

GetEndTime

func (SiteRecord) GetStartTime

func (r SiteRecord) GetStartTime() uint64

GetStartTime

type SiteResponse

type SiteResponse struct {
	Results SiteRecord `json:"results"`
}

SiteResponse defines model for SiteResponse.

func (*SiteResponse) SetResults

func (r *SiteResponse) SetResults(v SiteRecord)

SetResults

type SitepairByIDResponse

type SitepairByIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregateByID
	JSON404      *ErrorNotFound
}

func ParseSitepairByIDResponse

func ParseSitepairByIDResponse(rsp *http.Response) (*SitepairByIDResponse, error)

ParseSitepairByIDResponse parses an HTTP response from a SitepairByIDWithResponse call

func (SitepairByIDResponse) Status

func (r SitepairByIDResponse) Status() string

Status returns HTTPResponse.Status

func (SitepairByIDResponse) StatusCode

func (r SitepairByIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SitepairsResponse

type SitepairsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetFlowAggregates
	JSON400      *ErrorBadRequest
}

func ParseSitepairsResponse

func ParseSitepairsResponse(rsp *http.Response) (*SitepairsResponse, error)

ParseSitepairsResponse parses an HTTP response from a SitepairsWithResponse call

func (SitepairsResponse) Status

func (r SitepairsResponse) Status() string

Status returns HTTPResponse.Status

func (SitepairsResponse) StatusCode

func (r SitepairsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SitesResponse

type SitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetSites
	JSON400      *ErrorBadRequest
}

func ParseSitesResponse

func ParseSitesResponse(rsp *http.Response) (*SitesResponse, error)

ParseSitesResponse parses an HTTP response from a SitesWithResponse call

func (SitesResponse) Status

func (r SitesResponse) Status() string

Status returns HTTPResponse.Status

func (SitesResponse) StatusCode

func (r SitesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

Jump to

Keyboard shortcuts

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