multai

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HealthinessStatusName = map[HealthinessStatus]string{
	StatusUnknown:   "UNKNOWN",
	StatusHealthy:   "HEALTHY",
	StatusUnhealthy: "UNHEALTHY",
}
View Source
var HealthinessStatusValue = map[string]HealthinessStatus{
	"UNKNOWN":   StatusUnknown,
	"HEALTHY":   StatusHealthy,
	"UNHEALTHY": StatusUnhealthy,
}
View Source
var ProtocolName = map[Protocol]string{
	ProtocolTCP:   "TCP",
	ProtocolHTTP:  "HTTP",
	ProtocolHTTPS: "HTTPS",
	ProtocolHTTP2: "HTTP2",
}
View Source
var ProtocolValue = map[string]Protocol{
	"TCP":   ProtocolTCP,
	"HTTP":  ProtocolHTTP,
	"HTTPS": ProtocolHTTPS,
	"HTTP2": ProtocolHTTP2,
}
View Source
var ReadinessStatusName = map[ReadinessStatus]string{
	StatusReady:       "READY",
	StatusMaintenance: "MAINTENANCE",
	StatusDraining:    "DRAINING",
}
View Source
var ReadinessStatusValue = map[string]ReadinessStatus{
	"READY":       StatusReady,
	"MAINTENANCE": StatusMaintenance,
	"DRAINING":    StatusDraining,
}
View Source
var StrategyName = map[Strategy]string{
	StrategyRandom:     "RANDOM",
	StrategyRoundRobin: "ROUNDROBIN",
	StrategyLeastConn:  "LEASTCONN",
	StrategyIPHash:     "IPHASH",
}
View Source
var StrategyValue = map[string]Strategy{
	"RANDOM":     StrategyRandom,
	"ROUNDROBIN": StrategyRoundRobin,
	"LEASTCONN":  StrategyLeastConn,
	"IPHASH":     StrategyIPHash,
}
View Source
var TLSCipherSuiteName = map[uint16]string{
	tls.TLS_RSA_WITH_RC4_128_SHA:                "TLS_RSA_WITH_RC4_128_SHA",
	tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA:           "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
	tls.TLS_RSA_WITH_AES_128_CBC_SHA:            "TLS_RSA_WITH_AES_128_CBC_SHA",
	tls.TLS_RSA_WITH_AES_256_CBC_SHA:            "TLS_RSA_WITH_AES_256_CBC_SHA",
	tls.TLS_RSA_WITH_AES_128_CBC_SHA256:         "TLS_RSA_WITH_AES_128_CBC_SHA256",
	tls.TLS_RSA_WITH_AES_128_GCM_SHA256:         "TLS_RSA_WITH_AES_128_GCM_SHA256",
	tls.TLS_RSA_WITH_AES_256_GCM_SHA384:         "TLS_RSA_WITH_AES_256_GCM_SHA384",
	tls.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA:        "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA",
	tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA:    "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
	tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA:    "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
	tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA:          "TLS_ECDHE_RSA_WITH_RC4_128_SHA",
	tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA:     "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA",
	tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA:      "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
	tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA:      "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
	tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
	tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256:   "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
	tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:   "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
	tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
	tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:   "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
	tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
	tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305:    "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
	tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305:  "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
}
View Source
var TLSCipherSuiteValue = map[string]uint16{
	"TLS_RSA_WITH_RC4_128_SHA":                tls.TLS_RSA_WITH_RC4_128_SHA,
	"TLS_RSA_WITH_3DES_EDE_CBC_SHA":           tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA,
	"TLS_RSA_WITH_AES_128_CBC_SHA":            tls.TLS_RSA_WITH_AES_128_CBC_SHA,
	"TLS_RSA_WITH_AES_256_CBC_SHA":            tls.TLS_RSA_WITH_AES_256_CBC_SHA,
	"TLS_RSA_WITH_AES_128_CBC_SHA256":         tls.TLS_RSA_WITH_AES_128_CBC_SHA256,
	"TLS_RSA_WITH_AES_128_GCM_SHA256":         tls.TLS_RSA_WITH_AES_128_GCM_SHA256,
	"TLS_RSA_WITH_AES_256_GCM_SHA384":         tls.TLS_RSA_WITH_AES_256_GCM_SHA384,
	"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA":        tls.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,
	"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA":    tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
	"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA":    tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
	"TLS_ECDHE_RSA_WITH_RC4_128_SHA":          tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA,
	"TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA":     tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
	"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA":      tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
	"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA":      tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
	"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256": tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
	"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256":   tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
	"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256":   tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
	"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
	"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384":   tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
	"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
	"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305":    tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,
	"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305":  tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,
}
View Source
var TLSVersionName = map[uint16]string{
	tls.VersionSSL30: "SSL30",
	tls.VersionTLS10: "TLS10",
	tls.VersionTLS11: "TLS11",
	tls.VersionTLS12: "TLS12",
}
View Source
var TLSVersionValue = map[string]uint16{
	"SSL30": tls.VersionSSL30,
	"TLS10": tls.VersionTLS10,
	"TLS11": tls.VersionTLS11,
	"TLS12": tls.VersionTLS12,
}

Functions

func ParseTLSCipherSuite

func ParseTLSCipherSuite(suite string) (uint16, error)

func ParseTLSVersion

func ParseTLSVersion(version string) (uint16, error)

Types

type Certificate

type Certificate struct {
	ID           *string    `json:"id,omitempty"`
	Name         *string    `json:"name,omitempty"`
	CertPEMBlock *string    `json:"certificatePemBlock,omitempty"`
	KeyPEMBlock  *string    `json:"keyPemBlock,omitempty"`
	Tags         []*Tag     `json:"tags,omitempty"`
	CreatedAt    *time.Time `json:"createdAt,omitempty"`
	UpdatedAt    *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

type CreateCertificateInput

type CreateCertificateInput struct {
	Certificate *Certificate `json:"certificate,omitempty"`
}

type CreateCertificateOutput

type CreateCertificateOutput struct {
	Certificate *Certificate `json:"certificate,omitempty"`
}

type CreateDeploymentInput

type CreateDeploymentInput struct {
	Deployment *Deployment `json:"deployment,omitempty"`
}

type CreateDeploymentOutput

type CreateDeploymentOutput struct {
	Deployment *Deployment `json:"deployment,omitempty"`
}

type CreateListenerInput

type CreateListenerInput struct {
	Listener *Listener `json:"listener,omitempty"`
}

type CreateListenerOutput

type CreateListenerOutput struct {
	Listener *Listener `json:"listener,omitempty"`
}

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {
	Balancer *LoadBalancer `json:"balancer,omitempty"`
}

type CreateLoadBalancerOutput

type CreateLoadBalancerOutput struct {
	Balancer *LoadBalancer `json:"balancer,omitempty"`
}

type CreateMiddlewareInput

type CreateMiddlewareInput struct {
	Middleware *Middleware `json:"middleware,omitempty"`
}

type CreateMiddlewareOutput

type CreateMiddlewareOutput struct {
	Middleware *Middleware `json:"middleware,omitempty"`
}

type CreateRoutingRuleInput

type CreateRoutingRuleInput struct {
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
}

type CreateRoutingRuleOutput

type CreateRoutingRuleOutput struct {
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
}

type CreateTargetInput

type CreateTargetInput struct {
	TargetSetID *string `json:"targetSetId,omitempty"`
	Target      *Target `json:"target,omitempty"`
}

type CreateTargetOutput

type CreateTargetOutput struct {
	Target *Target `json:"target,omitempty"`
}

type CreateTargetSetInput

type CreateTargetSetInput struct {
	TargetSet *TargetSet `json:"targetSet,omitempty"`
}

type CreateTargetSetOutput

type CreateTargetSetOutput struct {
	TargetSet *TargetSet `json:"targetSet,omitempty"`
}

type DeleteCertificateInput

type DeleteCertificateInput struct {
	CertificateID *string `json:"certificateId,omitempty"`
}

type DeleteCertificateOutput

type DeleteCertificateOutput struct{}

type DeleteDeploymentInput

type DeleteDeploymentInput struct {
	DeploymentID *string `json:"deployment,omitempty"`
}

type DeleteDeploymentOutput

type DeleteDeploymentOutput struct{}

type DeleteListenerInput

type DeleteListenerInput struct {
	ListenerID *string `json:"listenerId,omitempty"`
}

type DeleteListenerOutput

type DeleteListenerOutput struct{}

type DeleteLoadBalancerInput

type DeleteLoadBalancerInput struct {
	BalancerID *string `json:"balancerId,omitempty"`
}

type DeleteLoadBalancerOutput

type DeleteLoadBalancerOutput struct{}

type DeleteMiddlewareInput

type DeleteMiddlewareInput struct {
	MiddlewareID *string `json:"middlewareId,omitempty"`
}

type DeleteMiddlewareOutput

type DeleteMiddlewareOutput struct{}

type DeleteRoutingRuleInput

type DeleteRoutingRuleInput struct {
	RoutingRuleID *string `json:"routingRuleId,omitempty"`
}

type DeleteRoutingRuleOutput

type DeleteRoutingRuleOutput struct{}

type DeleteTargetInput

type DeleteTargetInput struct {
	TargetSetID *string `json:"targetSetId,omitempty"`
	TargetID    *string `json:"targetId,omitempty"`
}

type DeleteTargetOutput

type DeleteTargetOutput struct{}

type DeleteTargetSetInput

type DeleteTargetSetInput struct {
	TargetSetID *string `json:"targetSetId,omitempty"`
}

type DeleteTargetSetOutput

type DeleteTargetSetOutput struct{}

type Deployment

type Deployment struct {
	ID        *string    `json:"id,omitempty"`
	Name      *string    `json:"name,omitempty"`
	Tags      []*Tag     `json:"tags,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Deployment) MarshalJSON

func (o Deployment) MarshalJSON() ([]byte, error)

func (*Deployment) SetId

func (o *Deployment) SetId(v *string) *Deployment

func (*Deployment) SetName

func (o *Deployment) SetName(v *string) *Deployment

func (*Deployment) SetTags

func (o *Deployment) SetTags(v []*Tag) *Deployment

type HealthinessStatus

type HealthinessStatus int

A HealthinessStatus represents the healthiness status of a target.

const (
	// StatusUnknown represents an unknown state.
	StatusUnknown HealthinessStatus = iota

	// StatusHealthy represents a healthy state.
	StatusHealthy

	// StatusUnhealthy represents an unhealthy state.
	StatusUnhealthy
)

func (HealthinessStatus) String

func (s HealthinessStatus) String() string

type ListCertificatesInput

type ListCertificatesInput struct{}

type ListCertificatesOutput

type ListCertificatesOutput struct {
	Certificates []*Certificate `json:"certificates,omitempty"`
}

type ListDeploymentsInput

type ListDeploymentsInput struct{}

type ListDeploymentsOutput

type ListDeploymentsOutput struct {
	Deployments []*Deployment `json:"deployments,omitempty"`
}

type ListListenersInput

type ListListenersInput struct {
	BalancerID *string `json:"balancerId,omitempty"`
}

type ListListenersOutput

type ListListenersOutput struct {
	Listeners []*Listener `json:"listeners,omitempty"`
}

type ListLoadBalancersInput

type ListLoadBalancersInput struct {
	DeploymentID *string `json:"deploymentId,omitempty"`
}

type ListLoadBalancersOutput

type ListLoadBalancersOutput struct {
	Balancers []*LoadBalancer `json:"balancers,omitempty"`
}

type ListMiddlewaresInput

type ListMiddlewaresInput struct {
	BalancerID *string `json:"balancerId,omitempty"`
}

type ListMiddlewaresOutput

type ListMiddlewaresOutput struct {
	Middlewares []*Middleware `json:"middlewares,omitempty"`
}

type ListRoutingRulesInput

type ListRoutingRulesInput struct {
	BalancerID *string `json:"balancerId,omitempty"`
}

type ListRoutingRulesOutput

type ListRoutingRulesOutput struct {
	RoutingRules []*RoutingRule `json:"routingRules,omitempty"`
}

type ListRuntimesInput

type ListRuntimesInput struct {
	DeploymentID *string `json:"deploymentId,omitempty"`
}

type ListRuntimesOutput

type ListRuntimesOutput struct {
	Runtimes []*Runtime `json:"runtimes,omitempty"`
}

type ListTargetSetsInput

type ListTargetSetsInput struct {
	BalancerID *string `json:"balancerId,omitempty"`
}

type ListTargetSetsOutput

type ListTargetSetsOutput struct {
	TargetSets []*TargetSet `json:"targetSets,omitempty"`
}

type ListTargetsInput

type ListTargetsInput struct {
	BalancerID  *string `json:"balancerId,omitempty"`
	TargetSetID *string `json:"targetSetId,omitempty"`
}

type ListTargetsOutput

type ListTargetsOutput struct {
	Targets []*Target `json:"targets,omitempty"`
}

type Listener

type Listener struct {
	ID         *string    `json:"id,omitempty"`
	BalancerID *string    `json:"balancerId,omitempty"`
	Protocol   *string    `json:"protocol,omitempty"`
	Port       *int       `json:"port,omitempty"`
	TLSConfig  *TLSConfig `json:"tlsConfig,omitempty"`
	Tags       []*Tag     `json:"tags,omitempty"`
	CreatedAt  *time.Time `json:"createdAt,omitempty"`
	UpdatedAt  *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Listener) MarshalJSON

func (o Listener) MarshalJSON() ([]byte, error)

func (*Listener) SetBalancerId

func (o *Listener) SetBalancerId(v *string) *Listener

func (*Listener) SetId

func (o *Listener) SetId(v *string) *Listener

func (*Listener) SetPort

func (o *Listener) SetPort(v *int) *Listener

func (*Listener) SetProtocol

func (o *Listener) SetProtocol(v *string) *Listener

func (*Listener) SetTLSConfig

func (o *Listener) SetTLSConfig(v *TLSConfig) *Listener

func (*Listener) SetTags

func (o *Listener) SetTags(v []*Tag) *Listener

type LoadBalancer

type LoadBalancer struct {
	ID              *string    `json:"id,omitempty"`
	Name            *string    `json:"name,omitempty"`
	Scheme          *string    `json:"scheme,omitempty"`
	DNSRRType       *string    `json:"dnsRrType,omitempty"`
	DNSRRName       *string    `json:"dnsRrName,omitempty"`
	DNSCNAMEAliases []string   `json:"dnsCnameAliases,omitempty"`
	Timeouts        *Timeouts  `json:"timeouts,omitempty"`
	Tags            []*Tag     `json:"tags,omitempty"`
	CreatedAt       *time.Time `json:"createdAt,omitempty"`
	UpdatedAt       *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (LoadBalancer) MarshalJSON

func (o LoadBalancer) MarshalJSON() ([]byte, error)

func (*LoadBalancer) SetDNSCNAMEAliases

func (o *LoadBalancer) SetDNSCNAMEAliases(v []string) *LoadBalancer

func (*LoadBalancer) SetDNSRRName

func (o *LoadBalancer) SetDNSRRName(v *string) *LoadBalancer

func (*LoadBalancer) SetDNSRRType

func (o *LoadBalancer) SetDNSRRType(v *string) *LoadBalancer

func (*LoadBalancer) SetId

func (o *LoadBalancer) SetId(v *string) *LoadBalancer

func (*LoadBalancer) SetName

func (o *LoadBalancer) SetName(v *string) *LoadBalancer

func (*LoadBalancer) SetScheme

func (o *LoadBalancer) SetScheme(v *string) *LoadBalancer

func (*LoadBalancer) SetTags

func (o *LoadBalancer) SetTags(v []*Tag) *LoadBalancer

func (*LoadBalancer) SetTimeouts

func (o *LoadBalancer) SetTimeouts(v *Timeouts) *LoadBalancer

type Middleware

type Middleware struct {
	ID         *string         `json:"id,omitempty"`
	BalancerID *string         `json:"balancerId,omitempty"`
	Type       *string         `json:"type,omitempty"`
	Priority   *int            `json:"priority,omitempty"`
	Spec       json.RawMessage `json:"spec,omitempty"`
	Tags       []*Tag          `json:"tags,omitempty"`
	CreatedAt  *time.Time      `json:"createdAt,omitempty"`
	UpdatedAt  *time.Time      `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Middleware) MarshalJSON

func (o Middleware) MarshalJSON() ([]byte, error)

func (*Middleware) SetBalancerId

func (o *Middleware) SetBalancerId(v *string) *Middleware

func (*Middleware) SetId

func (o *Middleware) SetId(v *string) *Middleware

func (*Middleware) SetPriority

func (o *Middleware) SetPriority(v *int) *Middleware

func (*Middleware) SetSpec

func (o *Middleware) SetSpec(v json.RawMessage) *Middleware

func (*Middleware) SetTags

func (o *Middleware) SetTags(v []*Tag) *Middleware

func (*Middleware) SetType

func (o *Middleware) SetType(v *string) *Middleware

type Protocol

type Protocol int

A Protocol represents the type of a L4 or L7 network protocol.

const (
	// ProtocolTCP represents the Transmission Control Protocol (TCP) protocol.
	ProtocolTCP Protocol = iota

	// ProtocolHTTP represents the Hypertext Transfer Protocol (HTTP) protocol.
	ProtocolHTTP

	// ProtocolHTTPS represents the Hypertext Transfer Protocol (HTTP) within
	// a connection encrypted by Transport Layer Security, or its predecessor,
	// Secure Sockets Layer.
	ProtocolHTTPS

	// ProtocolHTTP2 represents the Hypertext Transfer Protocol (HTTP) protocol
	// version 2.
	ProtocolHTTP2
)

func (Protocol) String

func (p Protocol) String() string

type ReadCertificateInput

type ReadCertificateInput struct {
	CertificateID *string `json:"certificateId,omitempty"`
}

type ReadCertificateOutput

type ReadCertificateOutput struct {
	Certificate *Certificate `json:"certificate,omitempty"`
}

type ReadDeploymentInput

type ReadDeploymentInput struct {
	DeploymentID *string `json:"deploymentId,omitempty"`
}

type ReadDeploymentOutput

type ReadDeploymentOutput struct {
	Deployment *Deployment `json:"deployment,omitempty"`
}

type ReadListenerInput

type ReadListenerInput struct {
	ListenerID *string `json:"listenerId,omitempty"`
}

type ReadListenerOutput

type ReadListenerOutput struct {
	Listener *Listener `json:"listener,omitempty"`
}

type ReadLoadBalancerInput

type ReadLoadBalancerInput struct {
	BalancerID *string `json:"balancerId,omitempty"`
}

type ReadLoadBalancerOutput

type ReadLoadBalancerOutput struct {
	Balancer *LoadBalancer `json:"balancer,omitempty"`
}

type ReadMiddlewareInput

type ReadMiddlewareInput struct {
	MiddlewareID *string `json:"middlewareId,omitempty"`
}

type ReadMiddlewareOutput

type ReadMiddlewareOutput struct {
	Middleware *Middleware `json:"middleware,omitempty"`
}

type ReadRoutingRuleInput

type ReadRoutingRuleInput struct {
	RoutingRuleID *string `json:"routingRuleId,omitempty"`
}

type ReadRoutingRuleOutput

type ReadRoutingRuleOutput struct {
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
}

type ReadRuntimeInput

type ReadRuntimeInput struct {
	RuntimeID *string `json:"runtimeId,omitempty"`
}

type ReadRuntimeOutput

type ReadRuntimeOutput struct {
	Runtime *Runtime `json:"runtime,omitempty"`
}

type ReadTargetInput

type ReadTargetInput struct {
	TargetSetID *string `json:"targetSetId,omitempty"`
	TargetID    *string `json:"targetId,omitempty"`
}

type ReadTargetOutput

type ReadTargetOutput struct {
	Target *Target `json:"target,omitempty"`
}

type ReadTargetSetInput

type ReadTargetSetInput struct {
	TargetSetID *string `json:"targetSetId,omitempty"`
}

type ReadTargetSetOutput

type ReadTargetSetOutput struct {
	TargetSet *TargetSet `json:"targetSet,omitempty"`
}

type ReadinessStatus

type ReadinessStatus int

A ReadinessStatus represents the readiness status of a target.

const (
	// StatusReady represents a ready state.
	StatusReady ReadinessStatus = iota

	// StatusMaintenance represents a maintenance state.
	StatusMaintenance

	// StatusDraining represents a draining state.
	StatusDraining
)

func (ReadinessStatus) String

func (s ReadinessStatus) String() string

type RoutingRule

type RoutingRule struct {
	ID            *string    `json:"id,omitempty"`
	BalancerID    *string    `json:"balancerId,omitempty"`
	ListenerID    *string    `json:"listenerId,omitempty"`
	MiddlewareIDs []string   `json:"middlewareIds,omitempty"`
	TargetSetIDs  []string   `json:"targetSetIds,omitempty"`
	Priority      *int       `json:"priority,omitempty"`
	Strategy      *string    `json:"strategy,omitempty"`
	Route         *string    `json:"route,omitempty"`
	Tags          []*Tag     `json:"tags,omitempty"`
	CreatedAt     *time.Time `json:"createdAt,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (RoutingRule) MarshalJSON

func (o RoutingRule) MarshalJSON() ([]byte, error)

func (*RoutingRule) SetBalancerId

func (o *RoutingRule) SetBalancerId(v *string) *RoutingRule

func (*RoutingRule) SetId

func (o *RoutingRule) SetId(v *string) *RoutingRule

func (*RoutingRule) SetListenerId

func (o *RoutingRule) SetListenerId(v *string) *RoutingRule

func (*RoutingRule) SetMiddlewareIDs

func (o *RoutingRule) SetMiddlewareIDs(v []string) *RoutingRule

func (*RoutingRule) SetPriority

func (o *RoutingRule) SetPriority(v *int) *RoutingRule

func (*RoutingRule) SetRoute

func (o *RoutingRule) SetRoute(v *string) *RoutingRule

func (*RoutingRule) SetStrategy

func (o *RoutingRule) SetStrategy(v *string) *RoutingRule

func (*RoutingRule) SetTags

func (o *RoutingRule) SetTags(v []*Tag) *RoutingRule

func (*RoutingRule) SetTargetSetIDs

func (o *RoutingRule) SetTargetSetIDs(v []string) *RoutingRule

type Runtime

type Runtime struct {
	ID             *string    `json:"id,omitempty"`
	DeploymentID   *string    `json:"deploymentId,omitempty"`
	IPAddr         *string    `json:"ip,omitempty"`
	Version        *string    `json:"version,omitempty"`
	Status         *Status    `json:"status,omitempty"`
	LastReportedAt *time.Time `json:"lastReported,omitempty"`
	Leader         *bool      `json:"isLeader,omitempty"`
	Tags           []*Tag     `json:"tags,omitempty"`
	CreatedAt      *time.Time `json:"createdAt,omitempty"`
	UpdatedAt      *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Runtime) MarshalJSON

func (o Runtime) MarshalJSON() ([]byte, error)

func (*Runtime) SetDeploymentId

func (o *Runtime) SetDeploymentId(v *string) *Runtime

func (*Runtime) SetId

func (o *Runtime) SetId(v *string) *Runtime

func (*Runtime) SetStatus

func (o *Runtime) SetStatus(v *Status) *Runtime

func (*Runtime) SetTags

func (o *Runtime) SetTags(v []*Tag) *Runtime

type Service

type Service interface {
	ListLoadBalancers(context.Context, *ListLoadBalancersInput) (*ListLoadBalancersOutput, error)
	CreateLoadBalancer(context.Context, *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error)
	ReadLoadBalancer(context.Context, *ReadLoadBalancerInput) (*ReadLoadBalancerOutput, error)
	UpdateLoadBalancer(context.Context, *UpdateLoadBalancerInput) (*UpdateLoadBalancerOutput, error)
	DeleteLoadBalancer(context.Context, *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error)

	ListListeners(context.Context, *ListListenersInput) (*ListListenersOutput, error)
	CreateListener(context.Context, *CreateListenerInput) (*CreateListenerOutput, error)
	ReadListener(context.Context, *ReadListenerInput) (*ReadListenerOutput, error)
	UpdateListener(context.Context, *UpdateListenerInput) (*UpdateListenerOutput, error)
	DeleteListener(context.Context, *DeleteListenerInput) (*DeleteListenerOutput, error)

	ListRoutingRules(context.Context, *ListRoutingRulesInput) (*ListRoutingRulesOutput, error)
	CreateRoutingRule(context.Context, *CreateRoutingRuleInput) (*CreateRoutingRuleOutput, error)
	ReadRoutingRule(context.Context, *ReadRoutingRuleInput) (*ReadRoutingRuleOutput, error)
	UpdateRoutingRule(context.Context, *UpdateRoutingRuleInput) (*UpdateRoutingRuleOutput, error)
	DeleteRoutingRule(context.Context, *DeleteRoutingRuleInput) (*DeleteRoutingRuleOutput, error)

	ListMiddlewares(context.Context, *ListMiddlewaresInput) (*ListMiddlewaresOutput, error)
	CreateMiddleware(context.Context, *CreateMiddlewareInput) (*CreateMiddlewareOutput, error)
	ReadMiddleware(context.Context, *ReadMiddlewareInput) (*ReadMiddlewareOutput, error)
	UpdateMiddleware(context.Context, *UpdateMiddlewareInput) (*UpdateMiddlewareOutput, error)
	DeleteMiddleware(context.Context, *DeleteMiddlewareInput) (*DeleteMiddlewareOutput, error)

	ListTargetSets(context.Context, *ListTargetSetsInput) (*ListTargetSetsOutput, error)
	CreateTargetSet(context.Context, *CreateTargetSetInput) (*CreateTargetSetOutput, error)
	ReadTargetSet(context.Context, *ReadTargetSetInput) (*ReadTargetSetOutput, error)
	UpdateTargetSet(context.Context, *UpdateTargetSetInput) (*UpdateTargetSetOutput, error)
	DeleteTargetSet(context.Context, *DeleteTargetSetInput) (*DeleteTargetSetOutput, error)

	ListTargets(context.Context, *ListTargetsInput) (*ListTargetsOutput, error)
	CreateTarget(context.Context, *CreateTargetInput) (*CreateTargetOutput, error)
	ReadTarget(context.Context, *ReadTargetInput) (*ReadTargetOutput, error)
	UpdateTarget(context.Context, *UpdateTargetInput) (*UpdateTargetOutput, error)
	DeleteTarget(context.Context, *DeleteTargetInput) (*DeleteTargetOutput, error)

	ListDeployments(context.Context, *ListDeploymentsInput) (*ListDeploymentsOutput, error)
	CreateDeployment(context.Context, *CreateDeploymentInput) (*CreateDeploymentOutput, error)
	ReadDeployment(context.Context, *ReadDeploymentInput) (*ReadDeploymentOutput, error)
	UpdateDeployment(context.Context, *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)
	DeleteDeployment(context.Context, *DeleteDeploymentInput) (*DeleteDeploymentOutput, error)

	ListCertificates(context.Context, *ListCertificatesInput) (*ListCertificatesOutput, error)
	CreateCertificate(context.Context, *CreateCertificateInput) (*CreateCertificateOutput, error)
	ReadCertificate(context.Context, *ReadCertificateInput) (*ReadCertificateOutput, error)
	UpdateCertificate(context.Context, *UpdateCertificateInput) (*UpdateCertificateOutput, error)
	DeleteCertificate(context.Context, *DeleteCertificateInput) (*DeleteCertificateOutput, error)

	ListRuntimes(context.Context, *ListRuntimesInput) (*ListRuntimesOutput, error)
	ReadRuntime(context.Context, *ReadRuntimeInput) (*ReadRuntimeOutput, error)
}

Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *ServiceOp

func (*ServiceOp) CreateCertificate

func (s *ServiceOp) CreateCertificate(ctx context.Context, input *CreateCertificateInput) (*CreateCertificateOutput, error)

func (*ServiceOp) CreateDeployment

func (s *ServiceOp) CreateDeployment(ctx context.Context, input *CreateDeploymentInput) (*CreateDeploymentOutput, error)

func (*ServiceOp) CreateListener

func (s *ServiceOp) CreateListener(ctx context.Context, input *CreateListenerInput) (*CreateListenerOutput, error)

func (*ServiceOp) CreateLoadBalancer

func (s *ServiceOp) CreateLoadBalancer(ctx context.Context, input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error)

func (*ServiceOp) CreateMiddleware

func (s *ServiceOp) CreateMiddleware(ctx context.Context, input *CreateMiddlewareInput) (*CreateMiddlewareOutput, error)

func (*ServiceOp) CreateRoutingRule

func (s *ServiceOp) CreateRoutingRule(ctx context.Context, input *CreateRoutingRuleInput) (*CreateRoutingRuleOutput, error)

func (*ServiceOp) CreateTarget

func (s *ServiceOp) CreateTarget(ctx context.Context, input *CreateTargetInput) (*CreateTargetOutput, error)

func (*ServiceOp) CreateTargetSet

func (s *ServiceOp) CreateTargetSet(ctx context.Context, input *CreateTargetSetInput) (*CreateTargetSetOutput, error)

func (*ServiceOp) DeleteCertificate

func (s *ServiceOp) DeleteCertificate(ctx context.Context, input *DeleteCertificateInput) (*DeleteCertificateOutput, error)

func (*ServiceOp) DeleteDeployment

func (s *ServiceOp) DeleteDeployment(ctx context.Context, input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error)

func (*ServiceOp) DeleteListener

func (s *ServiceOp) DeleteListener(ctx context.Context, input *DeleteListenerInput) (*DeleteListenerOutput, error)

func (*ServiceOp) DeleteLoadBalancer

func (s *ServiceOp) DeleteLoadBalancer(ctx context.Context, input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error)

func (*ServiceOp) DeleteMiddleware

func (s *ServiceOp) DeleteMiddleware(ctx context.Context, input *DeleteMiddlewareInput) (*DeleteMiddlewareOutput, error)

func (*ServiceOp) DeleteRoutingRule

func (s *ServiceOp) DeleteRoutingRule(ctx context.Context, input *DeleteRoutingRuleInput) (*DeleteRoutingRuleOutput, error)

func (*ServiceOp) DeleteTarget

func (s *ServiceOp) DeleteTarget(ctx context.Context, input *DeleteTargetInput) (*DeleteTargetOutput, error)

func (*ServiceOp) DeleteTargetSet

func (s *ServiceOp) DeleteTargetSet(ctx context.Context, input *DeleteTargetSetInput) (*DeleteTargetSetOutput, error)

func (*ServiceOp) ListCertificates

func (s *ServiceOp) ListCertificates(ctx context.Context, input *ListCertificatesInput) (*ListCertificatesOutput, error)

func (*ServiceOp) ListDeployments

func (s *ServiceOp) ListDeployments(ctx context.Context, input *ListDeploymentsInput) (*ListDeploymentsOutput, error)

func (*ServiceOp) ListListeners

func (s *ServiceOp) ListListeners(ctx context.Context, input *ListListenersInput) (*ListListenersOutput, error)

func (*ServiceOp) ListLoadBalancers

func (s *ServiceOp) ListLoadBalancers(ctx context.Context, input *ListLoadBalancersInput) (*ListLoadBalancersOutput, error)

func (*ServiceOp) ListMiddlewares

func (s *ServiceOp) ListMiddlewares(ctx context.Context, input *ListMiddlewaresInput) (*ListMiddlewaresOutput, error)

func (*ServiceOp) ListRoutingRules

func (s *ServiceOp) ListRoutingRules(ctx context.Context, input *ListRoutingRulesInput) (*ListRoutingRulesOutput, error)

func (*ServiceOp) ListRuntimes

func (s *ServiceOp) ListRuntimes(ctx context.Context, input *ListRuntimesInput) (*ListRuntimesOutput, error)

func (*ServiceOp) ListTargetSets

func (s *ServiceOp) ListTargetSets(ctx context.Context, input *ListTargetSetsInput) (*ListTargetSetsOutput, error)

func (*ServiceOp) ListTargets

func (s *ServiceOp) ListTargets(ctx context.Context, input *ListTargetsInput) (*ListTargetsOutput, error)

func (*ServiceOp) ReadCertificate

func (s *ServiceOp) ReadCertificate(ctx context.Context, input *ReadCertificateInput) (*ReadCertificateOutput, error)

func (*ServiceOp) ReadDeployment

func (s *ServiceOp) ReadDeployment(ctx context.Context, input *ReadDeploymentInput) (*ReadDeploymentOutput, error)

func (*ServiceOp) ReadListener

func (s *ServiceOp) ReadListener(ctx context.Context, input *ReadListenerInput) (*ReadListenerOutput, error)

func (*ServiceOp) ReadLoadBalancer

func (s *ServiceOp) ReadLoadBalancer(ctx context.Context, input *ReadLoadBalancerInput) (*ReadLoadBalancerOutput, error)

func (*ServiceOp) ReadMiddleware

func (s *ServiceOp) ReadMiddleware(ctx context.Context, input *ReadMiddlewareInput) (*ReadMiddlewareOutput, error)

func (*ServiceOp) ReadRoutingRule

func (s *ServiceOp) ReadRoutingRule(ctx context.Context, input *ReadRoutingRuleInput) (*ReadRoutingRuleOutput, error)

func (*ServiceOp) ReadRuntime

func (s *ServiceOp) ReadRuntime(ctx context.Context, input *ReadRuntimeInput) (*ReadRuntimeOutput, error)

func (*ServiceOp) ReadTarget

func (s *ServiceOp) ReadTarget(ctx context.Context, input *ReadTargetInput) (*ReadTargetOutput, error)

func (*ServiceOp) ReadTargetSet

func (s *ServiceOp) ReadTargetSet(ctx context.Context, input *ReadTargetSetInput) (*ReadTargetSetOutput, error)

func (*ServiceOp) UpdateCertificate

func (s *ServiceOp) UpdateCertificate(ctx context.Context, input *UpdateCertificateInput) (*UpdateCertificateOutput, error)

func (*ServiceOp) UpdateDeployment

func (s *ServiceOp) UpdateDeployment(ctx context.Context, input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error)

func (*ServiceOp) UpdateListener

func (s *ServiceOp) UpdateListener(ctx context.Context, input *UpdateListenerInput) (*UpdateListenerOutput, error)

func (*ServiceOp) UpdateLoadBalancer

func (s *ServiceOp) UpdateLoadBalancer(ctx context.Context, input *UpdateLoadBalancerInput) (*UpdateLoadBalancerOutput, error)

func (*ServiceOp) UpdateMiddleware

func (s *ServiceOp) UpdateMiddleware(ctx context.Context, input *UpdateMiddlewareInput) (*UpdateMiddlewareOutput, error)

func (*ServiceOp) UpdateRoutingRule

func (s *ServiceOp) UpdateRoutingRule(ctx context.Context, input *UpdateRoutingRuleInput) (*UpdateRoutingRuleOutput, error)

func (*ServiceOp) UpdateTarget

func (s *ServiceOp) UpdateTarget(ctx context.Context, input *UpdateTargetInput) (*UpdateTargetOutput, error)

func (*ServiceOp) UpdateTargetSet

func (s *ServiceOp) UpdateTargetSet(ctx context.Context, input *UpdateTargetSetInput) (*UpdateTargetSetOutput, error)

type Status

type Status struct {
	Readiness   *string `json:"readiness"`
	Healthiness *string `json:"healthiness"`
	// contains filtered or unexported fields
}

type Strategy

type Strategy int

A Strategy represents the load balancing methods used to determine which application server to send a request to.

const (
	// StrategyRandom represents a random load balancing method where
	// a request is passed to the server with the least number of
	// active connections.
	StrategyRandom Strategy = iota

	// StrategyRoundRobin represents a random load balancing method where
	// a request is passed to the server in round-robin fashion.
	StrategyRoundRobin

	// StrategyLeastConn represents a random load balancing method where
	// a request is passed to the server with the least number of
	// active connections.
	StrategyLeastConn

	// StrategyIPHash represents a IP hash load balancing method where
	// a request is passed to the server based on the result of hashing
	// the request IP address.
	StrategyIPHash
)

func (Strategy) String

func (s Strategy) String() string

type TLSConfig

type TLSConfig struct {
	// CertificateIDs contains one or more certificate chains
	// to present to the other side of the connection.
	CertificateIDs []string `json:"certificateIds,omitempty"`

	// MinVersion contains the minimum SSL/TLS version that is acceptable.
	// If zero, then TLS 1.0 is taken as the minimum.
	MinVersion *string `json:"minVersion,omitempty"`

	// MaxVersion contains the maximum SSL/TLS version that is acceptable.
	// If zero, then the maximum version supported by this package is used,
	// which is currently TLS 1.2.
	MaxVersion *string `json:"maxVersion,omitempty"`

	// SessionTicketsDisabled may be set to true to disable session ticket
	// (resumption) support.
	SessionTicketsDisabled *bool `json:"sessionTicketsDisabled,omitempty"`

	// PreferServerCipherSuites controls whether the server selects the
	// client's most preferred ciphersuite, or the server's most preferred
	// ciphersuite. If true then the server's preference, as expressed in
	// the order of elements in cipherSuites, is used.
	PreferServerCipherSuites *bool `json:"preferServerCipherSuites,omitempty"`

	// CipherSuites is a list of supported cipher suites. If cipherSuites
	// is nil, TLS uses a list of suites supported by the implementation.
	CipherSuites []string `json:"cipherSuites,omitempty"`

	// InsecureSkipVerify controls whether a client verifies the
	// server's certificate chain and host name.
	// If InsecureSkipVerify is true, TLS accepts any certificate
	// presented by the server and any host name in that certificate.
	// In this mode, TLS is susceptible to man-in-the-middle attacks.
	// This should be used only for testing.
	InsecureSkipVerify *bool `json:"insecureSkipVerify,omitempty"`
	// contains filtered or unexported fields
}

func (TLSConfig) MarshalJSON

func (o TLSConfig) MarshalJSON() ([]byte, error)

func (*TLSConfig) SetCertificateIDs

func (o *TLSConfig) SetCertificateIDs(v []string) *TLSConfig

func (*TLSConfig) SetCipherSuites

func (o *TLSConfig) SetCipherSuites(v []string) *TLSConfig

func (*TLSConfig) SetInsecureSkipVerify

func (o *TLSConfig) SetInsecureSkipVerify(v *bool) *TLSConfig

func (*TLSConfig) SetMaxVersion

func (o *TLSConfig) SetMaxVersion(v *string) *TLSConfig

func (*TLSConfig) SetMinVersion

func (o *TLSConfig) SetMinVersion(v *string) *TLSConfig

func (*TLSConfig) SetPreferServerCipherSuites

func (o *TLSConfig) SetPreferServerCipherSuites(v *bool) *TLSConfig

func (*TLSConfig) SetSessionTicketsDisabled

func (o *TLSConfig) SetSessionTicketsDisabled(v *bool) *TLSConfig

type Tag

type Tag struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Tag) MarshalJSON

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetKey

func (o *Tag) SetKey(v *string) *Tag

func (*Tag) SetValue

func (o *Tag) SetValue(v *string) *Tag

type Target

type Target struct {
	ID          *string    `json:"id,omitempty"`
	BalancerID  *string    `json:"balancerId,omitempty"`
	TargetSetID *string    `json:"targetSetId,omitempty"`
	Name        *string    `json:"name,omitempty"`
	Host        *string    `json:"host,omitempty"`
	Port        *int       `json:"port,omitempty"`
	Weight      *int       `json:"weight,omitempty"`
	Status      *Status    `json:"status,omitempty"`
	Tags        []*Tag     `json:"tags,omitempty"`
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	UpdatedAt   *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Target) MarshalJSON

func (o Target) MarshalJSON() ([]byte, error)

func (*Target) SetBalancerId

func (o *Target) SetBalancerId(v *string) *Target

func (*Target) SetHost

func (o *Target) SetHost(v *string) *Target

func (*Target) SetId

func (o *Target) SetId(v *string) *Target

func (*Target) SetName

func (o *Target) SetName(v *string) *Target

func (*Target) SetPort

func (o *Target) SetPort(v *int) *Target

func (*Target) SetStatus

func (o *Target) SetStatus(v *Status) *Target

func (*Target) SetTags

func (o *Target) SetTags(v []*Tag) *Target

func (*Target) SetTargetSetId

func (o *Target) SetTargetSetId(v *string) *Target

func (*Target) SetWeight

func (o *Target) SetWeight(v *int) *Target

type TargetSet

type TargetSet struct {
	ID           *string               `json:"id,omitempty"`
	BalancerID   *string               `json:"balancerId,omitempty"`
	DeploymentID *string               `json:"deploymentId,omitempty"`
	Name         *string               `json:"name,omitempty"`
	Protocol     *string               `json:"protocol,omitempty"`
	Port         *int                  `json:"port,omitempty"`
	Weight       *int                  `json:"weight,omitempty"`
	HealthCheck  *TargetSetHealthCheck `json:"healthCheck,omitempty"`
	Tags         []*Tag                `json:"tags,omitempty"`
	CreatedAt    *time.Time            `json:"createdAt,omitempty"`
	UpdatedAt    *time.Time            `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (TargetSet) MarshalJSON

func (o TargetSet) MarshalJSON() ([]byte, error)

func (*TargetSet) SetBalancerId

func (o *TargetSet) SetBalancerId(v *string) *TargetSet

func (*TargetSet) SetDeploymentId

func (o *TargetSet) SetDeploymentId(v *string) *TargetSet

func (*TargetSet) SetHealthCheck

func (o *TargetSet) SetHealthCheck(v *TargetSetHealthCheck) *TargetSet

func (*TargetSet) SetId

func (o *TargetSet) SetId(v *string) *TargetSet

func (*TargetSet) SetName

func (o *TargetSet) SetName(v *string) *TargetSet

func (*TargetSet) SetPort

func (o *TargetSet) SetPort(v *int) *TargetSet

func (*TargetSet) SetProtocol

func (o *TargetSet) SetProtocol(v *string) *TargetSet

func (*TargetSet) SetTags

func (o *TargetSet) SetTags(v []*Tag) *TargetSet

func (*TargetSet) SetWeight

func (o *TargetSet) SetWeight(v *int) *TargetSet

type TargetSetHealthCheck

type TargetSetHealthCheck struct {
	Path                    *string `json:"path,omitempty"`
	Port                    *int    `json:"port,omitempty"`
	Protocol                *string `json:"protocol,omitempty"`
	Timeout                 *int    `json:"timeout,omitempty"`
	Interval                *int    `json:"interval,omitempty"`
	HealthyThresholdCount   *int    `json:"healthyThresholdCount,omitempty"`
	UnhealthyThresholdCount *int    `json:"unhealthyThresholdCount,omitempty"`
	// contains filtered or unexported fields
}

func (TargetSetHealthCheck) MarshalJSON

func (o TargetSetHealthCheck) MarshalJSON() ([]byte, error)

func (*TargetSetHealthCheck) SetHealthyThresholdCount

func (o *TargetSetHealthCheck) SetHealthyThresholdCount(v *int) *TargetSetHealthCheck

func (*TargetSetHealthCheck) SetInterval

func (o *TargetSetHealthCheck) SetInterval(v *int) *TargetSetHealthCheck

func (*TargetSetHealthCheck) SetPath

func (*TargetSetHealthCheck) SetPort

func (*TargetSetHealthCheck) SetProtocol

func (o *TargetSetHealthCheck) SetProtocol(v *string) *TargetSetHealthCheck

func (*TargetSetHealthCheck) SetTimeout

func (o *TargetSetHealthCheck) SetTimeout(v *int) *TargetSetHealthCheck

func (*TargetSetHealthCheck) SetUnhealthyThresholdCount

func (o *TargetSetHealthCheck) SetUnhealthyThresholdCount(v *int) *TargetSetHealthCheck

type Timeouts

type Timeouts struct {
	Idle     *int `json:"idle"`
	Draining *int `json:"draining"`
	// contains filtered or unexported fields
}

type UpdateCertificateInput

type UpdateCertificateInput struct {
	Certificate *Certificate `json:"certificate,omitempty"`
}

type UpdateCertificateOutput

type UpdateCertificateOutput struct{}

type UpdateDeploymentInput

type UpdateDeploymentInput struct {
	Deployment *Deployment `json:"deployment,omitempty"`
}

type UpdateDeploymentOutput

type UpdateDeploymentOutput struct{}

type UpdateListenerInput

type UpdateListenerInput struct {
	Listener *Listener `json:"listener,omitempty"`
}

type UpdateListenerOutput

type UpdateListenerOutput struct{}

type UpdateLoadBalancerInput

type UpdateLoadBalancerInput struct {
	Balancer *LoadBalancer `json:"balancer,omitempty"`
}

type UpdateLoadBalancerOutput

type UpdateLoadBalancerOutput struct{}

type UpdateMiddlewareInput

type UpdateMiddlewareInput struct {
	Middleware *Middleware `json:"middleware,omitempty"`
}

type UpdateMiddlewareOutput

type UpdateMiddlewareOutput struct{}

type UpdateRoutingRuleInput

type UpdateRoutingRuleInput struct {
	RoutingRule *RoutingRule `json:"routingRule,omitempty"`
}

type UpdateRoutingRuleOutput

type UpdateRoutingRuleOutput struct{}

type UpdateTargetInput

type UpdateTargetInput struct {
	TargetSetID *string `json:"targetSetId,omitempty"`
	Target      *Target `json:"target,omitempty"`
}

type UpdateTargetOutput

type UpdateTargetOutput struct{}

type UpdateTargetSetInput

type UpdateTargetSetInput struct {
	TargetSet *TargetSet `json:"targetSet,omitempty"`
}

type UpdateTargetSetOutput

type UpdateTargetSetOutput struct{}

Jump to

Keyboard shortcuts

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