models

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 2 modules, 1 package

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

View Source
const (

	// DatacenterProviderAkamai captures enum value "akamai"
	DatacenterProviderAkamai string = "akamai"

	// DatacenterProviderF5 captures enum value "f5"
	DatacenterProviderF5 string = "f5"
)
View Source
const (

	// DatacenterProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE"
	DatacenterProvisioningStatusPENDINGCREATE string = "PENDING_CREATE"

	// DatacenterProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE"
	DatacenterProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE"

	// DatacenterProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE"
	DatacenterProvisioningStatusPENDINGDELETE string = "PENDING_DELETE"

	// DatacenterProvisioningStatusACTIVE captures enum value "ACTIVE"
	DatacenterProvisioningStatusACTIVE string = "ACTIVE"

	// DatacenterProvisioningStatusERROR captures enum value "ERROR"
	DatacenterProvisioningStatusERROR string = "ERROR"
)
View Source
const (

	// DatacenterScopePrivate captures enum value "private"
	DatacenterScopePrivate string = "private"

	// DatacenterScopeShared captures enum value "shared"
	DatacenterScopeShared string = "shared"
)
View Source
const (

	// DomainModeWEIGHTED captures enum value "WEIGHTED"
	DomainModeWEIGHTED string = "WEIGHTED"

	// DomainModeROUNDROBIN captures enum value "ROUND_ROBIN"
	DomainModeROUNDROBIN string = "ROUND_ROBIN"

	// DomainModeGEOGRAPHIC captures enum value "GEOGRAPHIC"
	DomainModeGEOGRAPHIC string = "GEOGRAPHIC"

	// DomainModeAVAILABILITY captures enum value "AVAILABILITY"
	DomainModeAVAILABILITY string = "AVAILABILITY"
)
View Source
const (

	// DomainProviderAkamai captures enum value "akamai"
	DomainProviderAkamai string = "akamai"

	// DomainProviderF5 captures enum value "f5"
	DomainProviderF5 string = "f5"
)
View Source
const (

	// DomainProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE"
	DomainProvisioningStatusPENDINGCREATE string = "PENDING_CREATE"

	// DomainProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE"
	DomainProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE"

	// DomainProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE"
	DomainProvisioningStatusPENDINGDELETE string = "PENDING_DELETE"

	// DomainProvisioningStatusACTIVE captures enum value "ACTIVE"
	DomainProvisioningStatusACTIVE string = "ACTIVE"

	// DomainProvisioningStatusERROR captures enum value "ERROR"
	DomainProvisioningStatusERROR string = "ERROR"
)
View Source
const (

	// DomainRecordTypeA captures enum value "A"
	DomainRecordTypeA string = "A"

	// DomainRecordTypeAAAA captures enum value "AAAA"
	DomainRecordTypeAAAA string = "AAAA"

	// DomainRecordTypeCNAME captures enum value "CNAME"
	DomainRecordTypeCNAME string = "CNAME"

	// DomainRecordTypeMX captures enum value "MX"
	DomainRecordTypeMX string = "MX"
)
View Source
const (

	// DomainStatusONLINE captures enum value "ONLINE"
	DomainStatusONLINE string = "ONLINE"

	// DomainStatusDOWN captures enum value "DOWN"
	DomainStatusDOWN string = "DOWN"
)
View Source
const (

	// GeomapProviderAkamai captures enum value "akamai"
	GeomapProviderAkamai string = "akamai"

	// GeomapProviderF5 captures enum value "f5"
	GeomapProviderF5 string = "f5"
)
View Source
const (

	// GeomapProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE"
	GeomapProvisioningStatusPENDINGCREATE string = "PENDING_CREATE"

	// GeomapProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE"
	GeomapProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE"

	// GeomapProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE"
	GeomapProvisioningStatusPENDINGDELETE string = "PENDING_DELETE"

	// GeomapProvisioningStatusACTIVE captures enum value "ACTIVE"
	GeomapProvisioningStatusACTIVE string = "ACTIVE"

	// GeomapProvisioningStatusERROR captures enum value "ERROR"
	GeomapProvisioningStatusERROR string = "ERROR"
)
View Source
const (

	// GeomapScopePrivate captures enum value "private"
	GeomapScopePrivate string = "private"

	// GeomapScopeShared captures enum value "shared"
	GeomapScopeShared string = "shared"
)
View Source
const (

	// LinkRelNext captures enum value "next"
	LinkRelNext string = "next"

	// LinkRelPrevious captures enum value "previous"
	LinkRelPrevious string = "previous"
)
View Source
const (

	// MemberProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE"
	MemberProvisioningStatusPENDINGCREATE string = "PENDING_CREATE"

	// MemberProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE"
	MemberProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE"

	// MemberProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE"
	MemberProvisioningStatusPENDINGDELETE string = "PENDING_DELETE"

	// MemberProvisioningStatusACTIVE captures enum value "ACTIVE"
	MemberProvisioningStatusACTIVE string = "ACTIVE"

	// MemberProvisioningStatusERROR captures enum value "ERROR"
	MemberProvisioningStatusERROR string = "ERROR"
)
View Source
const (

	// MemberStatusONLINE captures enum value "ONLINE"
	MemberStatusONLINE string = "ONLINE"

	// MemberStatusNOMONITOR captures enum value "NO_MONITOR"
	MemberStatusNOMONITOR string = "NO_MONITOR"

	// MemberStatusOFFLINE captures enum value "OFFLINE"
	MemberStatusOFFLINE string = "OFFLINE"
)
View Source
const (

	// MonitorHTTPMethodGET captures enum value "GET"
	MonitorHTTPMethodGET string = "GET"

	// MonitorHTTPMethodPOST captures enum value "POST"
	MonitorHTTPMethodPOST string = "POST"

	// MonitorHTTPMethodPUT captures enum value "PUT"
	MonitorHTTPMethodPUT string = "PUT"

	// MonitorHTTPMethodHEAD captures enum value "HEAD"
	MonitorHTTPMethodHEAD string = "HEAD"

	// MonitorHTTPMethodPATCH captures enum value "PATCH"
	MonitorHTTPMethodPATCH string = "PATCH"

	// MonitorHTTPMethodDELETE captures enum value "DELETE"
	MonitorHTTPMethodDELETE string = "DELETE"

	// MonitorHTTPMethodOPTIONS captures enum value "OPTIONS"
	MonitorHTTPMethodOPTIONS string = "OPTIONS"
)
View Source
const (

	// MonitorProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE"
	MonitorProvisioningStatusPENDINGCREATE string = "PENDING_CREATE"

	// MonitorProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE"
	MonitorProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE"

	// MonitorProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE"
	MonitorProvisioningStatusPENDINGDELETE string = "PENDING_DELETE"

	// MonitorProvisioningStatusACTIVE captures enum value "ACTIVE"
	MonitorProvisioningStatusACTIVE string = "ACTIVE"

	// MonitorProvisioningStatusERROR captures enum value "ERROR"
	MonitorProvisioningStatusERROR string = "ERROR"
)
View Source
const (

	// MonitorTypeHTTP captures enum value "HTTP"
	MonitorTypeHTTP string = "HTTP"

	// MonitorTypeHTTPS captures enum value "HTTPS"
	MonitorTypeHTTPS string = "HTTPS"

	// MonitorTypeICMP captures enum value "ICMP"
	MonitorTypeICMP string = "ICMP"

	// MonitorTypeTCP captures enum value "TCP"
	MonitorTypeTCP string = "TCP"

	// MonitorTypeUDP captures enum value "UDP"
	MonitorTypeUDP string = "UDP"
)
View Source
const (

	// PoolProvisioningStatusPENDINGCREATE captures enum value "PENDING_CREATE"
	PoolProvisioningStatusPENDINGCREATE string = "PENDING_CREATE"

	// PoolProvisioningStatusPENDINGUPDATE captures enum value "PENDING_UPDATE"
	PoolProvisioningStatusPENDINGUPDATE string = "PENDING_UPDATE"

	// PoolProvisioningStatusPENDINGDELETE captures enum value "PENDING_DELETE"
	PoolProvisioningStatusPENDINGDELETE string = "PENDING_DELETE"

	// PoolProvisioningStatusACTIVE captures enum value "ACTIVE"
	PoolProvisioningStatusACTIVE string = "ACTIVE"

	// PoolProvisioningStatusERROR captures enum value "ERROR"
	PoolProvisioningStatusERROR string = "ERROR"
)
View Source
const (

	// PoolStatusONLINE captures enum value "ONLINE"
	PoolStatusONLINE string = "ONLINE"

	// PoolStatusDOWN captures enum value "DOWN"
	PoolStatusDOWN string = "DOWN"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Datacenter

type Datacenter struct {

	// The administrative state of the resource, which is up (true) or down (false). Default is true.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// city
	// Example: Berlin
	// Max Length: 255
	City *string `json:"city"`

	// continent
	// Example: EU
	// Max Length: 255
	Continent *string `json:"continent"`

	// country
	// Example: DE
	// Max Length: 2
	Country *string `json:"country"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-05-11T17:21:34
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The id of the resource.
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// latitude
	// Example: 52.526055
	Latitude *float64 `json:"latitude"`

	// longitude
	// Example: 13.403454
	Longitude *float64 `json:"longitude"`

	// meta
	// Read Only: true
	Meta int64 `json:"meta,omitempty"`

	// Human-readable name of the resource.
	// Max Length: 255
	Name *string `json:"name,omitempty"`

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`

	// Provider driver for the backend solution
	// Example: akamai
	// Enum: [akamai f5]
	Provider string `json:"provider,omitempty"`

	// provisioning status
	// Read Only: true
	// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// Visibility of datacenter between different projects
	// Enum: [private shared]
	Scope *string `json:"scope,omitempty"`

	// state or province
	// Example: Berlin
	// Max Length: 255
	StateOrProvince *string `json:"state_or_province"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-09-09T14:52:15
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Datacenter datacenter

swagger:model datacenter

func (*Datacenter) ContextValidate

func (m *Datacenter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter based on the context it is used

func (*Datacenter) MarshalBinary

func (m *Datacenter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Datacenter) UnmarshalBinary

func (m *Datacenter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Datacenter) Validate

func (m *Datacenter) Validate(formats strfmt.Registry) error

Validate validates this datacenter

type Domain

type Domain struct {

	// The administrative state of the resource, which is up (true) or down (false). Default is true.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// aliases
	Aliases []string `json:"aliases"`

	// If not empty, the backend created a CNAME target to be used for the FQDN.
	// Example: example.org.production.gtm.com
	// Read Only: true
	// Format: hostname
	CnameTarget *strfmt.Hostname `json:"cname_target,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-05-11T17:21:34
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Desired Fully-Qualified Host Name.
	// Example: example.org
	// Max Length: 512
	// Format: hostname
	Fqdn *strfmt.Hostname `json:"fqdn,omitempty"`

	// The id of the resource.
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Load balancing method to use for the references pools.
	// Enum: [WEIGHTED ROUND_ROBIN GEOGRAPHIC AVAILABILITY]
	Mode *string `json:"mode,omitempty"`

	// Human-readable name of the resource.
	Name *string `json:"name,omitempty"`

	// pools
	Pools []strfmt.UUID `json:"pools"`

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`

	// Supported provider drivers
	// Example: akamai
	// Enum: [akamai f5]
	Provider *string `json:"provider,omitempty"`

	// provisioning status
	// Read Only: true
	// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// DNS Record type to use.
	// Enum: [A AAAA CNAME MX]
	RecordType *string `json:"record_type,omitempty"`

	// status
	// Read Only: true
	// Enum: [ONLINE DOWN]
	Status string `json:"status,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-09-09T14:52:15
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Domain A representation of a domain

swagger:model domain

func (*Domain) ContextValidate

func (m *Domain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this domain based on the context it is used

func (*Domain) MarshalBinary

func (m *Domain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Domain) UnmarshalBinary

func (m *Domain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Domain) Validate

func (m *Domain) Validate(formats strfmt.Registry) error

Validate validates this domain

type Error

type Error struct {

	// HTTP Error code
	// Example: 404
	Code int64 `json:"code,omitempty"`

	// message
	// Example: An example error message
	Message string `json:"message,omitempty"`
}

Error error

swagger:model error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Geomap

type Geomap struct {

	// Country to datacenter assignments.
	Assignments []*GeomapAssignmentsItems0 `json:"assignments"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-05-11T17:21:34
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Datacenter ID
	// Required: true
	// Format: uuid
	DefaultDatacenter *strfmt.UUID `json:"default_datacenter"`

	// The id of the resource.
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Human-readable name of the resource.
	// Max Length: 255
	Name *string `json:"name,omitempty"`

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`

	// Provider driver for the backend solution
	// Example: akamai
	// Enum: [akamai f5]
	Provider string `json:"provider,omitempty"`

	// provisioning status
	// Read Only: true
	// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// Visibility of datacenter between different projects
	// Enum: [private shared]
	Scope *string `json:"scope,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-09-09T14:52:15
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Geomap geomap

swagger:model geomap

func (*Geomap) ContextValidate

func (m *Geomap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this geomap based on the context it is used

func (*Geomap) MarshalBinary

func (m *Geomap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Geomap) UnmarshalBinary

func (m *Geomap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Geomap) Validate

func (m *Geomap) Validate(formats strfmt.Registry) error

Validate validates this geomap

type GeomapAssignmentsItems0

type GeomapAssignmentsItems0 struct {

	// ISO 3166 2-Letter Country code.
	// Max Length: 2
	// Min Length: 2
	Country string `json:"country,omitempty"`

	// Datacenter ID
	// Format: uuid
	Datacenter strfmt.UUID `json:"datacenter,omitempty"`
}

GeomapAssignmentsItems0 Assignment.

swagger:model GeomapAssignmentsItems0

func (*GeomapAssignmentsItems0) ContextValidate

func (m *GeomapAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this geomap assignments items0 based on context it is used

func (*GeomapAssignmentsItems0) MarshalBinary

func (m *GeomapAssignmentsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GeomapAssignmentsItems0) UnmarshalBinary

func (m *GeomapAssignmentsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GeomapAssignmentsItems0) Validate

func (m *GeomapAssignmentsItems0) Validate(formats strfmt.Registry) error

Validate validates this geomap assignments items0

type Link struct {

	// href
	// Format: uri
	Href strfmt.URI `json:"href,omitempty"`

	// rel
	// Enum: [next previous]
	Rel string `json:"rel,omitempty"`
}

Link link

swagger:model link

func (*Link) ContextValidate

func (m *Link) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this link based on the context it is used

func (*Link) MarshalBinary

func (m *Link) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Link) UnmarshalBinary

func (m *Link) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Link) Validate

func (m *Link) Validate(formats strfmt.Registry) error

Validate validates this link

type Member

type Member struct {

	// Address to use.
	// Example: 1.2.3.4
	// Format: ipv4
	Address *strfmt.IPv4 `json:"address,omitempty"`

	// The administrative state of the resource, which is up (true) or down (false). Default is true.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-05-11T17:21:34
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Datacenter assigned for this member.
	// Format: uuid
	DatacenterID *strfmt.UUID `json:"datacenter_id,omitempty"`

	// The id of the resource.
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Human-readable name of the resource.
	// Max Length: 255
	Name *string `json:"name,omitempty"`

	// pool id.
	// Format: uuid
	PoolID *strfmt.UUID `json:"pool_id,omitempty"`

	// Port to use for monitor checks.
	// Example: 80
	// Maximum: 65535
	// Minimum: 0
	Port *int64 `json:"port,omitempty"`

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`

	// provisioning status
	// Read Only: true
	// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// status
	// Read Only: true
	// Enum: [ONLINE NO_MONITOR OFFLINE]
	Status string `json:"status,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-09-09T14:52:15
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Member member

swagger:model member

func (*Member) ContextValidate

func (m *Member) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this member based on the context it is used

func (*Member) MarshalBinary

func (m *Member) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Member) UnmarshalBinary

func (m *Member) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Member) Validate

func (m *Member) Validate(formats strfmt.Registry) error

Validate validates this member

type Monitor

type Monitor struct {

	// The administrative state of the resource, which is up (true) or down (false). Default is true.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-05-11T17:21:34
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The domain name, which be injected into the HTTP Host Header to the backend server for HTTP health check. Only used for HTTP/S monitors.
	// Example: example.org
	// Max Length: 255
	// Format: hostname
	DomainName *strfmt.Hostname `json:"domain_name,omitempty"`

	// HTTP method to use for monitor checks. Only used for HTTP/S monitors.
	// Enum: [GET POST PUT HEAD PATCH DELETE OPTIONS]
	HTTPMethod *string `json:"http_method,omitempty"`

	// The id of the resource.
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// The interval, in seconds, between health checks.
	// Example: 10
	// Maximum: 86399
	// Minimum: 10
	Interval *int64 `json:"interval,omitempty"`

	// Human-readable name of the resource.
	// Max Length: 255
	Name *string `json:"name,omitempty"`

	// ID of the pool to check members
	// Format: uuid
	PoolID *strfmt.UUID `json:"pool_id,omitempty"`

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`

	// provisioning status
	// Read Only: true
	// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// Specifies the text string that the monitor expects to receive from the target member.
	// Example: HTTP/1.
	// Max Length: 255
	Receive *string `json:"receive,omitempty"`

	// Specifies the text string that the monitor sends to the target member. For HTTP/S monitors, this is a GET request and must be a HTTP path, e.g. `/status`.
	// Example: /stats
	// Max Length: 255
	Send *string `json:"send,omitempty"`

	// The time in total, in seconds, after which a health check times out.
	// Example: 30
	// Maximum: 60
	// Minimum: 0
	Timeout *int64 `json:"timeout,omitempty"`

	// Type of the health check monitor.
	// Example: HTTP
	// Enum: [HTTP HTTPS ICMP TCP UDP]
	Type *string `json:"type,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-09-09T14:52:15
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Monitor monitor

swagger:model monitor

func (*Monitor) ContextValidate

func (m *Monitor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor based on the context it is used

func (*Monitor) MarshalBinary

func (m *Monitor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Monitor) UnmarshalBinary

func (m *Monitor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Monitor) Validate

func (m *Monitor) Validate(formats strfmt.Registry) error

Validate validates this monitor

type Pool

type Pool struct {

	// The administrative state of the resource, which is up (true) or down (false). Default is true.
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-05-11 17:21:34
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Array of domains assigned to this pool
	Domains []strfmt.UUID `json:"domains"`

	// The id of the resource.
	// Read Only: true
	// Format: uuid
	ID strfmt.UUID `json:"id,omitempty"`

	// Array of member ids that this pool uses for load balancing.
	// Read Only: true
	Members []strfmt.UUID `json:"members"`

	// Array of monitor ids that this pool uses health checks.
	// Read Only: true
	Monitors []strfmt.UUID `json:"monitors"`

	// Human-readable name of the resource.
	// Max Length: 255
	Name *string `json:"name,omitempty"`

	// The ID of the project owning this resource.
	// Example: fa84c217f361441986a220edf9b1e337
	// Max Length: 32
	// Min Length: 32
	ProjectID *string `json:"project_id,omitempty"`

	// provisioning status
	// Read Only: true
	// Enum: [PENDING_CREATE PENDING_UPDATE PENDING_DELETE ACTIVE ERROR]
	ProvisioningStatus string `json:"provisioning_status,omitempty"`

	// status
	// Read Only: true
	// Enum: [ONLINE DOWN]
	Status string `json:"status,omitempty"`

	// The UTC date and timestamp when the resource was created.
	// Example: 2020-09-09 14:52:15
	// Read Only: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

Pool pool

swagger:model pool

func (*Pool) ContextValidate

func (m *Pool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pool based on the context it is used

func (*Pool) MarshalBinary

func (m *Pool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pool) UnmarshalBinary

func (m *Pool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pool) Validate

func (m *Pool) Validate(formats strfmt.Registry) error

Validate validates this pool

type Quota

type Quota struct {

	// The configured datacenter quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
	// Example: 5
	Datacenter *int64 `json:"datacenter,omitempty"`

	// The configured domain quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
	// Example: 5
	Domain *int64 `json:"domain,omitempty"`

	// The configured member quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
	// Example: 5
	Member *int64 `json:"member,omitempty"`

	// The configured monitor quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
	// Example: 5
	Monitor *int64 `json:"monitor,omitempty"`

	// The configured pool quota limit. A setting of null means it is using the deployment default quota. A setting of -1 means unlimited.
	// Example: 5
	Pool *int64 `json:"pool,omitempty"`
}

Quota quota

swagger:model quota

func (*Quota) ContextValidate

func (m *Quota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this quota based on context it is used

func (*Quota) MarshalBinary

func (m *Quota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Quota) UnmarshalBinary

func (m *Quota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Quota) Validate

func (m *Quota) Validate(formats strfmt.Registry) error

Validate validates this quota

type QuotaUsage

type QuotaUsage struct {

	// The current quota usage of datacenter.
	// Example: 5
	InUseDatacenter int64 `json:"in_use_datacenter"`

	// The current quota usage of domain.
	// Example: 5
	InUseDomain int64 `json:"in_use_domain"`

	// The current quota usage of member.
	// Example: 5
	InUseMember int64 `json:"in_use_member"`

	// The current quota usage of monitor.
	// Example: 5
	InUseMonitor int64 `json:"in_use_monitor"`

	// The current quota usage of pool.
	// Example: 5
	InUsePool int64 `json:"in_use_pool"`
}

QuotaUsage quota usage

swagger:model quota_usage

func (*QuotaUsage) ContextValidate

func (m *QuotaUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this quota usage based on context it is used

func (*QuotaUsage) MarshalBinary

func (m *QuotaUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QuotaUsage) UnmarshalBinary

func (m *QuotaUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QuotaUsage) Validate

func (m *QuotaUsage) Validate(formats strfmt.Registry) error

Validate validates this quota usage

type Service

type Service struct {

	// The UTC date and timestamp when had the last heartbeat.
	// Example: 2020-05-11 17:21:34
	// Format: date-time
	Heartbeat strfmt.DateTime `json:"heartbeat,omitempty"`

	// Hostname of the computer the service is running.
	// Example: example.host
	// Format: hostname
	Host strfmt.Hostname `json:"host,omitempty"`

	// ID of the RPC service.
	// Example: andromeda-agent-fbb49979-03f5-4a97-a334-1fd2c9f61e7e
	ID string `json:"id,omitempty"`

	// metadata
	Metadata interface{} `json:"metadata,omitempty"`

	// Provider this service supports.
	// Example: akamai
	Provider string `json:"provider,omitempty"`

	// RPC Endpoint Address.
	// Example: _INBOX.VEfFxcAzZQ9iM9vwGH49It
	RPCAddress string `json:"rpc_address,omitempty"`

	// Type of service.
	// Example: healthcheck
	Type string `json:"type,omitempty"`

	// Version of the service.
	// Example: 1.2.3
	Version string `json:"version,omitempty"`
}

Service service

swagger:model service

func (*Service) ContextValidate

func (m *Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service based on context it is used

func (*Service) MarshalBinary

func (m *Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

func (m *Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Service) Validate

func (m *Service) Validate(formats strfmt.Registry) error

Validate validates this service

Jump to

Keyboard shortcuts

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