func WithResource(group, version, resource string, prototype Resource) Option {
	return func(op *Operator) {
		op.resource = schema.GroupVersionResource{
			Group:    group,
			Version:  version,
			Resource: resource,
		}
		op.resourceType = reflect.TypeOf(prototype).Elem()
	}
}
// WithResource tells an operator the API group, version, and resource
// name (plural) and also specifies a prototype of the Go struct which
// represents the custom resource.
WithResource tells an operator the API group, version, and resource
name (plural) and also specifies a prototype of the Go struct which
represents the custom resource.
// WithResource tells an operator the API group version and resource // name ( plural ) and also specifies a prototype of the Go struct which // represents the custom resource .
func WithResource(group, version, resource string, prototype Resource) Option {
	return func(op *Operator) {
		op.resource = schema.GroupVersionResource{
			Group:    group,
			Version:  version,
			Resource: resource,
		}
		op.resourceType = reflect.TypeOf(prototype).Elem()
	}
}
func WithResource ( group , version , resource string , prototype Resource ) Option { return func ( op * Operator ) { op . resource = schema . GroupVersionResource { Group : group , Version : version , Resource : resource , } op . resourceType = reflect . TypeOf ( prototype ) . Elem ( ) } }
WithResource tells an operator the API group, version, and resource
name (plural) and also specifies a prototype of the Go struct which
represents the custom resource.
WithResource tells an operator the API group version and resource name ( plural ) and also specifies a prototype of the Go struct which represents the custom resource .