Documentation ¶
Index ¶
- type APIStatus
- func (m *APIStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *APIStatus) Details() []APIStatusDetail
- func (m *APIStatus) MarshalBinary() ([]byte, error)
- func (m APIStatus) MarshalJSON() ([]byte, error)
- func (m *APIStatus) SetDetails(val []APIStatusDetail)
- func (m *APIStatus) UnmarshalBinary(b []byte) error
- func (m *APIStatus) UnmarshalJSON(raw []byte) error
- func (m *APIStatus) Validate(formats strfmt.Registry) error
- type APIStatusDetail
- type NetworkCreateNetworkRequest
- func (m *NetworkCreateNetworkRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCreateNetworkRequest) MarshalBinary() ([]byte, error)
- func (m *NetworkCreateNetworkRequest) UnmarshalBinary(b []byte) error
- func (m *NetworkCreateNetworkRequest) Validate(formats strfmt.Registry) error
- type NetworkCreateNetworkResponse
- func (m *NetworkCreateNetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCreateNetworkResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkCreateNetworkResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkCreateNetworkResponse) Validate(formats strfmt.Registry) error
- type NetworkCreateNetworkSubnetRequest
- func (m *NetworkCreateNetworkSubnetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCreateNetworkSubnetRequest) MarshalBinary() ([]byte, error)
- func (m *NetworkCreateNetworkSubnetRequest) UnmarshalBinary(b []byte) error
- func (m *NetworkCreateNetworkSubnetRequest) Validate(formats strfmt.Registry) error
- type NetworkCreateNetworkSubnetResponse
- func (m *NetworkCreateNetworkSubnetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCreateNetworkSubnetResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkCreateNetworkSubnetResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkCreateNetworkSubnetResponse) Validate(formats strfmt.Registry) error
- type NetworkCreateRouteRequest
- func (m *NetworkCreateRouteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCreateRouteRequest) MarshalBinary() ([]byte, error)
- func (m *NetworkCreateRouteRequest) UnmarshalBinary(b []byte) error
- func (m *NetworkCreateRouteRequest) Validate(formats strfmt.Registry) error
- type NetworkCreateRouteResponse
- func (m *NetworkCreateRouteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkCreateRouteResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkCreateRouteResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkCreateRouteResponse) Validate(formats strfmt.Registry) error
- type NetworkGetNetworkResponse
- func (m *NetworkGetNetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkGetNetworkResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkGetNetworkResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkGetNetworkResponse) Validate(formats strfmt.Registry) error
- type NetworkGetNetworkSubnetResponse
- func (m *NetworkGetNetworkSubnetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkGetNetworkSubnetResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkGetNetworkSubnetResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkGetNetworkSubnetResponse) Validate(formats strfmt.Registry) error
- type NetworkGetNetworkSubnetsResponse
- func (m *NetworkGetNetworkSubnetsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkGetNetworkSubnetsResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkGetNetworkSubnetsResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkGetNetworkSubnetsResponse) Validate(formats strfmt.Registry) error
- type NetworkGetNetworksResponse
- func (m *NetworkGetNetworksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkGetNetworksResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkGetNetworksResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkGetNetworksResponse) Validate(formats strfmt.Registry) error
- type NetworkGetRouteResponse
- func (m *NetworkGetRouteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkGetRouteResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkGetRouteResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkGetRouteResponse) Validate(formats strfmt.Registry) error
- type NetworkGetRoutesResponse
- func (m *NetworkGetRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkGetRoutesResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkGetRoutesResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkGetRoutesResponse) Validate(formats strfmt.Registry) error
- type NetworkMatchExpression
- func (m *NetworkMatchExpression) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkMatchExpression) MarshalBinary() ([]byte, error)
- func (m *NetworkMatchExpression) UnmarshalBinary(b []byte) error
- func (m *NetworkMatchExpression) Validate(formats strfmt.Registry) error
- type NetworkMetadata
- type NetworkNetwork
- type NetworkNetworkSubnet
- type NetworkPolicySpecPolicyType
- type NetworkRoute
- type NetworkRouteStatus
- type NetworkStringMapEntry
- type NetworkUpdateNetworkRequest
- func (m *NetworkUpdateNetworkRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkUpdateNetworkRequest) MarshalBinary() ([]byte, error)
- func (m *NetworkUpdateNetworkRequest) UnmarshalBinary(b []byte) error
- func (m *NetworkUpdateNetworkRequest) Validate(formats strfmt.Registry) error
- type NetworkUpdateNetworkResponse
- func (m *NetworkUpdateNetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkUpdateNetworkResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkUpdateNetworkResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkUpdateNetworkResponse) Validate(formats strfmt.Registry) error
- type NetworkUpdateNetworkSubnetRequest
- func (m *NetworkUpdateNetworkSubnetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkUpdateNetworkSubnetRequest) MarshalBinary() ([]byte, error)
- func (m *NetworkUpdateNetworkSubnetRequest) UnmarshalBinary(b []byte) error
- func (m *NetworkUpdateNetworkSubnetRequest) Validate(formats strfmt.Registry) error
- type NetworkUpdateNetworkSubnetResponse
- func (m *NetworkUpdateNetworkSubnetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkUpdateNetworkSubnetResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkUpdateNetworkSubnetResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkUpdateNetworkSubnetResponse) Validate(formats strfmt.Registry) error
- type NetworkUpdateRouteRequest
- func (m *NetworkUpdateRouteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkUpdateRouteRequest) MarshalBinary() ([]byte, error)
- func (m *NetworkUpdateRouteRequest) UnmarshalBinary(b []byte) error
- func (m *NetworkUpdateRouteRequest) Validate(formats strfmt.Registry) error
- type NetworkUpdateRouteResponse
- func (m *NetworkUpdateRouteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NetworkUpdateRouteResponse) MarshalBinary() ([]byte, error)
- func (m *NetworkUpdateRouteResponse) UnmarshalBinary(b []byte) error
- func (m *NetworkUpdateRouteResponse) Validate(formats strfmt.Registry) error
- type PaginationPageInfo
- type PaginationPageRequest
- type RouteGatewaySelector
- type RouteStatusState
- 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 V1Action
- type V1CreateNetworkPolicyRequest
- func (m *V1CreateNetworkPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreateNetworkPolicyRequest) MarshalBinary() ([]byte, error)
- func (m *V1CreateNetworkPolicyRequest) UnmarshalBinary(b []byte) error
- func (m *V1CreateNetworkPolicyRequest) Validate(formats strfmt.Registry) error
- type V1CreateNetworkPolicyResponse
- func (m *V1CreateNetworkPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1CreateNetworkPolicyResponse) MarshalBinary() ([]byte, error)
- func (m *V1CreateNetworkPolicyResponse) UnmarshalBinary(b []byte) error
- func (m *V1CreateNetworkPolicyResponse) Validate(formats strfmt.Registry) error
- type V1Egress
- type V1GetNetworkPoliciesResponse
- func (m *V1GetNetworkPoliciesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetNetworkPoliciesResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetNetworkPoliciesResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetNetworkPoliciesResponse) Validate(formats strfmt.Registry) error
- type V1GetNetworkPolicyResponse
- func (m *V1GetNetworkPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1GetNetworkPolicyResponse) MarshalBinary() ([]byte, error)
- func (m *V1GetNetworkPolicyResponse) UnmarshalBinary(b []byte) error
- func (m *V1GetNetworkPolicyResponse) Validate(formats strfmt.Registry) error
- type V1HostRule
- type V1IPBlock
- type V1IPFamily
- type V1Ingress
- type V1MatchExpression
- type V1NetworkPolicy
- type V1NetworkPolicySpec
- type V1ProtocolAh
- type V1ProtocolEsp
- type V1ProtocolGre
- type V1ProtocolIcmp
- type V1ProtocolTCP
- type V1ProtocolTCPUDP
- type V1ProtocolUDP
- type V1Protocols
- type V1UpdateNetworkPolicyRequest
- func (m *V1UpdateNetworkPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1UpdateNetworkPolicyRequest) MarshalBinary() ([]byte, error)
- func (m *V1UpdateNetworkPolicyRequest) UnmarshalBinary(b []byte) error
- func (m *V1UpdateNetworkPolicyRequest) Validate(formats strfmt.Registry) error
- type V1UpdateNetworkPolicyResponse
- func (m *V1UpdateNetworkPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *V1UpdateNetworkPolicyResponse) MarshalBinary() ([]byte, error)
- func (m *V1UpdateNetworkPolicyResponse) UnmarshalBinary(b []byte) error
- func (m *V1UpdateNetworkPolicyResponse) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIStatus ¶
type APIStatus struct { // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // contains filtered or unexported fields }
APIStatus api status
swagger:model apiStatus
func (*APIStatus) ContextValidate ¶
ContextValidate validate this api status based on the context it is used
func (*APIStatus) Details ¶
func (m *APIStatus) Details() []APIStatusDetail
Details gets the details of this base type
func (*APIStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (APIStatus) MarshalJSON ¶
MarshalJSON marshals this object with a polymorphic type to a JSON structure
func (*APIStatus) SetDetails ¶
func (m *APIStatus) SetDetails(val []APIStatusDetail)
SetDetails sets the details of this base type
func (*APIStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*APIStatus) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure
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 NetworkCreateNetworkRequest ¶
type NetworkCreateNetworkRequest struct { // IPFamilies of IPs which will be assigned to network interface IPFamilies []*V1IPFamily `json:"ipFamilies"` // ipv6 subnet IPV6Subnet string `json:"ipv6Subnet,omitempty"` // metadata Metadata *NetworkMetadata `json:"metadata,omitempty"` // The network's human-readable name Name string `json:"name,omitempty"` // The network's primary subnet, in CIDR notation format RootSubnet string `json:"rootSubnet,omitempty"` // The network's machine-readable name Slug string `json:"slug,omitempty"` }
NetworkCreateNetworkRequest network create network request
swagger:model networkCreateNetworkRequest
func (*NetworkCreateNetworkRequest) ContextValidate ¶
func (m *NetworkCreateNetworkRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network create network request based on the context it is used
func (*NetworkCreateNetworkRequest) MarshalBinary ¶
func (m *NetworkCreateNetworkRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateNetworkRequest) UnmarshalBinary ¶
func (m *NetworkCreateNetworkRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateNetworkResponse ¶
type NetworkCreateNetworkResponse struct { // network Network *NetworkNetwork `json:"network,omitempty"` }
NetworkCreateNetworkResponse A response from a request to create a network
swagger:model networkCreateNetworkResponse
func (*NetworkCreateNetworkResponse) ContextValidate ¶
func (m *NetworkCreateNetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network create network response based on the context it is used
func (*NetworkCreateNetworkResponse) MarshalBinary ¶
func (m *NetworkCreateNetworkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateNetworkResponse) UnmarshalBinary ¶
func (m *NetworkCreateNetworkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateNetworkSubnetRequest ¶
type NetworkCreateNetworkSubnetRequest struct { // subnet Subnet *NetworkNetworkSubnet `json:"subnet,omitempty"` }
NetworkCreateNetworkSubnetRequest network create network subnet request
swagger:model networkCreateNetworkSubnetRequest
func (*NetworkCreateNetworkSubnetRequest) ContextValidate ¶
func (m *NetworkCreateNetworkSubnetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network create network subnet request based on the context it is used
func (*NetworkCreateNetworkSubnetRequest) MarshalBinary ¶
func (m *NetworkCreateNetworkSubnetRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateNetworkSubnetRequest) UnmarshalBinary ¶
func (m *NetworkCreateNetworkSubnetRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateNetworkSubnetResponse ¶
type NetworkCreateNetworkSubnetResponse struct { // subnet Subnet *NetworkNetworkSubnet `json:"subnet,omitempty"` }
NetworkCreateNetworkSubnetResponse network create network subnet response
swagger:model networkCreateNetworkSubnetResponse
func (*NetworkCreateNetworkSubnetResponse) ContextValidate ¶
func (m *NetworkCreateNetworkSubnetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network create network subnet response based on the context it is used
func (*NetworkCreateNetworkSubnetResponse) MarshalBinary ¶
func (m *NetworkCreateNetworkSubnetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateNetworkSubnetResponse) UnmarshalBinary ¶
func (m *NetworkCreateNetworkSubnetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateRouteRequest ¶
type NetworkCreateRouteRequest struct { // route Route *NetworkRoute `json:"route,omitempty"` }
NetworkCreateRouteRequest network create route request
swagger:model networkCreateRouteRequest
func (*NetworkCreateRouteRequest) ContextValidate ¶
func (m *NetworkCreateRouteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network create route request based on the context it is used
func (*NetworkCreateRouteRequest) MarshalBinary ¶
func (m *NetworkCreateRouteRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateRouteRequest) UnmarshalBinary ¶
func (m *NetworkCreateRouteRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkCreateRouteResponse ¶
type NetworkCreateRouteResponse struct { // route Route *NetworkRoute `json:"route,omitempty"` }
NetworkCreateRouteResponse A response from a request to create a route on a network
swagger:model networkCreateRouteResponse
func (*NetworkCreateRouteResponse) ContextValidate ¶
func (m *NetworkCreateRouteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network create route response based on the context it is used
func (*NetworkCreateRouteResponse) MarshalBinary ¶
func (m *NetworkCreateRouteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkCreateRouteResponse) UnmarshalBinary ¶
func (m *NetworkCreateRouteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkGetNetworkResponse ¶
type NetworkGetNetworkResponse struct { // network Network *NetworkNetwork `json:"network,omitempty"` }
NetworkGetNetworkResponse The requested VPC network
swagger:model networkGetNetworkResponse
func (*NetworkGetNetworkResponse) ContextValidate ¶
func (m *NetworkGetNetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network get network response based on the context it is used
func (*NetworkGetNetworkResponse) MarshalBinary ¶
func (m *NetworkGetNetworkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkGetNetworkResponse) UnmarshalBinary ¶
func (m *NetworkGetNetworkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkGetNetworkSubnetResponse ¶
type NetworkGetNetworkSubnetResponse struct { // subnet Subnet *NetworkNetworkSubnet `json:"subnet,omitempty"` }
NetworkGetNetworkSubnetResponse network get network subnet response
swagger:model networkGetNetworkSubnetResponse
func (*NetworkGetNetworkSubnetResponse) ContextValidate ¶
func (m *NetworkGetNetworkSubnetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network get network subnet response based on the context it is used
func (*NetworkGetNetworkSubnetResponse) MarshalBinary ¶
func (m *NetworkGetNetworkSubnetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkGetNetworkSubnetResponse) UnmarshalBinary ¶
func (m *NetworkGetNetworkSubnetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkGetNetworkSubnetsResponse ¶
type NetworkGetNetworkSubnetsResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // results Results []*NetworkNetworkSubnet `json:"results"` }
NetworkGetNetworkSubnetsResponse network get network subnets response
swagger:model networkGetNetworkSubnetsResponse
func (*NetworkGetNetworkSubnetsResponse) ContextValidate ¶
func (m *NetworkGetNetworkSubnetsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network get network subnets response based on the context it is used
func (*NetworkGetNetworkSubnetsResponse) MarshalBinary ¶
func (m *NetworkGetNetworkSubnetsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkGetNetworkSubnetsResponse) UnmarshalBinary ¶
func (m *NetworkGetNetworkSubnetsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkGetNetworksResponse ¶
type NetworkGetNetworksResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // results Results []*NetworkNetwork `json:"results"` }
NetworkGetNetworksResponse The requested VPC networks
swagger:model networkGetNetworksResponse
func (*NetworkGetNetworksResponse) ContextValidate ¶
func (m *NetworkGetNetworksResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network get networks response based on the context it is used
func (*NetworkGetNetworksResponse) MarshalBinary ¶
func (m *NetworkGetNetworksResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkGetNetworksResponse) UnmarshalBinary ¶
func (m *NetworkGetNetworksResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkGetRouteResponse ¶
type NetworkGetRouteResponse struct { // route Route *NetworkRoute `json:"route,omitempty"` }
NetworkGetRouteResponse A response to retrieve an individual route on a network
swagger:model networkGetRouteResponse
func (*NetworkGetRouteResponse) ContextValidate ¶
func (m *NetworkGetRouteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network get route response based on the context it is used
func (*NetworkGetRouteResponse) MarshalBinary ¶
func (m *NetworkGetRouteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkGetRouteResponse) UnmarshalBinary ¶
func (m *NetworkGetRouteResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkGetRoutesResponse ¶
type NetworkGetRoutesResponse struct { // page info PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"` // results Results []*NetworkRoute `json:"results"` }
NetworkGetRoutesResponse A response to retrieve any routes on a given network
swagger:model networkGetRoutesResponse
func (*NetworkGetRoutesResponse) ContextValidate ¶
func (m *NetworkGetRoutesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network get routes response based on the context it is used
func (*NetworkGetRoutesResponse) MarshalBinary ¶
func (m *NetworkGetRoutesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkGetRoutesResponse) UnmarshalBinary ¶
func (m *NetworkGetRoutesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkMatchExpression ¶
type NetworkMatchExpression struct { // The name of the selector to perform a match against // // Provide the key `workload.platform.stackpath.net/workload-slug` to select EdgeCompute workloads by their slug. All network interfaces in the workload are used as the route's gateway. Key string `json:"key,omitempty"` // The operation to perform to match a selector // // Valid values are "in" with support for more possible in the future Operator string `json:"operator,omitempty"` // The values to match in the selector Values []string `json:"values"` }
NetworkMatchExpression An expression to match selectors against a set of values
swagger:model networkMatchExpression
func (*NetworkMatchExpression) ContextValidate ¶
func (m *NetworkMatchExpression) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network match expression based on context it is used
func (*NetworkMatchExpression) MarshalBinary ¶
func (m *NetworkMatchExpression) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkMatchExpression) UnmarshalBinary ¶
func (m *NetworkMatchExpression) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkMetadata ¶
type NetworkMetadata struct { // annotations Annotations NetworkStringMapEntry `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 that an entity was requested for deletion // Read Only: true // Format: date-time DeleteRequestedAt *strfmt.DateTime `json:"deleteRequestedAt,omitempty"` // labels Labels NetworkStringMapEntry `json:"labels,omitempty"` // The date that a metadata entry was last updated // Read Only: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // An entity's version number // // Versions start at 1 when they are created and increment by 1 every time they are updated. Version string `json:"version,omitempty"` }
NetworkMetadata Metadata associated with an entity
swagger:model networkMetadata
func (*NetworkMetadata) ContextValidate ¶
ContextValidate validate this network metadata based on the context it is used
func (*NetworkMetadata) MarshalBinary ¶
func (m *NetworkMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkMetadata) UnmarshalBinary ¶
func (m *NetworkMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkNetwork ¶
type NetworkNetwork struct { // A network's unique identifier ID string `json:"id,omitempty"` // ip families IPFamilies []string `json:"ipFamilies"` // ipv6 subnet IPV6Subnet string `json:"ipv6Subnet,omitempty"` // metadata Metadata *NetworkMetadata `json:"metadata,omitempty"` // A network's human-readable name Name string `json:"name,omitempty"` // A subnet identifier and network mask in CIDR notation format // // A network's root subnet is its primary subnet. RootSubnet string `json:"rootSubnet,omitempty"` // A network's machine-readable name Slug string `json:"slug,omitempty"` // The ID of the stack that a network belongs to StackID string `json:"stackId,omitempty"` // A network's VLAN identifier VirtualNetworkIdentifier int32 `json:"virtualNetworkIdentifier,omitempty"` }
NetworkNetwork A network defined within a Virtual Private Cloud
swagger:model networkNetwork
func (*NetworkNetwork) ContextValidate ¶
ContextValidate validate this network network based on the context it is used
func (*NetworkNetwork) MarshalBinary ¶
func (m *NetworkNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkNetwork) UnmarshalBinary ¶
func (m *NetworkNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkNetworkSubnet ¶
type NetworkNetworkSubnet struct { // id ID string `json:"id,omitempty"` // metadata Metadata *NetworkMetadata `json:"metadata,omitempty"` // name Name string `json:"name,omitempty"` // network Id NetworkID string `json:"networkId,omitempty"` // prefix Prefix string `json:"prefix,omitempty"` // slug Slug string `json:"slug,omitempty"` // stack Id StackID string `json:"stackId,omitempty"` }
NetworkNetworkSubnet network network subnet
swagger:model networkNetworkSubnet
func (*NetworkNetworkSubnet) ContextValidate ¶
ContextValidate validate this network network subnet based on the context it is used
func (*NetworkNetworkSubnet) MarshalBinary ¶
func (m *NetworkNetworkSubnet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkNetworkSubnet) UnmarshalBinary ¶
func (m *NetworkNetworkSubnet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkPolicySpecPolicyType ¶
type NetworkPolicySpecPolicyType string
NetworkPolicySpecPolicyType network policy spec policy type
swagger:model NetworkPolicySpecPolicyType
const ( // NetworkPolicySpecPolicyTypePOLICYTYPENOTSPECIFIED captures enum value "POLICY_TYPE_NOT_SPECIFIED" NetworkPolicySpecPolicyTypePOLICYTYPENOTSPECIFIED NetworkPolicySpecPolicyType = "POLICY_TYPE_NOT_SPECIFIED" // NetworkPolicySpecPolicyTypeINGRESS captures enum value "INGRESS" NetworkPolicySpecPolicyTypeINGRESS NetworkPolicySpecPolicyType = "INGRESS" // NetworkPolicySpecPolicyTypeEGRESS captures enum value "EGRESS" NetworkPolicySpecPolicyTypeEGRESS NetworkPolicySpecPolicyType = "EGRESS" )
func NewNetworkPolicySpecPolicyType ¶
func NewNetworkPolicySpecPolicyType(value NetworkPolicySpecPolicyType) *NetworkPolicySpecPolicyType
func (NetworkPolicySpecPolicyType) ContextValidate ¶
func (m NetworkPolicySpecPolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this network policy spec policy type based on context it is used
type NetworkRoute ¶
type NetworkRoute struct { // A route's destination network prefix, in CIDR format DestinationPrefixes []string `json:"destinationPrefixes"` // Selectors that determine which EdgeCompute workload network interfaces should be be used as the route's gateway // // Selectors are applied to the route in order, with the highest priority assigned to the first gateway. GatewaySelectors []*RouteGatewaySelector `json:"gatewaySelectors"` // A route's unique identifier // Read Only: true ID string `json:"id,omitempty"` // metadata Metadata *NetworkMetadata `json:"metadata,omitempty"` // A route's human-readable name Name string `json:"name,omitempty"` // The ID or slug of the VPC network that a route belongs to // Read Only: true NetworkID string `json:"networkId,omitempty"` // A route's machine-readable name Slug string `json:"slug,omitempty"` // The ID of the stack that a route belongs to // Read Only: true StackID string `json:"stackId,omitempty"` // The status of a route in different regions // Read Only: true Statuses []*NetworkRouteStatus `json:"statuses"` }
NetworkRoute network route
swagger:model networkRoute
func (*NetworkRoute) ContextValidate ¶
ContextValidate validate this network route based on the context it is used
func (*NetworkRoute) MarshalBinary ¶
func (m *NetworkRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRoute) UnmarshalBinary ¶
func (m *NetworkRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkRouteStatus ¶
type NetworkRouteStatus struct { // A list of route gateway IPs in the region // Read Only: true GatewayIps []string `json:"gatewayIps"` // The region in which a route's status resides // // Regions take the form `<pop name>-<cluster name>`, where `pop` is a StackPath EdgeCompute POP and `cluster` is a networking cluster within that POP. // Read Only: true Region string `json:"region,omitempty"` // state // Read Only: true State *RouteStatusState `json:"state,omitempty"` }
NetworkRouteStatus network route status
swagger:model networkRouteStatus
func (*NetworkRouteStatus) ContextValidate ¶
ContextValidate validate this network route status based on the context it is used
func (*NetworkRouteStatus) MarshalBinary ¶
func (m *NetworkRouteStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRouteStatus) UnmarshalBinary ¶
func (m *NetworkRouteStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkStringMapEntry ¶
NetworkStringMapEntry A string to string key/value pair
swagger:model networkStringMapEntry
func (NetworkStringMapEntry) ContextValidate ¶
ContextValidate validates this network string map entry based on context it is used
type NetworkUpdateNetworkRequest ¶
type NetworkUpdateNetworkRequest struct { // metadata Metadata *NetworkMetadata `json:"metadata,omitempty"` // The network's new name Name string `json:"name,omitempty"` }
NetworkUpdateNetworkRequest network update network request
swagger:model networkUpdateNetworkRequest
func (*NetworkUpdateNetworkRequest) ContextValidate ¶
func (m *NetworkUpdateNetworkRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network update network request based on the context it is used
func (*NetworkUpdateNetworkRequest) MarshalBinary ¶
func (m *NetworkUpdateNetworkRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkUpdateNetworkRequest) UnmarshalBinary ¶
func (m *NetworkUpdateNetworkRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkUpdateNetworkResponse ¶
type NetworkUpdateNetworkResponse struct { // network Network *NetworkNetwork `json:"network,omitempty"` }
NetworkUpdateNetworkResponse A response from a request to update a network
swagger:model networkUpdateNetworkResponse
func (*NetworkUpdateNetworkResponse) ContextValidate ¶
func (m *NetworkUpdateNetworkResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network update network response based on the context it is used
func (*NetworkUpdateNetworkResponse) MarshalBinary ¶
func (m *NetworkUpdateNetworkResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkUpdateNetworkResponse) UnmarshalBinary ¶
func (m *NetworkUpdateNetworkResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkUpdateNetworkSubnetRequest ¶
type NetworkUpdateNetworkSubnetRequest struct { // subnet Subnet *NetworkNetworkSubnet `json:"subnet,omitempty"` }
NetworkUpdateNetworkSubnetRequest network update network subnet request
swagger:model networkUpdateNetworkSubnetRequest
func (*NetworkUpdateNetworkSubnetRequest) ContextValidate ¶
func (m *NetworkUpdateNetworkSubnetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network update network subnet request based on the context it is used
func (*NetworkUpdateNetworkSubnetRequest) MarshalBinary ¶
func (m *NetworkUpdateNetworkSubnetRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkUpdateNetworkSubnetRequest) UnmarshalBinary ¶
func (m *NetworkUpdateNetworkSubnetRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkUpdateNetworkSubnetResponse ¶
type NetworkUpdateNetworkSubnetResponse struct { // subnet Subnet *NetworkNetworkSubnet `json:"subnet,omitempty"` }
NetworkUpdateNetworkSubnetResponse network update network subnet response
swagger:model networkUpdateNetworkSubnetResponse
func (*NetworkUpdateNetworkSubnetResponse) ContextValidate ¶
func (m *NetworkUpdateNetworkSubnetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network update network subnet response based on the context it is used
func (*NetworkUpdateNetworkSubnetResponse) MarshalBinary ¶
func (m *NetworkUpdateNetworkSubnetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkUpdateNetworkSubnetResponse) UnmarshalBinary ¶
func (m *NetworkUpdateNetworkSubnetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkUpdateRouteRequest ¶
type NetworkUpdateRouteRequest struct { // route Route *NetworkRoute `json:"route,omitempty"` }
NetworkUpdateRouteRequest network update route request
swagger:model networkUpdateRouteRequest
func (*NetworkUpdateRouteRequest) ContextValidate ¶
func (m *NetworkUpdateRouteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network update route request based on the context it is used
func (*NetworkUpdateRouteRequest) MarshalBinary ¶
func (m *NetworkUpdateRouteRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkUpdateRouteRequest) UnmarshalBinary ¶
func (m *NetworkUpdateRouteRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NetworkUpdateRouteResponse ¶
type NetworkUpdateRouteResponse struct { // route Route *NetworkRoute `json:"route,omitempty"` }
NetworkUpdateRouteResponse A response from an update to a route on a network
swagger:model networkUpdateRouteResponse
func (*NetworkUpdateRouteResponse) ContextValidate ¶
func (m *NetworkUpdateRouteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this network update route response based on the context it is used
func (*NetworkUpdateRouteResponse) MarshalBinary ¶
func (m *NetworkUpdateRouteResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkUpdateRouteResponse) UnmarshalBinary ¶
func (m *NetworkUpdateRouteResponse) 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 RouteGatewaySelector ¶
type RouteGatewaySelector struct { // List of match expressions that must all match a single interface InterfaceSelectors []*NetworkMatchExpression `json:"interfaceSelectors"` }
RouteGatewaySelector route gateway selector
swagger:model RouteGatewaySelector
func (*RouteGatewaySelector) ContextValidate ¶
ContextValidate validate this route gateway selector based on the context it is used
func (*RouteGatewaySelector) MarshalBinary ¶
func (m *RouteGatewaySelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGatewaySelector) UnmarshalBinary ¶
func (m *RouteGatewaySelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteStatusState ¶
type RouteStatusState string
RouteStatusState - ROUTE_STATUS_UNSPECIFIED: Route in this region is in an undefined state
- RUNNING: Route has 1 or more assigned gateways and is correctly configured in this region
- NO_GATEWAY: Route does not have any assigned gateways but is configured in this region
- DELETING: Route is being deleted from the region
swagger:model RouteStatusState
const ( // RouteStatusStateROUTESTATUSUNSPECIFIED captures enum value "ROUTE_STATUS_UNSPECIFIED" RouteStatusStateROUTESTATUSUNSPECIFIED RouteStatusState = "ROUTE_STATUS_UNSPECIFIED" // RouteStatusStateRUNNING captures enum value "RUNNING" RouteStatusStateRUNNING RouteStatusState = "RUNNING" // RouteStatusStateNOGATEWAY captures enum value "NO_GATEWAY" RouteStatusStateNOGATEWAY RouteStatusState = "NO_GATEWAY" // RouteStatusStateDELETING captures enum value "DELETING" RouteStatusStateDELETING RouteStatusState = "DELETING" )
func NewRouteStatusState ¶
func NewRouteStatusState(value RouteStatusState) *RouteStatusState
func (RouteStatusState) ContextValidate ¶
ContextValidate validates this route status state based on context it is used
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 V1Action ¶
type V1Action string
V1Action Which action to apply
swagger:model v1Action
func NewV1Action ¶
func (V1Action) ContextValidate ¶
ContextValidate validates this v1 action based on context it is used
type V1CreateNetworkPolicyRequest ¶
type V1CreateNetworkPolicyRequest struct { // network policy NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"` }
V1CreateNetworkPolicyRequest v1 create network policy request
swagger:model v1CreateNetworkPolicyRequest
func (*V1CreateNetworkPolicyRequest) ContextValidate ¶
func (m *V1CreateNetworkPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 create network policy request based on the context it is used
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) ContextValidate ¶
func (m *V1CreateNetworkPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 create network policy response based on the context it is used
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 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) ContextValidate ¶
ContextValidate validate this v1 egress based on the context it is used
func (*V1Egress) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Egress) UnmarshalBinary ¶
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) ContextValidate ¶
func (m *V1GetNetworkPoliciesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get network policies response based on the context it is used
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) ContextValidate ¶
func (m *V1GetNetworkPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 get network policy response based on the context it is used
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 V1HostRule ¶
type V1HostRule struct { // List of instance selectors InstanceSelectors []*NetworkMatchExpression `json:"instanceSelectors"` // List of ip blocks IPBlock []*V1IPBlock `json:"ipBlock"` // List of network selectors NetworkSelectors []*NetworkMatchExpression `json:"networkSelectors"` }
V1HostRule Defines IPs, instances, or networks
swagger:model v1HostRule
func (*V1HostRule) ContextValidate ¶
ContextValidate validate this v1 host rule based on the context it is used
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) ContextValidate ¶
ContextValidate validates this v1 Ip block based on context it is used
func (*V1IPBlock) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1IPBlock) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type V1IPFamily ¶
type V1IPFamily string
V1IPFamily v1 IP family
swagger:model v1IPFamily
const ( // V1IPFamilyUNSPECIFIED captures enum value "UNSPECIFIED" V1IPFamilyUNSPECIFIED V1IPFamily = "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
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) ContextValidate ¶
ContextValidate validate this v1 ingress based on the context it is used
func (*V1Ingress) MarshalBinary ¶
MarshalBinary interface implementation
func (*V1Ingress) UnmarshalBinary ¶
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" with support for more possible in the future 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 V1NetworkPolicy ¶
type V1NetworkPolicy struct { // Detailed summary of what the policy does Description string `json:"description,omitempty"` // A network policy's unique identifier // Read Only: true ID string `json:"id,omitempty"` // metadata Metadata *NetworkMetadata `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 // Read Only: true 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) ContextValidate ¶
ContextValidate validate this v1 network policy based on the context it is used
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 []*NetworkMatchExpression `json:"instanceSelectors"` // A selector to match networks NetworkSelectors []*NetworkMatchExpression `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 policy's priority among other network policies. 1 - 65000 // // Network policies apply to all compute workloads on the stack. Lower values have a higher priority, and priorities must be unique across the stack. Use the special value 65534 to apply the same priority to different workload instances in the same stack, identified by their selectors. Priority int32 `json:"priority,omitempty"` }
V1NetworkPolicySpec The specification for the desired state of a network policy
swagger:model v1NetworkPolicySpec
func (*V1NetworkPolicySpec) ContextValidate ¶
ContextValidate validate this v1 network policy spec based on the context it is used
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 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) ContextValidate ¶
ContextValidate validates this v1 protocol Tcp based on context it is used
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) ContextValidate ¶
ContextValidate validates this v1 protocol Tcp Udp based on context it is used
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) ContextValidate ¶
ContextValidate validates this v1 protocol Udp based on context it is used
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) ContextValidate ¶
ContextValidate validate this v1 protocols based on the context it is used
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 V1UpdateNetworkPolicyRequest ¶
type V1UpdateNetworkPolicyRequest struct { // network policy NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"` }
V1UpdateNetworkPolicyRequest v1 update network policy request
swagger:model v1UpdateNetworkPolicyRequest
func (*V1UpdateNetworkPolicyRequest) ContextValidate ¶
func (m *V1UpdateNetworkPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 update network policy request based on the context it is used
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) ContextValidate ¶
func (m *V1UpdateNetworkPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this v1 update network policy response based on the context it is used
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
Source Files ¶
- api_status.go
- api_status_detail.go
- network_create_network_request.go
- network_create_network_response.go
- network_create_network_subnet_request.go
- network_create_network_subnet_response.go
- network_create_route_request.go
- network_create_route_response.go
- network_get_network_response.go
- network_get_network_subnet_response.go
- network_get_network_subnets_response.go
- network_get_networks_response.go
- network_get_route_response.go
- network_get_routes_response.go
- network_match_expression.go
- network_metadata.go
- network_network.go
- network_network_subnet.go
- network_policy_spec_policy_type.go
- network_route.go
- network_route_status.go
- network_string_map_entry.go
- network_update_network_request.go
- network_update_network_response.go
- network_update_network_subnet_request.go
- network_update_network_subnet_response.go
- network_update_route_request.go
- network_update_route_response.go
- pagination_page_info.go
- pagination_page_request.go
- route_gateway_selector.go
- route_status_state.go
- stackpath_rpc_bad_request.go
- stackpath_rpc_bad_request_field_violation.go
- stackpath_rpc_help.go
- stackpath_rpc_help_link.go
- stackpath_rpc_localized_message.go
- stackpath_rpc_precondition_failure.go
- stackpath_rpc_precondition_failure_violation.go
- stackpath_rpc_quota_failure.go
- stackpath_rpc_quota_failure_violation.go
- stackpath_rpc_request_info.go
- stackpath_rpc_resource_info.go
- stackpath_rpc_retry_info.go
- v1_action.go
- v1_create_network_policy_request.go
- v1_create_network_policy_response.go
- v1_egress.go
- v1_get_network_policies_response.go
- v1_get_network_policy_response.go
- v1_host_rule.go
- v1_ingress.go
- v1_ip_block.go
- v1_ip_family.go
- v1_match_expression.go
- v1_network_policy.go
- v1_network_policy_spec.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_update_network_policy_request.go
- v1_update_network_policy_response.go