v1

package
v0.38.258 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Overview

Package v1 contains API Schema definitions for the canaries v1 API group +kubebuilder:object:generate:=true +groupName=canaries.flanksource.com

Index

Constants

View Source
const (
	SyncCanaryJobsSchedule             = "@every 2m"
	SyncSystemsJobsSchedule            = "@every 5m"
	ComponentRunSchedule               = "@every 2m"
	ComponentStatusSummarySyncSchedule = "@every 1m"
	ComponentCheckSchedule             = "@every 2m"
	ComponentConfigSchedule            = "@every 2m"
	ComponentCostSchedule              = "@every 1h"
	CheckStatusSummarySchedule         = "@every 1m"
	CheckStatusesAggregate1hSchedule   = "@every 1h"
	CheckStatusesAggregate1dSchedule   = "@every 24h"
	CheckStatusDeleteSchedule          = "@every 24h"
)
View Source
const (
	SQLServerType = "sqlserver"
	PostgresType  = "postgres"
	SqliteType    = "sqlite"
)
View Source
const (
	JunitResultMode = "junit"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "canaries.flanksource.com", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func GetEnvVarRefValue

func GetEnvVarRefValue(kc kubernetes.Interface, ns string, from *VarSource, obj runtime.Object) (string, error)

GetEnvVarRefValue returns the value referenced by the supplied EnvVarSource given the other supplied information.

Types

type AWSConnection added in v0.38.4

type AWSConnection struct {
	AccessKey kommons.EnvVar `yaml:"accessKey" json:"accessKey,omitempty"`
	SecretKey kommons.EnvVar `yaml:"secretKey" json:"secretKey,omitempty"`
	Region    string         `yaml:"region,omitempty" json:"region,omitempty"`
	Endpoint  string         `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
	// Skip TLS verify when connecting to aws
	SkipTLSVerify bool `yaml:"skipTLSVerify,omitempty" json:"skipTLSVerify,omitempty"`
	// glob path to restrict matches to a subset
	ObjectPath string `yaml:"objectPath,omitempty" json:"objectPath,omitempty"`
	// Use path style path: http://s3.amazonaws.com/BUCKET/KEY instead of http://BUCKET.s3.amazonaws.com/KEY
	UsePathStyle bool `yaml:"usePathStyle,omitempty" json:"usePathStyle,omitempty"`
}

func (*AWSConnection) DeepCopy added in v0.38.4

func (in *AWSConnection) DeepCopy() *AWSConnection

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

func (*AWSConnection) DeepCopyInto added in v0.38.4

func (in *AWSConnection) DeepCopyInto(out *AWSConnection)

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

type AlertManager added in v0.38.218

type AlertManager struct {
	AlertManagerCheck `yaml:",inline" json:",inline"`
}

func (*AlertManager) DeepCopy added in v0.38.218

func (in *AlertManager) DeepCopy() *AlertManager

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

func (*AlertManager) DeepCopyInto added in v0.38.218

func (in *AlertManager) DeepCopyInto(out *AlertManager)

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

type AlertManagerCheck added in v0.38.218

type AlertManagerCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	Host        string            `yaml:"host" json:"host,omitempty" template:"true"`
	Auth        *Authentication   `yaml:"auth,omitempty" json:"auth,omitempty"`
	Alerts      []string          `yaml:"alerts" json:"alerts,omitempty" template:"true"`
	Filters     map[string]string `yaml:"filters" json:"filters,omitempty" template:"true"`
	Ignore      []string          `yaml:"ignore" json:"ignore,omitempty" template:"true"`
}

func (*AlertManagerCheck) DeepCopy added in v0.38.218

func (in *AlertManagerCheck) DeepCopy() *AlertManagerCheck

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

func (*AlertManagerCheck) DeepCopyInto added in v0.38.218

func (in *AlertManagerCheck) DeepCopyInto(out *AlertManagerCheck)

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

func (AlertManagerCheck) GetEndpoint added in v0.38.218

func (c AlertManagerCheck) GetEndpoint() string

func (AlertManagerCheck) GetType added in v0.38.218

func (c AlertManagerCheck) GetType() string

type Authentication added in v0.17.0

type Authentication struct {
	Username kommons.EnvVar `yaml:"username" json:"username"`
	Password kommons.EnvVar `yaml:"password" json:"password"`
}

func (*Authentication) DeepCopy added in v0.17.0

func (in *Authentication) DeepCopy() *Authentication

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

func (*Authentication) DeepCopyInto added in v0.17.0

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

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

func (Authentication) GetDomain added in v0.38.4

func (auth Authentication) GetDomain() string

func (Authentication) GetPassword added in v0.38.4

func (auth Authentication) GetPassword() string

func (Authentication) GetUsername added in v0.38.4

func (auth Authentication) GetUsername() string

func (Authentication) IsEmpty added in v0.38.25

func (auth Authentication) IsEmpty() bool

type AwsConfig added in v0.38.56

type AwsConfig struct {
	AwsConfigCheck `yaml:",inline" json:",inline"`
}

AwsConfig check runs the given query against the AWS resources. [include:aws/aws_config_pass.yaml]

func (*AwsConfig) DeepCopy added in v0.38.56

func (in *AwsConfig) DeepCopy() *AwsConfig

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

func (*AwsConfig) DeepCopyInto added in v0.38.56

func (in *AwsConfig) DeepCopyInto(out *AwsConfig)

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

type AwsConfigCheck added in v0.38.56

type AwsConfigCheck struct {
	Description    `yaml:",inline" json:",inline"`
	Templatable    `yaml:",inline" json:",inline"`
	Query          string `yaml:"query" json:"query"`
	*AWSConnection `yaml:"awsConnection,omitempty" json:"awsConnection,omitempty"`
	AggregatorName *string `yaml:"aggregatorName,omitempty" json:"aggregatorName,omitempty"`
}

func (*AwsConfigCheck) DeepCopy added in v0.38.56

func (in *AwsConfigCheck) DeepCopy() *AwsConfigCheck

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

func (*AwsConfigCheck) DeepCopyInto added in v0.38.56

func (in *AwsConfigCheck) DeepCopyInto(out *AwsConfigCheck)

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

func (AwsConfigCheck) GetEndpoint added in v0.38.56

func (c AwsConfigCheck) GetEndpoint() string

func (AwsConfigCheck) GetType added in v0.38.56

func (c AwsConfigCheck) GetType() string

type AwsConfigRule added in v0.38.75

type AwsConfigRule struct {
	AwsConfigRuleCheck `yaml:",inline" json:",inline"`
}

[include:aws/aws_config_rule_pass.yaml]

func (*AwsConfigRule) DeepCopy added in v0.38.75

func (in *AwsConfigRule) DeepCopy() *AwsConfigRule

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

func (*AwsConfigRule) DeepCopyInto added in v0.38.75

func (in *AwsConfigRule) DeepCopyInto(out *AwsConfigRule)

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

type AwsConfigRuleCheck added in v0.38.75

type AwsConfigRuleCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	// List of rules which would be omitted from the fetch result
	IgnoreRules []string `yaml:"ignoreRules,omitempty" json:"ignoreRules,omitempty"`
	// Specify one or more Config rule names to filter the results by rule.
	Rules []string `yaml:"rules,omitempty" json:"rules,omitempty"`
	// Filters the results by compliance. The allowed values are INSUFFICIENT_DATA, NON_COMPLIANT, NOT_APPLICABLE, COMPLIANT
	ComplianceTypes []string `yaml:"complianceTypes,omitempty" json:"complianceTypes,omitempty"`
	*AWSConnection  `yaml:"awsConnection,omitempty" json:"awsConnection,omitempty"`
}

func (*AwsConfigRuleCheck) DeepCopy added in v0.38.75

func (in *AwsConfigRuleCheck) DeepCopy() *AwsConfigRuleCheck

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

func (*AwsConfigRuleCheck) DeepCopyInto added in v0.38.75

func (in *AwsConfigRuleCheck) DeepCopyInto(out *AwsConfigRuleCheck)

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

func (AwsConfigRuleCheck) GetEndpoint added in v0.38.75

func (c AwsConfigRuleCheck) GetEndpoint() string

func (AwsConfigRuleCheck) GetType added in v0.38.75

func (c AwsConfigRuleCheck) GetType() string

type Bucket

type Bucket struct {
	Name     string `yaml:"name" json:"name,omitempty"`
	Region   string `yaml:"region" json:"region,omitempty"`
	Endpoint string `yaml:"endpoint" json:"endpoint,omitempty"`
}

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

type Canary

type Canary struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CanarySpec   `json:"spec,omitempty"`
	Status CanaryStatus `json:"status,omitempty"`
}

Canary is the Schema for the canaries API +kubebuilder:printcolumn:name="Interval",type=string,JSONPath=`.spec.interval` +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.status` +kubebuilder:printcolumn:name="Last Check",type=date,JSONPath=`.status.lastCheck` +kubebuilder:printcolumn:name="Uptime 1H",type=string,JSONPath=`.status.uptime1h` +kubebuilder:printcolumn:name="Latency 1H",type=string,JSONPath=`.status.latency1h` +kubebuilder:printcolumn:name="Last Transitioned",type=date,JSONPath=`.status.lastTransitionedTime` +kubebuilder:printcolumn:name="Message",type=string,priority=1,JSONPath=`.status.message` +kubebuilder:printcolumn:name="Error",type=string,priority=1,JSONPath=`.status.errorMessage` +kubebuilder:subresource:status

func NewCanaryFromSpec added in v0.38.85

func NewCanaryFromSpec(name string, spec CanarySpec) Canary

func (*Canary) DeepCopy

func (in *Canary) DeepCopy() *Canary

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

func (*Canary) DeepCopyInto

func (in *Canary) DeepCopyInto(out *Canary)

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

func (*Canary) DeepCopyObject

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

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

func (Canary) GetAllLabels added in v0.36.0

func (c Canary) GetAllLabels(extra map[string]string) map[string]string

func (Canary) GetCheckID added in v0.38.168

func (c Canary) GetCheckID(checkName string) string

func (Canary) GetDescription added in v0.11.4

func (c Canary) GetDescription(check external.Check) string

func (Canary) GetKey added in v0.11.4

func (c Canary) GetKey(check external.Check) string

func (Canary) GetPersistedID added in v0.38.102

func (c Canary) GetPersistedID() string

func (*Canary) GetRunnerName added in v0.38.48

func (c *Canary) GetRunnerName() string

func (Canary) ID added in v0.11.4

func (c Canary) ID() string

func (Canary) IsDebug added in v0.38.102

func (c Canary) IsDebug() bool

func (Canary) IsTrace added in v0.38.102

func (c Canary) IsTrace() bool

func (*Canary) SetRunnerName added in v0.38.48

func (c *Canary) SetRunnerName(name string)

func (Canary) String added in v0.38.23

func (c Canary) String() string

type CanaryList

type CanaryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Canary `json:"items"`
}

CanaryList contains a list of Canary

func (*CanaryList) DeepCopy

func (in *CanaryList) DeepCopy() *CanaryList

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

func (*CanaryList) DeepCopyInto

func (in *CanaryList) DeepCopyInto(out *CanaryList)

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

func (*CanaryList) DeepCopyObject

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

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

type CanarySpec

type CanarySpec struct {
	Env            map[string]VarSource  `yaml:"env,omitempty" json:"env,omitempty"`
	HTTP           []HTTPCheck           `yaml:"http,omitempty" json:"http,omitempty"`
	DNS            []DNSCheck            `yaml:"dns,omitempty" json:"dns,omitempty"`
	DockerPull     []DockerPullCheck     `yaml:"docker,omitempty" json:"docker,omitempty"`
	DockerPush     []DockerPushCheck     `yaml:"dockerPush,omitempty" json:"dockerPush,omitempty"`
	ContainerdPull []ContainerdPullCheck `yaml:"containerd,omitempty" json:"containerd,omitempty"`
	ContainerdPush []ContainerdPushCheck `yaml:"containerdPush,omitempty" json:"containerdPush,omitempty"`
	S3             []S3Check             `yaml:"s3,omitempty" json:"s3,omitempty"`
	TCP            []TCPCheck            `yaml:"tcp,omitempty" json:"tcp,omitempty"`
	Pod            []PodCheck            `yaml:"pod,omitempty" json:"pod,omitempty"`
	LDAP           []LDAPCheck           `yaml:"ldap,omitempty" json:"ldap,omitempty"`
	ICMP           []ICMPCheck           `yaml:"icmp,omitempty" json:"icmp,omitempty"`
	Postgres       []PostgresCheck       `yaml:"postgres,omitempty" json:"postgres,omitempty"`
	Mssql          []MssqlCheck          `yaml:"mssql,omitempty" json:"mssql,omitempty"`
	Mysql          []MysqlCheck          `yaml:"mysql,omitempty" json:"mysql,omitempty"`
	Restic         []ResticCheck         `yaml:"restic,omitempty" json:"restic,omitempty"`
	Jmeter         []JmeterCheck         `yaml:"jmeter,omitempty" json:"jmeter,omitempty"`
	Junit          []JunitCheck          `yaml:"junit,omitempty" json:"junit,omitempty"`
	Helm           []HelmCheck           `yaml:"helm,omitempty" json:"helm,omitempty"`
	Namespace      []NamespaceCheck      `yaml:"namespace,omitempty" json:"namespace,omitempty"`
	Redis          []RedisCheck          `yaml:"redis,omitempty" json:"redis,omitempty"`
	EC2            []EC2Check            `yaml:"ec2,omitempty" json:"ec2,omitempty"`
	Prometheus     []PrometheusCheck     `yaml:"prometheus,omitempty" json:"prometheus,omitempty"`
	MongoDB        []MongoDBCheck        `yaml:"mongodb,omitempty" json:"mongodb,omitempty"`
	CloudWatch     []CloudWatchCheck     `yaml:"cloudwatch,omitempty" json:"cloudwatch,omitempty"`
	GitHub         []GitHubCheck         `yaml:"github,omitempty" json:"github,omitempty"`
	Kubernetes     []KubernetesCheck     `yaml:"kubernetes,omitempty" json:"kubernetes,omitempty"`
	Folder         []FolderCheck         `yaml:"folder,omitempty" json:"folder,omitempty"`
	Exec           []ExecCheck           `yaml:"exec,omitempty" json:"exec,omitempty"`
	AwsConfig      []AwsConfigCheck      `yaml:"awsConfig,omitempty" json:"awsConfig,omitempty"`
	AwsConfigRule  []AwsConfigRuleCheck  `yaml:"awsConfigRule,omitempty" json:"awsConfigRule,omitempty"`
	DatabaseBackup []DatabaseBackupCheck `yaml:"databaseBackup,omitempty" json:"databaseBackup,omitempty"`
	ConfigDB       []ConfigDBCheck       `yaml:"configDB,omitempty" json:"configDB,omitempty"`
	Elasticsearch  []ElasticsearchCheck  `yaml:"elasticsearch,omitempty" json:"elasticsearch,omitempty"`
	AlertManager   []AlertManagerCheck   `yaml:"alertmanager,omitempty" json:"alertmanager,omitempty"`
	// interval (in seconds) to run checks on Deprecated in favor of Schedule
	Interval uint64 `yaml:"interval,omitempty" json:"interval,omitempty"`
	// Schedule to run checks on. Supports all cron expression, example: '30 3-6,20-23 * * *'. For more info about cron expression syntax see https://en.wikipedia.org/wiki/Cron
	//  Also supports golang duration, can be set as '@every 1m30s' which runs the check every 1 minute and 30 seconds.
	Schedule   string     `yaml:"schedule,omitempty" json:"schedule,omitempty"`
	Icon       string     `yaml:"icon,omitempty" json:"icon,omitempty"`
	Severity   string     `yaml:"severity,omitempty" json:"severity,omitempty"`
	Owner      string     `yaml:"owner,omitempty" json:"owner,omitempty"`
	ResultMode ResultMode `yaml:"resultMode,omitempty" json:"resultMode,omitempty"`
}

CanarySpec defines the desired state of Canary

func (*CanarySpec) DeepCopy

func (in *CanarySpec) DeepCopy() *CanarySpec

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

func (*CanarySpec) DeepCopyInto

func (in *CanarySpec) DeepCopyInto(out *CanarySpec)

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

func (CanarySpec) GetAllChecks added in v0.11.4

func (spec CanarySpec) GetAllChecks() []external.Check

func (CanarySpec) GetSchedule added in v0.38.85

func (spec CanarySpec) GetSchedule() string

type CanaryStatus

type CanaryStatus struct {
	PersistedID *string `json:"persistedID,omitempty"`
	// +optional
	LastTransitionedTime *metav1.Time `json:"lastTransitionedTime,omitempty"`
	// +optional
	LastCheck *metav1.Time `json:"lastCheck,omitempty"`
	// +optional
	Message *string `json:"message,omitempty"`
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// +optional
	Status *CanaryStatusCondition `json:"status,omitempty"`
	// contains the name and id of the checks associated with the canary
	Checks map[string]string `json:"checks,omitempty"`
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// +optional
	ChecksStatus map[string]*CheckStatus `json:"checkStatus,omitempty"`
	// Availibility over a rolling 1h period
	Uptime1H string `json:"uptime1h,omitempty"`
	// Average latency to complete all checks
	Latency1H string `json:"latency1h,omitempty"`
	// contains filtered or unexported fields
}

CanaryStatus defines the observed state of Canary

func (*CanaryStatus) DeepCopy

func (in *CanaryStatus) DeepCopy() *CanaryStatus

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

func (*CanaryStatus) DeepCopyInto

func (in *CanaryStatus) DeepCopyInto(out *CanaryStatus)

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

type CanaryStatusCondition

type CanaryStatusCondition string
var (
	Passed  CanaryStatusCondition = "Passed"
	Failed  CanaryStatusCondition = "Failed"
	Invalid CanaryStatusCondition = "Invalid"
)

type Check added in v0.38.11

type Check struct {
	Name, Type, Endpoint, Description, Icon string
	Labels                                  map[string]string
}

func (*Check) DeepCopy added in v0.38.12

func (in *Check) DeepCopy() *Check

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

func (*Check) DeepCopyInto added in v0.38.12

func (in *Check) DeepCopyInto(out *Check)

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

func (Check) GetDescription added in v0.38.11

func (c Check) GetDescription() string

func (Check) GetEndpoint added in v0.38.11

func (c Check) GetEndpoint() string

func (Check) GetIcon added in v0.38.11

func (c Check) GetIcon() string

func (Check) GetLabels added in v0.38.151

func (c Check) GetLabels() map[string]string

func (Check) GetName added in v0.38.40

func (c Check) GetName() string

func (Check) GetType added in v0.38.11

func (c Check) GetType() string

type CheckStatus added in v0.38.11

type CheckStatus struct {
	// +optional
	LastTransitionedTime *metav1.Time `json:"lastTransitionedTime,omitempty"`
	// +optionals
	LastCheck *metav1.Time `json:"lastCheck,omitempty"`
	// +optional
	Message *string `json:"message,omitempty"`
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Availibility over a rolling 1h period
	Uptime1H string `json:"uptime1h,omitempty"`
	// Average latency to complete all checks
	Latency1H string `json:"latency1h,omitempty"`
}

func (*CheckStatus) DeepCopy added in v0.38.11

func (in *CheckStatus) DeepCopy() *CheckStatus

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

func (*CheckStatus) DeepCopyInto added in v0.38.11

func (in *CheckStatus) DeepCopyInto(out *CheckStatus)

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

type CloudWatch added in v0.38.31

type CloudWatch struct {
	CloudWatchCheck `yaml:",inline" json:",inline"`
}

This checks the cloudwatch for all the Active alarm and response with the reason [include:aws/cloudwatch_pass.yaml]

func (*CloudWatch) DeepCopy added in v0.38.31

func (in *CloudWatch) DeepCopy() *CloudWatch

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

func (*CloudWatch) DeepCopyInto added in v0.38.31

func (in *CloudWatch) DeepCopyInto(out *CloudWatch)

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

type CloudWatchCheck added in v0.38.31

type CloudWatchCheck struct {
	Description   `yaml:",inline" json:",inline"`
	AWSConnection `yaml:",inline" json:",inline"`
	Templatable   `yaml:",inline" json:",inline"`
	Filter        CloudWatchFilter `yaml:"filter,omitempty" json:"filter,omitempty"`
}

func (*CloudWatchCheck) DeepCopy added in v0.38.31

func (in *CloudWatchCheck) DeepCopy() *CloudWatchCheck

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

func (*CloudWatchCheck) DeepCopyInto added in v0.38.31

func (in *CloudWatchCheck) DeepCopyInto(out *CloudWatchCheck)

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

func (CloudWatchCheck) GetEndpoint added in v0.38.31

func (c CloudWatchCheck) GetEndpoint() string

func (CloudWatchCheck) GetType added in v0.38.31

func (c CloudWatchCheck) GetType() string

type CloudWatchFilter added in v0.38.31

type CloudWatchFilter struct {
	ActionPrefix *string  `yaml:"actionPrefix,omitempty" json:"actionPrefix,omitempty"`
	AlarmPrefix  *string  `yaml:"alarmPrefix,omitempty" json:"alarmPrefix,omitempty"`
	Alarms       []string `yaml:"alarms,omitempty" json:"alarms,omitempty"`
	State        string   `yaml:"state,omitempty" json:"state,omitempty"`
}

func (*CloudWatchFilter) DeepCopy added in v0.38.31

func (in *CloudWatchFilter) DeepCopy() *CloudWatchFilter

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

func (*CloudWatchFilter) DeepCopyInto added in v0.38.31

func (in *CloudWatchFilter) DeepCopyInto(out *CloudWatchFilter)

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

type Component added in v0.38.85

type Component struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ComponentSpec   `json:"spec,omitempty"`
	Status            ComponentStatus `json:"status,omitempty"`
}

