Skip to content

Commit

Permalink
patch - adding slo resource and data_source (#189)
Browse files Browse the repository at this point in the history
* patch - adding slo resource and data_source
  • Loading branch information
OrNovo authored Jan 17, 2024
1 parent b7aa0be commit c03c0fa
Show file tree
Hide file tree
Showing 24 changed files with 5,160 additions and 9 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,4 +391,9 @@ New Features:
## Release 1.10.9
New Features:
#### resource/coralogix_archive_retentions
* Adding support for `coralogix_archive_retentions` [resource](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/resources/alerts_scheduler.md) and [data-source](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/data-sources/alerts_scheduler.md).
* Adding support for `coralogix_archive_retentions` [resource](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/resources/alerts_scheduler.md) and [data-source](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/data-sources/alerts_scheduler.md).

## Release 1.10.10
New Features:
#### resource/coralogix_slo
* Adding support for `coralogix_slo` [resource](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/resources/slo.md) and [data-source](https://github.com/coralogix/terraform-provider-coralogix/tree/master/docs/data-sources/slo.md).
7 changes: 6 additions & 1 deletion coralogix/clientset/clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type ClientSet struct {
archiveLogs *ArchiveLogsClient
alertsSchedulers *AlertsSchedulersClient
teams *TeamsClient
slos *SLOsClient
}

func (c *ClientSet) RuleGroups() *RuleGroupsClient {
Expand Down Expand Up @@ -70,7 +71,6 @@ func (c *ClientSet) SLIs() *SLIClient {

func (c *ClientSet) ArchiveRetentions() *ArchiveRetentionsClient {
return c.archiveRetentions

}

func (c *ClientSet) ArchiveMetrics() *ArchiveMetricsClient {
Expand All @@ -89,6 +89,10 @@ func (c *ClientSet) Teams() *TeamsClient {
return c.teams
}

func (c *ClientSet) SLOs() *SLOsClient {
return c.slos
}

func NewClientSet(targetUrl, apiKey, orgKey string) *ClientSet {
apikeyCPC := NewCallPropertiesCreator(targetUrl, apiKey)
teamsCPC := NewCallPropertiesCreator(targetUrl, orgKey)
Expand All @@ -111,5 +115,6 @@ func NewClientSet(targetUrl, apiKey, orgKey string) *ClientSet {
archiveLogs: NewArchiveLogsClient(apikeyCPC),
alertsSchedulers: NewAlertsSchedulersClient(apikeyCPC),
teams: NewTeamsClient(teamsCPC),
slos: NewSLOsClient(apikeyCPC),
}
}
308 changes: 308 additions & 0 deletions coralogix/clientset/grpc/slo/apm_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c03c0fa

Please sign in to comment.