Documentation ¶
Index ¶
- func AppendSubjectToRoleBinding(roleBinding client.Object, serviceAccount k8score.ServiceAccount) client.Object
- func EqualServices(s1, s2 *k8score.Service) bool
- func GetAuthorinoClusterRoleBinding(roleBindingName, clusterRoleName string, serviceAccount k8score.ServiceAccount) *k8srbac.ClusterRoleBinding
- func GetAuthorinoRoleBinding(namespace, crName, roleBindingNameSuffix, roleKind, roleName string, ...) *k8srbac.RoleBinding
- func GetAuthorinoServiceAccount(namespace, crName string, labels map[string]string) *k8score.ServiceAccount
- func GetContainer(image string, imagePullPolicy k8score.PullPolicy, containerName string, ...) k8score.Container
- func GetDeployment(name, namespace, saName string, replicas *int32, ...) *k8sapps.Deployment
- func GetLeaderElectionRules() []k8srbac.PolicyRule
- func GetSubjectForRoleBinding(serviceAccount k8score.ServiceAccount) k8srbac.Subject
- func GetTlsVolume(certName, secretName string) k8score.Volume
- func GetTlsVolumeMount(certName, certPath, certKeyPath string) []k8score.VolumeMount
- func NewAuthService(authorinoName, serviceNamespace string, grpcPort, httpPort int32, ...) *k8score.Service
- func NewMetricsService(authorinoName, serviceNamespace string, port int32, labels map[string]string) *k8score.Service
- func NewOIDCService(authorinoName, authorinoNamespace string, port int32, labels map[string]string) *k8score.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSubjectToRoleBinding ¶
func AppendSubjectToRoleBinding(roleBinding client.Object, serviceAccount k8score.ServiceAccount) client.Object
Makes sure a given serviceaccount is among the subjects of a rolebinding or clusterrolebinding
func EqualServices ¶
func GetAuthorinoClusterRoleBinding ¶
func GetAuthorinoClusterRoleBinding(roleBindingName, clusterRoleName string, serviceAccount k8score.ServiceAccount) *k8srbac.ClusterRoleBinding
func GetAuthorinoRoleBinding ¶
func GetAuthorinoRoleBinding(namespace, crName, roleBindingNameSuffix, roleKind, roleName string, serviceAccount k8score.ServiceAccount, labels map[string]string) *k8srbac.RoleBinding
func GetAuthorinoServiceAccount ¶
func GetAuthorinoServiceAccount(namespace, crName string, labels map[string]string) *k8score.ServiceAccount
func GetContainer ¶
func GetDeployment ¶
func GetLeaderElectionRules ¶
func GetLeaderElectionRules() []k8srbac.PolicyRule
func GetSubjectForRoleBinding ¶
func GetSubjectForRoleBinding(serviceAccount k8score.ServiceAccount) k8srbac.Subject
func GetTlsVolume ¶
func GetTlsVolumeMount ¶
func GetTlsVolumeMount(certName, certPath, certKeyPath string) []k8score.VolumeMount
func NewAuthService ¶
func NewMetricsService ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.