identity

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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