Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditServer ¶
type AuditServer struct { *gnet.EventServer // contains filtered or unexported fields }
type Auth ¶
type Auth struct { ClientToken string `json:"client_token"` Accessor string `json:"accessor"` DisplayName string `json:"display_name"` Policies []string `json:"policies"` TokenPolicies []string `json:"token_policies"` PolicyResults struct { Allowed bool `json:"allowed"` GrantingPolicies []struct { Name string `json:"name"` NamespaceID string `json:"namespace_id"` Type string `json:"type"` } `json:"granting_policies"` } `json:"policy_results"` TokenType string `json:"token_type"` TokenIssueTime time.Time `json:"token_issue_time"` }
type CompiledRule ¶
type ForwardingConfig ¶ added in v0.0.2
type LogFileConfig ¶
type Request ¶
type Request struct { ID string `json:"id"` ClientID string `json:"client_id"` Operation string `json:"operation"` MountPoint string `json:"mount_point"` MountType string `json:"mount_type"` MountAccessor string `json:"mount_accessor"` MountRunningVersion string `json:"mount_running_version"` MountClass string `json:"mount_class"` ClientToken string `json:"client_token"` ClientTokenAccessor string `json:"client_token_accessor"` Path string `json:"path"` RemoteAddress string `json:"remote_address"` RemotePort int `json:"remote_port"` }
type Response ¶
type Response struct { MountPoint string `json:"mount_point"` MountType string `json:"mount_type"` MountAccessor string `json:"mount_accessor"` MountRunningPluginVersion string `json:"mount_running_plugin_version"` MountClass string `json:"mount_class"` Data struct { CasRequired bool `json:"cas_required"` CreatedTime string `json:"created_time"` CurrentVersion int `json:"current_version"` DeleteVersionAfter string `json:"delete_version_after"` MaxVersions int `json:"max_versions"` OldestVersion int `json:"oldest_version"` UpdatedTime string `json:"updated_time"` } `json:"data"` }
type RuleGroupConfig ¶
type RuleGroupConfig struct { Name string `mapstructure:"name"` Rules []string `mapstructure:"rules"` LogFile LogFileConfig `mapstructure:"log_file"` Messaging Messaging `mapstructure:"messaging"` Forwarding ForwardingConfig `mapstructure:"forwarding"` }
Click to show internal directories.
Click to hide internal directories.