Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=quero.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "quero.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type LokiRule ¶
type LokiRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LokiRuleSpec `json:"spec,omitempty"` Status LokiRuleStatus `json:"status,omitempty"` }
LokiRule is the Schema for the lokiRules API
func (*LokiRule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LokiRule.
func (*LokiRule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LokiRule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LokiRuleList ¶
type LokiRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LokiRule `json:"items"` }
LokiRuleList contains a list of LokiRule
func (*LokiRuleList) DeepCopy ¶
func (in *LokiRuleList) DeepCopy() *LokiRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LokiRuleList.
func (*LokiRuleList) DeepCopyInto ¶
func (in *LokiRuleList) DeepCopyInto(out *LokiRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LokiRuleList) DeepCopyObject ¶
func (in *LokiRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LokiRuleSpec ¶
type LokiRuleSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Groups []RuleGroup `json:"groups,omitempty" yaml:"groups"` }
LokiRuleSpec defines the desired state of LokiRule
func (*LokiRuleSpec) DeepCopy ¶
func (in *LokiRuleSpec) DeepCopy() *LokiRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LokiRuleSpec.
func (*LokiRuleSpec) DeepCopyInto ¶
func (in *LokiRuleSpec) DeepCopyInto(out *LokiRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LokiRuleStatus ¶
type LokiRuleStatus struct { }
LokiRuleStatus defines the observed state of LokiRule
func (*LokiRuleStatus) DeepCopy ¶
func (in *LokiRuleStatus) DeepCopy() *LokiRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LokiRuleStatus.
func (*LokiRuleStatus) DeepCopyInto ¶
func (in *LokiRuleStatus) DeepCopyInto(out *LokiRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶ added in v0.3.0
type Rule struct { Alert string `json:"alert,omitempty" yaml:"alert,omitempty"` Record string `json:"record,omitempty" yaml:"record,omitempty"` Expr string `json:"expr,omitempty" yaml:"expr"` For string `json:"for,omitempty" yaml:"for,omitempty"` Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` }
Rule defines a rule for a LokiRule
func (*Rule) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleGroup ¶ added in v0.4.0
type RuleGroup struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Rules []Rule `json:"rules,omitempty" yaml:"rules,omitempty"` }
func (*RuleGroup) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroup.
func (*RuleGroup) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.