feature_flags

package
v0.0.0-...-7977c27 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetAllFeatureFlagsOKCode int = 200

GetAllFeatureFlagsOKCode is the HTTP code returned for type GetAllFeatureFlagsOK

View Source
const GetAppBitsUploadFeatureFlagOKCode int = 200

GetAppBitsUploadFeatureFlagOKCode is the HTTP code returned for type GetAppBitsUploadFeatureFlagOK

View Source
const GetAppScalingFeatureFlagOKCode int = 200

GetAppScalingFeatureFlagOKCode is the HTTP code returned for type GetAppScalingFeatureFlagOK

View Source
const GetPrivateDomainCreationFeatureFlagOKCode int = 200

GetPrivateDomainCreationFeatureFlagOKCode is the HTTP code returned for type GetPrivateDomainCreationFeatureFlagOK

View Source
const GetRouteCreationFeatureFlagOKCode int = 200

GetRouteCreationFeatureFlagOKCode is the HTTP code returned for type GetRouteCreationFeatureFlagOK

View Source
const GetServiceInstanceCreationFeatureFlagOKCode int = 200

GetServiceInstanceCreationFeatureFlagOKCode is the HTTP code returned for type GetServiceInstanceCreationFeatureFlagOK

View Source
const GetUserOrgCreationFeatureFlagOKCode int = 200

GetUserOrgCreationFeatureFlagOKCode is the HTTP code returned for type GetUserOrgCreationFeatureFlagOK

View Source
const SetFeatureFlagOKCode int = 200

SetFeatureFlagOKCode is the HTTP code returned for type SetFeatureFlagOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAllFeatureFlags

type GetAllFeatureFlags struct {
	Context *middleware.Context
	Handler GetAllFeatureFlagsHandler
}

GetAllFeatureFlags swagger:route GET /config/feature_flags featureFlags getAllFeatureFlags

Get all feature flags

curl --insecure -i %s/v2/config/feature_flags -X GET -H 'Authorization: %s'

func NewGetAllFeatureFlags

func NewGetAllFeatureFlags(ctx *middleware.Context, handler GetAllFeatureFlagsHandler) *GetAllFeatureFlags

NewGetAllFeatureFlags creates a new http.Handler for the get all feature flags operation

func (*GetAllFeatureFlags) ServeHTTP

func (o *GetAllFeatureFlags) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAllFeatureFlagsHandler

type GetAllFeatureFlagsHandler interface {
	Handle(GetAllFeatureFlagsParams) middleware.Responder
}

GetAllFeatureFlagsHandler interface for that can handle valid get all feature flags params

type GetAllFeatureFlagsHandlerFunc

type GetAllFeatureFlagsHandlerFunc func(GetAllFeatureFlagsParams) middleware.Responder

GetAllFeatureFlagsHandlerFunc turns a function with the right signature into a get all feature flags handler

func (GetAllFeatureFlagsHandlerFunc) Handle

Handle executing the request and returning a response

type GetAllFeatureFlagsOK

type GetAllFeatureFlagsOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetAllFeatureFlagsResponseResource `json:"body,omitempty"`
}

GetAllFeatureFlagsOK successful response

swagger:response getAllFeatureFlagsOK

func NewGetAllFeatureFlagsOK

func NewGetAllFeatureFlagsOK() *GetAllFeatureFlagsOK

NewGetAllFeatureFlagsOK creates GetAllFeatureFlagsOK with default headers values

func (*GetAllFeatureFlagsOK) SetPayload

SetPayload sets the payload to the get all feature flags o k response

func (*GetAllFeatureFlagsOK) WithPayload

WithPayload adds the payload to the get all feature flags o k response

func (*GetAllFeatureFlagsOK) WriteResponse

