func (MatchHost) CELLibrary(ctx caddy.Context) (cel.Library, error) {
	return CELMatcherImpl(
		"host",
		"host_match_request_list",
		[]*exprpb.Type{CelTypeListString},
		func(data ref.Val) (RequestMatcher, error) {
			refStringList := reflect.TypeOf([]string{})
			strList, err := data.ConvertToNative(refStringList)
			if err != nil {
				return nil, err
			}
			matcher := MatchHost(strList.([]string))
			err = matcher.Provision(ctx)
			return matcher, err
		},
	)
}
// CELLibrary produces options that expose this matcher for use in CEL
// expression matchers.
//
// Example:
//    expression host('localhost')
CELLibrary produces options that expose this matcher for use in CEL
expression matchers.

expression host('localhost')
// CELLibrary produces options that expose this matcher for use in CEL // expression matchers . // // Example : // expression host ( ' localhost ' )
func (MatchHost) CELLibrary(ctx caddy.Context) (cel.Library, error) {
	return CELMatcherImpl(
		"host",
		"host_match_request_list",
		[]*exprpb.Type{CelTypeListString},
		func(data ref.Val) (RequestMatcher, error) {
			refStringList := reflect.TypeOf([]string{})
			strList, err := data.ConvertToNative(refStringList)
			if err != nil {
				return nil, err
			}
			matcher := MatchHost(strList.([]string))
			err = matcher.Provision(ctx)
			return matcher, err
		},
	)
}
func ( MatchHost ) CELLibrary ( ctx caddy . Context ) ( cel . Library , error ) { return CELMatcherImpl ( " " , " " , [ ] * exprpb . Type { CelTypeListString } , func ( data ref . Val ) ( RequestMatcher , error ) { refStringList := reflect . TypeOf ( [ ] string { } ) strList , err := data . ConvertToNative ( refStringList ) if err != nil { return nil , err } matcher := MatchHost ( strList . ( [ ] string ) ) err = matcher . Provision ( ctx ) return matcher , err } , ) }
CELLibrary produces options that expose this matcher for use in CEL
expression matchers.
CELLibrary produces options that expose this matcher for use in CEL expression matchers .