Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + const TypeHTTP + const TypeHTTPS + const TypePING + const TypeSCTP + const TypeTCP + const TypeTLSHELLO + const TypeUDPConnect + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + AdminStateUp *bool + Delay int + DomainName string + ExpectedCodes string + HTTPMethod string + HTTPVersion string + MaxRetries int + MaxRetriesDown int + Name string + PoolID string + ProjectID string + Tags []string + TenantID string + Timeout int + Type string + URLPath string + func (opts CreateOpts) ToMonitorCreateMap() (map[string]any, error) + type CreateOptsBuilder interface + ToMonitorCreateMap func() (map[string]any, error) + type CreateResult struct + func Create(ctx context.Context, c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Monitor, error) + type DeleteResult struct + func Delete(ctx context.Context, c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(ctx context.Context, c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Monitor, error) + type ListOpts struct + AdminStateUp *bool + Delay int + ExpectedCodes string + HTTPMethod string + ID string + Limit int + Marker string + MaxRetries int + MaxRetriesDown int + Name string + PoolID string + ProjectID string + SortDir string + SortKey string + Status string + Tags []string + TenantID string + Timeout int + Type string + URLPath string + func (opts ListOpts) ToMonitorListQuery() (string, error) + type ListOptsBuilder interface + ToMonitorListQuery func() (string, error) + type Monitor struct + AdminStateUp bool + Delay int + DomainName string + ExpectedCodes string + HTTPMethod string + HTTPVersion string + ID string + MaxRetries int + MaxRetriesDown int + Name string + OperatingStatus string + Pools []PoolID + ProjectID string + ProvisioningStatus string + Status string + Tags []string + Timeout int + Type string + URLPath string + func ExtractMonitors(r pagination.Page) ([]Monitor, error) + type MonitorPage struct + func (r MonitorPage) IsEmpty() (bool, error) + func (r MonitorPage) NextPageURL() (string, error) + type PoolID struct + ID string + type UpdateOpts struct + AdminStateUp *bool + Delay int + DomainName *string + ExpectedCodes string + HTTPMethod string + HTTPVersion *string + MaxRetries int + MaxRetriesDown int + Name *string + Tags []string + Timeout int + URLPath string + func (opts UpdateOpts) ToMonitorUpdateMap() (map[string]any, error) + type UpdateOptsBuilder interface + ToMonitorUpdateMap func() (map[string]any, error) + type UpdateResult struct + func Update(ctx context.Context, c *gophercloud.ServiceClient, id string, ...) (r UpdateResult) + func (r UpdateResult) Extract() (*Monitor, error)