func (o *GetAllFeatureFlagsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAllFeatureFlagsParams

type GetAllFeatureFlagsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetAllFeatureFlagsParams contains all the bound params for the get all feature flags operation typically these are obtained from a http.Request

swagger:parameters getAllFeatureFlags

func NewGetAllFeatureFlagsParams

func NewGetAllFeatureFlagsParams() GetAllFeatureFlagsParams

NewGetAllFeatureFlagsParams creates a new GetAllFeatureFlagsParams object no default values defined in spec.

func (*GetAllFeatureFlagsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAllFeatureFlagsParams() beforehand.

type GetAllFeatureFlagsURL

type GetAllFeatureFlagsURL struct {
	// contains filtered or unexported fields
}

GetAllFeatureFlagsURL generates an URL for the get all feature flags operation

func (*GetAllFeatureFlagsURL) Build

func (o *GetAllFeatureFlagsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAllFeatureFlagsURL) BuildFull

func (o *GetAllFeatureFlagsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAllFeatureFlagsURL) Must

func (o *GetAllFeatureFlagsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAllFeatureFlagsURL) SetBasePath

func (o *GetAllFeatureFlagsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAllFeatureFlagsURL) String

func (o *GetAllFeatureFlagsURL) String() string

String returns the string representation of the path with query string

func (*GetAllFeatureFlagsURL) StringFull

func (o *GetAllFeatureFlagsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAllFeatureFlagsURL) WithBasePath

func (o *GetAllFeatureFlagsURL) WithBasePath(bp string) *GetAllFeatureFlagsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAppBitsUploadFeatureFlag

type GetAppBitsUploadFeatureFlag struct {
	Context *middleware.Context
	Handler GetAppBitsUploadFeatureFlagHandler
}

GetAppBitsUploadFeatureFlag swagger:route GET /config/feature_flags/app_bits_upload featureFlags getAppBitsUploadFeatureFlag

Get the App Bits Upload feature flag

curl --insecure -i %s/v2/config/feature_flags/app_bits_upload -X GET -H 'Authorization: %s'

func NewGetAppBitsUploadFeatureFlag

func NewGetAppBitsUploadFeatureFlag(ctx *middleware.Context, handler GetAppBitsUploadFeatureFlagHandler) *GetAppBitsUploadFeatureFlag

NewGetAppBitsUploadFeatureFlag creates a new http.Handler for the get app bits upload feature flag operation

func (*GetAppBitsUploadFeatureFlag) ServeHTTP

type GetAppBitsUploadFeatureFlagHandler

type GetAppBitsUploadFeatureFlagHandler interface {
	Handle(GetAppBitsUploadFeatureFlagParams) middleware.Responder
}

GetAppBitsUploadFeatureFlagHandler interface for that can handle valid get app bits upload feature flag params

type GetAppBitsUploadFeatureFlagHandlerFunc

type GetAppBitsUploadFeatureFlagHandlerFunc func(GetAppBitsUploadFeatureFlagParams) middleware.Responder

GetAppBitsUploadFeatureFlagHandlerFunc turns a function with the right signature into a get app bits upload feature flag handler

func (GetAppBitsUploadFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type GetAppBitsUploadFeatureFlagOK

type GetAppBitsUploadFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetAppBitsUploadFeatureFlagResponseResource `json:"body,omitempty"`
}

GetAppBitsUploadFeatureFlagOK successful response

swagger:response getAppBitsUploadFeatureFlagOK

func NewGetAppBitsUploadFeatureFlagOK

func NewGetAppBitsUploadFeatureFlagOK() *GetAppBitsUploadFeatureFlagOK

NewGetAppBitsUploadFeatureFlagOK creates GetAppBitsUploadFeatureFlagOK with default headers values

func (*GetAppBitsUploadFeatureFlagOK) SetPayload

SetPayload sets the payload to the get app bits upload feature flag o k response

func (*GetAppBitsUploadFeatureFlagOK) WithPayload

WithPayload adds the payload to the get app bits upload feature flag o k response

func (*GetAppBitsUploadFeatureFlagOK) WriteResponse

func (o *GetAppBitsUploadFeatureFlagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAppBitsUploadFeatureFlagParams

type GetAppBitsUploadFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetAppBitsUploadFeatureFlagParams contains all the bound params for the get app bits upload feature flag operation typically these are obtained from a http.Request

swagger:parameters getAppBitsUploadFeatureFlag

func NewGetAppBitsUploadFeatureFlagParams

func NewGetAppBitsUploadFeatureFlagParams() GetAppBitsUploadFeatureFlagParams

NewGetAppBitsUploadFeatureFlagParams creates a new GetAppBitsUploadFeatureFlagParams object no default values defined in spec.

func (*GetAppBitsUploadFeatureFlagParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAppBitsUploadFeatureFlagParams() beforehand.

type GetAppBitsUploadFeatureFlagURL

type GetAppBitsUploadFeatureFlagURL struct {
	// contains filtered or unexported fields
}

GetAppBitsUploadFeatureFlagURL generates an URL for the get app bits upload feature flag operation

func (*GetAppBitsUploadFeatureFlagURL) Build

Build a url path and query string

func (*GetAppBitsUploadFeatureFlagURL) BuildFull

func (o *GetAppBitsUploadFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAppBitsUploadFeatureFlagURL) Must

func (o *GetAppBitsUploadFeatureFlagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAppBitsUploadFeatureFlagURL) SetBasePath

func (o *GetAppBitsUploadFeatureFlagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAppBitsUploadFeatureFlagURL) String

String returns the string representation of the path with query string

func (*GetAppBitsUploadFeatureFlagURL) StringFull

func (o *GetAppBitsUploadFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAppBitsUploadFeatureFlagURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAppScalingFeatureFlag

type GetAppScalingFeatureFlag struct {
	Context *middleware.Context
	Handler GetAppScalingFeatureFlagHandler
}

GetAppScalingFeatureFlag swagger:route GET /config/feature_flags/app_scaling featureFlags getAppScalingFeatureFlag

Get the App Scaling feature flag

curl --insecure -i %s/v2/config/feature_flags/app_scaling -X GET -H 'Authorization: %s'

func NewGetAppScalingFeatureFlag

func NewGetAppScalingFeatureFlag(ctx *middleware.Context, handler GetAppScalingFeatureFlagHandler) *GetAppScalingFeatureFlag

NewGetAppScalingFeatureFlag creates a new http.Handler for the get app scaling feature flag operation

func (*GetAppScalingFeatureFlag) ServeHTTP

type GetAppScalingFeatureFlagHandler

type GetAppScalingFeatureFlagHandler interface {
	Handle(GetAppScalingFeatureFlagParams) middleware.Responder
}

GetAppScalingFeatureFlagHandler interface for that can handle valid get app scaling feature flag params

type GetAppScalingFeatureFlagHandlerFunc

type GetAppScalingFeatureFlagHandlerFunc func(GetAppScalingFeatureFlagParams) middleware.Responder

GetAppScalingFeatureFlagHandlerFunc turns a function with the right signature into a get app scaling feature flag handler

func (GetAppScalingFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type GetAppScalingFeatureFlagOK

type GetAppScalingFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetAppScalingFeatureFlagResponseResource `json:"body,omitempty"`
}

GetAppScalingFeatureFlagOK successful response

swagger:response getAppScalingFeatureFlagOK

func NewGetAppScalingFeatureFlagOK

func NewGetAppScalingFeatureFlagOK() *GetAppScalingFeatureFlagOK

NewGetAppScalingFeatureFlagOK creates GetAppScalingFeatureFlagOK with default headers values

func (*GetAppScalingFeatureFlagOK) SetPayload

SetPayload sets the payload to the get app scaling feature flag o k response

func (*GetAppScalingFeatureFlagOK) WithPayload

WithPayload adds the payload to the get app scaling feature flag o k response

func (*GetAppScalingFeatureFlagOK) WriteResponse

func (o *GetAppScalingFeatureFlagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAppScalingFeatureFlagParams

type GetAppScalingFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetAppScalingFeatureFlagParams contains all the bound params for the get app scaling feature flag operation typically these are obtained from a http.Request

swagger:parameters getAppScalingFeatureFlag

func NewGetAppScalingFeatureFlagParams

func NewGetAppScalingFeatureFlagParams() GetAppScalingFeatureFlagParams

NewGetAppScalingFeatureFlagParams creates a new GetAppScalingFeatureFlagParams object no default values defined in spec.

func (*GetAppScalingFeatureFlagParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAppScalingFeatureFlagParams() beforehand.

type GetAppScalingFeatureFlagURL

type GetAppScalingFeatureFlagURL struct {
	// contains filtered or unexported fields
}

GetAppScalingFeatureFlagURL generates an URL for the get app scaling feature flag operation

func (*GetAppScalingFeatureFlagURL) Build

func (o *GetAppScalingFeatureFlagURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAppScalingFeatureFlagURL) BuildFull

func (o *GetAppScalingFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAppScalingFeatureFlagURL) Must

func (o *GetAppScalingFeatureFlagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAppScalingFeatureFlagURL) SetBasePath

func (o *GetAppScalingFeatureFlagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAppScalingFeatureFlagURL) String

func (o *GetAppScalingFeatureFlagURL) String() string

String returns the string representation of the path with query string

func (*GetAppScalingFeatureFlagURL) StringFull

func (o *GetAppScalingFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAppScalingFeatureFlagURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetPrivateDomainCreationFeatureFlag

type GetPrivateDomainCreationFeatureFlag struct {
	Context *middleware.Context
	Handler GetPrivateDomainCreationFeatureFlagHandler
}

GetPrivateDomainCreationFeatureFlag swagger:route GET /config/feature_flags/private_domain_creation featureFlags getPrivateDomainCreationFeatureFlag

Get the Private Domain Creation feature flag

curl --insecure -i %s/v2/config/feature_flags/private_domain_creation -X GET -H 'Authorization: %s'

func NewGetPrivateDomainCreationFeatureFlag

func NewGetPrivateDomainCreationFeatureFlag(ctx *middleware.Context, handler GetPrivateDomainCreationFeatureFlagHandler) *GetPrivateDomainCreationFeatureFlag

NewGetPrivateDomainCreationFeatureFlag creates a new http.Handler for the get private domain creation feature flag operation

func (*GetPrivateDomainCreationFeatureFlag) ServeHTTP

type GetPrivateDomainCreationFeatureFlagHandler

type GetPrivateDomainCreationFeatureFlagHandler interface {
	Handle(GetPrivateDomainCreationFeatureFlagParams) middleware.Responder
}

GetPrivateDomainCreationFeatureFlagHandler interface for that can handle valid get private domain creation feature flag params

type GetPrivateDomainCreationFeatureFlagHandlerFunc

type GetPrivateDomainCreationFeatureFlagHandlerFunc func(GetPrivateDomainCreationFeatureFlagParams) middleware.Responder

GetPrivateDomainCreationFeatureFlagHandlerFunc turns a function with the right signature into a get private domain creation feature flag handler

func (GetPrivateDomainCreationFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type GetPrivateDomainCreationFeatureFlagOK

type GetPrivateDomainCreationFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetPrivateDomainCreationFeatureFlagResponseResource `json:"body,omitempty"`
}

GetPrivateDomainCreationFeatureFlagOK successful response

swagger:response getPrivateDomainCreationFeatureFlagOK

func NewGetPrivateDomainCreationFeatureFlagOK

func NewGetPrivateDomainCreationFeatureFlagOK() *GetPrivateDomainCreationFeatureFlagOK

NewGetPrivateDomainCreationFeatureFlagOK creates GetPrivateDomainCreationFeatureFlagOK with default headers values

func (*GetPrivateDomainCreationFeatureFlagOK) SetPayload

SetPayload sets the payload to the get private domain creation feature flag o k response

func (*GetPrivateDomainCreationFeatureFlagOK) WithPayload

WithPayload adds the payload to the get private domain creation feature flag o k response

func (*GetPrivateDomainCreationFeatureFlagOK) WriteResponse

WriteResponse to the client

type GetPrivateDomainCreationFeatureFlagParams

type GetPrivateDomainCreationFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetPrivateDomainCreationFeatureFlagParams contains all the bound params for the get private domain creation feature flag operation typically these are obtained from a http.Request

swagger:parameters getPrivateDomainCreationFeatureFlag

func NewGetPrivateDomainCreationFeatureFlagParams

func NewGetPrivateDomainCreationFeatureFlagParams() GetPrivateDomainCreationFeatureFlagParams

NewGetPrivateDomainCreationFeatureFlagParams creates a new GetPrivateDomainCreationFeatureFlagParams object no default values defined in spec.

func (*GetPrivateDomainCreationFeatureFlagParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetPrivateDomainCreationFeatureFlagParams() beforehand.

type GetPrivateDomainCreationFeatureFlagURL

type GetPrivateDomainCreationFeatureFlagURL struct {
	// contains filtered or unexported fields
}

GetPrivateDomainCreationFeatureFlagURL generates an URL for the get private domain creation feature flag operation

func (*GetPrivateDomainCreationFeatureFlagURL) Build

Build a url path and query string

func (*GetPrivateDomainCreationFeatureFlagURL) BuildFull

func (o *GetPrivateDomainCreationFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetPrivateDomainCreationFeatureFlagURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetPrivateDomainCreationFeatureFlagURL) SetBasePath

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetPrivateDomainCreationFeatureFlagURL) String

String returns the string representation of the path with query string

func (*GetPrivateDomainCreationFeatureFlagURL) StringFull

func (o *GetPrivateDomainCreationFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetPrivateDomainCreationFeatureFlagURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetRouteCreationFeatureFlag

type GetRouteCreationFeatureFlag struct {
	Context *middleware.Context
	Handler GetRouteCreationFeatureFlagHandler
}

GetRouteCreationFeatureFlag swagger:route GET /config/feature_flags/route_creation featureFlags getRouteCreationFeatureFlag

Get the Route Creation feature flag

curl --insecure -i %s/v2/config/feature_flags/route_creation -X GET -H 'Authorization: %s'

func NewGetRouteCreationFeatureFlag

func NewGetRouteCreationFeatureFlag(ctx *middleware.Context, handler GetRouteCreationFeatureFlagHandler) *GetRouteCreationFeatureFlag

NewGetRouteCreationFeatureFlag creates a new http.Handler for the get route creation feature flag operation

func (*GetRouteCreationFeatureFlag) ServeHTTP

type GetRouteCreationFeatureFlagHandler

type GetRouteCreationFeatureFlagHandler interface {
	Handle(GetRouteCreationFeatureFlagParams) middleware.Responder
}

GetRouteCreationFeatureFlagHandler interface for that can handle valid get route creation feature flag params

type GetRouteCreationFeatureFlagHandlerFunc

type GetRouteCreationFeatureFlagHandlerFunc func(GetRouteCreationFeatureFlagParams) middleware.Responder

GetRouteCreationFeatureFlagHandlerFunc turns a function with the right signature into a get route creation feature flag handler

func (GetRouteCreationFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type GetRouteCreationFeatureFlagOK

type GetRouteCreationFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetRouteCreationFeatureFlagResponseResource `json:"body,omitempty"`
}

GetRouteCreationFeatureFlagOK successful response

swagger:response getRouteCreationFeatureFlagOK

func NewGetRouteCreationFeatureFlagOK

func NewGetRouteCreationFeatureFlagOK() *GetRouteCreationFeatureFlagOK

NewGetRouteCreationFeatureFlagOK creates GetRouteCreationFeatureFlagOK with default headers values

func (*GetRouteCreationFeatureFlagOK) SetPayload

SetPayload sets the payload to the get route creation feature flag o k response

func (*GetRouteCreationFeatureFlagOK) WithPayload

WithPayload adds the payload to the get route creation feature flag o k response

func (*GetRouteCreationFeatureFlagOK) WriteResponse

func (o *GetRouteCreationFeatureFlagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetRouteCreationFeatureFlagParams

type GetRouteCreationFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetRouteCreationFeatureFlagParams contains all the bound params for the get route creation feature flag operation typically these are obtained from a http.Request

swagger:parameters getRouteCreationFeatureFlag

func NewGetRouteCreationFeatureFlagParams

func NewGetRouteCreationFeatureFlagParams() GetRouteCreationFeatureFlagParams

NewGetRouteCreationFeatureFlagParams creates a new GetRouteCreationFeatureFlagParams object no default values defined in spec.

func (*GetRouteCreationFeatureFlagParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetRouteCreationFeatureFlagParams() beforehand.

type GetRouteCreationFeatureFlagURL

type GetRouteCreationFeatureFlagURL struct {
	// contains filtered or unexported fields
}

GetRouteCreationFeatureFlagURL generates an URL for the get route creation feature flag operation

func (*GetRouteCreationFeatureFlagURL) Build

Build a url path and query string

func (*GetRouteCreationFeatureFlagURL) BuildFull

func (o *GetRouteCreationFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetRouteCreationFeatureFlagURL) Must

func (o *GetRouteCreationFeatureFlagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetRouteCreationFeatureFlagURL) SetBasePath

func (o *GetRouteCreationFeatureFlagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetRouteCreationFeatureFlagURL) String

String returns the string representation of the path with query string

func (*GetRouteCreationFeatureFlagURL) StringFull

func (o *GetRouteCreationFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetRouteCreationFeatureFlagURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetServiceInstanceCreationFeatureFlag

type GetServiceInstanceCreationFeatureFlag struct {
	Context *middleware.Context
	Handler GetServiceInstanceCreationFeatureFlagHandler
}

GetServiceInstanceCreationFeatureFlag swagger:route GET /config/feature_flags/service_instance_creation featureFlags getServiceInstanceCreationFeatureFlag

Get the Service Instance Creation feature flag

curl --insecure -i %s/v2/config/feature_flags/service_instance_creation -X GET -H 'Authorization: %s'

func NewGetServiceInstanceCreationFeatureFlag

func NewGetServiceInstanceCreationFeatureFlag(ctx *middleware.Context, handler GetServiceInstanceCreationFeatureFlagHandler) *GetServiceInstanceCreationFeatureFlag

NewGetServiceInstanceCreationFeatureFlag creates a new http.Handler for the get service instance creation feature flag operation

func (*GetServiceInstanceCreationFeatureFlag) ServeHTTP

type GetServiceInstanceCreationFeatureFlagHandler

type GetServiceInstanceCreationFeatureFlagHandler interface {
	Handle(GetServiceInstanceCreationFeatureFlagParams) middleware.Responder
}

GetServiceInstanceCreationFeatureFlagHandler interface for that can handle valid get service instance creation feature flag params

type GetServiceInstanceCreationFeatureFlagHandlerFunc

type GetServiceInstanceCreationFeatureFlagHandlerFunc func(GetServiceInstanceCreationFeatureFlagParams) middleware.Responder

GetServiceInstanceCreationFeatureFlagHandlerFunc turns a function with the right signature into a get service instance creation feature flag handler

func (GetServiceInstanceCreationFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type GetServiceInstanceCreationFeatureFlagOK

type GetServiceInstanceCreationFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetServiceInstanceCreationFeatureFlagResponseResource `json:"body,omitempty"`
}

GetServiceInstanceCreationFeatureFlagOK successful response

swagger:response getServiceInstanceCreationFeatureFlagOK

func NewGetServiceInstanceCreationFeatureFlagOK

func NewGetServiceInstanceCreationFeatureFlagOK() *GetServiceInstanceCreationFeatureFlagOK

NewGetServiceInstanceCreationFeatureFlagOK creates GetServiceInstanceCreationFeatureFlagOK with default headers values

func (*GetServiceInstanceCreationFeatureFlagOK) SetPayload

SetPayload sets the payload to the get service instance creation feature flag o k response

func (*GetServiceInstanceCreationFeatureFlagOK) WithPayload

WithPayload adds the payload to the get service instance creation feature flag o k response

func (*GetServiceInstanceCreationFeatureFlagOK) WriteResponse

WriteResponse to the client

type GetServiceInstanceCreationFeatureFlagParams

type GetServiceInstanceCreationFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetServiceInstanceCreationFeatureFlagParams contains all the bound params for the get service instance creation feature flag operation typically these are obtained from a http.Request

swagger:parameters getServiceInstanceCreationFeatureFlag

func NewGetServiceInstanceCreationFeatureFlagParams

func NewGetServiceInstanceCreationFeatureFlagParams() GetServiceInstanceCreationFeatureFlagParams

NewGetServiceInstanceCreationFeatureFlagParams creates a new GetServiceInstanceCreationFeatureFlagParams object no default values defined in spec.

func (*GetServiceInstanceCreationFeatureFlagParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetServiceInstanceCreationFeatureFlagParams() beforehand.

type GetServiceInstanceCreationFeatureFlagURL

type GetServiceInstanceCreationFeatureFlagURL struct {
	// contains filtered or unexported fields
}

GetServiceInstanceCreationFeatureFlagURL generates an URL for the get service instance creation feature flag operation

func (*GetServiceInstanceCreationFeatureFlagURL) Build

Build a url path and query string

func (*GetServiceInstanceCreationFeatureFlagURL) BuildFull

func (o *GetServiceInstanceCreationFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetServiceInstanceCreationFeatureFlagURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetServiceInstanceCreationFeatureFlagURL) SetBasePath

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetServiceInstanceCreationFeatureFlagURL) String

String returns the string representation of the path with query string

func (*GetServiceInstanceCreationFeatureFlagURL) StringFull

func (o *GetServiceInstanceCreationFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetServiceInstanceCreationFeatureFlagURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetUserOrgCreationFeatureFlag

type GetUserOrgCreationFeatureFlag struct {
	Context *middleware.Context
	Handler GetUserOrgCreationFeatureFlagHandler
}

GetUserOrgCreationFeatureFlag swagger:route GET /config/feature_flags/user_org_creation featureFlags getUserOrgCreationFeatureFlag

Get the User Org Creation feature flag

curl --insecure -i %s/v2/config/feature_flags/user_org_creation -X GET -H 'Authorization: %s'

func NewGetUserOrgCreationFeatureFlag

func NewGetUserOrgCreationFeatureFlag(ctx *middleware.Context, handler GetUserOrgCreationFeatureFlagHandler) *GetUserOrgCreationFeatureFlag

NewGetUserOrgCreationFeatureFlag creates a new http.Handler for the get user org creation feature flag operation

func (*GetUserOrgCreationFeatureFlag) ServeHTTP

type GetUserOrgCreationFeatureFlagHandler

type GetUserOrgCreationFeatureFlagHandler interface {
	Handle(GetUserOrgCreationFeatureFlagParams) middleware.Responder
}

GetUserOrgCreationFeatureFlagHandler interface for that can handle valid get user org creation feature flag params

type GetUserOrgCreationFeatureFlagHandlerFunc

type GetUserOrgCreationFeatureFlagHandlerFunc func(GetUserOrgCreationFeatureFlagParams) middleware.Responder

GetUserOrgCreationFeatureFlagHandlerFunc turns a function with the right signature into a get user org creation feature flag handler

func (GetUserOrgCreationFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserOrgCreationFeatureFlagOK

type GetUserOrgCreationFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.GetUserOrgCreationFeatureFlagResponseResource `json:"body,omitempty"`
}

GetUserOrgCreationFeatureFlagOK successful response

swagger:response getUserOrgCreationFeatureFlagOK

func NewGetUserOrgCreationFeatureFlagOK

func NewGetUserOrgCreationFeatureFlagOK() *GetUserOrgCreationFeatureFlagOK

NewGetUserOrgCreationFeatureFlagOK creates GetUserOrgCreationFeatureFlagOK with default headers values

func (*GetUserOrgCreationFeatureFlagOK) SetPayload

SetPayload sets the payload to the get user org creation feature flag o k response

func (*GetUserOrgCreationFeatureFlagOK) WithPayload

WithPayload adds the payload to the get user org creation feature flag o k response

func (*GetUserOrgCreationFeatureFlagOK) WriteResponse

func (o *GetUserOrgCreationFeatureFlagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetUserOrgCreationFeatureFlagParams

type GetUserOrgCreationFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetUserOrgCreationFeatureFlagParams contains all the bound params for the get user org creation feature flag operation typically these are obtained from a http.Request

swagger:parameters getUserOrgCreationFeatureFlag

func NewGetUserOrgCreationFeatureFlagParams

func NewGetUserOrgCreationFeatureFlagParams() GetUserOrgCreationFeatureFlagParams

NewGetUserOrgCreationFeatureFlagParams creates a new GetUserOrgCreationFeatureFlagParams object no default values defined in spec.

func (*GetUserOrgCreationFeatureFlagParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetUserOrgCreationFeatureFlagParams() beforehand.

type GetUserOrgCreationFeatureFlagURL

type GetUserOrgCreationFeatureFlagURL struct {
	// contains filtered or unexported fields
}

GetUserOrgCreationFeatureFlagURL generates an URL for the get user org creation feature flag operation

func (*GetUserOrgCreationFeatureFlagURL) Build

Build a url path and query string

func (*GetUserOrgCreationFeatureFlagURL) BuildFull

func (o *GetUserOrgCreationFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetUserOrgCreationFeatureFlagURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetUserOrgCreationFeatureFlagURL) SetBasePath

func (o *GetUserOrgCreationFeatureFlagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetUserOrgCreationFeatureFlagURL) String

String returns the string representation of the path with query string

func (*GetUserOrgCreationFeatureFlagURL) StringFull

func (o *GetUserOrgCreationFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetUserOrgCreationFeatureFlagURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SetFeatureFlag

type SetFeatureFlag struct {
	Context *middleware.Context
	Handler SetFeatureFlagHandler
}

SetFeatureFlag swagger:route PUT /config/feature_flags/{name} featureFlags setFeatureFlag

Set a feature flag

curl --insecure -i %s/v2/config/feature_flags/{name} -X PUT -H 'Authorization: %s' -d '%s'

func NewSetFeatureFlag

func NewSetFeatureFlag(ctx *middleware.Context, handler SetFeatureFlagHandler) *SetFeatureFlag

NewSetFeatureFlag creates a new http.Handler for the set feature flag operation

func (*SetFeatureFlag) ServeHTTP

func (o *SetFeatureFlag) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetFeatureFlagHandler

type SetFeatureFlagHandler interface {
	Handle(SetFeatureFlagParams) middleware.Responder
}

SetFeatureFlagHandler interface for that can handle valid set feature flag params

type SetFeatureFlagHandlerFunc

type SetFeatureFlagHandlerFunc func(SetFeatureFlagParams) middleware.Responder

SetFeatureFlagHandlerFunc turns a function with the right signature into a set feature flag handler

func (SetFeatureFlagHandlerFunc) Handle

Handle executing the request and returning a response

type SetFeatureFlagOK

type SetFeatureFlagOK struct {

	/*
	  In: Body
	*/
	Payload *models.SetFeatureFlagResponseResource `json:"body,omitempty"`
}

SetFeatureFlagOK successful response

swagger:response setFeatureFlagOK

func NewSetFeatureFlagOK

func NewSetFeatureFlagOK() *SetFeatureFlagOK

NewSetFeatureFlagOK creates SetFeatureFlagOK with default headers values

func (*SetFeatureFlagOK) SetPayload

func (o *SetFeatureFlagOK) SetPayload(payload *models.SetFeatureFlagResponseResource)

SetPayload sets the payload to the set feature flag o k response

func (*SetFeatureFlagOK) WithPayload

WithPayload adds the payload to the set feature flag o k response

func (*SetFeatureFlagOK) WriteResponse

func (o *SetFeatureFlagOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetFeatureFlagParams

type SetFeatureFlagParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The name parameter is used as a part of the request URL: '/v2/config/feature_flags/:name'
	  Required: true
	  In: path
	*/
	Name string
	/*An object instance that is serialized and sent as the request body.
	  Required: true
	  In: body
	*/
	Value *models.SetFeatureFlagRequest
}

SetFeatureFlagParams contains all the bound params for the set feature flag operation typically these are obtained from a http.Request

swagger:parameters setFeatureFlag

func NewSetFeatureFlagParams

func NewSetFeatureFlagParams() SetFeatureFlagParams

NewSetFeatureFlagParams creates a new SetFeatureFlagParams object no default values defined in spec.

func (*SetFeatureFlagParams) BindRequest

func (o *SetFeatureFlagParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSetFeatureFlagParams() beforehand.

type SetFeatureFlagURL

type SetFeatureFlagURL struct {
	Name string
	// contains filtered or unexported fields
}

SetFeatureFlagURL generates an URL for the set feature flag operation

func (*SetFeatureFlagURL) Build

func (o *SetFeatureFlagURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetFeatureFlagURL) BuildFull

func (o *SetFeatureFlagURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetFeatureFlagURL) Must

func (o *SetFeatureFlagURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetFeatureFlagURL) SetBasePath

func (o *SetFeatureFlagURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SetFeatureFlagURL) String

func (o *SetFeatureFlagURL) String() string

String returns the string representation of the path with query string

func (*SetFeatureFlagURL) StringFull

func (o *SetFeatureFlagURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetFeatureFlagURL) WithBasePath

func (o *SetFeatureFlagURL) WithBasePath(bp string) *SetFeatureFlagURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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