Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiGetMultiBurnrateAlertsRequest
- func (r ApiGetMultiBurnrateAlertsRequest) Current(current bool) ApiGetMultiBurnrateAlertsRequest
- func (r ApiGetMultiBurnrateAlertsRequest) Execute() ([]MultiBurnrateAlert, *http.Response, error)
- func (r ApiGetMultiBurnrateAlertsRequest) Expr(expr string) ApiGetMultiBurnrateAlertsRequest
- func (r ApiGetMultiBurnrateAlertsRequest) Grouping(grouping string) ApiGetMultiBurnrateAlertsRequest
- func (r ApiGetMultiBurnrateAlertsRequest) Inactive(inactive bool) ApiGetMultiBurnrateAlertsRequest
- type ApiGetObjectiveErrorBudgetRequest
- func (r ApiGetObjectiveErrorBudgetRequest) End(end int32) ApiGetObjectiveErrorBudgetRequest
- func (r ApiGetObjectiveErrorBudgetRequest) Execute() (*QueryRange, *http.Response, error)
- func (r ApiGetObjectiveErrorBudgetRequest) Expr(expr string) ApiGetObjectiveErrorBudgetRequest
- func (r ApiGetObjectiveErrorBudgetRequest) Grouping(grouping string) ApiGetObjectiveErrorBudgetRequest
- func (r ApiGetObjectiveErrorBudgetRequest) Start(start int32) ApiGetObjectiveErrorBudgetRequest
- type ApiGetObjectiveStatusRequest
- type ApiGetREDErrorsRequest
- func (r ApiGetREDErrorsRequest) End(end int32) ApiGetREDErrorsRequest
- func (r ApiGetREDErrorsRequest) Execute() (*QueryRange, *http.Response, error)
- func (r ApiGetREDErrorsRequest) Expr(expr string) ApiGetREDErrorsRequest
- func (r ApiGetREDErrorsRequest) Grouping(grouping string) ApiGetREDErrorsRequest
- func (r ApiGetREDErrorsRequest) Start(start int32) ApiGetREDErrorsRequest
- type ApiGetREDRequestsRequest
- func (r ApiGetREDRequestsRequest) End(end int32) ApiGetREDRequestsRequest
- func (r ApiGetREDRequestsRequest) Execute() (*QueryRange, *http.Response, error)
- func (r ApiGetREDRequestsRequest) Expr(expr string) ApiGetREDRequestsRequest
- func (r ApiGetREDRequestsRequest) Grouping(grouping string) ApiGetREDRequestsRequest
- func (r ApiGetREDRequestsRequest) Start(start int32) ApiGetREDRequestsRequest
- type ApiListObjectivesRequest
- type BasicAuth
- type Burnrate
- func (o *Burnrate) GetCurrent() float64
- func (o *Burnrate) GetCurrentOk() (*float64, bool)
- func (o *Burnrate) GetQuery() string
- func (o *Burnrate) GetQueryOk() (*string, bool)
- func (o *Burnrate) GetWindow() int64
- func (o *Burnrate) GetWindowOk() (*int64, bool)
- func (o Burnrate) MarshalJSON() ([]byte, error)
- func (o *Burnrate) SetCurrent(v float64)
- func (o *Burnrate) SetQuery(v string)
- func (o *Burnrate) SetWindow(v int64)
- type Configuration
- type GenericOpenAPIError
- type Indicator
- func (o *Indicator) GetLatency() IndicatorLatency
- func (o *Indicator) GetLatencyOk() (*IndicatorLatency, bool)
- func (o *Indicator) GetRatio() IndicatorRatio
- func (o *Indicator) GetRatioOk() (*IndicatorRatio, bool)
- func (o *Indicator) HasLatency() bool
- func (o *Indicator) HasRatio() bool
- func (o Indicator) MarshalJSON() ([]byte, error)
- func (o *Indicator) SetLatency(v IndicatorLatency)
- func (o *Indicator) SetRatio(v IndicatorRatio)
- type IndicatorLatency
- func (o *IndicatorLatency) GetGrouping() []string
- func (o *IndicatorLatency) GetGroupingOk() ([]string, bool)
- func (o *IndicatorLatency) GetSuccess() Query
- func (o *IndicatorLatency) GetSuccessOk() (*Query, bool)
- func (o *IndicatorLatency) GetTotal() Query
- func (o *IndicatorLatency) GetTotalOk() (*Query, bool)
- func (o *IndicatorLatency) HasGrouping() bool
- func (o IndicatorLatency) MarshalJSON() ([]byte, error)
- func (o *IndicatorLatency) SetGrouping(v []string)
- func (o *IndicatorLatency) SetSuccess(v Query)
- func (o *IndicatorLatency) SetTotal(v Query)
- type IndicatorRatio
- func (o *IndicatorRatio) GetErrors() Query
- func (o *IndicatorRatio) GetErrorsOk() (*Query, bool)
- func (o *IndicatorRatio) GetGrouping() []string
- func (o *IndicatorRatio) GetGroupingOk() ([]string, bool)
- func (o *IndicatorRatio) GetTotal() Query
- func (o *IndicatorRatio) GetTotalOk() (*Query, bool)
- func (o *IndicatorRatio) HasGrouping() bool
- func (o IndicatorRatio) MarshalJSON() ([]byte, error)
- func (o *IndicatorRatio) SetErrors(v Query)
- func (o *IndicatorRatio) SetGrouping(v []string)
- func (o *IndicatorRatio) SetTotal(v Query)
- type MultiBurnrateAlert
- func (o *MultiBurnrateAlert) GetFactor() float64
- func (o *MultiBurnrateAlert) GetFactorOk() (*float64, bool)
- func (o *MultiBurnrateAlert) GetFor() int64
- func (o *MultiBurnrateAlert) GetForOk() (*int64, bool)
- func (o *MultiBurnrateAlert) GetLabels() map[string]string
- func (o *MultiBurnrateAlert) GetLabelsOk() (*map[string]string, bool)
- func (o *MultiBurnrateAlert) GetLong() Burnrate
- func (o *MultiBurnrateAlert) GetLongOk() (*Burnrate, bool)
- func (o *MultiBurnrateAlert) GetSeverity() string
- func (o *MultiBurnrateAlert) GetSeverityOk() (*string, bool)
- func (o *MultiBurnrateAlert) GetShort() Burnrate
- func (o *MultiBurnrateAlert) GetShortOk() (*Burnrate, bool)
- func (o *MultiBurnrateAlert) GetState() string
- func (o *MultiBurnrateAlert) GetStateOk() (*string, bool)
- func (o MultiBurnrateAlert) MarshalJSON() ([]byte, error)
- func (o *MultiBurnrateAlert) SetFactor(v float64)
- func (o *MultiBurnrateAlert) SetFor(v int64)
- func (o *MultiBurnrateAlert) SetLabels(v map[string]string)
- func (o *MultiBurnrateAlert) SetLong(v Burnrate)
- func (o *MultiBurnrateAlert) SetSeverity(v string)
- func (o *MultiBurnrateAlert) SetShort(v Burnrate)
- func (o *MultiBurnrateAlert) SetState(v string)
- type NullableBool
- type NullableBurnrate
- type NullableFloat32
- type NullableFloat64
- type NullableIndicator
- type NullableIndicatorLatency
- func (v NullableIndicatorLatency) Get() *IndicatorLatency
- func (v NullableIndicatorLatency) IsSet() bool
- func (v NullableIndicatorLatency) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorLatency) Set(val *IndicatorLatency)
- func (v *NullableIndicatorLatency) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorLatency) Unset()
- type NullableIndicatorRatio
- func (v NullableIndicatorRatio) Get() *IndicatorRatio
- func (v NullableIndicatorRatio) IsSet() bool
- func (v NullableIndicatorRatio) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorRatio) Set(val *IndicatorRatio)
- func (v *NullableIndicatorRatio) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorRatio) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMultiBurnrateAlert
- func (v NullableMultiBurnrateAlert) Get() *MultiBurnrateAlert
- func (v NullableMultiBurnrateAlert) IsSet() bool
- func (v NullableMultiBurnrateAlert) MarshalJSON() ([]byte, error)
- func (v *NullableMultiBurnrateAlert) Set(val *MultiBurnrateAlert)
- func (v *NullableMultiBurnrateAlert) UnmarshalJSON(src []byte) error
- func (v *NullableMultiBurnrateAlert) Unset()
- type NullableObjective
- type NullableObjectiveStatus
- func (v NullableObjectiveStatus) Get() *ObjectiveStatus
- func (v NullableObjectiveStatus) IsSet() bool
- func (v NullableObjectiveStatus) MarshalJSON() ([]byte, error)
- func (v *NullableObjectiveStatus) Set(val *ObjectiveStatus)
- func (v *NullableObjectiveStatus) UnmarshalJSON(src []byte) error
- func (v *NullableObjectiveStatus) Unset()
- type NullableObjectiveStatusAvailability
- func (v NullableObjectiveStatusAvailability) Get() *ObjectiveStatusAvailability
- func (v NullableObjectiveStatusAvailability) IsSet() bool
- func (v NullableObjectiveStatusAvailability) MarshalJSON() ([]byte, error)
- func (v *NullableObjectiveStatusAvailability) Set(val *ObjectiveStatusAvailability)
- func (v *NullableObjectiveStatusAvailability) UnmarshalJSON(src []byte) error
- func (v *NullableObjectiveStatusAvailability) Unset()
- type NullableObjectiveStatusBudget
- func (v NullableObjectiveStatusBudget) Get() *ObjectiveStatusBudget
- func (v NullableObjectiveStatusBudget) IsSet() bool
- func (v NullableObjectiveStatusBudget) MarshalJSON() ([]byte, error)
- func (v *NullableObjectiveStatusBudget) Set(val *ObjectiveStatusBudget)
- func (v *NullableObjectiveStatusBudget) UnmarshalJSON(src []byte) error
- func (v *NullableObjectiveStatusBudget) Unset()
- type NullableQuery
- type NullableQueryMatchers
- func (v NullableQueryMatchers) Get() *QueryMatchers
- func (v NullableQueryMatchers) IsSet() bool
- func (v NullableQueryMatchers) MarshalJSON() ([]byte, error)
- func (v *NullableQueryMatchers) Set(val *QueryMatchers)
- func (v *NullableQueryMatchers) UnmarshalJSON(src []byte) error
- func (v *NullableQueryMatchers) Unset()
- type NullableQueryRange
- type NullableString
- type NullableTime
- type Objective
- func (o *Objective) GetConfig() string
- func (o *Objective) GetConfigOk() (*string, bool)
- func (o *Objective) GetDescription() string
- func (o *Objective) GetDescriptionOk() (*string, bool)
- func (o *Objective) GetIndicator() Indicator
- func (o *Objective) GetIndicatorOk() (*Indicator, bool)
- func (o *Objective) GetLabels() map[string]string
- func (o *Objective) GetLabelsOk() (*map[string]string, bool)
- func (o *Objective) GetTarget() float64
- func (o *Objective) GetTargetOk() (*float64, bool)
- func (o *Objective) GetWindow() int64
- func (o *Objective) GetWindowOk() (*int64, bool)
- func (o *Objective) HasIndicator() bool
- func (o Objective) MarshalJSON() ([]byte, error)
- func (o *Objective) SetConfig(v string)
- func (o *Objective) SetDescription(v string)
- func (o *Objective) SetIndicator(v Indicator)
- func (o *Objective) SetLabels(v map[string]string)
- func (o *Objective) SetTarget(v float64)
- func (o *Objective) SetWindow(v int64)
- type ObjectiveStatus
- func (o *ObjectiveStatus) GetAvailability() ObjectiveStatusAvailability
- func (o *ObjectiveStatus) GetAvailabilityOk() (*ObjectiveStatusAvailability, bool)
- func (o *ObjectiveStatus) GetBudget() ObjectiveStatusBudget
- func (o *ObjectiveStatus) GetBudgetOk() (*ObjectiveStatusBudget, bool)
- func (o *ObjectiveStatus) GetLabels() map[string]string
- func (o *ObjectiveStatus) GetLabelsOk() (*map[string]string, bool)
- func (o *ObjectiveStatus) HasLabels() bool
- func (o ObjectiveStatus) MarshalJSON() ([]byte, error)
- func (o *ObjectiveStatus) SetAvailability(v ObjectiveStatusAvailability)
- func (o *ObjectiveStatus) SetBudget(v ObjectiveStatusBudget)
- func (o *ObjectiveStatus) SetLabels(v map[string]string)
- type ObjectiveStatusAvailability
- func (o *ObjectiveStatusAvailability) GetErrors() float64
- func (o *ObjectiveStatusAvailability) GetErrorsOk() (*float64, bool)
- func (o *ObjectiveStatusAvailability) GetPercentage() float64
- func (o *ObjectiveStatusAvailability) GetPercentageOk() (*float64, bool)
- func (o *ObjectiveStatusAvailability) GetTotal() float64
- func (o *ObjectiveStatusAvailability) GetTotalOk() (*float64, bool)
- func (o ObjectiveStatusAvailability) MarshalJSON() ([]byte, error)
- func (o *ObjectiveStatusAvailability) SetErrors(v float64)
- func (o *ObjectiveStatusAvailability) SetPercentage(v float64)
- func (o *ObjectiveStatusAvailability) SetTotal(v float64)
- type ObjectiveStatusBudget
- func (o *ObjectiveStatusBudget) GetMax() float64
- func (o *ObjectiveStatusBudget) GetMaxOk() (*float64, bool)
- func (o *ObjectiveStatusBudget) GetRemaining() float64
- func (o *ObjectiveStatusBudget) GetRemainingOk() (*float64, bool)
- func (o *ObjectiveStatusBudget) GetTotal() float64
- func (o *ObjectiveStatusBudget) GetTotalOk() (*float64, bool)
- func (o ObjectiveStatusBudget) MarshalJSON() ([]byte, error)
- func (o *ObjectiveStatusBudget) SetMax(v float64)
- func (o *ObjectiveStatusBudget) SetRemaining(v float64)
- func (o *ObjectiveStatusBudget) SetTotal(v float64)
- type ObjectivesApiService
- func (a *ObjectivesApiService) GetMultiBurnrateAlerts(ctx context.Context) ApiGetMultiBurnrateAlertsRequest
- func (a *ObjectivesApiService) GetMultiBurnrateAlertsExecute(r ApiGetMultiBurnrateAlertsRequest) ([]MultiBurnrateAlert, *http.Response, error)
- func (a *ObjectivesApiService) GetObjectiveErrorBudget(ctx context.Context) ApiGetObjectiveErrorBudgetRequest
- func (a *ObjectivesApiService) GetObjectiveErrorBudgetExecute(r ApiGetObjectiveErrorBudgetRequest) (*QueryRange, *http.Response, error)
- func (a *ObjectivesApiService) GetObjectiveStatus(ctx context.Context) ApiGetObjectiveStatusRequest
- func (a *ObjectivesApiService) GetObjectiveStatusExecute(r ApiGetObjectiveStatusRequest) ([]ObjectiveStatus, *http.Response, error)
- func (a *ObjectivesApiService) GetREDErrors(ctx context.Context) ApiGetREDErrorsRequest
- func (a *ObjectivesApiService) GetREDErrorsExecute(r ApiGetREDErrorsRequest) (*QueryRange, *http.Response, error)
- func (a *ObjectivesApiService) GetREDRequests(ctx context.Context) ApiGetREDRequestsRequest
- func (a *ObjectivesApiService) GetREDRequestsExecute(r ApiGetREDRequestsRequest) (*QueryRange, *http.Response, error)
- func (a *ObjectivesApiService) ListObjectives(ctx context.Context) ApiListObjectivesRequest
- func (a *ObjectivesApiService) ListObjectivesExecute(r ApiListObjectivesRequest) ([]Objective, *http.Response, error)
- type Query
- func (o *Query) GetMatchers() []QueryMatchers
- func (o *Query) GetMatchersOk() ([]QueryMatchers, bool)
- func (o *Query) GetMetric() string
- func (o *Query) GetMetricOk() (*string, bool)
- func (o *Query) GetName() string
- func (o *Query) GetNameOk() (*string, bool)
- func (o *Query) HasMatchers() bool
- func (o *Query) HasName() bool
- func (o Query) MarshalJSON() ([]byte, error)
- func (o *Query) SetMatchers(v []QueryMatchers)
- func (o *Query) SetMetric(v string)
- func (o *Query) SetName(v string)
- type QueryMatchers
- func (o *QueryMatchers) GetName() string
- func (o *QueryMatchers) GetNameOk() (*string, bool)
- func (o *QueryMatchers) GetType() int32
- func (o *QueryMatchers) GetTypeOk() (*int32, bool)
- func (o *QueryMatchers) GetValue() string
- func (o *QueryMatchers) GetValueOk() (*string, bool)
- func (o *QueryMatchers) HasName() bool
- func (o *QueryMatchers) HasType() bool
- func (o *QueryMatchers) HasValue() bool
- func (o QueryMatchers) MarshalJSON() ([]byte, error)
- func (o *QueryMatchers) SetName(v string)
- func (o *QueryMatchers) SetType(v int32)
- func (o *QueryMatchers) SetValue(v string)
- type QueryRange
- func (o *QueryRange) GetLabels() []string
- func (o *QueryRange) GetLabelsOk() ([]string, bool)
- func (o *QueryRange) GetQuery() string
- func (o *QueryRange) GetQueryOk() (*string, bool)
- func (o *QueryRange) GetValues() [][]float64
- func (o *QueryRange) GetValuesOk() ([][]float64, bool)
- func (o QueryRange) MarshalJSON() ([]byte, error)
- func (o *QueryRange) SetLabels(v []string)
- func (o *QueryRange) SetQuery(v string)
- func (o *QueryRange) SetValues(v [][]float64)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { ObjectivesApi *ObjectivesApiService // contains filtered or unexported fields }
APIClient manages communication with the Pyrra API v0.3.4 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiGetMultiBurnrateAlertsRequest ¶
type ApiGetMultiBurnrateAlertsRequest struct { ApiService *ObjectivesApiService // contains filtered or unexported fields }
func (ApiGetMultiBurnrateAlertsRequest) Current ¶ added in v0.4.3
func (r ApiGetMultiBurnrateAlertsRequest) Current(current bool) ApiGetMultiBurnrateAlertsRequest
func (ApiGetMultiBurnrateAlertsRequest) Execute ¶
func (r ApiGetMultiBurnrateAlertsRequest) Execute() ([]MultiBurnrateAlert, *http.Response, error)
func (ApiGetMultiBurnrateAlertsRequest) Expr ¶ added in v0.2.0
func (r ApiGetMultiBurnrateAlertsRequest) Expr(expr string) ApiGetMultiBurnrateAlertsRequest
func (ApiGetMultiBurnrateAlertsRequest) Grouping ¶ added in v0.2.0
func (r ApiGetMultiBurnrateAlertsRequest) Grouping(grouping string) ApiGetMultiBurnrateAlertsRequest
func (ApiGetMultiBurnrateAlertsRequest) Inactive ¶ added in v0.4.0
func (r ApiGetMultiBurnrateAlertsRequest) Inactive(inactive bool) ApiGetMultiBurnrateAlertsRequest
type ApiGetObjectiveErrorBudgetRequest ¶
type ApiGetObjectiveErrorBudgetRequest struct { ApiService *ObjectivesApiService // contains filtered or unexported fields }
func (ApiGetObjectiveErrorBudgetRequest) End ¶
func (r ApiGetObjectiveErrorBudgetRequest) End(end int32) ApiGetObjectiveErrorBudgetRequest
The timestamp to end the query range at
func (ApiGetObjectiveErrorBudgetRequest) Execute ¶
func (r ApiGetObjectiveErrorBudgetRequest) Execute() (*QueryRange, *http.Response, error)
func (ApiGetObjectiveErrorBudgetRequest) Expr ¶ added in v0.2.0
func (r ApiGetObjectiveErrorBudgetRequest) Expr(expr string) ApiGetObjectiveErrorBudgetRequest
func (ApiGetObjectiveErrorBudgetRequest) Grouping ¶ added in v0.2.0
func (r ApiGetObjectiveErrorBudgetRequest) Grouping(grouping string) ApiGetObjectiveErrorBudgetRequest
func (ApiGetObjectiveErrorBudgetRequest) Start ¶
func (r ApiGetObjectiveErrorBudgetRequest) Start(start int32) ApiGetObjectiveErrorBudgetRequest
The timestamp to start the query range at
type ApiGetObjectiveStatusRequest ¶
type ApiGetObjectiveStatusRequest struct { ApiService *ObjectivesApiService // contains filtered or unexported fields }
func (ApiGetObjectiveStatusRequest) Execute ¶
func (r ApiGetObjectiveStatusRequest) Execute() ([]ObjectiveStatus, *http.Response, error)
func (ApiGetObjectiveStatusRequest) Expr ¶ added in v0.2.0
func (r ApiGetObjectiveStatusRequest) Expr(expr string) ApiGetObjectiveStatusRequest
func (ApiGetObjectiveStatusRequest) Grouping ¶ added in v0.2.0
func (r ApiGetObjectiveStatusRequest) Grouping(grouping string) ApiGetObjectiveStatusRequest
type ApiGetREDErrorsRequest ¶
type ApiGetREDErrorsRequest struct { ApiService *ObjectivesApiService // contains filtered or unexported fields }
func (ApiGetREDErrorsRequest) End ¶
func (r ApiGetREDErrorsRequest) End(end int32) ApiGetREDErrorsRequest
The timestamp to end the query range at
func (ApiGetREDErrorsRequest) Execute ¶
func (r ApiGetREDErrorsRequest) Execute() (*QueryRange, *http.Response, error)
func (ApiGetREDErrorsRequest) Expr ¶ added in v0.2.0
func (r ApiGetREDErrorsRequest) Expr(expr string) ApiGetREDErrorsRequest
func (ApiGetREDErrorsRequest) Grouping ¶ added in v0.2.0
func (r ApiGetREDErrorsRequest) Grouping(grouping string) ApiGetREDErrorsRequest
func (ApiGetREDErrorsRequest) Start ¶
func (r ApiGetREDErrorsRequest) Start(start int32) ApiGetREDErrorsRequest
The timestamp to start the query range at
type ApiGetREDRequestsRequest ¶
type ApiGetREDRequestsRequest struct { ApiService *ObjectivesApiService // contains filtered or unexported fields }
func (ApiGetREDRequestsRequest) End ¶
func (r ApiGetREDRequestsRequest) End(end int32) ApiGetREDRequestsRequest
The timestamp to end the query range at
func (ApiGetREDRequestsRequest) Execute ¶
func (r ApiGetREDRequestsRequest) Execute() (*QueryRange, *http.Response, error)
func (ApiGetREDRequestsRequest) Expr ¶ added in v0.2.0
func (r ApiGetREDRequestsRequest) Expr(expr string) ApiGetREDRequestsRequest
func (ApiGetREDRequestsRequest) Grouping ¶ added in v0.2.0
func (r ApiGetREDRequestsRequest) Grouping(grouping string) ApiGetREDRequestsRequest
func (ApiGetREDRequestsRequest) Start ¶
func (r ApiGetREDRequestsRequest) Start(start int32) ApiGetREDRequestsRequest
The timestamp to start the query range at
type ApiListObjectivesRequest ¶
type ApiListObjectivesRequest struct { ApiService *ObjectivesApiService // contains filtered or unexported fields }
func (ApiListObjectivesRequest) Execute ¶
func (r ApiListObjectivesRequest) Execute() ([]Objective, *http.Response, error)
func (ApiListObjectivesRequest) Expr ¶ added in v0.2.0
func (r ApiListObjectivesRequest) Expr(expr string) ApiListObjectivesRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Burnrate ¶
type Burnrate struct { Window int64 `json:"window"` Current float64 `json:"current"` Query string `json:"query"` }
Burnrate struct for Burnrate
func NewBurnrate ¶
NewBurnrate instantiates a new Burnrate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBurnrateWithDefaults ¶
func NewBurnrateWithDefaults() *Burnrate
NewBurnrateWithDefaults instantiates a new Burnrate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Burnrate) GetCurrent ¶
GetCurrent returns the Current field value
func (*Burnrate) GetCurrentOk ¶
GetCurrentOk returns a tuple with the Current field value and a boolean to check if the value has been set.
func (*Burnrate) GetQueryOk ¶
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*Burnrate) GetWindowOk ¶
GetWindowOk returns a tuple with the Window field value and a boolean to check if the value has been set.
func (Burnrate) MarshalJSON ¶
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Indicator ¶
type Indicator struct { Ratio *IndicatorRatio `json:"ratio,omitempty"` Latency *IndicatorLatency `json:"latency,omitempty"` }
Indicator struct for Indicator
func NewIndicator ¶
func NewIndicator() *Indicator
NewIndicator instantiates a new Indicator object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorWithDefaults ¶
func NewIndicatorWithDefaults() *Indicator
NewIndicatorWithDefaults instantiates a new Indicator object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Indicator) GetLatency ¶
func (o *Indicator) GetLatency() IndicatorLatency
GetLatency returns the Latency field value if set, zero value otherwise.
func (*Indicator) GetLatencyOk ¶
func (o *Indicator) GetLatencyOk() (*IndicatorLatency, bool)
GetLatencyOk returns a tuple with the Latency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Indicator) GetRatio ¶
func (o *Indicator) GetRatio() IndicatorRatio
GetRatio returns the Ratio field value if set, zero value otherwise.
func (*Indicator) GetRatioOk ¶
func (o *Indicator) GetRatioOk() (*IndicatorRatio, bool)
GetRatioOk returns a tuple with the Ratio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Indicator) HasLatency ¶
HasLatency returns a boolean if a field has been set.
func (Indicator) MarshalJSON ¶
func (*Indicator) SetLatency ¶
func (o *Indicator) SetLatency(v IndicatorLatency)
SetLatency gets a reference to the given IndicatorLatency and assigns it to the Latency field.
func (*Indicator) SetRatio ¶
func (o *Indicator) SetRatio(v IndicatorRatio)
SetRatio gets a reference to the given IndicatorRatio and assigns it to the Ratio field.
type IndicatorLatency ¶
type IndicatorLatency struct { Success Query `json:"success"` Total Query `json:"total"` Grouping []string `json:"grouping,omitempty"` }
IndicatorLatency struct for IndicatorLatency
func NewIndicatorLatency ¶
func NewIndicatorLatency(success Query, total Query) *IndicatorLatency
NewIndicatorLatency instantiates a new IndicatorLatency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorLatencyWithDefaults ¶
func NewIndicatorLatencyWithDefaults() *IndicatorLatency
NewIndicatorLatencyWithDefaults instantiates a new IndicatorLatency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorLatency) GetGrouping ¶ added in v0.2.0
func (o *IndicatorLatency) GetGrouping() []string
GetGrouping returns the Grouping field value if set, zero value otherwise.
func (*IndicatorLatency) GetGroupingOk ¶ added in v0.2.0
func (o *IndicatorLatency) GetGroupingOk() ([]string, bool)
GetGroupingOk returns a tuple with the Grouping field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorLatency) GetSuccess ¶
func (o *IndicatorLatency) GetSuccess() Query
GetSuccess returns the Success field value
func (*IndicatorLatency) GetSuccessOk ¶
func (o *IndicatorLatency) GetSuccessOk() (*Query, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (*IndicatorLatency) GetTotal ¶
func (o *IndicatorLatency) GetTotal() Query
GetTotal returns the Total field value
func (*IndicatorLatency) GetTotalOk ¶
func (o *IndicatorLatency) GetTotalOk() (*Query, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*IndicatorLatency) HasGrouping ¶ added in v0.2.0
func (o *IndicatorLatency) HasGrouping() bool
HasGrouping returns a boolean if a field has been set.
func (IndicatorLatency) MarshalJSON ¶
func (o IndicatorLatency) MarshalJSON() ([]byte, error)
func (*IndicatorLatency) SetGrouping ¶ added in v0.2.0
func (o *IndicatorLatency) SetGrouping(v []string)
SetGrouping gets a reference to the given []string and assigns it to the Grouping field.
func (*IndicatorLatency) SetSuccess ¶
func (o *IndicatorLatency) SetSuccess(v Query)
SetSuccess sets field value
func (*IndicatorLatency) SetTotal ¶
func (o *IndicatorLatency) SetTotal(v Query)
SetTotal sets field value
type IndicatorRatio ¶
type IndicatorRatio struct { Errors Query `json:"errors"` Total Query `json:"total"` Grouping []string `json:"grouping,omitempty"` }
IndicatorRatio struct for IndicatorRatio
func NewIndicatorRatio ¶
func NewIndicatorRatio(errors Query, total Query) *IndicatorRatio
NewIndicatorRatio instantiates a new IndicatorRatio object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorRatioWithDefaults ¶
func NewIndicatorRatioWithDefaults() *IndicatorRatio
NewIndicatorRatioWithDefaults instantiates a new IndicatorRatio object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorRatio) GetErrors ¶
func (o *IndicatorRatio) GetErrors() Query
GetErrors returns the Errors field value
func (*IndicatorRatio) GetErrorsOk ¶
func (o *IndicatorRatio) GetErrorsOk() (*Query, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (*IndicatorRatio) GetGrouping ¶ added in v0.2.0
func (o *IndicatorRatio) GetGrouping() []string
GetGrouping returns the Grouping field value if set, zero value otherwise.
func (*IndicatorRatio) GetGroupingOk ¶ added in v0.2.0
func (o *IndicatorRatio) GetGroupingOk() ([]string, bool)
GetGroupingOk returns a tuple with the Grouping field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorRatio) GetTotal ¶
func (o *IndicatorRatio) GetTotal() Query
GetTotal returns the Total field value
func (*IndicatorRatio) GetTotalOk ¶
func (o *IndicatorRatio) GetTotalOk() (*Query, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*IndicatorRatio) HasGrouping ¶ added in v0.2.0
func (o *IndicatorRatio) HasGrouping() bool
HasGrouping returns a boolean if a field has been set.
func (IndicatorRatio) MarshalJSON ¶
func (o IndicatorRatio) MarshalJSON() ([]byte, error)
func (*IndicatorRatio) SetErrors ¶
func (o *IndicatorRatio) SetErrors(v Query)
SetErrors sets field value
func (*IndicatorRatio) SetGrouping ¶ added in v0.2.0
func (o *IndicatorRatio) SetGrouping(v []string)
SetGrouping gets a reference to the given []string and assigns it to the Grouping field.
func (*IndicatorRatio) SetTotal ¶
func (o *IndicatorRatio) SetTotal(v Query)
SetTotal sets field value
type MultiBurnrateAlert ¶
type MultiBurnrateAlert struct { Labels map[string]string `json:"labels"` Severity string `json:"severity"` For int64 `json:"for"` Factor float64 `json:"factor"` Short Burnrate `json:"short"` Long Burnrate `json:"long"` State string `json:"state"` }
MultiBurnrateAlert struct for MultiBurnrateAlert
func NewMultiBurnrateAlert ¶
func NewMultiBurnrateAlert(labels map[string]string, severity string, for_ int64, factor float64, short Burnrate, long Burnrate, state string) *MultiBurnrateAlert
NewMultiBurnrateAlert instantiates a new MultiBurnrateAlert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMultiBurnrateAlertWithDefaults ¶
func NewMultiBurnrateAlertWithDefaults() *MultiBurnrateAlert
NewMultiBurnrateAlertWithDefaults instantiates a new MultiBurnrateAlert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MultiBurnrateAlert) GetFactor ¶
func (o *MultiBurnrateAlert) GetFactor() float64
GetFactor returns the Factor field value
func (*MultiBurnrateAlert) GetFactorOk ¶
func (o *MultiBurnrateAlert) GetFactorOk() (*float64, bool)
GetFactorOk returns a tuple with the Factor field value and a boolean to check if the value has been set.
func (*MultiBurnrateAlert) GetFor ¶
func (o *MultiBurnrateAlert) GetFor() int64
GetFor returns the For field value
func (*MultiBurnrateAlert) GetForOk ¶
func (o *MultiBurnrateAlert) GetForOk() (*int64, bool)
GetForOk returns a tuple with the For field value and a boolean to check if the value has been set.
func (*MultiBurnrateAlert) GetLabels ¶ added in v0.4.0
func (o *MultiBurnrateAlert) GetLabels() map[string]string
GetLabels returns the Labels field value
func (*MultiBurnrateAlert) GetLabelsOk ¶ added in v0.4.0
func (o *MultiBurnrateAlert) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*MultiBurnrateAlert) GetLong ¶
func (o *MultiBurnrateAlert) GetLong() Burnrate
GetLong returns the Long field value
func (*MultiBurnrateAlert) GetLongOk ¶
func (o *MultiBurnrateAlert) GetLongOk() (*Burnrate, bool)
GetLongOk returns a tuple with the Long field value and a boolean to check if the value has been set.
func (*MultiBurnrateAlert) GetSeverity ¶
func (o *MultiBurnrateAlert) GetSeverity() string
GetSeverity returns the Severity field value
func (*MultiBurnrateAlert) GetSeverityOk ¶
func (o *MultiBurnrateAlert) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field value and a boolean to check if the value has been set.
func (*MultiBurnrateAlert) GetShort ¶
func (o *MultiBurnrateAlert) GetShort() Burnrate
GetShort returns the Short field value
func (*MultiBurnrateAlert) GetShortOk ¶
func (o *MultiBurnrateAlert) GetShortOk() (*Burnrate, bool)
GetShortOk returns a tuple with the Short field value and a boolean to check if the value has been set.
func (*MultiBurnrateAlert) GetState ¶
func (o *MultiBurnrateAlert) GetState() string
GetState returns the State field value
func (*MultiBurnrateAlert) GetStateOk ¶
func (o *MultiBurnrateAlert) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (MultiBurnrateAlert) MarshalJSON ¶
func (o MultiBurnrateAlert) MarshalJSON() ([]byte, error)
func (*MultiBurnrateAlert) SetFactor ¶
func (o *MultiBurnrateAlert) SetFactor(v float64)
SetFactor sets field value
func (*MultiBurnrateAlert) SetFor ¶
func (o *MultiBurnrateAlert) SetFor(v int64)
SetFor sets field value
func (*MultiBurnrateAlert) SetLabels ¶ added in v0.4.0
func (o *MultiBurnrateAlert) SetLabels(v map[string]string)
SetLabels sets field value
func (*MultiBurnrateAlert) SetLong ¶
func (o *MultiBurnrateAlert) SetLong(v Burnrate)
SetLong sets field value
func (*MultiBurnrateAlert) SetSeverity ¶
func (o *MultiBurnrateAlert) SetSeverity(v string)
SetSeverity sets field value
func (*MultiBurnrateAlert) SetShort ¶
func (o *MultiBurnrateAlert) SetShort(v Burnrate)
SetShort sets field value
func (*MultiBurnrateAlert) SetState ¶
func (o *MultiBurnrateAlert) SetState(v string)
SetState sets field value
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBurnrate ¶
type NullableBurnrate struct {
// contains filtered or unexported fields
}
func NewNullableBurnrate ¶
func NewNullableBurnrate(val *Burnrate) *NullableBurnrate
func (NullableBurnrate) Get ¶
func (v NullableBurnrate) Get() *Burnrate
func (NullableBurnrate) IsSet ¶
func (v NullableBurnrate) IsSet() bool
func (NullableBurnrate) MarshalJSON ¶
func (v NullableBurnrate) MarshalJSON() ([]byte, error)
func (*NullableBurnrate) Set ¶
func (v *NullableBurnrate) Set(val *Burnrate)
func (*NullableBurnrate) UnmarshalJSON ¶
func (v *NullableBurnrate) UnmarshalJSON(src []byte) error
func (*NullableBurnrate) Unset ¶
func (v *NullableBurnrate) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableIndicator ¶
type NullableIndicator struct {
// contains filtered or unexported fields
}
func NewNullableIndicator ¶
func NewNullableIndicator(val *Indicator) *NullableIndicator
func (NullableIndicator) Get ¶
func (v NullableIndicator) Get() *Indicator
func (NullableIndicator) IsSet ¶
func (v NullableIndicator) IsSet() bool
func (NullableIndicator) MarshalJSON ¶
func (v NullableIndicator) MarshalJSON() ([]byte, error)
func (*NullableIndicator) Set ¶
func (v *NullableIndicator) Set(val *Indicator)
func (*NullableIndicator) UnmarshalJSON ¶
func (v *NullableIndicator) UnmarshalJSON(src []byte) error
func (*NullableIndicator) Unset ¶
func (v *NullableIndicator) Unset()
type NullableIndicatorLatency ¶
type NullableIndicatorLatency struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorLatency ¶
func NewNullableIndicatorLatency(val *IndicatorLatency) *NullableIndicatorLatency
func (NullableIndicatorLatency) Get ¶
func (v NullableIndicatorLatency) Get() *IndicatorLatency
func (NullableIndicatorLatency) IsSet ¶
func (v NullableIndicatorLatency) IsSet() bool
func (NullableIndicatorLatency) MarshalJSON ¶
func (v NullableIndicatorLatency) MarshalJSON() ([]byte, error)
func (*NullableIndicatorLatency) Set ¶
func (v *NullableIndicatorLatency) Set(val *IndicatorLatency)
func (*NullableIndicatorLatency) UnmarshalJSON ¶
func (v *NullableIndicatorLatency) UnmarshalJSON(src []byte) error
func (*NullableIndicatorLatency) Unset ¶
func (v *NullableIndicatorLatency) Unset()
type NullableIndicatorRatio ¶
type NullableIndicatorRatio struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorRatio ¶
func NewNullableIndicatorRatio(val *IndicatorRatio) *NullableIndicatorRatio
func (NullableIndicatorRatio) Get ¶
func (v NullableIndicatorRatio) Get() *IndicatorRatio
func (NullableIndicatorRatio) IsSet ¶
func (v NullableIndicatorRatio) IsSet() bool
func (NullableIndicatorRatio) MarshalJSON ¶
func (v NullableIndicatorRatio) MarshalJSON() ([]byte, error)
func (*NullableIndicatorRatio) Set ¶
func (v *NullableIndicatorRatio) Set(val *IndicatorRatio)
func (*NullableIndicatorRatio) UnmarshalJSON ¶
func (v *NullableIndicatorRatio) UnmarshalJSON(src []byte) error
func (*NullableIndicatorRatio) Unset ¶
func (v *NullableIndicatorRatio) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableMultiBurnrateAlert ¶
type NullableMultiBurnrateAlert struct {
// contains filtered or unexported fields
}
func NewNullableMultiBurnrateAlert ¶
func NewNullableMultiBurnrateAlert(val *MultiBurnrateAlert) *NullableMultiBurnrateAlert
func (NullableMultiBurnrateAlert) Get ¶
func (v NullableMultiBurnrateAlert) Get() *MultiBurnrateAlert
func (NullableMultiBurnrateAlert) IsSet ¶
func (v NullableMultiBurnrateAlert) IsSet() bool
func (NullableMultiBurnrateAlert) MarshalJSON ¶
func (v NullableMultiBurnrateAlert) MarshalJSON() ([]byte, error)
func (*NullableMultiBurnrateAlert) Set ¶
func (v *NullableMultiBurnrateAlert) Set(val *MultiBurnrateAlert)
func (*NullableMultiBurnrateAlert) UnmarshalJSON ¶
func (v *NullableMultiBurnrateAlert) UnmarshalJSON(src []byte) error
func (*NullableMultiBurnrateAlert) Unset ¶
func (v *NullableMultiBurnrateAlert) Unset()
type NullableObjective ¶
type NullableObjective struct {
// contains filtered or unexported fields
}
func NewNullableObjective ¶
func NewNullableObjective(val *Objective) *NullableObjective
func (NullableObjective) Get ¶
func (v NullableObjective) Get() *Objective
func (NullableObjective) IsSet ¶
func (v NullableObjective) IsSet() bool
func (NullableObjective) MarshalJSON ¶
func (v NullableObjective) MarshalJSON() ([]byte, error)
func (*NullableObjective) Set ¶
func (v *NullableObjective) Set(val *Objective)
func (*NullableObjective) UnmarshalJSON ¶
func (v *NullableObjective) UnmarshalJSON(src []byte) error
func (*NullableObjective) Unset ¶
func (v *NullableObjective) Unset()
type NullableObjectiveStatus ¶
type NullableObjectiveStatus struct {
// contains filtered or unexported fields
}
func NewNullableObjectiveStatus ¶
func NewNullableObjectiveStatus(val *ObjectiveStatus) *NullableObjectiveStatus
func (NullableObjectiveStatus) Get ¶
func (v NullableObjectiveStatus) Get() *ObjectiveStatus
func (NullableObjectiveStatus) IsSet ¶
func (v NullableObjectiveStatus) IsSet() bool
func (NullableObjectiveStatus) MarshalJSON ¶
func (v NullableObjectiveStatus) MarshalJSON() ([]byte, error)
func (*NullableObjectiveStatus) Set ¶
func (v *NullableObjectiveStatus) Set(val *ObjectiveStatus)
func (*NullableObjectiveStatus) UnmarshalJSON ¶
func (v *NullableObjectiveStatus) UnmarshalJSON(src []byte) error
func (*NullableObjectiveStatus) Unset ¶
func (v *NullableObjectiveStatus) Unset()
type NullableObjectiveStatusAvailability ¶
type NullableObjectiveStatusAvailability struct {
// contains filtered or unexported fields
}
func NewNullableObjectiveStatusAvailability ¶
func NewNullableObjectiveStatusAvailability(val *ObjectiveStatusAvailability) *NullableObjectiveStatusAvailability
func (NullableObjectiveStatusAvailability) Get ¶
func (v NullableObjectiveStatusAvailability) Get() *ObjectiveStatusAvailability
func (NullableObjectiveStatusAvailability) IsSet ¶
func (v NullableObjectiveStatusAvailability) IsSet() bool
func (NullableObjectiveStatusAvailability) MarshalJSON ¶
func (v NullableObjectiveStatusAvailability) MarshalJSON() ([]byte, error)
func (*NullableObjectiveStatusAvailability) Set ¶
func (v *NullableObjectiveStatusAvailability) Set(val *ObjectiveStatusAvailability)
func (*NullableObjectiveStatusAvailability) UnmarshalJSON ¶
func (v *NullableObjectiveStatusAvailability) UnmarshalJSON(src []byte) error
func (*NullableObjectiveStatusAvailability) Unset ¶
func (v *NullableObjectiveStatusAvailability) Unset()
type NullableObjectiveStatusBudget ¶
type NullableObjectiveStatusBudget struct {
// contains filtered or unexported fields
}
func NewNullableObjectiveStatusBudget ¶
func NewNullableObjectiveStatusBudget(val *ObjectiveStatusBudget) *NullableObjectiveStatusBudget
func (NullableObjectiveStatusBudget) Get ¶
func (v NullableObjectiveStatusBudget) Get() *ObjectiveStatusBudget
func (NullableObjectiveStatusBudget) IsSet ¶
func (v NullableObjectiveStatusBudget) IsSet() bool
func (NullableObjectiveStatusBudget) MarshalJSON ¶
func (v NullableObjectiveStatusBudget) MarshalJSON() ([]byte, error)
func (*NullableObjectiveStatusBudget) Set ¶
func (v *NullableObjectiveStatusBudget) Set(val *ObjectiveStatusBudget)
func (*NullableObjectiveStatusBudget) UnmarshalJSON ¶
func (v *NullableObjectiveStatusBudget) UnmarshalJSON(src []byte) error
func (*NullableObjectiveStatusBudget) Unset ¶
func (v *NullableObjectiveStatusBudget) Unset()
type NullableQuery ¶
type NullableQuery struct {
// contains filtered or unexported fields
}
func NewNullableQuery ¶
func NewNullableQuery(val *Query) *NullableQuery
func (NullableQuery) Get ¶
func (v NullableQuery) Get() *Query
func (NullableQuery) IsSet ¶
func (v NullableQuery) IsSet() bool
func (NullableQuery) MarshalJSON ¶
func (v NullableQuery) MarshalJSON() ([]byte, error)
func (*NullableQuery) Set ¶
func (v *NullableQuery) Set(val *Query)
func (*NullableQuery) UnmarshalJSON ¶
func (v *NullableQuery) UnmarshalJSON(src []byte) error
func (*NullableQuery) Unset ¶
func (v *NullableQuery) Unset()
type NullableQueryMatchers ¶
type NullableQueryMatchers struct {
// contains filtered or unexported fields
}
func NewNullableQueryMatchers ¶
func NewNullableQueryMatchers(val *QueryMatchers) *NullableQueryMatchers
func (NullableQueryMatchers) Get ¶
func (v NullableQueryMatchers) Get() *QueryMatchers
func (NullableQueryMatchers) IsSet ¶
func (v NullableQueryMatchers) IsSet() bool
func (NullableQueryMatchers) MarshalJSON ¶
func (v NullableQueryMatchers) MarshalJSON() ([]byte, error)
func (*NullableQueryMatchers) Set ¶
func (v *NullableQueryMatchers) Set(val *QueryMatchers)
func (*NullableQueryMatchers) UnmarshalJSON ¶
func (v *NullableQueryMatchers) UnmarshalJSON(src []byte) error
func (*NullableQueryMatchers) Unset ¶
func (v *NullableQueryMatchers) Unset()
type NullableQueryRange ¶
type NullableQueryRange struct {
// contains filtered or unexported fields
}
func NewNullableQueryRange ¶
func NewNullableQueryRange(val *QueryRange) *NullableQueryRange
func (NullableQueryRange) Get ¶
func (v NullableQueryRange) Get() *QueryRange
func (NullableQueryRange) IsSet ¶
func (v NullableQueryRange) IsSet() bool
func (NullableQueryRange) MarshalJSON ¶
func (v NullableQueryRange) MarshalJSON() ([]byte, error)
func (*NullableQueryRange) Set ¶
func (v *NullableQueryRange) Set(val *QueryRange)
func (*NullableQueryRange) UnmarshalJSON ¶
func (v *NullableQueryRange) UnmarshalJSON(src []byte) error
func (*NullableQueryRange) Unset ¶
func (v *NullableQueryRange) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type Objective ¶
type Objective struct { Labels map[string]string `json:"labels"` Description string `json:"description"` Target float64 `json:"target"` Window int64 `json:"window"` Config string `json:"config"` Indicator *Indicator `json:"indicator,omitempty"` }
Objective struct for Objective
func NewObjective ¶
func NewObjective(labels map[string]string, description string, target float64, window int64, config string) *Objective
NewObjective instantiates a new Objective object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectiveWithDefaults ¶
func NewObjectiveWithDefaults() *Objective
NewObjectiveWithDefaults instantiates a new Objective object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Objective) GetConfigOk ¶
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*Objective) GetDescription ¶
GetDescription returns the Description field value
func (*Objective) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Objective) GetIndicator ¶
GetIndicator returns the Indicator field value if set, zero value otherwise.
func (*Objective) GetIndicatorOk ¶
GetIndicatorOk returns a tuple with the Indicator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Objective) GetLabelsOk ¶ added in v0.2.0
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*Objective) GetTargetOk ¶
GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.
func (*Objective) GetWindowOk ¶
GetWindowOk returns a tuple with the Window field value and a boolean to check if the value has been set.
func (*Objective) HasIndicator ¶
HasIndicator returns a boolean if a field has been set.
func (Objective) MarshalJSON ¶
func (*Objective) SetDescription ¶
SetDescription sets field value
func (*Objective) SetIndicator ¶
SetIndicator gets a reference to the given Indicator and assigns it to the Indicator field.
type ObjectiveStatus ¶
type ObjectiveStatus struct { Labels *map[string]string `json:"labels,omitempty"` Availability ObjectiveStatusAvailability `json:"availability"` Budget ObjectiveStatusBudget `json:"budget"` }
ObjectiveStatus struct for ObjectiveStatus
func NewObjectiveStatus ¶
func NewObjectiveStatus(availability ObjectiveStatusAvailability, budget ObjectiveStatusBudget) *ObjectiveStatus
NewObjectiveStatus instantiates a new ObjectiveStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectiveStatusWithDefaults ¶
func NewObjectiveStatusWithDefaults() *ObjectiveStatus
NewObjectiveStatusWithDefaults instantiates a new ObjectiveStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectiveStatus) GetAvailability ¶
func (o *ObjectiveStatus) GetAvailability() ObjectiveStatusAvailability
GetAvailability returns the Availability field value
func (*ObjectiveStatus) GetAvailabilityOk ¶
func (o *ObjectiveStatus) GetAvailabilityOk() (*ObjectiveStatusAvailability, bool)
GetAvailabilityOk returns a tuple with the Availability field value and a boolean to check if the value has been set.
func (*ObjectiveStatus) GetBudget ¶
func (o *ObjectiveStatus) GetBudget() ObjectiveStatusBudget
GetBudget returns the Budget field value
func (*ObjectiveStatus) GetBudgetOk ¶
func (o *ObjectiveStatus) GetBudgetOk() (*ObjectiveStatusBudget, bool)
GetBudgetOk returns a tuple with the Budget field value and a boolean to check if the value has been set.
func (*ObjectiveStatus) GetLabels ¶ added in v0.2.0
func (o *ObjectiveStatus) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ObjectiveStatus) GetLabelsOk ¶ added in v0.2.0
func (o *ObjectiveStatus) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectiveStatus) HasLabels ¶ added in v0.2.0
func (o *ObjectiveStatus) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (ObjectiveStatus) MarshalJSON ¶
func (o ObjectiveStatus) MarshalJSON() ([]byte, error)
func (*ObjectiveStatus) SetAvailability ¶
func (o *ObjectiveStatus) SetAvailability(v ObjectiveStatusAvailability)
SetAvailability sets field value
func (*ObjectiveStatus) SetBudget ¶
func (o *ObjectiveStatus) SetBudget(v ObjectiveStatusBudget)
SetBudget sets field value
func (*ObjectiveStatus) SetLabels ¶ added in v0.2.0
func (o *ObjectiveStatus) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
type ObjectiveStatusAvailability ¶
type ObjectiveStatusAvailability struct { Percentage float64 `json:"percentage"` Total float64 `json:"total"` Errors float64 `json:"errors"` }
ObjectiveStatusAvailability struct for ObjectiveStatusAvailability
func NewObjectiveStatusAvailability ¶
func NewObjectiveStatusAvailability(percentage float64, total float64, errors float64) *ObjectiveStatusAvailability
NewObjectiveStatusAvailability instantiates a new ObjectiveStatusAvailability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectiveStatusAvailabilityWithDefaults ¶
func NewObjectiveStatusAvailabilityWithDefaults() *ObjectiveStatusAvailability
NewObjectiveStatusAvailabilityWithDefaults instantiates a new ObjectiveStatusAvailability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectiveStatusAvailability) GetErrors ¶
func (o *ObjectiveStatusAvailability) GetErrors() float64
GetErrors returns the Errors field value
func (*ObjectiveStatusAvailability) GetErrorsOk ¶
func (o *ObjectiveStatusAvailability) GetErrorsOk() (*float64, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (*ObjectiveStatusAvailability) GetPercentage ¶
func (o *ObjectiveStatusAvailability) GetPercentage() float64
GetPercentage returns the Percentage field value
func (*ObjectiveStatusAvailability) GetPercentageOk ¶
func (o *ObjectiveStatusAvailability) GetPercentageOk() (*float64, bool)
GetPercentageOk returns a tuple with the Percentage field value and a boolean to check if the value has been set.
func (*ObjectiveStatusAvailability) GetTotal ¶
func (o *ObjectiveStatusAvailability) GetTotal() float64
GetTotal returns the Total field value
func (*ObjectiveStatusAvailability) GetTotalOk ¶
func (o *ObjectiveStatusAvailability) GetTotalOk() (*float64, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ObjectiveStatusAvailability) MarshalJSON ¶
func (o ObjectiveStatusAvailability) MarshalJSON() ([]byte, error)
func (*ObjectiveStatusAvailability) SetErrors ¶
func (o *ObjectiveStatusAvailability) SetErrors(v float64)
SetErrors sets field value
func (*ObjectiveStatusAvailability) SetPercentage ¶
func (o *ObjectiveStatusAvailability) SetPercentage(v float64)
SetPercentage sets field value
func (*ObjectiveStatusAvailability) SetTotal ¶
func (o *ObjectiveStatusAvailability) SetTotal(v float64)
SetTotal sets field value
type ObjectiveStatusBudget ¶
type ObjectiveStatusBudget struct { Total float64 `json:"total"` Remaining float64 `json:"remaining"` Max float64 `json:"max"` }
ObjectiveStatusBudget struct for ObjectiveStatusBudget
func NewObjectiveStatusBudget ¶
func NewObjectiveStatusBudget(total float64, remaining float64, max float64) *ObjectiveStatusBudget
NewObjectiveStatusBudget instantiates a new ObjectiveStatusBudget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectiveStatusBudgetWithDefaults ¶
func NewObjectiveStatusBudgetWithDefaults() *ObjectiveStatusBudget
NewObjectiveStatusBudgetWithDefaults instantiates a new ObjectiveStatusBudget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectiveStatusBudget) GetMax ¶
func (o *ObjectiveStatusBudget) GetMax() float64
GetMax returns the Max field value
func (*ObjectiveStatusBudget) GetMaxOk ¶
func (o *ObjectiveStatusBudget) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*ObjectiveStatusBudget) GetRemaining ¶
func (o *ObjectiveStatusBudget) GetRemaining() float64
GetRemaining returns the Remaining field value
func (*ObjectiveStatusBudget) GetRemainingOk ¶
func (o *ObjectiveStatusBudget) GetRemainingOk() (*float64, bool)
GetRemainingOk returns a tuple with the Remaining field value and a boolean to check if the value has been set.
func (*ObjectiveStatusBudget) GetTotal ¶
func (o *ObjectiveStatusBudget) GetTotal() float64
GetTotal returns the Total field value
func (*ObjectiveStatusBudget) GetTotalOk ¶
func (o *ObjectiveStatusBudget) GetTotalOk() (*float64, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (ObjectiveStatusBudget) MarshalJSON ¶
func (o ObjectiveStatusBudget) MarshalJSON() ([]byte, error)
func (*ObjectiveStatusBudget) SetMax ¶
func (o *ObjectiveStatusBudget) SetMax(v float64)
SetMax sets field value
func (*ObjectiveStatusBudget) SetRemaining ¶
func (o *ObjectiveStatusBudget) SetRemaining(v float64)
SetRemaining sets field value
func (*ObjectiveStatusBudget) SetTotal ¶
func (o *ObjectiveStatusBudget) SetTotal(v float64)
SetTotal sets field value
type ObjectivesApiService ¶
type ObjectivesApiService service
ObjectivesApiService ObjectivesApi service
func (*ObjectivesApiService) GetMultiBurnrateAlerts ¶
func (a *ObjectivesApiService) GetMultiBurnrateAlerts(ctx context.Context) ApiGetMultiBurnrateAlertsRequest
GetMultiBurnrateAlerts Get the MultiBurnrateAlerts for the Objective
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetMultiBurnrateAlertsRequest
func (*ObjectivesApiService) GetMultiBurnrateAlertsExecute ¶
func (a *ObjectivesApiService) GetMultiBurnrateAlertsExecute(r ApiGetMultiBurnrateAlertsRequest) ([]MultiBurnrateAlert, *http.Response, error)
Execute executes the request
@return []MultiBurnrateAlert
func (*ObjectivesApiService) GetObjectiveErrorBudget ¶
func (a *ObjectivesApiService) GetObjectiveErrorBudget(ctx context.Context) ApiGetObjectiveErrorBudgetRequest
GetObjectiveErrorBudget Get ErrorBudget graph sample pairs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetObjectiveErrorBudgetRequest
func (*ObjectivesApiService) GetObjectiveErrorBudgetExecute ¶
func (a *ObjectivesApiService) GetObjectiveErrorBudgetExecute(r ApiGetObjectiveErrorBudgetRequest) (*QueryRange, *http.Response, error)
Execute executes the request
@return QueryRange
func (*ObjectivesApiService) GetObjectiveStatus ¶
func (a *ObjectivesApiService) GetObjectiveStatus(ctx context.Context) ApiGetObjectiveStatusRequest
GetObjectiveStatus Get objective status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetObjectiveStatusRequest
func (*ObjectivesApiService) GetObjectiveStatusExecute ¶
func (a *ObjectivesApiService) GetObjectiveStatusExecute(r ApiGetObjectiveStatusRequest) ([]ObjectiveStatus, *http.Response, error)
Execute executes the request
@return []ObjectiveStatus
func (*ObjectivesApiService) GetREDErrors ¶
func (a *ObjectivesApiService) GetREDErrors(ctx context.Context) ApiGetREDErrorsRequest
GetREDErrors Get a matrix of error percentage by label
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetREDErrorsRequest
func (*ObjectivesApiService) GetREDErrorsExecute ¶
func (a *ObjectivesApiService) GetREDErrorsExecute(r ApiGetREDErrorsRequest) (*QueryRange, *http.Response, error)
Execute executes the request
@return QueryRange
func (*ObjectivesApiService) GetREDRequests ¶
func (a *ObjectivesApiService) GetREDRequests(ctx context.Context) ApiGetREDRequestsRequest
GetREDRequests Get a matrix of requests by label
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetREDRequestsRequest
func (*ObjectivesApiService) GetREDRequestsExecute ¶
func (a *ObjectivesApiService) GetREDRequestsExecute(r ApiGetREDRequestsRequest) (*QueryRange, *http.Response, error)
Execute executes the request
@return QueryRange
func (*ObjectivesApiService) ListObjectives ¶
func (a *ObjectivesApiService) ListObjectives(ctx context.Context) ApiListObjectivesRequest
ListObjectives List Objectives
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListObjectivesRequest
func (*ObjectivesApiService) ListObjectivesExecute ¶
func (a *ObjectivesApiService) ListObjectivesExecute(r ApiListObjectivesRequest) ([]Objective, *http.Response, error)
Execute executes the request
@return []Objective
type Query ¶
type Query struct { Metric string `json:"metric"` Name *string `json:"name,omitempty"` Matchers []QueryMatchers `json:"matchers,omitempty"` }
Query struct for Query
func NewQuery ¶
NewQuery instantiates a new Query object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryWithDefaults ¶
func NewQueryWithDefaults() *Query
NewQueryWithDefaults instantiates a new Query object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Query) GetMatchers ¶
func (o *Query) GetMatchers() []QueryMatchers
GetMatchers returns the Matchers field value if set, zero value otherwise.
func (*Query) GetMatchersOk ¶
func (o *Query) GetMatchersOk() ([]QueryMatchers, bool)
GetMatchersOk returns a tuple with the Matchers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Query) GetMetricOk ¶
GetMetricOk returns a tuple with the Metric field value and a boolean to check if the value has been set.
func (*Query) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Query) HasMatchers ¶
HasMatchers returns a boolean if a field has been set.
func (Query) MarshalJSON ¶
func (*Query) SetMatchers ¶
func (o *Query) SetMatchers(v []QueryMatchers)
SetMatchers gets a reference to the given []QueryMatchers and assigns it to the Matchers field.
type QueryMatchers ¶
type QueryMatchers struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` Type *int32 `json:"type,omitempty"` }
QueryMatchers struct for QueryMatchers
func NewQueryMatchers ¶
func NewQueryMatchers() *QueryMatchers
NewQueryMatchers instantiates a new QueryMatchers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryMatchersWithDefaults ¶
func NewQueryMatchersWithDefaults() *QueryMatchers
NewQueryMatchersWithDefaults instantiates a new QueryMatchers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryMatchers) GetName ¶
func (o *QueryMatchers) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*QueryMatchers) GetNameOk ¶
func (o *QueryMatchers) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMatchers) GetType ¶
func (o *QueryMatchers) GetType() int32
GetType returns the Type field value if set, zero value otherwise.
func (*QueryMatchers) GetTypeOk ¶
func (o *QueryMatchers) GetTypeOk() (*int32, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMatchers) GetValue ¶
func (o *QueryMatchers) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*QueryMatchers) GetValueOk ¶
func (o *QueryMatchers) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryMatchers) HasName ¶
func (o *QueryMatchers) HasName() bool
HasName returns a boolean if a field has been set.
func (*QueryMatchers) HasType ¶
func (o *QueryMatchers) HasType() bool
HasType returns a boolean if a field has been set.
func (*QueryMatchers) HasValue ¶
func (o *QueryMatchers) HasValue() bool
HasValue returns a boolean if a field has been set.
func (QueryMatchers) MarshalJSON ¶
func (o QueryMatchers) MarshalJSON() ([]byte, error)
func (*QueryMatchers) SetName ¶
func (o *QueryMatchers) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*QueryMatchers) SetType ¶
func (o *QueryMatchers) SetType(v int32)
SetType gets a reference to the given int32 and assigns it to the Type field.
func (*QueryMatchers) SetValue ¶
func (o *QueryMatchers) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
type QueryRange ¶
type QueryRange struct { Query string `json:"query"` Labels []string `json:"labels"` Values [][]float64 `json:"values"` }
QueryRange struct for QueryRange
func NewQueryRange ¶
func NewQueryRange(query string, labels []string, values [][]float64) *QueryRange
NewQueryRange instantiates a new QueryRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryRangeWithDefaults ¶
func NewQueryRangeWithDefaults() *QueryRange
NewQueryRangeWithDefaults instantiates a new QueryRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryRange) GetLabels ¶
func (o *QueryRange) GetLabels() []string
GetLabels returns the Labels field value
func (*QueryRange) GetLabelsOk ¶
func (o *QueryRange) GetLabelsOk() ([]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*QueryRange) GetQuery ¶
func (o *QueryRange) GetQuery() string
GetQuery returns the Query field value
func (*QueryRange) GetQueryOk ¶
func (o *QueryRange) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*QueryRange) GetValues ¶
func (o *QueryRange) GetValues() [][]float64
GetValues returns the Values field value
func (*QueryRange) GetValuesOk ¶
func (o *QueryRange) GetValuesOk() ([][]float64, bool)
GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.
func (QueryRange) MarshalJSON ¶
func (o QueryRange) MarshalJSON() ([]byte, error)
func (*QueryRange) SetLabels ¶
func (o *QueryRange) SetLabels(v []string)
SetLabels sets field value
func (*QueryRange) SetValues ¶
func (o *QueryRange) SetValues(v [][]float64)
SetValues sets field value
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_objectives.go
- client.go
- configuration.go
- model_burnrate.go
- model_indicator.go
- model_indicator_latency.go
- model_indicator_ratio.go
- model_multi_burnrate_alert.go
- model_objective.go
- model_objective_status.go
- model_objective_status_availability.go
- model_objective_status_budget.go
- model_query.go
- model_query_matchers.go
- model_query_range.go
- response.go
- utils.go