Files
sdk/docs/FunctionFunctionView.md

12 KiB

FunctionFunctionView

Properties

Name Type Description Notes
AvgDurationMs Pointer to float64 mean wall-clock of those runs [optional]
CreatedAt Pointer to string when it was first published [optional]
Endpoint Pointer to string the path that invokes it [optional]
EnvCount Pointer to int64 how many secret NAMES it mounts; values are never carried [optional]
Environment Pointer to string the language it runs under [optional]
Errors7d Pointer to int64 how many of those runs failed [optional]
Image Pointer to string the prebuilt image it runs, when it runs one instead of source [optional]
Invocations7d Pointer to int64 runs in the last 7 days; ABSENT, never 0, when it has not run [optional]
LastDeployedAt Pointer to string when its code last changed [optional]
MemoryLimit Pointer to string the memory it runs with, and the multiplier on its compute charge [optional]
Name Pointer to string the function's org-unique handle [optional]
Namespace Pointer to string the display group it belongs to; the org is the isolation key [optional]
Status Pointer to string whether it is ready to serve [optional]
SuccessRate Pointer to float64 share of those runs that succeeded, 0..1 [optional]
Target Pointer to string where it runs: empty for the sandbox, "fleet" for the org's GPU fleet [optional]
TimeoutSec Pointer to int64 its per-invocation deadline [optional]

Methods

NewFunctionFunctionView

func NewFunctionFunctionView() *FunctionFunctionView

NewFunctionFunctionView instantiates a new FunctionFunctionView 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

NewFunctionFunctionViewWithDefaults

func NewFunctionFunctionViewWithDefaults() *FunctionFunctionView

NewFunctionFunctionViewWithDefaults instantiates a new FunctionFunctionView 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

GetAvgDurationMs

func (o *FunctionFunctionView) GetAvgDurationMs() float64

GetAvgDurationMs returns the AvgDurationMs field if non-nil, zero value otherwise.

GetAvgDurationMsOk

func (o *FunctionFunctionView) GetAvgDurationMsOk() (*float64, bool)

GetAvgDurationMsOk returns a tuple with the AvgDurationMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAvgDurationMs

func (o *FunctionFunctionView) SetAvgDurationMs(v float64)

SetAvgDurationMs sets AvgDurationMs field to given value.

HasAvgDurationMs

func (o *FunctionFunctionView) HasAvgDurationMs() bool

HasAvgDurationMs returns a boolean if a field has been set.

GetCreatedAt

func (o *FunctionFunctionView) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *FunctionFunctionView) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *FunctionFunctionView) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *FunctionFunctionView) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetEndpoint

func (o *FunctionFunctionView) GetEndpoint() string

GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.

GetEndpointOk

func (o *FunctionFunctionView) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEndpoint

func (o *FunctionFunctionView) SetEndpoint(v string)

SetEndpoint sets Endpoint field to given value.

HasEndpoint

func (o *FunctionFunctionView) HasEndpoint() bool

HasEndpoint returns a boolean if a field has been set.

GetEnvCount

func (o *FunctionFunctionView) GetEnvCount() int64

GetEnvCount returns the EnvCount field if non-nil, zero value otherwise.

GetEnvCountOk

func (o *FunctionFunctionView) GetEnvCountOk() (*int64, bool)

GetEnvCountOk returns a tuple with the EnvCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnvCount

func (o *FunctionFunctionView) SetEnvCount(v int64)

SetEnvCount sets EnvCount field to given value.

HasEnvCount

func (o *FunctionFunctionView) HasEnvCount() bool

HasEnvCount returns a boolean if a field has been set.

GetEnvironment

func (o *FunctionFunctionView) GetEnvironment() string

GetEnvironment returns the Environment field if non-nil, zero value otherwise.

GetEnvironmentOk

func (o *FunctionFunctionView) GetEnvironmentOk() (*string, bool)

GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnvironment

func (o *FunctionFunctionView) SetEnvironment(v string)

SetEnvironment sets Environment field to given value.

HasEnvironment

func (o *FunctionFunctionView) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

GetErrors7d

func (o *FunctionFunctionView) GetErrors7d() int64

GetErrors7d returns the Errors7d field if non-nil, zero value otherwise.

GetErrors7dOk

func (o *FunctionFunctionView) GetErrors7dOk() (*int64, bool)

GetErrors7dOk returns a tuple with the Errors7d field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetErrors7d

func (o *FunctionFunctionView) SetErrors7d(v int64)

SetErrors7d sets Errors7d field to given value.

HasErrors7d

func (o *FunctionFunctionView) HasErrors7d() bool

