healthcheck

package
v1.114.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 9 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Protocol  *string `json:"protocol,omitempty"`
	Endpoint  *string `json:"endpoint,omitempty"`
	Port      *int    `json:"port,omitempty"`
	Interval  *int    `json:"interval,omitempty"`
	Timeout   *int    `json:"timeout,omitempty"`
	Healthy   *int    `json:"healthyThreshold,omitempty"`
	Unhealthy *int    `json:"unhealthyThreshold,omitempty"`
	// contains filtered or unexported fields
}

func (Check) MarshalJSON

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

func (*Check) SetEndpoint

func (o *Check) SetEndpoint(v *string) *Check

func (*Check) SetHealthy

func (o *Check) SetHealthy(v *int) *Check

func (*Check) SetInterval

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

func (*Check) SetPort

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

func (*Check) SetProtocol

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

func (*Check) SetTimeout

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

func (*Check) SetUnhealthy

func (o *Check) SetUnhealthy(v *int) *Check

type CreateHealthCheckInput

type CreateHealthCheckInput struct {
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
}

type CreateHealthCheckOutput

type CreateHealthCheckOutput struct {
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
}

type DeleteHealthCheckInput

type DeleteHealthCheckInput struct {
	HealthCheckID *string `json:"healthCheckId,omitempty"`
}

type DeleteHealthCheckOutput

type DeleteHealthCheckOutput struct{}

type HealthCheck

type HealthCheck struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	ResourceID *string `json:"resourceId,omitempty"`
	Check      *Check  `json:"check,omitempty"`
	ProxyAddr  *string `json:"proxyAddress,omitempty"`
	ProxyPort  *int    `json:"proxyPort,omitempty"`
	// contains filtered or unexported fields
}

func (HealthCheck) MarshalJSON

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

func (*HealthCheck) SetCheck

func (o *HealthCheck) SetCheck(v *Check) *HealthCheck

func (*HealthCheck) SetId

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

func (*HealthCheck) SetName

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

func (*HealthCheck) SetProxyAddr

func (o *HealthCheck) SetProxyAddr(v *string) *HealthCheck

func (*HealthCheck) SetProxyPort

func (o *HealthCheck) SetProxyPort(v *int) *HealthCheck

func (*HealthCheck) SetResourceId

func (o *HealthCheck) SetResourceId(v *string) *HealthCheck

type ListHealthChecksInput

type ListHealthChecksInput struct{}

type ListHealthChecksOutput

type ListHealthChecksOutput struct {
	HealthChecks []*HealthCheck `json:"healthChecks,omitempty"`
}

type ReadHealthCheckInput

type ReadHealthCheckInput struct {
	HealthCheckID *string `json:"healthCheckId,omitempty"`
}

type ReadHealthCheckOutput

type ReadHealthCheckOutput struct {
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
}

type Service

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) Create

func (*ServiceOp) Delete

func (*ServiceOp) List

func (*ServiceOp) Read

func (*ServiceOp) Update

type UpdateHealthCheckInput

type UpdateHealthCheckInput struct {
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
}

type UpdateHealthCheckOutput

type UpdateHealthCheckOutput struct {
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
}

Jump to

Keyboard shortcuts

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