Documentation ¶
Index ¶
- func GenClusterRoleName(namespace string) string
- func GetClusterRole(teamComp *s2hv1beta1.Team, namespace string) runtime.Object
- func GetClusterRoleBinding(teamComp *s2hv1beta1.Team, namespace string) runtime.Object
- func GetDeployment(scheme *runtime.Scheme, teamComp *s2hv1beta1.Team, namespaceName string, ...) runtime.Object
- func GetResourceQuota(teamComp *s2hv1beta1.Team, namespaceName string, resources corev1.ResourceList) runtime.Object
- func GetRole(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object
- func GetRoleBinding(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object
- func GetSecret(scheme *runtime.Scheme, teamComp *s2hv1beta1.Team, namespaceName string, ...) runtime.Object
- func GetService(scheme *runtime.Scheme, teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object
- func GetServiceAccount(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object
- func GetTeamSecretName(teamName string) string
- func IsK8sObjectChanged(found, target runtime.Object) bool
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenClusterRoleName ¶ added in v1.1.0
func GetClusterRole ¶ added in v1.1.0
func GetClusterRole(teamComp *s2hv1beta1.Team, namespace string) runtime.Object
func GetClusterRoleBinding ¶ added in v1.1.0
func GetClusterRoleBinding(teamComp *s2hv1beta1.Team, namespace string) runtime.Object
func GetDeployment ¶
func GetDeployment(scheme *runtime.Scheme, teamComp *s2hv1beta1.Team, namespaceName string, configs *internal.SamsahaiConfig) runtime.Object
func GetResourceQuota ¶
func GetResourceQuota(teamComp *s2hv1beta1.Team, namespaceName string, resources corev1.ResourceList) runtime.Object
func GetRoleBinding ¶
func GetRoleBinding(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object
func GetService ¶
func GetServiceAccount ¶
func GetServiceAccount(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object
func GetTeamSecretName ¶
func IsK8sObjectChanged ¶
Types ¶
type KeyValue ¶
type KeyValue struct { Key string Value intstr.IntOrString }
Click to show internal directories.
Click to hide internal directories.