Documentation ¶
Index ¶
- Constants
- Variables
- func MutateCustomResource(ar v1.AdmissionReview) *v1.AdmissionResponse
- func NewTLSKeypairReloader(certPath, keyPath string) (*tlsKeypairReloader, error)
- func RetriveSupportedNics() error
- func SetupInClusterClient() error
- func ValidateCustomResource(ar v1.AdmissionReview) *v1.AdmissionResponse
- type Config
Constants ¶
View Source
const ( IntelID = "8086" MellanoxID = "15b3" MlxMaxVFs = 128 )
Variables ¶
View Source
var Codecs = serializer.NewCodecFactory(scheme)
View Source
var (
InfiniBandIsRdmaPatch = map[string]interface{}{"op": "add", "path": "/spec/isRdma", "value": true}
)
Functions ¶
func MutateCustomResource ¶
func MutateCustomResource(ar v1.AdmissionReview) *v1.AdmissionResponse
func NewTLSKeypairReloader ¶ added in v1.2.0
func RetriveSupportedNics ¶ added in v1.1.0
func RetriveSupportedNics() error
func SetupInClusterClient ¶
func SetupInClusterClient() error
func ValidateCustomResource ¶
func ValidateCustomResource(ar v1.AdmissionReview) *v1.AdmissionResponse
Types ¶
Click to show internal directories.
Click to hide internal directories.