Documentation
¶
Index ¶
- Constants
- type APIKey
- type ArtifactsJobArtifactSpace
- type AuthdevicesCode
- type AuthdevicesStatus
- type AuthdevicesToken
- type AuthdevicesTokenInput
- type AuthtypesUserFlags
- type CaptureMessage
- type CaptureRequest
- type CaptureResponse
- type CaptureValues
- type CapturemetaScriptRef
- type Cluster
- type ClusterOperator
- type ClusterToken
- type ClusterTokenStatus
- type ClustersDevMeshEnabledWorkload
- func (m *ClustersDevMeshEnabledWorkload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClustersDevMeshEnabledWorkload) MarshalBinary() ([]byte, error)
- func (m *ClustersDevMeshEnabledWorkload) UnmarshalBinary(b []byte) error
- func (m *ClustersDevMeshEnabledWorkload) Validate(formats strfmt.Registry) error
- type ClustersDevMeshWorkloadStatus
- type ClustersDevMeshWorkloadStatusCount
- func (m *ClustersDevMeshWorkloadStatusCount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClustersDevMeshWorkloadStatusCount) MarshalBinary() ([]byte, error)
- func (m *ClustersDevMeshWorkloadStatusCount) UnmarshalBinary(b []byte) error
- func (m *ClustersDevMeshWorkloadStatusCount) Validate(formats strfmt.Registry) error
- type ConfigClusterConfig
- type ConfigControlPlaneConfig
- func (m *ConfigControlPlaneConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigControlPlaneConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigControlPlaneConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigControlPlaneConfig) Validate(formats strfmt.Registry) error
- type ConfigDefaultHeaderClass
- type ConfigGatewayAPIConfig
- func (m *ConfigGatewayAPIConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigGatewayAPIConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigGatewayAPIConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigGatewayAPIConfig) Validate(formats strfmt.Registry) error
- type ConfigIstioConfig
- type ConfigIstioSignadotOperator
- func (m *ConfigIstioSignadotOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigIstioSignadotOperator) MarshalBinary() ([]byte, error)
- func (m *ConfigIstioSignadotOperator) UnmarshalBinary(b []byte) error
- func (m *ConfigIstioSignadotOperator) Validate(formats strfmt.Registry) error
- type ConfigLinkerdConfig
- type ConfigLinkerdSignadotOperator
- func (m *ConfigLinkerdSignadotOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigLinkerdSignadotOperator) MarshalBinary() ([]byte, error)
- func (m *ConfigLinkerdSignadotOperator) UnmarshalBinary(b []byte) error
- func (m *ConfigLinkerdSignadotOperator) Validate(formats strfmt.Registry) error
- type ConfigQueryParamRoutingConfig
- func (m *ConfigQueryParamRoutingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigQueryParamRoutingConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigQueryParamRoutingConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigQueryParamRoutingConfig) Validate(formats strfmt.Registry) error
- type ConfigRoutingConfig
- type ConfigSandboxTrafficManagerConfig
- func (m *ConfigSandboxTrafficManagerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigSandboxTrafficManagerConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigSandboxTrafficManagerConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigSandboxTrafficManagerConfig) Validate(formats strfmt.Registry) error
- type ConfigTrafficCaptureConfig
- func (m *ConfigTrafficCaptureConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigTrafficCaptureConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigTrafficCaptureConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigTrafficCaptureConfig) Validate(formats strfmt.Registry) error
- type ConfigTrafficManagerConfig
- func (m *ConfigTrafficManagerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConfigTrafficManagerConfig) MarshalBinary() ([]byte, error)
- func (m *ConfigTrafficManagerConfig) UnmarshalBinary(b []byte) error
- func (m *ConfigTrafficManagerConfig) Validate(formats strfmt.Registry) error
- type ConnectSession
- type Connection
- type CreateAPIKeyRequest
- type CreatedBy
- type DefaultsCompositeDefaults
- func (m *DefaultsCompositeDefaults) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DefaultsCompositeDefaults) MarshalBinary() ([]byte, error)
- func (m *DefaultsCompositeDefaults) UnmarshalBinary(b []byte) error
- func (m *DefaultsCompositeDefaults) Validate(formats strfmt.Registry) error
- type DefaultsDefault
- type DefaultsDefaultClass
- type DefaultsResourceKind
- type Devbox
- type DevboxPrincipal
- type DevboxRegistration
- type DevboxStatus
- type DiffOp
- type DiffOpClassification
- type EmptyResponse
- type EndpointsEndpoint
- type ErrorResponse
- type EventAuthContext
- type EventPrincipal
- type EventQueryResult
- type ExternalSpec
- type HostedSpec
- type Job
- type JobArtifact
- type JobArtifactInfo
- type JobEnvItem
- type JobRoutingContext
- type JobRunnerGroup
- type JobRunnerGroupAutoScaling
- func (m *JobRunnerGroupAutoScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JobRunnerGroupAutoScaling) MarshalBinary() ([]byte, error)
- func (m *JobRunnerGroupAutoScaling) UnmarshalBinary(b []byte) error
- func (m *JobRunnerGroupAutoScaling) Validate(formats strfmt.Registry) error
- type JobRunnerGroupExecutionsStatus
- func (m *JobRunnerGroupExecutionsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JobRunnerGroupExecutionsStatus) MarshalBinary() ([]byte, error)
- func (m *JobRunnerGroupExecutionsStatus) UnmarshalBinary(b []byte) error
- func (m *JobRunnerGroupExecutionsStatus) Validate(formats strfmt.Registry) error
- type JobRunnerGroupManualScaling
- func (m *JobRunnerGroupManualScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JobRunnerGroupManualScaling) MarshalBinary() ([]byte, error)
- func (m *JobRunnerGroupManualScaling) UnmarshalBinary(b []byte) error
- func (m *JobRunnerGroupManualScaling) Validate(formats strfmt.Registry) error
- type JobRunnerGroupPodsStatus
- func (m *JobRunnerGroupPodsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JobRunnerGroupPodsStatus) MarshalBinary() ([]byte, error)
- func (m *JobRunnerGroupPodsStatus) UnmarshalBinary(b []byte) error
- func (m *JobRunnerGroupPodsStatus) Validate(formats strfmt.Registry) error
- type JobRunnerGroupScaling
- type JobRunnerGroupSpec
- type JobRunnerGroupStatus
- type JobSpec
- type JobTrafficManager
- type JobUploadArtifact
- type JobsAttempt
- type JobsCanceledBy
- type JobsCanceledState
- type JobsFailedState
- type JobsPhase
- type JobsPhaseCount
- type JobsQueuedState
- type JobsRunningState
- type JobsState
- type JobsStatus
- type JobsSucceededState
- type ListAPIKeysResponse
- type ListEventsResponse
- type Local
- type LocalFrom
- type LocalPortMapping
- type LogsContainerLogs
- type LogsLogItem
- type LogsLogType
- type OrgsGetOrgNameResponse
- func (m *OrgsGetOrgNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrgsGetOrgNameResponse) MarshalBinary() ([]byte, error)
- func (m *OrgsGetOrgNameResponse) UnmarshalBinary(b []byte) error
- func (m *OrgsGetOrgNameResponse) Validate(formats strfmt.Registry) error
- type OrgsOrg
- type OrgsUser
- type PhaseCounts
- type PlanAction
- type PlanActionSpec
- type PlanActionStatus
- type PlanArgs
- type PlanArtifactRef
- type PlanClusterAffinity
- type PlanCompileInput
- type PlanDesiredImagesResponse
- func (m *PlanDesiredImagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanDesiredImagesResponse) MarshalBinary() ([]byte, error)
- func (m *PlanDesiredImagesResponse) UnmarshalBinary(b []byte) error
- func (m *PlanDesiredImagesResponse) Validate(formats strfmt.Registry) error
- type PlanExecution
- type PlanExecutionQueryResult
- func (m *PlanExecutionQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanExecutionQueryResult) MarshalBinary() ([]byte, error)
- func (m *PlanExecutionQueryResult) UnmarshalBinary(b []byte) error
- func (m *PlanExecutionQueryResult) Validate(formats strfmt.Registry) error
- type PlanExecutionSpec
- type PlanExecutionStatus
- type PlanExtraInputsSchemaPolicy
- func (m *PlanExtraInputsSchemaPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanExtraInputsSchemaPolicy) MarshalBinary() ([]byte, error)
- func (m *PlanExtraInputsSchemaPolicy) UnmarshalBinary(b []byte) error
- func (m *PlanExtraInputsSchemaPolicy) Validate(formats strfmt.Registry) error
- type PlanField
- type PlanImageRef
- type PlanImageSpec
- type PlanInputStatus
- type PlanLogStatus
- type PlanOutputStatus
- type PlanRoutingContext
- type PlanRunnerGroup
- type PlanRunnerGroupCacheSpec
- func (m *PlanRunnerGroupCacheSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanRunnerGroupCacheSpec) MarshalBinary() ([]byte, error)
- func (m *PlanRunnerGroupCacheSpec) UnmarshalBinary(b []byte) error
- func (m *PlanRunnerGroupCacheSpec) Validate(formats strfmt.Registry) error
- type PlanRunnerGroupClusterSettings
- func (m *PlanRunnerGroupClusterSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanRunnerGroupClusterSettings) MarshalBinary() ([]byte, error)
- func (m *PlanRunnerGroupClusterSettings) UnmarshalBinary(b []byte) error
- func (m *PlanRunnerGroupClusterSettings) Validate(formats strfmt.Registry) error
- type PlanRunnerGroupManualScaling
- func (m *PlanRunnerGroupManualScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanRunnerGroupManualScaling) MarshalBinary() ([]byte, error)
- func (m *PlanRunnerGroupManualScaling) UnmarshalBinary(b []byte) error
- func (m *PlanRunnerGroupManualScaling) Validate(formats strfmt.Registry) error
- type PlanRunnerGroupPodsStatus
- func (m *PlanRunnerGroupPodsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanRunnerGroupPodsStatus) MarshalBinary() ([]byte, error)
- func (m *PlanRunnerGroupPodsStatus) UnmarshalBinary(b []byte) error
- func (m *PlanRunnerGroupPodsStatus) Validate(formats strfmt.Registry) error
- type PlanRunnerGroupScaling
- func (m *PlanRunnerGroupScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanRunnerGroupScaling) MarshalBinary() ([]byte, error)
- func (m *PlanRunnerGroupScaling) UnmarshalBinary(b []byte) error
- func (m *PlanRunnerGroupScaling) Validate(formats strfmt.Registry) error
- type PlanRunnerGroupSettingsResponse
- func (m *PlanRunnerGroupSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PlanRunnerGroupSettingsResponse) MarshalBinary() ([]byte, error)
- func (m *PlanRunnerGroupSettingsResponse) UnmarshalBinary(b []byte) error
- func (m *PlanRunnerGroupSettingsResponse) Validate(formats strfmt.Registry) error
- type PlanRunnerGroupSpec
- type PlanRunnerGroupStatus
- type PlanSpec
- type PlanStatus
- type PlanStep
- type PlanStepAction
- type PlanStepInputStatus
- type PlanStepOutputRef
- type PlanStepOutputStatus
- type PlanStepStatus
- type PlanTag
- type PlanTagSpec
- type PlanTagStatus
- type PlansExecutionPhase
- type PlansInputResolvedVia
- type PlansStepPhase
- type RequestDiff
- type ResourceInfo
- type ResourcePlugin
- type ResourcepluginRunner
- type ResourcepluginSpec
- type ResourcepluginStatus
- type ResourcepluginStep
- type ResourcepluginStepInput
- func (m *ResourcepluginStepInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcepluginStepInput) MarshalBinary() ([]byte, error)
- func (m *ResourcepluginStepInput) UnmarshalBinary(b []byte) error
- func (m *ResourcepluginStepInput) Validate(formats strfmt.Registry) error
- type ResourcepluginStepInputTo
- func (m *ResourcepluginStepInputTo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcepluginStepInputTo) MarshalBinary() ([]byte, error)
- func (m *ResourcepluginStepInputTo) UnmarshalBinary(b []byte) error
- func (m *ResourcepluginStepInputTo) Validate(formats strfmt.Registry) error
- type ResourcepluginStepOut
- type ResourcepluginValueFromStep
- func (m *ResourcepluginValueFromStep) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcepluginValueFromStep) MarshalBinary() ([]byte, error)
- func (m *ResourcepluginValueFromStep) UnmarshalBinary(b []byte) error
- func (m *ResourcepluginValueFromStep) Validate(formats strfmt.Registry) error
- type ResponseDiff
- type RouteGroup
- type RouteGroupMatch
- type RouteGroupMatchLabel
- type RouteGroupSpec
- type RouteGroupStatus
- type RouteGroupTTL
- type RoutegroupsEndpoint
- type RoutegroupsEndpointURL
- func (m *RoutegroupsEndpointURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RoutegroupsEndpointURL) MarshalBinary() ([]byte, error)
- func (m *RoutegroupsEndpointURL) UnmarshalBinary(b []byte) error
- func (m *RoutegroupsEndpointURL) Validate(formats strfmt.Registry) error
- type RoutingTarget
- type RoutingTargetRef
- type RunnablePlan
- type Sandbox
- type SandboxConnectionStatus
- func (m *SandboxConnectionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxConnectionStatus) MarshalBinary() ([]byte, error)
- func (m *SandboxConnectionStatus) UnmarshalBinary(b []byte) error
- func (m *SandboxConnectionStatus) Validate(formats strfmt.Registry) error
- type SandboxCustomPatch
- type SandboxCustomizations
- type SandboxDefaultRouteGroup
- func (m *SandboxDefaultRouteGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxDefaultRouteGroup) MarshalBinary() ([]byte, error)
- func (m *SandboxDefaultRouteGroup) UnmarshalBinary(b []byte) error
- func (m *SandboxDefaultRouteGroup) Validate(formats strfmt.Registry) error
- type SandboxEndpoint
- type SandboxEnvValueFrom
- type SandboxEnvValueFromFork
- func (m *SandboxEnvValueFromFork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxEnvValueFromFork) MarshalBinary() ([]byte, error)
- func (m *SandboxEnvValueFromFork) UnmarshalBinary(b []byte) error
- func (m *SandboxEnvValueFromFork) Validate(formats strfmt.Registry) error
- type SandboxEnvValueFromMap
- func (m *SandboxEnvValueFromMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxEnvValueFromMap) MarshalBinary() ([]byte, error)
- func (m *SandboxEnvValueFromMap) UnmarshalBinary(b []byte) error
- func (m *SandboxEnvValueFromMap) Validate(formats strfmt.Registry) error
- type SandboxEnvValueFromResource
- func (m *SandboxEnvValueFromResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxEnvValueFromResource) MarshalBinary() ([]byte, error)
- func (m *SandboxEnvValueFromResource) UnmarshalBinary(b []byte) error
- func (m *SandboxEnvValueFromResource) Validate(formats strfmt.Registry) error
- type SandboxEnvVar
- type SandboxFileOp
- type SandboxFileSource
- type SandboxFileSourceMap
- type SandboxFileSourceResource
- func (m *SandboxFileSourceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxFileSourceResource) MarshalBinary() ([]byte, error)
- func (m *SandboxFileSourceResource) UnmarshalBinary(b []byte) error
- func (m *SandboxFileSourceResource) Validate(formats strfmt.Registry) error
- type SandboxFork
- type SandboxForkEndpoint
- type SandboxForkOf
- type SandboxHostEndpoint
- type SandboxImage
- type SandboxLocalWorkloadStatus
- func (m *SandboxLocalWorkloadStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxLocalWorkloadStatus) MarshalBinary() ([]byte, error)
- func (m *SandboxLocalWorkloadStatus) UnmarshalBinary(b []byte) error
- func (m *SandboxLocalWorkloadStatus) Validate(formats strfmt.Registry) error
- type SandboxReadiness
- type SandboxResource
- type SandboxSpec
- type SandboxTTL
- type SandboxTestExecutionsSummary
- func (m *SandboxTestExecutionsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxTestExecutionsSummary) MarshalBinary() ([]byte, error)
- func (m *SandboxTestExecutionsSummary) UnmarshalBinary(b []byte) error
- func (m *SandboxTestExecutionsSummary) Validate(formats strfmt.Registry) error
- type SandboxTestExecutionsSummaryChecks
- func (m *SandboxTestExecutionsSummaryChecks) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxTestExecutionsSummaryChecks) MarshalBinary() ([]byte, error)
- func (m *SandboxTestExecutionsSummaryChecks) UnmarshalBinary(b []byte) error
- func (m *SandboxTestExecutionsSummaryChecks) Validate(formats strfmt.Registry) error
- type SandboxTestExecutionsSummaryTrafficDiffs
- func (m *SandboxTestExecutionsSummaryTrafficDiffs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxTestExecutionsSummaryTrafficDiffs) MarshalBinary() ([]byte, error)
- func (m *SandboxTestExecutionsSummaryTrafficDiffs) UnmarshalBinary(b []byte) error
- func (m *SandboxTestExecutionsSummaryTrafficDiffs) Validate(formats strfmt.Registry) error
- type SandboxTunnelStatus
- type SandboxTunnelStatusHealth
- func (m *SandboxTunnelStatusHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxTunnelStatusHealth) MarshalBinary() ([]byte, error)
- func (m *SandboxTunnelStatusHealth) UnmarshalBinary(b []byte) error
- func (m *SandboxTunnelStatusHealth) Validate(formats strfmt.Registry) error
- type SandboxesArgValueFrom
- type SandboxesArgument
- type SandboxesEnvOpName
- type SandboxesExplainMode
- type SandboxesForward
- type SandboxesForwardStatus
- func (m *SandboxesForwardStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxesForwardStatus) MarshalBinary() ([]byte, error)
- func (m *SandboxesForwardStatus) UnmarshalBinary(b []byte) error
- func (m *SandboxesForwardStatus) Validate(formats strfmt.Registry) error
- type SandboxesJobsSummary
- type SandboxesLLMContext
- type SandboxesLLMMessage
- type SandboxesLLMMessageRole
- type SandboxesMiddleware
- type SandboxesMiddlewareMatch
- func (m *SandboxesMiddlewareMatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxesMiddlewareMatch) MarshalBinary() ([]byte, error)
- func (m *SandboxesMiddlewareMatch) UnmarshalBinary(b []byte) error
- func (m *SandboxesMiddlewareMatch) Validate(formats strfmt.Registry) error
- type SandboxesPatchType
- type SandboxesRouting
- type SandboxesSandboxStatusExplainResponse
- func (m *SandboxesSandboxStatusExplainResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxesSandboxStatusExplainResponse) MarshalBinary() ([]byte, error)
- func (m *SandboxesSandboxStatusExplainResponse) UnmarshalBinary(b []byte) error
- func (m *SandboxesSandboxStatusExplainResponse) Validate(formats strfmt.Registry) error
- type Secret
- type ServiceAccount
- type ServicestatusIncident
- type ServicestatusMaintenance
- func (m *ServicestatusMaintenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServicestatusMaintenance) MarshalBinary() ([]byte, error)
- func (m *ServicestatusMaintenance) UnmarshalBinary(b []byte) error
- func (m *ServicestatusMaintenance) Validate(formats strfmt.Registry) error
- type ServicestatusResponse
- type Source
- type SyntaxPosition
- type TagMapping
- type Test
- type TestExecution
- type TestExecutionAutoDiff
- type TestExecutionCanceledState
- func (m *TestExecutionCanceledState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestExecutionCanceledState) MarshalBinary() ([]byte, error)
- func (m *TestExecutionCanceledState) UnmarshalBinary(b []byte) error
- func (m *TestExecutionCanceledState) Validate(formats strfmt.Registry) error
- type TestExecutionContext
- type TestExecutionFailedState
- func (m *TestExecutionFailedState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestExecutionFailedState) MarshalBinary() ([]byte, error)
- func (m *TestExecutionFailedState) UnmarshalBinary(b []byte) error
- func (m *TestExecutionFailedState) Validate(formats strfmt.Registry) error
- type TestExecutionResults
- type TestExecutionSpec
- type TestExecutionState
- type TestExecutionStatus
- type TestExecutionTemplate
- type TestExecutionTriggeredBy
- func (m *TestExecutionTriggeredBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestExecutionTriggeredBy) MarshalBinary() ([]byte, error)
- func (m *TestExecutionTriggeredBy) UnmarshalBinary(b []byte) error
- func (m *TestExecutionTriggeredBy) Validate(formats strfmt.Registry) error
- type TestSpec
- type TestStatus
- type TestTrigger
- type TestexecutionsCheck
- type TestexecutionsCheckError
- func (m *TestexecutionsCheckError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestexecutionsCheckError) MarshalBinary() ([]byte, error)
- func (m *TestexecutionsCheckError) UnmarshalBinary(b []byte) error
- func (m *TestexecutionsCheckError) Validate(formats strfmt.Registry) error
- type TestexecutionsChecks
- type TestexecutionsPhase
- type TestexecutionsPhaseCount
- func (m *TestexecutionsPhaseCount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestexecutionsPhaseCount) MarshalBinary() ([]byte, error)
- func (m *TestexecutionsPhaseCount) UnmarshalBinary(b []byte) error
- func (m *TestexecutionsPhaseCount) Validate(formats strfmt.Registry) error
- type TestexecutionsQueryResult
- func (m *TestexecutionsQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestexecutionsQueryResult) MarshalBinary() ([]byte, error)
- func (m *TestexecutionsQueryResult) UnmarshalBinary(b []byte) error
- func (m *TestexecutionsQueryResult) Validate(formats strfmt.Registry) error
- type TestexecutionsUnpairedCapture
- func (m *TestexecutionsUnpairedCapture) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestexecutionsUnpairedCapture) MarshalBinary() ([]byte, error)
- func (m *TestexecutionsUnpairedCapture) UnmarshalBinary(b []byte) error
- func (m *TestexecutionsUnpairedCapture) Validate(formats strfmt.Registry) error
- type TrafficDiff
- type TrafficDiffPairedDiff
- type TrafficDiffPointResult
- func (m *TrafficDiffPointResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrafficDiffPointResult) MarshalBinary() ([]byte, error)
- func (m *TrafficDiffPointResult) UnmarshalBinary(b []byte) error
- func (m *TrafficDiffPointResult) Validate(formats strfmt.Registry) error
- type TrafficDiffResult
- type TrafficDiffSummary
- type TrafficmodelsBy
- type TrafficmodelsDiffOperation
- type TrafficmodelsDirection
- type TrafficmodelsKind
- type Virtual
- type WorkloadWorkload
Constants ¶
const ( // JobTrafficManagerInjectRoutingKeyDisabled captures enum value "disabled" JobTrafficManagerInjectRoutingKeyDisabled string = "disabled" // JobTrafficManagerInjectRoutingKeyAuto captures enum value "auto" JobTrafficManagerInjectRoutingKeyAuto string = "auto" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶ added in v0.3.8
type APIKey struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// description
Description string `json:"description,omitempty"`
// ExpiresAt is the key's expiration time (RFC3339), or nil if it never expires.
ExpiresAt string `json:"expiresAt,omitempty"`
// id
ID string `json:"id,omitempty"`
// last used at
LastUsedAt string `json:"lastUsedAt,omitempty"`
// masked value
MaskedValue string `json:"maskedValue,omitempty"`
// token
Token string `json:"token,omitempty"`
}
APIKey Api key
swagger:model ApiKey
func (*APIKey) ContextValidate ¶ added in v0.3.8
ContextValidate validates this Api key based on context it is used
func (*APIKey) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*APIKey) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type ArtifactsJobArtifactSpace ¶ added in v0.3.8
type ArtifactsJobArtifactSpace string
ArtifactsJobArtifactSpace artifacts job artifact space
swagger:model artifacts.JobArtifactSpace
const ( // ArtifactsJobArtifactSpaceUser captures enum value "user" ArtifactsJobArtifactSpaceUser ArtifactsJobArtifactSpace = "user" // ArtifactsJobArtifactSpaceSystem captures enum value "system" ArtifactsJobArtifactSpaceSystem ArtifactsJobArtifactSpace = "system" )
func NewArtifactsJobArtifactSpace ¶ added in v0.3.8
func NewArtifactsJobArtifactSpace(value ArtifactsJobArtifactSpace) *ArtifactsJobArtifactSpace
func (ArtifactsJobArtifactSpace) ContextValidate ¶ added in v0.3.8
func (m ArtifactsJobArtifactSpace) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this artifacts job artifact space based on context it is used
func (ArtifactsJobArtifactSpace) Pointer ¶ added in v0.3.8
func (m ArtifactsJobArtifactSpace) Pointer() *ArtifactsJobArtifactSpace
Pointer returns a pointer to a freshly-allocated ArtifactsJobArtifactSpace.
type AuthdevicesCode ¶ added in v0.3.8
type AuthdevicesCode struct {
// device code
DeviceCode string `json:"deviceCode,omitempty"`
// expires in
ExpiresIn int64 `json:"expiresIn,omitempty"`
// interval
Interval int64 `json:"interval,omitempty"`
// user code
UserCode string `json:"userCode,omitempty"`
// verification URI
VerificationURI string `json:"verificationURI,omitempty"`
}
AuthdevicesCode authdevices code
swagger:model authdevices.Code
func (*AuthdevicesCode) ContextValidate ¶ added in v0.3.8
ContextValidate validates this authdevices code based on context it is used
func (*AuthdevicesCode) MarshalBinary ¶ added in v0.3.8
func (m *AuthdevicesCode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthdevicesCode) UnmarshalBinary ¶ added in v0.3.8
func (m *AuthdevicesCode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthdevicesStatus ¶ added in v0.3.8
type AuthdevicesStatus string
AuthdevicesStatus authdevices status
swagger:model authdevices.Status
const ( // AuthdevicesStatusPending captures enum value "pending" AuthdevicesStatusPending AuthdevicesStatus = "pending" // AuthdevicesStatusSlowDown captures enum value "slow_down" AuthdevicesStatusSlowDown AuthdevicesStatus = "slow_down" // AuthdevicesStatusCompleted captures enum value "completed" AuthdevicesStatusCompleted AuthdevicesStatus = "completed" )
func NewAuthdevicesStatus ¶ added in v0.3.8
func NewAuthdevicesStatus(value AuthdevicesStatus) *AuthdevicesStatus
func (AuthdevicesStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validates this authdevices status based on context it is used
func (AuthdevicesStatus) Pointer ¶ added in v0.3.8
func (m AuthdevicesStatus) Pointer() *AuthdevicesStatus
Pointer returns a pointer to a freshly-allocated AuthdevicesStatus.
type AuthdevicesToken ¶ added in v0.3.8
type AuthdevicesToken struct {
// access token
AccessToken string `json:"accessToken,omitempty"`
// expires in
ExpiresIn int64 `json:"expiresIn,omitempty"`
// refresh token
RefreshToken string `json:"refreshToken,omitempty"`
// status
Status AuthdevicesStatus `json:"status,omitempty"`
}
AuthdevicesToken authdevices token
swagger:model authdevices.Token
func (*AuthdevicesToken) ContextValidate ¶ added in v0.3.8
ContextValidate validate this authdevices token based on the context it is used
func (*AuthdevicesToken) MarshalBinary ¶ added in v0.3.8
func (m *AuthdevicesToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthdevicesToken) UnmarshalBinary ¶ added in v0.3.8
func (m *AuthdevicesToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthdevicesTokenInput ¶ added in v0.3.8
type AuthdevicesTokenInput struct {
// device code
DeviceCode string `json:"deviceCode,omitempty"`
}
AuthdevicesTokenInput authdevices token input
swagger:model authdevices.TokenInput
func (*AuthdevicesTokenInput) ContextValidate ¶ added in v0.3.8
ContextValidate validates this authdevices token input based on context it is used
func (*AuthdevicesTokenInput) MarshalBinary ¶ added in v0.3.8
func (m *AuthdevicesTokenInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthdevicesTokenInput) UnmarshalBinary ¶ added in v0.3.8
func (m *AuthdevicesTokenInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthtypesUserFlags ¶ added in v0.3.8
AuthtypesUserFlags authtypes user flags
swagger:model authtypes.UserFlags
func (AuthtypesUserFlags) ContextValidate ¶ added in v0.3.8
ContextValidate validates this authtypes user flags based on context it is used
type CaptureMessage ¶ added in v0.3.8
type CaptureMessage struct {
// body
Body any `json:"body,omitempty"`
// finished at
FinishedAt string `json:"finishedAt,omitempty"`
// headers
Headers CaptureValues `json:"headers,omitempty"`
// started at
StartedAt string `json:"startedAt,omitempty"`
}
CaptureMessage capture message
swagger:model capture.Message
func (*CaptureMessage) ContextValidate ¶ added in v0.3.8
ContextValidate validate this capture message based on the context it is used
func (*CaptureMessage) MarshalBinary ¶ added in v0.3.8
func (m *CaptureMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CaptureMessage) UnmarshalBinary ¶ added in v0.3.8
func (m *CaptureMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CaptureRequest ¶ added in v0.3.8
type CaptureRequest struct {
// host
Host string `json:"host,omitempty"`
// message
Message *CaptureMessage `json:"message,omitempty"`
// method
Method string `json:"method,omitempty"`
// proto
Proto string `json:"proto,omitempty"`
// query
Query map[string]string `json:"query,omitempty"`
// uri
URI string `json:"uri,omitempty"`
}
CaptureRequest capture request
swagger:model capture.Request
func (*CaptureRequest) ContextValidate ¶ added in v0.3.8
ContextValidate validate this capture request based on the context it is used
func (*CaptureRequest) MarshalBinary ¶ added in v0.3.8
func (m *CaptureRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CaptureRequest) UnmarshalBinary ¶ added in v0.3.8
func (m *CaptureRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CaptureResponse ¶ added in v0.3.8
type CaptureResponse struct {
// error
Error string `json:"error,omitempty"`
// message
Message *CaptureMessage `json:"message,omitempty"`
// proto
Proto string `json:"proto,omitempty"`
// status code
StatusCode int64 `json:"statusCode,omitempty"`
}
CaptureResponse capture response
swagger:model capture.Response
func (*CaptureResponse) ContextValidate ¶ added in v0.3.8
ContextValidate validate this capture response based on the context it is used
func (*CaptureResponse) MarshalBinary ¶ added in v0.3.8
func (m *CaptureResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CaptureResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *CaptureResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CaptureValues ¶ added in v0.3.8
CaptureValues capture values
swagger:model capture.Values
func (CaptureValues) ContextValidate ¶ added in v0.3.8
ContextValidate validates this capture values based on context it is used
type CapturemetaScriptRef ¶ added in v0.3.8
type CapturemetaScriptRef struct {
// call number
CallNum int64 `json:"callNum,omitempty"`
// 1-based column (rune) number; 0 if column unknown
Col int64 `json:"col,omitempty"`
// filename
File string `json:"file,omitempty"`
// 1-based line number; 0 if line unknown
Line int64 `json:"line,omitempty"`
}
CapturemetaScriptRef capturemeta script ref
swagger:model capturemeta.ScriptRef
func (*CapturemetaScriptRef) ContextValidate ¶ added in v0.3.8
ContextValidate validates this capturemeta script ref based on context it is used
func (*CapturemetaScriptRef) MarshalBinary ¶ added in v0.3.8
func (m *CapturemetaScriptRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CapturemetaScriptRef) UnmarshalBinary ¶ added in v0.3.8
func (m *CapturemetaScriptRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Cluster ¶ added in v0.1.2
type Cluster struct {
// cluster config
ClusterConfig *ConfigClusterConfig `json:"clusterConfig,omitempty"`
// The time when this cluster was registered with Signadot.
CreatedAt string `json:"createdAt,omitempty"`
// The name of the cluster.
Name string `json:"name,omitempty"`
// operator
Operator *ClusterOperator `json:"operator,omitempty"`
}
Cluster cluster
swagger:model Cluster
func (*Cluster) ContextValidate ¶ added in v0.1.2
ContextValidate validate this cluster based on the context it is used
func (*Cluster) MarshalBinary ¶ added in v0.1.2
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶ added in v0.1.2
UnmarshalBinary interface implementation
type ClusterOperator ¶ added in v0.2.0
type ClusterOperator struct {
// The operator version of the cluster. This may be
// nil if the cluster has not yet connected to Signadot.
Version string `json:"version,omitempty"`
}
ClusterOperator cluster operator
swagger:model cluster.Operator
func (*ClusterOperator) ContextValidate ¶ added in v0.2.0
ContextValidate validates this cluster operator based on context it is used
func (*ClusterOperator) MarshalBinary ¶ added in v0.2.0
func (m *ClusterOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterOperator) UnmarshalBinary ¶ added in v0.2.0
func (m *ClusterOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterToken ¶ added in v0.2.0
type ClusterToken struct {
// The time when this cluster was registered with Signadot.
CreatedAt string `json:"createdAt,omitempty"`
// The ID of this token
ID string `json:"id,omitempty"`
// A Masked token value.
MaskedValue string `json:"maskedValue,omitempty"`
// status
Status *ClusterTokenStatus `json:"status,omitempty"`
// The token value.
Token string `json:"token,omitempty"`
}
ClusterToken cluster token
swagger:model ClusterToken
func (*ClusterToken) ContextValidate ¶ added in v0.2.0
ContextValidate validate this cluster token based on the context it is used
func (*ClusterToken) MarshalBinary ¶ added in v0.2.0
func (m *ClusterToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterToken) UnmarshalBinary ¶ added in v0.2.0
func (m *ClusterToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTokenStatus ¶ added in v0.2.0
type ClusterTokenStatus struct {
// The last time at which this token was used to connect.
LastConnectedAt string `json:"lastConnectedAt,omitempty"`
// The last IP address from which this token connected.
LastConnectedIP string `json:"lastConnectedIp,omitempty"`
}
ClusterTokenStatus cluster token status
swagger:model ClusterTokenStatus
func (*ClusterTokenStatus) ContextValidate ¶ added in v0.2.0
ContextValidate validates this cluster token status based on context it is used
func (*ClusterTokenStatus) MarshalBinary ¶ added in v0.2.0
func (m *ClusterTokenStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTokenStatus) UnmarshalBinary ¶ added in v0.2.0
func (m *ClusterTokenStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersDevMeshEnabledWorkload ¶ added in v0.3.8
type ClustersDevMeshEnabledWorkload struct {
// status counts
StatusCounts []*ClustersDevMeshWorkloadStatusCount `json:"statusCounts"`
// workload
Workload *WorkloadWorkload `json:"workload,omitempty"`
}
ClustersDevMeshEnabledWorkload clusters dev mesh enabled workload
swagger:model clusters.DevMeshEnabledWorkload
func (*ClustersDevMeshEnabledWorkload) ContextValidate ¶ added in v0.3.8
func (m *ClustersDevMeshEnabledWorkload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this clusters dev mesh enabled workload based on the context it is used
func (*ClustersDevMeshEnabledWorkload) MarshalBinary ¶ added in v0.3.8
func (m *ClustersDevMeshEnabledWorkload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersDevMeshEnabledWorkload) UnmarshalBinary ¶ added in v0.3.8
func (m *ClustersDevMeshEnabledWorkload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClustersDevMeshWorkloadStatus ¶ added in v0.3.8
type ClustersDevMeshWorkloadStatus string
ClustersDevMeshWorkloadStatus clusters dev mesh workload status
swagger:model clusters.DevMeshWorkloadStatus
const ( // ClustersDevMeshWorkloadStatusOk captures enum value "ok" ClustersDevMeshWorkloadStatusOk ClustersDevMeshWorkloadStatus = "ok" // ClustersDevMeshWorkloadStatusMissing captures enum value "missing" ClustersDevMeshWorkloadStatusMissing ClustersDevMeshWorkloadStatus = "missing" // ClustersDevMeshWorkloadStatusNeedsUpdate captures enum value "needs_update" ClustersDevMeshWorkloadStatusNeedsUpdate ClustersDevMeshWorkloadStatus = "needs_update" )
func NewClustersDevMeshWorkloadStatus ¶ added in v0.3.8
func NewClustersDevMeshWorkloadStatus(value ClustersDevMeshWorkloadStatus) *ClustersDevMeshWorkloadStatus
func (ClustersDevMeshWorkloadStatus) ContextValidate ¶ added in v0.3.8
func (m ClustersDevMeshWorkloadStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this clusters dev mesh workload status based on context it is used
func (ClustersDevMeshWorkloadStatus) Pointer ¶ added in v0.3.8
func (m ClustersDevMeshWorkloadStatus) Pointer() *ClustersDevMeshWorkloadStatus
Pointer returns a pointer to a freshly-allocated ClustersDevMeshWorkloadStatus.
type ClustersDevMeshWorkloadStatusCount ¶ added in v0.3.8
type ClustersDevMeshWorkloadStatusCount struct {
// count
Count int64 `json:"count,omitempty"`
// status
Status ClustersDevMeshWorkloadStatus `json:"status,omitempty"`
}
ClustersDevMeshWorkloadStatusCount clusters dev mesh workload status count
swagger:model clusters.DevMeshWorkloadStatusCount
func (*ClustersDevMeshWorkloadStatusCount) ContextValidate ¶ added in v0.3.8
func (m *ClustersDevMeshWorkloadStatusCount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this clusters dev mesh workload status count based on the context it is used
func (*ClustersDevMeshWorkloadStatusCount) MarshalBinary ¶ added in v0.3.8
func (m *ClustersDevMeshWorkloadStatusCount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClustersDevMeshWorkloadStatusCount) UnmarshalBinary ¶ added in v0.3.8
func (m *ClustersDevMeshWorkloadStatusCount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigClusterConfig ¶ added in v0.3.8
type ConfigClusterConfig struct {
// allow orphaned resources
AllowOrphanedResources bool `json:"allowOrphanedResources,omitempty"`
// allowed namespaces
AllowedNamespaces []string `json:"allowedNamespaces"`
// control plane
ControlPlane *ConfigControlPlaneConfig `json:"controlPlane,omitempty"`
// routing
Routing *ConfigRoutingConfig `json:"routing,omitempty"`
// sandbox traffic manager
SandboxTrafficManager *ConfigSandboxTrafficManagerConfig `json:"sandboxTrafficManager,omitempty"`
// traffic capture
TrafficCapture *ConfigTrafficCaptureConfig `json:"trafficCapture,omitempty"`
// traffic manager
TrafficManager *ConfigTrafficManagerConfig `json:"trafficManager,omitempty"`
}
ConfigClusterConfig config cluster config
swagger:model config.ClusterConfig
func (*ConfigClusterConfig) ContextValidate ¶ added in v0.3.8
ContextValidate validate this config cluster config based on the context it is used
func (*ConfigClusterConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigClusterConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigClusterConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigClusterConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigControlPlaneConfig ¶ added in v0.3.8
type ConfigControlPlaneConfig struct {
// control plane can be disabled
Disabled bool `json:"disabled,omitempty"`
// control plane proxy can be "enabled" or "disabled"
Proxy string `json:"proxy,omitempty"`
// tunnel addr
TunnelAddr string `json:"tunnelAddr,omitempty"`
// tunnel TLS
TunnelTLS bool `json:"tunnelTLS,omitempty"`
}
ConfigControlPlaneConfig config control plane config
swagger:model config.ControlPlaneConfig
func (*ConfigControlPlaneConfig) ContextValidate ¶ added in v0.3.8
func (m *ConfigControlPlaneConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config control plane config based on context it is used
func (*ConfigControlPlaneConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigControlPlaneConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigControlPlaneConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigControlPlaneConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigDefaultHeaderClass ¶ added in v0.3.8
type ConfigDefaultHeaderClass string
ConfigDefaultHeaderClass config default header class
swagger:model config.DefaultHeaderClass
const ( // ConfigDefaultHeaderClassBaggage captures enum value "baggage" ConfigDefaultHeaderClassBaggage ConfigDefaultHeaderClass = "baggage" // ConfigDefaultHeaderClassTracestate captures enum value "tracestate" ConfigDefaultHeaderClassTracestate ConfigDefaultHeaderClass = "tracestate" )
func NewConfigDefaultHeaderClass ¶ added in v0.3.8
func NewConfigDefaultHeaderClass(value ConfigDefaultHeaderClass) *ConfigDefaultHeaderClass
func (ConfigDefaultHeaderClass) ContextValidate ¶ added in v0.3.8
func (m ConfigDefaultHeaderClass) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config default header class based on context it is used
func (ConfigDefaultHeaderClass) Pointer ¶ added in v0.3.8
func (m ConfigDefaultHeaderClass) Pointer() *ConfigDefaultHeaderClass
Pointer returns a pointer to a freshly-allocated ConfigDefaultHeaderClass.
type ConfigGatewayAPIConfig ¶ added in v0.3.8
type ConfigGatewayAPIConfig struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
// preserved annotations
PreservedAnnotations []string `json:"preservedAnnotations"`
// preserved labels
PreservedLabels []string `json:"preservedLabels"`
}
ConfigGatewayAPIConfig config gateway API config
swagger:model config.GatewayAPIConfig
func (*ConfigGatewayAPIConfig) ContextValidate ¶ added in v0.3.8
func (m *ConfigGatewayAPIConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config gateway API config based on context it is used
func (*ConfigGatewayAPIConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigGatewayAPIConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigGatewayAPIConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigGatewayAPIConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigIstioConfig ¶ added in v0.3.8
type ConfigIstioConfig struct {
// Deprecated fields
EnableHostRouting bool `json:"enableHostRouting,omitempty"`
// enabled
Enabled bool `json:"enabled,omitempty"`
// operator
Operator *ConfigIstioSignadotOperator `json:"operator,omitempty"`
}
ConfigIstioConfig config istio config
swagger:model config.IstioConfig
func (*ConfigIstioConfig) ContextValidate ¶ added in v0.3.8
ContextValidate validate this config istio config based on the context it is used
func (*ConfigIstioConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigIstioConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigIstioConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigIstioConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigIstioSignadotOperator ¶ added in v0.3.8
type ConfigIstioSignadotOperator struct {
// pod labels
PodLabels map[string]string `json:"podLabels,omitempty"`
}
ConfigIstioSignadotOperator config istio signadot operator
swagger:model config.IstioSignadotOperator
func (*ConfigIstioSignadotOperator) ContextValidate ¶ added in v0.3.8
func (m *ConfigIstioSignadotOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config istio signadot operator based on context it is used
func (*ConfigIstioSignadotOperator) MarshalBinary ¶ added in v0.3.8
func (m *ConfigIstioSignadotOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigIstioSignadotOperator) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigIstioSignadotOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigLinkerdConfig ¶ added in v0.3.8
type ConfigLinkerdConfig struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
// operator
Operator *ConfigLinkerdSignadotOperator `json:"operator,omitempty"`
}
ConfigLinkerdConfig config linkerd config
swagger:model config.LinkerdConfig
func (*ConfigLinkerdConfig) ContextValidate ¶ added in v0.3.8
ContextValidate validate this config linkerd config based on the context it is used
func (*ConfigLinkerdConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigLinkerdConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigLinkerdConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigLinkerdConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigLinkerdSignadotOperator ¶ added in v0.3.8
type ConfigLinkerdSignadotOperator struct {
// pod annotations
PodAnnotations map[string]string `json:"podAnnotations,omitempty"`
}
ConfigLinkerdSignadotOperator config linkerd signadot operator
swagger:model config.LinkerdSignadotOperator
func (*ConfigLinkerdSignadotOperator) ContextValidate ¶ added in v0.3.8
func (m *ConfigLinkerdSignadotOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config linkerd signadot operator based on context it is used
func (*ConfigLinkerdSignadotOperator) MarshalBinary ¶ added in v0.3.8
func (m *ConfigLinkerdSignadotOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigLinkerdSignadotOperator) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigLinkerdSignadotOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigQueryParamRoutingConfig ¶ added in v0.3.8
type ConfigQueryParamRoutingConfig struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
// param name
ParamName string `json:"paramName,omitempty"`
}
ConfigQueryParamRoutingConfig config query param routing config
swagger:model config.QueryParamRoutingConfig
func (*ConfigQueryParamRoutingConfig) ContextValidate ¶ added in v0.3.8
func (m *ConfigQueryParamRoutingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config query param routing config based on context it is used
func (*ConfigQueryParamRoutingConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigQueryParamRoutingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigQueryParamRoutingConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigQueryParamRoutingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigRoutingConfig ¶ added in v0.3.8
type ConfigRoutingConfig struct {
// custom headers
CustomHeaders []string `json:"customHeaders"`
// default headers
DefaultHeaders []ConfigDefaultHeaderClass `json:"defaultHeaders"`
// gateway API
GatewayAPI *ConfigGatewayAPIConfig `json:"gatewayAPI,omitempty"`
// iptables mode
IptablesMode string `json:"iptablesMode,omitempty"`
// istio
Istio *ConfigIstioConfig `json:"istio,omitempty"`
// linkerd
Linkerd *ConfigLinkerdConfig `json:"linkerd,omitempty"`
// query param routing
QueryParamRouting *ConfigQueryParamRoutingConfig `json:"queryParamRouting,omitempty"`
}
ConfigRoutingConfig config routing config
swagger:model config.RoutingConfig
func (*ConfigRoutingConfig) ContextValidate ¶ added in v0.3.8
ContextValidate validate this config routing config based on the context it is used
func (*ConfigRoutingConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigRoutingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigRoutingConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigRoutingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigSandboxTrafficManagerConfig ¶ added in v0.3.8
type ConfigSandboxTrafficManagerConfig struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
}
ConfigSandboxTrafficManagerConfig config sandbox traffic manager config
swagger:model config.SandboxTrafficManagerConfig
func (*ConfigSandboxTrafficManagerConfig) ContextValidate ¶ added in v0.3.8
func (m *ConfigSandboxTrafficManagerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config sandbox traffic manager config based on context it is used
func (*ConfigSandboxTrafficManagerConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigSandboxTrafficManagerConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigSandboxTrafficManagerConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigSandboxTrafficManagerConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigTrafficCaptureConfig ¶ added in v0.3.8
type ConfigTrafficCaptureConfig struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
// request headers elide
RequestHeadersElide []string `json:"requestHeadersElide"`
// response headers elide
ResponseHeadersElide []string `json:"responseHeadersElide"`
}
ConfigTrafficCaptureConfig config traffic capture config
swagger:model config.TrafficCaptureConfig
func (*ConfigTrafficCaptureConfig) ContextValidate ¶ added in v0.3.8
func (m *ConfigTrafficCaptureConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config traffic capture config based on context it is used
func (*ConfigTrafficCaptureConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigTrafficCaptureConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigTrafficCaptureConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigTrafficCaptureConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigTrafficManagerConfig ¶ added in v0.3.8
type ConfigTrafficManagerConfig struct {
// enabled
Enabled bool `json:"enabled,omitempty"`
}
ConfigTrafficManagerConfig config traffic manager config
swagger:model config.TrafficManagerConfig
func (*ConfigTrafficManagerConfig) ContextValidate ¶ added in v0.3.8
func (m *ConfigTrafficManagerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this config traffic manager config based on context it is used
func (*ConfigTrafficManagerConfig) MarshalBinary ¶ added in v0.3.8
func (m *ConfigTrafficManagerConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigTrafficManagerConfig) UnmarshalBinary ¶ added in v0.3.8
func (m *ConfigTrafficManagerConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConnectSession ¶ added in v0.3.8
type ConnectSession struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// id
ID string `json:"id,omitempty"`
// renewed at
RenewedAt string `json:"renewedAt,omitempty"`
// valid until
ValidUntil string `json:"validUntil,omitempty"`
}
ConnectSession connect session
swagger:model ConnectSession
func (*ConnectSession) ContextValidate ¶ added in v0.3.8
ContextValidate validates this connect session based on context it is used
func (*ConnectSession) MarshalBinary ¶ added in v0.3.8
func (m *ConnectSession) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConnectSession) UnmarshalBinary ¶ added in v0.3.8
func (m *ConnectSession) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Connection ¶ added in v0.3.8
type Connection struct {
// Required: deterministic ID from user+metadata hash
DevboxID string `json:"devboxId,omitempty"`
}
Connection connection
swagger:model Connection
func (*Connection) ContextValidate ¶ added in v0.3.8
ContextValidate validates this connection based on context it is used
func (*Connection) MarshalBinary ¶ added in v0.3.8
func (m *Connection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Connection) UnmarshalBinary ¶ added in v0.3.8
func (m *Connection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAPIKeyRequest ¶ added in v0.3.8
type CreateAPIKeyRequest struct {
// Description is an optional human-readable description.
Description string `json:"description,omitempty"`
// ExpiresAt is the key's expiration time (RFC3339 timestamp). Omitting the
// field, or sending an explicit JSON null, both mean the key never
// expires — so callers that predate this field keep their old behavior
// with no changes required.
ExpiresAt string `json:"expiresAt,omitempty"`
}
CreateAPIKeyRequest create Api key request
swagger:model CreateApiKeyRequest
func (*CreateAPIKeyRequest) ContextValidate ¶ added in v0.3.8
ContextValidate validates this create Api key request based on context it is used
func (*CreateAPIKeyRequest) MarshalBinary ¶ added in v0.3.8
func (m *CreateAPIKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAPIKeyRequest) UnmarshalBinary ¶ added in v0.3.8
func (m *CreateAPIKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatedBy ¶ added in v0.3.8
type CreatedBy struct {
// Kind is "User", "ServiceAccount", or "System".
Kind string `json:"kind,omitempty"`
// Name is the user email or service-account name; empty for System.
Name string `json:"name,omitempty"`
// PublicID is the principal's public ID; empty for System.
PublicID string `json:"publicId,omitempty"`
}
CreatedBy created by
swagger:model CreatedBy
func (*CreatedBy) ContextValidate ¶ added in v0.3.8
ContextValidate validates this created by based on context it is used
func (*CreatedBy) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*CreatedBy) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type DefaultsCompositeDefaults ¶ added in v0.3.8
type DefaultsCompositeDefaults struct {
// cluster
Cluster []*DefaultsDefault `json:"cluster"`
}
DefaultsCompositeDefaults defaults composite defaults
swagger:model defaults.CompositeDefaults
func (*DefaultsCompositeDefaults) ContextValidate ¶ added in v0.3.8
func (m *DefaultsCompositeDefaults) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this defaults composite defaults based on the context it is used
func (*DefaultsCompositeDefaults) MarshalBinary ¶ added in v0.3.8
func (m *DefaultsCompositeDefaults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DefaultsCompositeDefaults) UnmarshalBinary ¶ added in v0.3.8
func (m *DefaultsCompositeDefaults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DefaultsDefault ¶ added in v0.3.8
type DefaultsDefault struct {
// class
Class DefaultsDefaultClass `json:"class,omitempty"`
// created at
CreatedAt string `json:"createdAt,omitempty"`
// resource kind
ResourceKind DefaultsResourceKind `json:"resourceKind,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
// value
Value any `json:"value,omitempty"`
}
DefaultsDefault defaults default
swagger:model defaults.Default
func (*DefaultsDefault) ContextValidate ¶ added in v0.3.8
ContextValidate validate this defaults default based on the context it is used
func (*DefaultsDefault) MarshalBinary ¶ added in v0.3.8
func (m *DefaultsDefault) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DefaultsDefault) UnmarshalBinary ¶ added in v0.3.8
func (m *DefaultsDefault) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DefaultsDefaultClass ¶ added in v0.3.8
type DefaultsDefaultClass string
DefaultsDefaultClass defaults default class
swagger:model defaults.DefaultClass
const ( // DefaultsDefaultClassTTL captures enum value "ttl" DefaultsDefaultClassTTL DefaultsDefaultClass = "ttl" )
func NewDefaultsDefaultClass ¶ added in v0.3.8
func NewDefaultsDefaultClass(value DefaultsDefaultClass) *DefaultsDefaultClass
func (DefaultsDefaultClass) ContextValidate ¶ added in v0.3.8
ContextValidate validates this defaults default class based on context it is used
func (DefaultsDefaultClass) Pointer ¶ added in v0.3.8
func (m DefaultsDefaultClass) Pointer() *DefaultsDefaultClass
Pointer returns a pointer to a freshly-allocated DefaultsDefaultClass.
type DefaultsResourceKind ¶ added in v0.3.8
type DefaultsResourceKind string
DefaultsResourceKind defaults resource kind
swagger:model defaults.ResourceKind
const ( // DefaultsResourceKindSandbox captures enum value "sandbox" DefaultsResourceKindSandbox DefaultsResourceKind = "sandbox" // DefaultsResourceKindRoutegroup captures enum value "routegroup" DefaultsResourceKindRoutegroup DefaultsResourceKind = "routegroup" )
func NewDefaultsResourceKind ¶ added in v0.3.8
func NewDefaultsResourceKind(value DefaultsResourceKind) *DefaultsResourceKind
func (DefaultsResourceKind) ContextValidate ¶ added in v0.3.8
ContextValidate validates this defaults resource kind based on context it is used
func (DefaultsResourceKind) Pointer ¶ added in v0.3.8
func (m DefaultsResourceKind) Pointer() *DefaultsResourceKind
Pointer returns a pointer to a freshly-allocated DefaultsResourceKind.
type Devbox ¶ added in v0.3.8
type Devbox struct {
// Deterministic ID derived from the owning principal + metadata ("name"/"machine-id").
ID string `json:"id,omitempty"`
// Only "name" and "machine-id" are used for ID generation.
Metadata map[string]string `json:"metadata,omitempty"`
// principal
Principal *DevboxPrincipal `json:"principal,omitempty"`
// status
Status *DevboxStatus `json:"status,omitempty"`
// DEPRECATED: owner email for User-owned devboxes, empty otherwise; use principal instead.
User string `json:"user,omitempty"`
}
Devbox devbox
swagger:model Devbox
func (*Devbox) ContextValidate ¶ added in v0.3.8
ContextValidate validate this devbox based on the context it is used
func (*Devbox) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Devbox) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type DevboxPrincipal ¶ added in v0.3.8
type DevboxPrincipal struct {
// Principal kind: "User" or "ServiceAccount".
Kind string `json:"kind,omitempty"`
// Display name: user email or service-account name.
Name string `json:"name,omitempty"`
// Principal public ID.
PublicID string `json:"publicId,omitempty"`
}
DevboxPrincipal devbox principal
swagger:model DevboxPrincipal
func (*DevboxPrincipal) ContextValidate ¶ added in v0.3.8
ContextValidate validates this devbox principal based on context it is used
func (*DevboxPrincipal) MarshalBinary ¶ added in v0.3.8
func (m *DevboxPrincipal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevboxPrincipal) UnmarshalBinary ¶ added in v0.3.8
func (m *DevboxPrincipal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevboxRegistration ¶ added in v0.3.8
type DevboxRegistration struct {
// claim
Claim bool `json:"claim,omitempty"`
// Required: metadata key-value pairs. Only "name" and "machine-id" are used for ID generation.
Metadata map[string]string `json:"metadata,omitempty"`
}
DevboxRegistration devbox registration
swagger:model DevboxRegistration
func (*DevboxRegistration) ContextValidate ¶ added in v0.3.8
ContextValidate validates this devbox registration based on context it is used
func (*DevboxRegistration) MarshalBinary ¶ added in v0.3.8
func (m *DevboxRegistration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevboxRegistration) UnmarshalBinary ¶ added in v0.3.8
func (m *DevboxRegistration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevboxStatus ¶ added in v0.3.8
type DevboxStatus struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// session
Session *ConnectSession `json:"session,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
DevboxStatus devbox status
swagger:model DevboxStatus
func (*DevboxStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this devbox status based on the context it is used
func (*DevboxStatus) MarshalBinary ¶ added in v0.3.8
func (m *DevboxStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevboxStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *DevboxStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiffOp ¶ added in v0.3.8
type DiffOp struct {
// classification
Classification *DiffOpClassification `json:"classification,omitempty"`
// old value
OldValue any `json:"oldValue,omitempty"`
// op
Op TrafficmodelsDiffOperation `json:"op,omitempty"`
// path
Path string `json:"path,omitempty"`
// value
Value any `json:"value,omitempty"`
}
DiffOp diff op
swagger:model DiffOp
func (*DiffOp) ContextValidate ¶ added in v0.3.8
ContextValidate validate this diff op based on the context it is used
func (*DiffOp) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*DiffOp) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type DiffOpClassification ¶ added in v0.3.8
type DiffOpClassification struct {
// noise
Noise float64 `json:"noise,omitempty"`
}
DiffOpClassification diff op classification
swagger:model DiffOpClassification
func (*DiffOpClassification) ContextValidate ¶ added in v0.3.8
ContextValidate validates this diff op classification based on context it is used
func (*DiffOpClassification) MarshalBinary ¶ added in v0.3.8
func (m *DiffOpClassification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiffOpClassification) UnmarshalBinary ¶ added in v0.3.8
func (m *DiffOpClassification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmptyResponse ¶ added in v0.2.0
type EmptyResponse any
EmptyResponse empty response
swagger:model EmptyResponse
type EndpointsEndpoint ¶ added in v0.3.8
type EndpointsEndpoint struct {
// name
Name string `json:"name,omitempty"`
// target
Target string `json:"target,omitempty"`
}
EndpointsEndpoint endpoints endpoint
swagger:model endpoints.Endpoint
func (*EndpointsEndpoint) ContextValidate ¶ added in v0.3.8
ContextValidate validates this endpoints endpoint based on context it is used
func (*EndpointsEndpoint) MarshalBinary ¶ added in v0.3.8
func (m *EndpointsEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EndpointsEndpoint) UnmarshalBinary ¶ added in v0.3.8
func (m *EndpointsEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶ added in v0.2.0
type ErrorResponse struct {
// code
Code int64 `json:"code,omitempty"`
// error
Error string `json:"error,omitempty"`
// request Id
RequestID string `json:"requestId,omitempty"`
}
ErrorResponse error response
swagger:model ErrorResponse
func (*ErrorResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validates this error response based on context it is used
func (*ErrorResponse) MarshalBinary ¶ added in v0.2.0
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventAuthContext ¶ added in v0.3.8
type EventAuthContext struct {
// present when method == "api_key"
APIKeyMasked string `json:"apiKeyMasked,omitempty"`
// "jwt" | "api_key" | "system"
Method string `json:"method,omitempty"`
}
EventAuthContext event auth context
swagger:model EventAuthContext
func (*EventAuthContext) ContextValidate ¶ added in v0.3.8
ContextValidate validates this event auth context based on context it is used
func (*EventAuthContext) MarshalBinary ¶ added in v0.3.8
func (m *EventAuthContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventAuthContext) UnmarshalBinary ¶ added in v0.3.8
func (m *EventAuthContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventPrincipal ¶ added in v0.3.8
type EventPrincipal struct {
// "User" | "ServiceAccount"
Kind string `json:"kind,omitempty"`
// user email or SA name (display)
Name string `json:"name,omitempty"`
// public Id
PublicID string `json:"publicId,omitempty"`
}
EventPrincipal event principal
swagger:model EventPrincipal
func (*EventPrincipal) ContextValidate ¶ added in v0.3.8
ContextValidate validates this event principal based on context it is used
func (*EventPrincipal) MarshalBinary ¶ added in v0.3.8
func (m *EventPrincipal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventPrincipal) UnmarshalBinary ¶ added in v0.3.8
func (m *EventPrincipal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventQueryResult ¶ added in v0.3.8
type EventQueryResult struct {
// auth
Auth *EventAuthContext `json:"auth,omitempty"`
// cursor
Cursor string `json:"cursor,omitempty"`
// data
Data any `json:"data,omitempty"`
// id
ID string `json:"id,omitempty"`
// on behalf of
OnBehalfOf *EventPrincipal `json:"onBehalfOf,omitempty"`
// principal
Principal *EventPrincipal `json:"principal,omitempty"`
// timestamp
Timestamp string `json:"timestamp,omitempty"`
// type
Type string `json:"type,omitempty"`
}
EventQueryResult event query result
swagger:model EventQueryResult
func (*EventQueryResult) ContextValidate ¶ added in v0.3.8
ContextValidate validate this event query result based on the context it is used
func (*EventQueryResult) MarshalBinary ¶ added in v0.3.8
func (m *EventQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventQueryResult) UnmarshalBinary ¶ added in v0.3.8
func (m *EventQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExternalSpec ¶ added in v0.3.8
type ExternalSpec struct {
// branch
Branch string `json:"branch,omitempty"`
// commit s h a
CommitSHA string `json:"commitSHA,omitempty"`
// path
Path string `json:"path,omitempty"`
// repo
Repo string `json:"repo,omitempty"`
// script
Script string `json:"script,omitempty"`
// test name
TestName string `json:"testName,omitempty"`
}
ExternalSpec external spec
swagger:model ExternalSpec
func (*ExternalSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validates this external spec based on context it is used
func (*ExternalSpec) MarshalBinary ¶ added in v0.3.8
func (m *ExternalSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExternalSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *ExternalSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HostedSpec ¶ added in v0.3.8
type HostedSpec struct {
// test name
TestName string `json:"testName,omitempty"`
}
HostedSpec hosted spec
swagger:model HostedSpec
func (*HostedSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validates this hosted spec based on context it is used
func (*HostedSpec) MarshalBinary ¶ added in v0.3.8
func (m *HostedSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HostedSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *HostedSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Job ¶ added in v0.3.8
type Job struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// deleted at
DeletedAt string `json:"deletedAt,omitempty"`
// name
Name string `json:"name,omitempty"`
// spec
Spec *JobSpec `json:"spec,omitempty"`
// status
Status *JobsStatus `json:"status,omitempty"`
}
Job job
swagger:model Job
func (*Job) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job based on the context it is used
func (*Job) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Job) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type JobArtifact ¶ added in v0.3.8
type JobArtifact struct {
// last modified
LastModified string `json:"lastModified,omitempty"`
// path
Path string `json:"path,omitempty"`
// size
Size int64 `json:"size,omitempty"`
// space
Space ArtifactsJobArtifactSpace `json:"space,omitempty"`
}
JobArtifact job artifact
swagger:model JobArtifact
func (*JobArtifact) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job artifact based on the context it is used
func (*JobArtifact) MarshalBinary ¶ added in v0.3.8
func (m *JobArtifact) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobArtifact) UnmarshalBinary ¶ added in v0.3.8
func (m *JobArtifact) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobArtifactInfo ¶ added in v0.3.8
type JobArtifactInfo struct {
// checksum s h a256
ChecksumSHA256 string `json:"checksumSHA256,omitempty"`
// content encoding
ContentEncoding string `json:"contentEncoding,omitempty"`
// content length
ContentLength int64 `json:"contentLength,omitempty"`
// content type
ContentType string `json:"contentType,omitempty"`
// last modified
LastModified string `json:"lastModified,omitempty"`
// metadata
Metadata map[string]string `json:"metadata,omitempty"`
}
JobArtifactInfo job artifact info
swagger:model JobArtifactInfo
func (*JobArtifactInfo) ContextValidate ¶ added in v0.3.8
ContextValidate validates this job artifact info based on context it is used
func (*JobArtifactInfo) MarshalBinary ¶ added in v0.3.8
func (m *JobArtifactInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobArtifactInfo) UnmarshalBinary ¶ added in v0.3.8
func (m *JobArtifactInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobEnvItem ¶ added in v0.3.8
type JobEnvItem struct {
// name
Name string `json:"name,omitempty"`
// value
Value string `json:"value,omitempty"`
}
JobEnvItem job env item
swagger:model job.EnvItem
func (*JobEnvItem) ContextValidate ¶ added in v0.3.8
ContextValidate validates this job env item based on context it is used
func (*JobEnvItem) MarshalBinary ¶ added in v0.3.8
func (m *JobEnvItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobEnvItem) UnmarshalBinary ¶ added in v0.3.8
func (m *JobEnvItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRoutingContext ¶ added in v0.3.8
type JobRoutingContext struct {
// routegroup
Routegroup string `json:"routegroup,omitempty"`
// sandbox
Sandbox string `json:"sandbox,omitempty"`
}
JobRoutingContext job routing context
swagger:model job.RoutingContext
func (*JobRoutingContext) ContextValidate ¶ added in v0.3.8
ContextValidate validates this job routing context based on context it is used
func (*JobRoutingContext) MarshalBinary ¶ added in v0.3.8
func (m *JobRoutingContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRoutingContext) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRoutingContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroup ¶ added in v0.3.8
type JobRunnerGroup struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// deleted at
DeletedAt string `json:"deletedAt,omitempty"`
// name
Name string `json:"name,omitempty"`
// spec
Spec *JobRunnerGroupSpec `json:"spec,omitempty"`
// status
Status *JobRunnerGroupStatus `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
JobRunnerGroup job runner group
swagger:model JobRunnerGroup
func (*JobRunnerGroup) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job runner group based on the context it is used
func (*JobRunnerGroup) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroup) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupAutoScaling ¶ added in v0.3.8
type JobRunnerGroupAutoScaling struct {
// max pods
MaxPods int64 `json:"maxPods,omitempty"`
// min pods
MinPods int64 `json:"minPods,omitempty"`
}
JobRunnerGroupAutoScaling job runner group auto scaling
swagger:model jobRunnerGroup.AutoScaling
func (*JobRunnerGroupAutoScaling) ContextValidate ¶ added in v0.3.8
func (m *JobRunnerGroupAutoScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this job runner group auto scaling based on context it is used
func (*JobRunnerGroupAutoScaling) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupAutoScaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupAutoScaling) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupAutoScaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupExecutionsStatus ¶ added in v0.3.8
type JobRunnerGroupExecutionsStatus struct {
// queued
Queued int64 `json:"queued,omitempty"`
// running
Running int64 `json:"running,omitempty"`
}
JobRunnerGroupExecutionsStatus job runner group executions status
swagger:model jobRunnerGroup.ExecutionsStatus
func (*JobRunnerGroupExecutionsStatus) ContextValidate ¶ added in v0.3.8
func (m *JobRunnerGroupExecutionsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this job runner group executions status based on context it is used
func (*JobRunnerGroupExecutionsStatus) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupExecutionsStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupExecutionsStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupExecutionsStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupManualScaling ¶ added in v0.3.8
type JobRunnerGroupManualScaling struct {
// desired pods
DesiredPods int64 `json:"desiredPods,omitempty"`
}
JobRunnerGroupManualScaling job runner group manual scaling
swagger:model jobRunnerGroup.ManualScaling
func (*JobRunnerGroupManualScaling) ContextValidate ¶ added in v0.3.8
func (m *JobRunnerGroupManualScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this job runner group manual scaling based on context it is used
func (*JobRunnerGroupManualScaling) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupManualScaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupManualScaling) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupManualScaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupPodsStatus ¶ added in v0.3.8
type JobRunnerGroupPodsStatus struct {
// idle
Idle int64 `json:"idle,omitempty"`
// not ready
NotReady int64 `json:"notReady,omitempty"`
// ready
Ready int64 `json:"ready,omitempty"`
}
JobRunnerGroupPodsStatus job runner group pods status
swagger:model jobRunnerGroup.PodsStatus
func (*JobRunnerGroupPodsStatus) ContextValidate ¶ added in v0.3.8
func (m *JobRunnerGroupPodsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this job runner group pods status based on context it is used
func (*JobRunnerGroupPodsStatus) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupPodsStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupPodsStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupPodsStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupScaling ¶ added in v0.3.8
type JobRunnerGroupScaling struct {
// auto
Auto *JobRunnerGroupAutoScaling `json:"auto,omitempty"`
// manual
Manual *JobRunnerGroupManualScaling `json:"manual,omitempty"`
}
JobRunnerGroupScaling job runner group scaling
swagger:model jobRunnerGroup.Scaling
func (*JobRunnerGroupScaling) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job runner group scaling based on the context it is used
func (*JobRunnerGroupScaling) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupScaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupScaling) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupScaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupSpec ¶ added in v0.3.8
type JobRunnerGroupSpec struct {
// cluster
Cluster string `json:"cluster,omitempty"`
// image
Image string `json:"image,omitempty"`
// JobTimeout specifies the max job execution time of jobs running with this
// RunnerGroup. If not specified, it defaults to 30 minutes ("30m")
JobTimeout string `json:"jobTimeout,omitempty"`
// labels
Labels map[string]string `json:"labels,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// pod template
PodTemplate any `json:"podTemplate,omitempty"`
// ReusePods specifies whether JRG pods are reused after job executions.
// If false (default), JRG pods are always recreated after each job.
ReusePods bool `json:"reusePods,omitempty"`
// scaling
Scaling *JobRunnerGroupScaling `json:"scaling,omitempty"`
}
JobRunnerGroupSpec job runner group spec
swagger:model jobRunnerGroup.Spec
func (*JobRunnerGroupSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job runner group spec based on the context it is used
func (*JobRunnerGroupSpec) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobRunnerGroupStatus ¶ added in v0.3.8
type JobRunnerGroupStatus struct {
// executions
Executions *JobRunnerGroupExecutionsStatus `json:"executions,omitempty"`
// pods
Pods *JobRunnerGroupPodsStatus `json:"pods,omitempty"`
}
JobRunnerGroupStatus job runner group status
swagger:model jobRunnerGroup.Status
func (*JobRunnerGroupStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job runner group status based on the context it is used
func (*JobRunnerGroupStatus) MarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobRunnerGroupStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *JobRunnerGroupStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobSpec ¶ added in v0.3.8
type JobSpec struct {
// command
Command []string `json:"command"`
// env
Env []*JobEnvItem `json:"env"`
// labels
Labels map[string]string `json:"labels,omitempty"`
// name prefix
NamePrefix string `json:"namePrefix,omitempty"`
// routing context
RoutingContext *JobRoutingContext `json:"routingContext,omitempty"`
// runner group
RunnerGroup string `json:"runnerGroup,omitempty"`
// script
Script string `json:"script,omitempty"`
// traffic manager
TrafficManager *JobTrafficManager `json:"trafficManager,omitempty"`
// upload artifact
UploadArtifact []*JobUploadArtifact `json:"uploadArtifact"`
}
JobSpec job spec
swagger:model job.Spec
func (*JobSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validate this job spec based on the context it is used
func (*JobSpec) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*JobSpec) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type JobTrafficManager ¶ added in v0.3.8
type JobTrafficManager struct {
// Explicitly enable traffic manager in runner pods for this job.
Enabled bool `json:"enabled,omitempty"`
// InjectRoutingKey indicates if the system should perform automatic
// injection of routing key headers or not. It may be the empty string,
// "auto" or "disabled". The empty string defaults to meaning "disabled".
// The "auto" value will overwrite the value of the Enabled field, setting
// it to true.
// Enum: ["disabled","auto"]
InjectRoutingKey string `json:"injectRoutingKey,omitempty"`
}
JobTrafficManager job traffic manager
swagger:model job.TrafficManager
func (*JobTrafficManager) ContextValidate ¶ added in v0.3.8
ContextValidate validates this job traffic manager based on context it is used
func (*JobTrafficManager) MarshalBinary ¶ added in v0.3.8
func (m *JobTrafficManager) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobTrafficManager) UnmarshalBinary ¶ added in v0.3.8
func (m *JobTrafficManager) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobUploadArtifact ¶ added in v0.3.8
type JobUploadArtifact struct {
// meta
Meta map[string]string `json:"meta,omitempty"`
// path
Path string `json:"path,omitempty"`
}
JobUploadArtifact job upload artifact
swagger:model job.UploadArtifact
func (*JobUploadArtifact) ContextValidate ¶ added in v0.3.8
ContextValidate validates this job upload artifact based on context it is used
func (*JobUploadArtifact) MarshalBinary ¶ added in v0.3.8
func (m *JobUploadArtifact) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobUploadArtifact) UnmarshalBinary ¶ added in v0.3.8
func (m *JobUploadArtifact) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsAttempt ¶ added in v0.3.8
type JobsAttempt struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// execution count
ExecutionCount int64 `json:"executionCount,omitempty"`
// finished at
FinishedAt string `json:"finishedAt,omitempty"`
// id
ID int64 `json:"id,omitempty"`
// phase
Phase JobsPhase `json:"phase,omitempty"`
// started at
StartedAt string `json:"startedAt,omitempty"`
// state
State *JobsState `json:"state,omitempty"`
}
JobsAttempt jobs attempt
swagger:model jobs.Attempt
func (*JobsAttempt) ContextValidate ¶ added in v0.3.8
ContextValidate validate this jobs attempt based on the context it is used
func (*JobsAttempt) MarshalBinary ¶ added in v0.3.8
func (m *JobsAttempt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsAttempt) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsAttempt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsCanceledBy ¶ added in v0.3.8
type JobsCanceledBy string
JobsCanceledBy jobs canceled by
swagger:model jobs.CanceledBy
const ( // JobsCanceledByTimeout captures enum value "timeout" JobsCanceledByTimeout JobsCanceledBy = "timeout" // JobsCanceledByAPIRequest captures enum value "apiRequest" JobsCanceledByAPIRequest JobsCanceledBy = "apiRequest" // JobsCanceledByInternal captures enum value "internal" JobsCanceledByInternal JobsCanceledBy = "internal" )
func NewJobsCanceledBy ¶ added in v0.3.8
func NewJobsCanceledBy(value JobsCanceledBy) *JobsCanceledBy
func (JobsCanceledBy) ContextValidate ¶ added in v0.3.8
ContextValidate validates this jobs canceled by based on context it is used
func (JobsCanceledBy) Pointer ¶ added in v0.3.8
func (m JobsCanceledBy) Pointer() *JobsCanceledBy
Pointer returns a pointer to a freshly-allocated JobsCanceledBy.
type JobsCanceledState ¶ added in v0.3.8
type JobsCanceledState struct {
// canceled at
CanceledAt string `json:"canceledAt,omitempty"`
// canceled by
CanceledBy JobsCanceledBy `json:"canceledBy,omitempty"`
// in cluster
InCluster bool `json:"inCluster,omitempty"`
// message
Message string `json:"message,omitempty"`
}
JobsCanceledState jobs canceled state
swagger:model jobs.CanceledState
func (*JobsCanceledState) ContextValidate ¶ added in v0.3.8
ContextValidate validate this jobs canceled state based on the context it is used
func (*JobsCanceledState) MarshalBinary ¶ added in v0.3.8
func (m *JobsCanceledState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsCanceledState) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsCanceledState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsFailedState ¶ added in v0.3.8
type JobsFailedState struct {
// exit code
ExitCode *int64 `json:"exitCode,omitempty"`
// message
Message string `json:"message,omitempty"`
// retry attempt
RetryAttempt bool `json:"retryAttempt,omitempty"`
}
JobsFailedState jobs failed state
swagger:model jobs.FailedState
func (*JobsFailedState) ContextValidate ¶ added in v0.3.8
ContextValidate validates this jobs failed state based on context it is used
func (*JobsFailedState) MarshalBinary ¶ added in v0.3.8
func (m *JobsFailedState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsFailedState) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsFailedState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsPhase ¶ added in v0.3.8
type JobsPhase string
JobsPhase jobs phase
swagger:model jobs.Phase
const ( // JobsPhaseQueued captures enum value "queued" JobsPhaseQueued JobsPhase = "queued" // JobsPhaseRunning captures enum value "running" JobsPhaseRunning JobsPhase = "running" // JobsPhaseFailed captures enum value "failed" JobsPhaseFailed JobsPhase = "failed" // JobsPhaseSucceeded captures enum value "succeeded" JobsPhaseSucceeded JobsPhase = "succeeded" // JobsPhaseCanceled captures enum value "canceled" JobsPhaseCanceled JobsPhase = "canceled" )
func NewJobsPhase ¶ added in v0.3.8
func (JobsPhase) ContextValidate ¶ added in v0.3.8
ContextValidate validates this jobs phase based on context it is used
type JobsPhaseCount ¶ added in v0.3.8
type JobsPhaseCount struct {
// count
Count int64 `json:"count,omitempty"`
// phase
Phase JobsPhase `json:"phase,omitempty"`
}
JobsPhaseCount jobs phase count
swagger:model jobs.PhaseCount
func (*JobsPhaseCount) ContextValidate ¶ added in v0.3.8
ContextValidate validate this jobs phase count based on the context it is used
func (*JobsPhaseCount) MarshalBinary ¶ added in v0.3.8
func (m *JobsPhaseCount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsPhaseCount) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsPhaseCount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsQueuedState ¶ added in v0.3.8
type JobsQueuedState struct {
// last message
LastMessage string `json:"lastMessage,omitempty"`
// message
Message string `json:"message,omitempty"`
}
JobsQueuedState jobs queued state
swagger:model jobs.QueuedState
func (*JobsQueuedState) ContextValidate ¶ added in v0.3.8
ContextValidate validates this jobs queued state based on context it is used
func (*JobsQueuedState) MarshalBinary ¶ added in v0.3.8
func (m *JobsQueuedState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsQueuedState) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsQueuedState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsRunningState ¶ added in v0.3.8
type JobsRunningState struct {
// pod name
PodName string `json:"podName,omitempty"`
// pod namespace
PodNamespace string `json:"podNamespace,omitempty"`
}
JobsRunningState jobs running state
swagger:model jobs.RunningState
func (*JobsRunningState) ContextValidate ¶ added in v0.3.8
ContextValidate validates this jobs running state based on context it is used
func (*JobsRunningState) MarshalBinary ¶ added in v0.3.8
func (m *JobsRunningState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsRunningState) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsRunningState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsState ¶ added in v0.3.8
type JobsState struct {
// canceled
Canceled *JobsCanceledState `json:"canceled,omitempty"`
// failed
Failed *JobsFailedState `json:"failed,omitempty"`
// queued
Queued *JobsQueuedState `json:"queued,omitempty"`
// running
Running *JobsRunningState `json:"running,omitempty"`
// succeeded
Succeeded *JobsSucceededState `json:"succeeded,omitempty"`
}
JobsState jobs state
swagger:model jobs.State
func (*JobsState) ContextValidate ¶ added in v0.3.8
ContextValidate validate this jobs state based on the context it is used
func (*JobsState) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*JobsState) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type JobsStatus ¶ added in v0.3.8
type JobsStatus struct {
// attempts
Attempts []*JobsAttempt `json:"attempts"`
// routing key
RoutingKey string `json:"routingKey,omitempty"`
// runner group deletion completed at
RunnerGroupDeletionCompletedAt string `json:"runnerGroupDeletionCompletedAt,omitempty"`
}
JobsStatus jobs status
swagger:model jobs.Status
func (*JobsStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this jobs status based on the context it is used
func (*JobsStatus) MarshalBinary ¶ added in v0.3.8
func (m *JobsStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobsSucceededState ¶ added in v0.3.8
type JobsSucceededState struct {
// exit code
ExitCode int64 `json:"exitCode,omitempty"`
}
JobsSucceededState jobs succeeded state
swagger:model jobs.SucceededState
func (*JobsSucceededState) ContextValidate ¶ added in v0.3.8
ContextValidate validates this jobs succeeded state based on context it is used
func (*JobsSucceededState) MarshalBinary ¶ added in v0.3.8
func (m *JobsSucceededState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobsSucceededState) UnmarshalBinary ¶ added in v0.3.8
func (m *JobsSucceededState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAPIKeysResponse ¶ added in v0.3.8
type ListAPIKeysResponse struct {
// api keys
APIKeys []*APIKey `json:"apiKeys"`
}
ListAPIKeysResponse list Api keys response
swagger:model ListApiKeysResponse
func (*ListAPIKeysResponse) ContextValidate ¶ added in v0.3.8
ContextValidate validate this list Api keys response based on the context it is used
func (*ListAPIKeysResponse) MarshalBinary ¶ added in v0.3.8
func (m *ListAPIKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAPIKeysResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *ListAPIKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListEventsResponse ¶ added in v0.3.8
type ListEventsResponse struct {
// events
Events []*EventQueryResult `json:"events"`
}
ListEventsResponse list events response
swagger:model ListEventsResponse
func (*ListEventsResponse) ContextValidate ¶ added in v0.3.8
ContextValidate validate this list events response based on the context it is used
func (*ListEventsResponse) MarshalBinary ¶ added in v0.3.8
func (m *ListEventsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListEventsResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *ListEventsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Local ¶ added in v0.3.8
type Local struct {
// env
Env []*SandboxEnvVar `json:"env"`
// files
Files []*SandboxFileOp `json:"files"`
// from
From *LocalFrom `json:"from,omitempty"`
// mappings
Mappings []*LocalPortMapping `json:"mappings"`
// name
Name string `json:"name,omitempty"`
}
Local local
swagger:model local
func (*Local) ContextValidate ¶ added in v0.3.8
ContextValidate validate this local based on the context it is used
func (*Local) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Local) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type LocalFrom ¶ added in v0.3.8
type LocalFrom struct {
// Kind of the baseline workload.
// Example: Deployment
// Required: true
Kind *string `json:"kind"`
// Name of the entity within the Kubernetes cluster.
// Example: my-frontend
// Required: true
Name *string `json:"name"`
// Namespace within which the entity lives in the Kubernetes cluster.
// Example: default
// Required: true
Namespace *string `json:"namespace"`
}
LocalFrom local from
swagger:model local.From
func (*LocalFrom) ContextValidate ¶ added in v0.3.8
ContextValidate validates this local from based on context it is used
func (*LocalFrom) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*LocalFrom) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type LocalPortMapping ¶ added in v0.3.8
type LocalPortMapping struct {
// app protocol
AppProtocol string `json:"appProtocol,omitempty"`
// port
Port int64 `json:"port,omitempty"`
// to local
ToLocal string `json:"toLocal,omitempty"`
}
LocalPortMapping local port mapping
swagger:model local.PortMapping
func (*LocalPortMapping) ContextValidate ¶ added in v0.3.8
ContextValidate validates this local port mapping based on context it is used
func (*LocalPortMapping) MarshalBinary ¶ added in v0.3.8
func (m *LocalPortMapping) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LocalPortMapping) UnmarshalBinary ¶ added in v0.3.8
func (m *LocalPortMapping) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogsContainerLogs ¶ added in v0.3.8
type LogsContainerLogs struct {
// container
Container string `json:"container,omitempty"`
// logs
Logs []*LogsLogItem `json:"logs"`
}
LogsContainerLogs logs container logs
swagger:model logs.ContainerLogs
func (*LogsContainerLogs) ContextValidate ¶ added in v0.3.8
ContextValidate validate this logs container logs based on the context it is used
func (*LogsContainerLogs) MarshalBinary ¶ added in v0.3.8
func (m *LogsContainerLogs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogsContainerLogs) UnmarshalBinary ¶ added in v0.3.8
func (m *LogsContainerLogs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogsLogItem ¶ added in v0.3.8
type LogsLogItem struct {
// message
Message string `json:"message,omitempty"`
// time
Time string `json:"time,omitempty"`
}
LogsLogItem logs log item
swagger:model logs.LogItem
func (*LogsLogItem) ContextValidate ¶ added in v0.3.8
ContextValidate validates this logs log item based on context it is used
func (*LogsLogItem) MarshalBinary ¶ added in v0.3.8
func (m *LogsLogItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LogsLogItem) UnmarshalBinary ¶ added in v0.3.8
func (m *LogsLogItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LogsLogType ¶ added in v0.3.8
type LogsLogType string
LogsLogType logs log type
swagger:model logs.LogType
const ( // LogsLogTypeStdout captures enum value "stdout" LogsLogTypeStdout LogsLogType = "stdout" // LogsLogTypeStderr captures enum value "stderr" LogsLogTypeStderr LogsLogType = "stderr" )
func NewLogsLogType ¶ added in v0.3.8
func NewLogsLogType(value LogsLogType) *LogsLogType
func (LogsLogType) ContextValidate ¶ added in v0.3.8
ContextValidate validates this logs log type based on context it is used
func (LogsLogType) Pointer ¶ added in v0.3.8
func (m LogsLogType) Pointer() *LogsLogType
Pointer returns a pointer to a freshly-allocated LogsLogType.
type OrgsGetOrgNameResponse ¶ added in v0.3.8
type OrgsGetOrgNameResponse struct {
// ID of Authenticated Cluster, if any (via signadot-cluster-token header)
ClusterID string `json:"clusterID,omitempty"`
// Feature Flags as result of authentication
FeatureFlags map[string]bool `json:"featureFlags,omitempty"`
// orgs
Orgs []*OrgsOrg `json:"orgs"`
// user
User *OrgsUser `json:"user,omitempty"`
// user flags
UserFlags AuthtypesUserFlags `json:"userFlags,omitempty"`
}
OrgsGetOrgNameResponse orgs get org name response
swagger:model orgs.GetOrgNameResponse
func (*OrgsGetOrgNameResponse) ContextValidate ¶ added in v0.3.8
func (m *OrgsGetOrgNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this orgs get org name response based on the context it is used
func (*OrgsGetOrgNameResponse) MarshalBinary ¶ added in v0.3.8
func (m *OrgsGetOrgNameResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgsGetOrgNameResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *OrgsGetOrgNameResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgsOrg ¶ added in v0.3.8
type OrgsOrg struct {
// display name
DisplayName string `json:"displayName,omitempty"`
// name
Name string `json:"name,omitempty"`
}
OrgsOrg orgs org
swagger:model orgs.Org
func (*OrgsOrg) ContextValidate ¶ added in v0.3.8
ContextValidate validates this orgs org based on context it is used
func (*OrgsOrg) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*OrgsOrg) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type OrgsUser ¶ added in v0.3.8
type OrgsUser struct {
// avatar
Avatar string `json:"avatar,omitempty"`
// created at
CreatedAt string `json:"createdAt,omitempty"`
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"firstName,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"lastName,omitempty"`
// role
Role string `json:"role,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
OrgsUser orgs user
swagger:model orgs.User
func (*OrgsUser) ContextValidate ¶ added in v0.3.8
ContextValidate validates this orgs user based on context it is used
func (*OrgsUser) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*OrgsUser) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type PhaseCounts ¶ added in v0.3.8
type PhaseCounts struct {
// Completed is the number of steps that finished successfully.
Completed int64 `json:"completed,omitempty"`
// Failed is the number of steps that finished with an error.
Failed int64 `json:"failed,omitempty"`
// Init is the number of steps that have not yet started.
Init int64 `json:"init,omitempty"`
// Running is the number of steps currently executing.
Running int64 `json:"running,omitempty"`
// Skipped is the number of steps that were not executed.
Skipped int64 `json:"skipped,omitempty"`
// Waiting is the number of steps waiting for routing context readiness.
Waiting int64 `json:"waiting,omitempty"`
}
PhaseCounts phase counts
swagger:model PhaseCounts
func (*PhaseCounts) ContextValidate ¶ added in v0.3.8
ContextValidate validates this phase counts based on context it is used
func (*PhaseCounts) MarshalBinary ¶ added in v0.3.8
func (m *PhaseCounts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PhaseCounts) UnmarshalBinary ¶ added in v0.3.8
func (m *PhaseCounts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanAction ¶ added in v0.3.8
type PlanAction struct {
// id
ID string `json:"id,omitempty"`
// ManagedBy indicates whether this action is managed by the system
// (synced from git) or by an org (created via API).
ManagedBy string `json:"managedBy,omitempty"`
// name
Name string `json:"name,omitempty"`
// spec
Spec *PlanActionSpec `json:"spec,omitempty"`
// status
Status *PlanActionStatus `json:"status,omitempty"`
}
PlanAction plan action
swagger:model PlanAction
func (*PlanAction) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan action based on the context it is used
func (*PlanAction) MarshalBinary ¶ added in v0.3.8
func (m *PlanAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanAction) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanActionSpec ¶ added in v0.3.8
type PlanActionSpec struct {
// Body is the action implementation as markdown with code blocks.
// Inputs and outputs are declared inline via \input{...} and \output{...} syntax.
Body string `json:"body,omitempty"`
// Published controls whether this action is visible and usable.
Published bool `json:"published,omitempty"`
}
PlanActionSpec plan action spec
swagger:model PlanActionSpec
func (*PlanActionSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan action spec based on context it is used
func (*PlanActionSpec) MarshalBinary ¶ added in v0.3.8
func (m *PlanActionSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanActionSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanActionSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanActionStatus ¶ added in v0.3.8
type PlanActionStatus struct {
// body image
BodyImage *PlanImageRef `json:"bodyImage,omitempty"`
// BodyOutputs are the output fields parsed from \output{...} directives in the body.
BodyOutputs []*PlanField `json:"bodyOutputs"`
// BodyParams are the input parameters parsed from \input{...} directives in the body.
BodyParams []*PlanField `json:"bodyParams"`
// CreatedAt is when the action was created. Serialized as RFC3339.
CreatedAt string `json:"createdAt,omitempty"`
// Description is a short one-line description parsed from the \description{...} directive in the body.
Description string `json:"description,omitempty"`
// Enabled is the org's effective view on whether this action can be used.
// Resolved from per-org overrides and system defaults via the same
// precedence the compile path applies. Distinct from Spec.Published,
// which is the action author's intent.
Enabled bool `json:"enabled,omitempty"`
// extra inputs schema policy
ExtraInputsSchemaPolicy *PlanExtraInputsSchemaPolicy `json:"extraInputsSchemaPolicy,omitempty"`
// revision
Revision int64 `json:"revision,omitempty"`
// UpdatedAt is when the action was last updated. Serialized as RFC3339.
UpdatedAt string `json:"updatedAt,omitempty"`
}
PlanActionStatus plan action status
swagger:model PlanActionStatus
func (*PlanActionStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan action status based on the context it is used
func (*PlanActionStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanActionStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanActionStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanActionStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanArgs ¶ added in v0.3.8
type PlanArgs struct {
// Refs maps param names to reference expressions (e.g. "params.cluster", "steps.foo.outputs.bar").
Refs map[string]string `json:"refs,omitempty"`
// Values maps param names to literal JSON values.
Values any `json:"values,omitempty"`
}
PlanArgs plan args
swagger:model PlanArgs
func (*PlanArgs) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan args based on context it is used
func (*PlanArgs) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*PlanArgs) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type PlanArtifactRef ¶ added in v0.3.8
type PlanArtifactRef struct {
// Checksum is the base64-encoded SHA-256 digest.
Checksum string `json:"checksum,omitempty"`
// Error is set if the artifact upload failed.
Error string `json:"error,omitempty"`
// Ready is true once the artifact has been uploaded to S3.
Ready bool `json:"ready,omitempty"`
// Size is the artifact size in bytes.
Size int64 `json:"size,omitempty"`
}
PlanArtifactRef plan artifact ref
swagger:model PlanArtifactRef
func (*PlanArtifactRef) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan artifact ref based on context it is used
func (*PlanArtifactRef) MarshalBinary ¶ added in v0.3.8
func (m *PlanArtifactRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanArtifactRef) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanArtifactRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanClusterAffinity ¶ added in v0.3.8
type PlanClusterAffinity struct {
// FromAnyTarget names a plan param whose value is a RoutingTarget.
// The cluster is inferred from the variant provided at execution time
// (sandbox → sandbox cluster, routeGroup → RG cluster).
FromAnyTarget string `json:"fromAnyTarget,omitempty"`
// FromCluster names a plan param whose value is a cluster name directly.
FromCluster string `json:"fromCluster,omitempty"`
// FromRouteGroup names a plan param whose value is a route group name.
// If the route group is bound to a single cluster, it resolves automatically.
// If the route group spans multiple clusters, the execution must specify
// a cluster (validated against the route group's cluster set).
FromRouteGroup string `json:"fromRouteGroup,omitempty"`
// FromSandbox names a plan param whose value is a sandbox name.
// The cluster is inferred from the sandbox's single cluster.
FromSandbox string `json:"fromSandbox,omitempty"`
// Pattern is a glob pattern matched against cluster names (e.g. "prod-*",
// "*"). If the pattern matches exactly one connected cluster with an
// available runner, it is used automatically. Otherwise, the execution
// must specify a cluster.
Pattern string `json:"pattern,omitempty"`
}
PlanClusterAffinity plan cluster affinity
swagger:model PlanClusterAffinity
func (*PlanClusterAffinity) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan cluster affinity based on context it is used
func (*PlanClusterAffinity) MarshalBinary ¶ added in v0.3.8
func (m *PlanClusterAffinity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanClusterAffinity) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanClusterAffinity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanCompileInput ¶ added in v0.3.8
type PlanCompileInput struct {
// Prompt is the markdown source to compile into a Plan.
Prompt string `json:"prompt,omitempty"`
// SelectionHint, if set, is written onto the resulting plan's
// PlanSpec.SelectionHint field (the agent-readable "when to pick
// this plan" hint surfaced on tag-list responses). Optional;
// preserved across `plan recompile`.
SelectionHint string `json:"selectionHint,omitempty"`
}
PlanCompileInput plan compile input
swagger:model PlanCompileInput
func (*PlanCompileInput) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan compile input based on context it is used
func (*PlanCompileInput) MarshalBinary ¶ added in v0.3.8
func (m *PlanCompileInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanCompileInput) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanCompileInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanDesiredImagesResponse ¶ added in v0.3.8
type PlanDesiredImagesResponse struct {
// images
Images []*PlanImageSpec `json:"images"`
}
PlanDesiredImagesResponse plan desired images response
swagger:model PlanDesiredImagesResponse
func (*PlanDesiredImagesResponse) ContextValidate ¶ added in v0.3.8
func (m *PlanDesiredImagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan desired images response based on the context it is used
func (*PlanDesiredImagesResponse) MarshalBinary ¶ added in v0.3.8
func (m *PlanDesiredImagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanDesiredImagesResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanDesiredImagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanExecution ¶ added in v0.3.8
type PlanExecution struct {
// id
ID string `json:"id,omitempty"`
// spec
Spec *PlanExecutionSpec `json:"spec,omitempty"`
// status
Status *PlanExecutionStatus `json:"status,omitempty"`
}
PlanExecution plan execution
swagger:model PlanExecution
func (*PlanExecution) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan execution based on the context it is used
func (*PlanExecution) MarshalBinary ¶ added in v0.3.8
func (m *PlanExecution) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanExecution) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanExecution) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanExecutionQueryResult ¶ added in v0.3.8
type PlanExecutionQueryResult struct {
// cursor
Cursor string `json:"cursor,omitempty"`
// id
ID string `json:"id,omitempty"`
// spec
Spec *PlanExecutionSpec `json:"spec,omitempty"`
// status
Status *PlanExecutionStatus `json:"status,omitempty"`
}
PlanExecutionQueryResult plan execution query result
swagger:model PlanExecutionQueryResult
func (*PlanExecutionQueryResult) ContextValidate ¶ added in v0.3.8
func (m *PlanExecutionQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan execution query result based on the context it is used
func (*PlanExecutionQueryResult) MarshalBinary ¶ added in v0.3.8
func (m *PlanExecutionQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanExecutionQueryResult) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanExecutionQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanExecutionSpec ¶ added in v0.3.8
type PlanExecutionSpec struct {
// Cluster is the target cluster for this execution.
Cluster string `json:"cluster,omitempty"`
// Params are the actual values bound to the plan's declared parameters.
Params any `json:"params,omitempty"`
// PlanID is the ID of the compiled plan being executed.
PlanID string `json:"planID,omitempty"`
// Runner is the runner group name assigned to execute the plan.
Runner string `json:"runner,omitempty"`
// Secrets maps plan param names to org secret names. At dispatch time,
// the control plane resolves each secret name to its decrypted value and
// delivers it to the runner alongside regular params.
// API responses return the name mapping (never decrypted values).
Secrets map[string]string `json:"secrets,omitempty"`
}
PlanExecutionSpec plan execution spec
swagger:model PlanExecutionSpec
func (*PlanExecutionSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan execution spec based on context it is used
func (*PlanExecutionSpec) MarshalBinary ¶ added in v0.3.8
func (m *PlanExecutionSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanExecutionSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanExecutionSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanExecutionStatus ¶ added in v0.3.8
type PlanExecutionStatus struct {
// CompletedAt is when the execution finished. Serialized as RFC3339.
CompletedAt string `json:"completedAt,omitempty"`
// CreatedAt is when the execution was created. Serialized as RFC3339.
CreatedAt string `json:"createdAt,omitempty"`
// Error is a human-readable error message for execution-level failures
// (e.g. artifact upload failures, plan output resolution errors).
// Step-level errors are in StepStatus.Error.
Error string `json:"error,omitempty"`
// Inputs records how each plan-level input was resolved at dispatch
// time. Populated at the transition to dispatching. Mirrors Outputs.
Inputs []*PlanInputStatus `json:"inputs"`
// Outputs contains the resolved plan-level outputs, populated on completion.
Outputs []*PlanOutputStatus `json:"outputs"`
// phase
Phase PlansExecutionPhase `json:"phase,omitempty"`
// RunnerHost is the hostname of the runner executing the plan.
RunnerHost string `json:"runnerHost,omitempty"`
// step counts
StepCounts *PhaseCounts `json:"stepCounts,omitempty"`
// Steps contains the per-step runtime status.
Steps []*PlanStepStatus `json:"steps"`
// UpdatedAt is when the execution status was last updated. Serialized as RFC3339.
UpdatedAt string `json:"updatedAt,omitempty"`
}
PlanExecutionStatus plan execution status
swagger:model PlanExecutionStatus
func (*PlanExecutionStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan execution status based on the context it is used
func (*PlanExecutionStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanExecutionStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanExecutionStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanExecutionStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanExtraInputsSchemaPolicy ¶ added in v0.3.8
type PlanExtraInputsSchemaPolicy struct {
// Default is the schema to apply when the plan author omitted one.
// Empty (nil) when this primitive is not set.
Default any `json:"default,omitempty"`
// Require, when true, makes plan compile fail if any extra_input on
// a step of this action is schemaless.
Require bool `json:"require,omitempty"`
}
PlanExtraInputsSchemaPolicy plan extra inputs schema policy
swagger:model PlanExtraInputsSchemaPolicy
func (*PlanExtraInputsSchemaPolicy) ContextValidate ¶ added in v0.3.8
func (m *PlanExtraInputsSchemaPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan extra inputs schema policy based on context it is used
func (*PlanExtraInputsSchemaPolicy) MarshalBinary ¶ added in v0.3.8
func (m *PlanExtraInputsSchemaPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanExtraInputsSchemaPolicy) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanExtraInputsSchemaPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanField ¶ added in v0.3.8
type PlanField struct {
// Default is the default value used when the field is not provided. Must conform to Schema if set.
Default any `json:"default,omitempty"`
// Metadata carries presentation hints and additional key-value pairs.
// Well-known keys: "contentType" (MIME type), "displayName" (UI label),
// "encoding" (e.g. "base64" for inlined binary values).
Metadata map[string]string `json:"metadata,omitempty"`
// Name is the field identifier, unique within the resource's params or outputs.
Name string `json:"name,omitempty"`
// Required indicates whether the field must be provided.
Required bool `json:"required,omitempty"`
// Schema is an optional JSON Schema describing the field's type and constraints.
Schema any `json:"schema,omitempty"`
// SchemaRef is an optional reference to an external schema (name, file, or URL).
SchemaRef string `json:"schemaRef,omitempty"`
}
PlanField plan field
swagger:model PlanField
func (*PlanField) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan field based on context it is used
func (*PlanField) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*PlanField) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type PlanImageRef ¶ added in v0.3.8
type PlanImageRef struct {
// Env carries env entries with literal values (KEY -> literal).
// Applies in both paths. Reserved runner-set keys (SIGNADOT_*, HOME,
// TMPDIR, PATH) silently lose to the runner's values on collision.
Env map[string]string `json:"env,omitempty"`
// EnvFromInput carries env entries whose values resolve from a
// declared input at run time (KEY -> input name). Applies in both
// paths. Same reserved-key filtering as Env. The same KEY may not
// appear in both Env and EnvFromInput.
EnvFromInput map[string]string `json:"envFromInput,omitempty"`
// InputName names a declared input whose value at run time is the
// image reference. Set when the action declared
// \image{ref={"input":"NAME"}}. If the input resolves to the empty
// string, the action runs in the runner's base image.
InputName string `json:"inputName,omitempty"`
// Literal is the image reference itself, e.g. "alpine:3.19". Set when
// the action declared \image{"..."} or \image{ref="..."}. An empty
// literal means "run in the runner's base image".
Literal string `json:"literal,omitempty"`
}
PlanImageRef plan image ref
swagger:model PlanImageRef
func (*PlanImageRef) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan image ref based on context it is used
func (*PlanImageRef) MarshalBinary ¶ added in v0.3.8
func (m *PlanImageRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanImageRef) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanImageRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanImageSpec ¶ added in v0.3.8
type PlanImageSpec struct {
// LastReferencedAt is the most recent timestamp at which a plan
// execution or visible action referenced this ref, computed at the
// apiserver. Zero when neither source supplies a timestamp.
LastReferencedAt string `json:"lastReferencedAt,omitempty"`
// Ref is the canonicalized image reference, e.g.
// "index.docker.io/library/alpine:3.19".
Ref string `json:"ref,omitempty"`
// ReferenceCount is the number of distinct plan executions and
// actions that referenced this ref over the apiserver's window.
// Zero when neither source supplies a count.
ReferenceCount int64 `json:"referenceCount,omitempty"`
}
PlanImageSpec plan image spec
swagger:model PlanImageSpec
func (*PlanImageSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan image spec based on context it is used
func (*PlanImageSpec) MarshalBinary ¶ added in v0.3.8
func (m *PlanImageSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanImageSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanImageSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanInputStatus ¶ added in v0.3.8
type PlanInputStatus struct {
// Name is the plan param name.
Name string `json:"name,omitempty"`
// resolved via
ResolvedVia PlansInputResolvedVia `json:"resolvedVia,omitempty"`
// SecretName is the caller-supplied secret name when
// ResolvedVia == callerSecret. Empty otherwise.
SecretName string `json:"secretName,omitempty"`
}
PlanInputStatus plan input status
swagger:model PlanInputStatus
func (*PlanInputStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan input status based on the context it is used
func (*PlanInputStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanInputStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanInputStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanInputStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanLogStatus ¶ added in v0.3.8
type PlanLogStatus struct {
// artifact
Artifact *PlanArtifactRef `json:"artifact,omitempty"`
// stream
Stream LogsLogType `json:"stream,omitempty"`
// Value holds the log content inline if small enough.
Value string `json:"value,omitempty"`
}
PlanLogStatus plan log status
swagger:model PlanLogStatus
func (*PlanLogStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan log status based on the context it is used
func (*PlanLogStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanLogStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanLogStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanLogStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanOutputStatus ¶ added in v0.3.8
type PlanOutputStatus struct {
// artifact
Artifact *PlanArtifactRef `json:"artifact,omitempty"`
// Drill is the path of segments to walk inside the source step
// output's parsed JSON to extract the actual plan output value. Set
// only for drill plan outputs (e.g. ["response", "statusCode"] for
// "steps.send.outputs.capture.response.statusCode"). The drill is
// applied at download time by the apiserver — the runner records
// it but does not materialize the drilled value, so the source
// step's existing artifact (or inline Value) is reused without any
// extra upload.
Drill []string `json:"drill"`
// Metadata carries presentation hints (e.g. contentType, displayName).
Metadata map[string]string `json:"metadata,omitempty"`
// Name is the output field name.
Name string `json:"name,omitempty"`
// step ref
StepRef *PlanStepOutputRef `json:"stepRef,omitempty"`
// Value holds the inlined output value (small text/JSON).
Value any `json:"value,omitempty"`
}
PlanOutputStatus plan output status
swagger:model PlanOutputStatus
func (*PlanOutputStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan output status based on the context it is used
func (*PlanOutputStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanOutputStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanOutputStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanOutputStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRoutingContext ¶ added in v0.3.8
type PlanRoutingContext struct {
// literal
Literal *RoutingTarget `json:"literal,omitempty"`
// ref
Ref *RoutingTargetRef `json:"ref,omitempty"`
}
PlanRoutingContext plan routing context
swagger:model PlanRoutingContext
func (*PlanRoutingContext) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan routing context based on the context it is used
func (*PlanRoutingContext) MarshalBinary ¶ added in v0.3.8
func (m *PlanRoutingContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRoutingContext) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRoutingContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroup ¶ added in v0.3.8
type PlanRunnerGroup struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// deleted at
DeletedAt string `json:"deletedAt,omitempty"`
// name
Name string `json:"name,omitempty"`
// spec
Spec *PlanRunnerGroupSpec `json:"spec,omitempty"`
// status
Status *PlanRunnerGroupStatus `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
PlanRunnerGroup plan runner group
swagger:model PlanRunnerGroup
func (*PlanRunnerGroup) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan runner group based on the context it is used
func (*PlanRunnerGroup) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroup) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupCacheSpec ¶ added in v0.3.8
type PlanRunnerGroupCacheSpec struct {
// Size is the requested PVC capacity, e.g. "10Gi".
Size string `json:"size,omitempty"`
// StorageClass is the Kubernetes storage class name. Empty string
// uses the cluster default.
StorageClass string `json:"storageClass,omitempty"`
}
PlanRunnerGroupCacheSpec plan runner group cache spec
swagger:model planRunnerGroup.CacheSpec
func (*PlanRunnerGroupCacheSpec) ContextValidate ¶ added in v0.3.8
func (m *PlanRunnerGroupCacheSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan runner group cache spec based on context it is used
func (*PlanRunnerGroupCacheSpec) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupCacheSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupCacheSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupCacheSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupClusterSettings ¶ added in v0.3.8
type PlanRunnerGroupClusterSettings struct {
// cluster
Cluster string `json:"cluster,omitempty"`
// eligible
Eligible bool `json:"eligible,omitempty"`
// notes
Notes []string `json:"notes"`
// runner groups
RunnerGroups []*PlanRunnerGroup `json:"runnerGroups"`
}
PlanRunnerGroupClusterSettings plan runner group cluster settings
swagger:model planRunnerGroup.ClusterSettings
func (*PlanRunnerGroupClusterSettings) ContextValidate ¶ added in v0.3.8
func (m *PlanRunnerGroupClusterSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan runner group cluster settings based on the context it is used
func (*PlanRunnerGroupClusterSettings) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupClusterSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupClusterSettings) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupClusterSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupManualScaling ¶ added in v0.3.8
type PlanRunnerGroupManualScaling struct {
// desired pods
DesiredPods int64 `json:"desiredPods,omitempty"`
}
PlanRunnerGroupManualScaling plan runner group manual scaling
swagger:model planRunnerGroup.ManualScaling
func (*PlanRunnerGroupManualScaling) ContextValidate ¶ added in v0.3.8
func (m *PlanRunnerGroupManualScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan runner group manual scaling based on context it is used
func (*PlanRunnerGroupManualScaling) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupManualScaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupManualScaling) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupManualScaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupPodsStatus ¶ added in v0.3.8
type PlanRunnerGroupPodsStatus struct {
// not ready
NotReady int64 `json:"notReady,omitempty"`
// ready
Ready int64 `json:"ready,omitempty"`
}
PlanRunnerGroupPodsStatus plan runner group pods status
swagger:model planRunnerGroup.PodsStatus
func (*PlanRunnerGroupPodsStatus) ContextValidate ¶ added in v0.3.8
func (m *PlanRunnerGroupPodsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plan runner group pods status based on context it is used
func (*PlanRunnerGroupPodsStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupPodsStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupPodsStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupPodsStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupScaling ¶ added in v0.3.8
type PlanRunnerGroupScaling struct {
// manual
Manual *PlanRunnerGroupManualScaling `json:"manual,omitempty"`
}
PlanRunnerGroupScaling plan runner group scaling
swagger:model planRunnerGroup.Scaling
func (*PlanRunnerGroupScaling) ContextValidate ¶ added in v0.3.8
func (m *PlanRunnerGroupScaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan runner group scaling based on the context it is used
func (*PlanRunnerGroupScaling) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupScaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupScaling) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupScaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupSettingsResponse ¶ added in v0.3.8
type PlanRunnerGroupSettingsResponse struct {
// clusters
Clusters []*PlanRunnerGroupClusterSettings `json:"clusters"`
}
PlanRunnerGroupSettingsResponse plan runner group settings response
swagger:model PlanRunnerGroupSettingsResponse
func (*PlanRunnerGroupSettingsResponse) ContextValidate ¶ added in v0.3.8
func (m *PlanRunnerGroupSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this plan runner group settings response based on the context it is used
func (*PlanRunnerGroupSettingsResponse) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupSettingsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupSettingsResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupSettingsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupSpec ¶ added in v0.3.8
type PlanRunnerGroupSpec struct {
// cache
Cache *PlanRunnerGroupCacheSpec `json:"cache,omitempty"`
// cluster
Cluster string `json:"cluster,omitempty"`
// description
Description string `json:"description,omitempty"`
// image
Image string `json:"image,omitempty"`
// labels
Labels map[string]string `json:"labels,omitempty"`
// pod template
PodTemplate any `json:"podTemplate,omitempty"`
// scaling
Scaling *PlanRunnerGroupScaling `json:"scaling,omitempty"`
}
PlanRunnerGroupSpec plan runner group spec
swagger:model planRunnerGroup.Spec
func (*PlanRunnerGroupSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan runner group spec based on the context it is used
func (*PlanRunnerGroupSpec) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanRunnerGroupStatus ¶ added in v0.3.8
type PlanRunnerGroupStatus struct {
// pods
Pods *PlanRunnerGroupPodsStatus `json:"pods,omitempty"`
}
PlanRunnerGroupStatus plan runner group status
swagger:model planRunnerGroup.Status
func (*PlanRunnerGroupStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan runner group status based on the context it is used
func (*PlanRunnerGroupStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanRunnerGroupStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanRunnerGroupStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanSpec ¶ added in v0.3.8
type PlanSpec struct {
// cluster
Cluster *PlanClusterAffinity `json:"cluster,omitempty"`
// Output maps output names to reference expressions wiring step outputs to the plan's external interface.
Output map[string]string `json:"output,omitempty"`
// Params are the external parameters the plan accepts from its caller.
Params []*PlanField `json:"params"`
// Prompt is the natural-language prompt body that was compiled to produce this plan.
// Empty for hand-created plans.
Prompt string `json:"prompt,omitempty"`
// Runner is the plan author's preferred runner group name.
// If set, this runner is used directly at execution time. Conflicts
// with an execution-level runner.
Runner string `json:"runner,omitempty"`
// SelectionHint is a one-line agent-readable description of when to
// pick this plan. Surfaced on tag-list responses so an agent
// scanning the catalog of tagged plans can pick by purpose
// (analogous to how an action's Description carries "what this
// action does"). Free-form prose; aim for one sentence.
SelectionHint string `json:"selectionHint,omitempty"`
// Steps are the action invocations that make up the plan's DAG.
Steps []*PlanStep `json:"steps"`
}
PlanSpec plan spec
swagger:model PlanSpec
func (*PlanSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan spec based on the context it is used
func (*PlanSpec) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*PlanSpec) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type PlanStatus ¶ added in v0.3.8
type PlanStatus struct {
// CompiledFrom is the planID of the source plan, if this plan was produced
// by recompiling an existing plan via POST /plans/{id}/compile.
CompiledFrom string `json:"compiledFrom,omitempty"`
// CreatedAt is when the plan was created. Serialized as RFC3339.
CreatedAt string `json:"createdAt,omitempty"`
// created by
CreatedBy *CreatedBy `json:"createdBy,omitempty"`
// executions
Executions int64 `json:"executions,omitempty"`
// StepDependencies is the step dependency graph, computed from ref expressions.
// Keys are step IDs; values are the step IDs that step depends on.
StepDependencies map[string][]string `json:"stepDependencies,omitempty"`
}
PlanStatus plan status
swagger:model PlanStatus
func (*PlanStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan status based on the context it is used
func (*PlanStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanStep ¶ added in v0.3.8
type PlanStep struct {
// action
Action *PlanStepAction `json:"action,omitempty"`
// args
Args *PlanArgs `json:"args,omitempty"`
// Condition is an expr-lang expression evaluated against the step's resolved
// args. Must evaluate to true for the step to execute.
Condition string `json:"condition,omitempty"`
// ExtraInputs declares additional named inputs for this step beyond
// the action's declared params. These are wired via Args.Refs like
// regular params and become part of the action's eval environment.
ExtraInputs []*PlanField `json:"extraInputs"`
// ExtraOutputs declares additional named outputs for this step beyond
// the action's declared outputs. The action writes these to ./outputs/<name>
// and the runner reads them back according to their schema declarations.
// Names must not shadow the action's declared outputs.
ExtraOutputs []*PlanField `json:"extraOutputs"`
// ID is the unique identifier for this step within the plan.
ID string `json:"id,omitempty"`
// routing context
RoutingContext *PlanRoutingContext `json:"routingContext,omitempty"`
}
PlanStep plan step
swagger:model PlanStep
func (*PlanStep) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan step based on the context it is used
func (*PlanStep) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*PlanStep) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type PlanStepAction ¶ added in v0.3.8
type PlanStepAction struct {
// ActionID is the action's ID. The only field a hand-authored plan
// must set on a step's action; the server hydrates the rest.
ActionID string `json:"actionID,omitempty"`
// Body is the action implementation (markdown with code blocks).
Body string `json:"body,omitempty"`
// extra inputs schema policy
ExtraInputsSchemaPolicy *PlanExtraInputsSchemaPolicy `json:"extraInputsSchemaPolicy,omitempty"`
// image
Image *PlanImageRef `json:"image,omitempty"`
// Name is the action's name at the time the snapshot was taken.
// Display label, not the canonical identifier — ActionID is. At
// create time the snapshot must round-trip the registry (an
// explicitly supplied Name that doesn't match is rejected); at
// execute time the snapshot is honored as-is so renames in the
// registry don't break stored plans. Filled from the registry when
// omitted on input; otherwise preserved as supplied.
Name string `json:"name,omitempty"`
// Outputs are the output fields parsed from the action's body.
Outputs []*PlanField `json:"outputs"`
// Params are the input parameters parsed from the action's body.
Params []*PlanField `json:"params"`
// Revision is the registered action revision the snapshot was taken
// from. Optional on input — set to pin the step to a historical
// revision; otherwise the action's current revision is recorded.
Revision int64 `json:"revision,omitempty"`
// Timeout is a literal wall-clock duration string (parsed via
// time.ParseDuration, e.g. "60s", "5m") parsed from the top-level
// \timeout{"..."} directive. Empty means the system default cap
// applies. Mutually exclusive with TimeoutInputName.
Timeout string `json:"timeout,omitempty"`
// TimeoutInputName names a declared input whose value at run time is
// the duration string. Set when the action declared
// \timeout{{"input":"NAME"}}. Mutually exclusive with Timeout.
TimeoutInputName string `json:"timeoutInputName,omitempty"`
}
PlanStepAction plan step action
swagger:model PlanStepAction
func (*PlanStepAction) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan step action based on the context it is used
func (*PlanStepAction) MarshalBinary ¶ added in v0.3.8
func (m *PlanStepAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanStepAction) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanStepAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanStepInputStatus ¶ added in v0.3.8
type PlanStepInputStatus struct {
// Name is the step input name (action param or extra input).
Name string `json:"name,omitempty"`
// Ref is the ref expression text when ResolvedVia == ref
// (e.g. "params.region", "steps.s1.outputs.token").
Ref string `json:"ref,omitempty"`
// resolved via
ResolvedVia PlansInputResolvedVia `json:"resolvedVia,omitempty"`
}
PlanStepInputStatus plan step input status
swagger:model PlanStepInputStatus
func (*PlanStepInputStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan step input status based on the context it is used
func (*PlanStepInputStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanStepInputStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanStepInputStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanStepInputStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanStepOutputRef ¶ added in v0.3.8
type PlanStepOutputRef struct {
// output name
OutputName string `json:"outputName,omitempty"`
// step ID
StepID string `json:"stepID,omitempty"`
}
PlanStepOutputRef plan step output ref
swagger:model PlanStepOutputRef
func (*PlanStepOutputRef) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan step output ref based on context it is used
func (*PlanStepOutputRef) MarshalBinary ¶ added in v0.3.8
func (m *PlanStepOutputRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanStepOutputRef) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanStepOutputRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanStepOutputStatus ¶ added in v0.3.8
type PlanStepOutputStatus struct {
// artifact
Artifact *PlanArtifactRef `json:"artifact,omitempty"`
// Metadata carries presentation hints (e.g. contentType, displayName).
Metadata map[string]string `json:"metadata,omitempty"`
// Name is the output field name.
Name string `json:"name,omitempty"`
// Value holds the inlined output value (small text/JSON).
Value any `json:"value,omitempty"`
}
PlanStepOutputStatus plan step output status
swagger:model PlanStepOutputStatus
func (*PlanStepOutputStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan step output status based on the context it is used
func (*PlanStepOutputStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanStepOutputStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanStepOutputStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanStepOutputStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanStepStatus ¶ added in v0.3.8
type PlanStepStatus struct {
// Error is a human-readable error message, populated when Phase is failed.
Error string `json:"error,omitempty"`
// ID is the step identifier, matching the corresponding Step.ID in the spec.
ID string `json:"id,omitempty"`
// Inputs records how each of this step's declared inputs was resolved.
// Populated at the transition to running. Mirrors Outputs.
Inputs []*PlanStepInputStatus `json:"inputs"`
// Logs contains the step's captured log streams (stdout, stderr),
// populated when the step reaches a terminal phase.
Logs []*PlanLogStatus `json:"logs"`
// Outputs contains the step's output statuses, populated when Phase is completed.
Outputs []*PlanStepOutputStatus `json:"outputs"`
// phase
Phase PlansStepPhase `json:"phase,omitempty"`
}
PlanStepStatus plan step status
swagger:model PlanStepStatus
func (*PlanStepStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan step status based on the context it is used
func (*PlanStepStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanStepStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanStepStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanStepStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanTag ¶ added in v0.3.8
type PlanTag struct {
// history
History []*TagMapping `json:"history"`
// Name is the unique tag name within the org.
Name string `json:"name,omitempty"`
// plan
Plan *RunnablePlan `json:"plan,omitempty"`
// spec
Spec *PlanTagSpec `json:"spec,omitempty"`
// status
Status *PlanTagStatus `json:"status,omitempty"`
}
PlanTag plan tag
swagger:model PlanTag
func (*PlanTag) ContextValidate ¶ added in v0.3.8
ContextValidate validate this plan tag based on the context it is used
func (*PlanTag) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*PlanTag) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type PlanTagSpec ¶ added in v0.3.8
type PlanTagSpec struct {
// PlanID is the ID of the plan this tag points to.
PlanID string `json:"planID,omitempty"`
}
PlanTagSpec plan tag spec
swagger:model PlanTagSpec
func (*PlanTagSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan tag spec based on context it is used
func (*PlanTagSpec) MarshalBinary ¶ added in v0.3.8
func (m *PlanTagSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanTagSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanTagSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlanTagStatus ¶ added in v0.3.8
type PlanTagStatus struct {
// CreatedAt is when the tag was created. Serialized as RFC3339.
CreatedAt string `json:"createdAt,omitempty"`
// UpdatedAt is when the tag was last updated. Serialized as RFC3339.
UpdatedAt string `json:"updatedAt,omitempty"`
}
PlanTagStatus plan tag status
swagger:model PlanTagStatus
func (*PlanTagStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plan tag status based on context it is used
func (*PlanTagStatus) MarshalBinary ¶ added in v0.3.8
func (m *PlanTagStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlanTagStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *PlanTagStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlansExecutionPhase ¶ added in v0.3.8
type PlansExecutionPhase string
PlansExecutionPhase plans execution phase
swagger:model plans.ExecutionPhase
const ( // PlansExecutionPhasePending captures enum value "pending" PlansExecutionPhasePending PlansExecutionPhase = "pending" // PlansExecutionPhaseDispatching captures enum value "dispatching" PlansExecutionPhaseDispatching PlansExecutionPhase = "dispatching" // PlansExecutionPhaseRunning captures enum value "running" PlansExecutionPhaseRunning PlansExecutionPhase = "running" // PlansExecutionPhaseFinalizing captures enum value "finalizing" PlansExecutionPhaseFinalizing PlansExecutionPhase = "finalizing" // PlansExecutionPhaseCompleted captures enum value "completed" PlansExecutionPhaseCompleted PlansExecutionPhase = "completed" // PlansExecutionPhaseFailed captures enum value "failed" PlansExecutionPhaseFailed PlansExecutionPhase = "failed" // PlansExecutionPhaseCancelled captures enum value "cancelled" PlansExecutionPhaseCancelled PlansExecutionPhase = "cancelled" // PlansExecutionPhaseRedispatchDashNeeded captures enum value "redispatch-needed" PlansExecutionPhaseRedispatchDashNeeded PlansExecutionPhase = "redispatch-needed" )
func NewPlansExecutionPhase ¶ added in v0.3.8
func NewPlansExecutionPhase(value PlansExecutionPhase) *PlansExecutionPhase
func (PlansExecutionPhase) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plans execution phase based on context it is used
func (PlansExecutionPhase) Pointer ¶ added in v0.3.8
func (m PlansExecutionPhase) Pointer() *PlansExecutionPhase
Pointer returns a pointer to a freshly-allocated PlansExecutionPhase.
type PlansInputResolvedVia ¶ added in v0.3.8
type PlansInputResolvedVia string
PlansInputResolvedVia plans input resolved via
swagger:model plans.InputResolvedVia
const ( // PlansInputResolvedViaLiteral captures enum value "literal" PlansInputResolvedViaLiteral PlansInputResolvedVia = "literal" // PlansInputResolvedViaCallerSecret captures enum value "callerSecret" PlansInputResolvedViaCallerSecret PlansInputResolvedVia = "callerSecret" // PlansInputResolvedViaRef captures enum value "ref" PlansInputResolvedViaRef PlansInputResolvedVia = "ref" // PlansInputResolvedViaDefault captures enum value "default" PlansInputResolvedViaDefault PlansInputResolvedVia = "default" // PlansInputResolvedViaUnbound captures enum value "unbound" PlansInputResolvedViaUnbound PlansInputResolvedVia = "unbound" )
func NewPlansInputResolvedVia ¶ added in v0.3.8
func NewPlansInputResolvedVia(value PlansInputResolvedVia) *PlansInputResolvedVia
func (PlansInputResolvedVia) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plans input resolved via based on context it is used
func (PlansInputResolvedVia) Pointer ¶ added in v0.3.8
func (m PlansInputResolvedVia) Pointer() *PlansInputResolvedVia
Pointer returns a pointer to a freshly-allocated PlansInputResolvedVia.
type PlansStepPhase ¶ added in v0.3.8
type PlansStepPhase string
PlansStepPhase plans step phase
swagger:model plans.StepPhase
const ( // PlansStepPhaseInit captures enum value "init" PlansStepPhaseInit PlansStepPhase = "init" // PlansStepPhaseWaiting captures enum value "waiting" PlansStepPhaseWaiting PlansStepPhase = "waiting" // PlansStepPhaseRunning captures enum value "running" PlansStepPhaseRunning PlansStepPhase = "running" // PlansStepPhaseCompleted captures enum value "completed" PlansStepPhaseCompleted PlansStepPhase = "completed" // PlansStepPhaseFailed captures enum value "failed" PlansStepPhaseFailed PlansStepPhase = "failed" // PlansStepPhaseSkipped captures enum value "skipped" PlansStepPhaseSkipped PlansStepPhase = "skipped" )
func NewPlansStepPhase ¶ added in v0.3.8
func NewPlansStepPhase(value PlansStepPhase) *PlansStepPhase
func (PlansStepPhase) ContextValidate ¶ added in v0.3.8
ContextValidate validates this plans step phase based on context it is used
func (PlansStepPhase) Pointer ¶ added in v0.3.8
func (m PlansStepPhase) Pointer() *PlansStepPhase
Pointer returns a pointer to a freshly-allocated PlansStepPhase.
type RequestDiff ¶ added in v0.3.8
type RequestDiff struct {
// baseline
Baseline *CaptureRequest `json:"baseline,omitempty"`
// diff ops
DiffOps []*DiffOp `json:"diffOps"`
// target
Target *CaptureRequest `json:"target,omitempty"`
}
RequestDiff request diff
swagger:model RequestDiff
func (*RequestDiff) ContextValidate ¶ added in v0.3.8
ContextValidate validate this request diff based on the context it is used
func (*RequestDiff) MarshalBinary ¶ added in v0.3.8
func (m *RequestDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestDiff) UnmarshalBinary ¶ added in v0.3.8
func (m *RequestDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceInfo ¶ added in v0.3.7
type ResourceInfo struct {
// Cluster that the resource is created in
Cluster string `json:"cluster,omitempty"`
// Name of the created resource
Name string `json:"name,omitempty"`
// Name of the sandbox containing the resource
Sandbox string `json:"sandbox,omitempty"`
}
ResourceInfo resource info
swagger:model ResourceInfo
func (*ResourceInfo) ContextValidate ¶ added in v0.3.7
ContextValidate validates this resource info based on context it is used
func (*ResourceInfo) MarshalBinary ¶ added in v0.3.7
func (m *ResourceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceInfo) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcePlugin ¶ added in v0.3.7
type ResourcePlugin struct {
// The time at which the resource plugin was created
CreatedAt string `json:"createdAt,omitempty"`
// Plugin identity of the form `bareName[@semver]`. The bare-name
// form (no `@`) means the default version (0.0.0); responses
// for plugins at the default version use this bare form for
// backward compatibility with pre-versioning clients.
// Example: my-plugin@1.2.0
Name string `json:"name,omitempty"`
// spec
Spec *ResourcepluginSpec `json:"spec,omitempty"`
// status
Status *ResourcepluginStatus `json:"status,omitempty"`
// The time at which the resource plugin was last updated
UpdatedAt string `json:"updatedAt,omitempty"`
}
ResourcePlugin resource plugin
swagger:model ResourcePlugin
func (*ResourcePlugin) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resource plugin based on the context it is used
func (*ResourcePlugin) MarshalBinary ¶ added in v0.3.7
func (m *ResourcePlugin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcePlugin) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcePlugin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginRunner ¶ added in v0.3.7
type ResourcepluginRunner struct {
// Image for the runner instance
Image string `json:"image,omitempty"`
// Namespace to create this runner instance in
Namespace string `json:"namespace,omitempty"`
// Pod template overlay
PodTemplateOverlay string `json:"podTemplateOverlay,omitempty"`
}
ResourcepluginRunner resourceplugin runner
swagger:model resourceplugin.Runner
func (*ResourcepluginRunner) ContextValidate ¶ added in v0.3.7
ContextValidate validates this resourceplugin runner based on context it is used
func (*ResourcepluginRunner) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginRunner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginRunner) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginRunner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginSpec ¶ added in v0.3.7
type ResourcepluginSpec struct {
// Create refers to the `create` steps for spinning up the resource
Create []*ResourcepluginStep `json:"create"`
// Delete refers to the `delete` steps for spinning up the resource
Delete []*ResourcepluginStep `json:"delete"`
// Description for the resource
Description string `json:"description,omitempty"`
// runner
Runner *ResourcepluginRunner `json:"runner,omitempty"`
}
ResourcepluginSpec resourceplugin spec
swagger:model resourceplugin.Spec
func (*ResourcepluginSpec) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resourceplugin spec based on the context it is used
func (*ResourcepluginSpec) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginSpec) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStatus ¶ added in v0.3.7
type ResourcepluginStatus struct {
// Resources created using the resource plugin
Resources []*ResourceInfo `json:"resources"`
}
ResourcepluginStatus resourceplugin status
swagger:model resourceplugin.Status
func (*ResourcepluginStatus) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resourceplugin status based on the context it is used
func (*ResourcepluginStatus) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStatus) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStep ¶ added in v0.3.7
type ResourcepluginStep struct {
// Inputs for the step
Inputs []*ResourcepluginStepInput `json:"inputs"`
// Name for the step
Name string `json:"name,omitempty"`
// Outputs for the step
Outputs []*ResourcepluginStepOut `json:"outputs"`
// Script to execute in the step
Script string `json:"script,omitempty"`
}
ResourcepluginStep resourceplugin step
swagger:model resourceplugin.Step
func (*ResourcepluginStep) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resourceplugin step based on the context it is used
func (*ResourcepluginStep) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStep) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStep) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStep) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStepInput ¶ added in v0.3.7
type ResourcepluginStepInput struct {
// as
As *ResourcepluginStepInputTo `json:"as,omitempty"`
// Name for the input
Name string `json:"name,omitempty"`
// Type of input
Type string `json:"type,omitempty"`
// ValueFromSandbox defines whether or not to source value from the sandbox spec
ValueFromSandbox bool `json:"valueFromSandbox,omitempty"`
// value from step
ValueFromStep *ResourcepluginValueFromStep `json:"valueFromStep,omitempty"`
}
ResourcepluginStepInput resourceplugin step input
swagger:model resourceplugin.StepInput
func (*ResourcepluginStepInput) ContextValidate ¶ added in v0.3.7
func (m *ResourcepluginStepInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this resourceplugin step input based on the context it is used
func (*ResourcepluginStepInput) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStepInput) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStepInputTo ¶ added in v0.3.7
type ResourcepluginStepInputTo struct {
// Inject the input as an env variable with name Env inside the
// main container
Env string `json:"env,omitempty"`
// Expose the input as a file at Path inside the main container
Path string `json:"path,omitempty"`
}
ResourcepluginStepInputTo resourceplugin step input to
swagger:model resourceplugin.StepInputTo
func (*ResourcepluginStepInputTo) ContextValidate ¶ added in v0.3.7
func (m *ResourcepluginStepInputTo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this resourceplugin step input to based on context it is used
func (*ResourcepluginStepInputTo) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInputTo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStepInputTo) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInputTo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStepOut ¶ added in v0.3.7
type ResourcepluginStepOut struct {
// Description for the output
Description string `json:"description,omitempty"`
// Name of the output variable
Name string `json:"name,omitempty"`
// Type of output
Type string `json:"type,omitempty"`
// Path within the main container from where the output will be read
ValueFromPath string `json:"valueFromPath,omitempty"`
}
ResourcepluginStepOut resourceplugin step out
swagger:model resourceplugin.StepOut
func (*ResourcepluginStepOut) ContextValidate ¶ added in v0.3.7
ContextValidate validates this resourceplugin step out based on context it is used
func (*ResourcepluginStepOut) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepOut) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStepOut) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepOut) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginValueFromStep ¶ added in v0.3.7
type ResourcepluginValueFromStep struct {
// Name of the step
Name string `json:"name,omitempty"`
// Name of the variable from the step
Output string `json:"output,omitempty"`
}
ResourcepluginValueFromStep resourceplugin value from step
swagger:model resourceplugin.ValueFromStep
func (*ResourcepluginValueFromStep) ContextValidate ¶ added in v0.3.7
func (m *ResourcepluginValueFromStep) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this resourceplugin value from step based on context it is used
func (*ResourcepluginValueFromStep) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginValueFromStep) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginValueFromStep) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginValueFromStep) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseDiff ¶ added in v0.3.8
type ResponseDiff struct {
// baseline
Baseline *CaptureResponse `json:"baseline,omitempty"`
// diff ops
DiffOps []*DiffOp `json:"diffOps"`
// target
Target *CaptureResponse `json:"target,omitempty"`
}
ResponseDiff response diff
swagger:model ResponseDiff
func (*ResponseDiff) ContextValidate ¶ added in v0.3.8
ContextValidate validate this response diff based on the context it is used
func (*ResponseDiff) MarshalBinary ¶ added in v0.3.8
func (m *ResponseDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseDiff) UnmarshalBinary ¶ added in v0.3.8
func (m *ResponseDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroup ¶ added in v0.3.6
type RouteGroup struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// defaults
Defaults *DefaultsCompositeDefaults `json:"defaults,omitempty"`
// endpoints
Endpoints []*RoutegroupsEndpointURL `json:"endpoints,omitempty"`
// name
Name string `json:"name,omitempty"`
// routing key
RoutingKey string `json:"routingKey,omitempty"`
// spec
Spec *RouteGroupSpec `json:"spec,omitempty"`
// status
Status *RouteGroupStatus `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
RouteGroup route group
swagger:model RouteGroup
func (*RouteGroup) ContextValidate ¶ added in v0.3.6
ContextValidate validate this route group based on the context it is used
func (*RouteGroup) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroup) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupMatch ¶ added in v0.3.6
type RouteGroupMatch struct {
// When All is non-nil, T matches a set of labels if and only if every element of All matches them.
// Only one field may be non-nil.
All []*RouteGroupMatch `json:"all,omitempty"`
// When Any is non-nil, T matches a set of labels if and only if some element of Any matches them.
// Only one field may be non-nil.
Any []*RouteGroupMatch `json:"any,omitempty"`
// label
Label *RouteGroupMatchLabel `json:"label,omitempty"`
}
RouteGroupMatch route group match
swagger:model routeGroup.Match
func (*RouteGroupMatch) ContextValidate ¶ added in v0.3.6
ContextValidate validate this route group match based on the context it is used
func (*RouteGroupMatch) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupMatch) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupMatchLabel ¶ added in v0.3.6
type RouteGroupMatchLabel struct {
// Key is an exact match on a label key, glob
// characters are just considered normal characters.
Key string `json:"key,omitempty"`
// Value is a glob match for the value of a
// sandbox label. See https://pkg.go.dev/path/filepath#Match
// for the file glob syntax.
Value string `json:"value,omitempty"`
}
RouteGroupMatchLabel route group match label
swagger:model routeGroup.MatchLabel
func (*RouteGroupMatchLabel) ContextValidate ¶ added in v0.3.6
ContextValidate validates this route group match label based on context it is used
func (*RouteGroupMatchLabel) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatchLabel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupMatchLabel) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatchLabel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupSpec ¶ added in v0.3.6
type RouteGroupSpec struct {
// Cluster gives the cluster to which the route group applies.
// If left empty, this RG will become a multi-cluster RG..
Cluster string `json:"cluster,omitempty"`
// Description provides a short description of the route group.
Description string `json:"description,omitempty"`
// Endpoints define endpoints which target different in-cluster
// services.
Endpoints []*RoutegroupsEndpoint `json:"endpoints"`
// match
Match *RouteGroupMatch `json:"match,omitempty"`
// ttl
TTL *RouteGroupTTL `json:"ttl,omitempty"`
}
RouteGroupSpec route group spec
swagger:model routeGroup.Spec
func (*RouteGroupSpec) ContextValidate ¶ added in v0.3.6
ContextValidate validate this route group spec based on the context it is used
func (*RouteGroupSpec) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupSpec) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupStatus ¶ added in v0.3.6
type RouteGroupStatus struct {
// MatchedSandboxes gives the list of sandboxes whose labels
// were matched by the 'match' object in the spec.
MatchedSandboxes []string `json:"matchedSandboxes"`
// Message is a human readable explanation of why
// the sandbox is healthy or not.
Message string `json:"message,omitempty"`
// Ready indicates whether the sandbox is ready,
// meaning that it can be used for testing.
Ready bool `json:"ready,omitempty"`
// Reason is a machine readable explanation of why
// the sandbox is healthy or not.
Reason string `json:"reason,omitempty"`
// ScheduledDeleteTime returns the formatted and computed ttl based on the Duration
// and OffsetFrom
ScheduledDeleteTime string `json:"scheduledDeleteTime,omitempty"`
}
RouteGroupStatus route group status
swagger:model routeGroup.Status
func (*RouteGroupStatus) ContextValidate ¶ added in v0.3.6
ContextValidate validates this route group status based on context it is used
func (*RouteGroupStatus) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupStatus) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupTTL ¶ added in v0.3.8
type RouteGroupTTL struct {
// Duration represents the duration until routegroup's end of life.
// It should be an unsigned integer not exceeding 32 bits followed by
// a units character, which can be one of the following.
// - 'm' for minutes
// - 'h' for hours
// - 'd' for days
// - 'w' for weeks
Duration string `json:"duration,omitempty"`
// OffsetFrom indicates what the Duration is relative to. It
// may be the empty string, "noMatchedSandboxes", "createdAt" or "updatedAt". The empty string
// defaults to meaning "noMatchedSandboxes".
OffsetFrom string `json:"offsetFrom,omitempty"`
}
RouteGroupTTL route group TTL
swagger:model routeGroup.TTL
func (*RouteGroupTTL) ContextValidate ¶ added in v0.3.8
ContextValidate validates this route group TTL based on context it is used
func (*RouteGroupTTL) MarshalBinary ¶ added in v0.3.8
func (m *RouteGroupTTL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupTTL) UnmarshalBinary ¶ added in v0.3.8
func (m *RouteGroupTTL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoutegroupsEndpoint ¶ added in v0.3.8
type RoutegroupsEndpoint struct {
// cluster
Cluster string `json:"cluster,omitempty"`
// name
Name string `json:"name,omitempty"`
// target
Target string `json:"target,omitempty"`
}
RoutegroupsEndpoint routegroups endpoint
swagger:model routegroups.Endpoint
func (*RoutegroupsEndpoint) ContextValidate ¶ added in v0.3.8
ContextValidate validates this routegroups endpoint based on context it is used
func (*RoutegroupsEndpoint) MarshalBinary ¶ added in v0.3.8
func (m *RoutegroupsEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoutegroupsEndpoint) UnmarshalBinary ¶ added in v0.3.8
func (m *RoutegroupsEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoutegroupsEndpointURL ¶ added in v0.3.8
type RoutegroupsEndpointURL struct {
// cluster
Cluster string `json:"cluster,omitempty"`
// name
Name string `json:"name,omitempty"`
// target
Target string `json:"target,omitempty"`
// url
URL string `json:"url,omitempty"`
}
RoutegroupsEndpointURL routegroups endpoint URL
swagger:model routegroups.EndpointURL
func (*RoutegroupsEndpointURL) ContextValidate ¶ added in v0.3.8
func (m *RoutegroupsEndpointURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this routegroups endpoint URL based on context it is used
func (*RoutegroupsEndpointURL) MarshalBinary ¶ added in v0.3.8
func (m *RoutegroupsEndpointURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoutegroupsEndpointURL) UnmarshalBinary ¶ added in v0.3.8
func (m *RoutegroupsEndpointURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoutingTarget ¶ added in v0.3.8
type RoutingTarget struct {
// RouteGroup is the name of the target route group.
RouteGroup string `json:"routeGroup,omitempty"`
// RoutingKey is the routing key used to direct traffic.
RoutingKey string `json:"routingKey,omitempty"`
// Sandbox is the name of the target sandbox.
Sandbox string `json:"sandbox,omitempty"`
}
RoutingTarget routing target
swagger:model RoutingTarget
func (*RoutingTarget) ContextValidate ¶ added in v0.3.8
ContextValidate validates this routing target based on context it is used
func (*RoutingTarget) MarshalBinary ¶ added in v0.3.8
func (m *RoutingTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoutingTarget) UnmarshalBinary ¶ added in v0.3.8
func (m *RoutingTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoutingTargetRef ¶ added in v0.3.8
type RoutingTargetRef struct {
// AnyRef is a reference to a plan param whose value is a RoutingTarget
// (polymorphic — the caller decides sandbox, routeGroup, or routingKey).
AnyRef string `json:"anyRef,omitempty"`
// RouteGroupRef is a reference expression that resolves to a route group name.
RouteGroupRef string `json:"routeGroupRef,omitempty"`
// RoutingKeyRef is a reference expression that resolves to a routing key.
RoutingKeyRef string `json:"routingKeyRef,omitempty"`
// SandboxRef is a reference expression that resolves to a sandbox name.
SandboxRef string `json:"sandboxRef,omitempty"`
}
RoutingTargetRef routing target ref
swagger:model RoutingTargetRef
func (*RoutingTargetRef) ContextValidate ¶ added in v0.3.8
ContextValidate validates this routing target ref based on context it is used
func (*RoutingTargetRef) MarshalBinary ¶ added in v0.3.8
func (m *RoutingTargetRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoutingTargetRef) UnmarshalBinary ¶ added in v0.3.8
func (m *RoutingTargetRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RunnablePlan ¶ added in v0.3.8
type RunnablePlan struct {
// id
ID string `json:"id,omitempty"`
// spec
Spec *PlanSpec `json:"spec,omitempty"`
// status
Status *PlanStatus `json:"status,omitempty"`
}
RunnablePlan runnable plan
swagger:model RunnablePlan
func (*RunnablePlan) ContextValidate ¶ added in v0.3.8
ContextValidate validate this runnable plan based on the context it is used
func (*RunnablePlan) MarshalBinary ¶ added in v0.3.8
func (m *RunnablePlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RunnablePlan) UnmarshalBinary ¶ added in v0.3.8
func (m *RunnablePlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Sandbox ¶ added in v0.2.0
type Sandbox struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// defaults
Defaults *DefaultsCompositeDefaults `json:"defaults,omitempty"`
// endpoints
Endpoints []*SandboxEndpoint `json:"endpoints"`
// Human-readable name of this sandbox
Name string `json:"name,omitempty"`
// routing key
RoutingKey string `json:"routingKey,omitempty"`
// spec
Spec *SandboxSpec `json:"spec,omitempty"`
// status
Status *SandboxReadiness `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
Sandbox sandbox
swagger:model Sandbox
func (*Sandbox) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox based on the context it is used
func (*Sandbox) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (*Sandbox) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
type SandboxConnectionStatus ¶ added in v0.3.8
type SandboxConnectionStatus struct {
// Machine to which local mappings in this sandbox may be linked.
Devbox string `json:"devbox,omitempty"`
// session
Session *ConnectSession `json:"session,omitempty"`
}
SandboxConnectionStatus sandbox connection status
swagger:model sandbox.ConnectionStatus
func (*SandboxConnectionStatus) ContextValidate ¶ added in v0.3.8
func (m *SandboxConnectionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox connection status based on the context it is used
func (*SandboxConnectionStatus) MarshalBinary ¶ added in v0.3.8
func (m *SandboxConnectionStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxConnectionStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxConnectionStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxCustomPatch ¶ added in v0.2.0
type SandboxCustomPatch struct {
// type
Type SandboxesPatchType `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
}
SandboxCustomPatch sandbox custom patch
swagger:model sandbox.CustomPatch
func (*SandboxCustomPatch) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox custom patch based on the context it is used
func (*SandboxCustomPatch) MarshalBinary ¶ added in v0.2.0
func (m *SandboxCustomPatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxCustomPatch) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxCustomPatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxCustomizations ¶
type SandboxCustomizations struct {
// Environment variable modifications that will be applied to the forked workload
Env []*SandboxEnvVar `json:"env"`
// One or more docker images that will be applied to the forked workload
Images []*SandboxImage `json:"images"`
// patch
Patch *SandboxCustomPatch `json:"patch,omitempty"`
}
SandboxCustomizations sandbox customizations
swagger:model sandbox.Customizations
func (*SandboxCustomizations) ContextValidate ¶
ContextValidate validate this sandbox customizations based on the context it is used
func (*SandboxCustomizations) MarshalBinary ¶
func (m *SandboxCustomizations) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxCustomizations) UnmarshalBinary ¶
func (m *SandboxCustomizations) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxDefaultRouteGroup ¶ added in v0.3.6
type SandboxDefaultRouteGroup struct {
// endpoints
Endpoints []*EndpointsEndpoint `json:"endpoints"`
}
SandboxDefaultRouteGroup sandbox default route group
swagger:model sandbox.DefaultRouteGroup
func (*SandboxDefaultRouteGroup) ContextValidate ¶ added in v0.3.6
func (m *SandboxDefaultRouteGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox default route group based on the context it is used
func (*SandboxDefaultRouteGroup) MarshalBinary ¶ added in v0.3.6
func (m *SandboxDefaultRouteGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxDefaultRouteGroup) UnmarshalBinary ¶ added in v0.3.6
func (m *SandboxDefaultRouteGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEndpoint ¶
type SandboxEndpoint struct {
// baseline Url
BaselineURL string `json:"baselineUrl,omitempty"`
// host
Host string `json:"host,omitempty"`
// name
Name string `json:"name,omitempty"`
// port
Port int64 `json:"port,omitempty"`
// protocol
Protocol string `json:"protocol,omitempty"`
// route type
RouteType string `json:"routeType,omitempty"`
// target
Target string `json:"target,omitempty"`
// url
URL string `json:"url,omitempty"`
}
SandboxEndpoint sandbox endpoint
swagger:model sandbox.Endpoint
func (*SandboxEndpoint) ContextValidate ¶
ContextValidate validates this sandbox endpoint based on context it is used
func (*SandboxEndpoint) MarshalBinary ¶
func (m *SandboxEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEndpoint) UnmarshalBinary ¶
func (m *SandboxEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFrom ¶ added in v0.2.0
type SandboxEnvValueFrom struct {
// config map
ConfigMap *SandboxEnvValueFromMap `json:"configMap,omitempty"`
// fork
Fork *SandboxEnvValueFromFork `json:"fork,omitempty"`
// resource
Resource *SandboxEnvValueFromResource `json:"resource,omitempty"`
// secret
Secret *SandboxEnvValueFromMap `json:"secret,omitempty"`
}
SandboxEnvValueFrom sandbox env value from
swagger:model sandbox.EnvValueFrom
func (*SandboxEnvValueFrom) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox env value from based on the context it is used
func (*SandboxEnvValueFrom) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFrom) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFrom) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFrom) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFromFork ¶ added in v0.2.0
type SandboxEnvValueFromFork struct {
// expression
Expression string `json:"expression,omitempty"`
// fork of
ForkOf *SandboxForkOf `json:"forkOf,omitempty"`
}
SandboxEnvValueFromFork sandbox env value from fork
swagger:model sandbox.EnvValueFromFork
func (*SandboxEnvValueFromFork) ContextValidate ¶ added in v0.2.0
func (m *SandboxEnvValueFromFork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox env value from fork based on the context it is used
func (*SandboxEnvValueFromFork) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromFork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFromFork) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromFork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFromMap ¶ added in v0.3.8
type SandboxEnvValueFromMap struct {
// key
Key string `json:"key,omitempty"`
// name
Name string `json:"name,omitempty"`
// optional
Optional bool `json:"optional,omitempty"`
}
SandboxEnvValueFromMap sandbox env value from map
swagger:model sandbox.EnvValueFromMap
func (*SandboxEnvValueFromMap) ContextValidate ¶ added in v0.3.8
func (m *SandboxEnvValueFromMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox env value from map based on context it is used
func (*SandboxEnvValueFromMap) MarshalBinary ¶ added in v0.3.8
func (m *SandboxEnvValueFromMap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFromMap) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxEnvValueFromMap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFromResource ¶ added in v0.2.0
type SandboxEnvValueFromResource struct {
// name
Name string `json:"name,omitempty"`
// output key
OutputKey string `json:"outputKey,omitempty"`
}
SandboxEnvValueFromResource sandbox env value from resource
swagger:model sandbox.EnvValueFromResource
func (*SandboxEnvValueFromResource) ContextValidate ¶ added in v0.2.0
func (m *SandboxEnvValueFromResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox env value from resource based on context it is used
func (*SandboxEnvValueFromResource) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFromResource) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvVar ¶ added in v0.2.0
type SandboxEnvVar struct {
// name of container to which it applies
Container string `json:"container,omitempty"`
// environmental variable name
Name string `json:"name,omitempty"`
// operation
Operation SandboxesEnvOpName `json:"operation,omitempty"`
// environmental variable value
Value string `json:"value,omitempty"`
// value from
ValueFrom *SandboxEnvValueFrom `json:"valueFrom,omitempty"`
}
SandboxEnvVar sandbox env var
swagger:model sandbox.EnvVar
func (*SandboxEnvVar) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox env var based on the context it is used
func (*SandboxEnvVar) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvVar) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvVar) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvVar) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxFileOp ¶ added in v0.3.8
type SandboxFileOp struct {
// path
Path string `json:"path,omitempty"`
// value
Value string `json:"value,omitempty"`
// value from
ValueFrom *SandboxFileSource `json:"valueFrom,omitempty"`
}
SandboxFileOp sandbox file op
swagger:model sandbox.FileOp
func (*SandboxFileOp) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandbox file op based on the context it is used
func (*SandboxFileOp) MarshalBinary ¶ added in v0.3.8
func (m *SandboxFileOp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxFileOp) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxFileOp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxFileSource ¶ added in v0.3.8
type SandboxFileSource struct {
// config map
ConfigMap *SandboxFileSourceMap `json:"configMap,omitempty"`
// resource
Resource *SandboxFileSourceResource `json:"resource,omitempty"`
// secret
Secret *SandboxFileSourceMap `json:"secret,omitempty"`
}
SandboxFileSource sandbox file source
swagger:model sandbox.FileSource
func (*SandboxFileSource) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandbox file source based on the context it is used
func (*SandboxFileSource) MarshalBinary ¶ added in v0.3.8
func (m *SandboxFileSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxFileSource) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxFileSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxFileSourceMap ¶ added in v0.3.8
type SandboxFileSourceMap struct {
// key
Key string `json:"key,omitempty"`
// name
Name string `json:"name,omitempty"`
// optional
Optional bool `json:"optional,omitempty"`
}
SandboxFileSourceMap sandbox file source map
swagger:model sandbox.FileSourceMap
func (*SandboxFileSourceMap) ContextValidate ¶ added in v0.3.8
ContextValidate validates this sandbox file source map based on context it is used
func (*SandboxFileSourceMap) MarshalBinary ¶ added in v0.3.8
func (m *SandboxFileSourceMap) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxFileSourceMap) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxFileSourceMap) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxFileSourceResource ¶ added in v0.3.8
type SandboxFileSourceResource struct {
// name
Name string `json:"name,omitempty"`
// output key
OutputKey string `json:"outputKey,omitempty"`
}
SandboxFileSourceResource sandbox file source resource
swagger:model sandbox.FileSourceResource
func (*SandboxFileSourceResource) ContextValidate ¶ added in v0.3.8
func (m *SandboxFileSourceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox file source resource based on context it is used
func (*SandboxFileSourceResource) MarshalBinary ¶ added in v0.3.8
func (m *SandboxFileSourceResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxFileSourceResource) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxFileSourceResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxFork ¶
type SandboxFork struct {
// customizations
Customizations *SandboxCustomizations `json:"customizations,omitempty"`
// Deprecated. Use defaultRouteGroup.Endpoints instead.
Endpoints []*SandboxForkEndpoint `json:"endpoints"`
// fork of
ForkOf *SandboxForkOf `json:"forkOf,omitempty"`
// name
Name string `json:"name,omitempty"`
}
SandboxFork sandbox fork
swagger:model sandbox.Fork
func (*SandboxFork) ContextValidate ¶
ContextValidate validate this sandbox fork based on the context it is used
func (*SandboxFork) MarshalBinary ¶
func (m *SandboxFork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxFork) UnmarshalBinary ¶
func (m *SandboxFork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxForkEndpoint ¶ added in v0.2.0
type SandboxForkEndpoint struct {
// Name of the endpoint
Name string `json:"name,omitempty"`
// Port it will map to on the forked workload
Port int64 `json:"port,omitempty"`
// Protocol that this endpoint uses
Protocol string `json:"protocol,omitempty"`
}
SandboxForkEndpoint sandbox fork endpoint
swagger:model sandbox.ForkEndpoint
func (*SandboxForkEndpoint) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox fork endpoint based on context it is used
func (*SandboxForkEndpoint) MarshalBinary ¶ added in v0.2.0
func (m *SandboxForkEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxForkEndpoint) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxForkEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxForkOf ¶ added in v0.2.0
type SandboxForkOf struct {
// Kind of the baseline workload.
// Example: Deployment
// Required: true
Kind *string `json:"kind"`
// Name of the entity within the Kubernetes cluster.
// Example: my-frontend
// Required: true
Name *string `json:"name"`
// Namespace within which the entity lives in the Kubernetes cluster.
// Example: default
// Required: true
Namespace *string `json:"namespace"`
}
SandboxForkOf sandbox fork of
swagger:model sandbox.ForkOf
func (*SandboxForkOf) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox fork of based on context it is used
func (*SandboxForkOf) MarshalBinary ¶ added in v0.2.0
func (m *SandboxForkOf) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxForkOf) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxForkOf) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxHostEndpoint ¶ added in v0.2.0
type SandboxHostEndpoint struct {
// Hostname that this endpoint points to
Host string `json:"host,omitempty"`
// Name of the endpoint
Name string `json:"name,omitempty"`
// Port it will map to on the specified host
Port int64 `json:"port,omitempty"`
// Protocol that this endpoint uses
Protocol string `json:"protocol,omitempty"`
}
SandboxHostEndpoint sandbox host endpoint
swagger:model sandbox.HostEndpoint
func (*SandboxHostEndpoint) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox host endpoint based on context it is used
func (*SandboxHostEndpoint) MarshalBinary ¶ added in v0.2.0
func (m *SandboxHostEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxHostEndpoint) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxHostEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxImage ¶ added in v0.2.0
type SandboxImage struct {
// Container is the container this image must apply to in the forked workload
Container string `json:"container,omitempty"`
// Name of the image (e.g. gcr.io/my-image/repo:my-tag)
Image string `json:"image,omitempty"`
}
SandboxImage sandbox image
swagger:model sandbox.Image
func (*SandboxImage) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox image based on context it is used
func (*SandboxImage) MarshalBinary ¶ added in v0.2.0
func (m *SandboxImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxImage) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxLocalWorkloadStatus ¶ added in v0.3.8
type SandboxLocalWorkloadStatus struct {
// name
Name string `json:"name,omitempty"`
// tunnel
Tunnel *SandboxTunnelStatus `json:"tunnel,omitempty"`
}
SandboxLocalWorkloadStatus sandbox local workload status
swagger:model sandbox.LocalWorkloadStatus
func (*SandboxLocalWorkloadStatus) ContextValidate ¶ added in v0.3.8
func (m *SandboxLocalWorkloadStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox local workload status based on the context it is used
func (*SandboxLocalWorkloadStatus) MarshalBinary ¶ added in v0.3.8
func (m *SandboxLocalWorkloadStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxLocalWorkloadStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxLocalWorkloadStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxReadiness ¶ added in v0.2.0
type SandboxReadiness struct {
// connection
Connection *SandboxConnectionStatus `json:"connection,omitempty"`
// Forwards status
Forwards []*SandboxesForwardStatus `json:"forwards"`
// jobs
Jobs *SandboxesJobsSummary `json:"jobs,omitempty"`
// Local mappings status
Local []*SandboxLocalWorkloadStatus `json:"local"`
// Message is a human readable explanation of why
// the sandbox is healthy or not.
Message string `json:"message,omitempty"`
// Ready indicates whether the sandbox is ready,
// meaning that it can be used for testing.
Ready bool `json:"ready,omitempty"`
// Reason is a machine readable explanation of why
// the sandbox is healthy or not.
Reason string `json:"reason,omitempty"`
// ScheduledDeleteTime returns the formatted and computed ttl based on the Duration
// and OffsetFrom
ScheduledDeleteTime string `json:"scheduledDeleteTime,omitempty"`
// test executions
TestExecutions *SandboxTestExecutionsSummary `json:"testExecutions,omitempty"`
}
SandboxReadiness sandbox readiness
swagger:model sandbox.Readiness
func (*SandboxReadiness) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox readiness based on the context it is used
func (*SandboxReadiness) MarshalBinary ¶ added in v0.2.0
func (m *SandboxReadiness) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxReadiness) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxReadiness) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxResource ¶
type SandboxResource struct {
// Unique name for this resource (used to reference it in env vars and files)
Name string `json:"name,omitempty"`
// Plugin-specific parameters as key-value pairs
Params map[string]string `json:"params,omitempty"`
// Plugin name, optionally suffixed with @version (e.g. my-plugin@1.2.0)
Plugin string `json:"plugin,omitempty"`
}
SandboxResource sandbox resource
swagger:model sandbox.Resource
func (*SandboxResource) ContextValidate ¶
ContextValidate validates this sandbox resource based on context it is used
func (*SandboxResource) MarshalBinary ¶
func (m *SandboxResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxResource) UnmarshalBinary ¶
func (m *SandboxResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxSpec ¶ added in v0.2.0
type SandboxSpec struct {
// Cluster within which this sandbox should be created
// Required: true
Cluster *string `json:"cluster"`
// connection
Connection *Connection `json:"connection,omitempty"`
// default route group
DefaultRouteGroup *SandboxDefaultRouteGroup `json:"defaultRouteGroup,omitempty"`
// Description of the purpose of this sandbox
Description string `json:"description,omitempty"`
// DisableSandboxTrafficManager provides a way of turning off the sandbox
// traffic manager for forks in this sandbox.
// Deprecated in operators since v1.1. The sandbox traffic manager has been
// retired.
DisableSandboxTrafficManager bool `json:"disableSandboxTrafficManager,omitempty"`
// Deprecated. Use defaultRouteGroup.Endpoints instead.
Endpoints []*SandboxHostEndpoint `json:"endpoints"`
// Forks is the specification of each forked entity
// Required: true
Forks []*SandboxFork `json:"forks"`
// Labels are used to specify metadata associated with the sandbox as key-value pairs.
Labels map[string]string `json:"labels,omitempty"`
// Local Workloads
Local []*Local `json:"local"`
// Identifier of the machine from where a sandbox containing local workloads
// was created or is intended to be ran
LocalMachineID string `json:"localMachineID,omitempty"`
// Request Middleware
Middleware []*SandboxesMiddleware `json:"middleware"`
// Resources specifies each required resource to spin up the sandbox
Resources []*SandboxResource `json:"resources"`
// routing
Routing *SandboxesRouting `json:"routing,omitempty"`
// ttl
TTL *SandboxTTL `json:"ttl,omitempty"`
// Virtual Workloads
Virtual []*Virtual `json:"virtual"`
}
SandboxSpec sandbox spec
swagger:model sandbox.Spec
func (*SandboxSpec) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox spec based on the context it is used
func (*SandboxSpec) MarshalBinary ¶ added in v0.2.0
func (m *SandboxSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxSpec) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTTL ¶ added in v0.3.5
type SandboxTTL struct {
// Duration represents the duration until sandbox end of life.
// It should be an unsigned integer not exceeding 32 bits followed by
// a units character, which can be one of the following.
// - 'm' for minutes
// - 'h' for hours
// - 'd' for days
// - 'w' for weeks
Duration string `json:"duration,omitempty"`
// OffsetFrom indicates what the Duration is relative to. It
// may be the empty string, "createdAt" or "updatedAt". The empty string
// defaults to meaning "createdAt".
OffsetFrom string `json:"offsetFrom,omitempty"`
}
SandboxTTL sandbox TTL
swagger:model sandbox.TTL
func (*SandboxTTL) ContextValidate ¶ added in v0.3.5
ContextValidate validates this sandbox TTL based on context it is used
func (*SandboxTTL) MarshalBinary ¶ added in v0.3.5
func (m *SandboxTTL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTTL) UnmarshalBinary ¶ added in v0.3.5
func (m *SandboxTTL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTestExecutionsSummary ¶ added in v0.3.8
type SandboxTestExecutionsSummary struct {
// checks
Checks *SandboxTestExecutionsSummaryChecks `json:"checks,omitempty"`
// phase counts
PhaseCounts []*TestexecutionsPhaseCount `json:"phaseCounts"`
// traffic diffs
TrafficDiffs *SandboxTestExecutionsSummaryTrafficDiffs `json:"trafficDiffs,omitempty"`
}
SandboxTestExecutionsSummary sandbox test executions summary
swagger:model sandbox.TestExecutionsSummary
func (*SandboxTestExecutionsSummary) ContextValidate ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox test executions summary based on the context it is used
func (*SandboxTestExecutionsSummary) MarshalBinary ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTestExecutionsSummary) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTestExecutionsSummaryChecks ¶ added in v0.3.8
type SandboxTestExecutionsSummaryChecks struct {
// failed
Failed int64 `json:"failed,omitempty"`
// passed
Passed int64 `json:"passed,omitempty"`
}
SandboxTestExecutionsSummaryChecks sandbox test executions summary checks
swagger:model sandbox.TestExecutionsSummaryChecks
func (*SandboxTestExecutionsSummaryChecks) ContextValidate ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummaryChecks) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox test executions summary checks based on context it is used
func (*SandboxTestExecutionsSummaryChecks) MarshalBinary ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummaryChecks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTestExecutionsSummaryChecks) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummaryChecks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTestExecutionsSummaryTrafficDiffs ¶ added in v0.3.8
type SandboxTestExecutionsSummaryTrafficDiffs struct {
// green
Green int64 `json:"green,omitempty"`
// red
Red int64 `json:"red,omitempty"`
// yellow
Yellow int64 `json:"yellow,omitempty"`
}
SandboxTestExecutionsSummaryTrafficDiffs sandbox test executions summary traffic diffs
swagger:model sandbox.TestExecutionsSummaryTrafficDiffs
func (*SandboxTestExecutionsSummaryTrafficDiffs) ContextValidate ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummaryTrafficDiffs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox test executions summary traffic diffs based on context it is used
func (*SandboxTestExecutionsSummaryTrafficDiffs) MarshalBinary ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummaryTrafficDiffs) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTestExecutionsSummaryTrafficDiffs) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxTestExecutionsSummaryTrafficDiffs) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTunnelStatus ¶ added in v0.3.8
type SandboxTunnelStatus struct {
// health
Health *SandboxTunnelStatusHealth `json:"health,omitempty"`
}
SandboxTunnelStatus sandbox tunnel status
swagger:model sandbox.TunnelStatus
func (*SandboxTunnelStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandbox tunnel status based on the context it is used
func (*SandboxTunnelStatus) MarshalBinary ¶ added in v0.3.8
func (m *SandboxTunnelStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTunnelStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxTunnelStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTunnelStatusHealth ¶ added in v0.3.8
type SandboxTunnelStatusHealth struct {
// connected
Connected bool `json:"connected,omitempty"`
// last check time
LastCheckTime string `json:"lastCheckTime,omitempty"`
// last connected time
LastConnectedTime string `json:"lastConnectedTime,omitempty"`
}
SandboxTunnelStatusHealth sandbox tunnel status health
swagger:model SandboxTunnelStatusHealth
func (*SandboxTunnelStatusHealth) ContextValidate ¶ added in v0.3.8
func (m *SandboxTunnelStatusHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox tunnel status health based on context it is used
func (*SandboxTunnelStatusHealth) MarshalBinary ¶ added in v0.3.8
func (m *SandboxTunnelStatusHealth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTunnelStatusHealth) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxTunnelStatusHealth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesArgValueFrom ¶ added in v0.3.8
type SandboxesArgValueFrom struct {
// forward
Forward string `json:"forward,omitempty"`
}
SandboxesArgValueFrom sandboxes arg value from
swagger:model sandboxes.ArgValueFrom
func (*SandboxesArgValueFrom) ContextValidate ¶ added in v0.3.8
ContextValidate validates this sandboxes arg value from based on context it is used
func (*SandboxesArgValueFrom) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesArgValueFrom) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesArgValueFrom) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesArgValueFrom) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesArgument ¶ added in v0.3.8
type SandboxesArgument struct {
// Name indicates the name of the associated parameter.
Name string `json:"name,omitempty"`
// Value indicates the value passed to the parameter of
// the same name.
Value string `json:"value,omitempty"`
// value from
ValueFrom *SandboxesArgValueFrom `json:"valueFrom,omitempty"`
}
SandboxesArgument sandboxes argument
swagger:model sandboxes.Argument
func (*SandboxesArgument) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandboxes argument based on the context it is used
func (*SandboxesArgument) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesArgument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesArgument) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesArgument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesEnvOpName ¶ added in v0.3.8
type SandboxesEnvOpName string
SandboxesEnvOpName sandboxes env op name
swagger:model sandboxes.EnvOpName
const ( // SandboxesEnvOpNameUpsert captures enum value "upsert" SandboxesEnvOpNameUpsert SandboxesEnvOpName = "upsert" // SandboxesEnvOpNameDelete captures enum value "delete" SandboxesEnvOpNameDelete SandboxesEnvOpName = "delete" )
func NewSandboxesEnvOpName ¶ added in v0.3.8
func NewSandboxesEnvOpName(value SandboxesEnvOpName) *SandboxesEnvOpName
func (SandboxesEnvOpName) ContextValidate ¶ added in v0.3.8
ContextValidate validates this sandboxes env op name based on context it is used
func (SandboxesEnvOpName) Pointer ¶ added in v0.3.8
func (m SandboxesEnvOpName) Pointer() *SandboxesEnvOpName
Pointer returns a pointer to a freshly-allocated SandboxesEnvOpName.
type SandboxesExplainMode ¶ added in v0.3.8
type SandboxesExplainMode string
SandboxesExplainMode sandboxes explain mode
swagger:model sandboxes.ExplainMode
const ( // SandboxesExplainModeExplain captures enum value "explain" SandboxesExplainModeExplain SandboxesExplainMode = "explain" // SandboxesExplainModeContext captures enum value "context" SandboxesExplainModeContext SandboxesExplainMode = "context" )
func NewSandboxesExplainMode ¶ added in v0.3.8
func NewSandboxesExplainMode(value SandboxesExplainMode) *SandboxesExplainMode
func (SandboxesExplainMode) ContextValidate ¶ added in v0.3.8
ContextValidate validates this sandboxes explain mode based on context it is used
func (SandboxesExplainMode) Pointer ¶ added in v0.3.8
func (m SandboxesExplainMode) Pointer() *SandboxesExplainMode
Pointer returns a pointer to a freshly-allocated SandboxesExplainMode.
type SandboxesForward ¶ added in v0.3.8
type SandboxesForward struct {
// app protocol
AppProtocol string `json:"appProtocol,omitempty"`
// name
Name string `json:"name,omitempty"`
// port
Port int64 `json:"port,omitempty"`
// to local
ToLocal string `json:"toLocal,omitempty"`
}
SandboxesForward sandboxes forward
swagger:model sandboxes.Forward
func (*SandboxesForward) ContextValidate ¶ added in v0.3.8
ContextValidate validates this sandboxes forward based on context it is used
func (*SandboxesForward) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesForward) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesForward) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesForward) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesForwardStatus ¶ added in v0.3.8
type SandboxesForwardStatus struct {
// name
Name string `json:"name,omitempty"`
// tunnel
Tunnel *SandboxTunnelStatus `json:"tunnel,omitempty"`
}
SandboxesForwardStatus sandboxes forward status
swagger:model sandboxes.ForwardStatus
func (*SandboxesForwardStatus) ContextValidate ¶ added in v0.3.8
func (m *SandboxesForwardStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandboxes forward status based on the context it is used
func (*SandboxesForwardStatus) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesForwardStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesForwardStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesForwardStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesJobsSummary ¶ added in v0.3.8
type SandboxesJobsSummary struct {
// phase counts
PhaseCounts []*JobsPhaseCount `json:"phaseCounts"`
}
SandboxesJobsSummary sandboxes jobs summary
swagger:model sandboxes.JobsSummary
func (*SandboxesJobsSummary) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandboxes jobs summary based on the context it is used
func (*SandboxesJobsSummary) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesJobsSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesJobsSummary) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesJobsSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesLLMContext ¶ added in v0.3.8
type SandboxesLLMContext struct {
// messages
Messages []*SandboxesLLMMessage `json:"messages"`
}
SandboxesLLMContext sandboxes l l m context
swagger:model sandboxes.LLMContext
func (*SandboxesLLMContext) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandboxes l l m context based on the context it is used
func (*SandboxesLLMContext) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesLLMContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesLLMContext) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesLLMContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesLLMMessage ¶ added in v0.3.8
type SandboxesLLMMessage struct {
// content
Content string `json:"content,omitempty"`
// role
Role SandboxesLLMMessageRole `json:"role,omitempty"`
}
SandboxesLLMMessage sandboxes l l m message
swagger:model sandboxes.LLMMessage
func (*SandboxesLLMMessage) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandboxes l l m message based on the context it is used
func (*SandboxesLLMMessage) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesLLMMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesLLMMessage) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesLLMMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesLLMMessageRole ¶ added in v0.3.8
type SandboxesLLMMessageRole string
SandboxesLLMMessageRole sandboxes l l m message role
swagger:model sandboxes.LLMMessageRole
const ( // SandboxesLLMMessageRoleSystem captures enum value "system" SandboxesLLMMessageRoleSystem SandboxesLLMMessageRole = "system" // SandboxesLLMMessageRoleUser captures enum value "user" SandboxesLLMMessageRoleUser SandboxesLLMMessageRole = "user" )
func NewSandboxesLLMMessageRole ¶ added in v0.3.8
func NewSandboxesLLMMessageRole(value SandboxesLLMMessageRole) *SandboxesLLMMessageRole
func (SandboxesLLMMessageRole) ContextValidate ¶ added in v0.3.8
func (m SandboxesLLMMessageRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandboxes l l m message role based on context it is used
func (SandboxesLLMMessageRole) Pointer ¶ added in v0.3.8
func (m SandboxesLLMMessageRole) Pointer() *SandboxesLLMMessageRole
Pointer returns a pointer to a freshly-allocated SandboxesLLMMessageRole.
type SandboxesMiddleware ¶ added in v0.3.8
type SandboxesMiddleware struct {
// Middleware arguments
Args []*SandboxesArgument `json:"args"`
// Matches specifies a disjunction of matching criteria for dispatching
// the middleware. Any empty list means don't dispatch anything.
Match []*SandboxesMiddlewareMatch `json:"match"`
// Middleware name
Name string `json:"name,omitempty"`
}
SandboxesMiddleware sandboxes middleware
swagger:model sandboxes.Middleware
func (*SandboxesMiddleware) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandboxes middleware based on the context it is used
func (*SandboxesMiddleware) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesMiddleware) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesMiddleware) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesMiddleware) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesMiddlewareMatch ¶ added in v0.3.8
type SandboxesMiddlewareMatch struct {
// Workload specifies a glob which matches
// each workload name in the spec.
Workload string `json:"workload,omitempty"`
}
SandboxesMiddlewareMatch sandboxes middleware match
swagger:model sandboxes.MiddlewareMatch
func (*SandboxesMiddlewareMatch) ContextValidate ¶ added in v0.3.8
func (m *SandboxesMiddlewareMatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandboxes middleware match based on context it is used
func (*SandboxesMiddlewareMatch) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesMiddlewareMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesMiddlewareMatch) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesMiddlewareMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesPatchType ¶ added in v0.3.8
type SandboxesPatchType string
SandboxesPatchType sandboxes patch type
swagger:model sandboxes.PatchType
const ( // SandboxesPatchTypeStrategic captures enum value "strategic" SandboxesPatchTypeStrategic SandboxesPatchType = "strategic" // SandboxesPatchTypeMerge captures enum value "merge" SandboxesPatchTypeMerge SandboxesPatchType = "merge" // SandboxesPatchTypeJSON captures enum value "json" SandboxesPatchTypeJSON SandboxesPatchType = "json" // SandboxesPatchTypeSignadotEnv captures enum value "signadot/env" SandboxesPatchTypeSignadotEnv SandboxesPatchType = "signadot/env" // SandboxesPatchTypeSignadotImage captures enum value "signadot/image" SandboxesPatchTypeSignadotImage SandboxesPatchType = "signadot/image" )
func NewSandboxesPatchType ¶ added in v0.3.8
func NewSandboxesPatchType(value SandboxesPatchType) *SandboxesPatchType
func (SandboxesPatchType) ContextValidate ¶ added in v0.3.8
ContextValidate validates this sandboxes patch type based on context it is used
func (SandboxesPatchType) Pointer ¶ added in v0.3.8
func (m SandboxesPatchType) Pointer() *SandboxesPatchType
Pointer returns a pointer to a freshly-allocated SandboxesPatchType.
type SandboxesRouting ¶ added in v0.3.8
type SandboxesRouting struct {
// forwards
Forwards []*SandboxesForward `json:"forwards"`
}
SandboxesRouting sandboxes routing
swagger:model sandboxes.Routing
func (*SandboxesRouting) ContextValidate ¶ added in v0.3.8
ContextValidate validate this sandboxes routing based on the context it is used
func (*SandboxesRouting) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesRouting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesRouting) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesRouting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxesSandboxStatusExplainResponse ¶ added in v0.3.8
type SandboxesSandboxStatusExplainResponse struct {
// context
Context *SandboxesLLMContext `json:"context,omitempty"`
// Explanation is a natural-language explanation of why the sandbox
// is in its current state and what, if anything, the user can do.
// Only present when mode=explain.
Explanation string `json:"explanation,omitempty"`
// mode
Mode SandboxesExplainMode `json:"mode,omitempty"`
// status
Status *SandboxReadiness `json:"status,omitempty"`
}
SandboxesSandboxStatusExplainResponse sandboxes sandbox status explain response
swagger:model sandboxes.SandboxStatusExplainResponse
func (*SandboxesSandboxStatusExplainResponse) ContextValidate ¶ added in v0.3.8
func (m *SandboxesSandboxStatusExplainResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandboxes sandbox status explain response based on the context it is used
func (*SandboxesSandboxStatusExplainResponse) MarshalBinary ¶ added in v0.3.8
func (m *SandboxesSandboxStatusExplainResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxesSandboxStatusExplainResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *SandboxesSandboxStatusExplainResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Secret ¶ added in v0.3.8
type Secret struct {
// CreatedAt is when the secret was created. Read-only.
CreatedAt string `json:"createdAt,omitempty"`
// Description is an optional human-readable description.
Description string `json:"description,omitempty"`
// Name is the unique identifier within the org.
Name string `json:"name,omitempty"`
// UpdatedAt is when the secret was last updated. Read-only.
UpdatedAt string `json:"updatedAt,omitempty"`
// Value is the secret plaintext. Write-only: accepted on create/update,
// never returned in any API response.
Value string `json:"value,omitempty"`
}
Secret secret
swagger:model Secret
func (*Secret) ContextValidate ¶ added in v0.3.8
ContextValidate validates this secret based on context it is used
func (*Secret) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Secret) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type ServiceAccount ¶ added in v0.3.8
type ServiceAccount struct {
// CreatedAt is when the service account was created. Read-only.
CreatedAt string `json:"createdAt,omitempty"`
// Description is an optional human-readable description.
Description string `json:"description,omitempty"`
// Name is the unique identifier within the org.
Name string `json:"name,omitempty"`
// Role is the authorization role for the service account: "admin" or
// "member".
Role string `json:"role,omitempty"`
// UpdatedAt is when the service account was last updated. Read-only.
UpdatedAt string `json:"updatedAt,omitempty"`
}
ServiceAccount service account
swagger:model ServiceAccount
func (*ServiceAccount) ContextValidate ¶ added in v0.3.8
ContextValidate validates this service account based on context it is used
func (*ServiceAccount) MarshalBinary ¶ added in v0.3.8
func (m *ServiceAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccount) UnmarshalBinary ¶ added in v0.3.8
func (m *ServiceAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicestatusIncident ¶ added in v0.3.8
type ServicestatusIncident struct {
// id
ID string `json:"id,omitempty"`
// impact
Impact string `json:"impact,omitempty"`
// name
Name string `json:"name,omitempty"`
// ResolvedAt is the incident resolution time (RFC3339); omitted while
// the incident is unresolved.
ResolvedAt string `json:"resolvedAt,omitempty"`
// StartsAt is the incident start time (RFC3339).
StartsAt string `json:"startsAt,omitempty"`
// status
Status string `json:"status,omitempty"`
// UpdatedAt is the time of the most recent update (RFC3339).
UpdatedAt string `json:"updatedAt,omitempty"`
// url
URL string `json:"url,omitempty"`
}
ServicestatusIncident servicestatus incident
swagger:model servicestatus.Incident
func (*ServicestatusIncident) ContextValidate ¶ added in v0.3.8
ContextValidate validates this servicestatus incident based on context it is used
func (*ServicestatusIncident) MarshalBinary ¶ added in v0.3.8
func (m *ServicestatusIncident) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicestatusIncident) UnmarshalBinary ¶ added in v0.3.8
func (m *ServicestatusIncident) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicestatusMaintenance ¶ added in v0.3.8
type ServicestatusMaintenance struct {
// EndsAt is the scheduled end time (RFC3339); omitted if open-ended.
EndsAt string `json:"endsAt,omitempty"`
// id
ID string `json:"id,omitempty"`
// impact
Impact string `json:"impact,omitempty"`
// name
Name string `json:"name,omitempty"`
// StartsAt is the scheduled start time (RFC3339).
StartsAt string `json:"startsAt,omitempty"`
// status
Status string `json:"status,omitempty"`
// UpdatedAt is the time of the most recent update (RFC3339).
UpdatedAt string `json:"updatedAt,omitempty"`
// url
URL string `json:"url,omitempty"`
}
ServicestatusMaintenance servicestatus maintenance
swagger:model servicestatus.Maintenance
func (*ServicestatusMaintenance) ContextValidate ¶ added in v0.3.8
func (m *ServicestatusMaintenance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this servicestatus maintenance based on context it is used
func (*ServicestatusMaintenance) MarshalBinary ¶ added in v0.3.8
func (m *ServicestatusMaintenance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicestatusMaintenance) UnmarshalBinary ¶ added in v0.3.8
func (m *ServicestatusMaintenance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicestatusResponse ¶ added in v0.3.8
type ServicestatusResponse struct {
// incidents
Incidents []*ServicestatusIncident `json:"incidents"`
// maintenances
Maintenances []*ServicestatusMaintenance `json:"maintenances"`
}
ServicestatusResponse servicestatus response
swagger:model servicestatus.Response
func (*ServicestatusResponse) ContextValidate ¶ added in v0.3.8
ContextValidate validate this servicestatus response based on the context it is used
func (*ServicestatusResponse) MarshalBinary ¶ added in v0.3.8
func (m *ServicestatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicestatusResponse) UnmarshalBinary ¶ added in v0.3.8
func (m *ServicestatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Source ¶ added in v0.3.8
type Source struct {
// id
ID string `json:"id,omitempty"`
// request name
RequestName string `json:"requestName,omitempty"`
// script ref
ScriptRef *CapturemetaScriptRef `json:"scriptRef,omitempty"`
}
Source source
swagger:model Source
func (*Source) ContextValidate ¶ added in v0.3.8
ContextValidate validate this source based on the context it is used
func (*Source) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Source) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type SyntaxPosition ¶ added in v0.3.8
type SyntaxPosition struct {
// 1-based column (rune) number; 0 if column unknown
Col int32 `json:"col,omitempty"`
// 1-based line number; 0 if line unknown
Line int32 `json:"line,omitempty"`
}
SyntaxPosition syntax position
swagger:model syntax.Position
func (*SyntaxPosition) ContextValidate ¶ added in v0.3.8
ContextValidate validates this syntax position based on context it is used
func (*SyntaxPosition) MarshalBinary ¶ added in v0.3.8
func (m *SyntaxPosition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SyntaxPosition) UnmarshalBinary ¶ added in v0.3.8
func (m *SyntaxPosition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TagMapping ¶ added in v0.3.8
type TagMapping struct {
// PlanID is the plan this tag pointed to during this period.
PlanID string `json:"planID,omitempty"`
// TaggedAt is when the tag was assigned to this plan. Serialized as RFC3339.
TaggedAt string `json:"taggedAt,omitempty"`
// UntaggedAt is when the tag was moved or deleted. Empty if current.
UntaggedAt string `json:"untaggedAt,omitempty"`
}
TagMapping tag mapping
swagger:model TagMapping
func (*TagMapping) ContextValidate ¶ added in v0.3.8
ContextValidate validates this tag mapping based on context it is used
func (*TagMapping) MarshalBinary ¶ added in v0.3.8
func (m *TagMapping) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TagMapping) UnmarshalBinary ¶ added in v0.3.8
func (m *TagMapping) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Test ¶ added in v0.3.8
type Test struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// name
Name string `json:"name,omitempty"`
// spec
Spec *TestSpec `json:"spec,omitempty"`
// status
Status TestStatus `json:"status,omitempty"`
// updated at
UpdatedAt string `json:"updatedAt,omitempty"`
}
Test test
swagger:model Test
func (*Test) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test based on the context it is used
func (*Test) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Test) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type TestExecution ¶ added in v0.3.8
type TestExecution struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// id
ID string `json:"id,omitempty"`
// results
Results *TestExecutionResults `json:"results,omitempty"`
// spec
Spec *TestExecutionSpec `json:"spec,omitempty"`
// status
Status *TestExecutionStatus `json:"status,omitempty"`
}
TestExecution test execution
swagger:model TestExecution
func (*TestExecution) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution based on the context it is used
func (*TestExecution) MarshalBinary ¶ added in v0.3.8
func (m *TestExecution) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecution) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecution) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionAutoDiff ¶ added in v0.3.8
type TestExecutionAutoDiff struct {
// Enabled = true, requires the definition of a valid routing context
Enabled bool `json:"enabled,omitempty"`
}
TestExecutionAutoDiff test execution auto diff
swagger:model TestExecutionAutoDiff
func (*TestExecutionAutoDiff) ContextValidate ¶ added in v0.3.8
ContextValidate validates this test execution auto diff based on context it is used
func (*TestExecutionAutoDiff) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionAutoDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionAutoDiff) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionAutoDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionCanceledState ¶ added in v0.3.8
type TestExecutionCanceledState struct {
// canceled at
CanceledAt string `json:"canceledAt,omitempty"`
// canceled by
CanceledBy JobsCanceledBy `json:"canceledBy,omitempty"`
// message
Message string `json:"message,omitempty"`
}
TestExecutionCanceledState test execution canceled state
swagger:model TestExecutionCanceledState
func (*TestExecutionCanceledState) ContextValidate ¶ added in v0.3.8
func (m *TestExecutionCanceledState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this test execution canceled state based on the context it is used
func (*TestExecutionCanceledState) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionCanceledState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionCanceledState) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionCanceledState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionContext ¶ added in v0.3.8
type TestExecutionContext struct {
// auto diff
AutoDiff *TestExecutionAutoDiff `json:"autoDiff,omitempty"`
// cluster
Cluster string `json:"cluster,omitempty"`
// Publish represents whether the test execution will show up by default
// in the UI, i.e. to filter out ad-hoc and test the test usage.
Publish bool `json:"publish,omitempty"`
// routing
Routing *JobRoutingContext `json:"routing,omitempty"`
// run ID
RunID string `json:"runID,omitempty"`
// Timeout represents an optional timeout for the test execution.
// If not supplied, it defaults to the DefaultTimeout of the associated
// test, if that is present. If that is not present, it defaults to "5m".
// It should be a string representing an unsigned integer not exceeding 32 bits followed by
// a units character, which can be one of the following.
// - 'm' for minutes
// - 'h' for hours
// - 'd' for days
// - 'w' for weeks
Timeout string `json:"timeout,omitempty"`
}
TestExecutionContext test execution context
swagger:model TestExecutionContext
func (*TestExecutionContext) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution context based on the context it is used
func (*TestExecutionContext) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionContext) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionFailedState ¶ added in v0.3.8
type TestExecutionFailedState struct {
// message
Message string `json:"message,omitempty"`
}
TestExecutionFailedState test execution failed state
swagger:model TestExecutionFailedState
func (*TestExecutionFailedState) ContextValidate ¶ added in v0.3.8
func (m *TestExecutionFailedState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this test execution failed state based on context it is used
func (*TestExecutionFailedState) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionFailedState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionFailedState) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionFailedState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionResults ¶ added in v0.3.8
type TestExecutionResults struct {
// checks
Checks *TestexecutionsChecks `json:"checks,omitempty"`
// traffic diff
TrafficDiff *TrafficDiff `json:"trafficDiff,omitempty"`
}
TestExecutionResults test execution results
swagger:model TestExecutionResults
func (*TestExecutionResults) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution results based on the context it is used
func (*TestExecutionResults) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionResults) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionSpec ¶ added in v0.3.8
type TestExecutionSpec struct {
// execution context
ExecutionContext *TestExecutionContext `json:"executionContext,omitempty"`
// external
External *ExternalSpec `json:"external,omitempty"`
// hosted
Hosted *HostedSpec `json:"hosted,omitempty"`
// Labels
Labels map[string]string `json:"labels,omitempty"`
}
TestExecutionSpec test execution spec
swagger:model TestExecutionSpec
func (*TestExecutionSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution spec based on the context it is used
func (*TestExecutionSpec) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionSpec) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionState ¶ added in v0.3.8
type TestExecutionState struct {
// canceled
Canceled *TestExecutionCanceledState `json:"canceled,omitempty"`
// failed
Failed *TestExecutionFailedState `json:"failed,omitempty"`
}
TestExecutionState test execution state
swagger:model TestExecutionState
func (*TestExecutionState) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution state based on the context it is used
func (*TestExecutionState) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionState) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionStatus ¶ added in v0.3.8
type TestExecutionStatus struct {
// baseline job
BaselineJob string `json:"baselineJob,omitempty"`
// final state
FinalState *TestExecutionState `json:"finalState,omitempty"`
// finished at
FinishedAt string `json:"finishedAt,omitempty"`
// phase
Phase TestexecutionsPhase `json:"phase,omitempty"`
// started at
StartedAt string `json:"startedAt,omitempty"`
// target job
TargetJob string `json:"targetJob,omitempty"`
// test deleted at
TestDeletedAt string `json:"testDeletedAt,omitempty"`
// triggered by
TriggeredBy *TestExecutionTriggeredBy `json:"triggeredBy,omitempty"`
}
TestExecutionStatus test execution status
swagger:model TestExecutionStatus
func (*TestExecutionStatus) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution status based on the context it is used
func (*TestExecutionStatus) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionStatus) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionTemplate ¶ added in v0.3.8
type TestExecutionTemplate struct {
// auto diff
AutoDiff *TestExecutionAutoDiff `json:"autoDiff,omitempty"`
// cluster
Cluster string `json:"cluster,omitempty"`
// Publish represents whether the test execution will show up by default
// in the UI, i.e. to filter out ad-hoc and test the test usage.
Publish bool `json:"publish,omitempty"`
// Timeout represents an optional timeout for the test execution.
// If not supplied, it defaults to the DefaultTimeout of the associated
// test, if that is present. If that is not present, it defaults to "5m".
// It should be a string representing an unsigned integer not exceeding 32 bits followed by
// a units character, which can be one of the following.
// - 'm' for minutes
// - 'h' for hours
// - 'd' for days
// - 'w' for weeks
Timeout string `json:"timeout,omitempty"`
}
TestExecutionTemplate test execution template
swagger:model TestExecutionTemplate
func (*TestExecutionTemplate) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test execution template based on the context it is used
func (*TestExecutionTemplate) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionTemplate) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestExecutionTriggeredBy ¶ added in v0.3.8
type TestExecutionTriggeredBy struct {
// sandbox
Sandbox string `json:"sandbox,omitempty"`
// trigger
Trigger *TestTrigger `json:"trigger,omitempty"`
}
TestExecutionTriggeredBy test execution triggered by
swagger:model TestExecutionTriggeredBy
func (*TestExecutionTriggeredBy) ContextValidate ¶ added in v0.3.8
func (m *TestExecutionTriggeredBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this test execution triggered by based on the context it is used
func (*TestExecutionTriggeredBy) MarshalBinary ¶ added in v0.3.8
func (m *TestExecutionTriggeredBy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestExecutionTriggeredBy) UnmarshalBinary ¶ added in v0.3.8
func (m *TestExecutionTriggeredBy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestSpec ¶ added in v0.3.8
type TestSpec struct {
// DefaultTimeout represents an optional default timeout for the test
// executions associated with this test, which can override this value.
// If not supplied, it defaults to "5m". It should be a string
// representing an unsigned integer in decimal not exceeding 32 bits
// followed by a units character, which can be one of the following.
// - 'm' for minutes
// - 'h' for hours
// - 'd' for days
// - 'w' for weeks
DefaultTimeout string `json:"defaultTimeout,omitempty"`
// script
Script string `json:"script,omitempty"`
// triggers
Triggers []*TestTrigger `json:"triggers"`
}
TestSpec test spec
swagger:model TestSpec
func (*TestSpec) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test spec based on the context it is used
func (*TestSpec) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*TestSpec) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type TestStatus ¶ added in v0.3.8
type TestStatus any
TestStatus test status
swagger:model TestStatus
type TestTrigger ¶ added in v0.3.8
type TestTrigger struct {
// execution template
ExecutionTemplate *TestExecutionTemplate `json:"executionTemplate,omitempty"`
// id
ID string `json:"id,omitempty"`
// sandbox of
SandboxOf *WorkloadWorkload `json:"sandboxOf,omitempty"`
}
TestTrigger test trigger
swagger:model TestTrigger
func (*TestTrigger) ContextValidate ¶ added in v0.3.8
ContextValidate validate this test trigger based on the context it is used
func (*TestTrigger) MarshalBinary ¶ added in v0.3.8
func (m *TestTrigger) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestTrigger) UnmarshalBinary ¶ added in v0.3.8
func (m *TestTrigger) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestexecutionsCheck ¶ added in v0.3.8
type TestexecutionsCheck struct {
// errors
Errors []*TestexecutionsCheckError `json:"errors"`
// name
Name string `json:"name,omitempty"`
}
TestexecutionsCheck testexecutions check
swagger:model testexecutions.Check
func (*TestexecutionsCheck) ContextValidate ¶ added in v0.3.8
ContextValidate validate this testexecutions check based on the context it is used
func (*TestexecutionsCheck) MarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsCheck) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestexecutionsCheck) UnmarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsCheck) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestexecutionsCheckError ¶ added in v0.3.8
type TestexecutionsCheckError struct {
// attrs
Attrs map[string]any `json:"attrs,omitempty"`
// message
Message string `json:"message,omitempty"`
// source position
SourcePosition *SyntaxPosition `json:"sourcePosition,omitempty"`
}
TestexecutionsCheckError testexecutions check error
swagger:model testexecutions.CheckError
func (*TestexecutionsCheckError) ContextValidate ¶ added in v0.3.8
func (m *TestexecutionsCheckError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this testexecutions check error based on the context it is used
func (*TestexecutionsCheckError) MarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsCheckError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestexecutionsCheckError) UnmarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsCheckError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestexecutionsChecks ¶ added in v0.3.8
type TestexecutionsChecks struct {
// baseline
Baseline []*TestexecutionsCheck `json:"baseline"`
// sandbox
Sandbox []*TestexecutionsCheck `json:"sandbox"`
}
TestexecutionsChecks testexecutions checks
swagger:model testexecutions.Checks
func (*TestexecutionsChecks) ContextValidate ¶ added in v0.3.8
ContextValidate validate this testexecutions checks based on the context it is used
func (*TestexecutionsChecks) MarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsChecks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestexecutionsChecks) UnmarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsChecks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestexecutionsPhase ¶ added in v0.3.8
type TestexecutionsPhase string
TestexecutionsPhase testexecutions phase
swagger:model testexecutions.Phase
const ( // TestexecutionsPhasePending captures enum value "pending" TestexecutionsPhasePending TestexecutionsPhase = "pending" // TestexecutionsPhaseInProgress captures enum value "in_progress" TestexecutionsPhaseInProgress TestexecutionsPhase = "in_progress" // TestexecutionsPhaseFailed captures enum value "failed" TestexecutionsPhaseFailed TestexecutionsPhase = "failed" // TestexecutionsPhaseSucceeded captures enum value "succeeded" TestexecutionsPhaseSucceeded TestexecutionsPhase = "succeeded" // TestexecutionsPhaseCanceled captures enum value "canceled" TestexecutionsPhaseCanceled TestexecutionsPhase = "canceled" )
func NewTestexecutionsPhase ¶ added in v0.3.8
func NewTestexecutionsPhase(value TestexecutionsPhase) *TestexecutionsPhase
func (TestexecutionsPhase) ContextValidate ¶ added in v0.3.8
ContextValidate validates this testexecutions phase based on context it is used
func (TestexecutionsPhase) Pointer ¶ added in v0.3.8
func (m TestexecutionsPhase) Pointer() *TestexecutionsPhase
Pointer returns a pointer to a freshly-allocated TestexecutionsPhase.
type TestexecutionsPhaseCount ¶ added in v0.3.8
type TestexecutionsPhaseCount struct {
// count
Count int64 `json:"count,omitempty"`
// phase
Phase TestexecutionsPhase `json:"phase,omitempty"`
}
TestexecutionsPhaseCount testexecutions phase count
swagger:model testexecutions.PhaseCount
func (*TestexecutionsPhaseCount) ContextValidate ¶ added in v0.3.8
func (m *TestexecutionsPhaseCount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this testexecutions phase count based on the context it is used
func (*TestexecutionsPhaseCount) MarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsPhaseCount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestexecutionsPhaseCount) UnmarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsPhaseCount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestexecutionsQueryResult ¶ added in v0.3.8
type TestexecutionsQueryResult struct {
// cursor
Cursor string `json:"cursor,omitempty"`
// execution
Execution *TestExecution `json:"execution,omitempty"`
}
TestexecutionsQueryResult testexecutions query result
swagger:model testexecutions.QueryResult
func (*TestexecutionsQueryResult) ContextValidate ¶ added in v0.3.8
func (m *TestexecutionsQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this testexecutions query result based on the context it is used
func (*TestexecutionsQueryResult) MarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestexecutionsQueryResult) UnmarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestexecutionsUnpairedCapture ¶ added in v0.3.8
type TestexecutionsUnpairedCapture struct {
// baseline capture ID
BaselineCaptureID string `json:"baselineCaptureID,omitempty"`
// target capture ID
TargetCaptureID string `json:"targetCaptureID,omitempty"`
}
TestexecutionsUnpairedCapture testexecutions unpaired capture
swagger:model testexecutions.UnpairedCapture
func (*TestexecutionsUnpairedCapture) ContextValidate ¶ added in v0.3.8
func (m *TestexecutionsUnpairedCapture) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this testexecutions unpaired capture based on context it is used
func (*TestexecutionsUnpairedCapture) MarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsUnpairedCapture) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestexecutionsUnpairedCapture) UnmarshalBinary ¶ added in v0.3.8
func (m *TestexecutionsUnpairedCapture) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDiff ¶ added in v0.3.8
type TrafficDiff struct {
// additions
Additions int64 `json:"additions,omitempty"`
// baseline session
BaselineSession string `json:"baselineSession,omitempty"`
// capture points
CapturePoints []*TrafficmodelsBy `json:"capturePoints"`
// captures
Captures int64 `json:"captures,omitempty"`
// green
Green *TrafficDiffSummary `json:"green,omitempty"`
// max relevance
MaxRelevance float64 `json:"maxRelevance,omitempty"`
// red
Red *TrafficDiffSummary `json:"red,omitempty"`
// removals
Removals int64 `json:"removals,omitempty"`
// replacements
Replacements int64 `json:"replacements,omitempty"`
// target session
TargetSession string `json:"targetSession,omitempty"`
// unpaired captures
UnpairedCaptures []*TestexecutionsUnpairedCapture `json:"unpairedCaptures"`
// yellow
Yellow *TrafficDiffSummary `json:"yellow,omitempty"`
}
TrafficDiff traffic diff
swagger:model TrafficDiff
func (*TrafficDiff) ContextValidate ¶ added in v0.3.8
ContextValidate validate this traffic diff based on the context it is used
func (*TrafficDiff) MarshalBinary ¶ added in v0.3.8
func (m *TrafficDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDiff) UnmarshalBinary ¶ added in v0.3.8
func (m *TrafficDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDiffPairedDiff ¶ added in v0.3.8
type TrafficDiffPairedDiff struct {
// baseline capture ID
BaselineCaptureID string `json:"baselineCaptureID,omitempty"`
// id
ID string `json:"id,omitempty"`
// request
Request *RequestDiff `json:"request,omitempty"`
// response
Response *ResponseDiff `json:"response,omitempty"`
// source
Source *Source `json:"source,omitempty"`
// target capture ID
TargetCaptureID string `json:"targetCaptureID,omitempty"`
}
TrafficDiffPairedDiff traffic diff paired diff
swagger:model TrafficDiffPairedDiff
func (*TrafficDiffPairedDiff) ContextValidate ¶ added in v0.3.8
ContextValidate validate this traffic diff paired diff based on the context it is used
func (*TrafficDiffPairedDiff) MarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffPairedDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDiffPairedDiff) UnmarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffPairedDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDiffPointResult ¶ added in v0.3.8
type TrafficDiffPointResult struct {
// by
By *TrafficmodelsBy `json:"by,omitempty"`
// diffs
Diffs []*TrafficDiffPairedDiff `json:"diffs"`
}
TrafficDiffPointResult traffic diff point result
swagger:model TrafficDiffPointResult
func (*TrafficDiffPointResult) ContextValidate ¶ added in v0.3.8
func (m *TrafficDiffPointResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this traffic diff point result based on the context it is used
func (*TrafficDiffPointResult) MarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffPointResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDiffPointResult) UnmarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffPointResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDiffResult ¶ added in v0.3.8
type TrafficDiffResult struct {
// baseline
Baseline string `json:"baseline,omitempty"`
// results
Results []*TrafficDiffPointResult `json:"results"`
// target
Target string `json:"target,omitempty"`
}
TrafficDiffResult traffic diff result
swagger:model TrafficDiffResult
func (*TrafficDiffResult) ContextValidate ¶ added in v0.3.8
ContextValidate validate this traffic diff result based on the context it is used
func (*TrafficDiffResult) MarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDiffResult) UnmarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficDiffSummary ¶ added in v0.3.8
type TrafficDiffSummary struct {
// additions
Additions int64 `json:"additions,omitempty"`
// captures
Captures int64 `json:"captures,omitempty"`
// max relevance
MaxRelevance float64 `json:"maxRelevance,omitempty"`
// removals
Removals int64 `json:"removals,omitempty"`
// replacements
Replacements int64 `json:"replacements,omitempty"`
}
TrafficDiffSummary traffic diff summary
swagger:model TrafficDiffSummary
func (*TrafficDiffSummary) ContextValidate ¶ added in v0.3.8
ContextValidate validates this traffic diff summary based on context it is used
func (*TrafficDiffSummary) MarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficDiffSummary) UnmarshalBinary ¶ added in v0.3.8
func (m *TrafficDiffSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficmodelsBy ¶ added in v0.3.8
type TrafficmodelsBy struct {
// direction
Direction TrafficmodelsDirection `json:"direction,omitempty"`
// kind
Kind TrafficmodelsKind `json:"kind,omitempty"`
// name
Name string `json:"name,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
}
TrafficmodelsBy trafficmodels by
swagger:model trafficmodels.By
func (*TrafficmodelsBy) ContextValidate ¶ added in v0.3.8
ContextValidate validate this trafficmodels by based on the context it is used
func (*TrafficmodelsBy) MarshalBinary ¶ added in v0.3.8
func (m *TrafficmodelsBy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficmodelsBy) UnmarshalBinary ¶ added in v0.3.8
func (m *TrafficmodelsBy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficmodelsDiffOperation ¶ added in v0.3.8
type TrafficmodelsDiffOperation string
TrafficmodelsDiffOperation trafficmodels diff operation
swagger:model trafficmodels.DiffOperation
const ( // TrafficmodelsDiffOperationAdd captures enum value "add" TrafficmodelsDiffOperationAdd TrafficmodelsDiffOperation = "add" // TrafficmodelsDiffOperationRemove captures enum value "remove" TrafficmodelsDiffOperationRemove TrafficmodelsDiffOperation = "remove" // TrafficmodelsDiffOperationReplace captures enum value "replace" TrafficmodelsDiffOperationReplace TrafficmodelsDiffOperation = "replace" )
func NewTrafficmodelsDiffOperation ¶ added in v0.3.8
func NewTrafficmodelsDiffOperation(value TrafficmodelsDiffOperation) *TrafficmodelsDiffOperation
func (TrafficmodelsDiffOperation) ContextValidate ¶ added in v0.3.8
func (m TrafficmodelsDiffOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this trafficmodels diff operation based on context it is used
func (TrafficmodelsDiffOperation) Pointer ¶ added in v0.3.8
func (m TrafficmodelsDiffOperation) Pointer() *TrafficmodelsDiffOperation
Pointer returns a pointer to a freshly-allocated TrafficmodelsDiffOperation.
type TrafficmodelsDirection ¶ added in v0.3.8
type TrafficmodelsDirection string
TrafficmodelsDirection trafficmodels direction
swagger:model trafficmodels.Direction
const ( // TrafficmodelsDirectionInbound captures enum value "Inbound" TrafficmodelsDirectionInbound TrafficmodelsDirection = "Inbound" // TrafficmodelsDirectionOutbound captures enum value "Outbound" TrafficmodelsDirectionOutbound TrafficmodelsDirection = "Outbound" )
func NewTrafficmodelsDirection ¶ added in v0.3.8
func NewTrafficmodelsDirection(value TrafficmodelsDirection) *TrafficmodelsDirection
func (TrafficmodelsDirection) ContextValidate ¶ added in v0.3.8
ContextValidate validates this trafficmodels direction based on context it is used
func (TrafficmodelsDirection) Pointer ¶ added in v0.3.8
func (m TrafficmodelsDirection) Pointer() *TrafficmodelsDirection
Pointer returns a pointer to a freshly-allocated TrafficmodelsDirection.
type TrafficmodelsKind ¶ added in v0.3.8
type TrafficmodelsKind string
TrafficmodelsKind trafficmodels kind
swagger:model trafficmodels.Kind
const ( // TrafficmodelsKindJob captures enum value "Job" TrafficmodelsKindJob TrafficmodelsKind = "Job" // TrafficmodelsKindDeployment captures enum value "Deployment" TrafficmodelsKindDeployment TrafficmodelsKind = "Deployment" // TrafficmodelsKindRollout captures enum value "Rollout" TrafficmodelsKindRollout TrafficmodelsKind = "Rollout" )
func NewTrafficmodelsKind ¶ added in v0.3.8
func NewTrafficmodelsKind(value TrafficmodelsKind) *TrafficmodelsKind
func (TrafficmodelsKind) ContextValidate ¶ added in v0.3.8
ContextValidate validates this trafficmodels kind based on context it is used
func (TrafficmodelsKind) Pointer ¶ added in v0.3.8
func (m TrafficmodelsKind) Pointer() *TrafficmodelsKind
Pointer returns a pointer to a freshly-allocated TrafficmodelsKind.
type Virtual ¶ added in v0.3.8
type Virtual struct {
// name
Name string `json:"name,omitempty"`
// workload
Workload *LocalFrom `json:"workload,omitempty"`
}
Virtual virtual
swagger:model virtual
func (*Virtual) ContextValidate ¶ added in v0.3.8
ContextValidate validate this virtual based on the context it is used
func (*Virtual) MarshalBinary ¶ added in v0.3.8
MarshalBinary interface implementation
func (*Virtual) UnmarshalBinary ¶ added in v0.3.8
UnmarshalBinary interface implementation
type WorkloadWorkload ¶ added in v0.3.8
type WorkloadWorkload struct {
// Kind of the baseline workload.
// Example: Deployment
// Required: true
Kind *string `json:"kind"`
// Name of the entity within the Kubernetes cluster.
// Example: my-frontend
// Required: true
Name *string `json:"name"`
// Namespace within which the entity lives in the Kubernetes cluster.
// Example: default
// Required: true
Namespace *string `json:"namespace"`
}
WorkloadWorkload workload workload
swagger:model workload.Workload
func (*WorkloadWorkload) ContextValidate ¶ added in v0.3.8
ContextValidate validates this workload workload based on context it is used
func (*WorkloadWorkload) MarshalBinary ¶ added in v0.3.8
func (m *WorkloadWorkload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkloadWorkload) UnmarshalBinary ¶ added in v0.3.8
func (m *WorkloadWorkload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- api_key.go
- artifacts_job_artifact_space.go
- authdevices_code.go
- authdevices_status.go
- authdevices_token.go
- authdevices_token_input.go
- authtypes_user_flags.go
- capture_message.go
- capture_request.go
- capture_response.go
- capture_values.go
- capturemeta_script_ref.go
- cluster.go
- cluster_operator.go
- cluster_token.go
- cluster_token_status.go
- clusters_dev_mesh_enabled_workload.go
- clusters_dev_mesh_workload_status.go
- clusters_dev_mesh_workload_status_count.go
- config_cluster_config.go
- config_control_plane_config.go
- config_default_header_class.go
- config_gateway_api_config.go
- config_istio_config.go
- config_istio_signadot_operator.go
- config_linkerd_config.go
- config_linkerd_signadot_operator.go
- config_query_param_routing_config.go
- config_routing_config.go
- config_sandbox_traffic_manager_config.go
- config_traffic_capture_config.go
- config_traffic_manager_config.go
- connect_session.go
- connection.go
- create_api_key_request.go
- created_by.go
- defaults_composite_defaults.go
- defaults_default.go
- defaults_default_class.go
- defaults_resource_kind.go
- devbox.go
- devbox_principal.go
- devbox_registration.go
- devbox_status.go
- diff_op.go
- diff_op_classification.go
- empty_response.go
- endpoints_endpoint.go
- error_response.go
- event_auth_context.go
- event_principal.go
- event_query_result.go
- external_spec.go
- hosted_spec.go
- job.go
- job_artifact.go
- job_artifact_info.go
- job_env_item.go
- job_routing_context.go
- job_runner_group.go
- job_runner_group_auto_scaling.go
- job_runner_group_executions_status.go
- job_runner_group_manual_scaling.go
- job_runner_group_pods_status.go
- job_runner_group_scaling.go
- job_runner_group_spec.go
- job_runner_group_status.go
- job_spec.go
- job_traffic_manager.go
- job_upload_artifact.go
- jobs_attempt.go
- jobs_canceled_by.go
- jobs_canceled_state.go
- jobs_failed_state.go
- jobs_phase.go
- jobs_phase_count.go
- jobs_queued_state.go
- jobs_running_state.go
- jobs_state.go
- jobs_status.go
- jobs_succeeded_state.go
- list_api_keys_response.go
- list_events_response.go
- local.go
- local_from.go
- local_port_mapping.go
- logs_container_logs.go
- logs_log_item.go
- logs_log_type.go
- orgs_get_org_name_response.go
- orgs_org.go
- orgs_user.go
- phase_counts.go
- plan_action.go
- plan_action_spec.go
- plan_action_status.go
- plan_args.go
- plan_artifact_ref.go
- plan_cluster_affinity.go
- plan_compile_input.go
- plan_desired_images_response.go
- plan_execution.go
- plan_execution_query_result.go
- plan_execution_spec.go
- plan_execution_status.go
- plan_extra_inputs_schema_policy.go
- plan_field.go
- plan_image_ref.go
- plan_image_spec.go
- plan_input_status.go
- plan_log_status.go
- plan_output_status.go
- plan_routing_context.go
- plan_runner_group.go
- plan_runner_group_cache_spec.go
- plan_runner_group_cluster_settings.go
- plan_runner_group_manual_scaling.go
- plan_runner_group_pods_status.go
- plan_runner_group_scaling.go
- plan_runner_group_settings_response.go
- plan_runner_group_spec.go
- plan_runner_group_status.go
- plan_spec.go
- plan_status.go
- plan_step.go
- plan_step_action.go
- plan_step_input_status.go
- plan_step_output_ref.go
- plan_step_output_status.go
- plan_step_status.go
- plan_tag.go
- plan_tag_spec.go
- plan_tag_status.go
- plans_execution_phase.go
- plans_input_resolved_via.go
- plans_step_phase.go
- request_diff.go
- resource_info.go
- resource_plugin.go
- resourceplugin_runner.go
- resourceplugin_spec.go
- resourceplugin_status.go
- resourceplugin_step.go
- resourceplugin_step_input.go
- resourceplugin_step_input_to.go
- resourceplugin_step_out.go
- resourceplugin_value_from_step.go
- response_diff.go
- route_group.go
- route_group_match.go
- route_group_match_label.go
- route_group_spec.go
- route_group_status.go
- route_group_ttl.go
- routegroups_endpoint.go
- routegroups_endpoint_url.go
- routing_target.go
- routing_target_ref.go
- runnable_plan.go
- sandbox.go
- sandbox_connection_status.go
- sandbox_custom_patch.go
- sandbox_customizations.go
- sandbox_default_route_group.go
- sandbox_endpoint.go
- sandbox_env_value_from.go
- sandbox_env_value_from_fork.go
- sandbox_env_value_from_map.go
- sandbox_env_value_from_resource.go
- sandbox_env_var.go
- sandbox_file_op.go
- sandbox_file_source.go
- sandbox_file_source_map.go
- sandbox_file_source_resource.go
- sandbox_fork.go
- sandbox_fork_endpoint.go
- sandbox_fork_of.go
- sandbox_host_endpoint.go
- sandbox_image.go
- sandbox_local_workload_status.go
- sandbox_readiness.go
- sandbox_resource.go
- sandbox_spec.go
- sandbox_test_executions_summary.go
- sandbox_test_executions_summary_checks.go
- sandbox_test_executions_summary_traffic_diffs.go
- sandbox_ttl.go
- sandbox_tunnel_status.go
- sandboxes_arg_value_from.go
- sandboxes_argument.go
- sandboxes_env_op_name.go
- sandboxes_explain_mode.go
- sandboxes_forward.go
- sandboxes_forward_status.go
- sandboxes_jobs_summary.go
- sandboxes_l_l_m_context.go
- sandboxes_l_l_m_message.go
- sandboxes_l_l_m_message_role.go
- sandboxes_middleware.go
- sandboxes_middleware_match.go
- sandboxes_patch_type.go
- sandboxes_routing.go
- sandboxes_sandbox_status_explain_response.go
- secret.go
- service_account.go
- servicestatus_incident.go
- servicestatus_maintenance.go
- servicestatus_response.go
- source.go
- syntax_position.go
- tag_mapping.go
- test_execution.go
- test_execution_auto_diff.go
- test_execution_canceled_state.go
- test_execution_context.go
- test_execution_failed_state.go
- test_execution_results.go
- test_execution_spec.go
- test_execution_state.go
- test_execution_status.go
- test_execution_template.go
- test_execution_triggered_by.go
- test_spec.go
- test_status.go
- test_swagger.go
- test_trigger.go
- testexecutions_check.go
- testexecutions_check_error.go
- testexecutions_checks.go
- testexecutions_phase.go
- testexecutions_phase_count.go
- testexecutions_query_result.go
- testexecutions_unpaired_capture.go
- traffic_diff.go
- traffic_diff_paired_diff.go
- traffic_diff_point_result.go
- traffic_diff_result.go
- traffic_diff_summary.go
- trafficmodels_by.go
- trafficmodels_diff_operation.go
- trafficmodels_direction.go
- trafficmodels_kind.go
- virtual.go
- workload_workload.go