Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the canaries v1 API group +kubebuilder:object:generate:=true +groupName=canaries.flanksource.com
Index ¶
- Constants
- Variables
- func GetEnvVarRefValue(kc kubernetes.Interface, ns string, from *VarSource, obj runtime.Object) (string, error)
- func SanitizeEndpoints(connection string) string
- type AlertManager
- type AlertManagerCheck
- type Artifact
- type Authentication
- type AwsConfig
- type AwsConfigCheck
- type AwsConfigRule
- type AwsConfigRuleCheck
- type AzureConnection
- type AzureDevopsCheck
- func (in *AzureDevopsCheck) DeepCopy() *AzureDevopsCheck
- func (in *AzureDevopsCheck) DeepCopyInto(out *AzureDevopsCheck)
- func (c AzureDevopsCheck) GetEndpoint() string
- func (c AzureDevopsCheck) GetPassword() types.EnvVar
- func (c AzureDevopsCheck) GetType() string
- func (c AzureDevopsCheck) GetUsername() types.EnvVar
- type Bucket
- type Canary
- func (in *Canary) DeepCopy() *Canary
- func (in *Canary) DeepCopyInto(out *Canary)
- func (in *Canary) DeepCopyObject() runtime.Object
- func (c Canary) GetAllLabels(extra map[string]string) map[string]string
- func (c Canary) GetCheckID(checkName string) string
- func (c Canary) GetDescription(check external.Check) string
- func (c Canary) GetKey(check external.Check) string
- func (c Canary) GetNamespacedName() types.NamespacedName
- func (c Canary) GetPersistedID() string
- func (c *Canary) GetRunnerName() string
- func (c Canary) ID() string
- func (c Canary) IsDebug() bool
- func (c Canary) IsTrace() bool
- func (c Canary) NextRuntime(lastRuntime time.Time) (*time.Time, error)
- func (c *Canary) SetRunnerName(name string)
- func (c Canary) String() string
- type CanaryList
- type CanarySpec
- type CanaryStatus
- type CanaryStatusCondition
- type CatalogCheck
- type Check
- type CheckRelationship
- type CheckStatus
- type CloudWatch
- type CloudWatchCheck
- type CloudWatchFilter
- type Component
- type ComponentCheck
- type ComponentChecks
- func (in ComponentChecks) DeepCopy() ComponentChecks
- func (in ComponentChecks) DeepCopyInto(out *ComponentChecks)
- func (ComponentChecks) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (cs ComponentChecks) GormDataType() string
- func (cs ComponentChecks) GormValue(ctx context.Context, db *gorm.DB) clause.Expr
- func (cs *ComponentChecks) Scan(val interface{}) error
- func (cs ComponentChecks) Value() (driver.Value, error)
- type ComponentList
- type ComponentSpec
- type ComponentSpecObject
- type ComponentStatus
- type Condition
- type ConditionStatus
- type ConfigDB
- type ConfigDBCheck
- type ConfigLookup
- type Connection
- type ContainerdPull
- type ContainerdPullCheck
- type ContainerdPush
- type ContainerdPushCheck
- type DNS
- type DNSCheck
- type DatabaseBackup
- type DatabaseBackupCheck
- type Description
- func (in *Description) DeepCopy() *Description
- func (in *Description) DeepCopyInto(out *Description)
- func (d Description) GetDescription() string
- func (d Description) GetIcon() string
- func (d Description) GetLabels() map[string]string
- func (d Description) GetMetricsSpec() []external.Metrics
- func (d Description) GetName() string
- func (d Description) GetNamespace() string
- func (d Description) GetTransformDeleteStrategy() string
- func (d Description) String() string
- type Display
- type DisplayTemplate
- type DockerPull
- type DockerPullCheck
- type DockerPush
- type DockerPushCheck
- type Duration
- type DynatraceCheck
- type EC2
- type EC2Check
- type Elasticsearch
- type ElasticsearchCheck
- type Exec
- type ExecCheck
- type ExecConnections
- type Folder
- type FolderCheck
- type FolderFilter
- type FolderFilterContext
- type FolderTest
- type ForEach
- type GCPDatabase
- type Git
- type GitCheckout
- type GitHubCheck
- type GitProtocolCheck
- type HTTP
- type HTTPCheck
- type Helm
- type HelmCheck
- type ICMP
- type ICMPCheck
- type JSONCheck
- type Jmeter
- type JmeterCheck
- type Junit
- type JunitCheck
- type Kubernetes
- type KubernetesCheck
- type KubernetesResourceCheck
- func (in *KubernetesResourceCheck) DeepCopy() *KubernetesResourceCheck
- func (in *KubernetesResourceCheck) DeepCopyInto(out *KubernetesResourceCheck)
- func (c KubernetesResourceCheck) GetEndpoint() string
- func (c KubernetesResourceCheck) GetType() string
- func (c KubernetesResourceCheck) TotalResources() int
- type KubernetesResourceCheckRetries
- func (in *KubernetesResourceCheckRetries) DeepCopy() *KubernetesResourceCheckRetries
- func (in *KubernetesResourceCheckRetries) DeepCopyInto(out *KubernetesResourceCheckRetries)
- func (t *KubernetesResourceCheckRetries) GetDelay() (time.Duration, error)
- func (t *KubernetesResourceCheckRetries) GetInterval() (time.Duration, error)
- func (t *KubernetesResourceCheckRetries) GetTimeout() (time.Duration, error)
- type KubernetesResourceCheckWaitFor
- func (in *KubernetesResourceCheckWaitFor) DeepCopy() *KubernetesResourceCheckWaitFor
- func (in *KubernetesResourceCheckWaitFor) DeepCopyInto(out *KubernetesResourceCheckWaitFor)
- func (t *KubernetesResourceCheckWaitFor) GetInterval() (time.Duration, error)
- func (t *KubernetesResourceCheckWaitFor) GetTimeout() (time.Duration, error)
- type KubernetesResourceChecks
- type LDAP
- type LDAPCheck
- type Labels
- type Mongo
- type MongoDBCheck
- type MsSQL
- type MssqlCheck
- type MysqlCheck
- type Namespace
- type NamespaceCheck
- type NamespaceSelector
- type Oauth2Config
- type OpenSearchCheck
- type Owner
- type ParentLookup
- type Pod
- type PodCheck
- type Postgres
- type PostgresCheck
- type Prometheus
- type PrometheusCheck
- type Properties
- type Property
- type Redis
- type RedisCheck
- type Relatable
- type RelationshipSpec
- type ResourceSelector
- type Restic
- type ResticCheck
- type ResultMode
- type S3
- type S3Check
- type SQLCheck
- type Selector
- type Size
- type SrvReply
- type TCP
- type TCPCheck
- type Templatable
- type Template
- type Test
- type TestFunction
- type Topology
- func (in *Topology) DeepCopy() *Topology
- func (in *Topology) DeepCopyInto(out *Topology)
- func (in *Topology) DeepCopyObject() runtime.Object
- func (s Topology) GetPersistedID() string
- func (s Topology) IsEmpty() bool
- func (s Topology) NextRuntime() (*time.Time, error)
- func (s Topology) String() string
- type TopologyList
- type TopologySpec
- type TopologyStatus
- type Transformer
- type VarSource
- type WebhookCheck
Constants ¶
const ( OnTransformMarkHealthy = "MarkHealthy" OnTransformMarkUnhealthy = "MarkUnhealthy" OnTransformIgnore = "Ignore" )
const ( SQLServerType = "sqlserver" PostgresType = "postgres" SqliteType = "sqlite" )
const (
JunitResultMode = "junit"
)
Variables ¶
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 )
var AllChecks = []external.Check{ AlertManagerCheck{}, AwsConfigCheck{}, AwsConfigRuleCheck{}, AzureDevopsCheck{}, CloudWatchCheck{}, ConfigDBCheck{}, CatalogCheck{}, ContainerdPullCheck{}, ContainerdPushCheck{}, DatabaseBackupCheck{}, DNSCheck{}, DockerPullCheck{}, DockerPushCheck{}, DynatraceCheck{}, EC2Check{}, ElasticsearchCheck{}, ExecCheck{}, FolderCheck{}, GitHubCheck{}, GitProtocolCheck{}, HelmCheck{}, HTTPCheck{}, ICMPCheck{}, JmeterCheck{}, JunitCheck{}, Kubernetes{}, LDAPCheck{}, MongoDBCheck{}, MssqlCheck{}, MysqlCheck{}, NamespaceCheck{}, OpenSearchCheck{}, PodCheck{}, PostgresCheck{}, PrometheusCheck{}, RedisCheck{}, ResticCheck{}, S3Check{}, TCPCheck{}, WebhookCheck{}, }
var RFC3339NanoWithoutTimezone = "2006-01-02T15:04:05.999999999"
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.
func SanitizeEndpoints ¶ added in v1.0.99
Obfuscate passwords of the form ' password=xxxxx ' from connectionString since connectionStrings are used as metric labels and we don't want to leak passwords Returns the Connection string with the password replaced by '###'
Types ¶
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"` Connection `yaml:",inline" json:",inline"` Relatable `yaml:",inline" json:",inline"` Alerts []string `yaml:"alerts" json:"alerts,omitempty" template:"true"` Filters map[string]string `yaml:"filters" json:"filters,omitempty" template:"true"` ExcludeFilters map[string]string `yaml:"exclude_filters" json:"exclude_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) GetType ¶ added in v0.38.218
func (c AlertManagerCheck) GetType() string
type Artifact ¶ added in v1.0.123
type Artifact struct { // Path to the artifact on the check runner. // Special paths: /dev/stdout & /dev/stdin Path string `yaml:"path" json:"path"` }
func (*Artifact) DeepCopy ¶ added in v1.0.123
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.
func (*Artifact) DeepCopyInto ¶ added in v1.0.123
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Authentication ¶ added in v0.17.0
type Authentication struct { Username types.EnvVar `yaml:"username,omitempty" json:"username,omitempty"` Password types.EnvVar `yaml:"password,omitempty" json:"password,omitempty"` }
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsConfig.
func (*AwsConfig) DeepCopyInto ¶ added in v0.38.56
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"` *connection.AWSConnection `yaml:",inline" json:",inline"` 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"` *connection.AWSConnection `yaml:",inline" json:",inline"` }
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 AzureConnection ¶ added in v1.0.40
type AzureConnection struct { ConnectionName string `yaml:"connection,omitempty" json:"connection,omitempty"` ClientID *types.EnvVar `yaml:"clientID,omitempty" json:"clientID,omitempty"` ClientSecret *types.EnvVar `yaml:"clientSecret,omitempty" json:"clientSecret,omitempty"` TenantID string `yaml:"tenantID,omitempty" json:"tenantID,omitempty"` }
func (*AzureConnection) DeepCopy ¶ added in v1.0.40
func (in *AzureConnection) DeepCopy() *AzureConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureConnection.
func (*AzureConnection) DeepCopyInto ¶ added in v1.0.40
func (in *AzureConnection) DeepCopyInto(out *AzureConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureConnection) HydrateConnection ¶ added in v1.0.40
func (g *AzureConnection) HydrateConnection(ctx checkContext) error
HydrateConnection attempts to find the connection by name and populate the endpoint and credentials.
type AzureDevopsCheck ¶ added in v0.38.271
type AzureDevopsCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` ConnectionName string `yaml:"connection,omitempty" json:"connection,omitempty"` Organization string `yaml:"organization" json:"organization"` PersonalAccessToken types.EnvVar `yaml:"personalAccessToken" json:"personalAccessToken"` Project string `yaml:"project" json:"project"` // Name or ID of the Project Pipeline string `yaml:"pipeline" json:"pipeline"` Variables map[string]string `yaml:"variables" json:"variables"` Branches []string `ymal:"branch" json:"branch"` // ThresholdMillis the maximum duration of a Run. (Optional) ThresholdMillis *int `yaml:"thresholdMillis" json:"thresholdMillis"` }
func (*AzureDevopsCheck) DeepCopy ¶ added in v0.38.271
func (in *AzureDevopsCheck) DeepCopy() *AzureDevopsCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDevopsCheck.
func (*AzureDevopsCheck) DeepCopyInto ¶ added in v0.38.271
func (in *AzureDevopsCheck) DeepCopyInto(out *AzureDevopsCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AzureDevopsCheck) GetEndpoint ¶ added in v0.38.271
func (c AzureDevopsCheck) GetEndpoint() string
func (AzureDevopsCheck) GetPassword ¶ added in v1.0.102
func (c AzureDevopsCheck) GetPassword() types.EnvVar
func (AzureDevopsCheck) GetType ¶ added in v0.38.271
func (c AzureDevopsCheck) GetType() string
func (AzureDevopsCheck) GetUsername ¶ added in v1.0.102
func (c AzureDevopsCheck) GetUsername() types.EnvVar
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket.
func (*Bucket) DeepCopyInto ¶
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="Replicas",type=integer,priority=1,JSONPath=`.spec.replicas` +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 +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas
func NewCanaryFromSpec ¶ added in v0.38.85
func NewCanaryFromSpec(name, namespace string, spec CanarySpec) Canary
func (*Canary) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Canary.
func (*Canary) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Canary) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Canary) GetAllLabels ¶ added in v0.36.0
func (Canary) GetCheckID ¶ added in v0.38.168
func (Canary) GetDescription ¶ added in v0.11.4
func (Canary) GetNamespacedName ¶ added in v1.0.79
func (c Canary) GetNamespacedName() types.NamespacedName
func (Canary) GetPersistedID ¶ added in v0.38.102
func (*Canary) GetRunnerName ¶ added in v0.38.48
func (Canary) NextRuntime ¶ added in v1.0.157
func (*Canary) SetRunnerName ¶ added in v0.38.48
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 { //+kubebuilder:default=1 //+optional Replicas int `yaml:"replicas,omitempty" json:"replicas,omitempty"` 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"` GitProtocol []GitProtocolCheck `yaml:"gitProtocol,omitempty" json:"gitProtocol,omitempty"` Kubernetes []KubernetesCheck `yaml:"kubernetes,omitempty" json:"kubernetes,omitempty"` KubernetesResource []KubernetesResourceCheck `yaml:"kubernetesResource,omitempty" json:"kubernetesResource,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"` Catalog []CatalogCheck `yaml:"catalog,omitempty" json:"catalog,omitempty"` Opensearch []OpenSearchCheck `yaml:"opensearch,omitempty" json:"opensearch,omitempty"` Elasticsearch []ElasticsearchCheck `yaml:"elasticsearch,omitempty" json:"elasticsearch,omitempty"` AlertManager []AlertManagerCheck `yaml:"alertmanager,omitempty" json:"alertmanager,omitempty"` Dynatrace []DynatraceCheck `yaml:"dynatrace,omitempty" json:"dynatrace,omitempty"` AzureDevops []AzureDevopsCheck `yaml:"azureDevops,omitempty" json:"azureDevops,omitempty"` Webhook *WebhookCheck `yaml:"webhook,omitempty" json:"webhook,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
func (CanarySpec) KeepOnly ¶ added in v1.0.227
func (spec CanarySpec) KeepOnly(names ...string) CanarySpec
KeepOnly removes all the checks from the spec that do not match the given name (exactly)
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"` // Replicas keep track of the number of replicas Replicas int `json:"replicas,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 CatalogCheck ¶ added in v1.0.250
type CatalogCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` Selector types.ResourceSelectors `yaml:"selector" json:"selector"` }
func (*CatalogCheck) DeepCopy ¶ added in v1.0.250
func (in *CatalogCheck) DeepCopy() *CatalogCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogCheck.
func (*CatalogCheck) DeepCopyInto ¶ added in v1.0.250
func (in *CatalogCheck) DeepCopyInto(out *CatalogCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CatalogCheck) GetEndpoint ¶ added in v1.0.250
func (c CatalogCheck) GetEndpoint() string
func (CatalogCheck) GetType ¶ added in v1.0.250
func (c CatalogCheck) GetType() string
type Check ¶ added in v0.38.11
func (*Check) DeepCopy ¶ added in v0.38.12
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Check.
func (*Check) DeepCopyInto ¶ added in v0.38.12
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 (Check) GetEndpoint ¶ added in v0.38.11
type CheckRelationship ¶ added in v1.0.129
type CheckRelationship struct { Components []duty.LookupSpec `yaml:"components,omitempty" json:"components,omitempty"` Configs []duty.LookupSpec `yaml:"configs,omitempty" json:"configs,omitempty"` }
CheckRelationship defines a way to link the check results to components and configs using lookup expressions.
func (*CheckRelationship) DeepCopy ¶ added in v1.0.129
func (in *CheckRelationship) DeepCopy() *CheckRelationship
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckRelationship.
func (*CheckRelationship) DeepCopyInto ¶ added in v1.0.129
func (in *CheckRelationship) DeepCopyInto(out *CheckRelationship)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` connection.AWSConnection `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` CloudWatchFilter `yaml:",inline" json:",inline"` }
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"` }
+kubebuilder:object:root=true
func (*Component) DeepCopy ¶ added in v0.38.85
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶ added in v0.38.85
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
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 types.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.
func (ComponentCheck) Hash ¶ added in v1.0.152
func (c ComponentCheck) Hash() string
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
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) Scan ¶ added in v0.38.151
func (cs *ComponentChecks) Scan(val interface{}) 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 ComponentSpec ¶ added in v0.38.85
type ComponentSpec struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,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"` Labels map[string]string `json:"labels,omitempty"` // If set to true, do not display in UI Hidden bool `json:"hidden,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 types.ResourceSelectors `json:"selectors,omitempty"` ComponentChecks ComponentChecks `json:"checks,omitempty"` // Lookup and associate config items with this component Configs types.ConfigQueries `json:"configs,omitempty"` // Summary *types.Summary `json:"summary,omitempty"` // +kubebuilder:validation:XPreserveUnknownFields // 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"` // Reference to populate parent_id ParentLookup *ParentLookup `json:"parentLookup,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 types.ComponentStatus `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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
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 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigDB.
func (*ConfigDB) DeepCopyInto ¶ added in v0.38.90
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 *types.ConfigQuery `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 Connection ¶ added in v0.38.25
type Connection struct { // Connection name e.g. connection://http/google Connection string `yaml:"connection,omitempty" json:"connection,omitempty"` // Connection url, interpolated with username,password URL string `yaml:"url,omitempty" json:"url,omitempty" template:"true"` connection.Authentication `yaml:",inline" json:",inline"` }
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) 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS.
func (*DNS) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSCheck.
func (*DNSCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DNSCheck) GetEndpoint ¶
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"` // Namespace to insert the check into, if different to the namespace the canary is defined, e.g. // +kubebuilder:validation:Schemaless // +kubebuilder:validation:Type=string Namespace json.RawMessage `yaml:"namespace,omitempty" json:"namespace,omitempty" jsonschema:"type=string"` // 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"` // Transformed checks have a delete strategy on deletion they can either be marked healthy, unhealthy or left as is TransformDeleteStrategy string `yaml:"transformDeleteStrategy,omitempty" json:"transformDeleteStrategy,omitempty"` // Metrics to expose from check results Metrics []external.Metrics `json:"metrics,omitempty" yaml:"metrics,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) GetMetricsSpec ¶ added in v1.0.40
func (d Description) GetMetricsSpec() []external.Metrics
func (Description) GetName ¶ added in v0.38.40
func (d Description) GetName() string
func (Description) GetNamespace ¶ added in v1.0.106
func (d Description) GetNamespace() string
func (Description) GetTransformDeleteStrategy ¶ added in v1.0.10
func (d Description) GetTransformDeleteStrategy() 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Display.
func (*Display) DeepCopyInto ¶ added in v0.38.4
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
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
type DynatraceCheck ¶ added in v0.38.275
type DynatraceCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` ConnectionName string `yaml:"connection,omitempty" json:"connection,omitempty"` Host string `yaml:"host" json:"host,omitempty" template:"true"` Scheme string `yaml:"scheme" json:"scheme,omitempty"` APIKey types.EnvVar `yaml:"apiKey" json:"apiKey,omitempty"` Namespace string `yaml:"namespace" json:"namespace,omitempty" template:"true"` }
func (*DynatraceCheck) DeepCopy ¶ added in v0.38.275
func (in *DynatraceCheck) DeepCopy() *DynatraceCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynatraceCheck.
func (*DynatraceCheck) DeepCopyInto ¶ added in v0.38.275
func (in *DynatraceCheck) DeepCopyInto(out *DynatraceCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DynatraceCheck) GetEndpoint ¶ added in v0.38.275
func (t DynatraceCheck) GetEndpoint() string
func (DynatraceCheck) GetType ¶ added in v0.38.275
func (t DynatraceCheck) GetType() string
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2.
func (*EC2) DeepCopyInto ¶ added in v0.38.32
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"` connection.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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2Check.
func (*EC2Check) DeepCopyInto ¶ added in v0.33.0
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
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"` Connection `yaml:",inline" json:",inline"` 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) 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Exec.
func (*Exec) DeepCopyInto ¶ added in v0.38.54
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"` Connections ExecConnections `yaml:"connections,omitempty" json:"connections,omitempty"` // EnvVars are the environment variables that are accessible to exec processes EnvVars []types.EnvVar `yaml:"env,omitempty" json:"env,omitempty"` // Checkout details the git repository that should be mounted to the process Checkout *GitCheckout `yaml:"checkout,omitempty" json:"checkout,omitempty"` // Artifacts configure the artifacts generated by the check Artifacts []Artifact `yaml:"artifacts,omitempty" json:"artifacts,omitempty"` }
func (*ExecCheck) DeepCopy ¶ added in v0.38.54
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCheck.
func (*ExecCheck) DeepCopyInto ¶ added in v0.38.54
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 (ExecCheck) GetTestFunction ¶ added in v0.38.54
type ExecConnections ¶ added in v1.0.40
type ExecConnections struct { AWS *connection.AWSConnection `yaml:"aws,omitempty" json:"aws,omitempty"` GCP *connection.GCPConnection `yaml:"gcp,omitempty" json:"gcp,omitempty"` Azure *AzureConnection `yaml:"azure,omitempty" json:"azure,omitempty"` }
func (*ExecConnections) DeepCopy ¶ added in v1.0.40
func (in *ExecConnections) DeepCopy() *ExecConnections
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecConnections.
func (*ExecConnections) DeepCopyInto ¶ added in v1.0.40
func (in *ExecConnections) DeepCopyInto(out *ExecConnections)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Folder.
func (*Folder) DeepCopyInto ¶ added in v0.38.45
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"` // Recursive when set to true will recursively scan the folder to list the files in it. // However, symlinks are simply listed but not traversed. Recursive bool `yaml:"recursive,omitempty" json:"recursive,omitempty"` Filter FolderFilter `yaml:"filter,omitempty" json:"filter,omitempty"` FolderTest `yaml:",inline" json:",inline"` *connection.S3Connection `yaml:"awsConnection,omitempty" json:"awsConnection,omitempty"` *connection.GCSConnection `yaml:"gcpConnection,omitempty" json:"gcpConnection,omitempty"` *connection.SMBConnection `yaml:"smbConnection,omitempty" json:"smbConnection,omitempty"` *connection.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"` Since string `yaml:"since,omitempty" json:"since,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
func (f FolderFilter) New() (*FolderFilterContext, error)
func (FolderFilter) String ¶ added in v1.0.88
func (f FolderFilter) String() string
type FolderFilterContext ¶ added in v0.38.16
type FolderFilterContext struct { FolderFilter AllowDir bool // Allow directories to support recursive folder checks Since *time.Time // contains filtered or unexported fields }
+k8s:deepcopy-gen=false
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.
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 component name => properties to allow for bulk property lookups // being applied to multiple components in the tree Properties Properties `json:"properties,omitempty"` Configs []types.ConfigQuery `json:"configs,omitempty"` Selectors types.ResourceSelectors `json:"selectors,omitempty"` Relationships []RelationshipSpec `json:"relationships,omitempty"` ComponentChecks types.ComponentChecks `json:"checks,omitempty"` }
func (*ForEach) DeepCopy ¶ added in v0.38.193
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForEach.
func (*ForEach) DeepCopyInto ¶ added in v0.38.193
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GCPDatabase ¶ added in v0.38.88
type GCPDatabase struct { Project string `yaml:"project" json:"project"` Instance string `yaml:"instance" json:"instance"` *connection.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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Git.
func (*Git) DeepCopyInto ¶ added in v0.38.43
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitCheckout ¶ added in v1.0.70
type GitCheckout struct { URL string `yaml:"url,omitempty" json:"url,omitempty"` Connection string `yaml:"connection,omitempty" json:"connection,omitempty"` Username types.EnvVar `yaml:"username,omitempty" json:"username,omitempty"` Password types.EnvVar `yaml:"password,omitempty" json:"password,omitempty"` Certificate types.EnvVar `yaml:"certificate,omitempty" json:"certificate,omitempty"` // Destination is the full path to where the contents of the URL should be downloaded to. // If left empty, the sha256 hash of the URL will be used as the dir name. Destination string `yaml:"destination,omitempty" json:"destination,omitempty"` }
func (*GitCheckout) DeepCopy ¶ added in v1.0.70
func (in *GitCheckout) DeepCopy() *GitCheckout
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCheckout.
func (*GitCheckout) DeepCopyInto ¶ added in v1.0.70
func (in *GitCheckout) DeepCopyInto(out *GitCheckout)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GitCheckout) GetCertificate ¶ added in v1.0.99
func (git GitCheckout) GetCertificate() types.EnvVar
func (GitCheckout) GetPassword ¶ added in v1.0.99
func (git GitCheckout) GetPassword() types.EnvVar
func (GitCheckout) GetURL ¶ added in v1.0.99
func (git GitCheckout) GetURL() types.EnvVar
func (GitCheckout) GetUsername ¶ added in v1.0.99
func (git GitCheckout) GetUsername() types.EnvVar
type GitHubCheck ¶ added in v0.38.43
type GitHubCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` ConnectionName string `yaml:"connection,omitempty" json:"connection,omitempty"` // Query to be executed. Please see https://github.com/askgitdev/askgit for more details regarding syntax Query string `yaml:"query" json:"query"` GithubToken types.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 GitProtocolCheck ¶ added in v1.0.182
type GitProtocolCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` FileName string `yaml:"filename,omitempty" json:"filename,omitempty"` Repository string `yaml:"repository" json:"repository"` Username types.EnvVar `yaml:"username" json:"username"` Password types.EnvVar `yaml:"password" json:"password"` }
func (*GitProtocolCheck) DeepCopy ¶ added in v1.0.182
func (in *GitProtocolCheck) DeepCopy() *GitProtocolCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitProtocolCheck.
func (*GitProtocolCheck) DeepCopyInto ¶ added in v1.0.182
func (in *GitProtocolCheck) DeepCopyInto(out *GitProtocolCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (GitProtocolCheck) GetEndpoint ¶ added in v1.0.182
func (c GitProtocolCheck) GetEndpoint() string
func (GitProtocolCheck) GetType ¶ added in v1.0.182
func (c GitProtocolCheck) GetType() string
type HTTP ¶
type HTTP struct {
HTTPCheck `yaml:",inline" json:"inline"`
}
[include:minimal/http_pass.yaml]
func (*HTTP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTP.
func (*HTTP) DeepCopyInto ¶
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"` Connection `yaml:",inline" json:",inline"` // Deprecated: Use url instead Endpoint string `yaml:"endpoint" json:"endpoint,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"` // Deprecated, use expr and jsonpath function 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 []types.EnvVar `yaml:"headers,omitempty" json:"headers,omitempty"` //Template the request body TemplateBody bool `yaml:"templateBody,omitempty" json:"templateBody,omitempty"` // EnvVars are the environment variables that are accesible to templated body EnvVars []types.EnvVar `yaml:"env,omitempty" json:"env,omitempty"` // Oauth2 Configuration. The client ID & Client secret should go to username & password respectively. Oauth2 *Oauth2Config `yaml:"oauth2,omitempty" json:"oauth2,omitempty"` }
func (*HTTPCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPCheck.
func (*HTTPCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Helm ¶
type Helm struct {
HelmCheck `yaml:",inline" json:"inline"`
}
[include:datasources/helm_pass.yaml]
func (*Helm) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Helm.
func (*Helm) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmCheck.
func (*HelmCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (HelmCheck) GetEndpoint ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ICMP.
func (*ICMP) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ICMPCheck.
func (*ICMPCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ICMPCheck) GetEndpoint ¶
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONCheck.
func (*JSONCheck) DeepCopyInto ¶ added in v0.17.0
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Jmeter.
func (*Jmeter) DeepCopyInto ¶ added in v0.19.1
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 the ConfigMap or Secret reference to get the JMX test plan Jmx types.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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Junit.
func (*Junit) DeepCopyInto ¶ added in v0.21.0
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"` // Artifacts configure the artifacts generated by the check Artifacts []Artifact `yaml:"artifacts,omitempty" json:"artifacts,omitempty"` }
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:"namespaceSelector,omitempty" json:"namespaceSelector,omitempty"` Resource ResourceSelector `yaml:"resource,omitempty" json:"resource,omitempty"` // KubeConfig is the kubeconfig or the path to the kubeconfig file. KubeConfig *types.EnvVar `yaml:"kubeconfig,omitempty" json:"kubeconfig,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) 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 KubernetesResourceCheck ¶ added in v1.0.259
type KubernetesResourceCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` // StaticResources are kubernetes resources that are created & only // cleared when the canary is deleted // +kubebuilder:validation:Schemaless // +kubebuilder:pruning:PreserveUnknownFields StaticResources []unstructured.Unstructured `json:"staticResources,omitempty"` // Resources are kubernetes resources that are created & cleared // after every check run. // +kubebuilder:validation:Schemaless // +kubebuilder:pruning:PreserveUnknownFields Resources []unstructured.Unstructured `json:"resources"` // Checks to run against the kubernetes resources. // +kubebuilder:validation:XPreserveUnknownFields Checks []KubernetesResourceChecks `json:"checks,omitempty"` // Set initial delays and retry intervals for checks. CheckRetries KubernetesResourceCheckRetries `json:"checkRetries,omitempty"` // Kubeconfig is the kubeconfig or the path to the kubeconfig file. Kubeconfig *types.EnvVar `yaml:"kubeconfig,omitempty" json:"kubeconfig,omitempty"` WaitFor KubernetesResourceCheckWaitFor `json:"waitFor,omitempty"` }
func (*KubernetesResourceCheck) DeepCopy ¶ added in v1.0.259
func (in *KubernetesResourceCheck) DeepCopy() *KubernetesResourceCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesResourceCheck.
func (*KubernetesResourceCheck) DeepCopyInto ¶ added in v1.0.259
func (in *KubernetesResourceCheck) DeepCopyInto(out *KubernetesResourceCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (KubernetesResourceCheck) GetEndpoint ¶ added in v1.0.259
func (c KubernetesResourceCheck) GetEndpoint() string
func (KubernetesResourceCheck) GetType ¶ added in v1.0.259
func (c KubernetesResourceCheck) GetType() string
func (KubernetesResourceCheck) TotalResources ¶ added in v1.0.259
func (c KubernetesResourceCheck) TotalResources() int
type KubernetesResourceCheckRetries ¶ added in v1.0.259
type KubernetesResourceCheckRetries struct { // Delay is the initial delay Delay string `json:"delay,omitempty"` Timeout string `json:"timeout,omitempty"` Interval string `json:"interval,omitempty"` MaxRetries int `json:"maxRetries,omitempty"` // contains filtered or unexported fields }
func (*KubernetesResourceCheckRetries) DeepCopy ¶ added in v1.0.259
func (in *KubernetesResourceCheckRetries) DeepCopy() *KubernetesResourceCheckRetries
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesResourceCheckRetries.
func (*KubernetesResourceCheckRetries) DeepCopyInto ¶ added in v1.0.259
func (in *KubernetesResourceCheckRetries) DeepCopyInto(out *KubernetesResourceCheckRetries)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesResourceCheckRetries) GetDelay ¶ added in v1.0.259
func (t *KubernetesResourceCheckRetries) GetDelay() (time.Duration, error)
func (*KubernetesResourceCheckRetries) GetInterval ¶ added in v1.0.259
func (t *KubernetesResourceCheckRetries) GetInterval() (time.Duration, error)
func (*KubernetesResourceCheckRetries) GetTimeout ¶ added in v1.0.259
func (t *KubernetesResourceCheckRetries) GetTimeout() (time.Duration, error)
type KubernetesResourceCheckWaitFor ¶ added in v1.0.259
type KubernetesResourceCheckWaitFor struct { // Expr is a cel expression that determines whether all the resources // are in their desired state before running checks on them. // Default: `dyn(resources).all(r, k8s.isHealthy(r))` Expr string `json:"expr,omitempty"` // Disable waiting for resources to get to their desired state. Disable bool `json:"disable,omitempty"` // Timeout to wait for all static & non-static resources to be ready. // Default: 10m Timeout string `json:"timeout,omitempty"` // Interval to check if all static & non-static resources are ready. // Default: 30s Interval string `json:"interval,omitempty"` MaxRetries int `json:"maxRetries,omitempty"` // contains filtered or unexported fields }
func (*KubernetesResourceCheckWaitFor) DeepCopy ¶ added in v1.0.259
func (in *KubernetesResourceCheckWaitFor) DeepCopy() *KubernetesResourceCheckWaitFor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesResourceCheckWaitFor.
func (*KubernetesResourceCheckWaitFor) DeepCopyInto ¶ added in v1.0.259
func (in *KubernetesResourceCheckWaitFor) DeepCopyInto(out *KubernetesResourceCheckWaitFor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesResourceCheckWaitFor) GetInterval ¶ added in v1.0.259
func (t *KubernetesResourceCheckWaitFor) GetInterval() (time.Duration, error)
func (*KubernetesResourceCheckWaitFor) GetTimeout ¶ added in v1.0.259
func (t *KubernetesResourceCheckWaitFor) GetTimeout() (time.Duration, error)
type KubernetesResourceChecks ¶ added in v1.0.259
type KubernetesResourceChecks struct {
CanarySpec `yaml:",inline" json:",inline"`
}
KubernetesResourceChecks is the canary spec. NOTE: It's only created to make crd generation possible. embedding CanarySpec into KubernetesResourceCheck.checks directly generates an invalid crd.
func (*KubernetesResourceChecks) DeepCopy ¶ added in v1.0.259
func (in *KubernetesResourceChecks) DeepCopy() *KubernetesResourceChecks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesResourceChecks.
func (*KubernetesResourceChecks) DeepCopyInto ¶ added in v1.0.259
func (in *KubernetesResourceChecks) DeepCopyInto(out *KubernetesResourceChecks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAP.
func (*LDAP) DeepCopyInto ¶
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"` Connection `yaml:",inline" json:",inline"` 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPCheck.
func (*LDAPCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Labels ¶ added in v0.38.151
func (Labels) DeepCopy ¶ added in v0.38.151
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels.
func (Labels) DeepCopyInto ¶ added in v0.38.151
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mongo.
func (*Mongo) DeepCopyInto ¶ added in v0.38.32
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"` 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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MsSQL.
func (*MsSQL) DeepCopyInto ¶ added in v0.19.2
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.
func (*Namespace) DeepCopyInto ¶
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 Oauth2Config ¶ added in v1.0.63
type Oauth2Config struct { Scopes []string `json:"scope,omitempty" yaml:"scope,omitempty"` TokenURL string `json:"tokenURL,omitempty" yaml:"tokenURL,omitempty"` Params map[string]string `json:"params,omitempty" yaml:"params,omitempty"` }
func (*Oauth2Config) DeepCopy ¶ added in v1.0.63
func (in *Oauth2Config) DeepCopy() *Oauth2Config
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2Config.
func (*Oauth2Config) DeepCopyInto ¶ added in v1.0.63
func (in *Oauth2Config) DeepCopyInto(out *Oauth2Config)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenSearchCheck ¶ added in v0.38.302
type OpenSearchCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` Connection `yaml:",inline" json:",inline"` Query string `yaml:"query" json:"query"` Index string `yaml:"index" json:"index"` Results int64 `yaml:"results,omitempty" json:"results,omitempty"` }
func (*OpenSearchCheck) DeepCopy ¶ added in v0.38.302
func (in *OpenSearchCheck) DeepCopy() *OpenSearchCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchCheck.
func (*OpenSearchCheck) DeepCopyInto ¶ added in v0.38.302
func (in *OpenSearchCheck) DeepCopyInto(out *OpenSearchCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (OpenSearchCheck) GetEndpoint ¶ added in v0.38.302
func (c OpenSearchCheck) GetEndpoint() string
func (OpenSearchCheck) GetType ¶ added in v0.38.302
func (c OpenSearchCheck) GetType() string
type ParentLookup ¶ added in v1.0.175
type ParentLookup struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Type string `json:"type,omitempty"` }
func (*ParentLookup) DeepCopy ¶ added in v1.0.175
func (in *ParentLookup) DeepCopy() *ParentLookup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentLookup.
func (*ParentLookup) DeepCopyInto ¶ added in v1.0.175
func (in *ParentLookup) DeepCopyInto(out *ParentLookup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pod ¶
type Pod struct {
PodCheck `yaml:",inline" json:"inline"`
}
[include:k8s/pod_pass.yaml]
func (*Pod) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
func (*Pod) DeepCopyInto ¶
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"` RoundRobinNodes bool `yaml:"roundRobinNodes,omitempty" json:"roundRobinNodes,omitempty"` }
func (*PodCheck) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCheck.
func (*PodCheck) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PodCheck) GetEndpoint ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Postgres.
func (*Postgres) DeepCopyInto ¶
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"` // Deprecated: use `url` instead Host string `yaml:"host,omitempty" json:"host,omitempty"` Connection `yaml:",inline" json:",inline"` // 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) 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 []types.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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Property.
func (*Property) DeepCopyInto ¶ added in v0.38.85
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Redis ¶ added in v0.18.0
type Redis struct {
RedisCheck `yaml:",inline" json:"inline"`
}
func (*Redis) DeepCopy ¶ added in v0.18.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis.
func (*Redis) DeepCopyInto ¶ added in v0.18.0
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"` Connection `yaml:",inline" json:",inline"` // Deprecated: Use url instead Addr string `yaml:"addr,omitempty" json:"addr,omitempty" template:"true"` DB *int `yaml:"db,omitempty" json:"db,omitempty"` }
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 Relatable ¶ added in v1.0.129
type Relatable struct { // Relationships defines a way to link the check results to components and configs // using lookup expressions. Relationships *CheckRelationship `yaml:"relationships,omitempty" json:"relationships,omitempty"` }
func (*Relatable) DeepCopy ¶ added in v1.0.129
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Relatable.
func (*Relatable) DeepCopyInto ¶ added in v1.0.129
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Relatable) GetRelationship ¶ added in v1.0.129
func (t Relatable) GetRelationship() *CheckRelationship
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 Restic ¶ added in v0.19.0
type Restic struct {
ResticCheck `yaml:",inline" json:"inline"`
}
func (*Restic) DeepCopy ¶ added in v0.19.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restic.
func (*Restic) DeepCopyInto ¶ added in v0.19.0
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"` // Name of the connection used to derive restic password. ConnectionName string `yaml:"connection,omitempty" json:"connection,omitempty"` // Name of the AWS connection used to derive the access key and secret key. AWSConnectionName string `yaml:"awsConnectionName,omitempty" json:"awsConnectionName,omitempty"` // 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 *types.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 *types.EnvVar `yaml:"accessKey,omitempty" json:"accessKey,omitempty"` // SecretKey secret access key for connection with aws s3, minio, wasabi, alibaba oss SecretKey *types.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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3.
func (*S3) DeepCopyInto ¶
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"` connection.S3Connection `yaml:",inline" json:",inline"` BucketName string `yaml:"bucketName" json:"bucketName,omitempty"` }
func (*S3Check) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Check.
func (*S3Check) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (S3Check) GetEndpoint ¶
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQLCheck.
func (*SQLCheck) DeepCopyInto ¶ added in v0.19.2
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
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶ added in v0.38.85
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvReply.
func (*SrvReply) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCP.
func (*TCP) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPCheck.
func (*TCPCheck) DeepCopyInto ¶
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
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶ added in v0.38.4
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Test ¶ added in v0.38.4
type Test struct {
Template `yaml:",inline" json:",inline"`
}
func (*Test) DeepCopy ¶ added in v0.38.4
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Test.
func (*Test) DeepCopyInto ¶ added in v0.38.4
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
type TestFunction ¶ added in v0.38.4
type TestFunction interface {
GetTestFunction() Template
}
+k8s:deepcopy-gen=false
type Topology ¶ added in v0.38.266
type Topology struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TopologySpec `json:"spec,omitempty"` Status TopologyStatus `json:"status,omitempty"` }
+kubebuilder:subresource:status
func (*Topology) DeepCopy ¶ added in v0.38.266
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topology.
func (*Topology) DeepCopyInto ¶ added in v0.38.266
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Topology) DeepCopyObject ¶ added in v0.38.266
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Topology) GetPersistedID ¶ added in v0.38.266
type TopologyList ¶ added in v0.38.266
type TopologyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Topology `json:"items"` }
TopologyList contains a list of Topology
func (*TopologyList) DeepCopy ¶ added in v0.38.266
func (in *TopologyList) DeepCopy() *TopologyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologyList.
func (*TopologyList) DeepCopyInto ¶ added in v0.38.266
func (in *TopologyList) DeepCopyInto(out *TopologyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TopologyList) DeepCopyObject ¶ added in v0.38.266
func (in *TopologyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TopologySpec ¶ added in v0.38.266
type TopologySpec 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 []types.ConfigQuery `json:"configs,omitempty"` }
func (*TopologySpec) DeepCopy ¶ added in v0.38.266
func (in *TopologySpec) DeepCopy() *TopologySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpec.
func (*TopologySpec) DeepCopyInto ¶ added in v0.38.266
func (in *TopologySpec) DeepCopyInto(out *TopologySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (TopologySpec) GetSchedule ¶ added in v0.38.266
func (spec TopologySpec) GetSchedule() string
type TopologyStatus ¶ added in v0.38.266
type TopologyStatus struct { PersistedID *string `json:"persistentID,omitempty"` // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` Status string `json:"status,omitempty"` }
func (*TopologyStatus) DeepCopy ¶ added in v0.38.266
func (in *TopologyStatus) DeepCopy() *TopologyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologyStatus.
func (*TopologyStatus) DeepCopyInto ¶ added in v0.38.266
func (in *TopologyStatus) DeepCopyInto(out *TopologyStatus)
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VarSource.
func (*VarSource) DeepCopyInto ¶ added in v0.11.4
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookCheck ¶ added in v1.0.85
type WebhookCheck struct { Description `yaml:",inline" json:",inline"` Templatable `yaml:",inline" json:",inline"` // Token is an optional authorization token to run this check Token *types.EnvVar `yaml:"token,omitempty" json:"token,omitempty"` }
func (*WebhookCheck) DeepCopy ¶ added in v1.0.85
func (in *WebhookCheck) DeepCopy() *WebhookCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookCheck.
func (*WebhookCheck) DeepCopyInto ¶ added in v1.0.85
func (in *WebhookCheck) DeepCopyInto(out *WebhookCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (WebhookCheck) GetEndpoint ¶ added in v1.0.85
func (c WebhookCheck) GetEndpoint() string
func (WebhookCheck) GetType ¶ added in v1.0.85
func (c WebhookCheck) GetType() string