methodaws

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func MustParseDate

func MustParseDate(date string) time.Time

MustParseDate attempts to parse the given string as a date time.Time, and panics upon failure.

func MustParseDateTime

func MustParseDateTime(datetime string) time.Time

MustParseDateTime attempts to parse the given string as a datetime time.Time, and panics upon failure.

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func Time

func Time(t time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func UUID

func UUID(u uuid.UUID) *uuid.UUID

UUID returns a pointer to the given uuid.UUID value.

func Uint

func Uint(u uint) *uint

Uint returns a pointer to the given uint value.

func Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func Uint16

func Uint16(u uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(u uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(u uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

Types

type Certificate

type Certificate struct {
	Arn       string `json:"arn" url:"arn"`
	IsDefault bool   `json:"isDefault" url:"isDefault"`
	// contains filtered or unexported fields
}

func (*Certificate) GetExtraProperties

func (c *Certificate) GetExtraProperties() map[string]interface{}

func (*Certificate) String

func (c *Certificate) String() string

func (*Certificate) UnmarshalJSON

func (c *Certificate) UnmarshalJSON(data []byte) error

type IpAddressType

type IpAddressType string
const (
	IpAddressTypeIpv4                       IpAddressType = "IPV4"
	IpAddressTypeDualstack                  IpAddressType = "DUALSTACK"
	IpAddressTypeDualstackWithoutPublicIpv4 IpAddressType = "DUALSTACK_WITHOUT_PUBLIC_IPV4"
)

func NewIpAddressTypeFromString

func NewIpAddressTypeFromString(s string) (IpAddressType, error)

func (IpAddressType) Ptr

func (i IpAddressType) Ptr() *IpAddressType

type Listener

type Listener struct {
	Arn             *string        `json:"arn,omitempty" url:"arn,omitempty"`
	Protocol        *Protocol      `json:"protocol,omitempty" url:"protocol,omitempty"`
	Port            int            `json:"port" url:"port"`
	Certificates    []*Certificate `json:"certificates,omitempty" url:"certificates,omitempty"`
	LoadBalancerArn *string        `json:"loadBalancerArn,omitempty" url:"loadBalancerArn,omitempty"`
	// contains filtered or unexported fields
}

func (*Listener) GetExtraProperties

func (l *Listener) GetExtraProperties() map[string]interface{}

func (*Listener) String

func (l *Listener) String() string

func (*Listener) UnmarshalJSON

func (l *Listener) UnmarshalJSON(data []byte) error

type LoadBalancerReport

type LoadBalancerReport struct {
	AccountId       string            `json:"accountId" url:"accountId"`
	V2LoadBalancers []*LoadBalancerV2 `json:"v2LoadBalancers,omitempty" url:"v2LoadBalancers,omitempty"`
	V1LoadBalancers []*LoadBalancerV1 `json:"v1LoadBalancers,omitempty" url:"v1LoadBalancers,omitempty"`
	Errors          []string          `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadBalancerReport) GetExtraProperties

func (l *LoadBalancerReport) GetExtraProperties() map[string]interface{}

func (*LoadBalancerReport) String

func (l *LoadBalancerReport) String() string

func (*LoadBalancerReport) UnmarshalJSON

func (l *LoadBalancerReport) UnmarshalJSON(data []byte) error

type LoadBalancerState

type LoadBalancerState string
const (
	LoadBalancerStateActive         LoadBalancerState = "ACTIVE"
	LoadBalancerStateProvisioning   LoadBalancerState = "PROVISIONING"
	LoadBalancerStateActiveImpaired LoadBalancerState = "ACTIVE_IMPAIRED"
	LoadBalancerStateFailed         LoadBalancerState = "FAILED"
)

func NewLoadBalancerStateFromString

func NewLoadBalancerStateFromString(s string) (LoadBalancerState, error)

func (LoadBalancerState) Ptr

type LoadBalancerV1

type LoadBalancerV1 struct {
	Name             string      `json:"name" url:"name"`
	CreatedTime      time.Time   `json:"createdTime" url:"createdTime"`
	DnsName          string      `json:"dnsName" url:"dnsName"`
	SecurityGroupIds []string    `json:"securityGroupIds,omitempty" url:"securityGroupIds,omitempty"`
	VpcId            string      `json:"vpcId" url:"vpcId"`
	SubnetIds        []string    `json:"subnetIds,omitempty" url:"subnetIds,omitempty"`
	HostedZoneId     *string     `json:"hostedZoneId,omitempty" url:"hostedZoneId,omitempty"`
	Targets          []*Target   `json:"targets,omitempty" url:"targets,omitempty"`
	Listeners        []*Listener `json:"listeners,omitempty" url:"listeners,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadBalancerV1) GetExtraProperties

func (l *LoadBalancerV1) GetExtraProperties() map[string]interface{}

func (*LoadBalancerV1) MarshalJSON

func (l *LoadBalancerV1) MarshalJSON() ([]byte, error)

func (*LoadBalancerV1) String

func (l *LoadBalancerV1) String() string

func (*LoadBalancerV1) UnmarshalJSON

func (l *LoadBalancerV1) UnmarshalJSON(data []byte) error

type LoadBalancerV2

type LoadBalancerV2 struct {
	Arn              string             `json:"arn" url:"arn"`
	Name             string             `json:"name" url:"name"`
	CreatedTime      time.Time          `json:"createdTime" url:"createdTime"`
	DnsName          string             `json:"dnsName" url:"dnsName"`
	IpAddressType    IpAddressType      `json:"ipAddressType" url:"ipAddressType"`
	SecurityGroupIds []string           `json:"securityGroupIds,omitempty" url:"securityGroupIds,omitempty"`
	State            *LoadBalancerState `json:"state,omitempty" url:"state,omitempty"`
	VpcId            string             `json:"vpcId" url:"vpcId"`
	Listeners        []*Listener        `json:"listeners,omitempty" url:"listeners,omitempty"`
	SubnetIds        []string           `json:"subnetIds,omitempty" url:"subnetIds,omitempty"`
	HostedZoneId     *string            `json:"hostedZoneId,omitempty" url:"hostedZoneId,omitempty"`
	TargetGroups     []*TargetGroup     `json:"targetGroups,omitempty" url:"targetGroups,omitempty"`
	// contains filtered or unexported fields
}

LoadBalancer represents a load balancer that distributes incoming network traffic across multiple servers. As defined by the AWS Go SDK (https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2@v1.33.1/types#LoadBalancer)

func (*LoadBalancerV2) GetExtraProperties

func (l *LoadBalancerV2) GetExtraProperties() map[string]interface{}

func (*LoadBalancerV2) MarshalJSON

func (l *LoadBalancerV2) MarshalJSON() ([]byte, error)

func (*LoadBalancerV2) String

func (l *LoadBalancerV2) String() string

func (*LoadBalancerV2) UnmarshalJSON

func (l *LoadBalancerV2) UnmarshalJSON(data []byte) error

type Protocol

type Protocol string
const (
	ProtocolHttp   Protocol = "HTTP"
	ProtocolHttps  Protocol = "HTTPS"
	ProtocolTcp    Protocol = "TCP"
	ProtocolTls    Protocol = "TLS"
	ProtocolUdp    Protocol = "UDP"
	ProtocolTcpUdp Protocol = "TCP_UDP"
	ProtocolGeneve Protocol = "GENEVE"
)

func NewProtocolFromString

func NewProtocolFromString(s string) (Protocol, error)

func (Protocol) Ptr

func (p Protocol) Ptr() *Protocol

type Target

type Target struct {
	Id               string     `json:"id" url:"id"`
	Type             TargetType `json:"type" url:"type"`
	Port             int        `json:"port" url:"port"`
	AvailabilityZone *string    `json:"availabilityZone,omitempty" url:"availabilityZone,omitempty"`
	// contains filtered or unexported fields
}

func (*Target) GetExtraProperties

func (t *Target) GetExtraProperties() map[string]interface{}

func (*Target) String

func (t *Target) String() string

func (*Target) UnmarshalJSON

func (t *Target) UnmarshalJSON(data []byte) error

type TargetGroup

type TargetGroup struct {
	Arn             string                   `json:"arn" url:"arn"`
	Name            string                   `json:"name" url:"name"`
	IpAddressType   TargetGroupIpAddressType `json:"ipAddressType" url:"ipAddressType"`
	LoadBalancerArn string                   `json:"loadBalancerArn" url:"loadBalancerArn"`
	Port            int                      `json:"port" url:"port"`
	Protocol        *Protocol                `json:"protocol,omitempty" url:"protocol,omitempty"`
	VpcId           string                   `json:"vpcId" url:"vpcId"`
	Targets         []*Target                `json:"targets,omitempty" url:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*TargetGroup) GetExtraProperties

func (t *TargetGroup) GetExtraProperties() map[string]interface{}

func (*TargetGroup) String

func (t *TargetGroup) String() string

func (*TargetGroup) UnmarshalJSON

func (t *TargetGroup) UnmarshalJSON(data []byte) error

type TargetGroupIpAddressType

type TargetGroupIpAddressType string
const (
	TargetGroupIpAddressTypeIpv4 TargetGroupIpAddressType = "IPV4"
	TargetGroupIpAddressTypeIpv6 TargetGroupIpAddressType = "IPV6"
)

func NewTargetGroupIpAddressTypeFromString

func NewTargetGroupIpAddressTypeFromString(s string) (TargetGroupIpAddressType, error)

func (TargetGroupIpAddressType) Ptr

type TargetType

type TargetType string
const (
	TargetTypeInstance TargetType = "INSTANCE"
	TargetTypeIp       TargetType = "IP"
	TargetTypeLambda   TargetType = "LAMBDA"
)

func NewTargetTypeFromString

func NewTargetTypeFromString(s string) (TargetType, error)

func (TargetType) Ptr

func (t TargetType) Ptr() *TargetType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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