graphql

package
v0.0.0-...-7b8e0ff Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyGlobalTrafficPolicyRequest

type ApplyGlobalTrafficPolicyRequest struct {
	Name             string                           `json:"name"`
	Namespace        string                           `json:"namespace"`
	ConnectionPool   *v1alpha3.ConnectionPoolSettings `json:"connectionPoolSettings,omitempty"`
	OutlierDetection *v1alpha3.OutlierDetection       `json:"outlierDetection,omitempty"`
}

type ApplyGlobalTrafficPolicyResponse

type ApplyGlobalTrafficPolicyResponse bool

type ApplyHTTPRouteRequest

type ApplyHTTPRouteRequest struct {
	Name      string                 `json:"name"`
	Namespace string                 `json:"namespace"`
	Route     []HTTPRouteDestination `json:"route,omitempty"`
}

type ApplyHTTPRouteResponse

type ApplyHTTPRouteResponse bool

type Client

func NewClient

func NewClient(url string, opt ...graphql.ClientOption) Client

type Destination

type Destination struct {
	Host   string        `json:"host"`
	Subset string        `json:"subset,omitempty"`
	Port   *PortSelector `json:"port,omitempty"`
}

type DisableGlobalTrafficPolicyRequest

type DisableGlobalTrafficPolicyRequest struct {
	Name      string   `json:"name"`
	Namespace string   `json:"namespace"`
	Rules     []string `json:"rules"`
}

type DisableGlobalTrafficPolicyResponse

type DisableGlobalTrafficPolicyResponse bool

type DisableHTTPRouteRequest

type DisableHTTPRouteRequest struct {
	Name      string   `json:"name"`
	Namespace string   `json:"namespace"`
	Rules     []string `json:"rules"`
}

type DisableHTTPRouteResponse

type DisableHTTPRouteResponse bool

type GenerateLoadRequest

type GenerateLoadRequest struct {
	Namespace string
	Service   string
	Port      int
	Endpoint  string
	Method    string
	Frequency int
	Duration  int
	Headers   map[string]string
}

type GenerateLoadResponse

type GenerateLoadResponse map[string]int

type HTTPRouteDestination

type HTTPRouteDestination struct {
	Destination Destination `json:"destination"`
	Weight      int         `json:"weight"`
}

type PortSelector

type PortSelector struct {
	Number uint32 `json:"number,omitempty"`
	Name   string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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