request

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgentJoiner = "incus-cluster-joiner"

UserAgentJoiner used to distinguish between a regular client request and an internal cluster request when joining a node to a cluster.

View Source
const UserAgentNotifier = "incus-cluster-notifier"

UserAgentNotifier used to distinguish between a regular client request and an internal cluster request when notifying other nodes of a cluster change.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientType

type ClientType string

ClientType indicates which sort of client type is being used.

const ClientTypeJoiner ClientType = "joiner"

ClientTypeJoiner cluster joiner client.

const ClientTypeNormal ClientType = "normal"

ClientTypeNormal normal client.

const ClientTypeNotifier ClientType = "notifier"

ClientTypeNotifier cluster notification client.

func UserAgentClientType

func UserAgentClientType(userAgent string) ClientType

UserAgentClientType converts user agent to client type.

Jump to

Keyboard shortcuts

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