Documentation
¶
Overview ¶
Package identity implements types and utility routines related to the identity of a workload, as used within OSM.
Index ¶
Constants ¶
View Source
const (
// ClusterLocalTrustDomain is the trust domain for the local kubernetes cluster
ClusterLocalTrustDomain = "cluster.local"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceIdentity ¶
type ServiceIdentity string
ServiceIdentity is the type used to represent the identity for a service
func GetKubernetesServiceIdentity ¶
func GetKubernetesServiceIdentity(svcAccount service.K8sServiceAccount, trustDomain string) ServiceIdentity
GetKubernetesServiceIdentity returns the ServiceIdentity based on Kubernetes ServiceAccount and a trust domain
func (ServiceIdentity) String ¶
func (si ServiceIdentity) String() string
String returns the ServiceIdentity as a string
Click to show internal directories.
Click to hide internal directories.