Documentation ¶
Overview ¶
Package endpoint provides Graylog API endpoints.
Index ¶
- type Endpoints
- func (ep *Endpoints) AlarmCallbacks() string
- func (ep *Endpoints) Alert(id string) (*url.URL, error)
- func (ep *Endpoints) AlertConditions() string
- func (ep *Endpoints) Alerts() string
- func (ep *Endpoints) CollectorConfiguration(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationInput(id, inputID string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationInputs(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationName(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationOutput(id, outputID string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationOutputs(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationSnippet(id, snippetID string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurationSnippets(id string) (*url.URL, error)
- func (ep *Endpoints) CollectorConfigurations() string
- func (ep *Endpoints) Dashboard(id string) (*url.URL, error)
- func (ep *Endpoints) DashboardWidget(dashboardID, widgetID string) (*url.URL, error)
- func (ep *Endpoints) DashboardWidgets(dashboardID string) (*url.URL, error)
- func (ep *Endpoints) Dashboards() string
- func (ep *Endpoints) EnabledStreams() string
- func (ep *Endpoints) IndexSet(id string) (*url.URL, error)
- func (ep *Endpoints) IndexSetStats(id string) (*url.URL, error)
- func (ep *Endpoints) IndexSets() string
- func (ep *Endpoints) IndexSetsStats() string
- func (ep *Endpoints) Input(id string) (*url.URL, error)
- func (ep *Endpoints) Inputs() string
- func (ep *Endpoints) LDAPGroupRoleMapping() string
- func (ep *Endpoints) LDAPGroups() string
- func (ep *Endpoints) LDAPSetting() string
- func (ep *Endpoints) PauseStream(id string) (*url.URL, error)
- func (ep *Endpoints) ResumeStream(id string) (*url.URL, error)
- func (ep *Endpoints) Role(name string) (*url.URL, error)
- func (ep *Endpoints) RoleMember(userName, roleName string) (*url.URL, error)
- func (ep *Endpoints) RoleMembers(name string) (*url.URL, error)
- func (ep *Endpoints) Roles() string
- func (ep *Endpoints) SetDefaultIndexSet(id string) (*url.URL, error)
- func (ep *Endpoints) Stream(id string) (*url.URL, error)
- func (ep *Endpoints) StreamRule(streamID, streamRuleID string) (*url.URL, error)
- func (ep *Endpoints) StreamRuleTypes(streamID string) (*url.URL, error)
- func (ep *Endpoints) StreamRules(streamID string) (*url.URL, error)
- func (ep *Endpoints) Streams() string
- func (ep *Endpoints) User(name string) (*url.URL, error)
- func (ep *Endpoints) Users() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
Endpoints represents each API's endpoint URLs.
func NewEndpoints ¶
NewEndpoints returns a new Endpoints.
func (*Endpoints) AlarmCallbacks ¶ added in v0.5.0
AlarmCallbacks returns AlarmCallbacks API's endpoint url.
func (*Endpoints) AlertConditions ¶ added in v0.2.0
AlertConditions returns an Alert Condition API's endpoint url.
func (*Endpoints) CollectorConfiguration ¶ added in v0.7.0
CollectorConfiguration returns a Collector Configuration API's endpoint url.
func (*Endpoints) CollectorConfigurationInput ¶ added in v0.7.0
CollectorConfigurationInput returns a Collector Configuration Input API's endpoint url.
func (*Endpoints) CollectorConfigurationInputs ¶ added in v0.7.0
CollectorConfigurationInputs returns a Collector Configuration Input API's endpoint url.
func (*Endpoints) CollectorConfigurationName ¶ added in v0.7.0
CollectorConfigurationName returns a Collector Configuration API's endpoint url.
func (*Endpoints) CollectorConfigurationOutput ¶ added in v0.7.0
CollectorConfigurationOutput returns a Collector Configuration Output API's endpoint url.
func (*Endpoints) CollectorConfigurationOutputs ¶ added in v0.7.0
CollectorConfigurationOutputs returns a Collector Configuration Output API's endpoint url.
func (*Endpoints) CollectorConfigurationSnippet ¶ added in v0.7.0
CollectorConfigurationSnippet returns a Collector Configuration Snippet API's endpoint url.
func (*Endpoints) CollectorConfigurationSnippets ¶ added in v0.7.0
CollectorConfigurationSnippets returns a Collector Configuration Snippet API's endpoint url.
func (*Endpoints) CollectorConfigurations ¶ added in v0.7.0
CollectorConfigurations returns a Collector Configuration API's endpoint url.
func (*Endpoints) DashboardWidget ¶ added in v0.8.0
DashboardWidget returns an Dashboard Widget API's endpoint url.
func (*Endpoints) DashboardWidgets ¶ added in v0.8.0
DashboardWidgets returns an Dashboard Widget API's endpoint url.
func (*Endpoints) Dashboards ¶ added in v0.4.0
Dashboards returns an Dashboard API's endpoint url.
func (*Endpoints) EnabledStreams ¶
EnabledStreams returns GetEnabledStreams API's endpoint url.
func (*Endpoints) IndexSetStats ¶
IndexSetStats returns an IndexSet stats API's endpoint url.
func (*Endpoints) IndexSetsStats ¶
IndexSetsStats returns all IndexSets stats API's endpoint url.
func (*Endpoints) LDAPGroupRoleMapping ¶ added in v0.10.0
LDAPGroupRoleMapping returns the LDAP Group and role mapping API's endpoint url.
func (*Endpoints) LDAPGroups ¶ added in v0.10.0
LDAPGroups returns the LDAP Setting API's endpoint url.
func (*Endpoints) LDAPSetting ¶ added in v0.6.0
LDAPSetting returns the LDAP Setting API's endpoint url.
func (*Endpoints) PauseStream ¶
PauseStream returns PauseStream API's endpoint url.
func (*Endpoints) ResumeStream ¶
ResumeStream returns ResumeStream API's endpoint url.
func (*Endpoints) RoleMember ¶
RoleMember returns given role member endpoint url.
func (*Endpoints) RoleMembers ¶
RoleMembers returns given role's member endpoint url.
func (*Endpoints) SetDefaultIndexSet ¶
SetDefaultIndexSet returns SetDefaultIndexSet API's endpoint url.
func (*Endpoints) StreamRule ¶
StreamRule returns a Stream Rule API's endpoint url.
func (*Endpoints) StreamRuleTypes ¶
StreamRuleTypes returns Stream Rule Types API's endpoint url.
func (*Endpoints) StreamRules ¶
StreamRules returns Stream Rules API's endpoint url.