openshift

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CNIDirectories = v1alpha1.VrouterCNIDirectories{
	BinariesDirectory:    "/var/lib/cni/bin",
	ConfigFilesDirectory: "/etc/kubernetes/cni",
}

CNIDirectories is struct with directories containing CNI specific files for Openshift cluster

Functions

This section is empty.

Types

type CSRSignerCA

type CSRSignerCA struct {
	Client typedCorev1.CoreV1Interface
}

CSRSignerCA implements ManagerCSSignerCA interface used for for gathering the Certificate Authorities' certificates that sign the CertificateSigningRequests. Implementation is specific to the Openshift 4.x cluster

func (CSRSignerCA) CACert

func (c CSRSignerCA) CACert() (string, error)

CACert returns the value of certificates used for signing the CertificateSigningRequests On the Openshift cluster, CA certificates that sing the CSRs are stored in a ConfigMap in the namespace of the operator for the kube-controller-manager

type ClusterConfig

type ClusterConfig struct {
	Client typedCorev1.CoreV1Interface
}

ClusterConfig is a struct that incorporates v1alpha1.KubemanagerClusterInfo interface

func (ClusterConfig) KubernetesAPISSLPort

func (c ClusterConfig) KubernetesAPISSLPort() (int, error)

KubernetesAPISSLPort gathers SSL Port from Openshift Cluster via console-config ConfigMap

func (ClusterConfig) KubernetesAPIServer

func (c ClusterConfig) KubernetesAPIServer() (string, error)

KubernetesAPIServer gathers API Server name from Openshift Cluster via console-config ConfigMap

func (ClusterConfig) KubernetesClusterName

func (c ClusterConfig) KubernetesClusterName() (string, error)

KubernetesClusterName gathers cluster name from Openshift Cluster via cluster-config-v1 ConfigMap

func (ClusterConfig) PodSubnets

func (c ClusterConfig) PodSubnets() (string, error)

PodSubnets gathers pods' subnet from Openshift Cluster via cluster-config-v1 ConfigMap

func (ClusterConfig) ServiceSubnets

func (c ClusterConfig) ServiceSubnets() (string, error)

ServiceSubnets gathers service subnet from Openshift Cluster via cluster-config-v1 ConfigMap

Jump to

Keyboard shortcuts

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