Documentation
¶
Index ¶
- type AlertingcenterAlerts
- type AlertingcenterAlertsProgram
- type AlertingcenterSeverity
- type AlertingcenterSyslogPattern
- type AlertingcenterSyslogPatterngroup
- type Appmgmt
- type Cert
- type CertAcmeaccount
- type CertAcmenames
- type Client
- func (c *Client) AlertingscenterAlertsGet() ([]AlertingcenterAlerts, error)
- func (c *Client) AlertingscenterAlertsProgramGet() ([]AlertingcenterAlertsProgram, error)
- func (c *Client) AlertingscenterSeverityGet() ([]AlertingcenterSeverity, error)
- func (c *Client) AlertingscenterSyslogPatternGet() ([]AlertingcenterSyslogPattern, error)
- func (c *Client) AlertingscenterSyslogPatterngroupGet() ([]AlertingcenterSyslogPatterngroup, error)
- func (c *Client) AppmgmtConfig() error
- func (c *Client) AppmgmtGet() ([]Appmgmt, error)
- func (c *Client) AppmgmtRestart(a string) error
- func (c *Client) AppmgmtSet(a string, f ...string) error
- func (c *Client) AppmgmtStart(a string) error
- func (c *Client) AppmgmtStatus() ([]Appmgmt, error)
- func (c *Client) AppmgmtStop(a string) error
- func (c *Client) AppmgmtUpdate() error
- func (c *Client) AppmgmtUpdateApplication(a string) error
- func (c *Client) CertAcmeaccountGet() ([]CertAcmeaccount, error)
- func (c *Client) CertAcmenamesGet() ([]CertAcmenames, error)
- func (c *Client) CertGet() ([]Cert, error)
- func (c *Client) DhcpLeaseDelete(h string) error
- func (c *Client) DhcpLeaseGet() ([]DhcpLeaseStatic, error)
- func (c *Client) DhcpLeaseList() ([]DhcpLease, error)
- func (c *Client) DhcpLeaseNew(h string, m string, i string) error
- func (c *Client) DhcpLeaseSet(id int, h string, m string, i string) error
- func (c *Client) DhcpPoolDelete(n string) error
- func (c *Client) DhcpPoolGet() ([]DhcpPool, error)
- func (c *Client) DhcpPoolNew(n string, s string, e string) error
- func (c *Client) DhcpPoolSet(d DhcpPool) error
- func (c *Client) Login() error
- func (c *Client) Logout() error
- func (c *Client) NodeGet() ([]Node, error)
- func (c *Client) NodeGroupGet() ([]NodeGroup, error)
- func (c *Client) Request(r Request) ([]byte, error)
- func (c *Client) RuleGet() ([]Rule, error)
- func (c *Client) ServiceGet() ([]Service, error)
- func (c *Client) ServiceGroupGet() ([]ServiceGroup, error)
- func (c *Client) SetHost(i string) *Client
- func (c *Client) SetInsecure(i bool) *Client
- func (c *Client) SetPassword(i string) *Client
- func (c *Client) SetPort(i int) *Client
- func (c *Client) SetUser(i string) *Client
- type Conf
- type DhcpLease
- type DhcpLeaseStatic
- type DhcpPool
- type Node
- type NodeGroup
- type Request
- type Response
- type Rule
- type Service
- type ServiceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertingcenterAlerts ¶
type AlertingcenterAlerts struct { AlertID string `json:"alert_id,omitempty"` Severity string `json:"severity,omitempty"` Time time.Time `json:"time,omitempty"` Collector string `json:"collector,omitempty"` Program string `json:"program,omitempty"` UserMessage string `json:"user_message,omitempty"` Content []struct { Attribute string `json:"attribute,omitempty"` Value string `json:"value,omitempty"` } `json:"content,omitempty"` }
type AlertingcenterSeverity ¶
type Cert ¶
type Cert struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Issuer string `json:"issuer,omitempty"` Flags []string `json:"flags,omitempty"` Country string `json:"country,omitempty"` State string `json:"state,omitempty"` Location string `json:"location,omitempty"` Organization string `json:"organization,omitempty"` OrganizationUnit string `json:"organization_unit,omitempty"` CommonName string `json:"common_name,omitempty"` Email string `json:"email,omitempty"` Bits int `json:"bits,omitempty"` ValidSince string `json:"valid_since,omitempty"` ValidTill string `json:"valid_till,omitempty"` SignatureAlgo string `json:"signature_algo,omitempty"` Status string `json:"status,omitempty"` Content []struct { ExtName string `json:"ext_name,omitempty"` ExtValue string `json:"ext_value,omitempty"` } `json:"content,omitempty"` AcmeAccountID int `json:"acme_account_id,omitempty"` AcmeAccountName string `json:"acme_account_name,omitempty"` AcmeMinLifetime int `json:"acme_min_lifetime,omitempty"` AcmeCertAltChainHint string `json:"acme_cert_alt_chain_hint,omitempty"` AcmeStatus string `json:"acme_status,omitempty"` AcmeMsg string `json:"acme_msg,omitempty"` AcmeErrorCount int `json:"acme_error_count,omitempty"` AcmeAltnameIDList []int `json:"acme_altname_id_list,omitempty"` AltName string `json:"alt_name,omitempty"` }
type CertAcmeaccount ¶
type CertAcmeaccount struct { ID int `json:"acme_account_id,omitempty"` Name string `json:"acme_account_name,omitempty"` URL string `json:"acme_account_url,omitempty"` EntryPath string `json:"acme_account_entry_path,omitempty"` Email string `json:"acme_account_email,omitempty"` Flags []string `json:"acme_account_flags,omitempty"` MinLifetime int `json:"acme_min_lifetime,omitempty"` Keytype string `json:"acme_account_keytype,omitempty"` Status string `json:"acme_status,omitempty"` Msg string `json:"acme_msg,omitempty"` ErrorCount int `json:"acme_error_count,omitempty"` UserActionRequired int `json:"acme_account_user_action_required,omitempty"` }
type CertAcmenames ¶
type CertAcmenames struct { AltnameID int `json:"acme_altname_id,omitempty"` Altname string `json:"acme_altname,omitempty"` ChallengeID int `json:"acme_challenge_id,omitempty"` Alias string `json:"acme_alias,omitempty"` Apikey string `json:"acme_apikey,omitempty"` ChallengeStatus int `json:"acme_challenge_status,omitempty"` Msg string `json:"acme_msg,omitempty"` ChallengeTs int `json:"acme_challenge_ts,omitempty"` ChallengeNextStepS int `json:"acme_challenge_next_step_s,omitempty"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AlertingscenterAlertsGet ¶
func (c *Client) AlertingscenterAlertsGet() ([]AlertingcenterAlerts, error)
func (*Client) AlertingscenterAlertsProgramGet ¶
func (c *Client) AlertingscenterAlertsProgramGet() ([]AlertingcenterAlertsProgram, error)
func (*Client) AlertingscenterSeverityGet ¶
func (c *Client) AlertingscenterSeverityGet() ([]AlertingcenterSeverity, error)
func (*Client) AlertingscenterSyslogPatternGet ¶
func (c *Client) AlertingscenterSyslogPatternGet() ([]AlertingcenterSyslogPattern, error)
func (*Client) AlertingscenterSyslogPatterngroupGet ¶
func (c *Client) AlertingscenterSyslogPatterngroupGet() ([]AlertingcenterSyslogPatterngroup, error)
func (*Client) AppmgmtConfig ¶
func (*Client) AppmgmtGet ¶
func (*Client) AppmgmtRestart ¶
pass application name
func (*Client) AppmgmtSet ¶
pass application name and flags
func (*Client) AppmgmtStatus ¶
func (*Client) AppmgmtUpdate ¶
func (*Client) AppmgmtUpdateApplication ¶
pass application name
func (*Client) CertAcmeaccountGet ¶
func (c *Client) CertAcmeaccountGet() ([]CertAcmeaccount, error)
func (*Client) CertAcmenamesGet ¶
func (c *Client) CertAcmenamesGet() ([]CertAcmenames, error)
func (*Client) DhcpLeaseGet ¶
func (c *Client) DhcpLeaseGet() ([]DhcpLeaseStatic, error)
Auflistung der vorhandenen statischen DHCP Leases
func (*Client) DhcpLeaseList ¶
Auflistung der zugeteilten DHCP Leases
func (*Client) DhcpPoolGet ¶
Auflistung der angelegten DHCP Pools
func (*Client) DhcpPoolSet ¶
Ändert die Eigenschaften eines bestehenden DHCP Pool
func (*Client) NodeGroupGet ¶
Gibt eine Liste mit den Netzwerkobjektgruppen zurück
func (*Client) ServiceGet ¶
Gibt eine Liste mit den Diensten zurück
func (*Client) ServiceGroupGet ¶
func (c *Client) ServiceGroupGet() ([]ServiceGroup, error)
Gibt eine Liste mit den Dienstgruppen zurück
func (*Client) SetInsecure ¶
func (*Client) SetPassword ¶
type DhcpLeaseStatic ¶
type Response ¶
type Response struct { SessionID string `json:"sessionid,omitempty"` Mode string `json:"mode,omitempty"` Result struct { Module string `json:"module,omitempty"` Code int `json:"code,omitempty"` Status string `json:"status,omitempty"` Message string `json:"message,omitempty"` Content []any `json:"content,omitempty"` } `json:"result,omitempty"` Version string `json:"version,omitempty"` }
type Rule ¶
type Rule struct { Applayer string `json:"applayer,omitempty"` Comment string `json:"comment,omitempty"` Dst string `json:"dst,omitempty"` Flags []string `json:"flags,omitempty"` Group string `json:"group,omitempty"` ID int `json:"id,omitempty"` Log any `json:"log,omitempty"` NatNode string `json:"nat_node,omitempty"` NatService string `json:"nat_service,omitempty"` Pos int `json:"pos,omitempty"` Qos any `json:"qos,omitempty"` Route any `json:"route,omitempty"` Service string `json:"service,omitempty"` Src string `json:"src,omitempty"` Timeprofile any `json:"timeprofile,omitempty"` }
Click to show internal directories.
Click to hide internal directories.