Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- 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
- type APIKey
- type APIResponse
- type ApiCreateEndpointRequest
- type ApiCreateLambdaRequest
- type ApiCreateRuntimeRequest
- type ApiDeleteEndpointRequest
- type ApiDestroyLambdaRequest
- type ApiGetEndpointRequest
- type ApiGetLambdaRequest
- type ApiGetRuntimeRequest
- type ApiGetTaskRequest
- type ApiListEndpointsRequest
- type ApiListLambdasRequest
- type ApiListRuntimesRequest
- type ApiStartLambdaRequest
- type ApiUploadRequest
- type BaseEndpoint
- func (o *BaseEndpoint) GetLambda() string
- func (o *BaseEndpoint) GetLambdaOk() (*string, bool)
- func (o *BaseEndpoint) GetName() string
- func (o *BaseEndpoint) GetNameOk() (*string, bool)
- func (o *BaseEndpoint) GetPath() string
- func (o *BaseEndpoint) GetPathOk() (*string, bool)
- func (o BaseEndpoint) MarshalJSON() ([]byte, error)
- func (o *BaseEndpoint) SetLambda(v string)
- func (o *BaseEndpoint) SetName(v string)
- func (o *BaseEndpoint) SetPath(v string)
- type BaseLambda
- func (o *BaseLambda) GetLambdaType() string
- func (o *BaseLambda) GetLambdaTypeOk() (*string, bool)
- func (o *BaseLambda) GetName() string
- func (o *BaseLambda) GetNameOk() (*string, bool)
- func (o *BaseLambda) GetRuntime() string
- func (o *BaseLambda) GetRuntimeOk() (*string, bool)
- func (o BaseLambda) MarshalJSON() ([]byte, error)
- func (o *BaseLambda) SetLambdaType(v string)
- func (o *BaseLambda) SetName(v string)
- func (o *BaseLambda) SetRuntime(v string)
- type BaseObject
- func (o *BaseObject) GetCreatedAt() int64
- func (o *BaseObject) GetCreatedAtOk() (*int64, bool)
- func (o *BaseObject) GetId() string
- func (o *BaseObject) GetIdOk() (*string, bool)
- func (o *BaseObject) GetName() string
- func (o *BaseObject) GetNameOk() (*string, bool)
- func (o *BaseObject) GetUpdatedAt() int64
- func (o *BaseObject) GetUpdatedAtOk() (*int64, bool)
- func (o BaseObject) MarshalJSON() ([]byte, error)
- func (o *BaseObject) SetCreatedAt(v int64)
- func (o *BaseObject) SetId(v string)
- func (o *BaseObject) SetName(v string)
- func (o *BaseObject) SetUpdatedAt(v int64)
- type BaseRuntime
- type BasicAuth
- type Configuration
- type CreateEndpoint
- func (o *CreateEndpoint) GetLambda() string
- func (o *CreateEndpoint) GetLambdaOk() (*string, bool)
- func (o *CreateEndpoint) GetName() string
- func (o *CreateEndpoint) GetNameOk() (*string, bool)
- func (o *CreateEndpoint) GetPath() string
- func (o *CreateEndpoint) GetPathOk() (*string, bool)
- func (o CreateEndpoint) MarshalJSON() ([]byte, error)
- func (o *CreateEndpoint) SetLambda(v string)
- func (o *CreateEndpoint) SetName(v string)
- func (o *CreateEndpoint) SetPath(v string)
- type CreateLambda
- func (o *CreateLambda) GetArchive() string
- func (o *CreateLambda) GetArchiveOk() (*string, bool)
- func (o *CreateLambda) GetLambdaType() string
- func (o *CreateLambda) GetLambdaTypeOk() (*string, bool)
- func (o *CreateLambda) GetName() string
- func (o *CreateLambda) GetNameOk() (*string, bool)
- func (o *CreateLambda) GetRuntime() string
- func (o *CreateLambda) GetRuntimeOk() (*string, bool)
- func (o CreateLambda) MarshalJSON() ([]byte, error)
- func (o *CreateLambda) SetArchive(v string)
- func (o *CreateLambda) SetLambdaType(v string)
- func (o *CreateLambda) SetName(v string)
- func (o *CreateLambda) SetRuntime(v string)
- type CreateRuntime
- func (o *CreateRuntime) GetDockerfile() string
- func (o *CreateRuntime) GetDockerfileOk() (*string, bool)
- func (o *CreateRuntime) GetName() string
- func (o *CreateRuntime) GetNameOk() (*string, bool)
- func (o CreateRuntime) MarshalJSON() ([]byte, error)
- func (o *CreateRuntime) SetDockerfile(v string)
- func (o *CreateRuntime) SetName(v string)
- type Docker
- func (o *Docker) GetContainer() string
- func (o *Docker) GetContainerId() string
- func (o *Docker) GetContainerIdOk() (*string, bool)
- func (o *Docker) GetContainerOk() (*string, bool)
- func (o *Docker) GetImage() string
- func (o *Docker) GetImageOk() (*string, bool)
- func (o *Docker) GetStatus() string
- func (o *Docker) GetStatusOk() (*string, bool)
- func (o *Docker) HasContainer() bool
- func (o *Docker) HasContainerId() bool
- func (o *Docker) HasImage() bool
- func (o Docker) MarshalJSON() ([]byte, error)
- func (o *Docker) SetContainer(v string)
- func (o *Docker) SetContainerId(v string)
- func (o *Docker) SetImage(v string)
- func (o *Docker) SetStatus(v string)
- type Endpoint
- func (o *Endpoint) GetCreatedAt() int64
- func (o *Endpoint) GetCreatedAtOk() (*int64, bool)
- func (o *Endpoint) GetId() string
- func (o *Endpoint) GetIdOk() (*string, bool)
- func (o *Endpoint) GetLambda() string
- func (o *Endpoint) GetLambdaOk() (*string, bool)
- func (o *Endpoint) GetName() string
- func (o *Endpoint) GetNameOk() (*string, bool)
- func (o *Endpoint) GetPath() string
- func (o *Endpoint) GetPathOk() (*string, bool)
- func (o *Endpoint) GetUpdatedAt() int64
- func (o *Endpoint) GetUpdatedAtOk() (*int64, bool)
- func (o Endpoint) MarshalJSON() ([]byte, error)
- func (o *Endpoint) SetCreatedAt(v int64)
- func (o *Endpoint) SetId(v string)
- func (o *Endpoint) SetLambda(v string)
- func (o *Endpoint) SetName(v string)
- func (o *Endpoint) SetPath(v string)
- func (o *Endpoint) SetUpdatedAt(v int64)
- type EndpointApiService
- func (a *EndpointApiService) CreateEndpoint(ctx context.Context) ApiCreateEndpointRequest
- func (a *EndpointApiService) CreateEndpointExecute(r ApiCreateEndpointRequest) (*Endpoint, *http.Response, error)
- func (a *EndpointApiService) DeleteEndpoint(ctx context.Context, id string) ApiDeleteEndpointRequest
- func (a *EndpointApiService) DeleteEndpointExecute(r ApiDeleteEndpointRequest) (*http.Response, error)
- func (a *EndpointApiService) GetEndpoint(ctx context.Context, id string) ApiGetEndpointRequest
- func (a *EndpointApiService) GetEndpointExecute(r ApiGetEndpointRequest) (*Endpoint, *http.Response, error)
- func (a *EndpointApiService) ListEndpoints(ctx context.Context) ApiListEndpointsRequest
- func (a *EndpointApiService) ListEndpointsExecute(r ApiListEndpointsRequest) ([]Endpoint, *http.Response, error)
- type Error
- type GenericOpenAPIError
- type Lambda
- func (o *Lambda) GetCreatedAt() int64
- func (o *Lambda) GetCreatedAtOk() (*int64, bool)
- func (o *Lambda) GetDocker() Docker
- func (o *Lambda) GetDockerOk() (*Docker, bool)
- func (o *Lambda) GetId() string
- func (o *Lambda) GetIdOk() (*string, bool)
- func (o *Lambda) GetLambdaType() string
- func (o *Lambda) GetLambdaTypeOk() (*string, bool)
- func (o *Lambda) GetName() string
- func (o *Lambda) GetNameOk() (*string, bool)
- func (o *Lambda) GetRuntime() string
- func (o *Lambda) GetRuntimeOk() (*string, bool)
- func (o *Lambda) GetUpdatedAt() int64
- func (o *Lambda) GetUpdatedAtOk() (*int64, bool)
- func (o Lambda) MarshalJSON() ([]byte, error)
- func (o *Lambda) SetCreatedAt(v int64)
- func (o *Lambda) SetDocker(v Docker)
- func (o *Lambda) SetId(v string)
- func (o *Lambda) SetLambdaType(v string)
- func (o *Lambda) SetName(v string)
- func (o *Lambda) SetRuntime(v string)
- func (o *Lambda) SetUpdatedAt(v int64)
- type LambdaApiService
- func (a *LambdaApiService) CreateLambda(ctx context.Context) ApiCreateLambdaRequest
- func (a *LambdaApiService) CreateLambdaExecute(r ApiCreateLambdaRequest) (*Lambda, *http.Response, error)
- func (a *LambdaApiService) DestroyLambda(ctx context.Context, id string) ApiDestroyLambdaRequest
- func (a *LambdaApiService) DestroyLambdaExecute(r ApiDestroyLambdaRequest) (*TaskResponse, *http.Response, error)
- func (a *LambdaApiService) GetLambda(ctx context.Context, id string) ApiGetLambdaRequest
- func (a *LambdaApiService) GetLambdaExecute(r ApiGetLambdaRequest) (*Lambda, *http.Response, error)
- func (a *LambdaApiService) ListLambdas(ctx context.Context) ApiListLambdasRequest
- func (a *LambdaApiService) ListLambdasExecute(r ApiListLambdasRequest) ([]Lambda, *http.Response, error)
- func (a *LambdaApiService) StartLambda(ctx context.Context, id string) ApiStartLambdaRequest
- func (a *LambdaApiService) StartLambdaExecute(r ApiStartLambdaRequest) (*TaskResponse, *http.Response, error)
- type NullableBaseEndpoint
- func (v NullableBaseEndpoint) Get() *BaseEndpoint
- func (v NullableBaseEndpoint) IsSet() bool
- func (v NullableBaseEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullableBaseEndpoint) Set(val *BaseEndpoint)
- func (v *NullableBaseEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullableBaseEndpoint) Unset()
- type NullableBaseLambda
- type NullableBaseObject
- type NullableBaseRuntime
- func (v NullableBaseRuntime) Get() *BaseRuntime
- func (v NullableBaseRuntime) IsSet() bool
- func (v NullableBaseRuntime) MarshalJSON() ([]byte, error)
- func (v *NullableBaseRuntime) Set(val *BaseRuntime)
- func (v *NullableBaseRuntime) UnmarshalJSON(src []byte) error
- func (v *NullableBaseRuntime) Unset()
- type NullableBool
- type NullableCreateEndpoint
- func (v NullableCreateEndpoint) Get() *CreateEndpoint
- func (v NullableCreateEndpoint) IsSet() bool
- func (v NullableCreateEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullableCreateEndpoint) Set(val *CreateEndpoint)
- func (v *NullableCreateEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullableCreateEndpoint) Unset()
- type NullableCreateLambda
- func (v NullableCreateLambda) Get() *CreateLambda
- func (v NullableCreateLambda) IsSet() bool
- func (v NullableCreateLambda) MarshalJSON() ([]byte, error)
- func (v *NullableCreateLambda) Set(val *CreateLambda)
- func (v *NullableCreateLambda) UnmarshalJSON(src []byte) error
- func (v *NullableCreateLambda) Unset()
- type NullableCreateRuntime
- func (v NullableCreateRuntime) Get() *CreateRuntime
- func (v NullableCreateRuntime) IsSet() bool
- func (v NullableCreateRuntime) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRuntime) Set(val *CreateRuntime)
- func (v *NullableCreateRuntime) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRuntime) Unset()
- type NullableDocker
- type NullableEndpoint
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLambda
- type NullableRuntime
- type NullableString
- type NullableTaskResponse
- func (v NullableTaskResponse) Get() *TaskResponse
- func (v NullableTaskResponse) IsSet() bool
- func (v NullableTaskResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTaskResponse) Set(val *TaskResponse)
- func (v *NullableTaskResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTaskResponse) Unset()
- type NullableTaskStatus
- type NullableTime
- type NullableUploadResponse
- func (v NullableUploadResponse) Get() *UploadResponse
- func (v NullableUploadResponse) IsSet() bool
- func (v NullableUploadResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUploadResponse) Set(val *UploadResponse)
- func (v *NullableUploadResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUploadResponse) Unset()
- type Runtime
- func (o *Runtime) GetCreatedAt() int64
- func (o *Runtime) GetCreatedAtOk() (*int64, bool)
- func (o *Runtime) GetId() string
- func (o *Runtime) GetIdOk() (*string, bool)
- func (o *Runtime) GetName() string
- func (o *Runtime) GetNameOk() (*string, bool)
- func (o *Runtime) GetUpdatedAt() int64
- func (o *Runtime) GetUpdatedAtOk() (*int64, bool)
- func (o Runtime) MarshalJSON() ([]byte, error)
- func (o *Runtime) SetCreatedAt(v int64)
- func (o *Runtime) SetId(v string)
- func (o *Runtime) SetName(v string)
- func (o *Runtime) SetUpdatedAt(v int64)
- type RuntimeApiService
- func (a *RuntimeApiService) CreateRuntime(ctx context.Context) ApiCreateRuntimeRequest
- func (a *RuntimeApiService) CreateRuntimeExecute(r ApiCreateRuntimeRequest) (*Runtime, *http.Response, error)
- func (a *RuntimeApiService) GetRuntime(ctx context.Context, id string) ApiGetRuntimeRequest
- func (a *RuntimeApiService) GetRuntimeExecute(r ApiGetRuntimeRequest) (*Runtime, *http.Response, error)
- func (a *RuntimeApiService) ListRuntimes(ctx context.Context) ApiListRuntimesRequest
- func (a *RuntimeApiService) ListRuntimesExecute(r ApiListRuntimesRequest) ([]Runtime, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TaskApiService
- type TaskResponse
- type TaskStatus
- func (o *TaskStatus) GetDetails() map[string]interface{}
- func (o *TaskStatus) GetDetailsOk() (map[string]interface{}, bool)
- func (o *TaskStatus) GetFinishedAt() int64
- func (o *TaskStatus) GetFinishedAtOk() (*int64, bool)
- func (o *TaskStatus) GetStartedAt() int64
- func (o *TaskStatus) GetStartedAtOk() (*int64, bool)
- func (o *TaskStatus) GetStatus() string
- func (o *TaskStatus) GetStatusOk() (*string, bool)
- func (o *TaskStatus) HasDetails() bool
- func (o *TaskStatus) HasFinishedAt() bool
- func (o TaskStatus) MarshalJSON() ([]byte, error)
- func (o *TaskStatus) SetDetails(v map[string]interface{})
- func (o *TaskStatus) SetFinishedAt(v int64)
- func (o *TaskStatus) SetStartedAt(v int64)
- func (o *TaskStatus) SetStatus(v string)
- type UploadApiService
- type UploadResponse
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { EndpointApi *EndpointApiService LambdaApi *LambdaApiService RuntimeApi *RuntimeApiService TaskApi *TaskApiService UploadApi *UploadApiService // contains filtered or unexported fields }
APIClient manages communication with the core API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateEndpointRequest ¶
type ApiCreateEndpointRequest struct { ApiService *EndpointApiService // contains filtered or unexported fields }
func (ApiCreateEndpointRequest) CreateEndpoint ¶
func (r ApiCreateEndpointRequest) CreateEndpoint(createEndpoint CreateEndpoint) ApiCreateEndpointRequest
Create endpoint body
type ApiCreateLambdaRequest ¶
type ApiCreateLambdaRequest struct { ApiService *LambdaApiService // contains filtered or unexported fields }
func (ApiCreateLambdaRequest) CreateLambda ¶
func (r ApiCreateLambdaRequest) CreateLambda(createLambda CreateLambda) ApiCreateLambdaRequest
Create lambda body
type ApiCreateRuntimeRequest ¶
type ApiCreateRuntimeRequest struct { ApiService *RuntimeApiService // contains filtered or unexported fields }
func (ApiCreateRuntimeRequest) CreateRuntime ¶
func (r ApiCreateRuntimeRequest) CreateRuntime(createRuntime CreateRuntime) ApiCreateRuntimeRequest
Create runtime body
type ApiDeleteEndpointRequest ¶
type ApiDeleteEndpointRequest struct { ApiService *EndpointApiService // contains filtered or unexported fields }
type ApiDestroyLambdaRequest ¶
type ApiDestroyLambdaRequest struct { ApiService *LambdaApiService // contains filtered or unexported fields }
func (ApiDestroyLambdaRequest) Execute ¶
func (r ApiDestroyLambdaRequest) Execute() (*TaskResponse, *http.Response, error)
type ApiGetEndpointRequest ¶
type ApiGetEndpointRequest struct { ApiService *EndpointApiService // contains filtered or unexported fields }
type ApiGetLambdaRequest ¶
type ApiGetLambdaRequest struct { ApiService *LambdaApiService // contains filtered or unexported fields }
type ApiGetRuntimeRequest ¶
type ApiGetRuntimeRequest struct { ApiService *RuntimeApiService // contains filtered or unexported fields }
type ApiGetTaskRequest ¶
type ApiGetTaskRequest struct { ApiService *TaskApiService // contains filtered or unexported fields }
func (ApiGetTaskRequest) Execute ¶
func (r ApiGetTaskRequest) Execute() (*TaskStatus, *http.Response, error)
type ApiListEndpointsRequest ¶
type ApiListEndpointsRequest struct { ApiService *EndpointApiService // contains filtered or unexported fields }
type ApiListLambdasRequest ¶
type ApiListLambdasRequest struct { ApiService *LambdaApiService // contains filtered or unexported fields }
type ApiListRuntimesRequest ¶
type ApiListRuntimesRequest struct { ApiService *RuntimeApiService // contains filtered or unexported fields }
type ApiStartLambdaRequest ¶
type ApiStartLambdaRequest struct { ApiService *LambdaApiService // contains filtered or unexported fields }
func (ApiStartLambdaRequest) Execute ¶
func (r ApiStartLambdaRequest) Execute() (*TaskResponse, *http.Response, error)
type ApiUploadRequest ¶
type ApiUploadRequest struct { ApiService *UploadApiService // contains filtered or unexported fields }
func (ApiUploadRequest) Execute ¶
func (r ApiUploadRequest) Execute() (*UploadResponse, *http.Response, error)
func (ApiUploadRequest) File ¶
func (r ApiUploadRequest) File(file *os.File) ApiUploadRequest
type BaseEndpoint ¶
type BaseEndpoint struct { Name string `json:"name"` Path string `json:"path"` Lambda string `json:"lambda"` }
BaseEndpoint struct for BaseEndpoint
func NewBaseEndpoint ¶
func NewBaseEndpoint(name string, path string, lambda string) *BaseEndpoint
NewBaseEndpoint instantiates a new BaseEndpoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseEndpointWithDefaults ¶
func NewBaseEndpointWithDefaults() *BaseEndpoint
NewBaseEndpointWithDefaults instantiates a new BaseEndpoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseEndpoint) GetLambda ¶
func (o *BaseEndpoint) GetLambda() string
GetLambda returns the Lambda field value
func (*BaseEndpoint) GetLambdaOk ¶
func (o *BaseEndpoint) GetLambdaOk() (*string, bool)
GetLambdaOk returns a tuple with the Lambda field value and a boolean to check if the value has been set.
func (*BaseEndpoint) GetName ¶
func (o *BaseEndpoint) GetName() string
GetName returns the Name field value
func (*BaseEndpoint) GetNameOk ¶
func (o *BaseEndpoint) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BaseEndpoint) GetPath ¶
func (o *BaseEndpoint) GetPath() string
GetPath returns the Path field value
func (*BaseEndpoint) GetPathOk ¶
func (o *BaseEndpoint) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (BaseEndpoint) MarshalJSON ¶
func (o BaseEndpoint) MarshalJSON() ([]byte, error)
func (*BaseEndpoint) SetLambda ¶
func (o *BaseEndpoint) SetLambda(v string)
SetLambda sets field value
type BaseLambda ¶
type BaseLambda struct { Name string `json:"name"` Runtime string `json:"runtime"` LambdaType string `json:"lambda_type"` }
BaseLambda struct for BaseLambda
func NewBaseLambda ¶
func NewBaseLambda(name string, runtime string, lambdaType string) *BaseLambda
NewBaseLambda instantiates a new BaseLambda object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseLambdaWithDefaults ¶
func NewBaseLambdaWithDefaults() *BaseLambda
NewBaseLambdaWithDefaults instantiates a new BaseLambda object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseLambda) GetLambdaType ¶
func (o *BaseLambda) GetLambdaType() string
GetLambdaType returns the LambdaType field value
func (*BaseLambda) GetLambdaTypeOk ¶
func (o *BaseLambda) GetLambdaTypeOk() (*string, bool)
GetLambdaTypeOk returns a tuple with the LambdaType field value and a boolean to check if the value has been set.
func (*BaseLambda) GetName ¶
func (o *BaseLambda) GetName() string
GetName returns the Name field value
func (*BaseLambda) GetNameOk ¶
func (o *BaseLambda) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BaseLambda) GetRuntime ¶
func (o *BaseLambda) GetRuntime() string
GetRuntime returns the Runtime field value
func (*BaseLambda) GetRuntimeOk ¶
func (o *BaseLambda) GetRuntimeOk() (*string, bool)
GetRuntimeOk returns a tuple with the Runtime field value and a boolean to check if the value has been set.
func (BaseLambda) MarshalJSON ¶
func (o BaseLambda) MarshalJSON() ([]byte, error)
func (*BaseLambda) SetLambdaType ¶
func (o *BaseLambda) SetLambdaType(v string)
SetLambdaType sets field value
func (*BaseLambda) SetRuntime ¶
func (o *BaseLambda) SetRuntime(v string)
SetRuntime sets field value
type BaseObject ¶
type BaseObject struct { Id string `json:"id"` Name string `json:"name"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` }
BaseObject struct for BaseObject
func NewBaseObject ¶
func NewBaseObject(id string, name string, createdAt int64, updatedAt int64) *BaseObject
NewBaseObject instantiates a new BaseObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseObjectWithDefaults ¶
func NewBaseObjectWithDefaults() *BaseObject
NewBaseObjectWithDefaults instantiates a new BaseObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseObject) GetCreatedAt ¶
func (o *BaseObject) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field value
func (*BaseObject) GetCreatedAtOk ¶
func (o *BaseObject) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*BaseObject) GetIdOk ¶
func (o *BaseObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BaseObject) GetName ¶
func (o *BaseObject) GetName() string
GetName returns the Name field value
func (*BaseObject) GetNameOk ¶
func (o *BaseObject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BaseObject) GetUpdatedAt ¶
func (o *BaseObject) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field value
func (*BaseObject) GetUpdatedAtOk ¶
func (o *BaseObject) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (BaseObject) MarshalJSON ¶
func (o BaseObject) MarshalJSON() ([]byte, error)
func (*BaseObject) SetCreatedAt ¶
func (o *BaseObject) SetCreatedAt(v int64)
SetCreatedAt sets field value
func (*BaseObject) SetUpdatedAt ¶
func (o *BaseObject) SetUpdatedAt(v int64)
SetUpdatedAt sets field value
type BaseRuntime ¶
type BaseRuntime struct {
Name string `json:"name"`
}
BaseRuntime struct for BaseRuntime
func NewBaseRuntime ¶
func NewBaseRuntime(name string) *BaseRuntime
NewBaseRuntime instantiates a new BaseRuntime object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseRuntimeWithDefaults ¶
func NewBaseRuntimeWithDefaults() *BaseRuntime
NewBaseRuntimeWithDefaults instantiates a new BaseRuntime object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseRuntime) GetName ¶
func (o *BaseRuntime) GetName() string
GetName returns the Name field value
func (*BaseRuntime) GetNameOk ¶
func (o *BaseRuntime) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (BaseRuntime) MarshalJSON ¶
func (o BaseRuntime) MarshalJSON() ([]byte, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateEndpoint ¶
type CreateEndpoint struct { Name string `json:"name"` Path string `json:"path"` Lambda string `json:"lambda"` }
CreateEndpoint struct for CreateEndpoint
func NewCreateEndpoint ¶
func NewCreateEndpoint(name string, path string, lambda string) *CreateEndpoint
NewCreateEndpoint instantiates a new CreateEndpoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateEndpointWithDefaults ¶
func NewCreateEndpointWithDefaults() *CreateEndpoint
NewCreateEndpointWithDefaults instantiates a new CreateEndpoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateEndpoint) GetLambda ¶
func (o *CreateEndpoint) GetLambda() string
GetLambda returns the Lambda field value
func (*CreateEndpoint) GetLambdaOk ¶
func (o *CreateEndpoint) GetLambdaOk() (*string, bool)
GetLambdaOk returns a tuple with the Lambda field value and a boolean to check if the value has been set.
func (*CreateEndpoint) GetName ¶
func (o *CreateEndpoint) GetName() string
GetName returns the Name field value
func (*CreateEndpoint) GetNameOk ¶
func (o *CreateEndpoint) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateEndpoint) GetPath ¶
func (o *CreateEndpoint) GetPath() string
GetPath returns the Path field value
func (*CreateEndpoint) GetPathOk ¶
func (o *CreateEndpoint) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (CreateEndpoint) MarshalJSON ¶
func (o CreateEndpoint) MarshalJSON() ([]byte, error)
func (*CreateEndpoint) SetLambda ¶
func (o *CreateEndpoint) SetLambda(v string)
SetLambda sets field value
func (*CreateEndpoint) SetName ¶
func (o *CreateEndpoint) SetName(v string)
SetName sets field value
func (*CreateEndpoint) SetPath ¶
func (o *CreateEndpoint) SetPath(v string)
SetPath sets field value
type CreateLambda ¶
type CreateLambda struct { Archive string `json:"archive"` Name string `json:"name"` Runtime string `json:"runtime"` LambdaType string `json:"lambda_type"` }
CreateLambda struct for CreateLambda
func NewCreateLambda ¶
func NewCreateLambda(archive string, name string, runtime string, lambdaType string) *CreateLambda
NewCreateLambda instantiates a new CreateLambda object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateLambdaWithDefaults ¶
func NewCreateLambdaWithDefaults() *CreateLambda
NewCreateLambdaWithDefaults instantiates a new CreateLambda object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateLambda) GetArchive ¶
func (o *CreateLambda) GetArchive() string
GetArchive returns the Archive field value
func (*CreateLambda) GetArchiveOk ¶
func (o *CreateLambda) GetArchiveOk() (*string, bool)
GetArchiveOk returns a tuple with the Archive field value and a boolean to check if the value has been set.
func (*CreateLambda) GetLambdaType ¶
func (o *CreateLambda) GetLambdaType() string
GetLambdaType returns the LambdaType field value
func (*CreateLambda) GetLambdaTypeOk ¶
func (o *CreateLambda) GetLambdaTypeOk() (*string, bool)
GetLambdaTypeOk returns a tuple with the LambdaType field value and a boolean to check if the value has been set.
func (*CreateLambda) GetName ¶
func (o *CreateLambda) GetName() string
GetName returns the Name field value
func (*CreateLambda) GetNameOk ¶
func (o *CreateLambda) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateLambda) GetRuntime ¶
func (o *CreateLambda) GetRuntime() string
GetRuntime returns the Runtime field value
func (*CreateLambda) GetRuntimeOk ¶
func (o *CreateLambda) GetRuntimeOk() (*string, bool)
GetRuntimeOk returns a tuple with the Runtime field value and a boolean to check if the value has been set.
func (CreateLambda) MarshalJSON ¶
func (o CreateLambda) MarshalJSON() ([]byte, error)
func (*CreateLambda) SetArchive ¶
func (o *CreateLambda) SetArchive(v string)
SetArchive sets field value
func (*CreateLambda) SetLambdaType ¶
func (o *CreateLambda) SetLambdaType(v string)
SetLambdaType sets field value
func (*CreateLambda) SetRuntime ¶
func (o *CreateLambda) SetRuntime(v string)
SetRuntime sets field value
type CreateRuntime ¶
CreateRuntime struct for CreateRuntime
func NewCreateRuntime ¶
func NewCreateRuntime(dockerfile string, name string) *CreateRuntime
NewCreateRuntime instantiates a new CreateRuntime object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateRuntimeWithDefaults ¶
func NewCreateRuntimeWithDefaults() *CreateRuntime
NewCreateRuntimeWithDefaults instantiates a new CreateRuntime object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateRuntime) GetDockerfile ¶
func (o *CreateRuntime) GetDockerfile() string
GetDockerfile returns the Dockerfile field value
func (*CreateRuntime) GetDockerfileOk ¶
func (o *CreateRuntime) GetDockerfileOk() (*string, bool)
GetDockerfileOk returns a tuple with the Dockerfile field value and a boolean to check if the value has been set.
func (*CreateRuntime) GetName ¶
func (o *CreateRuntime) GetName() string
GetName returns the Name field value
func (*CreateRuntime) GetNameOk ¶
func (o *CreateRuntime) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateRuntime) MarshalJSON ¶
func (o CreateRuntime) MarshalJSON() ([]byte, error)
func (*CreateRuntime) SetDockerfile ¶
func (o *CreateRuntime) SetDockerfile(v string)
SetDockerfile sets field value
type Docker ¶
type Docker struct { Image *string `json:"image,omitempty"` Container *string `json:"container,omitempty"` ContainerId *string `json:"container_id,omitempty"` Status string `json:"status"` }
Docker struct for Docker
func NewDocker ¶
NewDocker instantiates a new Docker object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerWithDefaults ¶
func NewDockerWithDefaults() *Docker
NewDockerWithDefaults instantiates a new Docker object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Docker) GetContainer ¶
GetContainer returns the Container field value if set, zero value otherwise.
func (*Docker) GetContainerId ¶
GetContainerId returns the ContainerId field value if set, zero value otherwise.
func (*Docker) GetContainerIdOk ¶
GetContainerIdOk returns a tuple with the ContainerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Docker) GetContainerOk ¶
GetContainerOk returns a tuple with the Container field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Docker) GetImageOk ¶
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Docker) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Docker) HasContainer ¶
HasContainer returns a boolean if a field has been set.
func (*Docker) HasContainerId ¶
HasContainerId returns a boolean if a field has been set.
func (Docker) MarshalJSON ¶
func (*Docker) SetContainer ¶
SetContainer gets a reference to the given string and assigns it to the Container field.
func (*Docker) SetContainerId ¶
SetContainerId gets a reference to the given string and assigns it to the ContainerId field.
type Endpoint ¶
type Endpoint struct { Id string `json:"id"` Name string `json:"name"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` Path string `json:"path"` Lambda string `json:"lambda"` }
Endpoint struct for Endpoint
func NewEndpoint ¶
func NewEndpoint(id string, name string, createdAt int64, updatedAt int64, path string, lambda string) *Endpoint
NewEndpoint instantiates a new Endpoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEndpointWithDefaults ¶
func NewEndpointWithDefaults() *Endpoint
NewEndpointWithDefaults instantiates a new Endpoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Endpoint) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Endpoint) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Endpoint) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Endpoint) GetLambdaOk ¶
GetLambdaOk returns a tuple with the Lambda field value and a boolean to check if the value has been set.
func (*Endpoint) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Endpoint) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*Endpoint) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Endpoint) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Endpoint) MarshalJSON ¶
func (*Endpoint) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Endpoint) SetUpdatedAt ¶
SetUpdatedAt sets field value
type EndpointApiService ¶
type EndpointApiService service
EndpointApiService EndpointApi service
func (*EndpointApiService) CreateEndpoint ¶
func (a *EndpointApiService) CreateEndpoint(ctx context.Context) ApiCreateEndpointRequest
CreateEndpoint Create endpoint
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateEndpointRequest
func (*EndpointApiService) CreateEndpointExecute ¶
func (a *EndpointApiService) CreateEndpointExecute(r ApiCreateEndpointRequest) (*Endpoint, *http.Response, error)
Execute executes the request
@return Endpoint
func (*EndpointApiService) DeleteEndpoint ¶
func (a *EndpointApiService) DeleteEndpoint(ctx context.Context, id string) ApiDeleteEndpointRequest
DeleteEndpoint Delete endpoint
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id endpoint id @return ApiDeleteEndpointRequest
func (*EndpointApiService) DeleteEndpointExecute ¶
func (a *EndpointApiService) DeleteEndpointExecute(r ApiDeleteEndpointRequest) (*http.Response, error)
Execute executes the request
func (*EndpointApiService) GetEndpoint ¶
func (a *EndpointApiService) GetEndpoint(ctx context.Context, id string) ApiGetEndpointRequest
GetEndpoint Get endpoint
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id endpoint id @return ApiGetEndpointRequest
func (*EndpointApiService) GetEndpointExecute ¶
func (a *EndpointApiService) GetEndpointExecute(r ApiGetEndpointRequest) (*Endpoint, *http.Response, error)
Execute executes the request
@return Endpoint
func (*EndpointApiService) ListEndpoints ¶
func (a *EndpointApiService) ListEndpoints(ctx context.Context) ApiListEndpointsRequest
ListEndpoints List endpoints
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListEndpointsRequest
func (*EndpointApiService) ListEndpointsExecute ¶
func (a *EndpointApiService) ListEndpointsExecute(r ApiListEndpointsRequest) ([]Endpoint, *http.Response, error)
Execute executes the request
@return []Endpoint
type Error ¶
type Error struct {
Error *string `json:"error,omitempty"`
}
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Lambda ¶
type Lambda struct { Docker Docker `json:"docker"` Id string `json:"id"` Name string `json:"name"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` Runtime string `json:"runtime"` LambdaType string `json:"lambda_type"` }
Lambda struct for Lambda
func NewLambda ¶
func NewLambda(docker Docker, id string, name string, createdAt int64, updatedAt int64, runtime string, lambdaType string) *Lambda
NewLambda instantiates a new Lambda object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLambdaWithDefaults ¶
func NewLambdaWithDefaults() *Lambda
NewLambdaWithDefaults instantiates a new Lambda object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Lambda) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Lambda) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Lambda) GetDockerOk ¶
GetDockerOk returns a tuple with the Docker field value and a boolean to check if the value has been set.
func (*Lambda) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Lambda) GetLambdaType ¶
GetLambdaType returns the LambdaType field value
func (*Lambda) GetLambdaTypeOk ¶
GetLambdaTypeOk returns a tuple with the LambdaType field value and a boolean to check if the value has been set.
func (*Lambda) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Lambda) GetRuntime ¶
GetRuntime returns the Runtime field value
func (*Lambda) GetRuntimeOk ¶
GetRuntimeOk returns a tuple with the Runtime field value and a boolean to check if the value has been set.
func (*Lambda) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Lambda) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Lambda) MarshalJSON ¶
func (*Lambda) SetLambdaType ¶
SetLambdaType sets field value
type LambdaApiService ¶
type LambdaApiService service
LambdaApiService LambdaApi service
func (*LambdaApiService) CreateLambda ¶
func (a *LambdaApiService) CreateLambda(ctx context.Context) ApiCreateLambdaRequest
CreateLambda Create lambda
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateLambdaRequest
func (*LambdaApiService) CreateLambdaExecute ¶
func (a *LambdaApiService) CreateLambdaExecute(r ApiCreateLambdaRequest) (*Lambda, *http.Response, error)
Execute executes the request
@return Lambda
func (*LambdaApiService) DestroyLambda ¶
func (a *LambdaApiService) DestroyLambda(ctx context.Context, id string) ApiDestroyLambdaRequest
DestroyLambda Stop lambda and remove docker container
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id lambda id @return ApiDestroyLambdaRequest
func (*LambdaApiService) DestroyLambdaExecute ¶
func (a *LambdaApiService) DestroyLambdaExecute(r ApiDestroyLambdaRequest) (*TaskResponse, *http.Response, error)
Execute executes the request
@return TaskResponse
func (*LambdaApiService) GetLambda ¶
func (a *LambdaApiService) GetLambda(ctx context.Context, id string) ApiGetLambdaRequest
GetLambda Get lambda
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id lambda id @return ApiGetLambdaRequest
func (*LambdaApiService) GetLambdaExecute ¶
func (a *LambdaApiService) GetLambdaExecute(r ApiGetLambdaRequest) (*Lambda, *http.Response, error)
Execute executes the request
@return Lambda
func (*LambdaApiService) ListLambdas ¶
func (a *LambdaApiService) ListLambdas(ctx context.Context) ApiListLambdasRequest
ListLambdas List lambdas
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListLambdasRequest
func (*LambdaApiService) ListLambdasExecute ¶
func (a *LambdaApiService) ListLambdasExecute(r ApiListLambdasRequest) ([]Lambda, *http.Response, error)
Execute executes the request
@return []Lambda
func (*LambdaApiService) StartLambda ¶
func (a *LambdaApiService) StartLambda(ctx context.Context, id string) ApiStartLambdaRequest
StartLambda Start lambda
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id lambda id @return ApiStartLambdaRequest
func (*LambdaApiService) StartLambdaExecute ¶
func (a *LambdaApiService) StartLambdaExecute(r ApiStartLambdaRequest) (*TaskResponse, *http.Response, error)
Execute executes the request
@return TaskResponse
type NullableBaseEndpoint ¶
type NullableBaseEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableBaseEndpoint ¶
func NewNullableBaseEndpoint(val *BaseEndpoint) *NullableBaseEndpoint
func (NullableBaseEndpoint) Get ¶
func (v NullableBaseEndpoint) Get() *BaseEndpoint
func (NullableBaseEndpoint) IsSet ¶
func (v NullableBaseEndpoint) IsSet() bool
func (NullableBaseEndpoint) MarshalJSON ¶
func (v NullableBaseEndpoint) MarshalJSON() ([]byte, error)
func (*NullableBaseEndpoint) Set ¶
func (v *NullableBaseEndpoint) Set(val *BaseEndpoint)
func (*NullableBaseEndpoint) UnmarshalJSON ¶
func (v *NullableBaseEndpoint) UnmarshalJSON(src []byte) error
func (*NullableBaseEndpoint) Unset ¶
func (v *NullableBaseEndpoint) Unset()
type NullableBaseLambda ¶
type NullableBaseLambda struct {
// contains filtered or unexported fields
}
func NewNullableBaseLambda ¶
func NewNullableBaseLambda(val *BaseLambda) *NullableBaseLambda
func (NullableBaseLambda) Get ¶
func (v NullableBaseLambda) Get() *BaseLambda
func (NullableBaseLambda) IsSet ¶
func (v NullableBaseLambda) IsSet() bool
func (NullableBaseLambda) MarshalJSON ¶
func (v NullableBaseLambda) MarshalJSON() ([]byte, error)
func (*NullableBaseLambda) Set ¶
func (v *NullableBaseLambda) Set(val *BaseLambda)
func (*NullableBaseLambda) UnmarshalJSON ¶
func (v *NullableBaseLambda) UnmarshalJSON(src []byte) error
func (*NullableBaseLambda) Unset ¶
func (v *NullableBaseLambda) Unset()
type NullableBaseObject ¶
type NullableBaseObject struct {
// contains filtered or unexported fields
}
func NewNullableBaseObject ¶
func NewNullableBaseObject(val *BaseObject) *NullableBaseObject
func (NullableBaseObject) Get ¶
func (v NullableBaseObject) Get() *BaseObject
func (NullableBaseObject) IsSet ¶
func (v NullableBaseObject) IsSet() bool
func (NullableBaseObject) MarshalJSON ¶
func (v NullableBaseObject) MarshalJSON() ([]byte, error)
func (*NullableBaseObject) Set ¶
func (v *NullableBaseObject) Set(val *BaseObject)
func (*NullableBaseObject) UnmarshalJSON ¶
func (v *NullableBaseObject) UnmarshalJSON(src []byte) error
func (*NullableBaseObject) Unset ¶
func (v *NullableBaseObject) Unset()
type NullableBaseRuntime ¶
type NullableBaseRuntime struct {
// contains filtered or unexported fields
}
func NewNullableBaseRuntime ¶
func NewNullableBaseRuntime(val *BaseRuntime) *NullableBaseRuntime
func (NullableBaseRuntime) Get ¶
func (v NullableBaseRuntime) Get() *BaseRuntime
func (NullableBaseRuntime) IsSet ¶
func (v NullableBaseRuntime) IsSet() bool
func (NullableBaseRuntime) MarshalJSON ¶
func (v NullableBaseRuntime) MarshalJSON() ([]byte, error)
func (*NullableBaseRuntime) Set ¶
func (v *NullableBaseRuntime) Set(val *BaseRuntime)
func (*NullableBaseRuntime) UnmarshalJSON ¶
func (v *NullableBaseRuntime) UnmarshalJSON(src []byte) error
func (*NullableBaseRuntime) Unset ¶
func (v *NullableBaseRuntime) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateEndpoint ¶
type NullableCreateEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableCreateEndpoint ¶
func NewNullableCreateEndpoint(val *CreateEndpoint) *NullableCreateEndpoint
func (NullableCreateEndpoint) Get ¶
func (v NullableCreateEndpoint) Get() *CreateEndpoint
func (NullableCreateEndpoint) IsSet ¶
func (v NullableCreateEndpoint) IsSet() bool
func (NullableCreateEndpoint) MarshalJSON ¶
func (v NullableCreateEndpoint) MarshalJSON() ([]byte, error)
func (*NullableCreateEndpoint) Set ¶
func (v *NullableCreateEndpoint) Set(val *CreateEndpoint)
func (*NullableCreateEndpoint) UnmarshalJSON ¶
func (v *NullableCreateEndpoint) UnmarshalJSON(src []byte) error
func (*NullableCreateEndpoint) Unset ¶
func (v *NullableCreateEndpoint) Unset()
type NullableCreateLambda ¶
type NullableCreateLambda struct {
// contains filtered or unexported fields
}
func NewNullableCreateLambda ¶
func NewNullableCreateLambda(val *CreateLambda) *NullableCreateLambda
func (NullableCreateLambda) Get ¶
func (v NullableCreateLambda) Get() *CreateLambda
func (NullableCreateLambda) IsSet ¶
func (v NullableCreateLambda) IsSet() bool
func (NullableCreateLambda) MarshalJSON ¶
func (v NullableCreateLambda) MarshalJSON() ([]byte, error)
func (*NullableCreateLambda) Set ¶
func (v *NullableCreateLambda) Set(val *CreateLambda)
func (*NullableCreateLambda) UnmarshalJSON ¶
func (v *NullableCreateLambda) UnmarshalJSON(src []byte) error
func (*NullableCreateLambda) Unset ¶
func (v *NullableCreateLambda) Unset()
type NullableCreateRuntime ¶
type NullableCreateRuntime struct {
// contains filtered or unexported fields
}
func NewNullableCreateRuntime ¶
func NewNullableCreateRuntime(val *CreateRuntime) *NullableCreateRuntime
func (NullableCreateRuntime) Get ¶
func (v NullableCreateRuntime) Get() *CreateRuntime
func (NullableCreateRuntime) IsSet ¶
func (v NullableCreateRuntime) IsSet() bool
func (NullableCreateRuntime) MarshalJSON ¶
func (v NullableCreateRuntime) MarshalJSON() ([]byte, error)
func (*NullableCreateRuntime) Set ¶
func (v *NullableCreateRuntime) Set(val *CreateRuntime)
func (*NullableCreateRuntime) UnmarshalJSON ¶
func (v *NullableCreateRuntime) UnmarshalJSON(src []byte) error
func (*NullableCreateRuntime) Unset ¶
func (v *NullableCreateRuntime) Unset()
type NullableDocker ¶
type NullableDocker struct {
// contains filtered or unexported fields
}
func NewNullableDocker ¶
func NewNullableDocker(val *Docker) *NullableDocker
func (NullableDocker) Get ¶
func (v NullableDocker) Get() *Docker
func (NullableDocker) IsSet ¶
func (v NullableDocker) IsSet() bool
func (NullableDocker) MarshalJSON ¶
func (v NullableDocker) MarshalJSON() ([]byte, error)
func (*NullableDocker) Set ¶
func (v *NullableDocker) Set(val *Docker)
func (*NullableDocker) UnmarshalJSON ¶
func (v *NullableDocker) UnmarshalJSON(src []byte) error
func (*NullableDocker) Unset ¶
func (v *NullableDocker) Unset()
type NullableEndpoint ¶
type NullableEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableEndpoint ¶
func NewNullableEndpoint(val *Endpoint) *NullableEndpoint
func (NullableEndpoint) Get ¶
func (v NullableEndpoint) Get() *Endpoint
func (NullableEndpoint) IsSet ¶
func (v NullableEndpoint) IsSet() bool
func (NullableEndpoint) MarshalJSON ¶
func (v NullableEndpoint) MarshalJSON() ([]byte, error)
func (*NullableEndpoint) Set ¶
func (v *NullableEndpoint) Set(val *Endpoint)
func (*NullableEndpoint) UnmarshalJSON ¶
func (v *NullableEndpoint) UnmarshalJSON(src []byte) error
func (*NullableEndpoint) Unset ¶
func (v *NullableEndpoint) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLambda ¶
type NullableLambda struct {
// contains filtered or unexported fields
}
func NewNullableLambda ¶
func NewNullableLambda(val *Lambda) *NullableLambda
func (NullableLambda) Get ¶
func (v NullableLambda) Get() *Lambda
func (NullableLambda) IsSet ¶
func (v NullableLambda) IsSet() bool
func (NullableLambda) MarshalJSON ¶
func (v NullableLambda) MarshalJSON() ([]byte, error)
func (*NullableLambda) Set ¶
func (v *NullableLambda) Set(val *Lambda)
func (*NullableLambda) UnmarshalJSON ¶
func (v *NullableLambda) UnmarshalJSON(src []byte) error
func (*NullableLambda) Unset ¶
func (v *NullableLambda) Unset()
type NullableRuntime ¶
type NullableRuntime struct {
// contains filtered or unexported fields
}
func NewNullableRuntime ¶
func NewNullableRuntime(val *Runtime) *NullableRuntime
func (NullableRuntime) Get ¶
func (v NullableRuntime) Get() *Runtime
func (NullableRuntime) IsSet ¶
func (v NullableRuntime) IsSet() bool
func (NullableRuntime) MarshalJSON ¶
func (v NullableRuntime) MarshalJSON() ([]byte, error)
func (*NullableRuntime) Set ¶
func (v *NullableRuntime) Set(val *Runtime)
func (*NullableRuntime) UnmarshalJSON ¶
func (v *NullableRuntime) UnmarshalJSON(src []byte) error
func (*NullableRuntime) Unset ¶
func (v *NullableRuntime) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTaskResponse ¶
type NullableTaskResponse struct {
// contains filtered or unexported fields
}
func NewNullableTaskResponse ¶
func NewNullableTaskResponse(val *TaskResponse) *NullableTaskResponse
func (NullableTaskResponse) Get ¶
func (v NullableTaskResponse) Get() *TaskResponse
func (NullableTaskResponse) IsSet ¶
func (v NullableTaskResponse) IsSet() bool
func (NullableTaskResponse) MarshalJSON ¶
func (v NullableTaskResponse) MarshalJSON() ([]byte, error)
func (*NullableTaskResponse) Set ¶
func (v *NullableTaskResponse) Set(val *TaskResponse)
func (*NullableTaskResponse) UnmarshalJSON ¶
func (v *NullableTaskResponse) UnmarshalJSON(src []byte) error
func (*NullableTaskResponse) Unset ¶
func (v *NullableTaskResponse) Unset()
type NullableTaskStatus ¶
type NullableTaskStatus struct {
// contains filtered or unexported fields
}
func NewNullableTaskStatus ¶
func NewNullableTaskStatus(val *TaskStatus) *NullableTaskStatus
func (NullableTaskStatus) Get ¶
func (v NullableTaskStatus) Get() *TaskStatus
func (NullableTaskStatus) IsSet ¶
func (v NullableTaskStatus) IsSet() bool
func (NullableTaskStatus) MarshalJSON ¶
func (v NullableTaskStatus) MarshalJSON() ([]byte, error)
func (*NullableTaskStatus) Set ¶
func (v *NullableTaskStatus) Set(val *TaskStatus)
func (*NullableTaskStatus) UnmarshalJSON ¶
func (v *NullableTaskStatus) UnmarshalJSON(src []byte) error
func (*NullableTaskStatus) Unset ¶
func (v *NullableTaskStatus) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUploadResponse ¶
type NullableUploadResponse struct {
// contains filtered or unexported fields
}
func NewNullableUploadResponse ¶
func NewNullableUploadResponse(val *UploadResponse) *NullableUploadResponse
func (NullableUploadResponse) Get ¶
func (v NullableUploadResponse) Get() *UploadResponse
func (NullableUploadResponse) IsSet ¶
func (v NullableUploadResponse) IsSet() bool
func (NullableUploadResponse) MarshalJSON ¶
func (v NullableUploadResponse) MarshalJSON() ([]byte, error)
func (*NullableUploadResponse) Set ¶
func (v *NullableUploadResponse) Set(val *UploadResponse)
func (*NullableUploadResponse) UnmarshalJSON ¶
func (v *NullableUploadResponse) UnmarshalJSON(src []byte) error
func (*NullableUploadResponse) Unset ¶
func (v *NullableUploadResponse) Unset()
type Runtime ¶
type Runtime struct { Id string `json:"id"` Name string `json:"name"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` }
Runtime struct for Runtime
func NewRuntime ¶
NewRuntime instantiates a new Runtime object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuntimeWithDefaults ¶
func NewRuntimeWithDefaults() *Runtime
NewRuntimeWithDefaults instantiates a new Runtime object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Runtime) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Runtime) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Runtime) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Runtime) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Runtime) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Runtime) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Runtime) MarshalJSON ¶
func (*Runtime) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Runtime) SetUpdatedAt ¶
SetUpdatedAt sets field value
type RuntimeApiService ¶
type RuntimeApiService service
RuntimeApiService RuntimeApi service
func (*RuntimeApiService) CreateRuntime ¶
func (a *RuntimeApiService) CreateRuntime(ctx context.Context) ApiCreateRuntimeRequest
CreateRuntime Create runtime
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateRuntimeRequest
func (*RuntimeApiService) CreateRuntimeExecute ¶
func (a *RuntimeApiService) CreateRuntimeExecute(r ApiCreateRuntimeRequest) (*Runtime, *http.Response, error)
Execute executes the request
@return Runtime
func (*RuntimeApiService) GetRuntime ¶
func (a *RuntimeApiService) GetRuntime(ctx context.Context, id string) ApiGetRuntimeRequest
GetRuntime Get runtime
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Runtime id @return ApiGetRuntimeRequest
func (*RuntimeApiService) GetRuntimeExecute ¶
func (a *RuntimeApiService) GetRuntimeExecute(r ApiGetRuntimeRequest) (*Runtime, *http.Response, error)
Execute executes the request
@return Runtime
func (*RuntimeApiService) ListRuntimes ¶
func (a *RuntimeApiService) ListRuntimes(ctx context.Context) ApiListRuntimesRequest
ListRuntimes List runtimes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRuntimesRequest
func (*RuntimeApiService) ListRuntimesExecute ¶
func (a *RuntimeApiService) ListRuntimesExecute(r ApiListRuntimesRequest) ([]Runtime, *http.Response, error)
Execute executes the request
@return []Runtime
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TaskApiService ¶
type TaskApiService service
TaskApiService TaskApi service
func (*TaskApiService) GetTask ¶
func (a *TaskApiService) GetTask(ctx context.Context, id string) ApiGetTaskRequest
GetTask Get task status
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id task id @return ApiGetTaskRequest
func (*TaskApiService) GetTaskExecute ¶
func (a *TaskApiService) GetTaskExecute(r ApiGetTaskRequest) (*TaskStatus, *http.Response, error)
Execute executes the request
@return TaskStatus
type TaskResponse ¶
type TaskResponse struct {
Task string `json:"task"`
}
TaskResponse struct for TaskResponse
func NewTaskResponse ¶
func NewTaskResponse(task string) *TaskResponse
NewTaskResponse instantiates a new TaskResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskResponseWithDefaults ¶
func NewTaskResponseWithDefaults() *TaskResponse
NewTaskResponseWithDefaults instantiates a new TaskResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskResponse) GetTask ¶
func (o *TaskResponse) GetTask() string
GetTask returns the Task field value
func (*TaskResponse) GetTaskOk ¶
func (o *TaskResponse) GetTaskOk() (*string, bool)
GetTaskOk returns a tuple with the Task field value and a boolean to check if the value has been set.
func (TaskResponse) MarshalJSON ¶
func (o TaskResponse) MarshalJSON() ([]byte, error)
type TaskStatus ¶
type TaskStatus struct { Status string `json:"status"` StartedAt int64 `json:"started_at"` FinishedAt *int64 `json:"finished_at,omitempty"` Details map[string]interface{} `json:"details,omitempty"` }
TaskStatus struct for TaskStatus
func NewTaskStatus ¶
func NewTaskStatus(status string, startedAt int64) *TaskStatus
NewTaskStatus instantiates a new TaskStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTaskStatusWithDefaults ¶
func NewTaskStatusWithDefaults() *TaskStatus
NewTaskStatusWithDefaults instantiates a new TaskStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TaskStatus) GetDetails ¶
func (o *TaskStatus) GetDetails() map[string]interface{}
GetDetails returns the Details field value if set, zero value otherwise.
func (*TaskStatus) GetDetailsOk ¶
func (o *TaskStatus) GetDetailsOk() (map[string]interface{}, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskStatus) GetFinishedAt ¶
func (o *TaskStatus) GetFinishedAt() int64
GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.
func (*TaskStatus) GetFinishedAtOk ¶
func (o *TaskStatus) GetFinishedAtOk() (*int64, bool)
GetFinishedAtOk returns a tuple with the FinishedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TaskStatus) GetStartedAt ¶
func (o *TaskStatus) GetStartedAt() int64
GetStartedAt returns the StartedAt field value
func (*TaskStatus) GetStartedAtOk ¶
func (o *TaskStatus) GetStartedAtOk() (*int64, bool)
GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.
func (*TaskStatus) GetStatus ¶
func (o *TaskStatus) GetStatus() string
GetStatus returns the Status field value
func (*TaskStatus) GetStatusOk ¶
func (o *TaskStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*TaskStatus) HasDetails ¶
func (o *TaskStatus) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*TaskStatus) HasFinishedAt ¶
func (o *TaskStatus) HasFinishedAt() bool
HasFinishedAt returns a boolean if a field has been set.
func (TaskStatus) MarshalJSON ¶
func (o TaskStatus) MarshalJSON() ([]byte, error)
func (*TaskStatus) SetDetails ¶
func (o *TaskStatus) SetDetails(v map[string]interface{})
SetDetails gets a reference to the given map[string]interface{} and assigns it to the Details field.
func (*TaskStatus) SetFinishedAt ¶
func (o *TaskStatus) SetFinishedAt(v int64)
SetFinishedAt gets a reference to the given int64 and assigns it to the FinishedAt field.
func (*TaskStatus) SetStartedAt ¶
func (o *TaskStatus) SetStartedAt(v int64)
SetStartedAt sets field value
type UploadApiService ¶
type UploadApiService service
UploadApiService UploadApi service
func (*UploadApiService) Upload ¶
func (a *UploadApiService) Upload(ctx context.Context) ApiUploadRequest
Upload Upload file
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiUploadRequest
func (*UploadApiService) UploadExecute ¶
func (a *UploadApiService) UploadExecute(r ApiUploadRequest) (*UploadResponse, *http.Response, error)
Execute executes the request
@return UploadResponse
type UploadResponse ¶
type UploadResponse struct {
Id string `json:"id"`
}
UploadResponse struct for UploadResponse
func NewUploadResponse ¶
func NewUploadResponse(id string) *UploadResponse
NewUploadResponse instantiates a new UploadResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUploadResponseWithDefaults ¶
func NewUploadResponseWithDefaults() *UploadResponse
NewUploadResponseWithDefaults instantiates a new UploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UploadResponse) GetId ¶
func (o *UploadResponse) GetId() string
GetId returns the Id field value
func (*UploadResponse) GetIdOk ¶
func (o *UploadResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (UploadResponse) MarshalJSON ¶
func (o UploadResponse) MarshalJSON() ([]byte, error)
Source Files ¶
- api_endpoint.go
- api_lambda.go
- api_runtime.go
- api_task.go
- api_upload.go
- client.go
- configuration.go
- model_base_endpoint.go
- model_base_lambda.go
- model_base_object.go
- model_base_runtime.go
- model_create_endpoint.go
- model_create_lambda.go
- model_create_runtime.go
- model_docker.go
- model_endpoint.go
- model_error.go
- model_lambda.go
- model_runtime.go
- model_task_response.go
- model_task_status.go
- model_upload_response.go
- response.go
- utils.go