package
0.0.0-20240419133027-aeba8327aa53
Repository: https://github.com/openflagr/flagr.git
Documentation: pkg.go.dev

# Functions

NewCreateConstraint creates a new http.Handler for the create constraint operation.
NewCreateConstraintDefault creates CreateConstraintDefault with default headers values.
NewCreateConstraintOK creates CreateConstraintOK with default headers values.
NewCreateConstraintParams creates a new CreateConstraintParams object There are no default values defined in the spec.
NewDeleteConstraint creates a new http.Handler for the delete constraint operation.
NewDeleteConstraintDefault creates DeleteConstraintDefault with default headers values.
NewDeleteConstraintOK creates DeleteConstraintOK with default headers values.
NewDeleteConstraintParams creates a new DeleteConstraintParams object There are no default values defined in the spec.
NewFindConstraints creates a new http.Handler for the find constraints operation.
NewFindConstraintsDefault creates FindConstraintsDefault with default headers values.
NewFindConstraintsOK creates FindConstraintsOK with default headers values.
NewFindConstraintsParams creates a new FindConstraintsParams object There are no default values defined in the spec.
NewPutConstraint creates a new http.Handler for the put constraint operation.
NewPutConstraintDefault creates PutConstraintDefault with default headers values.
NewPutConstraintOK creates PutConstraintOK with default headers values.
NewPutConstraintParams creates a new PutConstraintParams object There are no default values defined in the spec.

# Constants

CreateConstraintOKCode is the HTTP code returned for type CreateConstraintOK.
DeleteConstraintOKCode is the HTTP code returned for type DeleteConstraintOK.
FindConstraintsOKCode is the HTTP code returned for type FindConstraintsOK.
PutConstraintOKCode is the HTTP code returned for type PutConstraintOK.

# Structs

CreateConstraint swagger:route POST /flags/{flagID}/segments/{segmentID}/constraints constraint createConstraint CreateConstraint create constraint API */.
CreateConstraintDefault generic error response swagger:response createConstraintDefault */.
CreateConstraintOK the constraint created swagger:response createConstraintOK */.
CreateConstraintParams contains all the bound params for the create constraint operation typically these are obtained from a http.Request swagger:parameters createConstraint.
CreateConstraintURL generates an URL for the create constraint operation.
DeleteConstraint swagger:route DELETE /flags/{flagID}/segments/{segmentID}/constraints/{constraintID} constraint deleteConstraint DeleteConstraint delete constraint API */.
DeleteConstraintDefault generic error response swagger:response deleteConstraintDefault */.
DeleteConstraintOK deleted swagger:response deleteConstraintOK */.
DeleteConstraintParams contains all the bound params for the delete constraint operation typically these are obtained from a http.Request swagger:parameters deleteConstraint.
DeleteConstraintURL generates an URL for the delete constraint operation.
FindConstraints swagger:route GET /flags/{flagID}/segments/{segmentID}/constraints constraint findConstraints FindConstraints find constraints API */.
FindConstraintsDefault generic error response swagger:response findConstraintsDefault */.
FindConstraintsOK constraints under the segment swagger:response findConstraintsOK */.
FindConstraintsParams contains all the bound params for the find constraints operation typically these are obtained from a http.Request swagger:parameters findConstraints.
FindConstraintsURL generates an URL for the find constraints operation.
PutConstraint swagger:route PUT /flags/{flagID}/segments/{segmentID}/constraints/{constraintID} constraint putConstraint PutConstraint put constraint API */.
PutConstraintDefault generic error response swagger:response putConstraintDefault */.
PutConstraintOK constraint just updated swagger:response putConstraintOK */.
PutConstraintParams contains all the bound params for the put constraint operation typically these are obtained from a http.Request swagger:parameters putConstraint.
PutConstraintURL generates an URL for the put constraint operation.

# Interfaces

CreateConstraintHandler interface for that can handle valid create constraint params.
DeleteConstraintHandler interface for that can handle valid delete constraint params.
FindConstraintsHandler interface for that can handle valid find constraints params.
PutConstraintHandler interface for that can handle valid put constraint params.

# Type aliases

CreateConstraintHandlerFunc turns a function with the right signature into a create constraint handler.
DeleteConstraintHandlerFunc turns a function with the right signature into a delete constraint handler.
FindConstraintsHandlerFunc turns a function with the right signature into a find constraints handler.
PutConstraintHandlerFunc turns a function with the right signature into a put constraint handler.