Documentation
¶
Index ¶
- type APIStatusDetail
- type ContainerStatusRunning
- func (m *ContainerStatusRunning) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ContainerStatusRunning) MarshalBinary() ([]byte, error)
- func (m *ContainerStatusRunning) UnmarshalBinary(b []byte) error
- func (m *ContainerStatusRunning) Validate(formats strfmt.Registry) error
- type ContainerStatusTerminated
- func (m *ContainerStatusTerminated) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ContainerStatusTerminated) MarshalBinary() ([]byte, error)
- func (m *ContainerStatusTerminated) UnmarshalBinary(b []byte) error
- func (m *ContainerStatusTerminated) Validate(formats strfmt.Registry) error
- type ContainerStatusWaiting
- func (m *ContainerStatusWaiting) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ContainerStatusWaiting) MarshalBinary() ([]byte, error)
- func (m *ContainerStatusWaiting) UnmarshalBinary(b []byte) error
- func (m *ContainerStatusWaiting) Validate(formats strfmt.Registry) error
- type DataMatrix
- type DataMatrixResult
- type DataValue
- type DataVector
- type DataVectorResult
- type GetMetricsRequestGroupBy
- type MetricsData
- type PaginationPageInfo
- type PaginationPageRequest
- type PrometheusMetrics
- type PrometheusMetricsStatus
- type StackpathRPCBadRequest
- func (m *StackpathRPCBadRequest) AtType() string
- func (m *StackpathRPCBadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCBadRequest) MarshalBinary() ([]byte, error)
- func (m StackpathRPCBadRequest) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCBadRequest) SetAtType(val string)
- func (m *StackpathRPCBadRequest) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCBadRequest) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCBadRequest) Validate(formats strfmt.Registry) error
- type StackpathRPCBadRequestFieldViolation
- func (m *StackpathRPCBadRequestFieldViolation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCBadRequestFieldViolation) MarshalBinary() ([]byte, error)
- func (m *StackpathRPCBadRequestFieldViolation) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCBadRequestFieldViolation) Validate(formats strfmt.Registry) error
- type StackpathRPCHelp
- func (m *StackpathRPCHelp) AtType() string
- func (m *StackpathRPCHelp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCHelp) MarshalBinary() ([]byte, error)
- func (m StackpathRPCHelp) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCHelp) SetAtType(val string)
- func (m *StackpathRPCHelp) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCHelp) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCHelp) Validate(formats strfmt.Registry) error
- type StackpathRPCHelpLink
- type StackpathRPCLocalizedMessage
- func (m *StackpathRPCLocalizedMessage) AtType() string
- func (m *StackpathRPCLocalizedMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCLocalizedMessage) MarshalBinary() ([]byte, error)
- func (m StackpathRPCLocalizedMessage) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCLocalizedMessage) SetAtType(val string)
- func (m *StackpathRPCLocalizedMessage) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCLocalizedMessage) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCLocalizedMessage) Validate(formats strfmt.Registry) error
- type StackpathRPCPreconditionFailure
- func (m *StackpathRPCPreconditionFailure) AtType() string
- func (m *StackpathRPCPreconditionFailure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCPreconditionFailure) MarshalBinary() ([]byte, error)
- func (m StackpathRPCPreconditionFailure) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCPreconditionFailure) SetAtType(val string)
- func (m *StackpathRPCPreconditionFailure) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCPreconditionFailure) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCPreconditionFailure) Validate(formats strfmt.Registry) error
- type StackpathRPCPreconditionFailureViolation
- func (m *StackpathRPCPreconditionFailureViolation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCPreconditionFailureViolation) MarshalBinary() ([]byte, error)
- func (m *StackpathRPCPreconditionFailureViolation) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCPreconditionFailureViolation) Validate(formats strfmt.Registry) error
- type StackpathRPCQuotaFailure
- func (m *StackpathRPCQuotaFailure) AtType() string
- func (m *StackpathRPCQuotaFailure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCQuotaFailure) MarshalBinary() ([]byte, error)
- func (m StackpathRPCQuotaFailure) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCQuotaFailure) SetAtType(val string)
- func (m *StackpathRPCQuotaFailure) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCQuotaFailure) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCQuotaFailure) Validate(formats strfmt.Registry) error
- type StackpathRPCQuotaFailureViolation
- func (m *StackpathRPCQuotaFailureViolation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCQuotaFailureViolation) MarshalBinary() ([]byte, error)
- func (m *StackpathRPCQuotaFailureViolation) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCQuotaFailureViolation) Validate(formats strfmt.Registry) error
- type StackpathRPCRequestInfo
- func (m *StackpathRPCRequestInfo) AtType() string
- func (m *StackpathRPCRequestInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCRequestInfo) MarshalBinary() ([]byte, error)
- func (m StackpathRPCRequestInfo) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCRequestInfo) SetAtType(val string)
- func (m *StackpathRPCRequestInfo) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCRequestInfo) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCRequestInfo) Validate(formats strfmt.Registry) error
- type StackpathRPCResourceInfo
- func (m *StackpathRPCResourceInfo) AtType() string
- func (m *StackpathRPCResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCResourceInfo) MarshalBinary() ([]byte, error)
- func (m StackpathRPCResourceInfo) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCResourceInfo) SetAtType(val string)
- func (m *StackpathRPCResourceInfo) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCResourceInfo) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCResourceInfo) Validate(formats strfmt.Registry) error
- type StackpathRPCRetryInfo
- func (m *StackpathRPCRetryInfo) AtType() string
- func (m *StackpathRPCRetryInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathRPCRetryInfo) MarshalBinary() ([]byte, error)
- func (m StackpathRPCRetryInfo) MarshalJSON() ([]byte, error)
- func (m *StackpathRPCRetryInfo) SetAtType(val string)
- func (m *StackpathRPCRetryInfo) UnmarshalBinary(b []byte) error
- func (m *StackpathRPCRetryInfo) UnmarshalJSON(raw []byte) error
- func (m *StackpathRPCRetryInfo) Validate(formats strfmt.Registry) error
- type StackpathapiStatus
- func (m *StackpathapiStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StackpathapiStatus) Details() []APIStatusDetail
- func (m *StackpathapiStatus) MarshalBinary() ([]byte, error)
- func (m StackpathapiStatus) MarshalJSON() ([]byte, error)
- func (m *StackpathapiStatus) SetDetails(val []APIStatusDetail)
- func (m *StackpathapiStatus) UnmarshalBinary(b []byte) error
- func (m *StackpathapiStatus) UnmarshalJSON(raw []byte) error
- func (m *StackpathapiStatus) Validate(formats strfmt.Registry) error
- type V1ConditionStatus
- type V1ContainerCapabilities
- func (m *V1ContainerCapabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ContainerCapabilities) MarshalBinary() ([]byte, error)
- func (m *V1ContainerCapabilities) UnmarshalBinary(b []byte) error
- func (m *V1ContainerCapabilities) Validate(formats strfmt.Registry) error
- type V1ContainerImagePullPolicy
- type V1ContainerLifecycle
- type V1ContainerLifecycleHandler
- func (m *V1ContainerLifecycleHandler) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ContainerLifecycleHandler) MarshalBinary() ([]byte, error)
- func (m *V1ContainerLifecycleHandler) UnmarshalBinary(b []byte) error
- func (m *V1ContainerLifecycleHandler) Validate(formats strfmt.Registry) error
- type V1ContainerSecurityContext
- func (m *V1ContainerSecurityContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ContainerSecurityContext) MarshalBinary() ([]byte, error)
- func (m *V1ContainerSecurityContext) UnmarshalBinary(b []byte) error
- func (m *V1ContainerSecurityContext) Validate(formats strfmt.Registry) error
- type V1ContainerSpec
- type V1ContainerSpecMapEntry
- type V1ContainerStatus
- type V1ContainerStatusContainerPhase
- type V1ContainerTerminationMessagePolicy
- type V1CreateImageRequest
- type V1CreateImageResponse
- type V1CreateWorkloadRequest
- func (m *V1CreateWorkloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreateWorkloadRequest) MarshalBinary() ([]byte, error)
- func (m *V1CreateWorkloadRequest) UnmarshalBinary(b []byte) error
- func (m *V1CreateWorkloadRequest) Validate(formats strfmt.Registry) error
- type V1CreateWorkloadResponse
- func (m *V1CreateWorkloadResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreateWorkloadResponse) MarshalBinary() ([]byte, error)
- func (m *V1CreateWorkloadResponse) UnmarshalBinary(b []byte) error
- func (m *V1CreateWorkloadResponse) Validate(formats strfmt.Registry) error
- type V1DNSConfig
- type V1DNSConfigOption
- type V1DeploymentSpec
- type V1DockerRegistryCredentials
- func (m *V1DockerRegistryCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1DockerRegistryCredentials) MarshalBinary() ([]byte, error)
- func (m *V1DockerRegistryCredentials) UnmarshalBinary(b []byte) error
- func (m *V1DockerRegistryCredentials) Validate(formats strfmt.Registry) error
- type V1EnvironmentVariable
- type V1EnvironmentVariableMapEntry
- type V1EnvironmentVariableSource
- func (m *V1EnvironmentVariableSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1EnvironmentVariableSource) MarshalBinary() ([]byte, error)
- func (m *V1EnvironmentVariableSource) UnmarshalBinary(b []byte) error
- func (m *V1EnvironmentVariableSource) Validate(formats strfmt.Registry) error
- type V1ExecAction
- type V1GetImageResponse
- type V1GetImagesForFamilyResponse
- func (m *V1GetImagesForFamilyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetImagesForFamilyResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetImagesForFamilyResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetImagesForFamilyResponse) Validate(formats strfmt.Registry) error
- type V1GetImagesResponse
- type V1GetLocationsResponse
- func (m *V1GetLocationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetLocationsResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetLocationsResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetLocationsResponse) Validate(formats strfmt.Registry) error
- type V1GetMetricsRequestGranularity
- type V1GetMetricsRequestTrafficRegion
- type V1GetMetricsRequestType
- type V1GetWorkloadInstanceInitialPasswordResponse
- func (m *V1GetWorkloadInstanceInitialPasswordResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetWorkloadInstanceInitialPasswordResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetWorkloadInstanceInitialPasswordResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetWorkloadInstanceInitialPasswordResponse) Validate(formats strfmt.Registry) error
- type V1GetWorkloadInstanceResponse
- func (m *V1GetWorkloadInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetWorkloadInstanceResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetWorkloadInstanceResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetWorkloadInstanceResponse) Validate(formats strfmt.Registry) error
- type V1GetWorkloadInstancesResponse
- func (m *V1GetWorkloadInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetWorkloadInstancesResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetWorkloadInstancesResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetWorkloadInstancesResponse) Validate(formats strfmt.Registry) error
- type V1GetWorkloadResponse
- type V1GetWorkloadsResponse
- func (m *V1GetWorkloadsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetWorkloadsResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetWorkloadsResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetWorkloadsResponse) Validate(formats strfmt.Registry) error
- type V1HTTPGetAction
- type V1HostAlias
- type V1IPFamily
- type V1Image
- type V1ImageCondition
- type V1ImageConditionStatus
- type V1ImageDeprecation
- type V1ImageMetadata
- type V1ImagePullCredential
- type V1ImageSourceInstanceVolume
- func (m *V1ImageSourceInstanceVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ImageSourceInstanceVolume) MarshalBinary() ([]byte, error)
- func (m *V1ImageSourceInstanceVolume) UnmarshalBinary(b []byte) error
- func (m *V1ImageSourceInstanceVolume) Validate(formats strfmt.Registry) error
- type V1ImageStatus
- type V1InstanceCondition
- type V1InstanceConditionType
- type V1InstanceFieldRef
- type V1InstancePort
- type V1InstancePortMapEntry
- type V1InstanceVolumeMount
- type V1LogChunk
- type V1MatchExpression
- type V1Metadata
- type V1MetricSpec
- type V1NetworkInterface
- type V1Probe
- type V1PutWorkloadRequest
- type V1PutWorkloadResponse
- type V1ResourceRequirements
- func (m *V1ResourceRequirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1ResourceRequirements) MarshalBinary() ([]byte, error)
- func (m *V1ResourceRequirements) UnmarshalBinary(b []byte) error
- func (m *V1ResourceRequirements) Validate(formats strfmt.Registry) error
- type V1ScaleSettings
- type V1StringMapEntry
- type V1Sysctl
- type V1TCPSocketAction
- type V1Target
- type V1TargetMapEntry
- type V1TargetSpec
- type V1UpdateImageDeprecationResponse
- func (m *V1UpdateImageDeprecationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1UpdateImageDeprecationResponse) MarshalBinary() ([]byte, error)
- func (m *V1UpdateImageDeprecationResponse) UnmarshalBinary(b []byte) error
- func (m *V1UpdateImageDeprecationResponse) Validate(formats strfmt.Registry) error
- type V1UpdateImageRequest
- type V1UpdateImageResponse
- type V1UpdateWorkloadRequest
- func (m *V1UpdateWorkloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1UpdateWorkloadRequest) MarshalBinary() ([]byte, error)
- func (m *V1UpdateWorkloadRequest) UnmarshalBinary(b []byte) error
- func (m *V1UpdateWorkloadRequest) Validate(formats strfmt.Registry) error
- type V1UpdateWorkloadResponse
- func (m *V1UpdateWorkloadResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1UpdateWorkloadResponse) MarshalBinary() ([]byte, error)
- func (m *V1UpdateWorkloadResponse) UnmarshalBinary(b []byte) error
- func (m *V1UpdateWorkloadResponse) Validate(formats strfmt.Registry) error
- type V1VirtualMachineSpec
- type V1VirtualMachineSpecMapEntry
- type V1VirtualMachineStatus
- func (m *V1VirtualMachineStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1VirtualMachineStatus) MarshalBinary() ([]byte, error)
- func (m *V1VirtualMachineStatus) UnmarshalBinary(b []byte) error
- func (m *V1VirtualMachineStatus) Validate(formats strfmt.Registry) error
- type V1VolumeClaim
- type V1VolumeClaimSpec
- type V1WatchNetworksResponse
- func (m *V1WatchNetworksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1WatchNetworksResponse) MarshalBinary() ([]byte, error)
- func (m *V1WatchNetworksResponse) UnmarshalBinary(b []byte) error
- func (m *V1WatchNetworksResponse) Validate(formats strfmt.Registry) error
- type V1WatchNetworksResponseNetworkInterfaceStatus
- func (m *V1WatchNetworksResponseNetworkInterfaceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1WatchNetworksResponseNetworkInterfaceStatus) MarshalBinary() ([]byte, error)
- func (m *V1WatchNetworksResponseNetworkInterfaceStatus) UnmarshalBinary(b []byte) error
- func (m *V1WatchNetworksResponseNetworkInterfaceStatus) Validate(formats strfmt.Registry) error
- type V1WatcherState
- type V1Workload
- type V1WorkloadInstanceContainerRuntimeSettings
- func (m *V1WorkloadInstanceContainerRuntimeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1WorkloadInstanceContainerRuntimeSettings) MarshalBinary() ([]byte, error)
- func (m *V1WorkloadInstanceContainerRuntimeSettings) UnmarshalBinary(b []byte) error
- func (m *V1WorkloadInstanceContainerRuntimeSettings) Validate(formats strfmt.Registry) error
- type V1WorkloadInstanceRuntimeSettings
- func (m *V1WorkloadInstanceRuntimeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1WorkloadInstanceRuntimeSettings) MarshalBinary() ([]byte, error)
- func (m *V1WorkloadInstanceRuntimeSettings) UnmarshalBinary(b []byte) error
- func (m *V1WorkloadInstanceRuntimeSettings) Validate(formats strfmt.Registry) error
- type V1WorkloadInstanceSecurityContext
- func (m *V1WorkloadInstanceSecurityContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1WorkloadInstanceSecurityContext) MarshalBinary() ([]byte, error)
- func (m *V1WorkloadInstanceSecurityContext) UnmarshalBinary(b []byte) error
- func (m *V1WorkloadInstanceSecurityContext) Validate(formats strfmt.Registry) error
- type V1WorkloadInstanceVMRuntimeSettings
- func (m *V1WorkloadInstanceVMRuntimeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1WorkloadInstanceVMRuntimeSettings) MarshalBinary() ([]byte, error)
- func (m *V1WorkloadInstanceVMRuntimeSettings) UnmarshalBinary(b []byte) error
- func (m *V1WorkloadInstanceVMRuntimeSettings) Validate(formats strfmt.Registry) error
- type V1WorkloadSpec
- type V1WorkloadStatus
- type V1WrappedImagePullCredentials
- type VirtualMachineStatusPhase
- type VolumeClaimVolumeClaimPhase
- type WatchNetworksResponseEventType
- type Workloadv1Instance
- type Workloadv1InstanceInstancePhase
- type Workloadv1Location
- type Workloadv1NetworkInterfaceStatus
- func (m *Workloadv1NetworkInterfaceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Workloadv1NetworkInterfaceStatus) MarshalBinary() ([]byte, error)
- func (m *Workloadv1NetworkInterfaceStatus) UnmarshalBinary(b []byte) error
- func (m *Workloadv1NetworkInterfaceStatus) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIStatusDetail ¶
type APIStatusDetail interface { runtime.Validatable runtime.ContextValidatable // at type // Required: true AtType() string SetAtType(string) }
APIStatusDetail api status detail
swagger:discriminator apiStatusDetail @type
func UnmarshalAPIStatusDetail ¶
UnmarshalAPIStatusDetail unmarshals polymorphic APIStatusDetail
func UnmarshalAPIStatusDetailSlice ¶
func UnmarshalAPIStatusDetailSlice(reader io.Reader, consumer runtime.Consumer) ([]APIStatusDetail, error)
UnmarshalAPIStatusDetailSlice unmarshals polymorphic slices of APIStatusDetail
type ContainerStatusRunning ¶
type ContainerStatusRunning struct { // The date a container started // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` }
ContainerStatusRunning Properties related to running containers
swagger:model ContainerStatusRunning
func (*ContainerStatusRunning) ContextValidate ¶
func (m *ContainerStatusRunning) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container status running based on context it is used
func (*ContainerStatusRunning) MarshalBinary ¶
func (m *ContainerStatusRunning) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStatusRunning) UnmarshalBinary ¶
func (m *ContainerStatusRunning) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStatusTerminated ¶
type ContainerStatusTerminated struct { // The exit code of the command that started the container ExitCode int32 `json:"exitCode,omitempty"` // The date a container terminated // Format: date-time FinishedAt strfmt.DateTime `json:"finishedAt,omitempty"` // A more detailed explanation of a container's termination Message string `json:"message,omitempty"` // The reason a container terminated Reason string `json:"reason,omitempty"` // The date a container started // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` }
ContainerStatusTerminated Properties related to terminated containers
swagger:model ContainerStatusTerminated
func (*ContainerStatusTerminated) ContextValidate ¶
func (m *ContainerStatusTerminated) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container status terminated based on context it is used
func (*ContainerStatusTerminated) MarshalBinary ¶
func (m *ContainerStatusTerminated) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStatusTerminated) UnmarshalBinary ¶
func (m *ContainerStatusTerminated) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStatusWaiting ¶
type ContainerStatusWaiting struct { // A more detailed explanation of a container's waiting state Message string `json:"message,omitempty"` // The reason that a container is waiting to start Reason string `json:"reason,omitempty"` }
ContainerStatusWaiting Properties related to containers that are starting up
swagger:model ContainerStatusWaiting
func (*ContainerStatusWaiting) ContextValidate ¶
func (m *ContainerStatusWaiting) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container status waiting based on context it is used
func (*ContainerStatusWaiting) MarshalBinary ¶
func (m *ContainerStatusWaiting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStatusWaiting) UnmarshalBinary ¶
func (m *ContainerStatusWaiting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataMatrix ¶
type DataMatrix struct { // A data point's value Results []*DataMatrixResult `json:"results"` }
DataMatrix A set of time series containing a range of data points over time for each time series
swagger:model DataMatrix
func (*DataMatrix) ContextValidate ¶
ContextValidate validate this data matrix based on the context it is used
func (*DataMatrix) MarshalBinary ¶
func (m *DataMatrix) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataMatrix) UnmarshalBinary ¶
func (m *DataMatrix) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataMatrixResult ¶
type DataMatrixResult struct { // The data points' labels Metric map[string]string `json:"metric,omitempty"` // Time series data point values Values []*DataValue `json:"values"` }
DataMatrixResult Time series containing a range of data points over time for each time series
swagger:model DataMatrixResult
func (*DataMatrixResult) ContextValidate ¶
ContextValidate validate this data matrix result based on the context it is used
func (*DataMatrixResult) MarshalBinary ¶
func (m *DataMatrixResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataMatrixResult) UnmarshalBinary ¶
func (m *DataMatrixResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataValue ¶
type DataValue struct { // The time that a data point was recorded UnixTime string `json:"unixTime,omitempty"` // A data point's value Value string `json:"value,omitempty"` }
DataValue An individual metric data point
swagger:model DataValue
func (*DataValue) ContextValidate ¶
ContextValidate validates this data value based on context it is used
func (*DataValue) MarshalBinary ¶
MarshalBinary interface implementation
func (*DataValue) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DataVector ¶
type DataVector struct { // A data point's value Results []*DataVectorResult `json:"results"` }
DataVector A set of time series containing a single sample for each time series, all sharing the same timestamp
swagger:model DataVector
func (*DataVector) ContextValidate ¶
ContextValidate validate this data vector based on the context it is used
func (*DataVector) MarshalBinary ¶
func (m *DataVector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataVector) UnmarshalBinary ¶
func (m *DataVector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataVectorResult ¶
type DataVectorResult struct { // The data points' labels Metric map[string]string `json:"metric,omitempty"` // value Value *DataValue `json:"value,omitempty"` }
DataVectorResult Time series containing a single sample for each time series, all sharing the same timestamp
swagger:model DataVectorResult
func (*DataVectorResult) ContextValidate ¶
ContextValidate validate this data vector result based on the context it is used
func (*DataVectorResult) MarshalBinary ¶
func (m *DataVectorResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataVectorResult) UnmarshalBinary ¶
func (m *DataVectorResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMetricsRequestGroupBy ¶
type GetMetricsRequestGroupBy string
GetMetricsRequestGroupBy The available fields to group instance metrics by
swagger:model GetMetricsRequestGroupBy
const ( // GetMetricsRequestGroupByNONE captures enum value "NONE" GetMetricsRequestGroupByNONE GetMetricsRequestGroupBy = "NONE" // GetMetricsRequestGroupByINSTANCENAME captures enum value "INSTANCE_NAME" GetMetricsRequestGroupByINSTANCENAME GetMetricsRequestGroupBy = "INSTANCE_NAME" )
func NewGetMetricsRequestGroupBy ¶
func NewGetMetricsRequestGroupBy(value GetMetricsRequestGroupBy) *GetMetricsRequestGroupBy
func (GetMetricsRequestGroupBy) ContextValidate ¶
func (m GetMetricsRequestGroupBy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get metrics request group by based on context it is used
func (GetMetricsRequestGroupBy) Pointer ¶
func (m GetMetricsRequestGroupBy) Pointer() *GetMetricsRequestGroupBy
Pointer returns a pointer to a freshly-allocated GetMetricsRequestGroupBy.
type MetricsData ¶
type MetricsData struct { // matrix Matrix *DataMatrix `json:"matrix,omitempty"` // vector Vector *DataVector `json:"vector,omitempty"` }
MetricsData The data points in a metrics collection
swagger:model MetricsData
func (*MetricsData) ContextValidate ¶
ContextValidate validate this metrics data based on the context it is used
func (*MetricsData) MarshalBinary ¶
func (m *MetricsData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricsData) UnmarshalBinary ¶
func (m *MetricsData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaginationPageInfo ¶
type PaginationPageInfo struct { // The cursor for the last item in the set of data returned EndCursor string `json:"endCursor,omitempty"` // Whether or not another page of data is available HasNextPage bool `json:"hasNextPage,omitempty"` // Whether or not a previous page of data exists HasPreviousPage bool `json:"hasPreviousPage,omitempty"` // The cursor for the first item in the set of data returned StartCursor string `json:"startCursor,omitempty"` // The total number of items in the dataset TotalCount string `json:"totalCount,omitempty"` }
PaginationPageInfo Information about a paginated response
This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.
swagger:model paginationPageInfo
func (*PaginationPageInfo) ContextValidate ¶
ContextValidate validates this pagination page info based on context it is used
func (*PaginationPageInfo) MarshalBinary ¶
func (m *PaginationPageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginationPageInfo) UnmarshalBinary ¶
func (m *PaginationPageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaginationPageRequest ¶
type PaginationPageRequest struct { // The cursor value after which data will be returned After string `json:"after,omitempty"` // SQL-style constraint filters Filter string `json:"filter,omitempty"` // The number of items desired First string `json:"first,omitempty"` // Sort the response by the given field SortBy string `json:"sortBy,omitempty"` }
PaginationPageRequest Pagination request information
This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.
swagger:model paginationPageRequest
func (*PaginationPageRequest) ContextValidate ¶
ContextValidate validates this pagination page request based on context it is used
func (*PaginationPageRequest) MarshalBinary ¶
func (m *PaginationPageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginationPageRequest) UnmarshalBinary ¶
func (m *PaginationPageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrometheusMetrics ¶
type PrometheusMetrics struct { // data Data *MetricsData `json:"data,omitempty"` // The error encountered when querying for metrics Error string `json:"error,omitempty"` // The type of error encountered when querying for metrics ErrorType string `json:"errorType,omitempty"` // status Status *PrometheusMetricsStatus `json:"status,omitempty"` // Warnings encountered when querying for metrics Warnings []string `json:"warnings"` }
PrometheusMetrics A collection of metrics
swagger:model prometheusMetrics
func (*PrometheusMetrics) ContextValidate ¶
ContextValidate validate this prometheus metrics based on the context it is used
func (*PrometheusMetrics) MarshalBinary ¶
func (m *PrometheusMetrics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PrometheusMetrics) UnmarshalBinary ¶
func (m *PrometheusMetrics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrometheusMetricsStatus ¶
type PrometheusMetricsStatus string
PrometheusMetricsStatus A metrics query's resulting status
swagger:model prometheusMetricsStatus
const ( // PrometheusMetricsStatusSUCCESS captures enum value "SUCCESS" PrometheusMetricsStatusSUCCESS PrometheusMetricsStatus = "SUCCESS" // PrometheusMetricsStatusERROR captures enum value "ERROR" PrometheusMetricsStatusERROR PrometheusMetricsStatus = "ERROR" )
func NewPrometheusMetricsStatus ¶
func NewPrometheusMetricsStatus(value PrometheusMetricsStatus) *PrometheusMetricsStatus
func (PrometheusMetricsStatus) ContextValidate ¶
func (m PrometheusMetricsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this prometheus metrics status based on context it is used
func (PrometheusMetricsStatus) Pointer ¶
func (m PrometheusMetricsStatus) Pointer() *PrometheusMetricsStatus
Pointer returns a pointer to a freshly-allocated PrometheusMetricsStatus.
type StackpathRPCBadRequest ¶
type StackpathRPCBadRequest struct { // field violations FieldViolations []*StackpathRPCBadRequestFieldViolation `json:"fieldViolations"` }
StackpathRPCBadRequest stackpath rpc bad request
swagger:model stackpath.rpc.BadRequest
func (*StackpathRPCBadRequest) AtType ¶
func (m *StackpathRPCBadRequest) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCBadRequest) ContextValidate ¶
func (m *StackpathRPCBadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this stackpath rpc bad request based on the context it is used
func (*StackpathRPCBadRequest) MarshalBinary ¶
func (m *StackpathRPCBadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCBadRequest) MarshalJSON ¶
func (m StackpathRPCBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCBadRequest) SetAtType ¶
func (m *StackpathRPCBadRequest) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCBadRequest) UnmarshalBinary ¶
func (m *StackpathRPCBadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCBadRequest) UnmarshalJSON ¶
func (m *StackpathRPCBadRequest) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCBadRequestFieldViolation ¶
type StackpathRPCBadRequestFieldViolation struct { // description Description string `json:"description,omitempty"` // field Field string `json:"field,omitempty"` }
StackpathRPCBadRequestFieldViolation stackpath rpc bad request field violation
swagger:model stackpath.rpc.BadRequest.FieldViolation
func (*StackpathRPCBadRequestFieldViolation) ContextValidate ¶
func (m *StackpathRPCBadRequestFieldViolation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stackpath rpc bad request field violation based on context it is used
func (*StackpathRPCBadRequestFieldViolation) MarshalBinary ¶
func (m *StackpathRPCBadRequestFieldViolation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCBadRequestFieldViolation) UnmarshalBinary ¶
func (m *StackpathRPCBadRequestFieldViolation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCHelp ¶
type StackpathRPCHelp struct { // links Links []*StackpathRPCHelpLink `json:"links"` }
StackpathRPCHelp stackpath rpc help
swagger:model stackpath.rpc.Help
func (*StackpathRPCHelp) AtType ¶
func (m *StackpathRPCHelp) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCHelp) ContextValidate ¶
ContextValidate validate this stackpath rpc help based on the context it is used
func (*StackpathRPCHelp) MarshalBinary ¶
func (m *StackpathRPCHelp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCHelp) MarshalJSON ¶
func (m StackpathRPCHelp) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCHelp) SetAtType ¶
func (m *StackpathRPCHelp) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCHelp) UnmarshalBinary ¶
func (m *StackpathRPCHelp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCHelp) UnmarshalJSON ¶
func (m *StackpathRPCHelp) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCHelpLink ¶
type StackpathRPCHelpLink struct { // description Description string `json:"description,omitempty"` // url URL string `json:"url,omitempty"` }
StackpathRPCHelpLink stackpath rpc help link
swagger:model stackpath.rpc.Help.Link
func (*StackpathRPCHelpLink) ContextValidate ¶
ContextValidate validates this stackpath rpc help link based on context it is used
func (*StackpathRPCHelpLink) MarshalBinary ¶
func (m *StackpathRPCHelpLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCHelpLink) UnmarshalBinary ¶
func (m *StackpathRPCHelpLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCLocalizedMessage ¶
type StackpathRPCLocalizedMessage struct { // locale Locale string `json:"locale,omitempty"` // message Message string `json:"message,omitempty"` }
StackpathRPCLocalizedMessage stackpath rpc localized message
swagger:model stackpath.rpc.LocalizedMessage
func (*StackpathRPCLocalizedMessage) AtType ¶
func (m *StackpathRPCLocalizedMessage) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCLocalizedMessage) ContextValidate ¶
func (m *StackpathRPCLocalizedMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this stackpath rpc localized message based on the context it is used
func (*StackpathRPCLocalizedMessage) MarshalBinary ¶
func (m *StackpathRPCLocalizedMessage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCLocalizedMessage) MarshalJSON ¶
func (m StackpathRPCLocalizedMessage) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCLocalizedMessage) SetAtType ¶
func (m *StackpathRPCLocalizedMessage) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCLocalizedMessage) UnmarshalBinary ¶
func (m *StackpathRPCLocalizedMessage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCLocalizedMessage) UnmarshalJSON ¶
func (m *StackpathRPCLocalizedMessage) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCPreconditionFailure ¶
type StackpathRPCPreconditionFailure struct { // violations Violations []*StackpathRPCPreconditionFailureViolation `json:"violations"` }
StackpathRPCPreconditionFailure stackpath rpc precondition failure
swagger:model stackpath.rpc.PreconditionFailure
func (*StackpathRPCPreconditionFailure) AtType ¶
func (m *StackpathRPCPreconditionFailure) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCPreconditionFailure) ContextValidate ¶
func (m *StackpathRPCPreconditionFailure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this stackpath rpc precondition failure based on the context it is used
func (*StackpathRPCPreconditionFailure) MarshalBinary ¶
func (m *StackpathRPCPreconditionFailure) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCPreconditionFailure) MarshalJSON ¶
func (m StackpathRPCPreconditionFailure) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCPreconditionFailure) SetAtType ¶
func (m *StackpathRPCPreconditionFailure) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCPreconditionFailure) UnmarshalBinary ¶
func (m *StackpathRPCPreconditionFailure) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCPreconditionFailure) UnmarshalJSON ¶
func (m *StackpathRPCPreconditionFailure) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCPreconditionFailureViolation ¶
type StackpathRPCPreconditionFailureViolation struct { // description Description string `json:"description,omitempty"` // subject Subject string `json:"subject,omitempty"` // type Type string `json:"type,omitempty"` }
StackpathRPCPreconditionFailureViolation stackpath rpc precondition failure violation
swagger:model stackpath.rpc.PreconditionFailure.Violation
func (*StackpathRPCPreconditionFailureViolation) ContextValidate ¶
func (m *StackpathRPCPreconditionFailureViolation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stackpath rpc precondition failure violation based on context it is used
func (*StackpathRPCPreconditionFailureViolation) MarshalBinary ¶
func (m *StackpathRPCPreconditionFailureViolation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCPreconditionFailureViolation) UnmarshalBinary ¶
func (m *StackpathRPCPreconditionFailureViolation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCQuotaFailure ¶
type StackpathRPCQuotaFailure struct { // violations Violations []*StackpathRPCQuotaFailureViolation `json:"violations"` }
StackpathRPCQuotaFailure stackpath rpc quota failure
swagger:model stackpath.rpc.QuotaFailure
func (*StackpathRPCQuotaFailure) AtType ¶
func (m *StackpathRPCQuotaFailure) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCQuotaFailure) ContextValidate ¶
func (m *StackpathRPCQuotaFailure) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this stackpath rpc quota failure based on the context it is used
func (*StackpathRPCQuotaFailure) MarshalBinary ¶
func (m *StackpathRPCQuotaFailure) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCQuotaFailure) MarshalJSON ¶
func (m StackpathRPCQuotaFailure) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCQuotaFailure) SetAtType ¶
func (m *StackpathRPCQuotaFailure) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCQuotaFailure) UnmarshalBinary ¶
func (m *StackpathRPCQuotaFailure) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCQuotaFailure) UnmarshalJSON ¶
func (m *StackpathRPCQuotaFailure) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCQuotaFailureViolation ¶
type StackpathRPCQuotaFailureViolation struct { // description Description string `json:"description,omitempty"` // subject Subject string `json:"subject,omitempty"` }
StackpathRPCQuotaFailureViolation stackpath rpc quota failure violation
swagger:model stackpath.rpc.QuotaFailure.Violation
func (*StackpathRPCQuotaFailureViolation) ContextValidate ¶
func (m *StackpathRPCQuotaFailureViolation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stackpath rpc quota failure violation based on context it is used
func (*StackpathRPCQuotaFailureViolation) MarshalBinary ¶
func (m *StackpathRPCQuotaFailureViolation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCQuotaFailureViolation) UnmarshalBinary ¶
func (m *StackpathRPCQuotaFailureViolation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCRequestInfo ¶
type StackpathRPCRequestInfo struct { // request Id RequestID string `json:"requestId,omitempty"` // serving data ServingData string `json:"servingData,omitempty"` }
StackpathRPCRequestInfo stackpath rpc request info
swagger:model stackpath.rpc.RequestInfo
func (*StackpathRPCRequestInfo) AtType ¶
func (m *StackpathRPCRequestInfo) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCRequestInfo) ContextValidate ¶
func (m *StackpathRPCRequestInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this stackpath rpc request info based on the context it is used
func (*StackpathRPCRequestInfo) MarshalBinary ¶
func (m *StackpathRPCRequestInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCRequestInfo) MarshalJSON ¶
func (m StackpathRPCRequestInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCRequestInfo) SetAtType ¶
func (m *StackpathRPCRequestInfo) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCRequestInfo) UnmarshalBinary ¶
func (m *StackpathRPCRequestInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCRequestInfo) UnmarshalJSON ¶
func (m *StackpathRPCRequestInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCResourceInfo ¶
type StackpathRPCResourceInfo struct { // description Description string `json:"description,omitempty"` // owner Owner string `json:"owner,omitempty"` // resource name ResourceName string `json:"resourceName,omitempty"` // resource type ResourceType string `json:"resourceType,omitempty"` }
StackpathRPCResourceInfo stackpath rpc resource info
swagger:model stackpath.rpc.ResourceInfo
func (*StackpathRPCResourceInfo) AtType ¶
func (m *StackpathRPCResourceInfo) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCResourceInfo) ContextValidate ¶
func (m *StackpathRPCResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this stackpath rpc resource info based on the context it is used
func (*StackpathRPCResourceInfo) MarshalBinary ¶
func (m *StackpathRPCResourceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCResourceInfo) MarshalJSON ¶
func (m StackpathRPCResourceInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCResourceInfo) SetAtType ¶
func (m *StackpathRPCResourceInfo) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCResourceInfo) UnmarshalBinary ¶
func (m *StackpathRPCResourceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCResourceInfo) UnmarshalJSON ¶
func (m *StackpathRPCResourceInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathRPCRetryInfo ¶
type StackpathRPCRetryInfo struct { // retry delay RetryDelay string `json:"retryDelay,omitempty"` }
StackpathRPCRetryInfo stackpath rpc retry info
swagger:model stackpath.rpc.RetryInfo
func (*StackpathRPCRetryInfo) AtType ¶
func (m *StackpathRPCRetryInfo) AtType() string
AtType gets the at type of this subtype
func (*StackpathRPCRetryInfo) ContextValidate ¶
ContextValidate validate this stackpath rpc retry info based on the context it is used
func (*StackpathRPCRetryInfo) MarshalBinary ¶
func (m *StackpathRPCRetryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathRPCRetryInfo) MarshalJSON ¶
func (m StackpathRPCRetryInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathRPCRetryInfo) SetAtType ¶
func (m *StackpathRPCRetryInfo) SetAtType(val string)
SetAtType sets the at type of this subtype
func (*StackpathRPCRetryInfo) UnmarshalBinary ¶
func (m *StackpathRPCRetryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathRPCRetryInfo) UnmarshalJSON ¶
func (m *StackpathRPCRetryInfo) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type StackpathapiStatus ¶
type StackpathapiStatus struct { // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // contains filtered or unexported fields }
StackpathapiStatus stackpathapi status
swagger:model stackpathapiStatus
func (*StackpathapiStatus) ContextValidate ¶
ContextValidate validate this stackpathapi status based on the context it is used
func (*StackpathapiStatus) Details ¶
func (m *StackpathapiStatus) Details() []APIStatusDetail
Details gets the details of this base type
func (*StackpathapiStatus) MarshalBinary ¶
func (m *StackpathapiStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (StackpathapiStatus) MarshalJSON ¶
func (m StackpathapiStatus) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*StackpathapiStatus) SetDetails ¶
func (m *StackpathapiStatus) SetDetails(val []APIStatusDetail)
SetDetails sets the details of this base type
func (*StackpathapiStatus) UnmarshalBinary ¶
func (m *StackpathapiStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*StackpathapiStatus) UnmarshalJSON ¶
func (m *StackpathapiStatus) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
type V1ConditionStatus ¶
type V1ConditionStatus string
V1ConditionStatus v1 condition status
swagger:model v1ConditionStatus
const ( // V1ConditionStatusCONDITIONSTATUSUNKNOWN captures enum value "CONDITION_STATUS_UNKNOWN" V1ConditionStatusCONDITIONSTATUSUNKNOWN V1ConditionStatus = "CONDITION_STATUS_UNKNOWN" // V1ConditionStatusCONDITIONSTATUSTRUE captures enum value "CONDITION_STATUS_TRUE" V1ConditionStatusCONDITIONSTATUSTRUE V1ConditionStatus = "CONDITION_STATUS_TRUE" // V1ConditionStatusCONDITIONSTATUSFALSE captures enum value "CONDITION_STATUS_FALSE" V1ConditionStatusCONDITIONSTATUSFALSE V1ConditionStatus = "CONDITION_STATUS_FALSE" )
func NewV1ConditionStatus ¶
func NewV1ConditionStatus(value V1ConditionStatus) *V1ConditionStatus
func (V1ConditionStatus) ContextValidate ¶
ContextValidate validates this v1 condition status based on context it is used
func (V1ConditionStatus) Pointer ¶
func (m V1ConditionStatus) Pointer() *V1ConditionStatus
Pointer returns a pointer to a freshly-allocated V1ConditionStatus.
type V1ContainerCapabilities ¶
type V1ContainerCapabilities struct { // List of supported capabilities to add in container Add []string `json:"add"` // List of supported capabilities to drop from container Drop []string `json:"drop"` }
V1ContainerCapabilities The specification for capabilities to add/drop when running containersSupported capabilities are [cap_chown, cap_dac_override, cap_dac_read_search, cap_fowner, cap_fsetid, cap_kill, cap_setgid, cap_setuid, cap_setpcap, cap_linux_immutable,cap_net_bind_service, cap_net_broadcast, cap_net_admin, cap_net_raw, cap_ipc_lock, cap_ipc_owner,cap_sys_chroot, cap_sys_ptrace, cap_sys_pacct, cap_sys_nice, cap_mknod, cap_lease, cap_setfcap]
swagger:model v1ContainerCapabilities
func (*V1ContainerCapabilities) ContextValidate ¶
func (m *V1ContainerCapabilities) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 container capabilities based on context it is used
func (*V1ContainerCapabilities) MarshalBinary ¶
func (m *V1ContainerCapabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ContainerCapabilities) UnmarshalBinary ¶
func (m *V1ContainerCapabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ContainerImagePullPolicy ¶
type V1ContainerImagePullPolicy string
V1ContainerImagePullPolicy The image pull policy for the container image. The value should be one of ALWAYS or IF_NOT_PRESENT
swagger:model v1ContainerImagePullPolicy
const ( // V1ContainerImagePullPolicyCONTAINERIMAGEPULLPOLICYUNSPECIFIED captures enum value "CONTAINER_IMAGE_PULL_POLICY_UNSPECIFIED" V1ContainerImagePullPolicyCONTAINERIMAGEPULLPOLICYUNSPECIFIED V1ContainerImagePullPolicy = "CONTAINER_IMAGE_PULL_POLICY_UNSPECIFIED" // V1ContainerImagePullPolicyALWAYS captures enum value "ALWAYS" V1ContainerImagePullPolicyALWAYS V1ContainerImagePullPolicy = "ALWAYS" // V1ContainerImagePullPolicyIFNOTPRESENT captures enum value "IF_NOT_PRESENT" V1ContainerImagePullPolicyIFNOTPRESENT V1ContainerImagePullPolicy = "IF_NOT_PRESENT" )
func NewV1ContainerImagePullPolicy ¶
func NewV1ContainerImagePullPolicy(value V1ContainerImagePullPolicy) *V1ContainerImagePullPolicy
func (V1ContainerImagePullPolicy) ContextValidate ¶
func (m V1ContainerImagePullPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 container image pull policy based on context it is used
func (V1ContainerImagePullPolicy) Pointer ¶
func (m V1ContainerImagePullPolicy) Pointer() *V1ContainerImagePullPolicy
Pointer returns a pointer to a freshly-allocated V1ContainerImagePullPolicy.
type V1ContainerLifecycle ¶
type V1ContainerLifecycle struct { // post start PostStart *V1ContainerLifecycleHandler `json:"postStart,omitempty"` // pre stop PreStop *V1ContainerLifecycleHandler `json:"preStop,omitempty"` }
V1ContainerLifecycle Defines actions that the management system should take in response to container lifecycle events
swagger:model v1ContainerLifecycle
func (*V1ContainerLifecycle) ContextValidate ¶
ContextValidate validate this v1 container lifecycle based on the context it is used
func (*V1ContainerLifecycle) MarshalBinary ¶
func (m *V1ContainerLifecycle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ContainerLifecycle) UnmarshalBinary ¶
func (m *V1ContainerLifecycle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ContainerLifecycleHandler ¶
type V1ContainerLifecycleHandler struct { // exec Exec *V1ExecAction `json:"exec,omitempty"` // http get HTTPGet *V1HTTPGetAction `json:"httpGet,omitempty"` // tcp socket TCPSocket *V1TCPSocketAction `json:"tcpSocket,omitempty"` }
V1ContainerLifecycleHandler Defines a specific lifecycle management action that should be taken
swagger:model v1ContainerLifecycleHandler
func (*V1ContainerLifecycleHandler) ContextValidate ¶
func (m *V1ContainerLifecycleHandler) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 container lifecycle handler based on the context it is used
func (*V1ContainerLifecycleHandler) MarshalBinary ¶
func (m *V1ContainerLifecycleHandler) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ContainerLifecycleHandler) UnmarshalBinary ¶
func (m *V1ContainerLifecycleHandler) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ContainerSecurityContext ¶
type V1ContainerSecurityContext struct { // Controls whether a process can gain more privileges than its parent process AllowPrivilegeEscalation bool `json:"allowPrivilegeEscalation,omitempty"` // capabilities Capabilities *V1ContainerCapabilities `json:"capabilities,omitempty"` // Indicates whether this container has a read-only root filesystem ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"` // The user GID to run the entry point of the container process RunAsGroup string `json:"runAsGroup,omitempty"` // Indicates that the container must run as a non-root user RunAsNonRoot bool `json:"runAsNonRoot,omitempty"` // The user UID to run the entry point of the container process RunAsUser string `json:"runAsUser,omitempty"` }
V1ContainerSecurityContext Security configuration that will be applied to a container
swagger:model v1ContainerSecurityContext
func (*V1ContainerSecurityContext) ContextValidate ¶
func (m *V1ContainerSecurityContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 container security context based on the context it is used
func (*V1ContainerSecurityContext) MarshalBinary ¶
func (m *V1ContainerSecurityContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ContainerSecurityContext) UnmarshalBinary ¶
func (m *V1ContainerSecurityContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ContainerSpec ¶
type V1ContainerSpec struct { // Arguments to the container entry point Args []string `json:"args"` // The commands that start a container Command []string `json:"command"` // env Env V1EnvironmentVariableMapEntry `json:"env,omitempty"` // The location of a Docker image to run as a container Image string `json:"image,omitempty"` // image pull policy ImagePullPolicy *V1ContainerImagePullPolicy `json:"imagePullPolicy,omitempty"` // lifecycle Lifecycle *V1ContainerLifecycle `json:"lifecycle,omitempty"` // liveness probe LivenessProbe *V1Probe `json:"livenessProbe,omitempty"` // ports Ports V1InstancePortMapEntry `json:"ports,omitempty"` // readiness probe ReadinessProbe *V1Probe `json:"readinessProbe,omitempty"` // resources Resources *V1ResourceRequirements `json:"resources,omitempty"` // security context SecurityContext *V1ContainerSecurityContext `json:"securityContext,omitempty"` // startup probe StartupProbe *V1Probe `json:"startupProbe,omitempty"` // Mounted file path at which the container's termination message will be written TerminationMessagePath string `json:"terminationMessagePath,omitempty"` // termination message policy TerminationMessagePolicy *V1ContainerTerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"` // Volumes to mount in the container VolumeMounts []*V1InstanceVolumeMount `json:"volumeMounts"` // Container's working directory WorkingDir string `json:"workingDir,omitempty"` }
V1ContainerSpec The specification for the desired state of a container in a workload
swagger:model v1ContainerSpec
func (*V1ContainerSpec) ContextValidate ¶
ContextValidate validate this v1 container spec based on the context it is used
func (*V1ContainerSpec) MarshalBinary ¶
func (m *V1ContainerSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ContainerSpec) UnmarshalBinary ¶
func (m *V1ContainerSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ContainerSpecMapEntry ¶
type V1ContainerSpecMapEntry map[string]V1ContainerSpec
V1ContainerSpecMapEntry A string to container configuration key/value pair
swagger:model v1ContainerSpecMapEntry
func (V1ContainerSpecMapEntry) ContextValidate ¶
func (m V1ContainerSpecMapEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 container spec map entry based on the context it is used
type V1ContainerStatus ¶
type V1ContainerStatus struct { // A unique value that identifies a container ContainerID string `json:"containerId,omitempty"` // The date a container terminated // Format: date-time FinishedAt strfmt.DateTime `json:"finishedAt,omitempty"` // A container status' name Name string `json:"name,omitempty"` // phase Phase *V1ContainerStatusContainerPhase `json:"phase,omitempty"` // Whether or not a container is running and ready for service Ready bool `json:"ready,omitempty"` // How many times a container has restarted since it was first started RestartCount int32 `json:"restartCount,omitempty"` // running Running *ContainerStatusRunning `json:"running,omitempty"` // The date a container started // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` // terminated Terminated *ContainerStatusTerminated `json:"terminated,omitempty"` // waiting Waiting *ContainerStatusWaiting `json:"waiting,omitempty"` }
V1ContainerStatus The status of a container in a workload
swagger:model v1ContainerStatus
func (*V1ContainerStatus) ContextValidate ¶
ContextValidate validate this v1 container status based on the context it is used
func (*V1ContainerStatus) MarshalBinary ¶
func (m *V1ContainerStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ContainerStatus) UnmarshalBinary ¶
func (m *V1ContainerStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ContainerStatusContainerPhase ¶
type V1ContainerStatusContainerPhase string
V1ContainerStatusContainerPhase Which phase of runtime a container is currently in
- CONTAINER_PHASE_UNSPECIFIED: The container has not reported a state back or StackPath is unable to determine the container's state
- STARTING: The container is starting up
- RUNNING: The container is running
- FAILED: The container has terminated due to a failure
- STOPPED: The container was terminated by the user
swagger:model v1ContainerStatusContainerPhase
const ( // V1ContainerStatusContainerPhaseCONTAINERPHASEUNSPECIFIED captures enum value "CONTAINER_PHASE_UNSPECIFIED" V1ContainerStatusContainerPhaseCONTAINERPHASEUNSPECIFIED V1ContainerStatusContainerPhase = "CONTAINER_PHASE_UNSPECIFIED" // V1ContainerStatusContainerPhaseSTARTING captures enum value "STARTING" V1ContainerStatusContainerPhaseSTARTING V1ContainerStatusContainerPhase = "STARTING" // V1ContainerStatusContainerPhaseRUNNING captures enum value "RUNNING" V1ContainerStatusContainerPhaseRUNNING V1ContainerStatusContainerPhase = "RUNNING" // V1ContainerStatusContainerPhaseFAILED captures enum value "FAILED" V1ContainerStatusContainerPhaseFAILED V1ContainerStatusContainerPhase = "FAILED" // V1ContainerStatusContainerPhaseSTOPPED captures enum value "STOPPED" V1ContainerStatusContainerPhaseSTOPPED V1ContainerStatusContainerPhase = "STOPPED" )
func NewV1ContainerStatusContainerPhase ¶
func NewV1ContainerStatusContainerPhase(value V1ContainerStatusContainerPhase) *V1ContainerStatusContainerPhase
func (V1ContainerStatusContainerPhase) ContextValidate ¶
func (m V1ContainerStatusContainerPhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 container status container phase based on context it is used
func (V1ContainerStatusContainerPhase) Pointer ¶
func (m V1ContainerStatusContainerPhase) Pointer() *V1ContainerStatusContainerPhase
Pointer returns a pointer to a freshly-allocated V1ContainerStatusContainerPhase.
type V1ContainerTerminationMessagePolicy ¶
type V1ContainerTerminationMessagePolicy string
V1ContainerTerminationMessagePolicy The policy indicating how the termination message should be populated
swagger:model v1ContainerTerminationMessagePolicy
const ( // V1ContainerTerminationMessagePolicyCONTAINERTERMINATIONMESSAGEPOLICYUNSPECIFIED captures enum value "CONTAINER_TERMINATION_MESSAGE_POLICY_UNSPECIFIED" V1ContainerTerminationMessagePolicyCONTAINERTERMINATIONMESSAGEPOLICYUNSPECIFIED V1ContainerTerminationMessagePolicy = "CONTAINER_TERMINATION_MESSAGE_POLICY_UNSPECIFIED" // V1ContainerTerminationMessagePolicyFILE captures enum value "FILE" V1ContainerTerminationMessagePolicyFILE V1ContainerTerminationMessagePolicy = "FILE" // V1ContainerTerminationMessagePolicyFALLBACKTOLOGSONERROR captures enum value "FALLBACK_TO_LOGS_ON_ERROR" V1ContainerTerminationMessagePolicyFALLBACKTOLOGSONERROR V1ContainerTerminationMessagePolicy = "FALLBACK_TO_LOGS_ON_ERROR" )
func NewV1ContainerTerminationMessagePolicy ¶
func NewV1ContainerTerminationMessagePolicy(value V1ContainerTerminationMessagePolicy) *V1ContainerTerminationMessagePolicy
func (V1ContainerTerminationMessagePolicy) ContextValidate ¶
func (m V1ContainerTerminationMessagePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 container termination message policy based on context it is used
func (V1ContainerTerminationMessagePolicy) Pointer ¶
func (m V1ContainerTerminationMessagePolicy) Pointer() *V1ContainerTerminationMessagePolicy
Pointer returns a pointer to a freshly-allocated V1ContainerTerminationMessagePolicy.
type V1CreateImageRequest ¶
type V1CreateImageRequest struct { // image Image *V1Image `json:"image,omitempty"` // instance volume source InstanceVolumeSource *V1ImageSourceInstanceVolume `json:"instanceVolumeSource,omitempty"` }
V1CreateImageRequest A request to create an image
swagger:model v1CreateImageRequest
func (*V1CreateImageRequest) ContextValidate ¶
ContextValidate validate this v1 create image request based on the context it is used
func (*V1CreateImageRequest) MarshalBinary ¶
func (m *V1CreateImageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateImageRequest) UnmarshalBinary ¶
func (m *V1CreateImageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateImageResponse ¶
type V1CreateImageResponse struct { // image Image *V1Image `json:"image,omitempty"` }
V1CreateImageResponse A response from a request to create an image
swagger:model v1CreateImageResponse
func (*V1CreateImageResponse) ContextValidate ¶
ContextValidate validate this v1 create image response based on the context it is used
func (*V1CreateImageResponse) MarshalBinary ¶
func (m *V1CreateImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateImageResponse) UnmarshalBinary ¶
func (m *V1CreateImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateWorkloadRequest ¶
type V1CreateWorkloadRequest struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1CreateWorkloadRequest A request to create a workload
swagger:model v1CreateWorkloadRequest
func (*V1CreateWorkloadRequest) ContextValidate ¶
func (m *V1CreateWorkloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 create workload request based on the context it is used
func (*V1CreateWorkloadRequest) MarshalBinary ¶
func (m *V1CreateWorkloadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateWorkloadRequest) UnmarshalBinary ¶
func (m *V1CreateWorkloadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateWorkloadResponse ¶
type V1CreateWorkloadResponse struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1CreateWorkloadResponse A response from a request to add a workload to a stack
swagger:model v1CreateWorkloadResponse
func (*V1CreateWorkloadResponse) ContextValidate ¶
func (m *V1CreateWorkloadResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 create workload response based on the context it is used
func (*V1CreateWorkloadResponse) MarshalBinary ¶
func (m *V1CreateWorkloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateWorkloadResponse) UnmarshalBinary ¶
func (m *V1CreateWorkloadResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DNSConfig ¶
type V1DNSConfig struct { // A list of DNS name server IP addresses Nameservers []string `json:"nameservers"` // A list of DNS resolver options Options []*V1DNSConfigOption `json:"options"` // A list of DNS search domains for hostname lookup Searches []string `json:"searches"` }
V1DNSConfig Specification to control DNS settings for workload instanceIt is used to control resolver config such as DNS nameservers, search domains and resolver options for workload instance
swagger:model v1DNSConfig
func (*V1DNSConfig) ContextValidate ¶
ContextValidate validate this v1 DNS config based on the context it is used
func (*V1DNSConfig) MarshalBinary ¶
func (m *V1DNSConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DNSConfig) UnmarshalBinary ¶
func (m *V1DNSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DNSConfigOption ¶
type V1DNSConfigOption struct { // DNS config name Name string `json:"name,omitempty"` // DNS config value Value string `json:"value,omitempty"` }
V1DNSConfigOption Specification for DNS resolver options, More information about DNS resolveroptions are available here - https://www.man7.org/linux/man-pages/man5/resolv.conf.5.html
swagger:model v1DNSConfigOption
func (*V1DNSConfigOption) ContextValidate ¶
ContextValidate validates this v1 DNS config option based on context it is used
func (*V1DNSConfigOption) MarshalBinary ¶
func (m *V1DNSConfigOption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DNSConfigOption) UnmarshalBinary ¶
func (m *V1DNSConfigOption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DeploymentSpec ¶
type V1DeploymentSpec struct { // The maximum number of instances in a deployment MaxReplicas int32 `json:"maxReplicas,omitempty"` // The minimum number of instances in a deployment MinReplicas int32 `json:"minReplicas,omitempty"` // scale settings ScaleSettings *V1ScaleSettings `json:"scaleSettings,omitempty"` // A collection of filters that match the deployment's scope Selectors []*V1MatchExpression `json:"selectors"` }
V1DeploymentSpec A deployment's specification
swagger:model v1DeploymentSpec
func (*V1DeploymentSpec) ContextValidate ¶
ContextValidate validate this v1 deployment spec based on the context it is used
func (*V1DeploymentSpec) MarshalBinary ¶
func (m *V1DeploymentSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DeploymentSpec) UnmarshalBinary ¶
func (m *V1DeploymentSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1DockerRegistryCredentials ¶
type V1DockerRegistryCredentials struct { // The email address to use for the docker registry account Email string `json:"email,omitempty"` // The password that should be used to authenticate the image pull Password string `json:"password,omitempty"` // The server that the credentials should be used with // // The server that the credentials should be used with. This value will default to the docker hub registry when not set. Server string `json:"server,omitempty"` // The username that should be used for authenticate the image pull Username string `json:"username,omitempty"` }
V1DockerRegistryCredentials The authentication configuration that should be used to pull images from a docker registry
swagger:model v1DockerRegistryCredentials
func (*V1DockerRegistryCredentials) ContextValidate ¶
func (m *V1DockerRegistryCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 docker registry credentials based on context it is used
func (*V1DockerRegistryCredentials) MarshalBinary ¶
func (m *V1DockerRegistryCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DockerRegistryCredentials) UnmarshalBinary ¶
func (m *V1DockerRegistryCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1EnvironmentVariable ¶
type V1EnvironmentVariable struct { // A sensitive environment variable that should not be exposed SecretValue string `json:"secretValue,omitempty"` // An environment variable's value Value string `json:"value,omitempty"` // value from ValueFrom *V1EnvironmentVariableSource `json:"valueFrom,omitempty"` }
V1EnvironmentVariable The location to obtain a value for an environment variable
swagger:model v1EnvironmentVariable
func (*V1EnvironmentVariable) ContextValidate ¶
ContextValidate validate this v1 environment variable based on the context it is used
func (*V1EnvironmentVariable) MarshalBinary ¶
func (m *V1EnvironmentVariable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1EnvironmentVariable) UnmarshalBinary ¶
func (m *V1EnvironmentVariable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1EnvironmentVariableMapEntry ¶
type V1EnvironmentVariableMapEntry map[string]V1EnvironmentVariable
V1EnvironmentVariableMapEntry A string to environment variable key/value pair
swagger:model v1EnvironmentVariableMapEntry
func (V1EnvironmentVariableMapEntry) ContextValidate ¶
func (m V1EnvironmentVariableMapEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 environment variable map entry based on the context it is used
type V1EnvironmentVariableSource ¶
type V1EnvironmentVariableSource struct { // instance field ref InstanceFieldRef *V1InstanceFieldRef `json:"instanceFieldRef,omitempty"` }
V1EnvironmentVariableSource The source for an environment variable
swagger:model v1EnvironmentVariableSource
func (*V1EnvironmentVariableSource) ContextValidate ¶
func (m *V1EnvironmentVariableSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 environment variable source based on the context it is used
func (*V1EnvironmentVariableSource) MarshalBinary ¶
func (m *V1EnvironmentVariableSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1EnvironmentVariableSource) UnmarshalBinary ¶
func (m *V1EnvironmentVariableSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ExecAction ¶
type V1ExecAction struct { // Command to run in container through container exec Command []string `json:"command"` }
V1ExecAction Execute an command inside container through container exec for probes/lifecycle actions
swagger:model v1ExecAction
func (*V1ExecAction) ContextValidate ¶
ContextValidate validates this v1 exec action based on context it is used
func (*V1ExecAction) MarshalBinary ¶
func (m *V1ExecAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ExecAction) UnmarshalBinary ¶
func (m *V1ExecAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetImageResponse ¶
type V1GetImageResponse struct { // image Image *V1Image `json:"image,omitempty"` }
V1GetImageResponse A response from a request to retrieve an individual image
swagger:model v1GetImageResponse
func (*V1GetImageResponse) ContextValidate ¶
ContextValidate validate this v1 get image response based on the context it is used
func (*V1GetImageResponse) MarshalBinary ¶
func (m *V1GetImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetImageResponse) UnmarshalBinary ¶
func (m *V1GetImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetImagesForFamilyResponse ¶
type V1GetImagesForFamilyResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // The requested images Results []*V1Image `json:"results"` }
V1GetImagesForFamilyResponse A response from a request to retrieve images by a family
swagger:model v1GetImagesForFamilyResponse
func (*V1GetImagesForFamilyResponse) ContextValidate ¶
func (m *V1GetImagesForFamilyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get images for family response based on the context it is used
func (*V1GetImagesForFamilyResponse) MarshalBinary ¶
func (m *V1GetImagesForFamilyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetImagesForFamilyResponse) UnmarshalBinary ¶
func (m *V1GetImagesForFamilyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetImagesResponse ¶
type V1GetImagesResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // The requested images Results []*V1Image `json:"results"` }
V1GetImagesResponse A response from a request to retrieve images for a stack
swagger:model v1GetImagesResponse
func (*V1GetImagesResponse) ContextValidate ¶
ContextValidate validate this v1 get images response based on the context it is used
func (*V1GetImagesResponse) MarshalBinary ¶
func (m *V1GetImagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetImagesResponse) UnmarshalBinary ¶
func (m *V1GetImagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetLocationsResponse ¶
type V1GetLocationsResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // The requested locations Results []*Workloadv1Location `json:"results"` }
V1GetLocationsResponse A response from a request to retrieve the locations a workload may be created at
swagger:model v1GetLocationsResponse
func (*V1GetLocationsResponse) ContextValidate ¶
func (m *V1GetLocationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get locations response based on the context it is used
func (*V1GetLocationsResponse) MarshalBinary ¶
func (m *V1GetLocationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetLocationsResponse) UnmarshalBinary ¶
func (m *V1GetLocationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetMetricsRequestGranularity ¶
type V1GetMetricsRequestGranularity string
V1GetMetricsRequestGranularity The time granularity of retrieved metrics
This field does not apply when retrieving INSTANCE type metrics
- DEFAULT: The current default is PT5M
- PT5M: Metrics every five minutes
- PT1H: Metrics every hour
- P1D: Metrics every day
- PT1M: Metrics every one minute
swagger:model v1GetMetricsRequestGranularity
const ( // V1GetMetricsRequestGranularityDEFAULT captures enum value "DEFAULT" V1GetMetricsRequestGranularityDEFAULT V1GetMetricsRequestGranularity = "DEFAULT" // V1GetMetricsRequestGranularityPT5M captures enum value "PT5M" V1GetMetricsRequestGranularityPT5M V1GetMetricsRequestGranularity = "PT5M" // V1GetMetricsRequestGranularityPT1H captures enum value "PT1H" V1GetMetricsRequestGranularityPT1H V1GetMetricsRequestGranularity = "PT1H" // V1GetMetricsRequestGranularityP1D captures enum value "P1D" V1GetMetricsRequestGranularityP1D V1GetMetricsRequestGranularity = "P1D" // V1GetMetricsRequestGranularityPT1M captures enum value "PT1M" V1GetMetricsRequestGranularityPT1M V1GetMetricsRequestGranularity = "PT1M" )
func NewV1GetMetricsRequestGranularity ¶
func NewV1GetMetricsRequestGranularity(value V1GetMetricsRequestGranularity) *V1GetMetricsRequestGranularity
func (V1GetMetricsRequestGranularity) ContextValidate ¶
func (m V1GetMetricsRequestGranularity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 get metrics request granularity based on context it is used
func (V1GetMetricsRequestGranularity) Pointer ¶
func (m V1GetMetricsRequestGranularity) Pointer() *V1GetMetricsRequestGranularity
Pointer returns a pointer to a freshly-allocated V1GetMetricsRequestGranularity.
type V1GetMetricsRequestTrafficRegion ¶
type V1GetMetricsRequestTrafficRegion string
V1GetMetricsRequestTrafficRegion A geographic or network region to filter traffic metrics for
This field does not apply when retrieving INSTANCE type metrics ¶
swagger:model v1GetMetricsRequestTrafficRegion
const ( // V1GetMetricsRequestTrafficRegionALL captures enum value "ALL" V1GetMetricsRequestTrafficRegionALL V1GetMetricsRequestTrafficRegion = "ALL" // V1GetMetricsRequestTrafficRegionLOCALNODE captures enum value "LOCAL_NODE" V1GetMetricsRequestTrafficRegionLOCALNODE V1GetMetricsRequestTrafficRegion = "LOCAL_NODE" // V1GetMetricsRequestTrafficRegionLOCALPOP captures enum value "LOCAL_POP" V1GetMetricsRequestTrafficRegionLOCALPOP V1GetMetricsRequestTrafficRegion = "LOCAL_POP" // V1GetMetricsRequestTrafficRegionNORTHAMERICA captures enum value "NORTH_AMERICA" V1GetMetricsRequestTrafficRegionNORTHAMERICA V1GetMetricsRequestTrafficRegion = "NORTH_AMERICA" // V1GetMetricsRequestTrafficRegionEUROPE captures enum value "EUROPE" V1GetMetricsRequestTrafficRegionEUROPE V1GetMetricsRequestTrafficRegion = "EUROPE" // V1GetMetricsRequestTrafficRegionASIA captures enum value "ASIA" V1GetMetricsRequestTrafficRegionASIA V1GetMetricsRequestTrafficRegion = "ASIA" // V1GetMetricsRequestTrafficRegionOCEANIA captures enum value "OCEANIA" V1GetMetricsRequestTrafficRegionOCEANIA V1GetMetricsRequestTrafficRegion = "OCEANIA" // V1GetMetricsRequestTrafficRegionSOUTHAMERICA captures enum value "SOUTH_AMERICA" V1GetMetricsRequestTrafficRegionSOUTHAMERICA V1GetMetricsRequestTrafficRegion = "SOUTH_AMERICA" // V1GetMetricsRequestTrafficRegionMARKETPLACE captures enum value "MARKETPLACE" V1GetMetricsRequestTrafficRegionMARKETPLACE V1GetMetricsRequestTrafficRegion = "MARKETPLACE" // V1GetMetricsRequestTrafficRegionINTERNAL captures enum value "INTERNAL" V1GetMetricsRequestTrafficRegionINTERNAL V1GetMetricsRequestTrafficRegion = "INTERNAL" // V1GetMetricsRequestTrafficRegionINTERNET captures enum value "INTERNET" V1GetMetricsRequestTrafficRegionINTERNET V1GetMetricsRequestTrafficRegion = "INTERNET" // V1GetMetricsRequestTrafficRegionAFRICA captures enum value "AFRICA" V1GetMetricsRequestTrafficRegionAFRICA V1GetMetricsRequestTrafficRegion = "AFRICA" // V1GetMetricsRequestTrafficRegionMIDDLEEAST captures enum value "MIDDLE_EAST" V1GetMetricsRequestTrafficRegionMIDDLEEAST V1GetMetricsRequestTrafficRegion = "MIDDLE_EAST" )
func NewV1GetMetricsRequestTrafficRegion ¶
func NewV1GetMetricsRequestTrafficRegion(value V1GetMetricsRequestTrafficRegion) *V1GetMetricsRequestTrafficRegion
func (V1GetMetricsRequestTrafficRegion) ContextValidate ¶
func (m V1GetMetricsRequestTrafficRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 get metrics request traffic region based on context it is used
func (V1GetMetricsRequestTrafficRegion) Pointer ¶
func (m V1GetMetricsRequestTrafficRegion) Pointer() *V1GetMetricsRequestTrafficRegion
Pointer returns a pointer to a freshly-allocated V1GetMetricsRequestTrafficRegion.
type V1GetMetricsRequestType ¶
type V1GetMetricsRequestType string
V1GetMetricsRequestType The types of metrics that can be retrieved
- BANDWIDTH: Bandwidth ingress and egress metrics
- INSTANCE: Instance CPU, memory, and filesystem metrics
swagger:model v1GetMetricsRequestType
const ( // V1GetMetricsRequestTypeBANDWIDTH captures enum value "BANDWIDTH" V1GetMetricsRequestTypeBANDWIDTH V1GetMetricsRequestType = "BANDWIDTH" // V1GetMetricsRequestTypeINSTANCE captures enum value "INSTANCE" V1GetMetricsRequestTypeINSTANCE V1GetMetricsRequestType = "INSTANCE" )
func NewV1GetMetricsRequestType ¶
func NewV1GetMetricsRequestType(value V1GetMetricsRequestType) *V1GetMetricsRequestType
func (V1GetMetricsRequestType) ContextValidate ¶
func (m V1GetMetricsRequestType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 get metrics request type based on context it is used
func (V1GetMetricsRequestType) Pointer ¶
func (m V1GetMetricsRequestType) Pointer() *V1GetMetricsRequestType
Pointer returns a pointer to a freshly-allocated V1GetMetricsRequestType.
type V1GetWorkloadInstanceInitialPasswordResponse ¶
type V1GetWorkloadInstanceInitialPasswordResponse struct { // password Password string `json:"password,omitempty"` }
V1GetWorkloadInstanceInitialPasswordResponse A response from a request to retrieve a workload's instance's initial password
swagger:model v1GetWorkloadInstanceInitialPasswordResponse
func (*V1GetWorkloadInstanceInitialPasswordResponse) ContextValidate ¶
func (m *V1GetWorkloadInstanceInitialPasswordResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 get workload instance initial password response based on context it is used
func (*V1GetWorkloadInstanceInitialPasswordResponse) MarshalBinary ¶
func (m *V1GetWorkloadInstanceInitialPasswordResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetWorkloadInstanceInitialPasswordResponse) UnmarshalBinary ¶
func (m *V1GetWorkloadInstanceInitialPasswordResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetWorkloadInstanceResponse ¶
type V1GetWorkloadInstanceResponse struct { // instance Instance *Workloadv1Instance `json:"instance,omitempty"` }
V1GetWorkloadInstanceResponse A response from a request to retrieve a workload's instances
swagger:model v1GetWorkloadInstanceResponse
func (*V1GetWorkloadInstanceResponse) ContextValidate ¶
func (m *V1GetWorkloadInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get workload instance response based on the context it is used
func (*V1GetWorkloadInstanceResponse) MarshalBinary ¶
func (m *V1GetWorkloadInstanceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetWorkloadInstanceResponse) UnmarshalBinary ¶
func (m *V1GetWorkloadInstanceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetWorkloadInstancesResponse ¶
type V1GetWorkloadInstancesResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // The requested workload instances Results []*Workloadv1Instance `json:"results"` }
V1GetWorkloadInstancesResponse A response from a request to retrieve a workload's instances
swagger:model v1GetWorkloadInstancesResponse
func (*V1GetWorkloadInstancesResponse) ContextValidate ¶
func (m *V1GetWorkloadInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get workload instances response based on the context it is used
func (*V1GetWorkloadInstancesResponse) MarshalBinary ¶
func (m *V1GetWorkloadInstancesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetWorkloadInstancesResponse) UnmarshalBinary ¶
func (m *V1GetWorkloadInstancesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetWorkloadResponse ¶
type V1GetWorkloadResponse struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1GetWorkloadResponse A response from a request to retrieve an individual workload
swagger:model v1GetWorkloadResponse
func (*V1GetWorkloadResponse) ContextValidate ¶
ContextValidate validate this v1 get workload response based on the context it is used
func (*V1GetWorkloadResponse) MarshalBinary ¶
func (m *V1GetWorkloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetWorkloadResponse) UnmarshalBinary ¶
func (m *V1GetWorkloadResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetWorkloadsResponse ¶
type V1GetWorkloadsResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // The requested workloads Results []*V1Workload `json:"results"` }
V1GetWorkloadsResponse A response from a request to retrieve a stack's workloads
swagger:model v1GetWorkloadsResponse
func (*V1GetWorkloadsResponse) ContextValidate ¶
func (m *V1GetWorkloadsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get workloads response based on the context it is used
func (*V1GetWorkloadsResponse) MarshalBinary ¶
func (m *V1GetWorkloadsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetWorkloadsResponse) UnmarshalBinary ¶
func (m *V1GetWorkloadsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1HTTPGetAction ¶
type V1HTTPGetAction struct { // http headers HTTPHeaders V1StringMapEntry `json:"httpHeaders,omitempty"` // The path portion of the URL to request Path string `json:"path,omitempty"` // The TCP port to query in the HTTP request Port int32 `json:"port,omitempty"` // HTTP scheme to use in the HTTP request Scheme string `json:"scheme,omitempty"` }
V1HTTPGetAction Execute an HTTP GET request against an endpoint running on an instance
swagger:model v1HTTPGetAction
func (*V1HTTPGetAction) ContextValidate ¶
ContextValidate validate this v1 HTTP get action based on the context it is used
func (*V1HTTPGetAction) MarshalBinary ¶
func (m *V1HTTPGetAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1HTTPGetAction) UnmarshalBinary ¶
func (m *V1HTTPGetAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1HostAlias ¶
type V1HostAlias struct { // A list of hostnames to be injected in container workload instance's host file Hostnames []string `json:"hostnames"` // An IP address to be injected in container workload instance's host file IP string `json:"ip,omitempty"` }
V1HostAlias The hosts and IPs that will be injected into the container workload instance's hosts file
swagger:model v1HostAlias
func (*V1HostAlias) ContextValidate ¶
ContextValidate validates this v1 host alias based on context it is used
func (*V1HostAlias) MarshalBinary ¶
func (m *V1HostAlias) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1HostAlias) UnmarshalBinary ¶
func (m *V1HostAlias) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPFamily ¶
type V1IPFamily string
V1IPFamily supported IP families
- IP_FAMILY_UNSPECIFIED: Unknown IP family
- IPv4: IPv4 IP family.
- IPv6: IPv6 IP family. Currently, IPv6 IP family must be used with IPv4.
swagger:model v1IPFamily
const ( // V1IPFamilyIPFAMILYUNSPECIFIED captures enum value "IP_FAMILY_UNSPECIFIED" V1IPFamilyIPFAMILYUNSPECIFIED V1IPFamily = "IP_FAMILY_UNSPECIFIED" // V1IPFamilyIPV4 captures enum value "IPv4" V1IPFamilyIPV4 V1IPFamily = "IPv4" // V1IPFamilyIPV6 captures enum value "IPv6" V1IPFamilyIPV6 V1IPFamily = "IPv6" )
func NewV1IPFamily ¶
func NewV1IPFamily(value V1IPFamily) *V1IPFamily
func (V1IPFamily) ContextValidate ¶
ContextValidate validates this v1 IP family based on context it is used
func (V1IPFamily) Pointer ¶
func (m V1IPFamily) Pointer() *V1IPFamily
Pointer returns a pointer to a freshly-allocated V1IPFamily.
type V1Image ¶
type V1Image struct { // capabilities Capabilities []string `json:"capabilities"` // Details for the current condition of an image Conditions []*V1ImageCondition `json:"conditions"` // deprecation Deprecation *V1ImageDeprecation `json:"deprecation,omitempty"` // An image's optional description // // Maximum 1000 characters. Description string `json:"description,omitempty"` // An image's family Family string `json:"family,omitempty"` // An image's unique identifier ID string `json:"id,omitempty"` // An image's archive size in bytes // // This is a read-only value that's only available on ready images. ImageSize string `json:"imageSize,omitempty"` // licenses Licenses []string `json:"licenses"` // metadata Metadata *V1ImageMetadata `json:"metadata,omitempty"` // The ID of the stack that an image belongs to StackID string `json:"stackId,omitempty"` // status Status *V1ImageStatus `json:"status,omitempty"` // The image's tag Tag string `json:"tag,omitempty"` // An image's volume size in bytes // // This is a read-only value that's only available on ready images. VolumeSize string `json:"volumeSize,omitempty"` }
V1Image A computing image
swagger:model v1Image
func (*V1Image) ContextValidate ¶
ContextValidate validate this v1 image based on the context it is used
func (*V1Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1ImageCondition ¶
type V1ImageCondition struct { // The last time the condition was checked // Format: date-time CheckedAt strfmt.DateTime `json:"checkedAt,omitempty"` // A human readable message with details regarding the condition Message string `json:"message,omitempty"` // A stable identifier for the reason the condition is in its current state Reason string `json:"reason,omitempty"` // status Status *V1ImageConditionStatus `json:"status,omitempty"` // The last time the condition transitioned status // Format: date-time TransitionedAt strfmt.DateTime `json:"transitionedAt,omitempty"` // Type of the condition Type string `json:"type,omitempty"` }
V1ImageCondition Details for the current condition of an image
swagger:model v1ImageCondition
func (*V1ImageCondition) ContextValidate ¶
ContextValidate validate this v1 image condition based on the context it is used
func (*V1ImageCondition) MarshalBinary ¶
func (m *V1ImageCondition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageCondition) UnmarshalBinary ¶
func (m *V1ImageCondition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageConditionStatus ¶
type V1ImageConditionStatus string
V1ImageConditionStatus Which status an image is currently in
- IMAGE_CONDITION_STATUS_UNKNOWN: The condition status is unknown
- TRUE: The condition is true
- FALSE: The condition is false
swagger:model v1ImageConditionStatus
const ( // V1ImageConditionStatusIMAGECONDITIONSTATUSUNKNOWN captures enum value "IMAGE_CONDITION_STATUS_UNKNOWN" V1ImageConditionStatusIMAGECONDITIONSTATUSUNKNOWN V1ImageConditionStatus = "IMAGE_CONDITION_STATUS_UNKNOWN" // V1ImageConditionStatusTRUE captures enum value "TRUE" V1ImageConditionStatusTRUE V1ImageConditionStatus = "TRUE" // V1ImageConditionStatusFALSE captures enum value "FALSE" V1ImageConditionStatusFALSE V1ImageConditionStatus = "FALSE" )
func NewV1ImageConditionStatus ¶
func NewV1ImageConditionStatus(value V1ImageConditionStatus) *V1ImageConditionStatus
func (V1ImageConditionStatus) ContextValidate ¶
ContextValidate validates this v1 image condition status based on context it is used
func (V1ImageConditionStatus) Pointer ¶
func (m V1ImageConditionStatus) Pointer() *V1ImageConditionStatus
Pointer returns a pointer to a freshly-allocated V1ImageConditionStatus.
type V1ImageDeprecation ¶
type V1ImageDeprecation struct { // The date when the image will be deleted // // This value cannot be before the deprecation or obsoletion dates (when they are present). // Format: date-time DeletionDate strfmt.DateTime `json:"deletionDate,omitempty"` // The date which the image will be deprecated // // Deprecated images may still be used when creating instances, but users will want to upgrade. // Format: date-time DeprecationDate strfmt.DateTime `json:"deprecationDate,omitempty"` // The date which the image will be obsolete // // Obsolete images cannot be used when creating instances. When present, deprecation date must also present and on or before this value. // Format: date-time ObsoletionDate strfmt.DateTime `json:"obsoletionDate,omitempty"` }
V1ImageDeprecation Deprecation settings for an image
swagger:model v1ImageDeprecation
func (*V1ImageDeprecation) ContextValidate ¶
ContextValidate validates this v1 image deprecation based on context it is used
func (*V1ImageDeprecation) MarshalBinary ¶
func (m *V1ImageDeprecation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageDeprecation) UnmarshalBinary ¶
func (m *V1ImageDeprecation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageMetadata ¶
type V1ImageMetadata struct { // annotations Annotations V1StringMapEntry `json:"annotations,omitempty"` // The date that a workload image was created // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // labels Labels V1StringMapEntry `json:"labels,omitempty"` // The date that a workload image was last updated // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
V1ImageMetadata Metadata associated with a workload image
swagger:model v1ImageMetadata
func (*V1ImageMetadata) ContextValidate ¶
ContextValidate validate this v1 image metadata based on the context it is used
func (*V1ImageMetadata) MarshalBinary ¶
func (m *V1ImageMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageMetadata) UnmarshalBinary ¶
func (m *V1ImageMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImagePullCredential ¶
type V1ImagePullCredential struct { // docker registry DockerRegistry *V1DockerRegistryCredentials `json:"dockerRegistry,omitempty"` }
V1ImagePullCredential The credentials that should be used to pull the container image
swagger:model v1ImagePullCredential
func (*V1ImagePullCredential) ContextValidate ¶
ContextValidate validate this v1 image pull credential based on the context it is used
func (*V1ImagePullCredential) MarshalBinary ¶
func (m *V1ImagePullCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImagePullCredential) UnmarshalBinary ¶
func (m *V1ImagePullCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageSourceInstanceVolume ¶
type V1ImageSourceInstanceVolume struct { // An instance's name to reference a volume on InstanceName string `json:"instanceName,omitempty"` // A reference to the volume to create an image from or unset for the root volume VolumeClaimSlug string `json:"volumeClaimSlug,omitempty"` // The ID or slug of the workload containing the instance to reference WorkloadID string `json:"workloadId,omitempty"` }
V1ImageSourceInstanceVolume A reference to the volume of an instance to capture an image from
swagger:model v1ImageSourceInstanceVolume
func (*V1ImageSourceInstanceVolume) ContextValidate ¶
func (m *V1ImageSourceInstanceVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 image source instance volume based on context it is used
func (*V1ImageSourceInstanceVolume) MarshalBinary ¶
func (m *V1ImageSourceInstanceVolume) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImageSourceInstanceVolume) UnmarshalBinary ¶
func (m *V1ImageSourceInstanceVolume) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ImageStatus ¶
type V1ImageStatus string
V1ImageStatus Which capture status an image is currently in
- IMAGE_STATUS_UNKNOWN: The image status is unknown
- PENDING: The image is pending creation
- PROCESSING: The image is processing
- READY: The image is ready
- FAILED: The image failed to be created
swagger:model v1ImageStatus
const ( // V1ImageStatusIMAGESTATUSUNKNOWN captures enum value "IMAGE_STATUS_UNKNOWN" V1ImageStatusIMAGESTATUSUNKNOWN V1ImageStatus = "IMAGE_STATUS_UNKNOWN" // V1ImageStatusPENDING captures enum value "PENDING" V1ImageStatusPENDING V1ImageStatus = "PENDING" // V1ImageStatusPROCESSING captures enum value "PROCESSING" V1ImageStatusPROCESSING V1ImageStatus = "PROCESSING" // V1ImageStatusREADY captures enum value "READY" V1ImageStatusREADY V1ImageStatus = "READY" // V1ImageStatusFAILED captures enum value "FAILED" V1ImageStatusFAILED V1ImageStatus = "FAILED" )
func NewV1ImageStatus ¶
func NewV1ImageStatus(value V1ImageStatus) *V1ImageStatus
func (V1ImageStatus) ContextValidate ¶
ContextValidate validates this v1 image status based on context it is used
func (V1ImageStatus) Pointer ¶
func (m V1ImageStatus) Pointer() *V1ImageStatus
Pointer returns a pointer to a freshly-allocated V1ImageStatus.
type V1InstanceCondition ¶
type V1InstanceCondition struct { // last transition time // Format: date-time LastTransitionTime strfmt.DateTime `json:"lastTransitionTime,omitempty"` // message Message string `json:"message,omitempty"` // reason Reason string `json:"reason,omitempty"` // status Status *V1ConditionStatus `json:"status,omitempty"` // type Type *V1InstanceConditionType `json:"type,omitempty"` }
V1InstanceCondition v1 instance condition
swagger:model v1InstanceCondition
func (*V1InstanceCondition) ContextValidate ¶
ContextValidate validate this v1 instance condition based on the context it is used
func (*V1InstanceCondition) MarshalBinary ¶
func (m *V1InstanceCondition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1InstanceCondition) UnmarshalBinary ¶
func (m *V1InstanceCondition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1InstanceConditionType ¶
type V1InstanceConditionType string
V1InstanceConditionType v1 instance condition type
swagger:model v1InstanceConditionType
const ( // V1InstanceConditionTypeREADY captures enum value "READY" V1InstanceConditionTypeREADY V1InstanceConditionType = "READY" )
func NewV1InstanceConditionType ¶
func NewV1InstanceConditionType(value V1InstanceConditionType) *V1InstanceConditionType
func (V1InstanceConditionType) ContextValidate ¶
func (m V1InstanceConditionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this v1 instance condition type based on context it is used
func (V1InstanceConditionType) Pointer ¶
func (m V1InstanceConditionType) Pointer() *V1InstanceConditionType
Pointer returns a pointer to a freshly-allocated V1InstanceConditionType.
type V1InstanceFieldRef ¶
type V1InstanceFieldRef struct { // The json path to an instance field // // This is a json path expression to an instance field. For example: `.name`, `.location.cityCode`, `.ipAddress`, `.containers[0].image`, `.networkInterfaces[?(@.network=="default")].gateway`. Dots inside of map keys need to be escaped: `.metadata.labels['workload\.platform\.stackpath\.net/workload-slug']`. Recursive descent, union operators, and range/end are not allowed. FieldPath string `json:"fieldPath,omitempty"` // If the field value is not required to start an instance // // If a field is optional there is no guarantee that the value will be provided to the environment before the container starts. Optional bool `json:"optional,omitempty"` }
V1InstanceFieldRef The reference to a field on an instance
swagger:model v1InstanceFieldRef
func (*V1InstanceFieldRef) ContextValidate ¶
ContextValidate validates this v1 instance field ref based on context it is used
func (*V1InstanceFieldRef) MarshalBinary ¶
func (m *V1InstanceFieldRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1InstanceFieldRef) UnmarshalBinary ¶
func (m *V1InstanceFieldRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1InstancePort ¶
type V1InstancePort struct { // Allow the internet to connect to the port // // When true, this port will be given an implicit network policy of priority 65534 permitting 0.0.0.0/0 access to the port. This can be overridden by creating network policies of a higher priority to block the port. EnableImplicitNetworkPolicy bool `json:"enableImplicitNetworkPolicy,omitempty"` // The network port Port int32 `json:"port,omitempty"` // The network protocol for the port // // Values are either "TCP" or "UDP". Defaults to "TCP". Protocol string `json:"protocol,omitempty"` }
V1InstancePort A named port for an instance of a workload
swagger:model v1InstancePort
func (*V1InstancePort) ContextValidate ¶
ContextValidate validates this v1 instance port based on context it is used
func (*V1InstancePort) MarshalBinary ¶
func (m *V1InstancePort) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1InstancePort) UnmarshalBinary ¶
func (m *V1InstancePort) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1InstancePortMapEntry ¶
type V1InstancePortMapEntry map[string]V1InstancePort
V1InstancePortMapEntry A string to network port key/value pair
swagger:model v1InstancePortMapEntry
func (V1InstancePortMapEntry) ContextValidate ¶
ContextValidate validate this v1 instance port map entry based on the context it is used
type V1InstanceVolumeMount ¶
type V1InstanceVolumeMount struct { // The path in an instance to mount a volume MountPath string `json:"mountPath,omitempty"` // The slug of the volume claim to mount Slug string `json:"slug,omitempty"` }
V1InstanceVolumeMount Describes mounting a volume on containers or vms in an instance
swagger:model v1InstanceVolumeMount
func (*V1InstanceVolumeMount) ContextValidate ¶
ContextValidate validates this v1 instance volume mount based on context it is used
func (*V1InstanceVolumeMount) MarshalBinary ¶
func (m *V1InstanceVolumeMount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1InstanceVolumeMount) UnmarshalBinary ¶
func (m *V1InstanceVolumeMount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1LogChunk ¶
type V1LogChunk struct { // Raw log contents // Format: binary Bytes io.ReadCloser `json:"bytes,omitempty"` }
V1LogChunk A chunk of raw log data
swagger:model v1LogChunk
func (*V1LogChunk) ContextValidate ¶
ContextValidate validates this v1 log chunk based on context it is used
func (*V1LogChunk) MarshalBinary ¶
func (m *V1LogChunk) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1LogChunk) UnmarshalBinary ¶
func (m *V1LogChunk) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MatchExpression ¶
type V1MatchExpression struct { // The name of the selector to perform a match against Key string `json:"key,omitempty"` // The operation to perform to match a selector // // Valid values are "In", "NotIn", "Exists", and "DoesNotExist". Operator string `json:"operator,omitempty"` // The values to match in the selector Values []string `json:"values"` }
V1MatchExpression An expression to match selectors against a set of values
swagger:model v1MatchExpression
func (*V1MatchExpression) ContextValidate ¶
ContextValidate validates this v1 match expression based on context it is used
func (*V1MatchExpression) MarshalBinary ¶
func (m *V1MatchExpression) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MatchExpression) UnmarshalBinary ¶
func (m *V1MatchExpression) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Metadata ¶
type V1Metadata struct { // annotations Annotations V1StringMapEntry `json:"annotations,omitempty"` // The date that a metadata entry was created // Read Only: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // The date an entity was requested to be deleted // Read Only: true // Format: date-time DeleteRequestedAt *strfmt.DateTime `json:"deleteRequestedAt,omitempty"` // labels Labels V1StringMapEntry `json:"labels,omitempty"` // The date that a metadata entry was last updated // Read Only: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // A metadata entry's version number // // Metadata versions start at 1 when they are created and increment by 1 every time they are updated. Version string `json:"version,omitempty"` }
V1Metadata Metadata associated with an entity
swagger:model v1Metadata
func (*V1Metadata) ContextValidate ¶
ContextValidate validate this v1 metadata based on the context it is used
func (*V1Metadata) MarshalBinary ¶
func (m *V1Metadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Metadata) UnmarshalBinary ¶
func (m *V1Metadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1MetricSpec ¶
type V1MetricSpec struct { // The target average value for the metric measured across all instances within a deployment, expressed as a percentage of requested resources. AverageUtilization int32 `json:"averageUtilization,omitempty"` // The target average value for the metric measured across all instances within a deployment, expressed as a quantity. AverageValue string `json:"averageValue,omitempty"` // The metric to measure against Metric string `json:"metric,omitempty"` }
V1MetricSpec v1 metric spec
swagger:model v1MetricSpec
func (*V1MetricSpec) ContextValidate ¶
ContextValidate validates this v1 metric spec based on context it is used
func (*V1MetricSpec) MarshalBinary ¶
func (m *V1MetricSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1MetricSpec) UnmarshalBinary ¶
func (m *V1MetricSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkInterface ¶
type V1NetworkInterface struct { // Provide one to one NAT for this specific network’s interface // // This is an optional property used to enable OR disable the NAT'ing of the specifc network interface.NAT is enabled by default on the first / primary interface and disabled on secondary / multi interfacesUser can disable NAT on the first / primary interface, by marking this property - falseUser can enable NAT on secondary / multi interface, by marking this property - trueExcludeNAT Annotation supercedes this property EnableOneToOneNat bool `json:"enableOneToOneNat,omitempty"` // A list of IP families to use for interface ip assignments // // This is an optional property and supports ['IPv4'] or ['IPv4', 'IPv6'] list IPFamilies []*V1IPFamily `json:"ipFamilies"` // An IPv6 subnet interface's slug. This is an optional property used to attach a specific network interface to a ipv6 subnet. IPV6Subnet string `json:"ipv6Subnet,omitempty"` // A network interface's slug Network string `json:"network,omitempty"` // An IPv4 subnet interface's slug. This is an optional property used to attach a specific network interface to a IPv4 subnet. Subnet string `json:"subnet,omitempty"` }
V1NetworkInterface Network interfaces that will be created on instances in the workload
swagger:model v1NetworkInterface
func (*V1NetworkInterface) ContextValidate ¶
ContextValidate validate this v1 network interface based on the context it is used
func (*V1NetworkInterface) MarshalBinary ¶
func (m *V1NetworkInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkInterface) UnmarshalBinary ¶
func (m *V1NetworkInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Probe ¶
type V1Probe struct { // exec Exec *V1ExecAction `json:"exec,omitempty"` // The minimum consecutive failures for a probe to be considered failed after having succeeded // // Defaults to 3. Minimum value is 1. FailureThreshold int32 `json:"failureThreshold,omitempty"` // http get HTTPGet *V1HTTPGetAction `json:"httpGet,omitempty"` // The number of seconds after a workload instance has started before liveness probes are initiated InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty"` // How often, in seconds, to perform a probe // // Default to 10 seconds. Minimum value is 1. PeriodSeconds int32 `json:"periodSeconds,omitempty"` // The minimum consecutive successes for a probe to be considered successful after having failed // // Defaults to 1. Must be 1 for liveness. Minimum value is 1. SuccessThreshold int32 `json:"successThreshold,omitempty"` // tcp socket TCPSocket *V1TCPSocketAction `json:"tcpSocket,omitempty"` // The number of seconds after which a probe times out // // Defaults to 1 second. Minimum value is 1. TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"` }
V1Probe A health check probe against a workload instance to determine if it is alive or ready to receive traffic
swagger:model v1Probe
func (*V1Probe) ContextValidate ¶
ContextValidate validate this v1 probe based on the context it is used
func (*V1Probe) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Probe) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1PutWorkloadRequest ¶
type V1PutWorkloadRequest struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1PutWorkloadRequest A request to replace an existing workload
swagger:model v1PutWorkloadRequest
func (*V1PutWorkloadRequest) ContextValidate ¶
ContextValidate validate this v1 put workload request based on the context it is used
func (*V1PutWorkloadRequest) MarshalBinary ¶
func (m *V1PutWorkloadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PutWorkloadRequest) UnmarshalBinary ¶
func (m *V1PutWorkloadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1PutWorkloadResponse ¶
type V1PutWorkloadResponse struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1PutWorkloadResponse A response from a request to replace an existing workload
swagger:model v1PutWorkloadResponse
func (*V1PutWorkloadResponse) ContextValidate ¶
ContextValidate validate this v1 put workload response based on the context it is used
func (*V1PutWorkloadResponse) MarshalBinary ¶
func (m *V1PutWorkloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1PutWorkloadResponse) UnmarshalBinary ¶
func (m *V1PutWorkloadResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ResourceRequirements ¶
type V1ResourceRequirements struct { // limits Limits V1StringMapEntry `json:"limits,omitempty"` // requests Requests V1StringMapEntry `json:"requests,omitempty"` }
V1ResourceRequirements Resource requirements are key/value pairs.
Resource requirements for an object. The values supported by workloads are: - cpu - memory - nvidia-a16: limited to specific markets - ephemeral-storage: deprecated and has no effect
swagger:model v1ResourceRequirements
func (*V1ResourceRequirements) ContextValidate ¶
func (m *V1ResourceRequirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 resource requirements based on the context it is used
func (*V1ResourceRequirements) MarshalBinary ¶
func (m *V1ResourceRequirements) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ResourceRequirements) UnmarshalBinary ¶
func (m *V1ResourceRequirements) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ScaleSettings ¶
type V1ScaleSettings struct { // Metrics to observe for invoking scaling events. Metrics []*V1MetricSpec `json:"metrics"` }
V1ScaleSettings v1 scale settings
swagger:model v1ScaleSettings
func (*V1ScaleSettings) ContextValidate ¶
ContextValidate validate this v1 scale settings based on the context it is used
func (*V1ScaleSettings) MarshalBinary ¶
func (m *V1ScaleSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ScaleSettings) UnmarshalBinary ¶
func (m *V1ScaleSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1StringMapEntry ¶
V1StringMapEntry A string to string key/value pair
swagger:model v1StringMapEntry
func (V1StringMapEntry) ContextValidate ¶
ContextValidate validates this v1 string map entry based on context it is used
type V1Sysctl ¶
type V1Sysctl struct { // Sysctl property name Name string `json:"name,omitempty"` // Sysctl property value Value string `json:"value,omitempty"` }
V1Sysctl Kernel sysctl parameter to optimize the performance of a container
swagger:model v1Sysctl
func (*V1Sysctl) ContextValidate ¶
ContextValidate validates this v1 sysctl based on context it is used
func (*V1Sysctl) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Sysctl) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1TCPSocketAction ¶
type V1TCPSocketAction struct { // The TCP port to quert Port int32 `json:"port,omitempty"` }
V1TCPSocketAction Connect to an instance's TCP port
swagger:model v1TCPSocketAction
func (*V1TCPSocketAction) ContextValidate ¶
ContextValidate validates this v1 TCP socket action based on context it is used
func (*V1TCPSocketAction) MarshalBinary ¶
func (m *V1TCPSocketAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TCPSocketAction) UnmarshalBinary ¶
func (m *V1TCPSocketAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Target ¶
type V1Target struct { // spec Spec *V1TargetSpec `json:"spec,omitempty"` }
V1Target How instances in a workload should be deployed
swagger:model v1Target
func (*V1Target) ContextValidate ¶
ContextValidate validate this v1 target based on the context it is used
func (*V1Target) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Target) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1TargetMapEntry ¶
V1TargetMapEntry A string to deployment target key/value pair
swagger:model v1TargetMapEntry
func (V1TargetMapEntry) ContextValidate ¶
ContextValidate validate this v1 target map entry based on the context it is used
type V1TargetSpec ¶
type V1TargetSpec struct { // The scope at which a deployment should be created. Valid values are: "cityCode" DeploymentScope string `json:"deploymentScope,omitempty"` // deployments Deployments *V1DeploymentSpec `json:"deployments,omitempty"` }
V1TargetSpec The specification for a target
swagger:model v1TargetSpec
func (*V1TargetSpec) ContextValidate ¶
ContextValidate validate this v1 target spec based on the context it is used
func (*V1TargetSpec) MarshalBinary ¶
func (m *V1TargetSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TargetSpec) UnmarshalBinary ¶
func (m *V1TargetSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateImageDeprecationResponse ¶
type V1UpdateImageDeprecationResponse struct { // image Image *V1Image `json:"image,omitempty"` }
V1UpdateImageDeprecationResponse A response from a request to update image deprecation settings
swagger:model v1UpdateImageDeprecationResponse
func (*V1UpdateImageDeprecationResponse) ContextValidate ¶
func (m *V1UpdateImageDeprecationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 update image deprecation response based on the context it is used
func (*V1UpdateImageDeprecationResponse) MarshalBinary ¶
func (m *V1UpdateImageDeprecationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateImageDeprecationResponse) UnmarshalBinary ¶
func (m *V1UpdateImageDeprecationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateImageRequest ¶
type V1UpdateImageRequest struct { // image Image *V1Image `json:"image,omitempty"` }
V1UpdateImageRequest A request to update an image
swagger:model v1UpdateImageRequest
func (*V1UpdateImageRequest) ContextValidate ¶
ContextValidate validate this v1 update image request based on the context it is used
func (*V1UpdateImageRequest) MarshalBinary ¶
func (m *V1UpdateImageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateImageRequest) UnmarshalBinary ¶
func (m *V1UpdateImageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateImageResponse ¶
type V1UpdateImageResponse struct { // image Image *V1Image `json:"image,omitempty"` }
V1UpdateImageResponse A response from a request to update an image
swagger:model v1UpdateImageResponse
func (*V1UpdateImageResponse) ContextValidate ¶
ContextValidate validate this v1 update image response based on the context it is used
func (*V1UpdateImageResponse) MarshalBinary ¶
func (m *V1UpdateImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateImageResponse) UnmarshalBinary ¶
func (m *V1UpdateImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateWorkloadRequest ¶
type V1UpdateWorkloadRequest struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1UpdateWorkloadRequest A request to update a workload
swagger:model v1UpdateWorkloadRequest
func (*V1UpdateWorkloadRequest) ContextValidate ¶
func (m *V1UpdateWorkloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 update workload request based on the context it is used
func (*V1UpdateWorkloadRequest) MarshalBinary ¶
func (m *V1UpdateWorkloadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateWorkloadRequest) UnmarshalBinary ¶
func (m *V1UpdateWorkloadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateWorkloadResponse ¶
type V1UpdateWorkloadResponse struct { // workload Workload *V1Workload `json:"workload,omitempty"` }
V1UpdateWorkloadResponse A response from a request to update a workload
swagger:model v1UpdateWorkloadResponse
func (*V1UpdateWorkloadResponse) ContextValidate ¶
func (m *V1UpdateWorkloadResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 update workload response based on the context it is used
func (*V1UpdateWorkloadResponse) MarshalBinary ¶
func (m *V1UpdateWorkloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateWorkloadResponse) UnmarshalBinary ¶
func (m *V1UpdateWorkloadResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VirtualMachineSpec ¶
type V1VirtualMachineSpec struct { // The image to use for the virtual machine // // This is in the format of <stack-slug>/<image-family>[:<image-tag>]. If the image tag portion is omitted, 'default' is assumed which is the most recently created, ready, and non-deprecated image of that slug. A set of common images is present on the 'stackpath-edge' stack. Image string `json:"image,omitempty"` // liveness probe LivenessProbe *V1Probe `json:"livenessProbe,omitempty"` // ports Ports V1InstancePortMapEntry `json:"ports,omitempty"` // readiness probe ReadinessProbe *V1Probe `json:"readinessProbe,omitempty"` // resources Resources *V1ResourceRequirements `json:"resources,omitempty"` // Base64 encoded cloud-init compatible user-data UserData string `json:"userData,omitempty"` // Volumes to mount in the virtual machine VolumeMounts []*V1InstanceVolumeMount `json:"volumeMounts"` }
V1VirtualMachineSpec The specification for the desired state of a virtual machine in a workload
swagger:model v1VirtualMachineSpec
func (*V1VirtualMachineSpec) ContextValidate ¶
ContextValidate validate this v1 virtual machine spec based on the context it is used
func (*V1VirtualMachineSpec) MarshalBinary ¶
func (m *V1VirtualMachineSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VirtualMachineSpec) UnmarshalBinary ¶
func (m *V1VirtualMachineSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VirtualMachineSpecMapEntry ¶
type V1VirtualMachineSpecMapEntry map[string]V1VirtualMachineSpec
V1VirtualMachineSpecMapEntry A string to virtual machine configuration key/value pair
swagger:model v1VirtualMachineSpecMapEntry
func (V1VirtualMachineSpecMapEntry) ContextValidate ¶
func (m V1VirtualMachineSpecMapEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 virtual machine spec map entry based on the context it is used
type V1VirtualMachineStatus ¶
type V1VirtualMachineStatus struct { // A longer message with details about why the virtual machine is in its current phase Message string `json:"message,omitempty"` // The name of the virtual machine the status applies to Name string `json:"name,omitempty"` // phase Phase *VirtualMachineStatusPhase `json:"phase,omitempty"` // A short reason why the virtual machine is in its current phase Reason string `json:"reason,omitempty"` }
V1VirtualMachineStatus The status of a Virtual Machine
swagger:model v1VirtualMachineStatus
func (*V1VirtualMachineStatus) ContextValidate ¶
func (m *V1VirtualMachineStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 virtual machine status based on the context it is used
func (*V1VirtualMachineStatus) MarshalBinary ¶
func (m *V1VirtualMachineStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VirtualMachineStatus) UnmarshalBinary ¶
func (m *V1VirtualMachineStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VolumeClaim ¶
type V1VolumeClaim struct { // A volume claim's unique identifier // Read Only: true ID string `json:"id,omitempty"` // metadata Metadata *V1Metadata `json:"metadata,omitempty"` // A volume claim's name as it appears in the StackPath portal Name string `json:"name,omitempty"` // phase // Read Only: true Phase *VolumeClaimVolumeClaimPhase `json:"phase,omitempty"` // A volume claim's programmatic name // // Volume claim slugs are used to programatically label a claim Slug string `json:"slug,omitempty"` // spec Spec *V1VolumeClaimSpec `json:"spec,omitempty"` // The ID of the stack that a volume claim belongs to // Read Only: true StackID string `json:"stackId,omitempty"` }
V1VolumeClaim A claim for a volume
Volumes may be attached to workload instance containers or virtual machines ¶
swagger:model v1VolumeClaim
func (*V1VolumeClaim) ContextValidate ¶
ContextValidate validate this v1 volume claim based on the context it is used
func (*V1VolumeClaim) MarshalBinary ¶
func (m *V1VolumeClaim) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VolumeClaim) UnmarshalBinary ¶
func (m *V1VolumeClaim) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1VolumeClaimSpec ¶
type V1VolumeClaimSpec struct { // resources Resources *V1ResourceRequirements `json:"resources,omitempty"` // Storage class for a volume claim // // This defaults to the 'stackpath-edge/san' value if none is provided. StorageClass string `json:"storageClass,omitempty"` }
V1VolumeClaimSpec The specification for a volume claim
swagger:model v1VolumeClaimSpec
func (*V1VolumeClaimSpec) ContextValidate ¶
ContextValidate validate this v1 volume claim spec based on the context it is used
func (*V1VolumeClaimSpec) MarshalBinary ¶
func (m *V1VolumeClaimSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1VolumeClaimSpec) UnmarshalBinary ¶
func (m *V1VolumeClaimSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WatchNetworksResponse ¶
type V1WatchNetworksResponse struct { // cluster Cluster string `json:"cluster,omitempty"` // event type EventType *WatchNetworksResponseEventType `json:"eventType,omitempty"` // instance conditions InstanceConditions []*V1InstanceCondition `json:"instanceConditions"` // instance name InstanceName string `json:"instanceName,omitempty"` // network Network string `json:"network,omitempty"` // network interface NetworkInterface *V1WatchNetworksResponseNetworkInterfaceStatus `json:"networkInterface,omitempty"` // stack Id StackID string `json:"stackId,omitempty"` // version Version string `json:"version,omitempty"` // watcher state WatcherState *V1WatcherState `json:"watcherState,omitempty"` }
V1WatchNetworksResponse v1 watch networks response
swagger:model v1WatchNetworksResponse
func (*V1WatchNetworksResponse) ContextValidate ¶
func (m *V1WatchNetworksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 watch networks response based on the context it is used
func (*V1WatchNetworksResponse) MarshalBinary ¶
func (m *V1WatchNetworksResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WatchNetworksResponse) UnmarshalBinary ¶
func (m *V1WatchNetworksResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WatchNetworksResponseNetworkInterfaceStatus ¶
type V1WatchNetworksResponseNetworkInterfaceStatus struct { // gateway Gateway string `json:"gateway,omitempty"` // host Ip address HostIPAddress string `json:"hostIpAddress,omitempty"` // ip address IPAddress string `json:"ipAddress,omitempty"` // ip address aliases IPAddressAliases []string `json:"ipAddressAliases"` // ipv6 address IPV6Address string `json:"ipv6Address,omitempty"` // ipv6 address aliases IPV6AddressAliases []string `json:"ipv6AddressAliases"` // ipv6 gateway IPV6Gateway string `json:"ipv6Gateway,omitempty"` // labels Labels V1StringMapEntry `json:"labels,omitempty"` // ovs region code OvsRegionCode int32 `json:"ovsRegionCode,omitempty"` // ports Ports V1InstancePortMapEntry `json:"ports,omitempty"` // primary network interface PrimaryNetworkInterface bool `json:"primaryNetworkInterface,omitempty"` }
V1WatchNetworksResponseNetworkInterfaceStatus v1 watch networks response network interface status
swagger:model v1WatchNetworksResponseNetworkInterfaceStatus
func (*V1WatchNetworksResponseNetworkInterfaceStatus) ContextValidate ¶
func (m *V1WatchNetworksResponseNetworkInterfaceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 watch networks response network interface status based on the context it is used
func (*V1WatchNetworksResponseNetworkInterfaceStatus) MarshalBinary ¶
func (m *V1WatchNetworksResponseNetworkInterfaceStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WatchNetworksResponseNetworkInterfaceStatus) UnmarshalBinary ¶
func (m *V1WatchNetworksResponseNetworkInterfaceStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WatcherState ¶
type V1WatcherState string
V1WatcherState v1 watcher state
swagger:model v1WatcherState
const ( // V1WatcherStateWATCHERSTATEUNSPECIFIED captures enum value "WATCHER_STATE_UNSPECIFIED" V1WatcherStateWATCHERSTATEUNSPECIFIED V1WatcherState = "WATCHER_STATE_UNSPECIFIED" // V1WatcherStateLISTING captures enum value "LISTING" V1WatcherStateLISTING V1WatcherState = "LISTING" // V1WatcherStateWATCHING captures enum value "WATCHING" V1WatcherStateWATCHING V1WatcherState = "WATCHING" )
func NewV1WatcherState ¶
func NewV1WatcherState(value V1WatcherState) *V1WatcherState
func (V1WatcherState) ContextValidate ¶
ContextValidate validates this v1 watcher state based on context it is used
func (V1WatcherState) Pointer ¶
func (m V1WatcherState) Pointer() *V1WatcherState
Pointer returns a pointer to a freshly-allocated V1WatcherState.
type V1Workload ¶
type V1Workload struct { // A workload's unique identifier // Read Only: true ID string `json:"id,omitempty"` // metadata Metadata *V1Metadata `json:"metadata,omitempty"` // A workload's name as it appears in the StackPath portal Name string `json:"name,omitempty"` // A workload's programmatic name // // Workload slugs are used to build its instances names Slug string `json:"slug,omitempty"` // spec Spec *V1WorkloadSpec `json:"spec,omitempty"` // The ID of the stack that a workload belongs to // Read Only: true StackID string `json:"stackId,omitempty"` // status // Read Only: true Status *V1WorkloadStatus `json:"status,omitempty"` // targets Targets V1TargetMapEntry `json:"targets,omitempty"` }
V1Workload A computing workload
Workloads define a computing application to deploy to StackPath's edge network.
swagger:model v1Workload
func (*V1Workload) ContextValidate ¶
ContextValidate validate this v1 workload based on the context it is used
func (*V1Workload) MarshalBinary ¶
func (m *V1Workload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Workload) UnmarshalBinary ¶
func (m *V1Workload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadInstanceContainerRuntimeSettings ¶
type V1WorkloadInstanceContainerRuntimeSettings struct { // dns config DNSConfig *V1DNSConfig `json:"dnsConfig,omitempty"` // The list of hosts and IPs that will be injected into the workload instance's hosts file HostAliases []*V1HostAlias `json:"hostAliases"` // security context SecurityContext *V1WorkloadInstanceSecurityContext `json:"securityContext,omitempty"` ShareProcessNamespace bool `json:"shareProcessNamespace,omitempty"` // The duration in seconds the workload instance needs to terminate gracefully. The value should belong to [0-300] seconds range TerminationGracePeriodSeconds string `json:"terminationGracePeriodSeconds,omitempty"` }
V1WorkloadInstanceContainerRuntimeSettings The specification for container settings which are applicable to all workload instance containers
swagger:model v1WorkloadInstanceContainerRuntimeSettings
func (*V1WorkloadInstanceContainerRuntimeSettings) ContextValidate ¶
func (m *V1WorkloadInstanceContainerRuntimeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 workload instance container runtime settings based on the context it is used
func (*V1WorkloadInstanceContainerRuntimeSettings) MarshalBinary ¶
func (m *V1WorkloadInstanceContainerRuntimeSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WorkloadInstanceContainerRuntimeSettings) UnmarshalBinary ¶
func (m *V1WorkloadInstanceContainerRuntimeSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadInstanceRuntimeSettings ¶
type V1WorkloadInstanceRuntimeSettings struct { // containers Containers *V1WorkloadInstanceContainerRuntimeSettings `json:"containers,omitempty"` // virtual machines VirtualMachines *V1WorkloadInstanceVMRuntimeSettings `json:"virtualMachines,omitempty"` }
V1WorkloadInstanceRuntimeSettings The specification for workload instance level settings
swagger:model v1WorkloadInstanceRuntimeSettings
func (*V1WorkloadInstanceRuntimeSettings) ContextValidate ¶
func (m *V1WorkloadInstanceRuntimeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 workload instance runtime settings based on the context it is used
func (*V1WorkloadInstanceRuntimeSettings) MarshalBinary ¶
func (m *V1WorkloadInstanceRuntimeSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WorkloadInstanceRuntimeSettings) UnmarshalBinary ¶
func (m *V1WorkloadInstanceRuntimeSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadInstanceSecurityContext ¶
type V1WorkloadInstanceSecurityContext struct { // The user GID to run the entry point of the container process RunAsGroup string `json:"runAsGroup,omitempty"` // Indicates that the container must run as a non-root user RunAsNonRoot bool `json:"runAsNonRoot,omitempty"` // The user UID to run the entry point of the container process RunAsUser string `json:"runAsUser,omitempty"` // The additional list of user groups applied to the first process run in each container running in the workload instance SupplementalGroups []string `json:"supplementalGroups"` // The list of kernel sysctl parameters to optimize the performance of a containersupported sysctls are [kernel.msgmax, kernel.msgmnb, kernel.pid_max, kernel.shmall, kernel.shmmax, kernel.shm_rmid_forced, net.core.netdev_budget, net.core.netdev_budget_usecs, net.core.netdev_max_backlog, net.core.optmem_max, net.core.rmem_default, net.core.rmem_max, net.core.somaxconn, net.core.wmem_default, net.core.wmem_max, net.ipv4.conf.$interface.accept_local, net.ipv4.conf.$interface.arp_announce, net.ipv4.conf.$interface.arp_ignore, net.ipv4.conf.$interface.rp_filter, net.ipv4.conf.all.accept_local, net.ipv4.conf.all.arp_announce, net.ipv4.conf.all.arp_ignore, net.ipv4.conf.all.force_igmp_version, net.ipv4.conf.all.rp_filter, net.ipv4.conf.default.accept_local, net.ipv4.conf.default.accept_source_route, net.ipv4.conf.default.rp_filter, net.ipv4.conf.lo.accept_local, net.ipv4.conf.lo.arp_announce, net.ipv4.conf.lo.arp_filter, net.ipv4.conf.lo.arp_ignore, net.ipv4.conf.lo.rp_filter, net.ipv4.ip_forward, net.ipv4.ip_local_port_range, net.ipv4.ip_local_reserved_ports, net.ipv4.ip_unprivileged_port_start, net.ipv4.ping_group_range, net.ipv4.tcp_base_mss, net.ipv4.tcp_congestion_control, net.ipv4.tcp_early_retrans, net.ipv4.tcp_ecn, net.ipv4.tcp_enable_last_ack_timer, net.ipv4.tcp_fin_timeout, net.ipv4.tcp_frto_response, net.ipv4.tcp_last_ack_timeout, net.ipv4.tcp_max_orphans, net.ipv4.tcp_max_syn_backlog, net.ipv4.tcp_mem, net.ipv4.tcp_mtu_probing, net.ipv4.tcp_no_metrics_save, net.ipv4.tcp_orphan_retries, net.ipv4.tcp_retries2, net.ipv4.tcp_rmem, net.ipv4.tcp_rto_max, net.ipv4.tcp_slow_start_after_idle, net.ipv4.tcp_syncookies, net.ipv4.tcp_timestamps, net.ipv4.tcp_tw_recycle, net.ipv4.tcp_tw_reuse, net.ipv4.tcp_wmem, net.ipv4.vs.debug_level, net.ipv6.conf.$interface.autoconf, net.ipv6.conf.all.accept_ra, net.ipv6.conf.all.autoconf, net.ipv6.conf.all.disable_ipv6, net.ipv6.conf.default.autoconf, net.ipv6.conf.lo.accept_dad, net.ipv6.conf.lo.autoconf, net.ipv6.conf.lo.dad_transmits, net.ipv6.route.max_size, vm.dirty_background_ratio, vm.dirty_ratio, vm.max_map_count, vm.min_free_kbytes, vm.panic_on_oom, vm.swappiness] Sysctls []*V1Sysctl `json:"sysctls"` }
V1WorkloadInstanceSecurityContext Security configuration that will be applied to all containers in the workload instance
swagger:model v1WorkloadInstanceSecurityContext
func (*V1WorkloadInstanceSecurityContext) ContextValidate ¶
func (m *V1WorkloadInstanceSecurityContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 workload instance security context based on the context it is used
func (*V1WorkloadInstanceSecurityContext) MarshalBinary ¶
func (m *V1WorkloadInstanceSecurityContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WorkloadInstanceSecurityContext) UnmarshalBinary ¶
func (m *V1WorkloadInstanceSecurityContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadInstanceVMRuntimeSettings ¶
type V1WorkloadInstanceVMRuntimeSettings struct { // dns config DNSConfig *V1DNSConfig `json:"dnsConfig,omitempty"` // The list of hosts and IPs that will be injected into the workload instance's hosts file HostAliases []*V1HostAlias `json:"hostAliases"` }
V1WorkloadInstanceVMRuntimeSettings The specification for VM settings which are applicable to VM workload instance
swagger:model v1WorkloadInstanceVMRuntimeSettings
func (*V1WorkloadInstanceVMRuntimeSettings) ContextValidate ¶
func (m *V1WorkloadInstanceVMRuntimeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 workload instance VM runtime settings based on the context it is used
func (*V1WorkloadInstanceVMRuntimeSettings) MarshalBinary ¶
func (m *V1WorkloadInstanceVMRuntimeSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WorkloadInstanceVMRuntimeSettings) UnmarshalBinary ¶
func (m *V1WorkloadInstanceVMRuntimeSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadSpec ¶
type V1WorkloadSpec struct { // containers Containers V1ContainerSpecMapEntry `json:"containers,omitempty"` // image pull credentials ImagePullCredentials V1WrappedImagePullCredentials `json:"imagePullCredentials,omitempty"` // init containers InitContainers V1ContainerSpecMapEntry `json:"initContainers,omitempty"` // Network interfaces to bind to the workload's instances NetworkInterfaces []*V1NetworkInterface `json:"networkInterfaces"` // runtime Runtime *V1WorkloadInstanceRuntimeSettings `json:"runtime,omitempty"` // virtual machines VirtualMachines V1VirtualMachineSpecMapEntry `json:"virtualMachines,omitempty"` // A list of claims that instances may reference // // The slug of the claim will be used in combination with the name of the instance to create a stable identifier. The slug should be used in the volume mount specifications for containers and VMs. VolumeClaimTemplates []*V1VolumeClaim `json:"volumeClaimTemplates"` }
V1WorkloadSpec The specification for the desired state of a workload
swagger:model v1WorkloadSpec
func (*V1WorkloadSpec) ContextValidate ¶
ContextValidate validate this v1 workload spec based on the context it is used
func (*V1WorkloadSpec) MarshalBinary ¶
func (m *V1WorkloadSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1WorkloadSpec) UnmarshalBinary ¶
func (m *V1WorkloadSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadStatus ¶
type V1WorkloadStatus string
V1WorkloadStatus Which status a workload is currently in
- ACTIVE: The workload is active
- SUSPENDED: The workload is suspended
- BILLING_SUSPENDED: The workload is suspended due to non-payment
- INACTIVE: The workload is inactive or has been deleted
swagger:model v1WorkloadStatus
const ( // V1WorkloadStatusACTIVE captures enum value "ACTIVE" V1WorkloadStatusACTIVE V1WorkloadStatus = "ACTIVE" // V1WorkloadStatusSUSPENDED captures enum value "SUSPENDED" V1WorkloadStatusSUSPENDED V1WorkloadStatus = "SUSPENDED" // V1WorkloadStatusBILLINGSUSPENDED captures enum value "BILLING_SUSPENDED" V1WorkloadStatusBILLINGSUSPENDED V1WorkloadStatus = "BILLING_SUSPENDED" // V1WorkloadStatusINACTIVE captures enum value "INACTIVE" V1WorkloadStatusINACTIVE V1WorkloadStatus = "INACTIVE" )
func NewV1WorkloadStatus ¶
func NewV1WorkloadStatus(value V1WorkloadStatus) *V1WorkloadStatus
func (V1WorkloadStatus) ContextValidate ¶
ContextValidate validates this v1 workload status based on context it is used
func (V1WorkloadStatus) Pointer ¶
func (m V1WorkloadStatus) Pointer() *V1WorkloadStatus
Pointer returns a pointer to a freshly-allocated V1WorkloadStatus.
type V1WrappedImagePullCredentials ¶
type V1WrappedImagePullCredentials []*V1ImagePullCredential
V1WrappedImagePullCredentials The credentials that should be used to pull the container image
swagger:model v1WrappedImagePullCredentials
func (V1WrappedImagePullCredentials) ContextValidate ¶
func (m V1WrappedImagePullCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 wrapped image pull credentials based on the context it is used
type VirtualMachineStatusPhase ¶
type VirtualMachineStatusPhase string
VirtualMachineStatusPhase virtual machine status phase
swagger:model VirtualMachineStatusPhase
const ( // VirtualMachineStatusPhaseUNKNOWN captures enum value "UNKNOWN" VirtualMachineStatusPhaseUNKNOWN VirtualMachineStatusPhase = "UNKNOWN" // VirtualMachineStatusPhasePENDING captures enum value "PENDING" VirtualMachineStatusPhasePENDING VirtualMachineStatusPhase = "PENDING" // VirtualMachineStatusPhaseSCHEDULING captures enum value "SCHEDULING" VirtualMachineStatusPhaseSCHEDULING VirtualMachineStatusPhase = "SCHEDULING" // VirtualMachineStatusPhaseSTARTING captures enum value "STARTING" VirtualMachineStatusPhaseSTARTING VirtualMachineStatusPhase = "STARTING" // VirtualMachineStatusPhaseRUNNING captures enum value "RUNNING" VirtualMachineStatusPhaseRUNNING VirtualMachineStatusPhase = "RUNNING" // VirtualMachineStatusPhaseSTOPPED captures enum value "STOPPED" VirtualMachineStatusPhaseSTOPPED VirtualMachineStatusPhase = "STOPPED" // VirtualMachineStatusPhaseFAILED captures enum value "FAILED" VirtualMachineStatusPhaseFAILED VirtualMachineStatusPhase = "FAILED" )
func NewVirtualMachineStatusPhase ¶
func NewVirtualMachineStatusPhase(value VirtualMachineStatusPhase) *VirtualMachineStatusPhase
func (VirtualMachineStatusPhase) ContextValidate ¶
func (m VirtualMachineStatusPhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this virtual machine status phase based on context it is used
func (VirtualMachineStatusPhase) Pointer ¶
func (m VirtualMachineStatusPhase) Pointer() *VirtualMachineStatusPhase
Pointer returns a pointer to a freshly-allocated VirtualMachineStatusPhase.
type VolumeClaimVolumeClaimPhase ¶
type VolumeClaimVolumeClaimPhase string
VolumeClaimVolumeClaimPhase Which phase a volume claim is currently in
- VOLUME_CLAIM_PHASE_UNSPECIFIED: StackPath is unable to determine the volume claim's state
- PENDING: The volume claim is pending
- UNBOUND: The volume claim is unbound
- BOUND: The volume claim is bound to an instance
swagger:model VolumeClaimVolumeClaimPhase
const ( // VolumeClaimVolumeClaimPhaseVOLUMECLAIMPHASEUNSPECIFIED captures enum value "VOLUME_CLAIM_PHASE_UNSPECIFIED" VolumeClaimVolumeClaimPhaseVOLUMECLAIMPHASEUNSPECIFIED VolumeClaimVolumeClaimPhase = "VOLUME_CLAIM_PHASE_UNSPECIFIED" // VolumeClaimVolumeClaimPhasePENDING captures enum value "PENDING" VolumeClaimVolumeClaimPhasePENDING VolumeClaimVolumeClaimPhase = "PENDING" // VolumeClaimVolumeClaimPhaseUNBOUND captures enum value "UNBOUND" VolumeClaimVolumeClaimPhaseUNBOUND VolumeClaimVolumeClaimPhase = "UNBOUND" // VolumeClaimVolumeClaimPhaseBOUND captures enum value "BOUND" VolumeClaimVolumeClaimPhaseBOUND VolumeClaimVolumeClaimPhase = "BOUND" )
func NewVolumeClaimVolumeClaimPhase ¶
func NewVolumeClaimVolumeClaimPhase(value VolumeClaimVolumeClaimPhase) *VolumeClaimVolumeClaimPhase
func (VolumeClaimVolumeClaimPhase) ContextValidate ¶
func (m VolumeClaimVolumeClaimPhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume claim volume claim phase based on context it is used
func (VolumeClaimVolumeClaimPhase) Pointer ¶
func (m VolumeClaimVolumeClaimPhase) Pointer() *VolumeClaimVolumeClaimPhase
Pointer returns a pointer to a freshly-allocated VolumeClaimVolumeClaimPhase.
type WatchNetworksResponseEventType ¶
type WatchNetworksResponseEventType string
WatchNetworksResponseEventType watch networks response event type
swagger:model WatchNetworksResponseEventType
const ( // WatchNetworksResponseEventTypeUNKNOWN captures enum value "UNKNOWN" WatchNetworksResponseEventTypeUNKNOWN WatchNetworksResponseEventType = "UNKNOWN" // WatchNetworksResponseEventTypeUPDATED captures enum value "UPDATED" WatchNetworksResponseEventTypeUPDATED WatchNetworksResponseEventType = "UPDATED" // WatchNetworksResponseEventTypeDELETED captures enum value "DELETED" WatchNetworksResponseEventTypeDELETED WatchNetworksResponseEventType = "DELETED" )
func NewWatchNetworksResponseEventType ¶
func NewWatchNetworksResponseEventType(value WatchNetworksResponseEventType) *WatchNetworksResponseEventType
func (WatchNetworksResponseEventType) ContextValidate ¶
func (m WatchNetworksResponseEventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this watch networks response event type based on context it is used
func (WatchNetworksResponseEventType) Pointer ¶
func (m WatchNetworksResponseEventType) Pointer() *WatchNetworksResponseEventType
Pointer returns a pointer to a freshly-allocated WatchNetworksResponseEventType.
type Workloadv1Instance ¶
type Workloadv1Instance struct { // Status of the containers running within the workload instance ContainerStatuses []*V1ContainerStatus `json:"containerStatuses"` // containers Containers V1ContainerSpecMapEntry `json:"containers,omitempty"` // The date an instance was created // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // The date an instance was deleted // Format: date-time DeletedAt strfmt.DateTime `json:"deletedAt,omitempty"` // An instance's publicly accessible IPv4 address ExternalIPAddress string `json:"externalIpAddress,omitempty"` // An instance's publicly accessible IPv6 address ExternalIPV6Address string `json:"externalIpv6Address,omitempty"` // An instance's unique identifier ID string `json:"id,omitempty"` // Status of the init_containers running within the workload instance InitContainerStatuses []*V1ContainerStatus `json:"initContainerStatuses"` // init containers InitContainers V1ContainerSpecMapEntry `json:"initContainers,omitempty"` // An instance's IPv4 address IPAddress string `json:"ipAddress,omitempty"` // An instance's IPv6 address IPV6Address string `json:"ipv6Address,omitempty"` // location Location *Workloadv1Location `json:"location,omitempty"` // A longer message that provides more detail on why an instance is in a phase Message string `json:"message,omitempty"` // metadata Metadata *V1Metadata `json:"metadata,omitempty"` // An instance's name // // Instance names are generated from their corresponsing workload's slug, followed by a unique hash Name string `json:"name,omitempty"` // An instance's network interfaces NetworkInterfaces []*Workloadv1NetworkInterfaceStatus `json:"networkInterfaces"` // phase Phase *Workloadv1InstanceInstancePhase `json:"phase,omitempty"` // A short reason that explains why an instance is in a phase Reason string `json:"reason,omitempty"` // resources Resources *V1ResourceRequirements `json:"resources,omitempty"` // runtime Runtime *V1WorkloadInstanceRuntimeSettings `json:"runtime,omitempty"` // The date an instance was scheduled // Format: date-time ScheduledAt strfmt.DateTime `json:"scheduledAt,omitempty"` // The ID of the stack that an instance belongs to StackID string `json:"stackId,omitempty"` // The date an instance was started // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` // The status of the virtual machines running within the workload instance VirtualMachineStatuses []*V1VirtualMachineStatus `json:"virtualMachineStatuses"` // virtual machines VirtualMachines V1VirtualMachineSpecMapEntry `json:"virtualMachines,omitempty"` // The ID of the workload that an instance belongs to WorkloadID string `json:"workloadId,omitempty"` }
Workloadv1Instance An instance of a workload deployment
swagger:model workloadv1Instance
func (*Workloadv1Instance) ContextValidate ¶
ContextValidate validate this workloadv1 instance based on the context it is used
func (*Workloadv1Instance) MarshalBinary ¶
func (m *Workloadv1Instance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Workloadv1Instance) UnmarshalBinary ¶
func (m *Workloadv1Instance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Workloadv1InstanceInstancePhase ¶
type Workloadv1InstanceInstancePhase string
Workloadv1InstanceInstancePhase An instance's startup state
- INSTANCE_PHASE_UNSPECIFIED: StackPath is unable to determine the instance's startup state
- STARTING: The instance is still initializing
- RUNNING: The instance is running
- FAILED: The instance failed to start
- COMPLETED: The instance finished running
- SCHEDULING: The instance is being scheduled
- STOPPED: The instance is stopped
- DELETING: The instance is being deleted
swagger:model workloadv1InstanceInstancePhase
const ( // Workloadv1InstanceInstancePhaseINSTANCEPHASEUNSPECIFIED captures enum value "INSTANCE_PHASE_UNSPECIFIED" Workloadv1InstanceInstancePhaseINSTANCEPHASEUNSPECIFIED Workloadv1InstanceInstancePhase = "INSTANCE_PHASE_UNSPECIFIED" // Workloadv1InstanceInstancePhaseSTARTING captures enum value "STARTING" Workloadv1InstanceInstancePhaseSTARTING Workloadv1InstanceInstancePhase = "STARTING" // Workloadv1InstanceInstancePhaseRUNNING captures enum value "RUNNING" Workloadv1InstanceInstancePhaseRUNNING Workloadv1InstanceInstancePhase = "RUNNING" // Workloadv1InstanceInstancePhaseFAILED captures enum value "FAILED" Workloadv1InstanceInstancePhaseFAILED Workloadv1InstanceInstancePhase = "FAILED" // Workloadv1InstanceInstancePhaseCOMPLETED captures enum value "COMPLETED" Workloadv1InstanceInstancePhaseCOMPLETED Workloadv1InstanceInstancePhase = "COMPLETED" // Workloadv1InstanceInstancePhaseSCHEDULING captures enum value "SCHEDULING" Workloadv1InstanceInstancePhaseSCHEDULING Workloadv1InstanceInstancePhase = "SCHEDULING" // Workloadv1InstanceInstancePhaseSTOPPED captures enum value "STOPPED" Workloadv1InstanceInstancePhaseSTOPPED Workloadv1InstanceInstancePhase = "STOPPED" // Workloadv1InstanceInstancePhaseDELETING captures enum value "DELETING" Workloadv1InstanceInstancePhaseDELETING Workloadv1InstanceInstancePhase = "DELETING" )
func NewWorkloadv1InstanceInstancePhase ¶
func NewWorkloadv1InstanceInstancePhase(value Workloadv1InstanceInstancePhase) *Workloadv1InstanceInstancePhase
func (Workloadv1InstanceInstancePhase) ContextValidate ¶
func (m Workloadv1InstanceInstancePhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this workloadv1 instance instance phase based on context it is used
func (Workloadv1InstanceInstancePhase) Pointer ¶
func (m Workloadv1InstanceInstancePhase) Pointer() *Workloadv1InstanceInstancePhase
Pointer returns a pointer to a freshly-allocated Workloadv1InstanceInstancePhase.
type Workloadv1Location ¶
type Workloadv1Location struct { // A location's city City string `json:"city,omitempty"` // A location's city, expressed as an IATA airport code CityCode string `json:"cityCode,omitempty"` // A location's continent Continent string `json:"continent,omitempty"` // A location's continent code ContinentCode string `json:"continentCode,omitempty"` // A location's country Country string `json:"country,omitempty"` // A location's ISO-3166-1 alpha-2 country code CountryCode string `json:"countryCode,omitempty"` // A location's geographic latitude Latitude float64 `json:"latitude,omitempty"` // A location's geographic longitude Longitude float64 `json:"longitude,omitempty"` // A human readable location name Name string `json:"name,omitempty"` // A location's state or province Region string `json:"region,omitempty"` // A location's ISO-3166-2 region code RegionCode string `json:"regionCode,omitempty"` // A location's subdivision Subdivision string `json:"subdivision,omitempty"` // A location's subdivision code SubdivisionCode string `json:"subdivisionCode,omitempty"` }
Workloadv1Location Geographic location information
swagger:model workloadv1Location
func (*Workloadv1Location) ContextValidate ¶
ContextValidate validates this workloadv1 location based on context it is used
func (*Workloadv1Location) MarshalBinary ¶
func (m *Workloadv1Location) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Workloadv1Location) UnmarshalBinary ¶
func (m *Workloadv1Location) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Workloadv1NetworkInterfaceStatus ¶
type Workloadv1NetworkInterfaceStatus struct { // A network interface's IPv4 gateway address Gateway string `json:"gateway,omitempty"` // A network interface's primary IPv4 address IPAddress string `json:"ipAddress,omitempty"` // Additional IPv4 addresses bound to a network interface IPAddressAliases []string `json:"ipAddressAliases"` // A network interface's primary IPv6 address IPV6Address string `json:"ipv6Address,omitempty"` // Additional IPv6 addresses bound to a network interface IPV6AddressAliases []string `json:"ipv6AddressAliases"` // A network interface's IPv6 gateway address IPV6Gateway string `json:"ipv6Gateway,omitempty"` // A network interface's name Network string `json:"network,omitempty"` }
Workloadv1NetworkInterfaceStatus Network interfaces that are attached to an instance in a workload
swagger:model workloadv1NetworkInterfaceStatus
func (*Workloadv1NetworkInterfaceStatus) ContextValidate ¶
func (m *Workloadv1NetworkInterfaceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this workloadv1 network interface status based on context it is used
func (*Workloadv1NetworkInterfaceStatus) MarshalBinary ¶
func (m *Workloadv1NetworkInterfaceStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Workloadv1NetworkInterfaceStatus) UnmarshalBinary ¶
func (m *Workloadv1NetworkInterfaceStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation