Documentation ¶
Index ¶
- Constants
- type Clientset
- type CrdNotRegisteredErr
- type DestinationRuleClientLoader
- type HTTPRouteGroupClientLoader
- type IstioClients
- type LinkerdClients
- type MeshPolicyClientLoader
- type RbacConfigClientLoader
- type SMIClients
- type ServiceProfileClientLoader
- type ServiceRoleBindingClientLoader
- type ServiceRoleClientLoader
- type SuperglooClients
- type TrafficSplitClientLoader
- type TrafficTargetClientLoader
- type VirtualServiceClientLoader
Constants ¶
View Source
const ( TrafficTargetCrdName = "traffictargets.access.smi-spec.io" HttpRouteGroupCrdName = "httproutegroups.specs.smi-spec.io" TrafficSplitCrdName = "trafficsplits.split.smi-spec.io" )
View Source
const ServiceProfileCrdName = "serviceprofiles.linkerd.io"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct { RestConfig *rest.Config Kube kubernetes.Interface Prometheus promv1.PrometheusConfigClient // config for supergloo Supergloo *SuperglooClients // discovery resources from kubernetes Discovery *discoveryClients }
type CrdNotRegisteredErr ¶ added in v0.3.24
func NewCrdNotRegisteredErr ¶ added in v0.3.24
func NewCrdNotRegisteredErr(crdName string, originalError error) *CrdNotRegisteredErr
func (*CrdNotRegisteredErr) Error ¶ added in v0.3.24
func (e *CrdNotRegisteredErr) Error() string
type DestinationRuleClientLoader ¶ added in v0.3.24
type DestinationRuleClientLoader func() (v1alpha3.DestinationRuleClient, error)
type HTTPRouteGroupClientLoader ¶ added in v0.3.24
type HTTPRouteGroupClientLoader func() (specsv1alpha1.HTTPRouteGroupClient, error)
type IstioClients ¶
type IstioClients struct { RbacConfig RbacConfigClientLoader ServiceRole ServiceRoleClientLoader ServiceRoleBinding ServiceRoleBindingClientLoader MeshPolicy MeshPolicyClientLoader DestinationRule DestinationRuleClientLoader VirtualService VirtualServiceClientLoader }
func IstioFromContext ¶
func IstioFromContext(ctx context.Context) (*IstioClients, error)
type LinkerdClients ¶ added in v0.3.12
type LinkerdClients struct {
ServiceProfile ServiceProfileClientLoader
}
func LinkerdFromContext ¶ added in v0.3.12
func LinkerdFromContext(ctx context.Context) (*LinkerdClients, error)
type MeshPolicyClientLoader ¶ added in v0.3.24
type MeshPolicyClientLoader func() (policyv1alpha1.MeshPolicyClient, error)
type RbacConfigClientLoader ¶ added in v0.3.24
type RbacConfigClientLoader func() (rbacv1alpha1.RbacConfigClient, error)
type SMIClients ¶ added in v0.3.22
type SMIClients struct { TrafficTarget TrafficTargetClientLoader HTTPRouteGroup HTTPRouteGroupClientLoader TrafficSplit TrafficSplitClientLoader }
func SMIFromContext ¶ added in v0.3.22
func SMIFromContext(ctx context.Context) (*SMIClients, error)
type ServiceProfileClientLoader ¶ added in v0.3.24
type ServiceProfileClientLoader func() (linkerdv1.ServiceProfileClient, error)
type ServiceRoleBindingClientLoader ¶ added in v0.3.24
type ServiceRoleBindingClientLoader func() (rbacv1alpha1.ServiceRoleBindingClient, error)
type ServiceRoleClientLoader ¶ added in v0.3.24
type ServiceRoleClientLoader func() (rbacv1alpha1.ServiceRoleClient, error)
type SuperglooClients ¶ added in v0.3.12
type SuperglooClients struct { Install v1.InstallClient Mesh v1.MeshClient MeshGroup v1.MeshGroupClient MeshIngress v1.MeshIngressClient Upstream gloov1.UpstreamClient RoutingRule v1.RoutingRuleClient SecurityRule v1.SecurityRuleClient TlsSecret v1.TlsSecretClient Secret gloov1.SecretClient Settings gloov1.SettingsClient }
type TrafficSplitClientLoader ¶ added in v0.3.24
type TrafficSplitClientLoader func() (splitv1alpha1.TrafficSplitClient, error)
type TrafficTargetClientLoader ¶ added in v0.3.24
type TrafficTargetClientLoader func() (accessv1alpha1.TrafficTargetClient, error)
type VirtualServiceClientLoader ¶ added in v0.3.24
type VirtualServiceClientLoader func() (v1alpha3.VirtualServiceClient, error)
Click to show internal directories.
Click to hide internal directories.