request

package
v0.2.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateGatewayRequest

type CreateGatewayRequest struct {
	Name            string                 `json:"name"`
	Slug            string                 `json:"slug,omitempty"`
	Domain          string                 `json:"domain,omitempty"`
	Metadata        map[string]string      `json:"metadata,omitempty"`
	Telemetry       *telemetry.Telemetry   `json:"telemetry,omitempty"`
	ClientTLSConfig domain.ClientTLSConfig `json:"client_tls,omitempty"`
	SessionConfig   *domain.SessionConfig  `json:"session_config,omitempty"`
}

func (CreateGatewayRequest) Validate

func (r CreateGatewayRequest) Validate() error

type ListGatewayRequest

type ListGatewayRequest struct {
	Name string
	Page int
	Size int
}

type UpdateGatewayRequest

type UpdateGatewayRequest struct {
	Name            *string                 `json:"name,omitempty"`
	Slug            *string                 `json:"slug,omitempty"`
	Status          *string                 `json:"status,omitempty"`
	Domain          *string                 `json:"domain,omitempty"`
	Metadata        map[string]string       `json:"metadata,omitempty"`
	Telemetry       *telemetry.Telemetry    `json:"telemetry,omitempty"`
	ClientTLSConfig *domain.ClientTLSConfig `json:"client_tls,omitempty"`
	SessionConfig   *domain.SessionConfig   `json:"session_config,omitempty"`
}

func (UpdateGatewayRequest) Validate

func (r UpdateGatewayRequest) Validate() error

Jump to

Keyboard shortcuts

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