HasErrors7d returns a boolean if a field has been set.

GetImage

func (o *FunctionFunctionView) GetImage() string

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

func (o *FunctionFunctionView) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImage

func (o *FunctionFunctionView) SetImage(v string)

SetImage sets Image field to given value.

HasImage

func (o *FunctionFunctionView) HasImage() bool

HasImage returns a boolean if a field has been set.

GetInvocations7d

func (o *FunctionFunctionView) GetInvocations7d() int64

GetInvocations7d returns the Invocations7d field if non-nil, zero value otherwise.

GetInvocations7dOk

func (o *FunctionFunctionView) GetInvocations7dOk() (*int64, bool)

GetInvocations7dOk returns a tuple with the Invocations7d field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInvocations7d

func (o *FunctionFunctionView) SetInvocations7d(v int64)

SetInvocations7d sets Invocations7d field to given value.

HasInvocations7d

func (o *FunctionFunctionView) HasInvocations7d() bool

HasInvocations7d returns a boolean if a field has been set.

GetLastDeployedAt

func (o *FunctionFunctionView) GetLastDeployedAt() string

GetLastDeployedAt returns the LastDeployedAt field if non-nil, zero value otherwise.

GetLastDeployedAtOk

func (o *FunctionFunctionView) GetLastDeployedAtOk() (*string, bool)

GetLastDeployedAtOk returns a tuple with the LastDeployedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLastDeployedAt

func (o *FunctionFunctionView) SetLastDeployedAt(v string)

SetLastDeployedAt sets LastDeployedAt field to given value.

HasLastDeployedAt

func (o *FunctionFunctionView) HasLastDeployedAt() bool

HasLastDeployedAt returns a boolean if a field has been set.

GetMemoryLimit

func (o *FunctionFunctionView) GetMemoryLimit() string

GetMemoryLimit returns the MemoryLimit field if non-nil, zero value otherwise.

GetMemoryLimitOk

func (o *FunctionFunctionView) GetMemoryLimitOk() (*string, bool)

GetMemoryLimitOk returns a tuple with the MemoryLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMemoryLimit

func (o *FunctionFunctionView) SetMemoryLimit(v string)

SetMemoryLimit sets MemoryLimit field to given value.

HasMemoryLimit

func (o *FunctionFunctionView) HasMemoryLimit() bool

HasMemoryLimit returns a boolean if a field has been set.

GetName

func (o *FunctionFunctionView) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *FunctionFunctionView) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *FunctionFunctionView) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *FunctionFunctionView) HasName() bool

HasName returns a boolean if a field has been set.

GetNamespace

func (o *FunctionFunctionView) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *FunctionFunctionView) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNamespace

func (o *FunctionFunctionView) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *FunctionFunctionView) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetStatus

func (o *FunctionFunctionView) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *FunctionFunctionView) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *FunctionFunctionView) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *FunctionFunctionView) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetSuccessRate

func (o *FunctionFunctionView) GetSuccessRate() float64

GetSuccessRate returns the SuccessRate field if non-nil, zero value otherwise.

GetSuccessRateOk

func (o *FunctionFunctionView) GetSuccessRateOk() (*float64, bool)

GetSuccessRateOk returns a tuple with the SuccessRate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSuccessRate

func (o *FunctionFunctionView) SetSuccessRate(v float64)

SetSuccessRate sets SuccessRate field to given value.

HasSuccessRate

func (o *FunctionFunctionView) HasSuccessRate() bool

HasSuccessRate returns a boolean if a field has been set.

GetTarget

func (o *FunctionFunctionView) GetTarget() string

GetTarget returns the Target field if non-nil, zero value otherwise.

GetTargetOk

func (o *FunctionFunctionView) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTarget

func (o *FunctionFunctionView) SetTarget(v string)

SetTarget sets Target field to given value.

HasTarget

func (o *FunctionFunctionView) HasTarget() bool

HasTarget returns a boolean if a field has been set.

GetTimeoutSec

func (o *FunctionFunctionView) GetTimeoutSec() int64

GetTimeoutSec returns the TimeoutSec field if non-nil, zero value otherwise.

GetTimeoutSecOk

func (o *FunctionFunctionView) GetTimeoutSecOk() (*int64, bool)

GetTimeoutSecOk returns a tuple with the TimeoutSec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTimeoutSec

func (o *FunctionFunctionView) SetTimeoutSec(v int64)

SetTimeoutSec sets TimeoutSec field to given value.

HasTimeoutSec

func (o *FunctionFunctionView) HasTimeoutSec() bool

HasTimeoutSec returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]