Documentation
¶
Index ¶
- type APIStatusDetail
- type ContainerStatusRunning
- type ContainerStatusTerminated
- type ContainerStatusWaiting
- type NetworkPolicySpecPolicyType
- type PaginationPageInfo
- type PaginationPageRequest
- type StackpathRPCBadRequest
- func (m *StackpathRPCBadRequest) AtType() string
- 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 StackpathRPCBadRequestAllOf1
- type StackpathRPCBadRequestFieldViolation
- type StackpathRPCHelp
- func (m *StackpathRPCHelp) AtType() string
- 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 StackpathRPCHelpAllOf1
- type StackpathRPCHelpLink
- type StackpathRPCLocalizedMessage
- func (m *StackpathRPCLocalizedMessage) AtType() string
- 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 StackpathRPCLocalizedMessageAllOf1
- type StackpathRPCPreconditionFailure
- func (m *StackpathRPCPreconditionFailure) AtType() string
- 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 StackpathRPCPreconditionFailureAllOf1
- type StackpathRPCPreconditionFailureViolation
- type StackpathRPCQuotaFailure
- func (m *StackpathRPCQuotaFailure) AtType() string
- 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 StackpathRPCQuotaFailureAllOf1
- type StackpathRPCQuotaFailureViolation
- type StackpathRPCRequestInfo
- func (m *StackpathRPCRequestInfo) AtType() string
- 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 StackpathRPCRequestInfoAllOf1
- type StackpathRPCResourceInfo
- func (m *StackpathRPCResourceInfo) AtType() string
- 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 StackpathRPCResourceInfoAllOf1
- type StackpathRPCRetryInfo
- func (m *StackpathRPCRetryInfo) AtType() string
- 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 StackpathRPCRetryInfoAllOf1
- type StackpathapiStatus
- 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 V1Action
- type V1ContainerSpec
- type V1ContainerSpecMapEntry
- type V1ContainerStatus
- type V1ContainerStatusContainerPhase
- type V1CreateNetworkPolicyRequest
- type V1CreateNetworkPolicyResponse
- type V1CreateWorkloadRequest
- type V1CreateWorkloadResponse
- type V1DeploymentSpec
- type V1DockerRegistryCredentials
- type V1Egress
- type V1EnvironmentVariable
- type V1EnvironmentVariableMapEntry
- type V1GetLocationsResponse
- type V1GetNetworkPoliciesResponse
- type V1GetNetworkPolicyResponse
- type V1GetWorkloadInstancesResponse
- type V1GetWorkloadResponse
- type V1GetWorkloadsResponse
- type V1HTTPGetAction
- type V1HostRule
- type V1IPBlock
- type V1ImagePullCredential
- type V1Ingress
- type V1InstancePort
- type V1InstancePortMapEntry
- type V1InstanceVolumeMount
- type V1MatchExpression
- type V1Metadata
- type V1MetricSpec
- type V1NetworkInterface
- type V1NetworkPolicy
- type V1NetworkPolicySpec
- type V1Probe
- type V1ProtocolAh
- type V1ProtocolEsp
- type V1ProtocolGre
- type V1ProtocolIcmp
- type V1ProtocolTCP
- type V1ProtocolTCPUDP
- type V1ProtocolUDP
- type V1Protocols
- type V1ResourceRequirements
- type V1ScaleSettings
- type V1StringMapEntry
- type V1TCPSocketAction
- type V1Target
- type V1TargetMapEntry
- type V1TargetSpec
- type V1UpdateNetworkPolicyRequest
- type V1UpdateNetworkPolicyResponse
- type V1UpdateWorkloadRequest
- type V1UpdateWorkloadResponse
- type V1VirtualMachineSpec
- type V1VirtualMachineSpecMapEntry
- type V1VirtualMachineStatus
- type V1VolumeClaim
- type V1VolumeClaimSpec
- type V1Workload
- type V1WorkloadSpec
- type V1WorkloadStatus
- type VirtualMachineStatusPhase
- type VolumeClaimVolumeClaimPhase
- type Workloadv1Instance
- type Workloadv1InstanceInstancePhase
- type Workloadv1Location
- type Workloadv1NetworkInterfaceStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIStatusDetail ¶
type APIStatusDetail interface {
runtime.Validatable
// 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) 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) 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) MarshalBinary ¶
func (m *ContainerStatusWaiting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStatusWaiting) UnmarshalBinary ¶
func (m *ContainerStatusWaiting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkPolicySpecPolicyType ¶
type NetworkPolicySpecPolicyType string
NetworkPolicySpecPolicyType network policy spec policy type swagger:model NetworkPolicySpecPolicyType
const ( // NetworkPolicySpecPolicyTypeRECORDTYPENOTSPECIFICED captures enum value "RECORD_TYPE_NOT_SPECIFICED" NetworkPolicySpecPolicyTypeRECORDTYPENOTSPECIFICED NetworkPolicySpecPolicyType = "RECORD_TYPE_NOT_SPECIFICED" // NetworkPolicySpecPolicyTypeINGRESS captures enum value "INGRESS" NetworkPolicySpecPolicyTypeINGRESS NetworkPolicySpecPolicyType = "INGRESS" // NetworkPolicySpecPolicyTypeEGRESS captures enum value "EGRESS" NetworkPolicySpecPolicyTypeEGRESS NetworkPolicySpecPolicyType = "EGRESS" )
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) 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) MarshalBinary ¶
func (m *PaginationPageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaginationPageRequest) UnmarshalBinary ¶
func (m *PaginationPageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCBadRequest ¶
type StackpathRPCBadRequest struct {
StackpathRPCBadRequestAllOf1
}
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) 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 StackpathRPCBadRequestAllOf1 ¶
type StackpathRPCBadRequestAllOf1 struct {
// field violations
FieldViolations []*StackpathRPCBadRequestFieldViolation `json:"fieldViolations"`
}
StackpathRPCBadRequestAllOf1 stackpath Rpc bad request all of1 swagger:model stackpathRpcBadRequestAllOf1
func (*StackpathRPCBadRequestAllOf1) MarshalBinary ¶
func (m *StackpathRPCBadRequestAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCBadRequestAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCBadRequestAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 {
StackpathRPCHelpAllOf1
}
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) 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 StackpathRPCHelpAllOf1 ¶
type StackpathRPCHelpAllOf1 struct {
// links
Links []*StackpathRPCHelpLink `json:"links"`
}
StackpathRPCHelpAllOf1 stackpath Rpc help all of1 swagger:model stackpathRpcHelpAllOf1
func (*StackpathRPCHelpAllOf1) MarshalBinary ¶
func (m *StackpathRPCHelpAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCHelpAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCHelpAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 {
StackpathRPCLocalizedMessageAllOf1
}
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) 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 StackpathRPCLocalizedMessageAllOf1 ¶
type StackpathRPCLocalizedMessageAllOf1 struct {
// locale
Locale string `json:"locale,omitempty"`
// message
Message string `json:"message,omitempty"`
}
StackpathRPCLocalizedMessageAllOf1 stackpath Rpc localized message all of1 swagger:model stackpathRpcLocalizedMessageAllOf1
func (*StackpathRPCLocalizedMessageAllOf1) MarshalBinary ¶
func (m *StackpathRPCLocalizedMessageAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCLocalizedMessageAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCLocalizedMessageAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCPreconditionFailure ¶
type StackpathRPCPreconditionFailure struct {
StackpathRPCPreconditionFailureAllOf1
}
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) 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 StackpathRPCPreconditionFailureAllOf1 ¶
type StackpathRPCPreconditionFailureAllOf1 struct {
// violations
Violations []*StackpathRPCPreconditionFailureViolation `json:"violations"`
}
StackpathRPCPreconditionFailureAllOf1 stackpath Rpc precondition failure all of1 swagger:model stackpathRpcPreconditionFailureAllOf1
func (*StackpathRPCPreconditionFailureAllOf1) MarshalBinary ¶
func (m *StackpathRPCPreconditionFailureAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCPreconditionFailureAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCPreconditionFailureAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 {
StackpathRPCQuotaFailureAllOf1
}
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) 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 StackpathRPCQuotaFailureAllOf1 ¶
type StackpathRPCQuotaFailureAllOf1 struct {
// violations
Violations []*StackpathRPCQuotaFailureViolation `json:"violations"`
}
StackpathRPCQuotaFailureAllOf1 stackpath Rpc quota failure all of1 swagger:model stackpathRpcQuotaFailureAllOf1
func (*StackpathRPCQuotaFailureAllOf1) MarshalBinary ¶
func (m *StackpathRPCQuotaFailureAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCQuotaFailureAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCQuotaFailureAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 {
StackpathRPCRequestInfoAllOf1
}
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) 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 StackpathRPCRequestInfoAllOf1 ¶
type StackpathRPCRequestInfoAllOf1 struct {
// request Id
RequestID string `json:"requestId,omitempty"`
// serving data
ServingData string `json:"servingData,omitempty"`
}
StackpathRPCRequestInfoAllOf1 stackpath Rpc request info all of1 swagger:model stackpathRpcRequestInfoAllOf1
func (*StackpathRPCRequestInfoAllOf1) MarshalBinary ¶
func (m *StackpathRPCRequestInfoAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCRequestInfoAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCRequestInfoAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCResourceInfo ¶
type StackpathRPCResourceInfo struct {
StackpathRPCResourceInfoAllOf1
}
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) 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 StackpathRPCResourceInfoAllOf1 ¶
type StackpathRPCResourceInfoAllOf1 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"`
}
StackpathRPCResourceInfoAllOf1 stackpath Rpc resource info all of1 swagger:model stackpathRpcResourceInfoAllOf1
func (*StackpathRPCResourceInfoAllOf1) MarshalBinary ¶
func (m *StackpathRPCResourceInfoAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCResourceInfoAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCResourceInfoAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathRPCRetryInfo ¶
type StackpathRPCRetryInfo struct {
StackpathRPCRetryInfoAllOf1
}
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) 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 StackpathRPCRetryInfoAllOf1 ¶
type StackpathRPCRetryInfoAllOf1 struct {
// retry delay
RetryDelay string `json:"retryDelay,omitempty"`
}
StackpathRPCRetryInfoAllOf1 stackpath Rpc retry info all of1 swagger:model stackpathRpcRetryInfoAllOf1
func (*StackpathRPCRetryInfoAllOf1) MarshalBinary ¶
func (m *StackpathRPCRetryInfoAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackpathRPCRetryInfoAllOf1) UnmarshalBinary ¶
func (m *StackpathRPCRetryInfoAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StackpathapiStatus ¶
type StackpathapiStatus struct {
// code
Code int32 `json:"code,omitempty"`
// error
Error string `json:"error,omitempty"`
// Error message
Message string `json:"message,omitempty"`
// contains filtered or unexported fields
}
StackpathapiStatus stackpathapi status swagger:model stackpathapiStatus
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 V1ContainerSpec ¶
type V1ContainerSpec struct {
// 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"`
// 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"`
// Volumes to mount in the container
VolumeMounts []*V1InstanceVolumeMount `json:"volumeMounts"`
}
V1ContainerSpec The specification for the desired state of a container in a workload swagger:model v1ContainerSpec
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
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) 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" )
type V1CreateNetworkPolicyRequest ¶
type V1CreateNetworkPolicyRequest struct {
// network policy
NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}
V1CreateNetworkPolicyRequest A request to create a network policy swagger:model v1CreateNetworkPolicyRequest
func (*V1CreateNetworkPolicyRequest) MarshalBinary ¶
func (m *V1CreateNetworkPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateNetworkPolicyRequest) UnmarshalBinary ¶
func (m *V1CreateNetworkPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1CreateNetworkPolicyResponse ¶
type V1CreateNetworkPolicyResponse struct {
// network policy
NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}
V1CreateNetworkPolicyResponse A response from a request to add a network policy to a stack swagger:model v1CreateNetworkPolicyResponse
func (*V1CreateNetworkPolicyResponse) MarshalBinary ¶
func (m *V1CreateNetworkPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateNetworkPolicyResponse) UnmarshalBinary ¶
func (m *V1CreateNetworkPolicyResponse) 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) 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) MarshalBinary ¶
func (m *V1CreateWorkloadResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1CreateWorkloadResponse) UnmarshalBinary ¶
func (m *V1CreateWorkloadResponse) 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) 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) MarshalBinary ¶
func (m *V1DockerRegistryCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1DockerRegistryCredentials) UnmarshalBinary ¶
func (m *V1DockerRegistryCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Egress ¶
type V1Egress struct {
// action
Action V1Action `json:"action,omitempty"`
// Detailed summary of what the egress rule does
Description string `json:"description,omitempty"`
// protocols
Protocols *V1Protocols `json:"protocols,omitempty"`
// to
To *V1HostRule `json:"to,omitempty"`
}
V1Egress An outbound rule from workload instances swagger:model v1Egress
func (*V1Egress) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Egress) UnmarshalBinary ¶
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"`
}
V1EnvironmentVariable The location to obtain a value for an environment variable swagger:model v1EnvironmentVariable
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
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) MarshalBinary ¶
func (m *V1GetLocationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetLocationsResponse) UnmarshalBinary ¶
func (m *V1GetLocationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetNetworkPoliciesResponse ¶
type V1GetNetworkPoliciesResponse struct {
// page info
PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
// The requested network policies
Results []*V1NetworkPolicy `json:"results"`
}
V1GetNetworkPoliciesResponse A response from a request to retrieve a stack's network policies swagger:model v1GetNetworkPoliciesResponse
func (*V1GetNetworkPoliciesResponse) MarshalBinary ¶
func (m *V1GetNetworkPoliciesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetNetworkPoliciesResponse) UnmarshalBinary ¶
func (m *V1GetNetworkPoliciesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1GetNetworkPolicyResponse ¶
type V1GetNetworkPolicyResponse struct {
// network policy
NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}
V1GetNetworkPolicyResponse A response from a request to get a network policy to a stack swagger:model v1GetNetworkPolicyResponse
func (*V1GetNetworkPolicyResponse) MarshalBinary ¶
func (m *V1GetNetworkPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1GetNetworkPolicyResponse) UnmarshalBinary ¶
func (m *V1GetNetworkPolicyResponse) 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) 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) 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) 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) MarshalBinary ¶
func (m *V1HTTPGetAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1HTTPGetAction) UnmarshalBinary ¶
func (m *V1HTTPGetAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1HostRule ¶
type V1HostRule struct {
// List of instance selectors
InstanceSelectors []*V1MatchExpression `json:"instanceSelectors"`
// List of ip blocks
IPBlock []*V1IPBlock `json:"ipBlock"`
// List of network selectors
NetworkSelectors []*V1MatchExpression `json:"networkSelectors"`
}
V1HostRule Defines IPs, instances, or networks swagger:model v1HostRule
func (*V1HostRule) MarshalBinary ¶
func (m *V1HostRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1HostRule) UnmarshalBinary ¶
func (m *V1HostRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1IPBlock ¶
type V1IPBlock struct {
// A subnet that will define all the IPs allowed by a rule
Cidr string `json:"cidr,omitempty"`
// A list of subnets that will be excluded from the above subnet
//
// This allows a convenient way to allow multiple ip ranges in a single expression
Except []string `json:"except"`
}
V1IPBlock Defines an IP block swagger:model v1IpBlock
func (*V1IPBlock) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1IPBlock) UnmarshalBinary ¶
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) MarshalBinary ¶
func (m *V1ImagePullCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ImagePullCredential) UnmarshalBinary ¶
func (m *V1ImagePullCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Ingress ¶
type V1Ingress struct {
// action
Action V1Action `json:"action,omitempty"`
// Detailed summary of what the ingress rule does
Description string `json:"description,omitempty"`
// from
From *V1HostRule `json:"from,omitempty"`
// protocols
Protocols *V1Protocols `json:"protocols,omitempty"`
}
V1Ingress An inbound rule to workload instances swagger:model v1Ingress
func (*V1Ingress) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Ingress) UnmarshalBinary ¶
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 to listen on
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 network port to be opened to the Internet on an instance of a workload swagger:model v1InstancePort
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
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) MarshalBinary ¶
func (m *V1InstanceVolumeMount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1InstanceVolumeMount) UnmarshalBinary ¶
func (m *V1InstanceVolumeMount) 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) 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
// Format: date-time
CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`
// The date an entity was requested to be deleted
// Format: date-time
DeleteRequestedAt *strfmt.DateTime `json:"deleteRequestedAt,omitempty"`
// labels
Labels V1StringMapEntry `json:"labels,omitempty"`
// The date that a metadata entry was last updated
// 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) 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) 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 {
// A network interface's name
Network string `json:"network,omitempty"`
}
V1NetworkInterface Network interfaces that will be created on instances in the workload swagger:model v1NetworkInterface
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 V1NetworkPolicy ¶
type V1NetworkPolicy struct {
// Detailed summary of what the policy does
Description string `json:"description,omitempty"`
// A network policy's unique identifier
ID string `json:"id,omitempty"`
// metadata
Metadata *V1Metadata `json:"metadata,omitempty"`
// A network policy's name as it appears in the StackPath portal
Name string `json:"name,omitempty"`
// A network policy's programmatic name
//
// Network policy slugs are used to build its instances names
Slug string `json:"slug,omitempty"`
// spec
Spec *V1NetworkPolicySpec `json:"spec,omitempty"`
// The ID of the stack that a network policy belongs to
StackID string `json:"stackId,omitempty"`
}
V1NetworkPolicy A network policy
Network policies define an ACL that applies to one or many workload instances swagger:model v1NetworkPolicy
func (*V1NetworkPolicy) MarshalBinary ¶
func (m *V1NetworkPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkPolicy) UnmarshalBinary ¶
func (m *V1NetworkPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1NetworkPolicySpec ¶
type V1NetworkPolicySpec struct {
// A list of rules for outbound traffic from instances
//
// If the egress policy type is given but not defined here the default is to allow all
Egress []*V1Egress `json:"egress"`
// A list of rules for inbound traffic to instances
//
// If the ingress policy type is given but not defined here the default is to block all
Ingress []*V1Ingress `json:"ingress"`
// A selector to match workload instances
InstanceSelectors []*V1MatchExpression `json:"instanceSelectors"`
// A selector to match networks
NetworkSelectors []*V1MatchExpression `json:"networkSelectors"`
// A list of policy types
//
// Policy types are used to specify what rules will be defined. If a policy type is given but not defined it will default. If it is not provided then no action will be used.
PolicyTypes []NetworkPolicySpecPolicyType `json:"policyTypes"`
// A priority for all rules in the network policy. 1-65000
Priority int32 `json:"priority,omitempty"`
}
V1NetworkPolicySpec The specification for the desired state of a network policy swagger:model v1NetworkPolicySpec
func (*V1NetworkPolicySpec) MarshalBinary ¶
func (m *V1NetworkPolicySpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1NetworkPolicySpec) UnmarshalBinary ¶
func (m *V1NetworkPolicySpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Probe ¶
type V1Probe struct {
// 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) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Probe) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1ProtocolAh ¶
type V1ProtocolAh struct{}
V1ProtocolAh Authentication Header (AH) protocol matching swagger:model v1ProtocolAh
type V1ProtocolEsp ¶
type V1ProtocolEsp struct{}
V1ProtocolEsp Encapsulating Security Payload (ESP) protocol matching swagger:model v1ProtocolEsp
type V1ProtocolGre ¶
type V1ProtocolGre struct{}
V1ProtocolGre Generic Routing Encapsulation (GRE) protocol matching swagger:model v1ProtocolGre
type V1ProtocolIcmp ¶
type V1ProtocolIcmp struct{}
V1ProtocolIcmp ICMP protocol matching swagger:model v1ProtocolIcmp
type V1ProtocolTCP ¶
type V1ProtocolTCP struct {
// List of destination ports to allow 1-65535
DestinationPorts []string `json:"destinationPorts"`
// List of source ports to allow 1-65535, defaults to 1000-65535
SourcePorts []string `json:"sourcePorts"`
}
V1ProtocolTCP TCP protocol matching swagger:model v1ProtocolTcp
func (*V1ProtocolTCP) MarshalBinary ¶
func (m *V1ProtocolTCP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProtocolTCP) UnmarshalBinary ¶
func (m *V1ProtocolTCP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ProtocolTCPUDP ¶
type V1ProtocolTCPUDP struct {
// List of destination ports to allow 1-65535
DestinationPorts []string `json:"destinationPorts"`
// List of source ports to allow 1-65535, defaults to 1000-65535
SourcePorts []string `json:"sourcePorts"`
}
V1ProtocolTCPUDP TCP or UDP protocol convenience matching swagger:model v1ProtocolTcpUdp
func (*V1ProtocolTCPUDP) MarshalBinary ¶
func (m *V1ProtocolTCPUDP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProtocolTCPUDP) UnmarshalBinary ¶
func (m *V1ProtocolTCPUDP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1ProtocolUDP ¶
type V1ProtocolUDP struct {
// List of destination ports to allow 1-65535
DestinationPorts []string `json:"destinationPorts"`
// List of source ports to allow 1-65535, defaults to 1000-65535
SourcePorts []string `json:"sourcePorts"`
}
V1ProtocolUDP UDP protocol matching swagger:model v1ProtocolUdp
func (*V1ProtocolUDP) MarshalBinary ¶
func (m *V1ProtocolUDP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1ProtocolUDP) UnmarshalBinary ¶
func (m *V1ProtocolUDP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1Protocols ¶
type V1Protocols struct {
// ah
Ah *V1ProtocolAh `json:"ah,omitempty"`
// esp
Esp *V1ProtocolEsp `json:"esp,omitempty"`
// gre
Gre *V1ProtocolGre `json:"gre,omitempty"`
// icmp
Icmp *V1ProtocolIcmp `json:"icmp,omitempty"`
// tcp
TCP *V1ProtocolTCP `json:"tcp,omitempty"`
// tcp Udp
TCPUDP *V1ProtocolTCPUDP `json:"tcpUdp,omitempty"`
// udp
UDP *V1ProtocolUDP `json:"udp,omitempty"`
}
V1Protocols An object of all supported protocols and any attributes for them swagger:model v1Protocols
func (*V1Protocols) MarshalBinary ¶
func (m *V1Protocols) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Protocols) UnmarshalBinary ¶
func (m *V1Protocols) 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 for an object
Resource requirements are key/value pairs. swagger:model v1ResourceRequirements
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) 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
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) 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) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Target) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1TargetMapEntry ¶
V1TargetMapEntry A string to deployment target key/value pair swagger:model v1TargetMapEntry
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) MarshalBinary ¶
func (m *V1TargetSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1TargetSpec) UnmarshalBinary ¶
func (m *V1TargetSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateNetworkPolicyRequest ¶
type V1UpdateNetworkPolicyRequest struct {
// network policy
NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}
V1UpdateNetworkPolicyRequest A request to update a network policy swagger:model v1UpdateNetworkPolicyRequest
func (*V1UpdateNetworkPolicyRequest) MarshalBinary ¶
func (m *V1UpdateNetworkPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateNetworkPolicyRequest) UnmarshalBinary ¶
func (m *V1UpdateNetworkPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1UpdateNetworkPolicyResponse ¶
type V1UpdateNetworkPolicyResponse struct {
// network policy
NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}
V1UpdateNetworkPolicyResponse A response from a request to update a network policy swagger:model v1UpdateNetworkPolicyResponse
func (*V1UpdateNetworkPolicyResponse) MarshalBinary ¶
func (m *V1UpdateNetworkPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1UpdateNetworkPolicyResponse) UnmarshalBinary ¶
func (m *V1UpdateNetworkPolicyResponse) 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) 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) 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 location of a Docker image to run as a virtual machine
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) 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
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) 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
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
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
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) 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"`
}
V1VolumeClaimSpec The specification for a volume claim swagger:model v1VolumeClaimSpec
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 V1Workload ¶
type V1Workload struct {
// A workload's unique identifier
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
StackID string `json:"stackId,omitempty"`
// status
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) MarshalBinary ¶
func (m *V1Workload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*V1Workload) UnmarshalBinary ¶
func (m *V1Workload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type V1WorkloadSpec ¶
type V1WorkloadSpec struct {
// containers
Containers V1ContainerSpecMapEntry `json:"containers,omitempty"`
// Credentials that should be used to pull workload images
ImagePullCredentials []*V1ImagePullCredential `json:"imagePullCredentials"`
// Network interfaces to bind to the workload's instances
NetworkInterfaces []*V1NetworkInterface `json:"networkInterfaces"`
// 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) 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" )
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" )
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" )
type Workloadv1Instance ¶
type Workloadv1Instance struct {
// Status of the containers running within the workload instance
ContainerStatuses []*V1ContainerStatus `json:"containerStatuses"`
// containers
Containers V1ContainerSpecMapEntry `json:"containers,omitempty"`
// Status of the virtual machines running within the workload instance
VirtualMachineStatuses []*V1VirtualMachineStatus `json:"virtualMachineStatuses"`
// virtual machines
VirtualMachines V1VirtualMachineSpecMapEntry `json:"virtualMachines,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 IP address
ExternalIPAddress string `json:"externalIpAddress,omitempty"`
// An instance's unique identifier
ID string `json:"id,omitempty"`
// An instance's IP address
IPAddress string `json:"ipAddress,omitempty"`
// location
Location *Workloadv1Location `json:"location,omitempty"`
// message
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"`
// reason
Reason string `json:"reason,omitempty"`
// resources
Resources *V1ResourceRequirements `json:"resources,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"`
}
Workloadv1Instance An instance of a workload deployment swagger:model workloadv1Instance
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
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" )
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) 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 gateway address
Gateway string `json:"gateway,omitempty"`
// A network interface's primary IP address
IPAddress string `json:"ipAddress,omitempty"`
// Additional IP addresses bound to a network interface
IPAddressAliases []string `json:"ipAddressAliases"`
// 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) MarshalBinary ¶
func (m *Workloadv1NetworkInterfaceStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Workloadv1NetworkInterfaceStatus) UnmarshalBinary ¶
func (m *Workloadv1NetworkInterfaceStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- api_status_detail.go
- container_status_running.go
- container_status_terminated.go
- container_status_waiting.go
- network_policy_spec_policy_type.go
- pagination_page_info.go
- pagination_page_request.go
- stackpath_rpc_bad_request.go
- stackpath_rpc_bad_request_all_of1.go
- stackpath_rpc_bad_request_field_violation.go
- stackpath_rpc_help.go
- stackpath_rpc_help_all_of1.go
- stackpath_rpc_help_link.go
- stackpath_rpc_localized_message.go
- stackpath_rpc_localized_message_all_of1.go
- stackpath_rpc_precondition_failure.go
- stackpath_rpc_precondition_failure_all_of1.go
- stackpath_rpc_precondition_failure_violation.go
- stackpath_rpc_quota_failure.go
- stackpath_rpc_quota_failure_all_of1.go
- stackpath_rpc_quota_failure_violation.go
- stackpath_rpc_request_info.go
- stackpath_rpc_request_info_all_of1.go
- stackpath_rpc_resource_info.go
- stackpath_rpc_resource_info_all_of1.go
- stackpath_rpc_retry_info.go
- stackpath_rpc_retry_info_all_of1.go
- stackpathapi_status.go
- v1_action.go
- v1_container_spec.go
- v1_container_spec_map_entry.go
- v1_container_status.go
- v1_container_status_container_phase.go
- v1_create_network_policy_request.go
- v1_create_network_policy_response.go
- v1_create_workload_request.go
- v1_create_workload_response.go
- v1_deployment_spec.go
- v1_docker_registry_credentials.go
- v1_egress.go
- v1_environment_variable.go
- v1_environment_variable_map_entry.go
- v1_get_locations_response.go
- v1_get_network_policies_response.go
- v1_get_network_policy_response.go
- v1_get_workload_instances_response.go
- v1_get_workload_response.go
- v1_get_workloads_response.go
- v1_host_rule.go
- v1_http_get_action.go
- v1_image_pull_credential.go
- v1_ingress.go
- v1_instance_port.go
- v1_instance_port_map_entry.go
- v1_instance_volume_mount.go
- v1_ip_block.go
- v1_match_expression.go
- v1_metadata.go
- v1_metric_spec.go
- v1_network_interface.go
- v1_network_policy.go
- v1_network_policy_spec.go
- v1_probe.go
- v1_protocol_ah.go
- v1_protocol_esp.go
- v1_protocol_gre.go
- v1_protocol_icmp.go
- v1_protocol_tcp.go
- v1_protocol_tcp_udp.go
- v1_protocol_udp.go
- v1_protocols.go
- v1_resource_requirements.go
- v1_scale_settings.go
- v1_string_map_entry.go
- v1_target.go
- v1_target_map_entry.go
- v1_target_spec.go
- v1_tcp_socket_action.go
- v1_update_network_policy_request.go
- v1_update_network_policy_response.go
- v1_update_workload_request.go
- v1_update_workload_response.go
- v1_virtual_machine_spec.go
- v1_virtual_machine_spec_map_entry.go
- v1_virtual_machine_status.go
- v1_volume_claim.go
- v1_volume_claim_spec.go
- v1_workload.go
- v1_workload_spec.go
- v1_workload_status.go
- virtual_machine_status_phase.go
- volume_claim_volume_claim_phase.go
- workloadv1_instance.go
- workloadv1_instance_instance_phase.go
- workloadv1_location.go
- workloadv1_network_interface_status.go