models

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArkSIAAccessConnectorID

type ArkSIAAccessConnectorID struct {
	ConnectorID string `json:"connector_id" mapstructure:"connector_id" flag:"connector-id" desc:"The connector ID" validate:"required"`
}

ArkSIAAccessConnectorID is a struct that represents the connector ID for Ark SIA Access.

type ArkSIABackendEndpoint

type ArkSIABackendEndpoint struct {
	BackendConnectorAddress string `json:"backend_connector_endpoint" mapstructure:"backend_connector_endpoint"`
	LatencyMlsec            int    `json:"latency_mlsec" mapstructure:"latency_mlsec"`
	Status                  string `json:"status" mapstructure:"status"`
	Description             string `json:"description" mapstructure:"description"`
}

ArkSIABackendEndpoint represents the schema for a backend endpoint in the reachability test response.

type ArkSIAConnectorSetupScript

type ArkSIAConnectorSetupScript struct {
	ScriptURL string `` /* 209-byte string literal not displayed */
	BashCmd   string `` /* 246-byte string literal not displayed */
}

ArkSIAConnectorSetupScript represents the setup script details for the SIA connector.

type ArkSIADeleteConnector

type ArkSIADeleteConnector struct {
	ConnectorID string `json:"connector_id" mapstructure:"connector_id" flag:"connector-id" desc:"The connector ID to delete" validate:"required"`
	RetryCount  int    `` /* 134-byte string literal not displayed */
	RetryDelay  int    `json:"retry_delay" mapstructure:"retry_delay" flag:"retry-delay" desc:"Delay in seconds between retries" default:"5"`
}

ArkSIADeleteConnector represents the request to delete a connector in Ark SIA.

type ArkSIAGetConnectorSetupScript

type ArkSIAGetConnectorSetupScript struct {
	ConnectorType   string `` /* 225-byte string literal not displayed */
	ConnectorOS     string `` /* 200-byte string literal not displayed */
	ConnectorPoolID string `` /* 229-byte string literal not displayed */
}

ArkSIAGetConnectorSetupScript represents the setup script details for getting a connector.

type ArkSIAInstallConnector

type ArkSIAInstallConnector struct {
	ConnectorType      string `` /* 225-byte string literal not displayed */
	ConnectorOS        string `` /* 200-byte string literal not displayed */
	ConnectorPoolID    string `` /* 229-byte string literal not displayed */
	TargetMachine      string `json:"target_machine" mapstructure:"target_machine" desc:"Target machine on which to install the connector on"`
	Username           string `json:"username" mapstructure:"username" desc:"Username to connect with to the target machine"`
	Password           string `json:"password,omitempty" mapstructure:"password" desc:"Password to connect with to the target machine"`
	PrivateKeyPath     string `` /* 146-byte string literal not displayed */
	PrivateKeyContents string `` /* 153-byte string literal not displayed */
	RetryCount         int    `` /* 132-byte string literal not displayed */
	RetryDelay         int    `json:"retry_delay" mapstructure:"retry_delay" flag:"retry-delay" desc:"Delay in seconds between retries" default:"5"`
}

ArkSIAInstallConnector represents the details required to install a connector.

type ArkSIAReachabilityTestResponse

type ArkSIAReachabilityTestResponse struct {
	Targets  []ArkSIATargetElement   `json:"targets" mapstructure:"targets"`
	Backends []ArkSIABackendEndpoint `json:"backends" mapstructure:"backends"`
}

ArkSIAReachabilityTestResponse represents the response for the reachability test.

type ArkSIATargetElement

type ArkSIATargetElement struct {
	TargetIP     string `json:"target_ip" mapstructure:"target_ip"`
	TargetPort   int    `json:"target_port" mapstructure:"target_port"`
	LatencyMlsec int    `json:"latency_mlsec" mapstructure:"latency_mlsec"`
	Status       string `json:"status" mapstructure:"status"`
	Description  string `json:"description" mapstructure:"description"`
}

ArkSIATargetElement represents the schema for a target element in the reachability test response.

type ArkSIATestConnectorReachability

type ArkSIATestConnectorReachability struct {
	ConnectorID           string `` /* 126-byte string literal not displayed */
	TargetHostname        string `` /* 129-byte string literal not displayed */
	TargetPort            int    `` /* 126-byte string literal not displayed */
	CheckBackendEndpoints bool   `` /* 154-byte string literal not displayed */
}

ArkSIATestConnectorReachability represents the schema for testing connector reachability.

type ArkSIAUninstallConnector

type ArkSIAUninstallConnector struct {
	ConnectorOS        string `` /* 194-byte string literal not displayed */
	ConnectorID        string `` /* 129-byte string literal not displayed */
	TargetMachine      string `json:"target_machine" mapstructure:"target_machine" desc:"Target machine on which to uninstall the connector on"`
	Username           string `json:"username" mapstructure:"username" desc:"Username to connect with to the target machine"`
	Password           string `json:"password,omitempty" mapstructure:"password" desc:"Password to connect with to the target machine"`
	PrivateKeyPath     string `` /* 146-byte string literal not displayed */
	PrivateKeyContents string `` /* 153-byte string literal not displayed */
	RetryCount         int    `` /* 138-byte string literal not displayed */
	RetryDelay         int    `json:"retry_delay" mapstructure:"retry_delay" flag:"retry-delay" desc:"Delay in seconds between retries" default:"5"`
}

ArkSIAUninstallConnector represents the details required to install a connector.

Jump to

Keyboard shortcuts

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