func (*Component) DeepCopy added in v0.38.85

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto added in v0.38.85

func (in *Component) DeepCopyInto(out *Component)

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

func (*Component) DeepCopyObject added in v0.38.85

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

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

type ComponentCheck added in v0.38.151

type ComponentCheck struct {
	Selector ResourceSelector `json:"selector,omitempty"`
	// +kubebuilder:validation:XPreserveUnknownFields
	Inline *CanarySpec `json:"inline,omitempty"`
}

func (*ComponentCheck) DeepCopy added in v0.38.151

func (in *ComponentCheck) DeepCopy() *ComponentCheck

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

func (*ComponentCheck) DeepCopyInto added in v0.38.151

func (in *ComponentCheck) DeepCopyInto(out *ComponentCheck)

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

type ComponentChecks added in v0.38.151

type ComponentChecks []ComponentCheck

func (ComponentChecks) DeepCopy added in v0.38.151

func (in ComponentChecks) DeepCopy() ComponentChecks

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

func (ComponentChecks) DeepCopyInto added in v0.38.151

func (in ComponentChecks) DeepCopyInto(out *ComponentChecks)

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

func (ComponentChecks) GormDBDataType added in v0.38.151

func (ComponentChecks) GormDBDataType(db *gorm.DB, field *schema.Field) string

GormDBDataType gorm db data type

func (ComponentChecks) GormDataType added in v0.38.151

func (cs ComponentChecks) GormDataType() string

GormDataType gorm common data type

func (ComponentChecks) GormValue added in v0.38.151

func (cs ComponentChecks) GormValue(ctx context.Context, db *gorm.DB) clause.Expr

func (*ComponentChecks) Scan added in v0.38.151

func (cs *ComponentChecks) Scan(val interface{}) error

func (ComponentChecks) Value added in v0.38.151

func (cs ComponentChecks) Value() (driver.Value, error)

type ComponentList added in v0.38.106

type ComponentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Component `json:"items"`
}

ComponentList contains a list of Canary

func (*ComponentList) DeepCopy added in v0.38.106

func (in *ComponentList) DeepCopy() *ComponentList

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

func (*ComponentList) DeepCopyInto added in v0.38.106

func (in *ComponentList) DeepCopyInto(out *ComponentList)

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

func (*ComponentList) DeepCopyObject added in v0.38.106

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

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

type ComponentPropertyStatus added in v0.38.85

type ComponentPropertyStatus string
var (
	ComponentPropertyStatusHealthy   ComponentPropertyStatus = "healthy"
	ComponentPropertyStatusUnhealthy ComponentPropertyStatus = "unhealthy"
	ComponentPropertyStatusWarning   ComponentPropertyStatus = "warning"
	ComponentPropertyStatusError     ComponentPropertyStatus = "error"
	ComponentPropertyStatusInfo      ComponentPropertyStatus = "info"
)

type ComponentSpec added in v0.38.85

