oapi

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package oapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRawSpec

func GetRawSpec() (spec []byte, fault error)

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r *mux.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r *mux.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options GorillaServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type BulkFlags200JSONResponse

type BulkFlags200JSONResponse []Flag

func (BulkFlags200JSONResponse) VisitBulkFlagsResponse

func (response BulkFlags200JSONResponse) VisitBulkFlagsResponse(w http.ResponseWriter) error

type BulkFlags400JSONResponse

type BulkFlags400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (BulkFlags400JSONResponse) VisitBulkFlagsResponse

func (response BulkFlags400JSONResponse) VisitBulkFlagsResponse(w http.ResponseWriter) error

type BulkFlags401JSONResponse

type BulkFlags401JSONResponse ErrorBody

func (BulkFlags401JSONResponse) VisitBulkFlagsResponse

func (response BulkFlags401JSONResponse) VisitBulkFlagsResponse(w http.ResponseWriter) error

type BulkFlags403JSONResponse

type BulkFlags403JSONResponse ErrorBody

func (BulkFlags403JSONResponse) VisitBulkFlagsResponse

func (response BulkFlags403JSONResponse) VisitBulkFlagsResponse(w http.ResponseWriter) error

type BulkFlags406JSONResponse

type BulkFlags406JSONResponse ErrorBody

func (BulkFlags406JSONResponse) VisitBulkFlagsResponse

func (response BulkFlags406JSONResponse) VisitBulkFlagsResponse(w http.ResponseWriter) error

type BulkFlags500JSONResponse

type BulkFlags500JSONResponse ErrorBody

func (BulkFlags500JSONResponse) VisitBulkFlagsResponse

func (response BulkFlags500JSONResponse) VisitBulkFlagsResponse(w http.ResponseWriter) error

type BulkFlagsParams

type BulkFlagsParams struct {
	// Page Page number for pagination. Defaults to 1 if not provided. Must be a positive integer.
	Page *PaginationPageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page for pagination. Valid values range from 1-1000. Defaults to 100 if not provided.
	Size *PaginationPageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortBy Sort by field for the pagination. If not provided, defaults to 'name'.
	SortBy *BulkFlagsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// SortDirection Sort direction for the pagination. If not provided, defaults to 'asc'.
	SortDirection *BulkFlagsParamsSortDirection `form:"sort_direction,omitempty" json:"sort_direction,omitempty"`

	// Name Filter records by with the provided string in the name. If not provided, no name filtering is applied.
	Name *FilterByName `form:"name,omitempty" json:"name,omitempty"`

	// Type Filter records by type. If not provided, no type filtering is applied.
	Type *FilterByType `form:"type,omitempty" json:"type,omitempty"`

	// Environment Filter records by environment name. If not provided, no environment filtering is applied.
	Environment *FilterByEnvironment `form:"environment,omitempty" json:"environment,omitempty"`

	// State Filter records by state. 'active' for non-deleted records, 'deleted' for soft-deleted records, 'all' for both. Defaults to 'active'
	State *BulkFlagsParamsState `form:"state,omitempty" json:"state,omitempty"`
}

BulkFlagsParams defines parameters for BulkFlags.

type BulkFlagsParamsSortBy

type BulkFlagsParamsSortBy string

BulkFlagsParamsSortBy defines parameters for BulkFlags.

const (
	BulkFlagsParamsSortByCreatedAt BulkFlagsParamsSortBy = "created_at"
	BulkFlagsParamsSortByName      BulkFlagsParamsSortBy = "name"
	BulkFlagsParamsSortByType      BulkFlagsParamsSortBy = "type"
	BulkFlagsParamsSortByUpdatedAt BulkFlagsParamsSortBy = "updated_at"
)

Defines values for BulkFlagsParamsSortBy.

type BulkFlagsParamsSortDirection

type BulkFlagsParamsSortDirection string

BulkFlagsParamsSortDirection defines parameters for BulkFlags.

const (
	BulkFlagsParamsSortDirectionAsc  BulkFlagsParamsSortDirection = "asc"
	BulkFlagsParamsSortDirectionDesc BulkFlagsParamsSortDirection = "desc"
)

Defines values for BulkFlagsParamsSortDirection.

type BulkFlagsParamsState

type BulkFlagsParamsState string

BulkFlagsParamsState defines parameters for BulkFlags.

const (
	BulkFlagsParamsStateActive  BulkFlagsParamsState = "active"
	BulkFlagsParamsStateAll     BulkFlagsParamsState = "all"
	BulkFlagsParamsStateDeleted BulkFlagsParamsState = "deleted"
)

Defines values for BulkFlagsParamsState.

type BulkFlagsRequestObject

type BulkFlagsRequestObject struct {
	Params BulkFlagsParams
}

type BulkFlagsResponseObject

type BulkFlagsResponseObject interface {
	VisitBulkFlagsResponse(w http.ResponseWriter) error
}

type CreateEnvironment201JSONResponse

type CreateEnvironment201JSONResponse Environment

func (CreateEnvironment201JSONResponse) VisitCreateEnvironmentResponse

func (response CreateEnvironment201JSONResponse) VisitCreateEnvironmentResponse(w http.ResponseWriter) error

type CreateEnvironment400JSONResponse

type CreateEnvironment400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (CreateEnvironment400JSONResponse) VisitCreateEnvironmentResponse

func (response CreateEnvironment400JSONResponse) VisitCreateEnvironmentResponse(w http.ResponseWriter) error

type CreateEnvironment401JSONResponse

type CreateEnvironment401JSONResponse ErrorBody

func (CreateEnvironment401JSONResponse) VisitCreateEnvironmentResponse

func (response CreateEnvironment401JSONResponse) VisitCreateEnvironmentResponse(w http.ResponseWriter) error

type CreateEnvironment403JSONResponse

type CreateEnvironment403JSONResponse ErrorBody

func (CreateEnvironment403JSONResponse) VisitCreateEnvironmentResponse

func (response CreateEnvironment403JSONResponse) VisitCreateEnvironmentResponse(w http.ResponseWriter) error

type CreateEnvironment409JSONResponse

type CreateEnvironment409JSONResponse ErrorBody

func (CreateEnvironment409JSONResponse) VisitCreateEnvironmentResponse

func (response CreateEnvironment409JSONResponse) VisitCreateEnvironmentResponse(w http.ResponseWriter) error

type CreateEnvironment500JSONResponse

type CreateEnvironment500JSONResponse ErrorBody

func (CreateEnvironment500JSONResponse) VisitCreateEnvironmentResponse

func (response CreateEnvironment500JSONResponse) VisitCreateEnvironmentResponse(w http.ResponseWriter) error

type CreateEnvironmentJSONBody

type CreateEnvironmentJSONBody struct {
	// Name The name of the environment
	Name string `json:"name"`
}

CreateEnvironmentJSONBody defines parameters for CreateEnvironment.

type CreateEnvironmentJSONRequestBody

type CreateEnvironmentJSONRequestBody CreateEnvironmentJSONBody

CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType.

type CreateEnvironmentRequestObject

type CreateEnvironmentRequestObject struct {
	Body *CreateEnvironmentJSONRequestBody
}

type CreateEnvironmentResponseObject

type CreateEnvironmentResponseObject interface {
	VisitCreateEnvironmentResponse(w http.ResponseWriter) error
}

type CreateFlag201JSONResponse

type CreateFlag201JSONResponse Flag

func (CreateFlag201JSONResponse) VisitCreateFlagResponse

func (response CreateFlag201JSONResponse) VisitCreateFlagResponse(w http.ResponseWriter) error

type CreateFlag400JSONResponse

type CreateFlag400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (CreateFlag400JSONResponse) VisitCreateFlagResponse

func (response CreateFlag400JSONResponse) VisitCreateFlagResponse(w http.ResponseWriter) error

type CreateFlag401JSONResponse

type CreateFlag401JSONResponse ErrorBody

func (CreateFlag401JSONResponse) VisitCreateFlagResponse

func (response CreateFlag401JSONResponse) VisitCreateFlagResponse(w http.ResponseWriter) error

type CreateFlag403JSONResponse

type CreateFlag403JSONResponse ErrorBody

func (CreateFlag403JSONResponse) VisitCreateFlagResponse

func (response CreateFlag403JSONResponse) VisitCreateFlagResponse(w http.ResponseWriter) error

type CreateFlag409JSONResponse

type CreateFlag409JSONResponse ErrorBody

func (CreateFlag409JSONResponse) VisitCreateFlagResponse

func (response CreateFlag409JSONResponse) VisitCreateFlagResponse(w http.ResponseWriter) error

type CreateFlag500JSONResponse

type CreateFlag500JSONResponse ErrorBody

func (CreateFlag500JSONResponse) VisitCreateFlagResponse

