v1alpha1

package
v0.3.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=argoproj.io

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupVersion = schema.GroupVersion{
		Group:   "argoproj.io",
		Version: "v1alpha1",
	}

	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AnalysisPhase

type AnalysisPhase string
const (
	AnalysisPhasePending      AnalysisPhase = "Pending"
	AnalysisPhaseRunning      AnalysisPhase = "Running"
	AnalysisPhaseSuccessful   AnalysisPhase = "Successful"
	AnalysisPhaseFailed       AnalysisPhase = "Failed"
	AnalysisPhaseError        AnalysisPhase = "Error"
	AnalysisPhaseInconclusive AnalysisPhase = "Inconclusive"
)

func (AnalysisPhase) Completed

func (as AnalysisPhase) Completed() bool

Completed returns whether or not the analysis status is considered completed

type AnalysisRun

type AnalysisRun struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AnalysisRunSpec   `json:"spec"`
	Status            AnalysisRunStatus `json:"status,omitempty"`
}

func GetAnalysisRun

func GetAnalysisRun(
	ctx context.Context,
	c client.Client,
	namespacedName types.NamespacedName,
) (*AnalysisRun, error)

func (*AnalysisRun) DeepCopy

func (in *AnalysisRun) DeepCopy() *AnalysisRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRun.

func (*AnalysisRun) DeepCopyInto

func (in *AnalysisRun) DeepCopyInto(out *AnalysisRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AnalysisRun) DeepCopyObject

func (in *AnalysisRun) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AnalysisRunList

type AnalysisRunList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []AnalysisRun `json:"items"`
}

func (*AnalysisRunList) DeepCopy

func (in *AnalysisRunList) DeepCopy() *AnalysisRunList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRunList.

func (*AnalysisRunList) DeepCopyInto

func (in *AnalysisRunList) DeepCopyInto(out *AnalysisRunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AnalysisRunList) DeepCopyObject

