Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions pkg/client/notifications/config.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
package notifications

type ClientConfiguration struct {
BaseURL string
ProxyURL string
KeyFile string
CertFile string
Key string
Cert string
EnableMock bool
BaseURL string
ProxyURL string
KeyFile string
CertFile string
Key string
Cert string
EnableMock bool
EnableRHCSCertAutoRotation bool
}

func NewClientConfig() *ClientConfiguration {
return &ClientConfiguration{
BaseURL: "https://mtls.internal.cloud.redhat.com/api/notifications-gw/notifications",
ProxyURL: "",
KeyFile: "secrets/notifications.key",
CertFile: "secrets/notifications.crt",
EnableMock: false,
BaseURL: "https://mtls.internal.cloud.redhat.com/api/notifications-gw/notifications",
ProxyURL: "",
KeyFile: "secrets/notifications.key",
CertFile: "secrets/notifications.crt",
EnableMock: false,
EnableRHCSCertAutoRotation: false,
}
}