types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MPL-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ProvisioningStatusActive              ProvisioningStatus    = "ACTIVE"
	ProvisioningStatusDeleted             ProvisioningStatus    = "DELETED"
	ProvisioningStatusError               ProvisioningStatus    = "ERROR"
	ProvisioningStatusPendingCreate       ProvisioningStatus    = "PENDING_CREATE"
	ProvisioningStatusPendingUpdate       ProvisioningStatus    = "PENDING_UPDATE"
	ProvisioningStatusPendingDelete       ProvisioningStatus    = "PENDING_DELETE"
	OperatingStatusOnline                 OperatingStatus       = "ONLINE"
	OperatingStatusDraining               OperatingStatus       = "DRAINING"
	OperatingStatusOffline                OperatingStatus       = "OFFLINE"
	OperatingStatusDegraded               OperatingStatus       = "DEGRADED"
	OperatingStatusOperatingError         OperatingStatus       = "ERROR"
	OperatingStatusNoMonitor              OperatingStatus       = "NO_MONITOR"
	LoadBalancerAlgorithmRoundRobin       LoadBalancerAlgorithm = "ROUND_ROBIN"
	LoadBalancerAlgorithmLeastConnections LoadBalancerAlgorithm = "LEAST_CONNECTIONS"
	LoadBalancerAlgorithmSourceIP         LoadBalancerAlgorithm = "SOURCE_IP"
	LoadBalancerAlgorithmSourceIPPort     LoadBalancerAlgorithm = "SOURCE_IP_PORT"
	PersistenceTypeAppCookie              PersistenceType       = "APP_COOKIE"
	PersistenceTypeHTTPCookie             PersistenceType       = "HTTP_COOKIE"
	PersistenceTypeSourceIP               PersistenceType       = "SOURCE_IP"
	ProtocolTypeHTTP                      ProtocolType          = "HTTP"
	ProtocolTypeHTTPS                     ProtocolType          = "HTTPS"
	ProtocolTypeTCP                       ProtocolType          = "TCP"
	ProtocolTypeTerminatedHTTPS           ProtocolType          = "TERMINATED_HTTPS"
	ProtocolTypeUDP                       ProtocolType          = "UDP"
	ProtocolTypePROXY                     ProtocolType          = "PROXY"
	HealthMonitorTypeHTTP                 HealthMonitorType     = "HTTP"
	HealthMonitorTypeHTTPS                HealthMonitorType     = "HTTPS"
	HealthMonitorTypePING                 HealthMonitorType     = "PING"
	HealthMonitorTypeTCP                  HealthMonitorType     = "TCP"
	HealthMonitorTypeTLSHello             HealthMonitorType     = "TLS-HELLO"
	HealthMonitorTypeUDPConnect           HealthMonitorType     = "UDP-CONNECT"
	HTTPMethodCONNECT                     HTTPMethod            = "CONNECT"
	HTTPMethodDELETE                      HTTPMethod            = "DELETE"
	HTTPMethodGET                         HTTPMethod            = "GET"
	HTTPMethodHEAD                        HTTPMethod            = "HEAD"
	HTTPMethodOPTIONS                     HTTPMethod            = "OPTIONS"
	HTTPMethodPATCH                       HTTPMethod            = "PATCH"
	HTTPMethodPOST                        HTTPMethod            = "POST"
	HTTPMethodPUT                         HTTPMethod            = "PUT"
	HTTPMethodTRACE                       HTTPMethod            = "TRACE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPMethod

type HTTPMethod string

func HTTPMethodPointer

func HTTPMethodPointer(m HTTPMethod) *HTTPMethod

func (HTTPMethod) IsValid

func (m HTTPMethod) IsValid() error

func (HTTPMethod) List

func (m HTTPMethod) List() []HTTPMethod

func (*HTTPMethod) MarshalJSON

func (m *HTTPMethod) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (HTTPMethod) String

func (m HTTPMethod) String() string

func (HTTPMethod) StringList

func (m HTTPMethod) StringList() []string

func (*HTTPMethod) UnmarshalJSON

func (m *HTTPMethod) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (HTTPMethod) ValidOrNil

func (m HTTPMethod) ValidOrNil() (*HTTPMethod, error)

type HealthMonitorType

type HealthMonitorType string

func (HealthMonitorType) IsHTTPType

func (hm HealthMonitorType) IsHTTPType() bool

