cfengine  3.15.4
About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.
  Fossies Dox: cfengine-3.15.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

GenericAgentConfig Struct Reference

#include <generic_agent.h>

Collaboration diagram for GenericAgentConfig:
[legend]

Data Fields

AgentType agent_type
 
Rlistbundlesequence
 
char * original_input_file
 
char * input_file
 
char * input_dir
 
char * tag_release_dir
 
bool check_not_writable_by_others
 
bool check_runnable
 
StringSetheap_soft
 
StringSetheap_negated
 
bool ignore_locks
 
bool tty_interactive
 
bool color
 
ProtocolVersion protocol_version
 
bool ignore_missing_bundles
 
bool ignore_missing_inputs
 
struct {
   struct {
      enum generic_agent_config_common_policy_output_format   policy_output_format
 
      unsigned int   parser_warnings
 
      unsigned int   parser_warnings_error
 
      bool   eval_functions
 
      char *   show_classes
 
      char *   show_variables
 
   }   common
 
   struct {
      char *   bootstrap_argument
 
      char *   bootstrap_host
 
      char *   bootstrap_port
 
      char *   bootstrap_ip
 
      bool   bootstrap_trust_server
 
      bool   bootstrap_trigger_policy
 
      char *   show_evaluated_classes
 
      char *   show_evaluated_variables
 
      bool   report_class_log
 
   }   agent
 
   struct {
      time_t   last_validated_at
 
   }   daemon
 
agent_specific
 

Detailed Description

Definition at line 45 of file generic_agent.h.

Field Documentation

◆ 

◆ 

◆ agent_type

◆ bootstrap_argument

◆ bootstrap_host

char* GenericAgentConfig::bootstrap_host

◆ bootstrap_ip

char* GenericAgentConfig::bootstrap_ip

◆ bootstrap_port

char* GenericAgentConfig::bootstrap_port

◆ bootstrap_trigger_policy

bool GenericAgentConfig::bootstrap_trigger_policy

◆ bootstrap_trust_server

bool GenericAgentConfig::bootstrap_trust_server

◆ bundlesequence

◆ check_not_writable_by_others

bool GenericAgentConfig::check_not_writable_by_others

Definition at line 56 of file generic_agent.h.

Referenced by Cf3ParseFile(), and GenericAgentConfigNewDefault().

◆ check_runnable

bool GenericAgentConfig::check_runnable

Definition at line 57 of file generic_agent.h.

Referenced by CheckOpts(), GenericAgentConfigNewDefault(), and LoadPolicy().

◆ color

bool GenericAgentConfig::color

◆ 

◆ 

GenericAgentConfig::daemon { ... } struct

◆ eval_functions

bool GenericAgentConfig::eval_functions

◆ heap_negated

StringSet* GenericAgentConfig::heap_negated

◆ heap_soft

StringSet* GenericAgentConfig::heap_soft

◆ ignore_locks

bool GenericAgentConfig::ignore_locks

◆ ignore_missing_bundles

bool GenericAgentConfig::ignore_missing_bundles

◆ ignore_missing_inputs

bool GenericAgentConfig::ignore_missing_inputs

Definition at line 70 of file generic_agent.h.

Referenced by Cf3ParseFile(), GenericAgentConfigNewDefault(), and ResolveControlBody().

◆ input_dir

◆ input_file

◆ last_validated_at

time_t GenericAgentConfig::last_validated_at

Definition at line 100 of file generic_agent.h.

Referenced by CheckFileChanges(), CheckNewPromises(), and GenericAgentCheckPolicy().

◆ original_input_file

char* GenericAgentConfig::original_input_file

◆ parser_warnings

unsigned int GenericAgentConfig::parser_warnings

◆ parser_warnings_error

unsigned int GenericAgentConfig::parser_warnings_error

◆ policy_output_format

enum generic_agent_config_common_policy_output_format GenericAgentConfig::policy_output_format

Definition at line 70 of file generic_agent.h.

Referenced by CheckOpts(), GenericAgentConfigNewDefault(), and main().

◆ protocol_version

ProtocolVersion GenericAgentConfig::protocol_version

Definition at line 66 of file generic_agent.h.

Referenced by GenericAgentConfigNewDefault(), HailServer(), and ResolveControlBody().

◆ report_class_log

bool GenericAgentConfig::report_class_log

Definition at line 95 of file generic_agent.h.

Referenced by GenericAgentConfigNewDefault(), and KeepControlPromises().

◆ show_classes

char* GenericAgentConfig::show_classes

Definition at line 80 of file generic_agent.h.

Referenced by CheckOpts(), GenericAgentConfigNewDefault(), and main().

◆ show_evaluated_classes

char* GenericAgentConfig::show_evaluated_classes

Definition at line 91 of file generic_agent.h.

Referenced by CheckOpts(), GenericAgentConfigNewDefault(), and main().

◆ show_evaluated_variables

char* GenericAgentConfig::show_evaluated_variables

Definition at line 92 of file generic_agent.h.

Referenced by CheckOpts(), GenericAgentConfigNewDefault(), and main().

◆ show_variables

char* GenericAgentConfig::show_variables

Definition at line 81 of file generic_agent.h.

Referenced by CheckOpts(), GenericAgentConfigNewDefault(), and main().

◆ tag_release_dir

char* GenericAgentConfig::tag_release_dir

Definition at line 54 of file generic_agent.h.

Referenced by CheckOpts(), and main().

◆ tty_interactive

bool GenericAgentConfig::tty_interactive

The documentation for this struct was generated from the following file: