Versions in this module Expand all Collapse all v1 v1.0.0 Apr 26, 2023 Changes in this version + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + func CacheExpires(r *http.Response) time.Time + func IsNil(i interface{}) bool + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + FunctionApi FunctionApi + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type BasicAuth struct + Password string + UserName string + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type CreateFunctionRequest struct + Image *string + Name *string + func NewCreateFunctionRequest() *CreateFunctionRequest + func NewCreateFunctionRequestWithDefaults() *CreateFunctionRequest + func (o *CreateFunctionRequest) GetImage() string + func (o *CreateFunctionRequest) GetImageOk() (*string, bool) + func (o *CreateFunctionRequest) GetName() string + func (o *CreateFunctionRequest) GetNameOk() (*string, bool) + func (o *CreateFunctionRequest) HasImage() bool + func (o *CreateFunctionRequest) HasName() bool + func (o *CreateFunctionRequest) SetImage(v string) + func (o *CreateFunctionRequest) SetName(v string) + func (o CreateFunctionRequest) MarshalJSON() ([]byte, error) + func (o CreateFunctionRequest) ToMap() (map[string]interface{}, error) + type Error struct + Message *string + func NewError() *Error + func NewErrorWithDefaults() *Error + func (o *Error) GetMessage() string + func (o *Error) GetMessageOk() (*string, bool) + func (o *Error) HasMessage() bool + func (o *Error) SetMessage(v string) + func (o Error) MarshalJSON() ([]byte, error) + func (o Error) ToMap() (map[string]interface{}, error) + type Function struct + Id *string + Image string + Name string + func NewFunction(name string, image string) *Function + func NewFunctionWithDefaults() *Function + func (o *Function) GetId() string + func (o *Function) GetIdOk() (*string, bool) + func (o *Function) GetImage() string + func (o *Function) GetImageOk() (*string, bool) + func (o *Function) GetName() string + func (o *Function) GetNameOk() (*string, bool) + func (o *Function) HasId() bool + func (o *Function) SetId(v string) + func (o *Function) SetImage(v string) + func (o *Function) SetName(v string) + func (o Function) MarshalJSON() ([]byte, error) + func (o Function) ToMap() (map[string]interface{}, error) + type FunctionApi interface + CreateFunction func(ctx context.Context) FunctionApiCreateFunctionRequest + CreateFunctionExecute func(r FunctionApiCreateFunctionRequest) (*Function, *http.Response, error) + GetFunctions func(ctx context.Context) FunctionApiGetFunctionsRequest + GetFunctionsExecute func(r FunctionApiGetFunctionsRequest) ([]Function, *http.Response, error) + type FunctionApiCreateFunctionRequest struct + ApiService FunctionApi + func (r FunctionApiCreateFunctionRequest) CreateFunctionRequest(createFunctionRequest CreateFunctionRequest) FunctionApiCreateFunctionRequest + func (r FunctionApiCreateFunctionRequest) Execute() (*Function, *http.Response, error) + type FunctionApiGetFunctionsRequest struct + ApiService FunctionApi + func (r FunctionApiGetFunctionsRequest) Execute() ([]Function, *http.Response, error) + type FunctionApiService service + func (a *FunctionApiService) CreateFunction(ctx context.Context) FunctionApiCreateFunctionRequest + func (a *FunctionApiService) CreateFunctionExecute(r FunctionApiCreateFunctionRequest) (*Function, *http.Response, error) + func (a *FunctionApiService) GetFunctions(ctx context.Context) FunctionApiGetFunctionsRequest + func (a *FunctionApiService) GetFunctionsExecute(r FunctionApiGetFunctionsRequest) ([]Function, *http.Response, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type MappedNullable interface + ToMap func() (map[string]interface{}, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableCreateFunctionRequest struct + func NewNullableCreateFunctionRequest(val *CreateFunctionRequest) *NullableCreateFunctionRequest + func (v *NullableCreateFunctionRequest) Set(val *CreateFunctionRequest) + func (v *NullableCreateFunctionRequest) UnmarshalJSON(src []byte) error + func (v *NullableCreateFunctionRequest) Unset() + func (v NullableCreateFunctionRequest) Get() *CreateFunctionRequest + func (v NullableCreateFunctionRequest) IsSet() bool + func (v NullableCreateFunctionRequest) MarshalJSON() ([]byte, error) + type NullableError struct + func NewNullableError(val *Error) *NullableError + func (v *NullableError) Set(val *Error) + func (v *NullableError) UnmarshalJSON(src []byte) error + func (v *NullableError) Unset() + func (v NullableError) Get() *Error + func (v NullableError) IsSet() bool + func (v NullableError) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableFunction struct + func NewNullableFunction(val *Function) *NullableFunction + func (v *NullableFunction) Set(val *Function) + func (v *NullableFunction) UnmarshalJSON(src []byte) error + func (v *NullableFunction) Unset() + func (v NullableFunction) Get() *Function + func (v NullableFunction) IsSet() bool + func (v NullableFunction) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string