func (in *AnalysisRunList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AnalysisRunSpec

type AnalysisRunSpec struct {
	Metrics              []Metric               `json:"metrics"`
	Args                 []Argument             `json:"args,omitempty"`
	Terminate            bool                   `json:"terminate,omitempty"`
	DryRun               []DryRun               `json:"dryRun,omitempty"`
	MeasurementRetention []MeasurementRetention `json:"measurementRetention,omitempty"`
}

func (*AnalysisRunSpec) DeepCopy

func (in *AnalysisRunSpec) DeepCopy() *AnalysisRunSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRunSpec.

func (*AnalysisRunSpec) DeepCopyInto

func (in *AnalysisRunSpec) DeepCopyInto(out *AnalysisRunSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AnalysisRunStatus

type AnalysisRunStatus struct {
	Phase         AnalysisPhase  `json:"phase"`
	Message       string         `json:"message,omitempty"`
	MetricResults []MetricResult `json:"metricResults,omitempty"`
	StartedAt     *metav1.Time   `json:"startedAt,omitempty"`
	RunSummary    RunSummary     `json:"runSummary,omitempty"`
	DryRunSummary *RunSummary    `json:"dryRunSummary,omitempty"`
}

func (*AnalysisRunStatus) DeepCopy

func (in *AnalysisRunStatus) DeepCopy() *AnalysisRunStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisRunStatus.

func (*AnalysisRunStatus) DeepCopyInto

func (in *AnalysisRunStatus) DeepCopyInto(out *AnalysisRunStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AnalysisTemplate

type AnalysisTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AnalysisTemplateSpec `json:"spec"`
}

func GetAnalysisTemplate

func GetAnalysisTemplate(
	ctx context.Context,
	c client.Client,
	namespacedName types.NamespacedName,
) (*AnalysisTemplate, error)

GetAnalysisTemplate returns a pointer to the AnalysisTemplate resource specified by the namespacedName argument. If no such resource is found, nil is returned instead.

func (*AnalysisTemplate) DeepCopy

func (in *AnalysisTemplate) DeepCopy() *AnalysisTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisTemplate.

func (*AnalysisTemplate) DeepCopyInto

func (in *AnalysisTemplate) DeepCopyInto(out *AnalysisTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AnalysisTemplate) DeepCopyObject

func (in *AnalysisTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AnalysisTemplateList

type AnalysisTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []AnalysisTemplate `json:"items"`
}

func (*AnalysisTemplateList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisTemplateList.

func (*AnalysisTemplateList) DeepCopyInto

func (in *AnalysisTemplateList) DeepCopyInto(out *AnalysisTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AnalysisTemplateList) DeepCopyObject

func (in *AnalysisTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AnalysisTemplateSpec

type AnalysisTemplateSpec struct {
	Metrics              []Metric               `json:"metrics"`
	Args                 []Argument             `json:"args,omitempty"`
	DryRun               []DryRun               `json:"dryRun,omitempty"`
	MeasurementRetention []MeasurementRetention `json:"measurementRetention,omitempty"`
}

func (*AnalysisTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisTemplateSpec.

func (*AnalysisTemplateSpec) DeepCopyInto

func (in *AnalysisTemplateSpec) DeepCopyInto(out *AnalysisTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Argument

type Argument struct {
	Name      string     `json:"name"`
	Value     *string    `json:"value,omitempty"`
	ValueFrom *ValueFrom `json:"valueFrom,omitempty"`
}

func (*Argument) DeepCopy

func (in *Argument) DeepCopy() *Argument

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Argument.

func (*Argument) DeepCopyInto

func (in *Argument) DeepCopyInto(out *Argument)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Authentication

type Authentication struct {
	Sigv4  Sigv4Config  `json:"sigv4,omitempty"`
	OAuth2 OAuth2Config `json:"oauth2,omitempty"`
}

func (*Authentication) DeepCopy

func (in *Authentication) DeepCopy() *Authentication

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.

func (*Authentication) DeepCopyInto

func (in *Authentication) DeepCopyInto(out *Authentication)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudWatchMetric

type CloudWatchMetric struct {
	Interval          DurationString              `json:"interval,omitempty"`
	MetricDataQueries []CloudWatchMetricDataQuery `json:"metricDataQueries"`
}

func (*CloudWatchMetric) DeepCopy

func (in *CloudWatchMetric) DeepCopy() *CloudWatchMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudWatchMetric.

func (*CloudWatchMetric) DeepCopyInto

func (in *CloudWatchMetric) DeepCopyInto(out *CloudWatchMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudWatchMetricDataQuery

type CloudWatchMetricDataQuery struct {
	Id         string                  `json:"id,omitempty"`
	Expression *string                 `json:"expression,omitempty"`
	Label      *string                 `json:"label,omitempty"`
	MetricStat *CloudWatchMetricStat   `json:"metricStat,omitempty"`
	Period     *intstrutil.IntOrString `json:"period,omitempty"`
	ReturnData *bool                   `json:"returnData,omitempty"`
}

func (*CloudWatchMetricDataQuery) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudWatchMetricDataQuery.

func (*CloudWatchMetricDataQuery) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudWatchMetricStat

type CloudWatchMetricStat struct {
	Metric CloudWatchMetricStatMetric `json:"metric,omitempty"`
	Period intstrutil.IntOrString     `json:"period,omitempty"`
	Stat   string                     `json:"stat,omitempty"`
	Unit   string                     `json:"unit,omitempty"`
}

func (*CloudWatchMetricStat) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudWatchMetricStat.

func (*CloudWatchMetricStat) DeepCopyInto

func (in *CloudWatchMetricStat) DeepCopyInto(out *CloudWatchMetricStat)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudWatchMetricStatMetric

type CloudWatchMetricStatMetric struct {
	Dimensions []CloudWatchMetricStatMetricDimension `json:"dimensions,omitempty"`
	MetricName string                                `json:"metricName,omitempty"`
	Namespace  *string                               `json:"namespace,omitempty"`
}

func (*CloudWatchMetricStatMetric) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudWatchMetricStatMetric.

func (*CloudWatchMetricStatMetric) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudWatchMetricStatMetricDimension

type CloudWatchMetricStatMetricDimension struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

func (*CloudWatchMetricStatMetricDimension) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudWatchMetricStatMetricDimension.

func (*CloudWatchMetricStatMetricDimension) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatadogMetric

type DatadogMetric struct {
	Interval   DurationString    `json:"interval,omitempty"`
	Query      string            `json:"query,omitempty"`
	Queries    map[string]string `json:"queries,omitempty"`
	Formula    string            `json:"formula,omitempty"`
	ApiVersion string            `json:"apiVersion,omitempty"`
}

func (*DatadogMetric) DeepCopy

func (in *DatadogMetric) DeepCopy() *DatadogMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogMetric.

func (*DatadogMetric) DeepCopyInto

func (in *DatadogMetric) DeepCopyInto(out *DatadogMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DryRun

type DryRun struct {
	MetricName string `json:"metricName"`
}

func (*DryRun) DeepCopy

func (in *DryRun) DeepCopy() *DryRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DryRun.

func (*DryRun) DeepCopyInto

func (in *DryRun) DeepCopyInto(out *DryRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DurationString

type DurationString string

func (DurationString) Duration

func (d DurationString) Duration() (time.Duration, error)

type FieldRef

type FieldRef struct {
	// Required: Path of the field to select in the specified API version
	FieldPath string `json:"fieldPath" protobuf:"bytes,1,opt,name=fieldPath"`
}

func (*FieldRef) DeepCopy

func (in *FieldRef) DeepCopy() *FieldRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldRef.

func (*FieldRef) DeepCopyInto

func (in *FieldRef) DeepCopyInto(out *FieldRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GraphiteMetric

type GraphiteMetric struct {
	Address string `json:"address,omitempty"`
	Query   string `json:"query,omitempty"`
}

func (*GraphiteMetric) DeepCopy

func (in *GraphiteMetric) DeepCopy() *GraphiteMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphiteMetric.

func (*GraphiteMetric) DeepCopyInto

func (in *GraphiteMetric) DeepCopyInto(out *GraphiteMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InfluxdbMetric

type InfluxdbMetric struct {
	Profile string `json:"profile,omitempty"`
	Query   string `json:"query,omitempty"`
}

func (*InfluxdbMetric) DeepCopy

func (in *InfluxdbMetric) DeepCopy() *InfluxdbMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfluxdbMetric.

func (*InfluxdbMetric) DeepCopyInto

func (in *InfluxdbMetric) DeepCopyInto(out *InfluxdbMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobMetric

type JobMetric struct {
	Metadata metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec     batchv1.JobSpec   `json:"spec"`
}

func (*JobMetric) DeepCopy

func (in *JobMetric) DeepCopy() *JobMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobMetric.

func (*JobMetric) DeepCopyInto

func (in *JobMetric) DeepCopyInto(out *JobMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KayentaMetric

type KayentaMetric struct {
	Address                  string           `json:"address"`
	Application              string           `json:"application"`
	CanaryConfigName         string           `json:"canaryConfigName"`
	MetricsAccountName       string           `json:"metricsAccountName"`
	ConfigurationAccountName string           `json:"configurationAccountName"`
	StorageAccountName       string           `json:"storageAccountName"`
	Threshold                KayentaThreshold `json:"threshold"`
	Scopes                   []KayentaScope   `json:"scopes"`
}

func (*KayentaMetric) DeepCopy

func (in *KayentaMetric) DeepCopy() *KayentaMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KayentaMetric.

func (*KayentaMetric) DeepCopyInto

func (in *KayentaMetric) DeepCopyInto(out *KayentaMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KayentaScope

type KayentaScope struct {
	Name            string      `json:"name"`
	ControlScope    ScopeDetail `json:"controlScope"`
	ExperimentScope ScopeDetail `json:"experimentScope"`
}

func (*KayentaScope) DeepCopy

func (in *KayentaScope) DeepCopy() *KayentaScope

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KayentaScope.

func (*KayentaScope) DeepCopyInto

func (in *KayentaScope) DeepCopyInto(out *KayentaScope)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KayentaThreshold

type KayentaThreshold struct {
	Pass     int64 `json:"pass"`
	Marginal int64 `json:"marginal"`
}

func (*KayentaThreshold) DeepCopy

func (in *KayentaThreshold) DeepCopy() *KayentaThreshold

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KayentaThreshold.

func (*KayentaThreshold) DeepCopyInto

func (in *KayentaThreshold) DeepCopyInto(out *KayentaThreshold)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Measurement

type Measurement struct {
	Phase      AnalysisPhase     `json:"phase"`
	Message    string            `json:"message,omitempty"`
	StartedAt  *metav1.Time      `json:"startedAt,omitempty"`
	FinishedAt *metav1.Time      `json:"finishedAt,omitempty"`
	Value      string            `json:"value,omitempty"`
	Metadata   map[string]string `json:"metadata,omitempty"`
	ResumeAt   *metav1.Time      `json:"resumeAt,omitempty"`
}

func (*Measurement) DeepCopy

func (in *Measurement) DeepCopy() *Measurement

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Measurement.

func (*Measurement) DeepCopyInto

func (in *Measurement) DeepCopyInto(out *Measurement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MeasurementRetention

type MeasurementRetention struct {
	MetricName string `json:"metricName"`
	Limit      int32  `json:"limit"`
}

func (*MeasurementRetention) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeasurementRetention.

func (*MeasurementRetention) DeepCopyInto

func (in *MeasurementRetention) DeepCopyInto(out *MeasurementRetention)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Metric

type Metric struct {
	Name                  string                  `json:"name"`
	Interval              DurationString          `json:"interval,omitempty"`
	InitialDelay          DurationString          `json:"initialDelay,omitempty"`
	Count                 *intstrutil.IntOrString `json:"count,omitempty"`
	SuccessCondition      string                  `json:"successCondition,omitempty"`
	FailureCondition      string                  `json:"failureCondition,omitempty"`
	FailureLimit          *intstrutil.IntOrString `json:"failureLimit,omitempty"`
	InconclusiveLimit     *intstrutil.IntOrString `json:"inconclusiveLimit,omitempty"`
	ConsecutiveErrorLimit *intstrutil.IntOrString `json:"consecutiveErrorLimit,omitempty"`
	Provider              MetricProvider          `json:"provider"`
}

func (*Metric) DeepCopy

func (in *Metric) DeepCopy() *Metric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.

func (*Metric) DeepCopyInto

func (in *Metric) DeepCopyInto(out *Metric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricProvider

type MetricProvider struct {
	Prometheus *PrometheusMetric          `json:"prometheus,omitempty"`
	Kayenta    *KayentaMetric             `json:"kayenta,omitempty"`
	Web        *WebMetric                 `json:"web,omitempty"`
	Datadog    *DatadogMetric             `json:"datadog,omitempty"`
	Wavefront  *WavefrontMetric           `json:"wavefront,omitempty"`
	NewRelic   *NewRelicMetric            `json:"newRelic,omitempty"`
	Job        *JobMetric                 `json:"job,omitempty"`
	CloudWatch *CloudWatchMetric          `json:"cloudWatch,omitempty"`
	Graphite   *GraphiteMetric            `json:"graphite,omitempty"`
	Influxdb   *InfluxdbMetric            `json:"influxdb,omitempty"`
	SkyWalking *SkyWalkingMetric          `json:"skywalking,omitempty"`
	Plugin     map[string]json.RawMessage `json:"plugin,omitempty"`
}

func (*MetricProvider) DeepCopy

func (in *MetricProvider) DeepCopy() *MetricProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricProvider.

func (*MetricProvider) DeepCopyInto

func (in *MetricProvider) DeepCopyInto(out *MetricProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetricResult

type MetricResult struct {
	Name             string            `json:"name"`
	Phase            AnalysisPhase     `json:"phase"`
	Measurements     []Measurement     `json:"measurements,omitempty"`
	Message          string            `json:"message,omitempty"`
	Count            int32             `json:"count,omitempty"`
	Successful       int32             `json:"successful,omitempty"`
	Failed           int32             `json:"failed,omitempty"`
	Inconclusive     int32             `json:"inconclusive,omitempty"`
	Error            int32             `json:"error,omitempty"`
	ConsecutiveError int32             `json:"consecutiveError,omitempty"`
	DryRun           bool              `json:"dryRun,omitempty"`
	Metadata         map[string]string `json:"metadata,omitempty"`
}

func (*MetricResult) DeepCopy

func (in *MetricResult) DeepCopy() *MetricResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricResult.

func (*MetricResult) DeepCopyInto

func (in *MetricResult) DeepCopyInto(out *MetricResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NewRelicMetric

type NewRelicMetric struct {
	Profile string `json:"profile,omitempty"`
	Query   string `json:"query"`
}

func (*NewRelicMetric) DeepCopy

func (in *NewRelicMetric) DeepCopy() *NewRelicMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewRelicMetric.

func (*NewRelicMetric) DeepCopyInto

func (in *NewRelicMetric) DeepCopyInto(out *NewRelicMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OAuth2Config

type OAuth2Config struct {
	TokenURL     string   `json:"tokenUrl,omitempty"`
	ClientID     string   `json:"clientId,omitempty"`
	ClientSecret string   `json:"clientSecret,omitempty"`
	Scopes       []string `json:"scopes,omitempty"`
}

func (*OAuth2Config) DeepCopy

func (in *OAuth2Config) DeepCopy() *OAuth2Config

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth2Config.

func (*OAuth2Config) DeepCopyInto

func (in *OAuth2Config) DeepCopyInto(out *OAuth2Config)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrometheusMetric

type PrometheusMetric struct {
	Address        string            `json:"address,omitempty"`
	Query          string            `json:"query,omitempty"`
	Authentication Authentication    `json:"authentication,omitempty"`
	Timeout        *int64            `json:"timeout,omitempty"`
	Insecure       bool              `json:"insecure,omitempty"`
	Headers        []WebMetricHeader `json:"headers,omitempty"`
}

func (*PrometheusMetric) DeepCopy

func (in *PrometheusMetric) DeepCopy() *PrometheusMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusMetric.

func (*PrometheusMetric) DeepCopyInto

func (in *PrometheusMetric) DeepCopyInto(out *PrometheusMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunSummary

type RunSummary struct {
	Count        int32 `json:"count,omitempty"`
	Successful   int32 `json:"successful,omitempty"`
	Failed       int32 `json:"failed,omitempty"`
	Inconclusive int32 `json:"inconclusive,omitempty"`
	Error        int32 `json:"error,omitempty"`
}

func (*RunSummary) DeepCopy

func (in *RunSummary) DeepCopy() *RunSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunSummary.

func (*RunSummary) DeepCopyInto

func (in *RunSummary) DeepCopyInto(out *RunSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScopeDetail

type ScopeDetail struct {
	Scope  string `json:"scope"`
	Region string `json:"region"`
	Step   int64  `json:"step"`
	Start  string `json:"start"`
	End    string `json:"end"`
}

func (*ScopeDetail) DeepCopy

func (in *ScopeDetail) DeepCopy() *ScopeDetail

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeDetail.

func (*ScopeDetail) DeepCopyInto

func (in *ScopeDetail) DeepCopyInto(out *ScopeDetail)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretKeyRef

type SecretKeyRef struct {
	Name string `json:"name"`
	Key  string `json:"key"`
}

func (*SecretKeyRef) DeepCopy

func (in *SecretKeyRef) DeepCopy() *SecretKeyRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyRef.

func (*SecretKeyRef) DeepCopyInto

func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Sigv4Config

type Sigv4Config struct {
	Region  string `json:"region,omitempty"`
	Profile string `json:"profile,omitempty"`
	RoleARN string `json:"roleArn,omitempty"`
}

func (*Sigv4Config) DeepCopy

func (in *Sigv4Config) DeepCopy() *Sigv4Config

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sigv4Config.

func (*Sigv4Config) DeepCopyInto

func (in *Sigv4Config) DeepCopyInto(out *Sigv4Config)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SkyWalkingMetric

type SkyWalkingMetric struct {
	Address  string         `json:"address,omitempty"`
	Query    string         `json:"query,omitempty"`
	Interval DurationString `json:"interval,omitempty"`
}

func (*SkyWalkingMetric) DeepCopy

func (in *SkyWalkingMetric) DeepCopy() *SkyWalkingMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkyWalkingMetric.

func (*SkyWalkingMetric) DeepCopyInto

func (in *SkyWalkingMetric) DeepCopyInto(out *SkyWalkingMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ValueFrom

type ValueFrom struct {
	SecretKeyRef *SecretKeyRef `json:"secretKeyRef,omitempty"`
	FieldRef     *FieldRef     `json:"fieldRef,omitempty"`
}

func (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WavefrontMetric

type WavefrontMetric struct {
	Address string `json:"address,omitempty"`
	Query   string `json:"query,omitempty"`
}

func (*WavefrontMetric) DeepCopy

func (in *WavefrontMetric) DeepCopy() *WavefrontMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontMetric.

func (*WavefrontMetric) DeepCopyInto

func (in *WavefrontMetric) DeepCopyInto(out *WavefrontMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebMetric

type WebMetric struct {
	Method WebMetricMethod `json:"method,omitempty"`
	// URL is the address of the web metric
	URL            string            `json:"url"`
	Headers        []WebMetricHeader `json:"headers,omitempty"`
	Body           string            `json:"body,omitempty"`
	TimeoutSeconds int64             `json:"timeoutSeconds,omitempty"`
	JSONPath       string            `json:"jsonPath,omitempty"`
	Insecure       bool              `json:"insecure,omitempty"`
	JSONBody       json.RawMessage   `json:"jsonBody,omitempty"`
	Authentication Authentication    `json:"authentication,omitempty"`
}

func (*WebMetric) DeepCopy

func (in *WebMetric) DeepCopy() *WebMetric

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebMetric.

func (*WebMetric) DeepCopyInto

func (in *WebMetric) DeepCopyInto(out *WebMetric)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebMetricHeader

type WebMetricHeader struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (*WebMetricHeader) DeepCopy

func (in *WebMetricHeader) DeepCopy() *WebMetricHeader

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebMetricHeader.

func (*WebMetricHeader) DeepCopyInto

func (in *WebMetricHeader) DeepCopyInto(out *WebMetricHeader)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebMetricMethod

type WebMetricMethod string

Jump to

Keyboard shortcuts

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