# Functions
Resource takes an unqualified resource and returns a Group qualified GroupResource.
# Constants
ApprovalRequired specifies that all actions for the rule will require an approval.
ApprovalStateApproved means the action has been approved.
ApprovalStateDeclined means the action has been declined.
ApprovalStatePending means the action has not been yet approved.
AutopilotRuleActionFailed is when an action for a rule has failed.
AutopilotRuleActionSuccessful is when an action for a rule is successful.
AutopilotRuleActionTriggered is when an action for a rule has triggerred.
AutopilotRuleConditonMet is for when the conditions in rule are met.
AutopilotRuleObjectResourceName is the name of the singular AutopilotObject objects.
AutopilotRuleObjectResourcePlural is the name of the plural AutopilotRuleObject objects.
AutopilotRuleObjectResourceShortName is the short name for AutopilotRuleObject objects.
AutopilotRuleResourceName is the name of the singular AutopilotRule objects.
AutopilotRuleResourcePlural is the name of the plural AutopilotRule objects.
AutopilotRuleResourceShortName is the short name for AutopilotRule objects.
LabelSelectorOpDoesNotExist is operator where the key must not exist.
LabelSelectorOpExists is operator where the key must exist.
LabelSelectorOpGt is operator where the key must be greater than the values.
LabelSelectorOpGtEq is operator where the key must be greater than or equal to the values.
LabelSelectorOpIn is operator where the key must have one of the values.
LabelSelectorOpInRange will compare if the value is in the range given by first 2 values.
LabelSelectorOpLt is operator where the key must be less than the values.
LabelSelectorOpLtEq is operator where the key must be less than or equal to the values.
LabelSelectorOpNotIn is operator where the key must not have any of the values.
LabelSelectorOpNotInRange will compare if the value is not in the range given by first 2 values.
RuleConditionMetrics is a monitoring type of condition in a rule.
RuleStateActionAwaitingApproval is when a rule is waiting approval from a user to proceed with it's actions.
RuleStateActionsDeclined is when action was intentionally declined by autopilot.
RuleStateActiveActionsInProgress is when the rule is active and has met its conditions and there is an on going action on the object.
RuleStateActiveActionsPending is when the rule has it's conditions met but the actions are not being performed yet.
RuleStateActiveActionsTaken is when the rule has it's actions already taken but still hasn't moved out of active status.
RuleStateInit is the initial state of the rule where monitorign has not yet begin.
RuleStateNormal is when the rule is being monitored and is in normal state.
RuleStateTriggered is when the rule has it's conditions met.
# Variables
AddToScheme adds all the registered types to the scheme.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeGroupVersion is group version used to register these objects.
# Structs
ActionPreviewObjectMetadata is metadata for an object inside an action preview.
AutopilotActionApproval stores the state related to approval of an action.
AutopilotActionPreview is a preview of an action and the expected result of it before it gets executed.
AutopilotRule represents pairing with other clusters.
AutopilotRuleList is a list of AutopilotRules in Kubernetes.
AutopilotRuleObject represents a particular object that is being monitored by autopilot.
AutopilotRuleObjectList is a list of AutopilotRule objects in Kubernetes.
AutopilotRuleObjectSpec represents the spec of the autopilot object.
AutopilotRuleObjectStatus represents the status of an autopilot object.
AutopilotRuleObjectStatusItem is a single status item of an autopilot object.
AutopilotRuleSpec is the spec to create the cluster pair.
LabelSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.
RuleAction defines an action for the rule.
RuleConditions defines the conditions for the rule.
RuleObjectSelector defines an object for the rule.
# Type aliases
No description provided by the author
AutopilotRuleConditionType defines the type of a condition in a rule.
AutopilotRuleStatusType is the type for rule statuses.
EnforcementType Defines the types of enforcement on the given policy.
No description provided by the author
RuleState is the type for the state of a rule.
RuleStatusObjectKey is a type to use as key for rule object statuses.