type ComponentSpec struct {
	Name    string    `json:"name,omitempty"`
	Tooltip string    `json:"tooltip,omitempty"`
	Icon    string    `json:"icon,omitempty"`
	Owner   string    `json:"owner,omitempty"`
	Id      *Template `json:"id,omitempty"` //nolint
	Order   int       `json:"order,omitempty"`
	// The type of component, e.g. service, API, website, library, database, etc.
	Type string `json:"type,omitempty"`
	// The lifecycle state of the component e.g. production, staging, dev, etc.
	Lifecycle     string             `json:"lifecycle,omitempty"`
	Relationships []RelationshipSpec `json:"relationships,omitempty"`
	// +kubebuilder:validation:XPreserveUnknownFields
	Properties []*Property `json:"properties,omitempty"`
	// +kubebuilder:validation:XPreserveUnknownFields
	// Lookup component definitions from an external source, use the
	// forEach property to iterate over the results to further enrich each component.
	Lookup *CanarySpec `json:"lookup,omitempty"`
	// +kubebuilder:validation:XPreserveUnknownFields
	// Create new child components
	Components []ComponentSpecObject `json:"components,omitempty"`
	// Lookup and associcate other components with this component
	Selectors       ResourceSelectors `json:"selectors,omitempty"`
	ComponentChecks ComponentChecks   `json:"checks,omitempty"`
	// Lookup and associate config items with this component
	Configs []Config `json:"configs,omitempty"`
	//
	Summary *Summary `json:"summary,omitempty"`
	// Only applies when using lookup, when specified the components and properties
	// specified under ForEach will be templated using the components returned by the lookup
	// ${.properties} can be used to reference the properties of the component
	// ${.component} can be used to reference the component itself
	ForEach *ForEach `json:"forEach,omitempty"`
	// Logs is a list of logs selector for apm-hub.
	LogSelectors types.LogSelectors `json:"logs,omitempty"`
}

func (*ComponentSpec) DeepCopy added in v0.38.85

func (in *ComponentSpec) DeepCopy() *ComponentSpec

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

func (*ComponentSpec) DeepCopyInto added in v0.38.85

func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec)

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

func (ComponentSpec) String added in v0.38.193

func (c ComponentSpec) String() string

type ComponentSpecObject added in v0.38.242

type ComponentSpecObject ComponentSpec

+kubebuilder:validation:Type=object

func (*ComponentSpecObject) DeepCopy added in v0.38.242

func (in *ComponentSpecObject) DeepCopy() *ComponentSpecObject

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

func (*ComponentSpecObject) DeepCopyInto added in v0.38.242

func (in *ComponentSpecObject) DeepCopyInto(out *ComponentSpecObject)

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

type ComponentStatus added in v0.38.85

type ComponentStatus struct {
	Status ComponentPropertyStatus `json:"status,omitempty"`
}

func (*ComponentStatus) DeepCopy added in v0.38.85

func (in *ComponentStatus) DeepCopy() *ComponentStatus

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

func (*ComponentStatus) DeepCopyInto added in v0.38.85

func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)

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

type Condition

type Condition struct {
	// Type of condition in CamelCase or in foo.example.com/CamelCase.
	// Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
	// useful (see .node.status.conditions), the ability to deconflict is important.
	// +required
	Type string `json:"type" protobuf:"bytes,1,opt,name=type"`
	// Status of the condition, one of True, False, Unknown.
	// +required
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"`
	// If set, this represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// Last time the condition transitioned from one status to another.
	// This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
	// +required
	LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition in CamelCase.
	// The specific API may choose whether or not this field is considered a guaranteed API.
	// This field may not be empty.
	// +required
	Reason string `json:"reason" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// This field may be empty.
	// +required
	Message string `json:"message" protobuf:"bytes,6,opt,name=message"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionStatus

type ConditionStatus string
const (
	ConditionStatusTrue    ConditionStatus = "True"
	ConditionStatusFalse   ConditionStatus = "False"
	ConditionStatusUnknown ConditionStatus = "Unknown"
)

type Config added in v0.38.165

type Config struct {
	ID        []string          `json:"id,omitempty"`
	Type      string            `json:"type,omitempty"`
	Name      string            `json:"name,omitempty"`
	Namespace string            `json:"namespace,omitempty"`
	Tags      map[string]string `json:"tags,omitempty"`
}

func (*Config) DeepCopy added in v0.38.168

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto added in v0.38.168

func (in *Config) DeepCopyInto(out *Config)

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

func (Config) String added in v0.38.193

func (c Config) String() string

type ConfigDB added in v0.38.90

type ConfigDB struct {
	ConfigDBCheck `yaml:",inline" json:",inline"`
}

ConfigDB check will connect to the specified host; run the specified query and return the result

func (*ConfigDB) DeepCopy added in v0.38.90

func (in *ConfigDB) DeepCopy() *ConfigDB

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

func (*ConfigDB) DeepCopyInto added in v0.38.90

func (in *ConfigDB) DeepCopyInto(out *ConfigDB)

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

type ConfigDBCheck added in v0.38.90

type ConfigDBCheck struct {
	Templatable `yaml:",inline" json:",inline"`
	Description `yaml:",inline" json:",inline"`
	Query       string `yaml:"query" json:"query"`
}

func (*ConfigDBCheck) DeepCopy added in v0.38.90

func (in *ConfigDBCheck) DeepCopy() *ConfigDBCheck

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

func (*ConfigDBCheck) DeepCopyInto added in v0.38.90

func (in *ConfigDBCheck) DeepCopyInto(out *ConfigDBCheck)

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

func (ConfigDBCheck) GetEndpoint added in v0.38.90

func (c ConfigDBCheck) GetEndpoint() string

func (ConfigDBCheck) GetType added in v0.38.90

func (c ConfigDBCheck) GetType() string

type ConfigLookup added in v0.38.165

type ConfigLookup struct {
	ID string `json:"id,omitempty"`
	// Lookup a config by it
	Config *Config `json:"config,omitempty"`
	// A JSONPath expression to lookup the value in the config
	Field string `json:"field,omitempty"`
	// Apply transformations to the value
	Display Display `json:"display,omitempty"`
}

func (*ConfigLookup) DeepCopy added in v0.38.168

func (in *ConfigLookup) DeepCopy() *ConfigLookup

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

func (*ConfigLookup) DeepCopyInto added in v0.38.168

func (in *ConfigLookup) DeepCopyInto(out *ConfigLookup)

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

type Connectable added in v0.38.25

type Connectable interface {
	GetConnection() string
}

+k8s:deepcopy-gen=false

type Connection added in v0.38.25

type Connection struct {
	Connection     string         `yaml:"connection" json:"connection" template:"true"`
	Authentication Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
}

func (*Connection) DeepCopy added in v0.38.25

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto added in v0.38.25

func (in *Connection) DeepCopyInto(out *Connection)

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

func (Connection) GetConnection added in v0.38.25

func (c Connection) GetConnection() string

func (Connection) GetEndpoint added in v0.38.25

func (c Connection) GetEndpoint() string

type ContainerdPull added in v0.38.32

type ContainerdPull struct {
	ContainerdPullCheck `yaml:",inline" json:",inline"`
}

[include:k8s/containerd_pull_pass.yaml]

func (*ContainerdPull) DeepCopy added in v0.38.32

func (in *ContainerdPull) DeepCopy() *ContainerdPull

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

func (*ContainerdPull) DeepCopyInto added in v0.38.32

func (in *ContainerdPull) DeepCopyInto(out *ContainerdPull)

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

type ContainerdPullCheck added in v0.12.0

type ContainerdPullCheck struct {
	Description    `yaml:",inline" json:",inline"`
	Image          string         `yaml:"image" json:"image"`
	Auth           Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
	ExpectedDigest string         `yaml:"expectedDigest,omitempty" json:"expectedDigest,omitempty"`
	ExpectedSize   int64          `yaml:"expectedSize,omitempty" json:"expectedSize,omitempty"`
}

func (*ContainerdPullCheck) DeepCopy added in v0.15.1

func (in *ContainerdPullCheck) DeepCopy() *ContainerdPullCheck

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

func (*ContainerdPullCheck) DeepCopyInto added in v0.15.1

func (in *ContainerdPullCheck) DeepCopyInto(out *ContainerdPullCheck)

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

func (ContainerdPullCheck) GetEndpoint added in v0.12.0

func (c ContainerdPullCheck) GetEndpoint() string

func (ContainerdPullCheck) GetType added in v0.12.0

func (c ContainerdPullCheck) GetType() string

type ContainerdPush added in v0.38.32

type ContainerdPush struct {
	ContainerdPushCheck `yaml:",inline" json:",inline"`
}

[include:k8s/containerd_push_pass.yaml]

func (*ContainerdPush) DeepCopy added in v0.38.32

func (in *ContainerdPush) DeepCopy() *ContainerdPush

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

func (*ContainerdPush) DeepCopyInto added in v0.38.32

func (in *ContainerdPush) DeepCopyInto(out *ContainerdPush)

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

type ContainerdPushCheck added in v0.12.0

type ContainerdPushCheck struct {
	Description `yaml:",inline" json:",inline"`
	Image       string `yaml:"image" json:"image"`
	Username    string `yaml:"username" json:"username,omitempty"`
	Password    string `yaml:"password" json:"password,omitempty"`
}

func (*ContainerdPushCheck) DeepCopy added in v0.15.1

func (in *ContainerdPushCheck) DeepCopy() *ContainerdPushCheck

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

func (*ContainerdPushCheck) DeepCopyInto added in v0.15.1

func (in *ContainerdPushCheck) DeepCopyInto(out *ContainerdPushCheck)

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

func (ContainerdPushCheck) GetEndpoint added in v0.12.0

func (c ContainerdPushCheck) GetEndpoint() string

func (ContainerdPushCheck) GetType added in v0.12.0

func (c ContainerdPushCheck) GetType() string

type DNS

type DNS struct {
	DNSCheck `yaml:",inline" json:"inline"`
}

[include:minimal/dns_pass.yaml]

func (*DNS) DeepCopy

func (in *DNS) DeepCopy() *DNS

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

func (*DNS) DeepCopyInto

func (in *DNS) DeepCopyInto(out *DNS)

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

type DNSCheck

type DNSCheck struct {
	Description     `yaml:",inline" json:",inline"`
	Server          string   `yaml:"server" json:"server,omitempty"`
	Port            int      `yaml:"port,omitempty" json:"port,omitempty"`
	Query           string   `yaml:"query,omitempty" json:"query,omitempty"`
	QueryType       string   `yaml:"querytype,omitempty" json:"querytype,omitempty"`
	MinRecords      int      `yaml:"minrecords,omitempty" json:"minrecords,omitempty"`
	ExactReply      []string `yaml:"exactreply,omitempty" json:"exactreply,omitempty"`
	Timeout         int      `yaml:"timeout,omitempty" json:"timeout,omitempty"`
	ThresholdMillis int      `yaml:"thresholdMillis,omitempty" json:"thresholdMillis,omitempty"`
}

func (*DNSCheck) DeepCopy

func (in *DNSCheck) DeepCopy() *DNSCheck

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

func (*DNSCheck) DeepCopyInto

func (in *DNSCheck) DeepCopyInto(out *DNSCheck)

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

func (DNSCheck) GetEndpoint

func (c DNSCheck) GetEndpoint() string

func (DNSCheck) GetType

func (c DNSCheck) GetType() string

type DatabaseBackup added in v0.38.88

type DatabaseBackup struct {
	DatabaseBackupCheck `yaml:",inline" json:",inline"`
}

[include:datasources/database_backup.yaml]

func (*DatabaseBackup) DeepCopy added in v0.38.88

func (in *DatabaseBackup) DeepCopy() *DatabaseBackup

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

func (*DatabaseBackup) DeepCopyInto added in v0.38.88

func (in *DatabaseBackup) DeepCopyInto(out *DatabaseBackup)

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

type DatabaseBackupCheck added in v0.38.88

type DatabaseBackupCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	GCP         *GCPDatabase `yaml:"gcp,omitempty" json:"gcp,omitempty"`
	MaxAge      Duration     `yaml:"maxAge,omitempty" json:"maxAge,omitempty"`
}

func (*DatabaseBackupCheck) DeepCopy added in v0.38.88

func (in *DatabaseBackupCheck) DeepCopy() *DatabaseBackupCheck

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

func (*DatabaseBackupCheck) DeepCopyInto added in v0.38.88

func (in *DatabaseBackupCheck) DeepCopyInto(out *DatabaseBackupCheck)

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

func (DatabaseBackupCheck) GetEndpoint added in v0.38.88

func (c DatabaseBackupCheck) GetEndpoint() string

func (DatabaseBackupCheck) GetType added in v0.38.88

func (c DatabaseBackupCheck) GetType() string

type Description added in v0.30.0

type Description struct {
	// Description for the check
	Description string `yaml:"description,omitempty" json:"description,omitempty" template:"true"`
	// Name of the check
	Name string `yaml:"name" json:"name" template:"true"`
	// Icon for overwriting default icon on the dashboard
	Icon string `yaml:"icon,omitempty" json:"icon,omitempty" template:"true"`
	// Labels for the check
	Labels Labels `yaml:"labels,omitempty" json:"labels,omitempty"`
}

func (*Description) DeepCopy added in v0.30.0

func (in *Description) DeepCopy() *Description

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

func (*Description) DeepCopyInto added in v0.30.0

