...

Source file src/github.com/emissary-ingress/emissary/v3/pkg/kates/internal/convert.go

Documentation: github.com/emissary-ingress/emissary/v3/pkg/kates/internal

     1  // This is in a separate 'internal' package so that I don't need to fus with names in
     2  // `borrowed_webhook.go` to make things public/private, because I want to keep that file as close as
     3  // possible to the upstream `webhook.go`.
     4  
     5  package internal
     6  
     7  import (
     8  	"k8s.io/apimachinery/pkg/runtime"
     9  )
    10  
    11  func ConvertObject(scheme *runtime.Scheme, src, dst runtime.Object) error {
    12  	wh := &Webhook{
    13  		scheme: scheme,
    14  	}
    15  	return wh.convertObject(src, dst)
    16  }
    17  

View as plain text