Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerSecrets ¶
These secrets are present on any subscribed system and uniquely identify the host
type RHSMSecrets ¶
RHSMSecrets represents a set of CA certificate, client key, and client certificate for a specific repository.
type Subscriptions ¶
type Subscriptions struct { Consumer *ConsumerSecrets // contains filtered or unexported fields }
Subscriptions encapsulates all available subscriptions from the host system.
func LoadSystemSubscriptions ¶
func LoadSystemSubscriptions() (*Subscriptions, error)
LoadSystemSubscriptions loads all the available subscriptions.
func (*Subscriptions) GetSecretsForBaseurl ¶
func (s *Subscriptions) GetSecretsForBaseurl(baseurls []string, arch, releasever string) (*RHSMSecrets, error)
GetSecretsForBaseurl queries the Subscriptions structure for a RHSMSecrets of a single repository.
Click to show internal directories.
Click to hide internal directories.