func (in *Description) DeepCopyInto(out *Description)

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

func (Description) GetDescription added in v0.30.0

func (d Description) GetDescription() string

func (Description) GetIcon added in v0.33.1

func (d Description) GetIcon() string

func (Description) GetLabels added in v0.38.151

func (d Description) GetLabels() map[string]string

func (Description) GetName added in v0.38.40

func (d Description) GetName() string

func (Description) String added in v0.38.17

func (d Description) String() string

type Display added in v0.38.4

type Display struct {
	Template `yaml:",inline" json:",inline"`
}

func (*Display) DeepCopy added in v0.38.4

func (in *Display) DeepCopy() *Display

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

func (*Display) DeepCopyInto added in v0.38.4

func (in *Display) DeepCopyInto(out *Display)

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

func (Display) GetDisplayTemplate added in v0.38.4

func (d Display) GetDisplayTemplate() Template

type DisplayTemplate added in v0.38.4

type DisplayTemplate interface {
	GetDisplayTemplate() Template
}

+k8s:deepcopy-gen=false

type DockerPull

type DockerPull struct {
	DockerPullCheck `yaml:",inline" json:"inline"`
}

[include:k8s/docker_pass.yaml]

func (*DockerPull) DeepCopy

func (in *DockerPull) DeepCopy() *DockerPull

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

func (*DockerPull) DeepCopyInto

func (in *DockerPull) DeepCopyInto(out *DockerPull)

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

type DockerPullCheck

type DockerPullCheck struct {
	Description    `yaml:",inline" json:",inline"`
	Image          string          `yaml:"image" json:"image"`
	Auth           *Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
	ExpectedDigest string          `yaml:"expectedDigest" json:"expectedDigest,omitempty"`
	ExpectedSize   int64           `yaml:"expectedSize" json:"expectedSize,omitempty"`
}

func (*DockerPullCheck) DeepCopy

func (in *DockerPullCheck) DeepCopy() *DockerPullCheck

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

func (*DockerPullCheck) DeepCopyInto

func (in *DockerPullCheck) DeepCopyInto(out *DockerPullCheck)

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

func (DockerPullCheck) GetEndpoint

func (c DockerPullCheck) GetEndpoint() string

func (DockerPullCheck) GetType

func (c DockerPullCheck) GetType() string

type DockerPush

type DockerPush struct {
	DockerPushCheck `yaml:",inline" json:"inline"`
}

DockerPush check will try to push a Docker image to specified registry. /* [include:k8s/docker_push_pass.yaml]

func (*DockerPush) DeepCopy

func (in *DockerPush) DeepCopy() *DockerPush

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

func (*DockerPush) DeepCopyInto

func (in *DockerPush) DeepCopyInto(out *DockerPush)

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

type DockerPushCheck

type DockerPushCheck struct {
	Description `yaml:",inline" json:",inline"`
	Image       string          `yaml:"image" json:"image"`
	Auth        *Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
}

func (*DockerPushCheck) DeepCopy

func (in *DockerPushCheck) DeepCopy() *DockerPushCheck

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

func (*DockerPushCheck) DeepCopyInto

func (in *DockerPushCheck) DeepCopyInto(out *DockerPushCheck)

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

func (DockerPushCheck) GetEndpoint

func (c DockerPushCheck) GetEndpoint() string

func (DockerPushCheck) GetType

func (c DockerPushCheck) GetType() string

type Duration added in v0.38.16

type Duration string

func (Duration) GetDuration added in v0.38.88

func (d Duration) GetDuration() (*time.Duration, error)

func (Duration) GetHours added in v0.38.16

func (d Duration) GetHours() (*time.Duration, error)

type EC2 added in v0.38.32

type EC2 struct {
	EC2Check `yaml:",inline" json:",inline"`
}

[include:aws/aws_config_pass.yaml]

func (*EC2) DeepCopy added in v0.38.32

func (in *EC2) DeepCopy() *EC2

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

func (*EC2) DeepCopyInto added in v0.38.32

func (in *EC2) DeepCopyInto(out *EC2)

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

type EC2Check added in v0.33.0

type EC2Check struct {
	Description   `yaml:",inline" json:",inline"`
	AWSConnection `yaml:",inline" json:",inline"`
	AMI           string                    `yaml:"ami,omitempty" json:"ami,omitempty"`
	UserData      string                    `yaml:"userData,omitempty" json:"userData,omitempty"`
	SecurityGroup string                    `yaml:"securityGroup,omitempty" json:"securityGroup,omitempty"`
	KeepAlive     bool                      `yaml:"keepAlive,omitempty" json:"keepAlive,omitempty"`
	WaitTime      int                       `yaml:"waitTime,omitempty" json:"waitTime,omitempty"`
	TimeOut       int                       `yaml:"timeOut,omitempty" json:"timeOut,omitempty"`
	CanaryRef     []v1.LocalObjectReference `yaml:"canaryRef,omitempty" json:"canaryRef,omitempty"`
}

func (*EC2Check) DeepCopy added in v0.33.0

func (in *EC2Check) DeepCopy() *EC2Check

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

func (*EC2Check) DeepCopyInto added in v0.33.0

func (in *EC2Check) DeepCopyInto(out *EC2Check)

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

func (EC2Check) GetEndpoint added in v0.33.0

func (c EC2Check) GetEndpoint() string

func (EC2Check) GetType added in v0.33.0

func (c EC2Check) GetType() string

type Elasticsearch added in v0.38.136

type Elasticsearch struct {
	ElasticsearchCheck `yaml:",inline" json:",inline"`
}

func (*Elasticsearch) DeepCopy added in v0.38.136

func (in *Elasticsearch) DeepCopy() *Elasticsearch

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

func (*Elasticsearch) DeepCopyInto added in v0.38.136

func (in *Elasticsearch) DeepCopyInto(out *Elasticsearch)

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

type ElasticsearchCheck added in v0.38.136

type ElasticsearchCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	URL         string          `yaml:"url" json:"url,omitempty" template:"true"`
	Auth        *Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
	Query       string          `yaml:"query" json:"query,omitempty" template:"true"`
	Index       string          `yaml:"index" json:"index,omitempty" template:"true"`
	Results     int             `yaml:"results" json:"results,omitempty" template:"true"`
}

func (*ElasticsearchCheck) DeepCopy added in v0.38.136

func (in *ElasticsearchCheck) DeepCopy() *ElasticsearchCheck

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

func (*ElasticsearchCheck) DeepCopyInto added in v0.38.136

func (in *ElasticsearchCheck) DeepCopyInto(out *ElasticsearchCheck)

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

func (ElasticsearchCheck) GetEndpoint added in v0.38.136

func (c ElasticsearchCheck) GetEndpoint() string

func (ElasticsearchCheck) GetType added in v0.38.136

func (c ElasticsearchCheck) GetType() string

type Exec added in v0.38.54

type Exec struct {
	ExecCheck `yaml:",inline" json:",inline"`
}

Exec Check executes a command or scrtipt file on the target host. On Linux/MacOS uses bash and on Windows uses powershell. [include:minimal/exec_pass.yaml]

func (*Exec) DeepCopy added in v0.38.54

func (in *Exec) DeepCopy() *Exec

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

func (*Exec) DeepCopyInto added in v0.38.54

func (in *Exec) DeepCopyInto(out *Exec)

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

type ExecCheck added in v0.38.54

type ExecCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	// Script can be a inline script or a path to a script that needs to be executed
	// On windows executed via powershell and in darwin and linux executed using bash
	Script *string `yaml:"script" json:"script"`
}

func (*ExecCheck) DeepCopy added in v0.38.54

func (in *ExecCheck) DeepCopy() *ExecCheck

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

func (*ExecCheck) DeepCopyInto added in v0.38.54

func (in *ExecCheck) DeepCopyInto(out *ExecCheck)

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

func (ExecCheck) GetEndpoint added in v0.38.54

func (c ExecCheck) GetEndpoint() string

func (ExecCheck) GetTestFunction added in v0.38.54

func (c ExecCheck) GetTestFunction() Template

func (ExecCheck) GetType added in v0.38.54

func (c ExecCheck) GetType() string

type Folder added in v0.38.45

type Folder struct {
	FolderCheck `yaml:",inline" json:",inline"`
}

The folder check lists files in a folder (local or SMB/CIFS) or object storage platform like S3 or GCS and provides a mechanism to test:

* `minAge` - A file has been added within at least minAge e.g Has a backup been created in the last 24h * `maxAge` - A file has been added and not removed within maxAge e.g. Has a file been processed in less than 24h * `minSize` - * `maxSize` - * `minCount` - * `maxCount` -

[include:quarantine/smb_pass.yaml] [include:datasources/s3_bucket_pass.yaml] [include:datasources/folder_pass.yaml]

func (*Folder) DeepCopy added in v0.38.45

func (in *Folder) DeepCopy() *Folder

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

func (*Folder) DeepCopyInto added in v0.38.45

func (in *Folder) DeepCopyInto(out *Folder)

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

type FolderCheck added in v0.38.45

type FolderCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	// Path  to folder or object storage, e.g. `s3://<bucket-name>`,  `gcs://<bucket-name>`, `/path/tp/folder`
	Path            string       `yaml:"path" json:"path"`
	Filter          FolderFilter `yaml:"filter,omitempty" json:"filter,omitempty"`
	FolderTest      `yaml:",inline" json:",inline"`
	*AWSConnection  `yaml:"awsConnection,omitempty" json:"awsConnection,omitempty"`
	*GCPConnection  `yaml:"gcpConnection,omitempty" json:"gcpConnection,omitempty"`
	*SMBConnection  `yaml:"smbConnection,omitempty" json:"smbConnection,omitempty"`
	*SFTPConnection `yaml:"sftpConnection,omitempty" json:"sftpConnection,omitempty"`
}

func (*FolderCheck) DeepCopy added in v0.38.45

func (in *FolderCheck) DeepCopy() *FolderCheck

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

func (*FolderCheck) DeepCopyInto added in v0.38.45

func (in *FolderCheck) DeepCopyInto(out *FolderCheck)

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

func (FolderCheck) GetEndpoint added in v0.38.45

func (c FolderCheck) GetEndpoint() string

func (FolderCheck) GetType added in v0.38.45

func (c FolderCheck) GetType() string

type FolderFilter added in v0.38.16

type FolderFilter struct {
	MinAge  Duration `yaml:"minAge,omitempty" json:"minAge,omitempty"`
	MaxAge  Duration `yaml:"maxAge,omitempty" json:"maxAge,omitempty"`
	MinSize Size     `yaml:"minSize,omitempty" json:"minSize,omitempty"`
	MaxSize Size     `yaml:"maxSize,omitempty" json:"maxSize,omitempty"`
	Regex   string   `yaml:"regex,omitempty" json:"regex,omitempty"`
}

func (*FolderFilter) DeepCopy added in v0.38.16

func (in *FolderFilter) DeepCopy() *FolderFilter

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

func (*FolderFilter) DeepCopyInto added in v0.38.16

func (in *FolderFilter) DeepCopyInto(out *FolderFilter)

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

func (FolderFilter) New added in v0.38.16

type FolderFilterContext added in v0.38.16

type FolderFilterContext struct {
	FolderFilter
	// contains filtered or unexported fields
}

+k8s:deepcopy-gen=false

func (*FolderFilterContext) Filter added in v0.38.16

func (f *FolderFilterContext) Filter(i fs.FileInfo) bool

type FolderTest added in v0.38.4

type FolderTest struct {
	//MinAge the latest object should be older than defined age
	MinAge Duration `yaml:"minAge,omitempty" json:"minAge,omitempty"`
	//MaxAge the latest object should be younger than defined age
	MaxAge Duration `yaml:"maxAge,omitempty" json:"maxAge,omitempty"`
	//MinCount the minimum number of files inside the searchPath
	MinCount *int `yaml:"minCount,omitempty" json:"minCount,omitempty"`
	//MinCount the minimum number of files inside the searchPath
	MaxCount *int `yaml:"maxCount,omitempty" json:"maxCount,omitempty"`
	//MinSize of the files inside the searchPath
	MinSize Size `yaml:"minSize,omitempty" json:"minSize,omitempty"`
	//MaxSize of the files inside the searchPath
	MaxSize Size `yaml:"maxSize,omitempty" json:"maxSize,omitempty"`

	// AvailableSize present on the filesystem
	AvailableSize Size `yaml:"availableSize,omitempty" json:"availableSize,omitempty"`
	// TotalSize present on the filesystem
	TotalSize Size `yaml:"totalSize,omitempty" json:"totalSize,omitempty"`
}

func (*FolderTest) DeepCopy added in v0.38.4

func (in *FolderTest) DeepCopy() *FolderTest

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

func (*FolderTest) DeepCopyInto added in v0.38.4

func (in *FolderTest) DeepCopyInto(out *FolderTest)

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

func (FolderTest) GetMaxAge added in v0.38.4

func (f FolderTest) GetMaxAge() (*time.Duration, error)

func (FolderTest) GetMinAge added in v0.38.4

func (f FolderTest) GetMinAge() (*time.Duration, error)

type ForEach added in v0.38.193

type ForEach struct {
	Components []ComponentSpec `json:"components,omitempty"`
	// Properties are created once the full component tree is created, property lookup functions
	// can return a map of coomponent name => properties to allow for bulk property lookups
	// being applied to multiple components in the tree
	Properties      Properties         `json:"properties,omitempty"`
	Configs         []Config           `json:"configs,omitempty"`
	Selectors       ResourceSelectors  `json:"selectors,omitempty"`
	Relationships   []RelationshipSpec `json:"relationships,omitempty"`
	ComponentChecks ComponentChecks    `json:"checks,omitempty"`
}

func (*ForEach) DeepCopy added in v0.38.193

func (in *ForEach) DeepCopy() *ForEach

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

func (*ForEach) DeepCopyInto added in v0.38.193

func (in *ForEach) DeepCopyInto(out *ForEach)

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

func (*ForEach) IsEmpty added in v0.38.193

func (f *ForEach) IsEmpty() bool

func (*ForEach) String added in v0.38.193

func (f *ForEach) String() string

type GCPConnection added in v0.38.26

type GCPConnection struct {
	Endpoint    string          `yaml:"endpoint" json:"endpoint,omitempty"`
	Credentials *kommons.EnvVar `yaml:"credentials" json:"credentials,omitempty"`
}

func (*GCPConnection) DeepCopy added in v0.38.26

func (in *GCPConnection) DeepCopy() *GCPConnection

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

func (*GCPConnection) DeepCopyInto added in v0.38.26

func (in *GCPConnection) DeepCopyInto(out *GCPConnection)

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

func (*GCPConnection) Validate added in v0.38.112

func (g *GCPConnection) Validate() *GCPConnection

type GCPDatabase added in v0.38.88

type GCPDatabase struct {
	Project        string `yaml:"project" json:"project"`
	Instance       string `yaml:"instance" json:"instance"`
	*GCPConnection `yaml:"gcpConnection,omitempty" json:"gcpConnection,omitempty"`
}

func (*GCPDatabase) DeepCopy added in v0.38.88

func (in *GCPDatabase) DeepCopy() *GCPDatabase

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

func (*GCPDatabase) DeepCopyInto added in v0.38.88

func (in *GCPDatabase) DeepCopyInto(out *GCPDatabase)

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

type Git added in v0.38.43

type Git struct {
	GitHubCheck `yaml:",inline" json:",inline"`
}

Git executes a SQL style query against a github repo using https://github.com/askgitdev/askgit

func (*Git) DeepCopy added in v0.38.43

func (in *Git) DeepCopy() *Git

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

func (*Git) DeepCopyInto added in v0.38.43

func (in *Git) DeepCopyInto(out *Git)

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

type GitHubCheck added in v0.38.43

type GitHubCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	// Query to be executed. Please see https://github.com/askgitdev/askgit for more details regarding syntax
	Query       string          `yaml:"query" json:"query"`
	GithubToken *kommons.EnvVar `yaml:"githubToken,omitempty" json:"githubToken,omitempty"`
}

func (*GitHubCheck) DeepCopy added in v0.38.43

func (in *GitHubCheck) DeepCopy() *GitHubCheck

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

func (*GitHubCheck) DeepCopyInto added in v0.38.43

func (in *GitHubCheck) DeepCopyInto(out *GitHubCheck)

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

func (GitHubCheck) GetEndpoint added in v0.38.43

func (c GitHubCheck) GetEndpoint() string

func (GitHubCheck) GetType added in v0.38.43

func (c GitHubCheck) GetType() string

type HTTP

type HTTP struct {
	HTTPCheck `yaml:",inline" json:"inline"`
}

[include:minimal/http_pass.yaml]

func (*HTTP) DeepCopy

func (in *HTTP) DeepCopy() *HTTP

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

func (*HTTP) DeepCopyInto

func (in *HTTP) DeepCopyInto(out *HTTP)

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

type HTTPCheck

type HTTPCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	// HTTP endpoint to check.  Mutually exclusive with Namespace
	Endpoint string `yaml:"endpoint" json:"endpoint,omitempty" template:"true"`
	// Namespace to crawl for TLS endpoints.  Mutually exclusive with Endpoint
	Namespace string `yaml:"namespace,omitempty" json:"namespace,omitempty" template:"true"`
	// Maximum duration in milliseconds for the HTTP request. It will fail the check if it takes longer.
	ThresholdMillis int `yaml:"thresholdMillis,omitempty" json:"thresholdMillis,omitempty"`
	// Expected response codes for the HTTP Request.
	ResponseCodes []int `yaml:"responseCodes,omitempty" json:"responseCodes,omitempty"`
	// Exact response content expected to be returned by the endpoint.
	ResponseContent string `yaml:"responseContent,omitempty" json:"responseContent,omitempty"`
	// Path and value to of expect JSON response by the endpoint
	ResponseJSONContent *JSONCheck `yaml:"responseJSONContent,omitempty" json:"responseJSONContent,omitempty"`
	// Maximum number of days until the SSL Certificate expires.
	MaxSSLExpiry int `yaml:"maxSSLExpiry,omitempty" json:"maxSSLExpiry,omitempty"`
	// Method to use - defaults to GET
	Method string `yaml:"method,omitempty" json:"method,omitempty"`
	// NTLM when set to true will do authentication using NTLM v1 protocol
	NTLM bool `yaml:"ntlm,omitempty" json:"ntlm,omitempty"`
	// NTLM when set to true will do authentication using NTLM v2 protocol
	NTLMv2 bool `yaml:"ntlmv2,omitempty" json:"ntlmv2,omitempty"`
	// Request Body Contents
	Body string `yaml:"body,omitempty" json:"body,omitempty" template:"true"`
	// Header fields to be used in the query
	Headers []kommons.EnvVar `yaml:"headers,omitempty" json:"headers,omitempty"`
	// Credentials for authentication headers
	Authentication *Authentication `yaml:"authentication,omitempty" json:"authentication,omitempty"`
	//Template the request body
	TemplateBody bool `yaml:"templateBody,omitempty" json:"templateBody,omitempty"`
}

func (*HTTPCheck) DeepCopy

func (in *HTTPCheck) DeepCopy() *HTTPCheck

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

func (*HTTPCheck) DeepCopyInto

func (in *HTTPCheck) DeepCopyInto(out *HTTPCheck)

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

func (HTTPCheck) GetEndpoint

func (c HTTPCheck) GetEndpoint() string

func (HTTPCheck) GetMethod added in v0.38.4

func (c HTTPCheck) GetMethod() string

func (HTTPCheck) GetType

func (c HTTPCheck) GetType() string

type Helm

type Helm struct {
	HelmCheck `yaml:",inline" json:"inline"`
}

[include:datasources/helm_pass.yaml]

func (*Helm) DeepCopy

func (in *Helm) DeepCopy() *Helm

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

func (*Helm) DeepCopyInto

func (in *Helm) DeepCopyInto(out *Helm)

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

type HelmCheck

type HelmCheck struct {
	Description `yaml:",inline" json:",inline"`
	Chartmuseum string          `yaml:"chartmuseum" json:"chartmuseum,omitempty"`
	Project     string          `yaml:"project,omitempty" json:"project,omitempty"`
	Auth        *Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
	CaFile      string          `yaml:"cafile,omitempty" json:"cafile,omitempty"`
}

func (*HelmCheck) DeepCopy

func (in *HelmCheck) DeepCopy() *HelmCheck

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

func (*HelmCheck) DeepCopyInto

func (in *HelmCheck) DeepCopyInto(out *HelmCheck)

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

func (HelmCheck) GetEndpoint

func (c HelmCheck) GetEndpoint() string

func (HelmCheck) GetType

func (c HelmCheck) GetType() string

type ICMP

type ICMP struct {
	ICMPCheck `yaml:",inline" json:"inline"`
}

This test will check ICMP packet loss and duration.

[include:quarantine/icmp_pass.yaml]

func (*ICMP) DeepCopy

func (in *ICMP) DeepCopy() *ICMP

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

func (*ICMP) DeepCopyInto

func (in *ICMP) DeepCopyInto(out *ICMP)

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

type ICMPCheck

type ICMPCheck struct {
	Description         `yaml:",inline" json:",inline"`
	Endpoint            string `yaml:"endpoint" json:"endpoint,omitempty"`
	ThresholdMillis     int64  `yaml:"thresholdMillis,omitempty" json:"thresholdMillis,omitempty"`
	PacketLossThreshold int64  `yaml:"packetLossThreshold,omitempty" json:"packetLossThreshold,omitempty"`
	PacketCount         int    `yaml:"packetCount,omitempty" json:"packetCount,omitempty"`
}

func (*ICMPCheck) DeepCopy

func (in *ICMPCheck) DeepCopy() *ICMPCheck

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

func (*ICMPCheck) DeepCopyInto

func (in *ICMPCheck) DeepCopyInto(out *ICMPCheck)

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

func (ICMPCheck) GetEndpoint

func (c ICMPCheck) GetEndpoint() string

func (ICMPCheck) GetType

func (c ICMPCheck) GetType() string

type JSONCheck added in v0.17.0

type JSONCheck struct {
	Path  string `yaml:"path" json:"path"`
	Value string `yaml:"value" json:"value"`
}

func (*JSONCheck) DeepCopy added in v0.17.0

func (in *JSONCheck) DeepCopy() *JSONCheck

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

func (*JSONCheck) DeepCopyInto added in v0.17.0

func (in *JSONCheck) DeepCopyInto(out *JSONCheck)

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

type Jmeter added in v0.19.1

type Jmeter struct {
	JmeterCheck `yaml:",inline" json:",inline"`
}

Jmeter check will run jmeter cli against the supplied host [include:k8s/jmeter_pass.yaml]

func (*Jmeter) DeepCopy added in v0.19.1

func (in *Jmeter) DeepCopy() *Jmeter

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

func (*Jmeter) DeepCopyInto added in v0.19.1

func (in *Jmeter) DeepCopyInto(out *Jmeter)

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

type JmeterCheck added in v0.19.1

type JmeterCheck struct {
	Description `yaml:",inline" json:",inline"`
	// Jmx defines tge ConfigMap or Secret reference to get the JMX test plan
	Jmx kommons.EnvVar `yaml:"jmx" json:"jmx"`
	// Host is the server against which test plan needs to be executed
	Host string `yaml:"host,omitempty" json:"host,omitempty"`
	// Port on which the server is running
	Port int32 `yaml:"port,omitempty" json:"port,omitempty"`
	// Properties defines the local Jmeter properties
	Properties []string `yaml:"properties,omitempty" json:"properties,omitempty"`
	// SystemProperties defines the java system property
	SystemProperties []string `yaml:"systemProperties,omitempty" json:"systemProperties,omitempty"`
	// ResponseDuration under which the all the test should pass
	ResponseDuration string `yaml:"responseDuration,omitempty" json:"responseDuration,omitempty"`
}

func (*JmeterCheck) DeepCopy added in v0.19.1

func (in *JmeterCheck) DeepCopy() *JmeterCheck

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

func (*JmeterCheck) DeepCopyInto added in v0.19.1

func (in *JmeterCheck) DeepCopyInto(out *JmeterCheck)

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

func (JmeterCheck) GetEndpoint added in v0.19.1

func (c JmeterCheck) GetEndpoint() string

func (JmeterCheck) GetType added in v0.19.1

func (c JmeterCheck) GetType() string

type Junit added in v0.21.0

type Junit struct {
	JunitCheck `yaml:",inline" json:",inline"`
}

Junit check will wait for the given pod to be completed than parses all the xml files present in the defined testResults directory

[include:k8s/junit_pass.yaml]

func (*Junit) DeepCopy added in v0.21.0

func (in *Junit) DeepCopy() *Junit

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

func (*Junit) DeepCopyInto added in v0.21.0

func (in *Junit) DeepCopyInto(out *Junit)

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

type JunitCheck added in v0.21.0

type JunitCheck struct {
	Description `yaml:",inline" json:",inline"`
	TestResults string `yaml:"testResults" json:"testResults"`
	Templatable `yaml:",inline" json:",inline"`
	// Timeout in minutes to wait for specified container to finish its job. Defaults to 5 minutes
	Timeout int `yaml:"timeout,omitempty" json:"timeout,omitempty"`
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Type=object
	Spec json.RawMessage `yaml:"spec" json:"spec"`
}

func (*JunitCheck) DeepCopy added in v0.21.0

func (in *JunitCheck) DeepCopy() *JunitCheck

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

func (*JunitCheck) DeepCopyInto added in v0.21.0

func (in *JunitCheck) DeepCopyInto(out *JunitCheck)

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

func (JunitCheck) GetEndpoint added in v0.21.0

func (c JunitCheck) GetEndpoint() string

func (JunitCheck) GetTimeout added in v0.30.0

func (c JunitCheck) GetTimeout() int

func (JunitCheck) GetType added in v0.21.0

func (c JunitCheck) GetType() string

type Kubernetes added in v0.38.44

type Kubernetes struct {
	KubernetesCheck `yaml:",inline" json:",inline"`
}

[include:k8s/kubernetes_pass.yaml]

func (*Kubernetes) DeepCopy added in v0.38.44

func (in *Kubernetes) DeepCopy() *Kubernetes

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

func (*Kubernetes) DeepCopyInto added in v0.38.44

func (in *Kubernetes) DeepCopyInto(out *Kubernetes)

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

type KubernetesCheck added in v0.38.44

type KubernetesCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	Namespace   ResourceSelector `yaml:"namespace,omitempty" json:"namespace,omitempty"`
	Resource    ResourceSelector `yaml:"resource,omitempty" json:"resource,omitempty"`
	// Ignore the specified resources from the fetched resources. Can be a glob pattern.
	Ignore []string `yaml:"ignore,omitempty" json:"ignore,omitempty"`
	Kind   string   `yaml:"kind" json:"kind"`
	Ready  *bool    `yaml:"ready,omitempty" json:"ready,omitempty"`
}

func (KubernetesCheck) CheckReady added in v0.38.44

func (c KubernetesCheck) CheckReady() bool

func (*KubernetesCheck) DeepCopy added in v0.38.44

func (in *KubernetesCheck) DeepCopy() *KubernetesCheck

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

func (*KubernetesCheck) DeepCopyInto added in v0.38.44

func (in *KubernetesCheck) DeepCopyInto(out *KubernetesCheck)

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

func (KubernetesCheck) GetEndpoint added in v0.38.44

func (c KubernetesCheck) GetEndpoint() string

func (KubernetesCheck) GetType added in v0.38.44

func (c KubernetesCheck) GetType() string

type LDAP

type LDAP struct {
	LDAPCheck `yaml:",inline" json:"inline"`
}

The LDAP check will:

* bind using provided user/password to the ldap host. Supports ldap/ldaps protocols. * search an object type in the provided bind DN.s

[include:datasources/ldap_pass.yaml]

func (*LDAP) DeepCopy

func (in *LDAP) DeepCopy() *LDAP

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

func (*LDAP) DeepCopyInto

func (in *LDAP) DeepCopyInto(out *LDAP)

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

type LDAPCheck

type LDAPCheck struct {
	Description   `yaml:",inline" json:",inline"`
	Host          string          `yaml:"host" json:"host" template:"true"`
	Auth          *Authentication `yaml:"auth" json:"auth"`
	BindDN        string          `yaml:"bindDN" json:"bindDN"`
	UserSearch    string          `yaml:"userSearch,omitempty" json:"userSearch,omitempty"`
	SkipTLSVerify bool            `yaml:"skipTLSVerify,omitempty" json:"skipTLSVerify,omitempty"`
}

func (*LDAPCheck) DeepCopy

func (in *LDAPCheck) DeepCopy() *LDAPCheck

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

func (*LDAPCheck) DeepCopyInto

func (in *LDAPCheck) DeepCopyInto(out *LDAPCheck)

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

func (LDAPCheck) GetEndpoint

func (c LDAPCheck) GetEndpoint() string

func (LDAPCheck) GetType

func (c LDAPCheck) GetType() string

type Labels added in v0.38.151

type Labels map[string]string

func (Labels) AddLabels added in v0.38.151

func (l Labels) AddLabels(extra map[string]interface{}) map[string]string

func (Labels) DeepCopy added in v0.38.151

func (in Labels) DeepCopy() Labels

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

func (Labels) DeepCopyInto added in v0.38.151

func (in Labels) DeepCopyInto(out *Labels)

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

type Link struct {
	// e.g. documentation, support, playbook
	Type string `json:"type,omitempty"`
	URL  string `json:"url,omitempty"`
	Text `json:",inline"`
}

func (*Link) DeepCopy added in v0.38.85

func (in *Link) DeepCopy() *Link

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

func (*Link) DeepCopyInto added in v0.38.85

func (in *Link) DeepCopyInto(out *Link)

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

type Mongo added in v0.38.32

type Mongo struct {
	MongoDBCheck `yaml:",inline" json:",inline"`
}

[include:datasources/mongo_pass.yaml]

func (*Mongo) DeepCopy added in v0.38.32

func (in *Mongo) DeepCopy() *Mongo

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

func (*Mongo) DeepCopyInto added in v0.38.32

func (in *Mongo) DeepCopyInto(out *Mongo)

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

type MongoDBCheck added in v0.38.4

type MongoDBCheck struct {
	Description `yaml:",inline" json:",inline"`
	// Monogodb connection string, e.g.  mongodb://:27017/?authSource=admin, See https://docs.mongodb.com/manual/reference/connection-string/
	Connection `yaml:",inline" json:",inline"`
}

func (*MongoDBCheck) DeepCopy added in v0.38.4

func (in *MongoDBCheck) DeepCopy() *MongoDBCheck

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

func (*MongoDBCheck) DeepCopyInto added in v0.38.4

func (in *MongoDBCheck) DeepCopyInto(out *MongoDBCheck)

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

func (MongoDBCheck) GetType added in v0.38.4

func (c MongoDBCheck) GetType() string

type MsSQL added in v0.19.2

type MsSQL struct {
	MssqlCheck `yaml:",inline" json:"inline"`
}

This check will try to connect to a specified MsSQL database, run a query against it and verify the results.

[include:datasources/mssql_pass.yaml]

func (*MsSQL) DeepCopy added in v0.19.2

func (in *MsSQL) DeepCopy() *MsSQL

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

func (*MsSQL) DeepCopyInto added in v0.19.2

func (in *MsSQL) DeepCopyInto(out *MsSQL)

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

type MssqlCheck added in v0.18.0

type MssqlCheck struct {
	SQLCheck `yaml:",inline" json:",inline"`
}

func (*MssqlCheck) DeepCopy added in v0.18.0

func (in *MssqlCheck) DeepCopy() *MssqlCheck

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

func (*MssqlCheck) DeepCopyInto added in v0.18.0

func (in *MssqlCheck) DeepCopyInto(out *MssqlCheck)

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

func (MssqlCheck) GetCheck added in v0.38.102

func (m MssqlCheck) GetCheck() external.Check

func (MssqlCheck) GetDriver added in v0.38.102

func (m MssqlCheck) GetDriver() string

func (MssqlCheck) GetSQLCheck added in v0.38.102

func (m MssqlCheck) GetSQLCheck() SQLCheck

func (MssqlCheck) GetType added in v0.38.32

func (m MssqlCheck) GetType() string

type MysqlCheck added in v0.38.66

type MysqlCheck struct {
	SQLCheck `yaml:",inline" json:",inline"`
}

func (*MysqlCheck) DeepCopy added in v0.38.66

func (in *MysqlCheck) DeepCopy() *MysqlCheck

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

func (*MysqlCheck) DeepCopyInto added in v0.38.66

func (in *MysqlCheck) DeepCopyInto(out *MysqlCheck)

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

func (MysqlCheck) GetCheck added in v0.38.102

func (m MysqlCheck) GetCheck() external.Check

func (MysqlCheck) GetDriver added in v0.38.102

func (m MysqlCheck) GetDriver() string

func (MysqlCheck) GetSQLCheck added in v0.38.102

func (m MysqlCheck) GetSQLCheck() SQLCheck

func (MysqlCheck) GetType added in v0.38.66

func (m MysqlCheck) GetType() string

type Namespace

type Namespace struct {
	NamespaceCheck `yaml:",inline" json:"inline"`
}

The Namespace check will:

* create a new namespace using the labels/annotations provided

[include:k8s/namespace_pass.yaml]

func (*Namespace) DeepCopy

func (in *Namespace) DeepCopy() *Namespace

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

func (*Namespace) DeepCopyInto

func (in *Namespace) DeepCopyInto(out *Namespace)

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

type NamespaceCheck

type NamespaceCheck struct {
	Description          `yaml:",inline" json:",inline"`
	NamespaceNamePrefix  string            `yaml:"namespaceNamePrefix,omitempty" json:"namespaceNamePrefix,omitempty"`
	NamespaceLabels      map[string]string `yaml:"namespaceLabels,omitempty" json:"namespaceLabels,omitempty"`
	NamespaceAnnotations map[string]string `yaml:"namespaceAnnotations,omitempty" json:"namespaceAnnotations,omitempty"`
	PodSpec              string            `yaml:"podSpec" json:"podSpec"`
	ScheduleTimeout      int64             `yaml:"scheduleTimeout,omitempty" json:"schedule_timeout,omitempty"`
	ReadyTimeout         int64             `yaml:"readyTimeout,omitempty" json:"readyTimeout,omitempty"`
	HTTPTimeout          int64             `yaml:"httpTimeout,omitempty" json:"httpTimeout,omitempty"`
	DeleteTimeout        int64             `yaml:"deleteTimeout,omitempty" json:"deleteTimeout,omitempty"`
	IngressTimeout       int64             `yaml:"ingressTimeout,omitempty" json:"ingressTimeout,omitempty"`
	HTTPRetryInterval    int64             `yaml:"httpRetryInterval,omitempty" json:"httpRetryInterval,omitempty"`
	Deadline             int64             `yaml:"deadline,omitempty" json:"deadline,omitempty"`
	Port                 int64             `yaml:"port,omitempty" json:"port,omitempty"`
	Path                 string            `yaml:"path,omitempty" json:"path,omitempty"`
	IngressName          string            `yaml:"ingressName,omitempty" json:"ingressName,omitempty" template:"true"`
	IngressHost          string            `yaml:"ingressHost,omitempty" json:"ingressHost,omitempty" template:"true"`
	ExpectedContent      string            `yaml:"expectedContent,omitempty" json:"expectedContent,omitempty" template:"true"`
	ExpectedHTTPStatuses []int64           `yaml:"expectedHttpStatuses,omitempty" json:"expectedHttpStatuses,omitempty"`
	PriorityClass        string            `yaml:"priorityClass,omitempty" json:"priorityClass,omitempty"`
}

func (*NamespaceCheck) DeepCopy

func (in *NamespaceCheck) DeepCopy() *NamespaceCheck

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

func (*NamespaceCheck) DeepCopyInto

func (in *NamespaceCheck) DeepCopyInto(out *NamespaceCheck)

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

func (NamespaceCheck) GetEndpoint

func (c NamespaceCheck) GetEndpoint() string

func (NamespaceCheck) GetType

func (c NamespaceCheck) GetType() string

func (NamespaceCheck) String

func (c NamespaceCheck) String() string

type NamespaceSelector added in v0.38.85

type NamespaceSelector struct {
	Selector `json:",inline"`
}

func (*NamespaceSelector) DeepCopy added in v0.38.85

func (in *NamespaceSelector) DeepCopy() *NamespaceSelector

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

func (*NamespaceSelector) DeepCopyInto added in v0.38.85

func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector)

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

type Owner added in v0.38.85

type Owner string

type Pod

type Pod struct {
	PodCheck `yaml:",inline" json:"inline"`
}

[include:k8s/pod_pass.yaml]

func (*Pod) DeepCopy

func (in *Pod) DeepCopy() *Pod

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

func (*Pod) DeepCopyInto

func (in *Pod) DeepCopyInto(out *Pod)

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

type PodCheck

type PodCheck struct {
	Description          `yaml:",inline" json:",inline"`
	Namespace            string `yaml:"namespace" json:"namespace,omitempty" template:"true"`
	Spec                 string `yaml:"spec" json:"spec,omitempty"`
	ScheduleTimeout      int64  `yaml:"scheduleTimeout,omitempty" json:"scheduleTimeout,omitempty"`
	ReadyTimeout         int64  `yaml:"readyTimeout,omitempty" json:"readyTimeout,omitempty"`
	HTTPTimeout          int64  `yaml:"httpTimeout,omitempty" json:"httpTimeout,omitempty"`
	DeleteTimeout        int64  `yaml:"deleteTimeout,omitempty" json:"deleteTimeout,omitempty"`
	IngressTimeout       int64  `yaml:"ingressTimeout,omitempty" json:"ingressTimeout,omitempty"`
	HTTPRetryInterval    int64  `yaml:"httpRetryInterval,omitempty" json:"httpRetryInterval,omitempty"`
	Deadline             int64  `yaml:"deadline,omitempty" json:"deadline,omitempty"`
	Port                 int64  `yaml:"port,omitempty" json:"port,omitempty"`
	Path                 string `yaml:"path,omitempty" json:"path,omitempty" template:"true"`
	IngressName          string `yaml:"ingressName" json:"ingressName,omitempty" template:"true" `
	IngressHost          string `yaml:"ingressHost" json:"ingressHost,omitempty" template:"true"`
	IngressClass         string `yaml:"ingressClass" json:"ingressClass,omitempty"`
	ExpectedContent      string `yaml:"expectedContent,omitempty" json:"expectedContent,omitempty" template:"true"`
	ExpectedHTTPStatuses []int  `yaml:"expectedHttpStatuses,omitempty" json:"expectedHttpStatuses,omitempty"`
	PriorityClass        string `yaml:"priorityClass,omitempty" json:"priorityClass,omitempty"`
}

func (*PodCheck) DeepCopy

func (in *PodCheck) DeepCopy() *PodCheck

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

func (*PodCheck) DeepCopyInto

func (in *PodCheck) DeepCopyInto(out *PodCheck)

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

func (PodCheck) GetEndpoint

func (c PodCheck) GetEndpoint() string

func (PodCheck) GetType

func (c PodCheck) GetType() string

func (PodCheck) String

func (c PodCheck) String() string

type Postgres

type Postgres struct {
	PostgresCheck `yaml:",inline" json:"inline"`
}

This check will try to connect to a specified Postgresql database, run a query against it and verify the results.

[include:datasources/postgres_pass.yaml]

func (*Postgres) DeepCopy

func (in *Postgres) DeepCopy() *Postgres

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

func (*Postgres) DeepCopyInto

func (in *Postgres) DeepCopyInto(out *Postgres)

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

type PostgresCheck

type PostgresCheck struct {
	SQLCheck `yaml:",inline" json:",inline"`
}

func (*PostgresCheck) DeepCopy

func (in *PostgresCheck) DeepCopy() *PostgresCheck

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

func (*PostgresCheck) DeepCopyInto

func (in *PostgresCheck) DeepCopyInto(out *PostgresCheck)

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

func (PostgresCheck) GetCheck added in v0.38.102

func (p PostgresCheck) GetCheck() external.Check

func (PostgresCheck) GetDriver added in v0.38.102

func (p PostgresCheck) GetDriver() string

func (PostgresCheck) GetSQLCheck added in v0.38.102

func (p PostgresCheck) GetSQLCheck() SQLCheck

func (PostgresCheck) GetType

func (p PostgresCheck) GetType() string

type Prometheus added in v0.38.32

type Prometheus struct {
	PrometheusCheck `yaml:",inline" json:",inline"`
}

[include:datasources/prometheus.yaml]

func (*Prometheus) DeepCopy added in v0.38.32

func (in *Prometheus) DeepCopy() *Prometheus

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

func (*Prometheus) DeepCopyInto added in v0.38.32

func (in *Prometheus) DeepCopyInto(out *Prometheus)

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

type PrometheusCheck added in v0.35.0

type PrometheusCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	// Address of the prometheus server
	Host string `yaml:"host" json:"host" template:"true" `
	// PromQL query
	Query string `yaml:"query" json:"query" template:"true"`
}

func (*PrometheusCheck) DeepCopy added in v0.35.0

func (in *PrometheusCheck) DeepCopy() *PrometheusCheck

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

func (*PrometheusCheck) DeepCopyInto added in v0.35.0

func (in *PrometheusCheck) DeepCopyInto(out *PrometheusCheck)

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

func (PrometheusCheck) GetEndpoint added in v0.35.0

func (c PrometheusCheck) GetEndpoint() string

func (PrometheusCheck) GetType added in v0.35.0

func (c PrometheusCheck) GetType() string

type Properties added in v0.38.85

type Properties []Property

func (Properties) DeepCopy added in v0.38.85

func (in Properties) DeepCopy() Properties

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

func (Properties) DeepCopyInto added in v0.38.85

func (in Properties) DeepCopyInto(out *Properties)

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

type Property added in v0.38.85

type Property struct {
	Label    string `json:"label,omitempty"`
	Name     string `json:"name,omitempty"`
	Tooltip  string `json:"tooltip,omitempty"`
	Icon     string `json:"icon,omitempty"`
	Text     string `json:"text,omitempty"`
	Order    int    `json:"order,omitempty"`
	Headline bool   `json:"headline,omitempty"`
	Type     string `json:"type,omitempty"`
	Color    string `json:"color,omitempty"`
	// e.g. milliseconds, bytes, millicores, epoch etc.
	Unit           string `json:"unit,omitempty"`
	Value          int64  `json:"value,omitempty"`
	Max            *int64 `json:"max,omitempty"`
	Min            int64  `json:"min,omitempty"`
	Status         string `json:"status,omitempty"`
	LastTransition string `json:"lastTransition,omitempty"`
	Links          []Link `json:"links,omitempty"`
	// +kubebuilder:validation:XPreserveUnknownFields
	Lookup       *CanarySpec   `json:"lookup,omitempty"`
	ConfigLookup *ConfigLookup `json:"configLookup,omitempty"`
	Summary      *Template     `json:"summary,omitempty"`
}

func (*Property) DeepCopy added in v0.38.85

func (in *Property) DeepCopy() *Property

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

func (*Property) DeepCopyInto added in v0.38.85

func (in *Property) DeepCopyInto(out *Property)

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

func (*Property) String added in v0.38.193

func (p *Property) String() string

type Redis added in v0.18.0

type Redis struct {
	RedisCheck `yaml:",inline" json:"inline"`
}

func (*Redis) DeepCopy added in v0.18.0

func (in *Redis) DeepCopy() *Redis

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

func (*Redis) DeepCopyInto added in v0.18.0

func (in *Redis) DeepCopyInto(out *Redis)

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

type RedisCheck added in v0.18.0

type RedisCheck struct {
	Description `yaml:",inline" json:",inline"`
	Addr        string          `yaml:"addr" json:"addr" template:"true"`
	Auth        *Authentication `yaml:"auth,omitempty" json:"auth,omitempty"`
	DB          int             `yaml:"db" json:"db"`
}

func (*RedisCheck) DeepCopy added in v0.18.0

func (in *RedisCheck) DeepCopy() *RedisCheck

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

func (*RedisCheck) DeepCopyInto added in v0.18.0

func (in *RedisCheck) DeepCopyInto(out *RedisCheck)

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

func (RedisCheck) GetEndpoint added in v0.18.0

func (c RedisCheck) GetEndpoint() string

func (RedisCheck) GetType added in v0.18.0

func (c RedisCheck) GetType() string

type RelationshipSpec added in v0.38.85

type RelationshipSpec struct {
	// The type of relationship, e.g. dependsOn, subcomponentOf, providesApis, consumesApis
	Type string `json:"type,omitempty"`
	Ref  string `json:"ref,omitempty"`
}

func (*RelationshipSpec) DeepCopy added in v0.38.85

func (in *RelationshipSpec) DeepCopy() *RelationshipSpec

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

func (*RelationshipSpec) DeepCopyInto added in v0.38.85

func (in *RelationshipSpec) DeepCopyInto(out *RelationshipSpec)

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

type ResourceSelector added in v0.38.44

type ResourceSelector struct {
	Name          string `yaml:"name,omitempty" json:"name,omitempty"`
	LabelSelector string `json:"labelSelector,omitempty" yaml:"labelSelector,omitempty"`
	FieldSelector string `json:"fieldSelector,omitempty" yaml:"fieldSelector,omitempty"`
}

func (*ResourceSelector) DeepCopy added in v0.38.44

func (in *ResourceSelector) DeepCopy() *ResourceSelector

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

func (*ResourceSelector) DeepCopyInto added in v0.38.44

func (in *ResourceSelector) DeepCopyInto(out *ResourceSelector)

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

type ResourceSelectors added in v0.38.114

type ResourceSelectors []ResourceSelector

func (ResourceSelectors) DeepCopy added in v0.38.114

func (in ResourceSelectors) DeepCopy() ResourceSelectors

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

func (ResourceSelectors) DeepCopyInto added in v0.38.114

func (in ResourceSelectors) DeepCopyInto(out *ResourceSelectors)

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

func (ResourceSelectors) GormDBDataType added in v0.38.114

func (ResourceSelectors) GormDBDataType(db *gorm.DB, field *schema.Field) string

GormDBDataType gorm db data type

func (ResourceSelectors) GormDataType added in v0.38.114

func (rs ResourceSelectors) GormDataType() string

GormDataType gorm common data type

func (ResourceSelectors) GormValue added in v0.38.114

func (rs ResourceSelectors) GormValue(ctx context.Context, db *gorm.DB) clause.Expr

func (*ResourceSelectors) Scan added in v0.38.114

func (rs *ResourceSelectors) Scan(val interface{}) error

func (ResourceSelectors) Value added in v0.38.114

func (rs ResourceSelectors) Value() (driver.Value, error)

type Restic added in v0.19.0

type Restic struct {
	ResticCheck `yaml:",inline" json:"inline"`
}

func (*Restic) DeepCopy added in v0.19.0

func (in *Restic) DeepCopy() *Restic

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

func (*Restic) DeepCopyInto added in v0.19.0

func (in *Restic) DeepCopyInto(out *Restic)

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

type ResticCheck added in v0.19.0

type ResticCheck struct {
	Description `yaml:",inline" json:",inline"`
	// Repository The restic repository path eg: rest:https://user:pass@host:8000/ or rest:https://host:8000/ or s3:s3.amazonaws.com/bucket_name
	Repository string `yaml:"repository" json:"repository"`
	// Password for the restic repository
	Password *kommons.EnvVar `yaml:"password" json:"password"`
	// MaxAge for backup freshness
	MaxAge string `yaml:"maxAge" json:"maxAge"`
	// CheckIntegrity when enabled will check the Integrity and consistency of the restic reposiotry
	CheckIntegrity bool `yaml:"checkIntegrity,omitempty" json:"checkIntegrity,omitempty"`
	// AccessKey access key id for connection with aws s3, minio, wasabi, alibaba oss
	AccessKey *kommons.EnvVar `yaml:"accessKey,omitempty" json:"accessKey,omitempty"`
	// SecretKey secret access key for connection with aws s3, minio, wasabi, alibaba oss
	SecretKey *kommons.EnvVar `yaml:"secretKey,omitempty" json:"secretKey,omitempty"`
	// CaCert path to the root cert. In case of self-signed certificates
	CaCert string `yaml:"caCert,omitempty" json:"caCert,omitempty"`
}

func (*ResticCheck) DeepCopy added in v0.19.0

func (in *ResticCheck) DeepCopy() *ResticCheck

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

func (*ResticCheck) DeepCopyInto added in v0.19.0

func (in *ResticCheck) DeepCopyInto(out *ResticCheck)

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

func (ResticCheck) GetEndpoint added in v0.19.0

func (c ResticCheck) GetEndpoint() string

func (ResticCheck) GetType added in v0.19.0

func (c ResticCheck) GetType() string

type ResultMode added in v0.38.52

type ResultMode string

type S3

type S3 struct {
	S3Check `yaml:",inline" json:"inline"`
}

S3 check will:

* list objects in the bucket to check for Read permissions * PUT an object into the bucket for Write permissions * download previous uploaded object to check for Get permissions

[include:aws/s3_bucket_pass.yaml]

func (*S3) DeepCopy

func (in *S3) DeepCopy() *S3

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

func (*S3) DeepCopyInto

func (in *S3) DeepCopyInto(out *S3)

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

type S3Check

type S3Check struct {
	Description `yaml:",inline" json:",inline"`
	Bucket      Bucket `yaml:"bucket" json:"bucket,omitempty"`
	AccessKey   string `yaml:"accessKey" json:"accessKey,omitempty"`
	SecretKey   string `yaml:"secretKey" json:"secretKey,omitempty"`
	ObjectPath  string `yaml:"objectPath" json:"objectPath,omitempty"`
	// Skip TLS verify when connecting to s3
	SkipTLSVerify bool `yaml:"skipTLSVerify,omitempty" json:"skipTLSVerify,omitempty"`
}

func (*S3Check) DeepCopy

func (in *S3Check) DeepCopy() *S3Check

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

func (*S3Check) DeepCopyInto

func (in *S3Check) DeepCopyInto(out *S3Check)

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

func (S3Check) GetEndpoint

func (c S3Check) GetEndpoint() string

func (S3Check) GetType

func (c S3Check) GetType() string

type SFTPConnection added in v0.38.161

type SFTPConnection struct {
	// Port for the SSH server. Defaults to 22
	Port int             `yaml:"port,omitempty" json:"port,omitempty"`
	Host string          `yaml:"host" json:"host"`
	Auth *Authentication `yaml:"auth" json:"auth"`
}

func (*SFTPConnection) DeepCopy added in v0.38.161

func (in *SFTPConnection) DeepCopy() *SFTPConnection

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

func (*SFTPConnection) DeepCopyInto added in v0.38.161

func (in *SFTPConnection) DeepCopyInto(out *SFTPConnection)

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

func (SFTPConnection) GetPort added in v0.38.161

func (c SFTPConnection) GetPort() int

type SMBConnection added in v0.38.49

type SMBConnection struct {
	//Port on which smb server is running. Defaults to 445
	Port int             `yaml:"port,omitempty" json:"port,omitempty"`
	Auth *Authentication `yaml:"auth" json:"auth"`
	//Domain...
	Domain string `yaml:"domain,omitempty" json:"domain,omitempty"`
	// Workstation...
	Workstation string `yaml:"workstation,omitempty" json:"workstation,omitempty"`
	//Sharename to mount from the samba server
	Sharename string `yaml:"sharename,omitempty" json:"sharename,omitempty"`
	//SearchPath sub-path inside the mount location
	SearchPath string `yaml:"searchPath,omitempty" json:"searchPath,omitempty" `
}

func (*SMBConnection) DeepCopy added in v0.38.49

func (in *SMBConnection) DeepCopy() *SMBConnection

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

func (*SMBConnection) DeepCopyInto added in v0.38.49

func (in *SMBConnection) DeepCopyInto(out *SMBConnection)

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

func (SMBConnection) GetPort added in v0.38.49

func (c SMBConnection) GetPort() int

type SQLCheck added in v0.19.2

type SQLCheck struct {
	Description `yaml:",inline" json:",inline"`
	Templatable `yaml:",inline" json:",inline"`
	Connection  `yaml:",inline" json:",inline"`
	Query       string `yaml:"query" json:"query,omitempty" template:"true"`
	// Number rows to check for
	Result int `yaml:"results" json:"results,omitempty"`
}

func (*SQLCheck) DeepCopy added in v0.19.2

func (in *SQLCheck) DeepCopy() *SQLCheck

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

func (*SQLCheck) DeepCopyInto added in v0.19.2

func (in *SQLCheck) DeepCopyInto(out *SQLCheck)

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

func (SQLCheck) GetEndpoint added in v0.19.2

func (c SQLCheck) GetEndpoint() string

func (*SQLCheck) GetQuery added in v0.19.2

func (c *SQLCheck) GetQuery() string

type Selector added in v0.38.85

type Selector struct {
	Name   string            `json:"name,omitempty"`
	Labels map[string]string `json:"labels,omitempty"`
}

func (*Selector) DeepCopy added in v0.38.85

func (in *Selector) DeepCopy() *Selector

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

func (*Selector) DeepCopyInto added in v0.38.85

func (in *Selector) DeepCopyInto(out *Selector)

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

type Size added in v0.38.16

type Size string

func (Size) String added in v0.38.16

func (s Size) String() string

func (Size) Value added in v0.38.16

func (s Size) Value() (*int64, error)

type SrvReply

type SrvReply struct {
	Target   string `yaml:"target,omitempty"`
	Port     int    `yaml:"port,omitempty"`
	Priority int    `yaml:"priority,omitempty"`
	Weight   int    `yaml:"wight,omitempty"`
}

func (*SrvReply) DeepCopy

func (in *SrvReply) DeepCopy() *SrvReply

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

func (*SrvReply) DeepCopyInto

func (in *SrvReply) DeepCopyInto(out *SrvReply)

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

type Summary added in v0.38.85

type Summary struct {
	Healthy   int                       `json:"healthy,omitempty"`
	Unhealthy int                       `json:"unhealthy,omitempty"`
	Warning   int                       `json:"warning,omitempty"`
	Info      int                       `json:"info,omitempty"`
	Incidents map[string]map[string]int `json:"incidents,omitempty"`
	Insights  map[string]map[string]int `json:"insights,omitempty"`
}

func (Summary) Add added in v0.38.85

func (s Summary) Add(b Summary) Summary

func (*Summary) DeepCopy added in v0.38.85

func (in *Summary) DeepCopy() *Summary

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

func (*Summary) DeepCopyInto added in v0.38.85

func (in *Summary) DeepCopyInto(out *Summary)

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

func (Summary) GetStatus added in v0.38.85

func (s Summary) GetStatus() ComponentPropertyStatus

func (Summary) GormDBDataType added in v0.38.106

func (Summary) GormDBDataType(db *gorm.DB, field *schema.Field) string

func (Summary) GormDataType added in v0.38.106

func (Summary) GormDataType() string

GormDataType gorm common data type

func (Summary) GormValue added in v0.38.106

func (s Summary) GormValue(ctx context.Context, db *gorm.DB) clause.Expr

func (*Summary) Scan added in v0.38.106

func (s *Summary) Scan(val interface{}) error

Scan scan value into Jsonb, implements sql.Scanner interface

func (Summary) String added in v0.38.85

func (s Summary) String() string

func (Summary) Value added in v0.38.106

func (s Summary) Value() (driver.Value, error)

Scan scan value into Jsonb, implements sql.Scanner interface

type SystemTemplate added in v0.38.106

type SystemTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SystemTemplateSpec   `json:"spec,omitempty"`
	Status            SystemTemplateStatus `json:"status,omitempty"`
}

+kubebuilder:subresource:status

func (*SystemTemplate) DeepCopy added in v0.38.106

func (in *SystemTemplate) DeepCopy() *SystemTemplate

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

func (*SystemTemplate) DeepCopyInto added in v0.38.106

func (in *SystemTemplate) DeepCopyInto(out *SystemTemplate)

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

func (*SystemTemplate) DeepCopyObject added in v0.38.106

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

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

func (SystemTemplate) GetPersistedID added in v0.38.106

func (s SystemTemplate) GetPersistedID() string

func (SystemTemplate) IsEmpty added in v0.38.106

func (s SystemTemplate) IsEmpty() bool

type SystemTemplateList added in v0.38.106

type SystemTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SystemTemplate `json:"items"`
}

SystemTemplateList contains a list of SystemTemplate

func (*SystemTemplateList) DeepCopy added in v0.38.106

func (in *SystemTemplateList) DeepCopy() *SystemTemplateList

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

func (*SystemTemplateList) DeepCopyInto added in v0.38.106

func (in *SystemTemplateList) DeepCopyInto(out *SystemTemplateList)

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

func (*SystemTemplateList) DeepCopyObject added in v0.38.106

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

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

type SystemTemplateSpec added in v0.38.106

type SystemTemplateSpec struct {
	Type       string          `json:"type,omitempty"`
	Id         *Template       `json:"id,omitempty"` //nolint
	Schedule   string          `json:"schedule,omitempty"`
	Tooltip    string          `json:"tooltip,omitempty"`
	Icon       string          `json:"icon,omitempty"`
	Text       string          `json:"text,omitempty"`
	Label      string          `json:"label,omitempty"`
	Owner      Owner           `json:"owner,omitempty"`
	Components []ComponentSpec `json:"components,omitempty"`
	// Properties are created once the full component tree is created, property lookup functions
	// can return a map of coomponent name => properties to allow for bulk property lookups
	// being applied to multiple components in the tree
	Properties Properties `json:"properties,omitempty"`
	// Lookup and associate config items with this component
	Configs []Config `json:"configs,omitempty"`
}

func (*SystemTemplateSpec) DeepCopy added in v0.38.106

func (in *SystemTemplateSpec) DeepCopy() *SystemTemplateSpec

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

func (*SystemTemplateSpec) DeepCopyInto added in v0.38.106

func (in *SystemTemplateSpec) DeepCopyInto(out *SystemTemplateSpec)

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

func (SystemTemplateSpec) GetSchedule added in v0.38.106

func (spec SystemTemplateSpec) GetSchedule() string

type SystemTemplateStatus added in v0.38.106

type SystemTemplateStatus struct {
	PersistedID *string `json:"persistentID,omitempty"`
	// +optional
	ObservedGeneration int64  `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	Status             string `json:"status,omitempty"`
}

func (*SystemTemplateStatus) DeepCopy added in v0.38.106

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

func (*SystemTemplateStatus) DeepCopyInto added in v0.38.106

func (in *SystemTemplateStatus) DeepCopyInto(out *SystemTemplateStatus)

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

type TCP

type TCP struct {
	TCPCheck `yaml:",inline" json:"inline"`
}

func (*TCP) DeepCopy

func (in *TCP) DeepCopy() *TCP

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

func (*TCP) DeepCopyInto

func (in *TCP) DeepCopyInto(out *TCP)

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

type TCPCheck

type TCPCheck struct {
	Description     `yaml:",inline" json:",inline"`
	Endpoint        string `yaml:"endpoint" json:"endpoint,omitempty"`
	ThresholdMillis int64  `yaml:"thresholdMillis,omitempty" json:"thresholdMillis,omitempty"`
}

func (*TCPCheck) DeepCopy

func (in *TCPCheck) DeepCopy() *TCPCheck

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

func (*TCPCheck) DeepCopyInto

func (in *TCPCheck) DeepCopyInto(out *TCPCheck)

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

func (TCPCheck) GetEndpoint added in v0.11.4

func (t TCPCheck) GetEndpoint() string

func (TCPCheck) GetType added in v0.11.4

func (t TCPCheck) GetType() string

type Templatable added in v0.38.4

type Templatable struct {
	Test      Template `yaml:"test,omitempty" json:"test,omitempty"`
	Display   Template `yaml:"display,omitempty" json:"display,omitempty"`
	Transform Template `yaml:"transform,omitempty" json:"transform,omitempty"`
}

func (*Templatable) DeepCopy added in v0.38.4

func (in *Templatable) DeepCopy() *Templatable

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

func (*Templatable) DeepCopyInto added in v0.38.4

func (in *Templatable) DeepCopyInto(out *Templatable)

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

func (Templatable) GetDisplayTemplate added in v0.38.4

func (t Templatable) GetDisplayTemplate() Template

func (Templatable) GetTestFunction added in v0.38.4

func (t Templatable) GetTestFunction() Template

func (Templatable) GetTransformer added in v0.38.70

func (t Templatable) GetTransformer() Template

type Template added in v0.38.4

type Template struct {
	Template   string `yaml:"template,omitempty" json:"template,omitempty"`
	JSONPath   string `yaml:"jsonPath,omitempty" json:"jsonPath,omitempty"`
	Expression string `yaml:"expr,omitempty" json:"expr,omitempty"`
	Javascript string `yaml:"javascript,omitempty" json:"javascript,omitempty"`
}

func (*Template) DeepCopy added in v0.38.4

func (in *Template) DeepCopy() *Template

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

func (*Template) DeepCopyInto added in v0.38.4

func (in *Template) DeepCopyInto(out *Template)

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

func (Template) IsEmpty added in v0.38.27

func (t Template) IsEmpty() bool

type Test added in v0.38.4

type Test struct {
	Template `yaml:",inline" json:",inline"`
}

func (*Test) DeepCopy added in v0.38.4

func (in *Test) DeepCopy() *Test

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

func (*Test) DeepCopyInto added in v0.38.4

func (in *Test) DeepCopyInto(out *Test)

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

func (Test) GetTestTemplate added in v0.38.4

func (t Test) GetTestTemplate() Template

type TestFunction added in v0.38.4

type TestFunction interface {
	GetTestFunction() Template
}

+k8s:deepcopy-gen=false

type Text added in v0.38.85

type Text struct {
	Tooltip string `json:"tooltip,omitempty"`
	Icon    string `json:"icon,omitempty"`
	Text    string `json:"text,omitempty"`
	Label   string `json:"label,omitempty"`
}

func (*Text) DeepCopy added in v0.38.85

func (in *Text) DeepCopy() *Text

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

func (*Text) DeepCopyInto added in v0.38.85

func (in *Text) DeepCopyInto(out *Text)

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

type Transformer added in v0.38.70

type Transformer interface {
	GetTransformer() Template
}

+k8s:deepcopy-gen=false

type VarSource

type VarSource struct {
	// Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
	// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
	// +optional
	FieldRef *corev1.ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,1,opt,name=fieldRef"`
	// +optional
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
	// Selects a key of a ConfigMap.
	// +optional
	ConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,3,opt,name=configMapKeyRef"`
	// Selects a key of a secret in the pod's namespace
	// +optional
	SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,4,opt,name=secretKeyRef"`
}

VarSource represents a source for a value

func (*VarSource) DeepCopy added in v0.11.4

func (in *VarSource) DeepCopy() *VarSource

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

func (*VarSource) DeepCopyInto added in v0.11.4

func (in *VarSource) DeepCopyInto(out *VarSource)

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

Jump to

Keyboard shortcuts

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