Versions in this module Expand all Collapse all v0 v0.6.0 Sep 19, 2019 v0.1.0 Sep 6, 2019 Changes in this version + const PolicyActionDisk + const PolicyActionNode + const PolicyActionNodeRebalance + const PolicyActionPrefix + const PolicyActionStoragePool + const PolicyActionVolume + const PolicyActionVolumeResize + const PolicyConditionPrefix + const PolicyObjectPrefix + const PolicyObjectTypeDisk + const PolicyObjectTypeNode + const PolicyObjectTypeStoragePool + const PolicyObjectTypeVolume + var AddToScheme = SchemeBuilder.AddToScheme + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = schema.GroupVersion + func Kind(kind string) schema.GroupKind + func Resource(resource string) schema.GroupResource + type AutopilotRule struct + Spec AutopilotRuleSpec + func (in *AutopilotRule) DeepCopy() *AutopilotRule + func (in *AutopilotRule) DeepCopyInto(out *AutopilotRule) + func (in *AutopilotRule) DeepCopyObject() runtime.Object + type AutopilotRuleConditionType string + const RuleConditionMetrics + type AutopilotRuleList struct + Items []AutopilotRule + func (in *AutopilotRuleList) DeepCopy() *AutopilotRuleList + func (in *AutopilotRuleList) DeepCopyInto(out *AutopilotRuleList) + func (in *AutopilotRuleList) DeepCopyObject() runtime.Object + type AutopilotRuleSpec struct + Actions []*RuleAction + ActionsCoolDownPeriod int64 + Conditions RuleConditions + Enforcement EnforcementType + NamespaceSelector RuleObjectSelector + PollInterval int64 + Selector RuleObjectSelector + Weight int64 + func (in *AutopilotRuleSpec) DeepCopy() *AutopilotRuleSpec + func (in *AutopilotRuleSpec) DeepCopyInto(out *AutopilotRuleSpec) + type AutopilotRuleStatusType string + const AutopilotRuleActionFailed + const AutopilotRuleActionSuccessful + const AutopilotRuleActionTriggered + const AutopilotRuleConditonMet + type EnforcementType string + const EnforcementPreferred + const EnforcementRequired + type LabelSelectorOperator string + const AutopilotRuleResourceName + const AutopilotRuleResourcePlural + const AutopilotRuleResourceShortName + const LabelSelectorOpDoesNotExist + const LabelSelectorOpExists + const LabelSelectorOpGt + const LabelSelectorOpGtEq + const LabelSelectorOpIn + const LabelSelectorOpLt + const LabelSelectorOpLtEq + const LabelSelectorOpNotIn + type LabelSelectorRequirement struct + Key string + Operator LabelSelectorOperator + Values []string + func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement + func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement) + type PolicyConditionName string + const PolicyConditionDiskLatencyMS + const PolicyConditionStoragePoolLatencyMS + const PolicyConditionVolumeLatencyMS + type RuleAction struct + Name string + Params map[string]string + func (in *RuleAction) DeepCopy() *RuleAction + func (in *RuleAction) DeepCopyInto(out *RuleAction) + type RuleConditions struct + Expressions []*LabelSelectorRequirement + For int64 + Provider string + Type AutopilotRuleConditionType + func (in *RuleConditions) DeepCopy() *RuleConditions + func (in *RuleConditions) DeepCopyInto(out *RuleConditions) + type RuleObjectSelector struct + func (in *RuleObjectSelector) DeepCopy() *RuleObjectSelector + func (in *RuleObjectSelector) DeepCopyInto(out *RuleObjectSelector)