func (response CreateFlag500JSONResponse) VisitCreateFlagResponse(w http.ResponseWriter) error

type CreateFlagJSONRequestBody

type CreateFlagJSONRequestBody = Flag

CreateFlagJSONRequestBody defines body for CreateFlag for application/json ContentType.

type CreateFlagRequestObject

type CreateFlagRequestObject struct {
	Body *CreateFlagJSONRequestBody
}

type CreateFlagResponseObject

type CreateFlagResponseObject interface {
	VisitCreateFlagResponse(w http.ResponseWriter) error
}

type DeleteEnvironment204Response

type DeleteEnvironment204Response struct {
}

func (DeleteEnvironment204Response) VisitDeleteEnvironmentResponse

func (response DeleteEnvironment204Response) VisitDeleteEnvironmentResponse(w http.ResponseWriter) error

type DeleteEnvironment401JSONResponse

type DeleteEnvironment401JSONResponse ErrorBody

func (DeleteEnvironment401JSONResponse) VisitDeleteEnvironmentResponse

func (response DeleteEnvironment401JSONResponse) VisitDeleteEnvironmentResponse(w http.ResponseWriter) error

type DeleteEnvironment403JSONResponse

type DeleteEnvironment403JSONResponse ErrorBody

func (DeleteEnvironment403JSONResponse) VisitDeleteEnvironmentResponse

func (response DeleteEnvironment403JSONResponse) VisitDeleteEnvironmentResponse(w http.ResponseWriter) error

type DeleteEnvironment406JSONResponse

type DeleteEnvironment406JSONResponse ErrorBody

func (DeleteEnvironment406JSONResponse) VisitDeleteEnvironmentResponse

func (response DeleteEnvironment406JSONResponse) VisitDeleteEnvironmentResponse(w http.ResponseWriter) error

type DeleteEnvironment500JSONResponse

type DeleteEnvironment500JSONResponse ErrorBody

func (DeleteEnvironment500JSONResponse) VisitDeleteEnvironmentResponse

func (response DeleteEnvironment500JSONResponse) VisitDeleteEnvironmentResponse(w http.ResponseWriter) error

type DeleteEnvironmentRequestObject

