HaveSecurityContextConstraints returns true if we're running under a system that implements OpenShift Security Context Constraints It panics if called before DetectSecurityContextConstraints
()
| 149 | // OpenShift Security Context Constraints |
| 150 | // It panics if called before DetectSecurityContextConstraints |
| 151 | func HaveSecurityContextConstraints() bool { |
| 152 | return haveSCC |
| 153 | } |
| 154 | |
| 155 | // DetectVolumeSnapshotExist connects to the discovery API and find out if |
| 156 | // the VolumeSnapshot CRD exist in the cluster |
no outgoing calls
no test coverage detected