# Functions

AgentInstallNamespaceFromDeploymentConfigFunc returns an agent install namespace helper function which will get the namespace from the addon deployment config.
ApplyClusterRole merges objectmeta, requires rules, aggregation rules are not allowed for now.
ApplyClusterRoleBinding merges objectmeta, requires subjects and role refs TODO on non-matching roleref, delete and recreate.
ApplyConfigMap merges objectmeta, requires data, ref from openshift/library-go.
ApplyRole merges objectmeta, requires rules.
ApplyRoleBinding merges objectmeta, requires subjects and role refs TODO on non-matching roleref, delete and recreate.
ApplySecret merges objectmeta, requires data.
ClusterAnnotationChanged returns true if the value of the specified annotation in the new managed cluster annotation is different from the old managed cluster annotation.
ClusterAvailableConditionChanged returns true if the value of the Available condition in the new managed cluster is different from the old managed cluster.
ClusterAvailableConditionChanged returns true if the value of the specified conditionType in the new managed cluster is different from the old managed cluster.
ClusterImageRegistriesAnnotationChanged returns true if the value of the ClusterImageRegistriesAnnotationKey in the new managed cluster annotation is different from the old managed cluster annotation.
ContainGR returns true if the given group resource is in the given map.
No description provided by the author
No description provided by the author
No description provided by the author
DefaultCSRApprover approve the csr when addon agent uses default group and default user to sign csr.
DefaultSignerWithExpiry generates a signer func for addon agent to sign the csr using caKey and caData with expiry date.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FilterOutTheBuiltInAddOnConfigGVRs returns a new slice of GroupVersionResource that does not contain the built-in addOn config GVRs.
No description provided by the author
GetAddOnConfigRef returns the first addon config ref for the given config type.
GetAddOnDeploymentConfigSpecHash returns the sha256 hash of the spec field of the addon deployment config.
GetDesiredAddOnDeployment returns the desired addonDeploymentConfig of the addon.
GetSpecHash returns the sha256 hash of the spec field or other config fields of the given object.
IsCSRSupported checks whether the cluster supports v1 or v1beta1 csr api.
No description provided by the author
No description provided by the author
No description provided by the author
MapValueChanged returns true if the value of the given key in the new map is different from the old map.
No description provided by the author
No description provided by the author
NewAddOnDeploymentConfigGetter returns a AddOnDeploymentConfigGetter with addon client.
NewConfigChecker Parameters: * name could be any string.
No description provided by the author
NewRBACPermissionConfigBuilder instantiates a default RBACPermissionBuilder.
No description provided by the author
UnionCSRApprover is a union func for multiple approvers.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DeploymentProber is to check the addon status based on status of the agent deployment status.
No description provided by the author

# Interfaces

AddOnDeploymentConfigGetter has a method to return a AddOnDeploymentConfig object.
RBACPermissionBuilder builds a agent.PermissionConfigFunc that applies Kubernetes RBAC policies.

# Type aliases

AddonManagementFilterFunc is to check if the addon should be managed by addon manager or self-managed.