Documentation ¶
Index ¶
- func ClusterIPServiceChanged(current, expected *core_v1.Service) (*core_v1.Service, bool)
- func ClusterRoleBindingConfigChanged(current, expected *rbac_v1.ClusterRoleBinding) (*rbac_v1.ClusterRoleBinding, bool)
- func ClusterRoleConfigChanged(current, expected *rbac_v1.ClusterRole) (*rbac_v1.ClusterRole, bool)
- func DaemonSetSelectorsDiffer(current, expected *apps_v1.DaemonSet) bool
- func DaemonsetConfigChanged(current, expected *apps_v1.DaemonSet) (*apps_v1.DaemonSet, bool)
- func DeploymentConfigChanged(current, expected *apps_v1.Deployment) (*apps_v1.Deployment, bool)
- func DeploymentSelectorsDiffer(current, expected *apps_v1.Deployment) bool
- func LoadBalancerServiceChanged(current, expected *core_v1.Service) (*core_v1.Service, bool)
- func NodePortServiceChanged(current, expected *core_v1.Service) (*core_v1.Service, bool)
- func RoleBindingConfigChanged(current, expected *rbac_v1.RoleBinding) (*rbac_v1.RoleBinding, bool)
- func RoleConfigChanged(current, expected *rbac_v1.Role) (*rbac_v1.Role, bool)
- func ServiceAccountConfigChanged(current, expected *core_v1.ServiceAccount) (*core_v1.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 *rbac_v1.ClusterRoleBinding) (*rbac_v1.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 *rbac_v1.ClusterRole) (*rbac_v1.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 *apps_v1.Deployment) (*apps_v1.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 *apps_v1.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 *rbac_v1.RoleBinding) (*rbac_v1.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 *core_v1.ServiceAccount) (*core_v1.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.