Documentation ¶
Index ¶
Constants ¶
View Source
const ( OCM_AGENT_SERVICE_URL = "ocm-agent.openshift-ocm-agent-operator.svc.cluster.local" OCM_AGENT_SERVICE_PORT = 8081 // OPERATION_ID_HEADER is a header field used to correlate OCM events OPERATION_ID_HEADER = "X-Operation-Id" // UPGRADEPOLICIES_PATH is a sub-path to the OCM upgrade policies service UPGRADEPOLICIES_PATH = "upgrade_policies" // STATE_V1_PATH sub-path to the policy state service STATE_V1_PATH = "state" // SERVICELOG_LOG_TYPE is the log type sent from MUO SERVICELOG_LOG_TYPE = "Cluster Updates" // SERVICELOG_SERVICE_NAME is the name of the service reporting the log SERVICELOG_SERVICE_NAME = "RedHat Managed Upgrade Notifications" // SERVICELOG_INTERNAL_ONLY defines if the log is internal or not SERVICELOG_INTERNAL_ONLY = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OcmAgentClientBuilder ¶
type OcmAgentClientBuilder interface {
New(c client.Client, ocmBaseUrl *url.URL) (ocm.OcmClient, error)
}
OcmAgentClientBuilder enables implementation of an ocm client.
func NewBuilder ¶
func NewBuilder() OcmAgentClientBuilder
NewBuilder creates a new Notifier instance builder
Click to show internal directories.
Click to hide internal directories.