Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ser = Serializer()
Functions ¶
func LoadResource ¶
func LoadResource(ctx *Ctx)
func Serializer ¶
Types ¶
type APIResource ¶
type APIResource interface { String() Update(func(instance *APIResource, validata ...interface{})) }
type AdmissionReviewHeadler ¶
type AdmissionReviewHeadler struct { Deserializer runtime.Decoder Request *http.Request Resource APIResource Adm_obj v1.AdmissionReview // contains filtered or unexported fields }
codecs := serializer.NewCodecFactory(runtimeScheme)
func NewAdmiSsionReviewHeadler ¶
func NewAdmiSsionReviewHeadler(request *http.Request) AdmissionReviewHeadler
func (*AdmissionReviewHeadler) Load ¶
func (adm *AdmissionReviewHeadler) Load(resou runtime.Object)
func (*AdmissionReviewHeadler) LoadAdmissionReview ¶
func (adm *AdmissionReviewHeadler) LoadAdmissionReview()
func (adm *AdmissionReviewHeadler) Data() v1.AdmissionReview{ return v1.AdmissionReview{ Request: adm.Request } }
type Ctx ¶
type Ctx struct { //context.WithTimeout context.Context context.CancelFunc Object runtime.Object Old_Object runtime.Object Raw_Object runtime.Object ChangeObject runtime.Object Adm_obj v1.AdmissionReview Validate_result hook.RST HandlerFunc interface{} MiddlewareIndex int // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.