Documentation ¶
Index ¶
- func ClusterIPServiceChanged(current, expected *corev1.Service) (*corev1.Service, bool)
- func ClusterRoleBindingConfigChanged(current, expected *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, bool)
- func ClusterRoleConfigChanged(current, expected *rbacv1.ClusterRole) (*rbacv1.ClusterRole, bool)
- func DaemonSetSelectorsDiffer(current, expected *appsv1.DaemonSet) bool
- func DaemonsetConfigChanged(current, expected *appsv1.DaemonSet) (*appsv1.DaemonSet, bool)
- func DeploymentConfigChanged(current, expected *appsv1.Deployment) (*appsv1.Deployment, bool)
- func DeploymentSelectorsDiffer(current, expected *appsv1.Deployment) bool
- func LoadBalancerServiceChanged(current, expected *corev1.Service) (*corev1.Service, bool)
- func NodePortServiceChanged(current, expected *corev1.Service) (*corev1.Service, bool)
- func RoleBindingConfigChanged(current, expected *rbacv1.RoleBinding) (*rbacv1.RoleBinding, bool)
- func RoleConfigChanged(current, expected *rbacv1.Role) (*rbacv1.Role, bool)
- func ServiceAccountConfigChanged(current, expected *corev1.ServiceAccount) (*corev1.ServiceAccount, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterIPServiceChanged ¶
ClusterIPServiceChanged checks if the spec of current and expected match and if not, returns true and the expected Service resource. The cluster IP is not compared as it's assumed to be dynamically assigned.
func ClusterRoleBindingConfigChanged ¶
func ClusterRoleBindingConfigChanged(current, expected *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, bool)
ClusterRoleBindingConfigChanged checks if the current and expected ClusterRoleBinding match and if not, returns true and the expected ClusterRoleBinding.
func ClusterRoleConfigChanged ¶
func ClusterRoleConfigChanged(current, expected *rbacv1.ClusterRole) (*rbacv1.ClusterRole, bool)
ClusterRoleConfigChanged checks if the current and expected ClusterRole match and if not, returns true and the expected ClusterRole.
func DaemonSetSelectorsDiffer ¶
DaemonSetSelectorsDiffer checks if the current and expected DaemonSet selectors differ.
func DaemonsetConfigChanged ¶
DaemonsetConfigChanged checks if current and expected DaemonSet match, and if not, returns the updated DaemonSet resource.
func DeploymentConfigChanged ¶
func DeploymentConfigChanged(current, expected *appsv1.Deployment) (*appsv1.Deployment, bool)
DeploymentConfigChanged checks if the current and expected Deployment match and if not, returns true and the expected Deployment.
func DeploymentSelectorsDiffer ¶
func DeploymentSelectorsDiffer(current, expected *appsv1.Deployment) bool
DeploymentSelectorsDiffer checks if the current and expected Deployment selectors differ.
func LoadBalancerServiceChanged ¶
LoadBalancerServiceChanged checks if current and expected match and if not, returns true and the expected Service resource. The healthCheckNodePort and a port's nodePort are not compared since they are dynamically assigned.
func NodePortServiceChanged ¶
NodePortServiceChanged checks if current and expected match and if not, returns true and the expected Service resource. The healthCheckNodePort is not compared since it's dynamically assigned.
func RoleBindingConfigChanged ¶
func RoleBindingConfigChanged(current, expected *rbacv1.RoleBinding) (*rbacv1.RoleBinding, bool)
RoleBindingConfigChanged checks if the current and expected RoleBinding match and if not, returns true and the expected RoleBinding.
func RoleConfigChanged ¶
RoleConfigChanged checks if the current and expected Role match and if not, returns true and the expected Role.
func ServiceAccountConfigChanged ¶
func ServiceAccountConfigChanged(current, expected *corev1.ServiceAccount) (*corev1.ServiceAccount, bool)
ServiceAccountConfigChanged checks if the current and expected ServiceAccount match and if not, returns true and the expected ServiceAccount.
Types ¶
This section is empty.