type DeleteEnvironmentRequestObject struct {
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type DeleteEnvironmentResponseObject

type DeleteEnvironmentResponseObject interface {
	VisitDeleteEnvironmentResponse(w http.ResponseWriter) error
}

type DeleteFlag204Response

type DeleteFlag204Response struct {
}

func (DeleteFlag204Response) VisitDeleteFlagResponse

func (response DeleteFlag204Response) VisitDeleteFlagResponse(w http.ResponseWriter) error

type DeleteFlag401JSONResponse

type DeleteFlag401JSONResponse ErrorBody

func (DeleteFlag401JSONResponse) VisitDeleteFlagResponse

func (response DeleteFlag401JSONResponse) VisitDeleteFlagResponse(w http.ResponseWriter) error

type DeleteFlag403JSONResponse

type DeleteFlag403JSONResponse ErrorBody

func (DeleteFlag403JSONResponse) VisitDeleteFlagResponse

func (response DeleteFlag403JSONResponse) VisitDeleteFlagResponse(w http.ResponseWriter) error

type DeleteFlag406JSONResponse

type DeleteFlag406JSONResponse ErrorBody

func (DeleteFlag406JSONResponse) VisitDeleteFlagResponse

func (response DeleteFlag406JSONResponse) VisitDeleteFlagResponse(w http.ResponseWriter) error

type DeleteFlag500JSONResponse

type DeleteFlag500JSONResponse ErrorBody

func (DeleteFlag500JSONResponse) VisitDeleteFlagResponse

func (response DeleteFlag500JSONResponse) VisitDeleteFlagResponse(w http.ResponseWriter) error

type DeleteFlagRequestObject

type DeleteFlagRequestObject struct {
	FlagId FlagId `json:"flag_id"`
}

type DeleteFlagResponseObject

type DeleteFlagResponseObject interface {
	VisitDeleteFlagResponse(w http.ResponseWriter) error
}

type Environment

type Environment struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	DeletedAt *time.Time `json:"deleted_at"`
	Flags     []Flag     `json:"flags"`
	Id        *int64     `json:"id,omitempty"`
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Environment defines model for environment.

type EnvironmentFlag

type EnvironmentFlag struct {
	Name  string   `json:"name"`
	Type  FlagType `json:"type"`
	Value string   `json:"value"`
}

EnvironmentFlag defines model for environment_flag.

type EnvironmentName

type EnvironmentName = string

EnvironmentName defines model for environment_name.

type ErrorBody

type ErrorBody struct {
	// Error Error message describing the issue
	Error     string `json:"error"`
	ErrorCode int    `json:"error_code"`
}

ErrorBody defines model for error_body.

type FilterByEnvironment

type FilterByEnvironment = string

FilterByEnvironment defines model for filter_by_environment.

type FilterByName

type FilterByName = string

FilterByName defines model for filter_by_name.

type FilterByState

type FilterByState string

FilterByState defines model for filter_by_state.

const (
	FilterByStateActive  FilterByState = "active"
	FilterByStateAll     FilterByState = "all"
	FilterByStateDeleted FilterByState = "deleted"
)

Defines values for FilterByState.

type FilterByType

type FilterByType = FlagType

FilterByType defines model for filter_by_type.

type Flag

type Flag struct {
	CreatedAt    *time.Time `json:"created_at,omitempty"`
	DefaultValue string     `json:"default_value"`
	DeletedAt    *time.Time `json:"deleted_at"`
	Environments *[]struct {
		EnvironmentName string `json:"environment_name"`
		FlagValue       string `json:"flag_value"`
	} `json:"environments,omitempty"`
	Id        *int64     `json:"id,omitempty"`
	Name      string     `json:"name"`
	Type      FlagType   `json:"type"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Flag defines model for flag.

type FlagId

type FlagId = int64

FlagId defines model for flag_id.

type FlagType

type FlagType string

FlagType defines model for flag_type.

const (
	Boolean      FlagType = "boolean"
	Integer      FlagType = "integer"
	IntegerSlice FlagType = "integer_slice"
	Json         FlagType = "json"
	String       FlagType = "string"
	StringSlice  FlagType = "string_slice"
)

Defines values for FlagType.

type GetFlagsByEnvironment200JSONResponse

type GetFlagsByEnvironment200JSONResponse []EnvironmentFlag

func (GetFlagsByEnvironment200JSONResponse) VisitGetFlagsByEnvironmentResponse

func (response GetFlagsByEnvironment200JSONResponse) VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error

type GetFlagsByEnvironment400JSONResponse

type GetFlagsByEnvironment400JSONResponse ErrorBody

func (GetFlagsByEnvironment400JSONResponse) VisitGetFlagsByEnvironmentResponse

func (response GetFlagsByEnvironment400JSONResponse) VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error

type GetFlagsByEnvironment401JSONResponse

type GetFlagsByEnvironment401JSONResponse ErrorBody

func (GetFlagsByEnvironment401JSONResponse) VisitGetFlagsByEnvironmentResponse

func (response GetFlagsByEnvironment401JSONResponse) VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error

type GetFlagsByEnvironment403JSONResponse

type GetFlagsByEnvironment403JSONResponse ErrorBody

func (GetFlagsByEnvironment403JSONResponse) VisitGetFlagsByEnvironmentResponse

func (response GetFlagsByEnvironment403JSONResponse) VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error

type GetFlagsByEnvironment406JSONResponse

type GetFlagsByEnvironment406JSONResponse ErrorBody

func (GetFlagsByEnvironment406JSONResponse) VisitGetFlagsByEnvironmentResponse

func (response GetFlagsByEnvironment406JSONResponse) VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error

type GetFlagsByEnvironment500JSONResponse

type GetFlagsByEnvironment500JSONResponse ErrorBody

func (GetFlagsByEnvironment500JSONResponse) VisitGetFlagsByEnvironmentResponse

func (response GetFlagsByEnvironment500JSONResponse) VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error

type GetFlagsByEnvironmentRequestObject

type GetFlagsByEnvironmentRequestObject struct {
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type GetFlagsByEnvironmentResponseObject

type GetFlagsByEnvironmentResponseObject interface {
	VisitGetFlagsByEnvironmentResponse(w http.ResponseWriter) error
}

type GorillaServerOptions

type GorillaServerOptions struct {
	BaseURL          string
	BaseRouter       *mux.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type HealthCheck200Response

type HealthCheck200Response struct {
}

func (HealthCheck200Response) VisitHealthCheckResponse

func (response HealthCheck200Response) VisitHealthCheckResponse(w http.ResponseWriter) error

type HealthCheck500JSONResponse

type HealthCheck500JSONResponse ErrorBody

func (HealthCheck500JSONResponse) VisitHealthCheckResponse

func (response HealthCheck500JSONResponse) VisitHealthCheckResponse(w http.ResponseWriter) error

type HealthCheckRequestObject

type HealthCheckRequestObject struct {
}

type HealthCheckResponseObject

type HealthCheckResponseObject interface {
	VisitHealthCheckResponse(w http.ResponseWriter) error
}

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type ListEnvironments200JSONResponse

type ListEnvironments200JSONResponse []Flag

func (ListEnvironments200JSONResponse) VisitListEnvironmentsResponse

func (response ListEnvironments200JSONResponse) VisitListEnvironmentsResponse(w http.ResponseWriter) error

type ListEnvironments400JSONResponse

type ListEnvironments400JSONResponse ErrorBody

func (ListEnvironments400JSONResponse) VisitListEnvironmentsResponse

func (response ListEnvironments400JSONResponse) VisitListEnvironmentsResponse(w http.ResponseWriter) error

type ListEnvironments401JSONResponse

type ListEnvironments401JSONResponse ErrorBody

func (ListEnvironments401JSONResponse) VisitListEnvironmentsResponse

func (response ListEnvironments401JSONResponse) VisitListEnvironmentsResponse(w http.ResponseWriter) error

type ListEnvironments403JSONResponse

type ListEnvironments403JSONResponse ErrorBody

func (ListEnvironments403JSONResponse) VisitListEnvironmentsResponse

func (response ListEnvironments403JSONResponse) VisitListEnvironmentsResponse(w http.ResponseWriter) error

type ListEnvironments406JSONResponse

type ListEnvironments406JSONResponse ErrorBody

func (ListEnvironments406JSONResponse) VisitListEnvironmentsResponse

func (response ListEnvironments406JSONResponse) VisitListEnvironmentsResponse(w http.ResponseWriter) error

type ListEnvironments500JSONResponse

type ListEnvironments500JSONResponse ErrorBody

func (ListEnvironments500JSONResponse) VisitListEnvironmentsResponse

func (response ListEnvironments500JSONResponse) VisitListEnvironmentsResponse(w http.ResponseWriter) error

type ListEnvironmentsParams

type ListEnvironmentsParams struct {
	// Page Page number for pagination. Defaults to 1 if not provided. Must be a positive integer.
	Page *PaginationPageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page for pagination. Valid values range from 1-1000. Defaults to 100 if not provided.
	Size *PaginationPageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortBy Sort by field for the pagination. If not provided, defaults to 'name'.
	SortBy *ListEnvironmentsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// SortDirection Sort direction for the pagination. If not provided, defaults to 'asc'.
	SortDirection *ListEnvironmentsParamsSortDirection `form:"sort_direction,omitempty" json:"sort_direction,omitempty"`

	// Name Filter records by with the provided string in the name. If not provided, no name filtering is applied.
	Name *FilterByName `form:"name,omitempty" json:"name,omitempty"`

	// Type Filter records by type. If not provided, no type filtering is applied.
	Type *FilterByType `form:"type,omitempty" json:"type,omitempty"`

	// State Filter records by state. 'active' for non-deleted records, 'deleted' for soft-deleted records, 'all' for both. Defaults to 'active'
	State *ListEnvironmentsParamsState `form:"state,omitempty" json:"state,omitempty"`
}

ListEnvironmentsParams defines parameters for ListEnvironments.

type ListEnvironmentsParamsSortBy

type ListEnvironmentsParamsSortBy string

ListEnvironmentsParamsSortBy defines parameters for ListEnvironments.

const (
	ListEnvironmentsParamsSortByCreatedAt ListEnvironmentsParamsSortBy = "created_at"
	ListEnvironmentsParamsSortByName      ListEnvironmentsParamsSortBy = "name"
	ListEnvironmentsParamsSortByType      ListEnvironmentsParamsSortBy = "type"
	ListEnvironmentsParamsSortByUpdatedAt ListEnvironmentsParamsSortBy = "updated_at"
)

Defines values for ListEnvironmentsParamsSortBy.

type ListEnvironmentsParamsSortDirection

type ListEnvironmentsParamsSortDirection string

ListEnvironmentsParamsSortDirection defines parameters for ListEnvironments.

const (
	ListEnvironmentsParamsSortDirectionAsc  ListEnvironmentsParamsSortDirection = "asc"
	ListEnvironmentsParamsSortDirectionDesc ListEnvironmentsParamsSortDirection = "desc"
)

Defines values for ListEnvironmentsParamsSortDirection.

type ListEnvironmentsParamsState

type ListEnvironmentsParamsState string

ListEnvironmentsParamsState defines parameters for ListEnvironments.

const (
	ListEnvironmentsParamsStateActive  ListEnvironmentsParamsState = "active"
	ListEnvironmentsParamsStateAll     ListEnvironmentsParamsState = "all"
	ListEnvironmentsParamsStateDeleted ListEnvironmentsParamsState = "deleted"
)

Defines values for ListEnvironmentsParamsState.

type ListEnvironmentsRequestObject

type ListEnvironmentsRequestObject struct {
	Params ListEnvironmentsParams
}

type ListEnvironmentsResponseObject

type ListEnvironmentsResponseObject interface {
	VisitListEnvironmentsResponse(w http.ResponseWriter) error
}

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type OptionsEnvironment200Response

type OptionsEnvironment200Response struct {
}

func (OptionsEnvironment200Response) VisitOptionsEnvironmentResponse

func (response OptionsEnvironment200Response) VisitOptionsEnvironmentResponse(w http.ResponseWriter) error

type OptionsEnvironmentName200Response

type OptionsEnvironmentName200Response struct {
}

func (OptionsEnvironmentName200Response) VisitOptionsEnvironmentNameResponse

func (response OptionsEnvironmentName200Response) VisitOptionsEnvironmentNameResponse(w http.ResponseWriter) error

type OptionsEnvironmentNameFlag200Response

type OptionsEnvironmentNameFlag200Response struct {
}

func (OptionsEnvironmentNameFlag200Response) VisitOptionsEnvironmentNameFlagResponse

func (response OptionsEnvironmentNameFlag200Response) VisitOptionsEnvironmentNameFlagResponse(w http.ResponseWriter) error

type OptionsEnvironmentNameFlagId200Response

type OptionsEnvironmentNameFlagId200Response struct {
}

func (OptionsEnvironmentNameFlagId200Response) VisitOptionsEnvironmentNameFlagIdResponse

func (response OptionsEnvironmentNameFlagId200Response) VisitOptionsEnvironmentNameFlagIdResponse(w http.ResponseWriter) error

type OptionsEnvironmentNameFlagIdRequestObject

type OptionsEnvironmentNameFlagIdRequestObject struct {
	EnvironmentName EnvironmentName `json:"environment_name"`
	FlagId          FlagId          `json:"flag_id"`
}

type OptionsEnvironmentNameFlagIdResponseObject

type OptionsEnvironmentNameFlagIdResponseObject interface {
	VisitOptionsEnvironmentNameFlagIdResponse(w http.ResponseWriter) error
}

type OptionsEnvironmentNameFlagRequestObject

type OptionsEnvironmentNameFlagRequestObject struct {
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type OptionsEnvironmentNameFlagResponseObject

type OptionsEnvironmentNameFlagResponseObject interface {
	VisitOptionsEnvironmentNameFlagResponse(w http.ResponseWriter) error
}

type OptionsEnvironmentNameRequestObject

type OptionsEnvironmentNameRequestObject struct {
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type OptionsEnvironmentNameResponseObject

type OptionsEnvironmentNameResponseObject interface {
	VisitOptionsEnvironmentNameResponse(w http.ResponseWriter) error
}

type OptionsEnvironmentRequestObject

type OptionsEnvironmentRequestObject struct {
}

type OptionsEnvironmentResponseObject

type OptionsEnvironmentResponseObject interface {
	VisitOptionsEnvironmentResponse(w http.ResponseWriter) error
}

type OptionsFlag200Response

type OptionsFlag200Response struct {
}

func (OptionsFlag200Response) VisitOptionsFlagResponse

func (response OptionsFlag200Response) VisitOptionsFlagResponse(w http.ResponseWriter) error

type OptionsFlagId200Response

type OptionsFlagId200Response struct {
}

func (OptionsFlagId200Response) VisitOptionsFlagIdResponse

func (response OptionsFlagId200Response) VisitOptionsFlagIdResponse(w http.ResponseWriter) error

type OptionsFlagIdRequestObject

type OptionsFlagIdRequestObject struct {
	FlagId FlagId `json:"flag_id"`
}

type OptionsFlagIdResponseObject

type OptionsFlagIdResponseObject interface {
	VisitOptionsFlagIdResponse(w http.ResponseWriter) error
}

type OptionsFlagRequestObject

type OptionsFlagRequestObject struct {
}

type OptionsFlagResponseObject

type OptionsFlagResponseObject interface {
	VisitOptionsFlagResponse(w http.ResponseWriter) error
}

type OptionsHealthCheck200Response

type OptionsHealthCheck200Response struct {
}

func (OptionsHealthCheck200Response) VisitOptionsHealthCheckResponse

func (response OptionsHealthCheck200Response) VisitOptionsHealthCheckResponse(w http.ResponseWriter) error

type OptionsHealthCheckRequestObject

type OptionsHealthCheckRequestObject struct {
}

type OptionsHealthCheckResponseObject

type OptionsHealthCheckResponseObject interface {
	VisitOptionsHealthCheckResponse(w http.ResponseWriter) error
}

type PaginationPageNumber

type PaginationPageNumber = int

PaginationPageNumber defines model for pagination_page_number.

type PaginationPageSize

type PaginationPageSize = int

PaginationPageSize defines model for pagination_page_size.

type PaginationSortBy

type PaginationSortBy string

PaginationSortBy defines model for pagination_sort_by.

const (
	PaginationSortByCreatedAt PaginationSortBy = "created_at"
	PaginationSortByName      PaginationSortBy = "name"
	PaginationSortByType      PaginationSortBy = "type"
	PaginationSortByUpdatedAt PaginationSortBy = "updated_at"
)

Defines values for PaginationSortBy.

type PaginationSortDirection

type PaginationSortDirection string

PaginationSortDirection defines model for pagination_sort_direction.

const (
	PaginationSortDirectionAsc  PaginationSortDirection = "asc"
	PaginationSortDirectionDesc PaginationSortDirection = "desc"
)

Defines values for PaginationSortDirection.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type Revert

type Revert = bool

Revert defines model for revert.

type ServerInterface

type ServerInterface interface {
	// List environments
	// (GET /api/environment)
	ListEnvironments(w http.ResponseWriter, r *http.Request, params ListEnvironmentsParams)
	// Check the options for the endpoint
	// (OPTIONS /api/environment)
	OptionsEnvironment(w http.ResponseWriter, r *http.Request)
	// Create a new environment
	// (POST /api/environment)
	CreateEnvironment(w http.ResponseWriter, r *http.Request)
	// Delete an environment
	// (DELETE /api/environment/{environment_name})
	DeleteEnvironment(w http.ResponseWriter, r *http.Request, environmentName EnvironmentName)
	// Check the options for the endpoint
	// (OPTIONS /api/environment/{environment_name})
	OptionsEnvironmentName(w http.ResponseWriter, r *http.Request, environmentName EnvironmentName)
	// Get flags by environment
	// (GET /api/environment/{environment_name}/flag)
	GetFlagsByEnvironment(w http.ResponseWriter, r *http.Request, environmentName EnvironmentName)
	// Check the options for the endpoint
	// (OPTIONS /api/environment/{environment_name}/flag)
	OptionsEnvironmentNameFlag(w http.ResponseWriter, r *http.Request, environmentName EnvironmentName)
	// Check the options for the endpoint
	// (OPTIONS /api/environment/{environment_name}/flag/{flag_id})
	OptionsEnvironmentNameFlagId(w http.ResponseWriter, r *http.Request, environmentName EnvironmentName, flagId FlagId)
	// Update a flag in an environment
	// (PUT /api/environment/{environment_name}/flag/{flag_id})
	UpdateEnvironmentFlagValue(w http.ResponseWriter, r *http.Request, environmentName EnvironmentName, flagId FlagId)
	// Get bulk list of flags
	// (GET /api/flag)
	BulkFlags(w http.ResponseWriter, r *http.Request, params BulkFlagsParams)
	// Check the options for the endpoint
	// (OPTIONS /api/flag)
	OptionsFlag(w http.ResponseWriter, r *http.Request)
	// Create a new flag
	// (POST /api/flag)
	CreateFlag(w http.ResponseWriter, r *http.Request)
	// Delete a flag
	// (DELETE /api/flag/{flag_id})
	DeleteFlag(w http.ResponseWriter, r *http.Request, flagId FlagId)
	// Check the options for the endpoint
	// (OPTIONS /api/flag/{flag_id})
	OptionsFlagId(w http.ResponseWriter, r *http.Request, flagId FlagId)
	// Update a flag
	// (PUT /api/flag/{flag_id})
	UpdateFlag(w http.ResponseWriter, r *http.Request, flagId FlagId)
	// Get health status
	// (GET /healthcheck)
	HealthCheck(w http.ResponseWriter, r *http.Request)
	// Check the options for the endpoint
	// (OPTIONS /healthcheck)
	OptionsHealthCheck(w http.ResponseWriter, r *http.Request)
	// Check the options for the endpoint
	// (OPTIONS /ui/flag)
	UIOptionsCreateSingleFlag(w http.ResponseWriter, r *http.Request)
	// create a single flag
	// (POST /ui/flag)
	UICreateSingleFlag(w http.ResponseWriter, r *http.Request)
	// delete a single flag
	// (DELETE /ui/flag/{flag_id})
	UIKillSingleFlag(w http.ResponseWriter, r *http.Request, flagId FlagId)
	// Check the options for the endpoint
	// (OPTIONS /ui/flag/{flag_id})
	UIOptionsSingleFlag(w http.ResponseWriter, r *http.Request, flagId FlagId)
	// Change the value of a single flag in an environment to the default value
	// (DELETE /ui/flag/{flag_id}/{environment_name})
	UIKillSingleFlagEnvValue(w http.ResponseWriter, r *http.Request, flagId FlagId, environmentName EnvironmentName)
	// Find a single flags editable default or value the specified environment
	// (GET /ui/flag/{flag_id}/{environment_name})
	UIFindSingleFlagEnvValue(w http.ResponseWriter, r *http.Request, flagId FlagId, environmentName EnvironmentName, params UIFindSingleFlagEnvValueParams)
	// Check the options for the endpoint
	// (OPTIONS /ui/flag/{flag_id}/{environment_name})
	UIOptionsSingleFlagEnvValue(w http.ResponseWriter, r *http.Request, flagId FlagId, environmentName EnvironmentName)
	// Update the value of a single flag in an environment to the provided value
	// (PUT /ui/flag/{flag_id}/{environment_name})
	UIUpdateSingleFlagEnvValue(w http.ResponseWriter, r *http.Request, flagId FlagId, environmentName EnvironmentName)
	// Get bulk list of flags
	// (GET /ui/flags)
	UIFindBulkFlags(w http.ResponseWriter, r *http.Request, params UIFindBulkFlagsParams)
	// Check the options for the endpoint
	// (OPTIONS /ui/flags)
	UIOptionsFindBulkFlags(w http.ResponseWriter, r *http.Request)
	// Get the page for the initial load
	// (GET /ui/page)
	UIPage(w http.ResponseWriter, r *http.Request)
	// Check the options for the endpoint
	// (OPTIONS /ui/page)
	UIOptionsPage(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) BulkFlags

func (siw *ServerInterfaceWrapper) BulkFlags(w http.ResponseWriter, r *http.Request)

BulkFlags operation middleware

func (*ServerInterfaceWrapper) CreateEnvironment

func (siw *ServerInterfaceWrapper) CreateEnvironment(w http.ResponseWriter, r *http.Request)

CreateEnvironment operation middleware

func (*ServerInterfaceWrapper) CreateFlag

func (siw *ServerInterfaceWrapper) CreateFlag(w http.ResponseWriter, r *http.Request)

CreateFlag operation middleware

func (*ServerInterfaceWrapper) DeleteEnvironment

func (siw *ServerInterfaceWrapper) DeleteEnvironment(w http.ResponseWriter, r *http.Request)

DeleteEnvironment operation middleware

func (*ServerInterfaceWrapper) DeleteFlag

func (siw *ServerInterfaceWrapper) DeleteFlag(w http.ResponseWriter, r *http.Request)

DeleteFlag operation middleware

func (*ServerInterfaceWrapper) GetFlagsByEnvironment

func (siw *ServerInterfaceWrapper) GetFlagsByEnvironment(w http.ResponseWriter, r *http.Request)

GetFlagsByEnvironment operation middleware

func (*ServerInterfaceWrapper) HealthCheck

func (siw *ServerInterfaceWrapper) HealthCheck(w http.ResponseWriter, r *http.Request)

HealthCheck operation middleware

func (*ServerInterfaceWrapper) ListEnvironments

func (siw *ServerInterfaceWrapper) ListEnvironments(w http.ResponseWriter, r *http.Request)

ListEnvironments operation middleware

func (*ServerInterfaceWrapper) OptionsEnvironment

func (siw *ServerInterfaceWrapper) OptionsEnvironment(w http.ResponseWriter, r *http.Request)

OptionsEnvironment operation middleware

func (*ServerInterfaceWrapper) OptionsEnvironmentName

func (siw *ServerInterfaceWrapper) OptionsEnvironmentName(w http.ResponseWriter, r *http.Request)

OptionsEnvironmentName operation middleware

func (*ServerInterfaceWrapper) OptionsEnvironmentNameFlag

func (siw *ServerInterfaceWrapper) OptionsEnvironmentNameFlag(w http.ResponseWriter, r *http.Request)

OptionsEnvironmentNameFlag operation middleware

func (*ServerInterfaceWrapper) OptionsEnvironmentNameFlagId

func (siw *ServerInterfaceWrapper) OptionsEnvironmentNameFlagId(w http.ResponseWriter, r *http.Request)

OptionsEnvironmentNameFlagId operation middleware

func (*ServerInterfaceWrapper) OptionsFlag

func (siw *ServerInterfaceWrapper) OptionsFlag(w http.ResponseWriter, r *http.Request)

OptionsFlag operation middleware

func (*ServerInterfaceWrapper) OptionsFlagId

func (siw *ServerInterfaceWrapper) OptionsFlagId(w http.ResponseWriter, r *http.Request)

OptionsFlagId operation middleware

func (*ServerInterfaceWrapper) OptionsHealthCheck

func (siw *ServerInterfaceWrapper) OptionsHealthCheck(w http.ResponseWriter, r *http.Request)

OptionsHealthCheck operation middleware

func (*ServerInterfaceWrapper) UICreateSingleFlag

func (siw *ServerInterfaceWrapper) UICreateSingleFlag(w http.ResponseWriter, r *http.Request)

UICreateSingleFlag operation middleware

func (*ServerInterfaceWrapper) UIFindBulkFlags

func (siw *ServerInterfaceWrapper) UIFindBulkFlags(w http.ResponseWriter, r *http.Request)

UIFindBulkFlags operation middleware

func (*ServerInterfaceWrapper) UIFindSingleFlagEnvValue

func (siw *ServerInterfaceWrapper) UIFindSingleFlagEnvValue(w http.ResponseWriter, r *http.Request)

UIFindSingleFlagEnvValue operation middleware

func (*ServerInterfaceWrapper) UIKillSingleFlag

func (siw *ServerInterfaceWrapper) UIKillSingleFlag(w http.ResponseWriter, r *http.Request)

UIKillSingleFlag operation middleware

func (*ServerInterfaceWrapper) UIKillSingleFlagEnvValue

func (siw *ServerInterfaceWrapper) UIKillSingleFlagEnvValue(w http.ResponseWriter, r *http.Request)

UIKillSingleFlagEnvValue operation middleware

func (*ServerInterfaceWrapper) UIOptionsCreateSingleFlag

func (siw *ServerInterfaceWrapper) UIOptionsCreateSingleFlag(w http.ResponseWriter, r *http.Request)

UIOptionsCreateSingleFlag operation middleware

func (*ServerInterfaceWrapper) UIOptionsFindBulkFlags

func (siw *ServerInterfaceWrapper) UIOptionsFindBulkFlags(w http.ResponseWriter, r *http.Request)

UIOptionsFindBulkFlags operation middleware

func (*ServerInterfaceWrapper) UIOptionsPage

func (siw *ServerInterfaceWrapper) UIOptionsPage(w http.ResponseWriter, r *http.Request)

UIOptionsPage operation middleware

func (*ServerInterfaceWrapper) UIOptionsSingleFlag

func (siw *ServerInterfaceWrapper) UIOptionsSingleFlag(w http.ResponseWriter, r *http.Request)

UIOptionsSingleFlag operation middleware

func (*ServerInterfaceWrapper) UIOptionsSingleFlagEnvValue

func (siw *ServerInterfaceWrapper) UIOptionsSingleFlagEnvValue(w http.ResponseWriter, r *http.Request)

UIOptionsSingleFlagEnvValue operation middleware

func (*ServerInterfaceWrapper) UIPage

UIPage operation middleware

func (*ServerInterfaceWrapper) UIUpdateSingleFlagEnvValue

func (siw *ServerInterfaceWrapper) UIUpdateSingleFlagEnvValue(w http.ResponseWriter, r *http.Request)

UIUpdateSingleFlagEnvValue operation middleware

func (*ServerInterfaceWrapper) UpdateEnvironmentFlagValue

func (siw *ServerInterfaceWrapper) UpdateEnvironmentFlagValue(w http.ResponseWriter, r *http.Request)

UpdateEnvironmentFlagValue operation middleware

func (*ServerInterfaceWrapper) UpdateFlag

func (siw *ServerInterfaceWrapper) UpdateFlag(w http.ResponseWriter, r *http.Request)

UpdateFlag operation middleware

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// List environments
	// (GET /api/environment)
	ListEnvironments(ctx context.Context, request ListEnvironmentsRequestObject) (ListEnvironmentsResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /api/environment)
	OptionsEnvironment(ctx context.Context, request OptionsEnvironmentRequestObject) (OptionsEnvironmentResponseObject, error)
	// Create a new environment
	// (POST /api/environment)
	CreateEnvironment(ctx context.Context, request CreateEnvironmentRequestObject) (CreateEnvironmentResponseObject, error)
	// Delete an environment
	// (DELETE /api/environment/{environment_name})
	DeleteEnvironment(ctx context.Context, request DeleteEnvironmentRequestObject) (DeleteEnvironmentResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /api/environment/{environment_name})
	OptionsEnvironmentName(ctx context.Context, request OptionsEnvironmentNameRequestObject) (OptionsEnvironmentNameResponseObject, error)
	// Get flags by environment
	// (GET /api/environment/{environment_name}/flag)
	GetFlagsByEnvironment(ctx context.Context, request GetFlagsByEnvironmentRequestObject) (GetFlagsByEnvironmentResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /api/environment/{environment_name}/flag)
	OptionsEnvironmentNameFlag(ctx context.Context, request OptionsEnvironmentNameFlagRequestObject) (OptionsEnvironmentNameFlagResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /api/environment/{environment_name}/flag/{flag_id})
	OptionsEnvironmentNameFlagId(ctx context.Context, request OptionsEnvironmentNameFlagIdRequestObject) (OptionsEnvironmentNameFlagIdResponseObject, error)
	// Update a flag in an environment
	// (PUT /api/environment/{environment_name}/flag/{flag_id})
	UpdateEnvironmentFlagValue(ctx context.Context, request UpdateEnvironmentFlagValueRequestObject) (UpdateEnvironmentFlagValueResponseObject, error)
	// Get bulk list of flags
	// (GET /api/flag)
	BulkFlags(ctx context.Context, request BulkFlagsRequestObject) (BulkFlagsResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /api/flag)
	OptionsFlag(ctx context.Context, request OptionsFlagRequestObject) (OptionsFlagResponseObject, error)
	// Create a new flag
	// (POST /api/flag)
	CreateFlag(ctx context.Context, request CreateFlagRequestObject) (CreateFlagResponseObject, error)
	// Delete a flag
	// (DELETE /api/flag/{flag_id})
	DeleteFlag(ctx context.Context, request DeleteFlagRequestObject) (DeleteFlagResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /api/flag/{flag_id})
	OptionsFlagId(ctx context.Context, request OptionsFlagIdRequestObject) (OptionsFlagIdResponseObject, error)
	// Update a flag
	// (PUT /api/flag/{flag_id})
	UpdateFlag(ctx context.Context, request UpdateFlagRequestObject) (UpdateFlagResponseObject, error)
	// Get health status
	// (GET /healthcheck)
	HealthCheck(ctx context.Context, request HealthCheckRequestObject) (HealthCheckResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /healthcheck)
	OptionsHealthCheck(ctx context.Context, request OptionsHealthCheckRequestObject) (OptionsHealthCheckResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /ui/flag)
	UIOptionsCreateSingleFlag(ctx context.Context, request UIOptionsCreateSingleFlagRequestObject) (UIOptionsCreateSingleFlagResponseObject, error)
	// create a single flag
	// (POST /ui/flag)
	UICreateSingleFlag(ctx context.Context, request UICreateSingleFlagRequestObject) (UICreateSingleFlagResponseObject, error)
	// delete a single flag
	// (DELETE /ui/flag/{flag_id})
	UIKillSingleFlag(ctx context.Context, request UIKillSingleFlagRequestObject) (UIKillSingleFlagResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /ui/flag/{flag_id})
	UIOptionsSingleFlag(ctx context.Context, request UIOptionsSingleFlagRequestObject) (UIOptionsSingleFlagResponseObject, error)
	// Change the value of a single flag in an environment to the default value
	// (DELETE /ui/flag/{flag_id}/{environment_name})
	UIKillSingleFlagEnvValue(ctx context.Context, request UIKillSingleFlagEnvValueRequestObject) (UIKillSingleFlagEnvValueResponseObject, error)
	// Find a single flags editable default or value the specified environment
	// (GET /ui/flag/{flag_id}/{environment_name})
	UIFindSingleFlagEnvValue(ctx context.Context, request UIFindSingleFlagEnvValueRequestObject) (UIFindSingleFlagEnvValueResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /ui/flag/{flag_id}/{environment_name})
	UIOptionsSingleFlagEnvValue(ctx context.Context, request UIOptionsSingleFlagEnvValueRequestObject) (UIOptionsSingleFlagEnvValueResponseObject, error)
	// Update the value of a single flag in an environment to the provided value
	// (PUT /ui/flag/{flag_id}/{environment_name})
	UIUpdateSingleFlagEnvValue(ctx context.Context, request UIUpdateSingleFlagEnvValueRequestObject) (UIUpdateSingleFlagEnvValueResponseObject, error)
	// Get bulk list of flags
	// (GET /ui/flags)
	UIFindBulkFlags(ctx context.Context, request UIFindBulkFlagsRequestObject) (UIFindBulkFlagsResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /ui/flags)
	UIOptionsFindBulkFlags(ctx context.Context, request UIOptionsFindBulkFlagsRequestObject) (UIOptionsFindBulkFlagsResponseObject, error)
	// Get the page for the initial load
	// (GET /ui/page)
	UIPage(ctx context.Context, request UIPageRequestObject) (UIPageResponseObject, error)
	// Check the options for the endpoint
	// (OPTIONS /ui/page)
	UIOptionsPage(ctx context.Context, request UIOptionsPageRequestObject) (UIOptionsPageResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UICreateSingleFlag200TexthtmlResponse

type UICreateSingleFlag200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UICreateSingleFlag200TexthtmlResponse) VisitUICreateSingleFlagResponse

func (response UICreateSingleFlag200TexthtmlResponse) VisitUICreateSingleFlagResponse(w http.ResponseWriter) error

type UICreateSingleFlag400JSONResponse

type UICreateSingleFlag400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UICreateSingleFlag400JSONResponse) VisitUICreateSingleFlagResponse

func (response UICreateSingleFlag400JSONResponse) VisitUICreateSingleFlagResponse(w http.ResponseWriter) error

type UICreateSingleFlag401TexthtmlResponse

type UICreateSingleFlag401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UICreateSingleFlag401TexthtmlResponse) VisitUICreateSingleFlagResponse

func (response UICreateSingleFlag401TexthtmlResponse) VisitUICreateSingleFlagResponse(w http.ResponseWriter) error

type UICreateSingleFlag403TexthtmlResponse

type UICreateSingleFlag403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UICreateSingleFlag403TexthtmlResponse) VisitUICreateSingleFlagResponse

func (response UICreateSingleFlag403TexthtmlResponse) VisitUICreateSingleFlagResponse(w http.ResponseWriter) error

type UICreateSingleFlag500TexthtmlResponse

type UICreateSingleFlag500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UICreateSingleFlag500TexthtmlResponse) VisitUICreateSingleFlagResponse

func (response UICreateSingleFlag500TexthtmlResponse) VisitUICreateSingleFlagResponse(w http.ResponseWriter) error

type UICreateSingleFlagRequestObject

type UICreateSingleFlagRequestObject struct {
}

type UICreateSingleFlagResponseObject

type UICreateSingleFlagResponseObject interface {
	VisitUICreateSingleFlagResponse(w http.ResponseWriter) error
}

type UIFindBulkFlags200TexthtmlResponse

type UIFindBulkFlags200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindBulkFlags200TexthtmlResponse) VisitUIFindBulkFlagsResponse

func (response UIFindBulkFlags200TexthtmlResponse) VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error

type UIFindBulkFlags400JSONResponse

type UIFindBulkFlags400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UIFindBulkFlags400JSONResponse) VisitUIFindBulkFlagsResponse

func (response UIFindBulkFlags400JSONResponse) VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error

type UIFindBulkFlags401TexthtmlResponse

type UIFindBulkFlags401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindBulkFlags401TexthtmlResponse) VisitUIFindBulkFlagsResponse

func (response UIFindBulkFlags401TexthtmlResponse) VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error

type UIFindBulkFlags403TexthtmlResponse

type UIFindBulkFlags403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindBulkFlags403TexthtmlResponse) VisitUIFindBulkFlagsResponse

func (response UIFindBulkFlags403TexthtmlResponse) VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error

type UIFindBulkFlags406TexthtmlResponse

type UIFindBulkFlags406TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindBulkFlags406TexthtmlResponse) VisitUIFindBulkFlagsResponse

func (response UIFindBulkFlags406TexthtmlResponse) VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error

type UIFindBulkFlags500TexthtmlResponse

type UIFindBulkFlags500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindBulkFlags500TexthtmlResponse) VisitUIFindBulkFlagsResponse

func (response UIFindBulkFlags500TexthtmlResponse) VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error

type UIFindBulkFlagsParams

type UIFindBulkFlagsParams struct {
	// Page Page number for pagination. Defaults to 1 if not provided. Must be a positive integer.
	Page *PaginationPageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page for pagination. Valid values range from 1-1000. Defaults to 100 if not provided.
	Size *PaginationPageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortBy Sort by field for the pagination. If not provided, defaults to 'name'.
	SortBy *UIFindBulkFlagsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// SortDirection Sort direction for the pagination. If not provided, defaults to 'asc'.
	SortDirection *UIFindBulkFlagsParamsSortDirection `form:"sort_direction,omitempty" json:"sort_direction,omitempty"`

	// Name Filter records by with the provided string in the name. If not provided, no name filtering is applied.
	Name *FilterByName `form:"name,omitempty" json:"name,omitempty"`

	// Type Filter records by type. If not provided, no type filtering is applied.
	Type *FilterByType `form:"type,omitempty" json:"type,omitempty"`

	// Environment Filter records by environment name. If not provided, no environment filtering is applied.
	Environment *FilterByEnvironment `form:"environment,omitempty" json:"environment,omitempty"`

	// State Filter records by state. 'active' for non-deleted records, 'deleted' for soft-deleted records, 'all' for both. Defaults to 'active'
	State *UIFindBulkFlagsParamsState `form:"state,omitempty" json:"state,omitempty"`
}

UIFindBulkFlagsParams defines parameters for UIFindBulkFlags.

type UIFindBulkFlagsParamsSortBy

type UIFindBulkFlagsParamsSortBy string

UIFindBulkFlagsParamsSortBy defines parameters for UIFindBulkFlags.

const (
	UIFindBulkFlagsParamsSortByCreatedAt UIFindBulkFlagsParamsSortBy = "created_at"
	UIFindBulkFlagsParamsSortByName      UIFindBulkFlagsParamsSortBy = "name"
	UIFindBulkFlagsParamsSortByType      UIFindBulkFlagsParamsSortBy = "type"
	UIFindBulkFlagsParamsSortByUpdatedAt UIFindBulkFlagsParamsSortBy = "updated_at"
)

Defines values for UIFindBulkFlagsParamsSortBy.

type UIFindBulkFlagsParamsSortDirection

type UIFindBulkFlagsParamsSortDirection string

UIFindBulkFlagsParamsSortDirection defines parameters for UIFindBulkFlags.

const (
	UIFindBulkFlagsParamsSortDirectionAsc  UIFindBulkFlagsParamsSortDirection = "asc"
	UIFindBulkFlagsParamsSortDirectionDesc UIFindBulkFlagsParamsSortDirection = "desc"
)

Defines values for UIFindBulkFlagsParamsSortDirection.

type UIFindBulkFlagsParamsState

type UIFindBulkFlagsParamsState string

UIFindBulkFlagsParamsState defines parameters for UIFindBulkFlags.

const (
	UIFindBulkFlagsParamsStateActive  UIFindBulkFlagsParamsState = "active"
	UIFindBulkFlagsParamsStateAll     UIFindBulkFlagsParamsState = "all"
	UIFindBulkFlagsParamsStateDeleted UIFindBulkFlagsParamsState = "deleted"
)

Defines values for UIFindBulkFlagsParamsState.

type UIFindBulkFlagsRequestObject

type UIFindBulkFlagsRequestObject struct {
	Params UIFindBulkFlagsParams
}

type UIFindBulkFlagsResponseObject

type UIFindBulkFlagsResponseObject interface {
	VisitUIFindBulkFlagsResponse(w http.ResponseWriter) error
}

type UIFindSingleFlagEnvValue200TexthtmlResponse

type UIFindSingleFlagEnvValue200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindSingleFlagEnvValue200TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse

func (response UIFindSingleFlagEnvValue200TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIFindSingleFlagEnvValue400JSONResponse

type UIFindSingleFlagEnvValue400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UIFindSingleFlagEnvValue400JSONResponse) VisitUIFindSingleFlagEnvValueResponse

func (response UIFindSingleFlagEnvValue400JSONResponse) VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIFindSingleFlagEnvValue401TexthtmlResponse

type UIFindSingleFlagEnvValue401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindSingleFlagEnvValue401TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse

func (response UIFindSingleFlagEnvValue401TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIFindSingleFlagEnvValue403TexthtmlResponse

type UIFindSingleFlagEnvValue403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindSingleFlagEnvValue403TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse

func (response UIFindSingleFlagEnvValue403TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIFindSingleFlagEnvValue406TexthtmlResponse

type UIFindSingleFlagEnvValue406TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindSingleFlagEnvValue406TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse

func (response UIFindSingleFlagEnvValue406TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIFindSingleFlagEnvValue500TexthtmlResponse

type UIFindSingleFlagEnvValue500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIFindSingleFlagEnvValue500TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse

func (response UIFindSingleFlagEnvValue500TexthtmlResponse) VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIFindSingleFlagEnvValueParams

type UIFindSingleFlagEnvValueParams struct {
	// Revert Defaults to false. If true, the endpoint returns the uneditable version of a value.
	Revert *Revert `form:"revert,omitempty" json:"revert,omitempty"`
}

UIFindSingleFlagEnvValueParams defines parameters for UIFindSingleFlagEnvValue.

type UIFindSingleFlagEnvValueRequestObject

type UIFindSingleFlagEnvValueRequestObject struct {
	FlagId          FlagId          `json:"flag_id"`
	EnvironmentName EnvironmentName `json:"environment_name"`
	Params          UIFindSingleFlagEnvValueParams
}

type UIFindSingleFlagEnvValueResponseObject

type UIFindSingleFlagEnvValueResponseObject interface {
	VisitUIFindSingleFlagEnvValueResponse(w http.ResponseWriter) error
}

type UIKillSingleFlag200TexthtmlResponse

type UIKillSingleFlag200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlag200TexthtmlResponse) VisitUIKillSingleFlagResponse

func (response UIKillSingleFlag200TexthtmlResponse) VisitUIKillSingleFlagResponse(w http.ResponseWriter) error

type UIKillSingleFlag400JSONResponse

type UIKillSingleFlag400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UIKillSingleFlag400JSONResponse) VisitUIKillSingleFlagResponse

func (response UIKillSingleFlag400JSONResponse) VisitUIKillSingleFlagResponse(w http.ResponseWriter) error

type UIKillSingleFlag401TexthtmlResponse

type UIKillSingleFlag401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlag401TexthtmlResponse) VisitUIKillSingleFlagResponse

func (response UIKillSingleFlag401TexthtmlResponse) VisitUIKillSingleFlagResponse(w http.ResponseWriter) error

type UIKillSingleFlag403TexthtmlResponse

type UIKillSingleFlag403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlag403TexthtmlResponse) VisitUIKillSingleFlagResponse

func (response UIKillSingleFlag403TexthtmlResponse) VisitUIKillSingleFlagResponse(w http.ResponseWriter) error

type UIKillSingleFlag406TexthtmlResponse

type UIKillSingleFlag406TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlag406TexthtmlResponse) VisitUIKillSingleFlagResponse

func (response UIKillSingleFlag406TexthtmlResponse) VisitUIKillSingleFlagResponse(w http.ResponseWriter) error

type UIKillSingleFlag500TexthtmlResponse

type UIKillSingleFlag500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlag500TexthtmlResponse) VisitUIKillSingleFlagResponse

func (response UIKillSingleFlag500TexthtmlResponse) VisitUIKillSingleFlagResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValue200TexthtmlResponse

type UIKillSingleFlagEnvValue200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlagEnvValue200TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse

func (response UIKillSingleFlagEnvValue200TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValue400JSONResponse

type UIKillSingleFlagEnvValue400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UIKillSingleFlagEnvValue400JSONResponse) VisitUIKillSingleFlagEnvValueResponse

func (response UIKillSingleFlagEnvValue400JSONResponse) VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValue401TexthtmlResponse

type UIKillSingleFlagEnvValue401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlagEnvValue401TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse

func (response UIKillSingleFlagEnvValue401TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValue403TexthtmlResponse

type UIKillSingleFlagEnvValue403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlagEnvValue403TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse

func (response UIKillSingleFlagEnvValue403TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValue406TexthtmlResponse

type UIKillSingleFlagEnvValue406TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlagEnvValue406TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse

func (response UIKillSingleFlagEnvValue406TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValue500TexthtmlResponse

type UIKillSingleFlagEnvValue500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIKillSingleFlagEnvValue500TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse

func (response UIKillSingleFlagEnvValue500TexthtmlResponse) VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIKillSingleFlagEnvValueRequestObject

type UIKillSingleFlagEnvValueRequestObject struct {
	FlagId          FlagId          `json:"flag_id"`
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type UIKillSingleFlagEnvValueResponseObject

type UIKillSingleFlagEnvValueResponseObject interface {
	VisitUIKillSingleFlagEnvValueResponse(w http.ResponseWriter) error
}

type UIKillSingleFlagRequestObject

type UIKillSingleFlagRequestObject struct {
	FlagId FlagId `json:"flag_id"`
}

type UIKillSingleFlagResponseObject

type UIKillSingleFlagResponseObject interface {
	VisitUIKillSingleFlagResponse(w http.ResponseWriter) error
}

type UIOptionsCreateSingleFlag200Response

type UIOptionsCreateSingleFlag200Response struct {
}

func (UIOptionsCreateSingleFlag200Response) VisitUIOptionsCreateSingleFlagResponse

func (response UIOptionsCreateSingleFlag200Response) VisitUIOptionsCreateSingleFlagResponse(w http.ResponseWriter) error

type UIOptionsCreateSingleFlagRequestObject

type UIOptionsCreateSingleFlagRequestObject struct {
}

type UIOptionsCreateSingleFlagResponseObject

type UIOptionsCreateSingleFlagResponseObject interface {
	VisitUIOptionsCreateSingleFlagResponse(w http.ResponseWriter) error
}

type UIOptionsFindBulkFlags200Response

type UIOptionsFindBulkFlags200Response struct {
}

func (UIOptionsFindBulkFlags200Response) VisitUIOptionsFindBulkFlagsResponse

func (response UIOptionsFindBulkFlags200Response) VisitUIOptionsFindBulkFlagsResponse(w http.ResponseWriter) error

type UIOptionsFindBulkFlagsRequestObject

type UIOptionsFindBulkFlagsRequestObject struct {
}

type UIOptionsFindBulkFlagsResponseObject

type UIOptionsFindBulkFlagsResponseObject interface {
	VisitUIOptionsFindBulkFlagsResponse(w http.ResponseWriter) error
}

type UIOptionsPage200Response

type UIOptionsPage200Response struct {
}

func (UIOptionsPage200Response) VisitUIOptionsPageResponse

func (response UIOptionsPage200Response) VisitUIOptionsPageResponse(w http.ResponseWriter) error

type UIOptionsPageRequestObject

type UIOptionsPageRequestObject struct {
}

type UIOptionsPageResponseObject

type UIOptionsPageResponseObject interface {
	VisitUIOptionsPageResponse(w http.ResponseWriter) error
}

type UIOptionsSingleFlag200Response

type UIOptionsSingleFlag200Response struct {
}

func (UIOptionsSingleFlag200Response) VisitUIOptionsSingleFlagResponse

func (response UIOptionsSingleFlag200Response) VisitUIOptionsSingleFlagResponse(w http.ResponseWriter) error

type UIOptionsSingleFlagEnvValue200Response

type UIOptionsSingleFlagEnvValue200Response struct {
}

func (UIOptionsSingleFlagEnvValue200Response) VisitUIOptionsSingleFlagEnvValueResponse

func (response UIOptionsSingleFlagEnvValue200Response) VisitUIOptionsSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIOptionsSingleFlagEnvValueRequestObject

type UIOptionsSingleFlagEnvValueRequestObject struct {
	FlagId          FlagId          `json:"flag_id"`
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type UIOptionsSingleFlagEnvValueResponseObject

type UIOptionsSingleFlagEnvValueResponseObject interface {
	VisitUIOptionsSingleFlagEnvValueResponse(w http.ResponseWriter) error
}

type UIOptionsSingleFlagRequestObject

type UIOptionsSingleFlagRequestObject struct {
	FlagId FlagId `json:"flag_id"`
}

type UIOptionsSingleFlagResponseObject

type UIOptionsSingleFlagResponseObject interface {
	VisitUIOptionsSingleFlagResponse(w http.ResponseWriter) error
}

type UIPage200TexthtmlResponse

type UIPage200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIPage200TexthtmlResponse) VisitUIPageResponse

func (response UIPage200TexthtmlResponse) VisitUIPageResponse(w http.ResponseWriter) error

type UIPage400JSONResponse

type UIPage400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UIPage400JSONResponse) VisitUIPageResponse

func (response UIPage400JSONResponse) VisitUIPageResponse(w http.ResponseWriter) error

type UIPage401TexthtmlResponse

type UIPage401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIPage401TexthtmlResponse) VisitUIPageResponse

func (response UIPage401TexthtmlResponse) VisitUIPageResponse(w http.ResponseWriter) error

type UIPage403TexthtmlResponse

type UIPage403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIPage403TexthtmlResponse) VisitUIPageResponse

func (response UIPage403TexthtmlResponse) VisitUIPageResponse(w http.ResponseWriter) error

type UIPage406TexthtmlResponse

type UIPage406TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIPage406TexthtmlResponse) VisitUIPageResponse

func (response UIPage406TexthtmlResponse) VisitUIPageResponse(w http.ResponseWriter) error

type UIPage500TexthtmlResponse

type UIPage500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIPage500TexthtmlResponse) VisitUIPageResponse

func (response UIPage500TexthtmlResponse) VisitUIPageResponse(w http.ResponseWriter) error

type UIPageRequestObject

type UIPageRequestObject struct {
}

type UIPageResponseObject

type UIPageResponseObject interface {
	VisitUIPageResponse(w http.ResponseWriter) error
}

type UIUpdateSingleFlagEnvValue200TexthtmlResponse

type UIUpdateSingleFlagEnvValue200TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIUpdateSingleFlagEnvValue200TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse

func (response UIUpdateSingleFlagEnvValue200TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIUpdateSingleFlagEnvValue400JSONResponse

type UIUpdateSingleFlagEnvValue400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UIUpdateSingleFlagEnvValue400JSONResponse) VisitUIUpdateSingleFlagEnvValueResponse

func (response UIUpdateSingleFlagEnvValue400JSONResponse) VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIUpdateSingleFlagEnvValue401TexthtmlResponse

type UIUpdateSingleFlagEnvValue401TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIUpdateSingleFlagEnvValue401TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse

func (response UIUpdateSingleFlagEnvValue401TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIUpdateSingleFlagEnvValue403TexthtmlResponse

type UIUpdateSingleFlagEnvValue403TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIUpdateSingleFlagEnvValue403TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse

func (response UIUpdateSingleFlagEnvValue403TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIUpdateSingleFlagEnvValue406TexthtmlResponse

type UIUpdateSingleFlagEnvValue406TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIUpdateSingleFlagEnvValue406TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse

func (response UIUpdateSingleFlagEnvValue406TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIUpdateSingleFlagEnvValue500TexthtmlResponse

type UIUpdateSingleFlagEnvValue500TexthtmlResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (UIUpdateSingleFlagEnvValue500TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse

func (response UIUpdateSingleFlagEnvValue500TexthtmlResponse) VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error

type UIUpdateSingleFlagEnvValueRequestObject

type UIUpdateSingleFlagEnvValueRequestObject struct {
	FlagId          FlagId          `json:"flag_id"`
	EnvironmentName EnvironmentName `json:"environment_name"`
}

type UIUpdateSingleFlagEnvValueResponseObject

type UIUpdateSingleFlagEnvValueResponseObject interface {
	VisitUIUpdateSingleFlagEnvValueResponse(w http.ResponseWriter) error
}

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateEnvironmentFlagValue200JSONResponse

type UpdateEnvironmentFlagValue200JSONResponse Flag

func (UpdateEnvironmentFlagValue200JSONResponse) VisitUpdateEnvironmentFlagValueResponse

func (response UpdateEnvironmentFlagValue200JSONResponse) VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error

type UpdateEnvironmentFlagValue400JSONResponse

type UpdateEnvironmentFlagValue400JSONResponse ErrorBody

func (UpdateEnvironmentFlagValue400JSONResponse) VisitUpdateEnvironmentFlagValueResponse

func (response UpdateEnvironmentFlagValue400JSONResponse) VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error

type UpdateEnvironmentFlagValue401JSONResponse

type UpdateEnvironmentFlagValue401JSONResponse ErrorBody

func (UpdateEnvironmentFlagValue401JSONResponse) VisitUpdateEnvironmentFlagValueResponse

func (response UpdateEnvironmentFlagValue401JSONResponse) VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error

type UpdateEnvironmentFlagValue403JSONResponse

type UpdateEnvironmentFlagValue403JSONResponse ErrorBody

func (UpdateEnvironmentFlagValue403JSONResponse) VisitUpdateEnvironmentFlagValueResponse

func (response UpdateEnvironmentFlagValue403JSONResponse) VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error

type UpdateEnvironmentFlagValue406JSONResponse

type UpdateEnvironmentFlagValue406JSONResponse ErrorBody

func (UpdateEnvironmentFlagValue406JSONResponse) VisitUpdateEnvironmentFlagValueResponse

func (response UpdateEnvironmentFlagValue406JSONResponse) VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error

type UpdateEnvironmentFlagValue500JSONResponse

type UpdateEnvironmentFlagValue500JSONResponse ErrorBody

func (UpdateEnvironmentFlagValue500JSONResponse) VisitUpdateEnvironmentFlagValueResponse

func (response UpdateEnvironmentFlagValue500JSONResponse) VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error

type UpdateEnvironmentFlagValueJSONRequestBody

type UpdateEnvironmentFlagValueJSONRequestBody = EnvironmentFlag

UpdateEnvironmentFlagValueJSONRequestBody defines body for UpdateEnvironmentFlagValue for application/json ContentType.

type UpdateEnvironmentFlagValueRequestObject

type UpdateEnvironmentFlagValueRequestObject struct {
	EnvironmentName EnvironmentName `json:"environment_name"`
	FlagId          FlagId          `json:"flag_id"`
	Body            *UpdateEnvironmentFlagValueJSONRequestBody
}

type UpdateEnvironmentFlagValueResponseObject

type UpdateEnvironmentFlagValueResponseObject interface {
	VisitUpdateEnvironmentFlagValueResponse(w http.ResponseWriter) error
}

type UpdateFlag200JSONResponse

type UpdateFlag200JSONResponse Flag

func (UpdateFlag200JSONResponse) VisitUpdateFlagResponse

func (response UpdateFlag200JSONResponse) VisitUpdateFlagResponse(w http.ResponseWriter) error

type UpdateFlag400JSONResponse

type UpdateFlag400JSONResponse struct {
	Error *string `json:"error,omitempty"`
}

func (UpdateFlag400JSONResponse) VisitUpdateFlagResponse

func (response UpdateFlag400JSONResponse) VisitUpdateFlagResponse(w http.ResponseWriter) error

type UpdateFlag401JSONResponse

type UpdateFlag401JSONResponse ErrorBody

func (UpdateFlag401JSONResponse) VisitUpdateFlagResponse

func (response UpdateFlag401JSONResponse) VisitUpdateFlagResponse(w http.ResponseWriter) error

type UpdateFlag403JSONResponse

type UpdateFlag403JSONResponse ErrorBody

func (UpdateFlag403JSONResponse) VisitUpdateFlagResponse

func (response UpdateFlag403JSONResponse) VisitUpdateFlagResponse(w http.ResponseWriter) error

type UpdateFlag406JSONResponse

type UpdateFlag406JSONResponse ErrorBody

func (UpdateFlag406JSONResponse) VisitUpdateFlagResponse

func (response UpdateFlag406JSONResponse) VisitUpdateFlagResponse(w http.ResponseWriter) error

type UpdateFlag500JSONResponse

type UpdateFlag500JSONResponse ErrorBody

func (UpdateFlag500JSONResponse) VisitUpdateFlagResponse

func (response UpdateFlag500JSONResponse) VisitUpdateFlagResponse(w http.ResponseWriter) error

type UpdateFlagJSONRequestBody

type UpdateFlagJSONRequestBody = Flag

UpdateFlagJSONRequestBody defines body for UpdateFlag for application/json ContentType.

type UpdateFlagRequestObject

type UpdateFlagRequestObject struct {
	FlagId FlagId `json:"flag_id"`
	Body   *UpdateFlagJSONRequestBody
}

type UpdateFlagResponseObject

type UpdateFlagResponseObject interface {
	VisitUpdateFlagResponse(w http.ResponseWriter) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL