Documentation ¶
Index ¶
Constants ¶
View Source
const ( AllSubsetPublic = "AllSubsetPublic" ResourceAll = "*" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalSpec ¶
func ConvertProtoSpecToInternal ¶
func ConvertProtoSpecToInternal(protoSpec *proto.ProxySpec) *InternalSpec
func (*InternalSpec) GetMatchedSubsetEndpoint ¶
func (is *InternalSpec) GetMatchedSubsetEndpoint(ns string, gr schema.GroupResource) (ignore bool, self bool, hosts []string)
func (*InternalSpec) GetObjectSelector ¶
func (is *InternalSpec) GetObjectSelector(gr schema.GroupResource) (sel *metav1.LabelSelector)
type ResourceRequest ¶
type ResourceRequest struct { GR schema.GroupResource `json:"GR,omitempty"` ObjectSelector *metav1.LabelSelector `json:"objectSelector,omitempty"` }
Click to show internal directories.
Click to hide internal directories.