Documentation ¶
Index ¶
- func FormatReleaseVersion(version string) (string, error)
- func GetMonitoredNamespaces(client kubernetes.Interface, osmControlPlaneNamespace common.MeshNamespace) (*corev1.NamespaceList, error)
- func GetOSMControllerDeployment(client kubernetes.Interface, osmControlPlaneNamespace common.MeshNamespace) (*v1.Deployment, error)
- type MeshInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatReleaseVersion ¶
FormatReleaseVersion returns the major and minor version of the release
func GetMonitoredNamespaces ¶
func GetMonitoredNamespaces(client kubernetes.Interface, osmControlPlaneNamespace common.MeshNamespace) (*corev1.NamespaceList, error)
GetMonitoredNamespaces returns a list of namespaces monitored by the osm control plane.
func GetOSMControllerDeployment ¶
func GetOSMControllerDeployment(client kubernetes.Interface, osmControlPlaneNamespace common.MeshNamespace) (*v1.Deployment, error)
GetOSMControllerDeployment returns the OSM controller deployment in a given namespace
Types ¶
type MeshInfo ¶
type MeshInfo struct { Name common.MeshName Namespace common.MeshNamespace OSMVersion version.ControllerVersion }
MeshInfo is the type used to represent service mesh information
func GetMeshInfo ¶
func GetMeshInfo(client kubernetes.Interface, osmControlPlaneNamespace common.MeshNamespace) (*MeshInfo, error)
GetMeshInfo returns the MeshInfo for a service mesh with its control plane in the given namespace
Click to show internal directories.
Click to hide internal directories.