Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaService ¶
type KafkaService struct { CommandEnvironment *v1alpha.CommandEnvironment KubernetesClients *kubeclient.KubernetesClients }
KafkaService contains methods to connect and bind Kafka Service instance to cluster
func (KafkaService) BuildServiceDetails ¶
func (s KafkaService) BuildServiceDetails(serviceName string, namespace string, ignoreContext bool) (*ServiceDetails, error)
func (KafkaService) PrintAccessCommands ¶ added in v0.36.4
func (s KafkaService) PrintAccessCommands(clientID string)
PrintAccessCommands prints command to grant service account acccess to the Kafka instance
type RHOASKubernetesService ¶
type RHOASKubernetesService interface { // Build Custom Resource representing desired service that should be created BuildServiceDetails(serviceName string, namespace string, ignoreConfigContext bool) (*ServiceDetails, error) // Print commands to be executed to grant access to the service PrintAccessCommands(clientID string) }
RHOASKubernetesService interface defines type for custom resource structs
type RegistryService ¶
type RegistryService struct { CommandEnvironment *v1alpha.CommandEnvironment KubernetesClients *kubeclient.KubernetesClients }
RegistryService contains methods to connect and bind Service registry instance to cluster
func (RegistryService) BuildServiceDetails ¶
func (s RegistryService) BuildServiceDetails(serviceName string, namespace string, ignoreContext bool) (*ServiceDetails, error)
func (RegistryService) PrintAccessCommands ¶ added in v0.36.4
func (s RegistryService) PrintAccessCommands(clientID string)
PrintAccessCommands prints command to assign service account roles in the service registry instance
type ServiceDetails ¶
type ServiceDetails struct { Type string ID string Name string KubernetesResource interface{} GroupMetadata schema.GroupVersionResource }
ServiceDetails contains metadata for service including structure that should be used to create service CR
Click to show internal directories.
Click to hide internal directories.