func (HealthMonitorType) IsValid

func (hm HealthMonitorType) IsValid() error

func (HealthMonitorType) List

func (*HealthMonitorType) MarshalJSON

func (hm *HealthMonitorType) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (HealthMonitorType) String

func (hm HealthMonitorType) String() string

func (HealthMonitorType) StringList

func (hm HealthMonitorType) StringList() []string

func (*HealthMonitorType) UnmarshalJSON

func (hm *HealthMonitorType) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (HealthMonitorType) ValidOrNil

func (hm HealthMonitorType) ValidOrNil() (*HealthMonitorType, error)

type LoadBalancerAlgorithm

type LoadBalancerAlgorithm string

func (LoadBalancerAlgorithm) IsValid

func (lba LoadBalancerAlgorithm) IsValid() error

func (LoadBalancerAlgorithm) List

func (*LoadBalancerAlgorithm) MarshalJSON

func (lba *LoadBalancerAlgorithm) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (LoadBalancerAlgorithm) String

func (lba LoadBalancerAlgorithm) String() string

func (LoadBalancerAlgorithm) StringList

func (lba LoadBalancerAlgorithm) StringList() []string

func (*LoadBalancerAlgorithm) UnmarshalJSON

func (lba *LoadBalancerAlgorithm) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (LoadBalancerAlgorithm) ValidOrNil

func (lba LoadBalancerAlgorithm) ValidOrNil() (*LoadBalancerAlgorithm, error)

type OperatingStatus

type OperatingStatus string

func (OperatingStatus) IsValid

func (os OperatingStatus) IsValid() error

func (OperatingStatus) List

func (os OperatingStatus) List() []OperatingStatus

func (*OperatingStatus) MarshalJSON

func (os *OperatingStatus) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (OperatingStatus) String

func (os OperatingStatus) String() string

func (OperatingStatus) StringList

func (os OperatingStatus) StringList() []string

func (*OperatingStatus) UnmarshalJSON

func (os *OperatingStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (OperatingStatus) ValidOrNil

func (os OperatingStatus) ValidOrNil() (*OperatingStatus, error)

type PersistenceType

type PersistenceType string

func (PersistenceType) ISCookiesType

func (lbspt PersistenceType) ISCookiesType() bool

func (PersistenceType) IsValid

func (lbspt PersistenceType) IsValid() error

func (PersistenceType) List

func (lbspt PersistenceType) List() []PersistenceType

func (*PersistenceType) MarshalJSON

func (lbspt *PersistenceType) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (PersistenceType) String

func (lbspt PersistenceType) String() string

func (PersistenceType) StringList

func (lbspt PersistenceType) StringList() []string

func (*PersistenceType) UnmarshalJSON

func (lbspt *PersistenceType) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (PersistenceType) ValidOrNil

func (lbspt PersistenceType) ValidOrNil() (*PersistenceType, error)

type ProtocolType

type ProtocolType string

func (ProtocolType) IsValid

func (pt ProtocolType) IsValid() error

func (ProtocolType) List

func (pt ProtocolType) List() []ProtocolType

func (*ProtocolType) MarshalJSON

func (pt *ProtocolType) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (ProtocolType) String

func (pt ProtocolType) String() string

func (ProtocolType) StringList

func (pt ProtocolType) StringList() []string

func (*ProtocolType) UnmarshalJSON

func (pt *ProtocolType) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (ProtocolType) ValidOrNil

func (pt ProtocolType) ValidOrNil() (*ProtocolType, error)

type ProvisioningStatus

type ProvisioningStatus string

func (ProvisioningStatus) IsValid

func (ps ProvisioningStatus) IsValid() error

func (ProvisioningStatus) List

func (*ProvisioningStatus) MarshalJSON

func (ps *ProvisioningStatus) MarshalJSON() ([]byte, error)

MarshalJSON - implements Marshaler interface.

func (ProvisioningStatus) String

func (ps ProvisioningStatus) String() string

func (ProvisioningStatus) StringList

func (ps ProvisioningStatus) StringList() []string

func (*ProvisioningStatus) UnmarshalJSON

func (ps *ProvisioningStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON - implements Unmarshaler interface.

func (ProvisioningStatus) ValidOrNil

func (ps ProvisioningStatus) ValidOrNil() (*ProvisioningStatus, error)

Jump to

Keyboard shortcuts

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