ocmagent

package
v0.0.0-...-661f786 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OcmAgentClientBuilder

type OcmAgentClientBuilder interface {
	New(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

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL