Documentation ¶
Index ¶
- Constants
- Variables
- func IsMaxPageSizeExceeded(err error) bool
- func NewMaxPageSizeExceeded(pageSize, limit int) error
- type AttachmentEntry
- type DataplaneInspectEntry
- type DataplaneInspectEntryList
- type DataplaneInspectResponse
- type DataplaneInspectResponseKind
- type Destination
- type GatewayDataplaneInspectResult
- type GatewayDataplanesInspectEntry
- type GatewayDataplanesInspectEntryList
- type GatewayListenerInspectEntry
- type GuiConfig
- type HostInspectEntry
- type IndexResponse
- type KindTag
- type MatchedPolicies
- type PoliciesResponse
- type PolicyEntry
- type PolicyInspectEntry
- type PolicyInspectEntryKind
- type PolicyInspectEntryList
- type PolicyInspectGatewayEntry
- type PolicyInspectGatewayHostEntry
- type PolicyInspectGatewayListenerEntry
- type PolicyInspectGatewayRouteEntry
- type PolicyInspectSidecarEntry
- type PolicyMap
- type ResourceKeyEntry
- type RouteInspectEntry
Constants ¶
View Source
const GatewayDataplane = "MeshGatewayDataplane"
View Source
const SidecarDataplane = "SidecarDataplane"
Variables ¶
View Source
var InvalidPageSize = errors.New("Invalid page size")
Functions ¶
func IsMaxPageSizeExceeded ¶
func NewMaxPageSizeExceeded ¶
Types ¶
type AttachmentEntry ¶ added in v1.8.1
type DataplaneInspectEntry ¶ added in v1.8.1
type DataplaneInspectEntry struct { AttachmentEntry MatchedPolicies MatchedPolicies `json:"matchedPolicies"` }
type DataplaneInspectEntryList ¶ added in v1.8.1
type DataplaneInspectEntryList struct { Total uint32 `json:"total"` Items []*DataplaneInspectEntry `json:"items"` }
func NewDataplaneInspectEntryList ¶ added in v1.8.1
func NewDataplaneInspectEntryList() *DataplaneInspectEntryList
type DataplaneInspectResponse ¶ added in v1.8.1
type DataplaneInspectResponse struct {
DataplaneInspectResponseKind
}
func NewDataplaneInspectResponse ¶ added in v1.8.1
func NewDataplaneInspectResponse(k DataplaneInspectResponseKind) DataplaneInspectResponse
func (DataplaneInspectResponse) MarshalJSON ¶ added in v1.8.1
func (e DataplaneInspectResponse) MarshalJSON() ([]byte, error)
func (*DataplaneInspectResponse) UnmarshalJSON ¶ added in v1.8.1
func (w *DataplaneInspectResponse) UnmarshalJSON(data []byte) error
type DataplaneInspectResponseKind ¶ added in v1.8.1
type DataplaneInspectResponseKind interface {
// contains filtered or unexported methods
}
type Destination ¶ added in v1.8.1
type GatewayDataplaneInspectResult ¶ added in v1.8.1
type GatewayDataplaneInspectResult struct { Gateway ResourceKeyEntry `json:"gateway"` Listeners []GatewayListenerInspectEntry `json:"listeners"` Policies PolicyMap `json:"policies,omitempty"` }
func NewGatewayDataplaneInspectResult ¶ added in v1.8.1
func NewGatewayDataplaneInspectResult() GatewayDataplaneInspectResult
type GatewayDataplanesInspectEntry ¶ added in v1.8.1
type GatewayDataplanesInspectEntry struct {
DataplaneKey ResourceKeyEntry `json:"dataplane"`
}
type GatewayDataplanesInspectEntryList ¶ added in v1.8.1
type GatewayDataplanesInspectEntryList struct { Total uint32 `json:"total"` Items []GatewayDataplanesInspectEntry `json:"items"` }
func NewGatewayDataplanesInspectResult ¶ added in v1.8.1
func NewGatewayDataplanesInspectResult() *GatewayDataplanesInspectEntryList
type GatewayListenerInspectEntry ¶ added in v1.8.1
type GatewayListenerInspectEntry struct { Port uint32 `json:"port"` Protocol string `json:"protocol"` Hosts []HostInspectEntry `json:"hosts"` }
type HostInspectEntry ¶ added in v1.8.1
type HostInspectEntry struct { HostName string `json:"hostName"` Routes []RouteInspectEntry `json:"routes"` }
type IndexResponse ¶
type MatchedPolicies ¶ added in v1.8.1
type MatchedPolicies map[core_model.ResourceType][]*rest.Resource
type PoliciesResponse ¶ added in v1.8.1
type PoliciesResponse struct {
Policies []PolicyEntry `json:"policies"`
}
type PolicyEntry ¶ added in v1.8.1
type PolicyInspectEntry ¶ added in v1.8.1
type PolicyInspectEntry struct {
PolicyInspectEntryKind
}
func NewPolicyInspectEntry ¶ added in v1.8.1
func NewPolicyInspectEntry(k PolicyInspectEntryKind) PolicyInspectEntry
func (PolicyInspectEntry) MarshalJSON ¶ added in v1.8.1
func (e PolicyInspectEntry) MarshalJSON() ([]byte, error)
func (*PolicyInspectEntry) UnmarshalJSON ¶ added in v1.8.1
func (w *PolicyInspectEntry) UnmarshalJSON(data []byte) error
type PolicyInspectEntryKind ¶ added in v1.8.1
type PolicyInspectEntryKind interface {
// contains filtered or unexported methods
}
type PolicyInspectEntryList ¶ added in v1.8.1
type PolicyInspectEntryList struct { Total uint32 `json:"total"` Items []PolicyInspectEntry `json:"items"` }
func NewPolicyInspectEntryList ¶ added in v1.8.1
func NewPolicyInspectEntryList() *PolicyInspectEntryList
type PolicyInspectGatewayEntry ¶ added in v1.8.1
type PolicyInspectGatewayEntry struct { DataplaneKey ResourceKeyEntry `json:"dataplane"` Gateway ResourceKeyEntry `json:"gateway,omitempty"` Listeners []PolicyInspectGatewayListenerEntry `json:"listeners,omitempty"` }
func NewPolicyInspectGatewayEntry ¶ added in v1.8.1
func NewPolicyInspectGatewayEntry(key ResourceKeyEntry, gateway ResourceKeyEntry) PolicyInspectGatewayEntry
type PolicyInspectGatewayHostEntry ¶ added in v1.8.1
type PolicyInspectGatewayHostEntry struct { HostName string `json:"hostName"` Routes []PolicyInspectGatewayRouteEntry `json:"routes"` }
type PolicyInspectGatewayListenerEntry ¶ added in v1.8.1
type PolicyInspectGatewayListenerEntry struct { Port uint32 `json:"port"` Protocol string `json:"protocol"` Hosts []PolicyInspectGatewayHostEntry `json:"hosts"` }
type PolicyInspectGatewayRouteEntry ¶ added in v1.8.1
type PolicyInspectSidecarEntry ¶ added in v1.8.1
type PolicyInspectSidecarEntry struct { DataplaneKey ResourceKeyEntry `json:"dataplane"` Attachments []AttachmentEntry `json:"attachments"` }
func NewPolicyInspectSidecarEntry ¶ added in v1.8.1
func NewPolicyInspectSidecarEntry(key ResourceKeyEntry) PolicyInspectSidecarEntry
type PolicyMap ¶ added in v1.8.1
type PolicyMap map[core_model.ResourceType]*rest.Resource
type ResourceKeyEntry ¶ added in v1.8.1
func ResourceKeyEntryFromModelKey ¶ added in v1.8.1
func ResourceKeyEntryFromModelKey(key core_model.ResourceKey) ResourceKeyEntry
type RouteInspectEntry ¶ added in v1.8.1
type RouteInspectEntry struct { Route string `json:"route"` Destinations []Destination `json:"destinations"` }
Click to show internal directories.
Click to hide internal directories.