Documentation ¶
Index ¶
- type CreateAwsSecret
- type CreateRoutingRule
- type CreateSecurityRule
- type CreateTlsSecret
- type EditUpstream
- type FaultInjection
- type FaultInjectionAbort
- type FaultInjectionDelay
- type GetMeshIngress
- type Init
- type Install
- type InstallationNamespace
- type IstioInstall
- type MapStringStringValue
- type MaxRetries
- type MeshIngressInstall
- type Options
- type RegisterAppMesh
- type RequestMatcher
- type RequestMatchersValue
- type ResourceRefValue
- type ResourceRefsValue
- type Retries
- type RoutingRuleSpec
- type Selector
- type SetRootCert
- type SetStats
- type TrafficShiftingValue
- type Uninstall
- type Upgrade
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAwsSecret ¶
type CreateRoutingRule ¶
type CreateRoutingRule struct { SourceSelector Selector DestinationSelector Selector TargetMesh ResourceRefValue RequestMatchers RequestMatchersValue RoutingRuleSpec RoutingRuleSpec }
type CreateSecurityRule ¶
type CreateSecurityRule struct { SourceSelector Selector DestinationSelector Selector TargetMesh ResourceRefValue AllowedMethods []string AllowedPaths []string }
type CreateTlsSecret ¶
type EditUpstream ¶
type EditUpstream struct {
MtlsMesh ResourceRefValue
}
type FaultInjection ¶
type FaultInjection struct { Percent float64 Abort FaultInjectionAbort Delay FaultInjectionDelay }
type FaultInjectionAbort ¶
type FaultInjectionAbort struct {
Http v1.FaultInjection_Abort_HttpStatus
}
type FaultInjectionDelay ¶
type GetMeshIngress ¶
type GetMeshIngress struct { Proxy glooOptions.Proxy Target ResourceRefValue }
type Install ¶
type Install struct { Update bool // if install exists and is enabled, update with new opts InstallationNamespace InstallationNamespace IstioInstall IstioInstall LinkerdInstall v1.LinkerdInstall GlooIngressInstall v1.GlooInstall MeshIngress MeshIngressInstall InstallTimeout time.Duration // time to wait for successful install }
type InstallationNamespace ¶
type IstioInstall ¶ added in v0.3.22
type IstioInstall struct { v1.IstioInstall InstallSmiAdapter bool }
type MapStringStringValue ¶
func (*MapStringStringValue) Set ¶
func (v *MapStringStringValue) Set(s string) error
func (*MapStringStringValue) String ¶
func (v *MapStringStringValue) String() string
func (*MapStringStringValue) Type ¶
func (v *MapStringStringValue) Type() string
type MaxRetries ¶ added in v0.3.11
type MeshIngressInstall ¶
type MeshIngressInstall struct {
Meshes ResourceRefsValue
}
type Options ¶
type Options struct { // common Ctx context.Context Interactive bool OutputType string Metadata core.Metadata PrintKubeYaml bool Init Init Upgrade Upgrade Install Install Uninstall Uninstall CreateRoutingRule CreateRoutingRule CreateSecurityRule CreateSecurityRule CreateTlsSecret CreateTlsSecret CreateAwsSecret CreateAwsSecret EditUpstream EditUpstream GetMeshIngress GetMeshIngress SetRootCert SetRootCert SetStats SetStats RegisterAppMesh RegisterAppMesh }
type RegisterAppMesh ¶ added in v0.3.8
type RegisterAppMesh struct { Region string Secret ResourceRefValue EnableAutoInjection string ConfigMap ResourceRefValue PodSelector Selector VirtualNodeLabel string }
type RequestMatcher ¶
type RequestMatchersValue ¶
type RequestMatchersValue []RequestMatcher
func (*RequestMatchersValue) Set ¶
func (v *RequestMatchersValue) Set(s string) error
func (*RequestMatchersValue) String ¶
func (v *RequestMatchersValue) String() string
func (*RequestMatchersValue) Type ¶
func (v *RequestMatchersValue) Type() string
type ResourceRefValue ¶
type ResourceRefValue core.ResourceRef
func (*ResourceRefValue) Set ¶
func (v *ResourceRefValue) Set(s string) error
func (*ResourceRefValue) String ¶
func (v *ResourceRefValue) String() string
func (*ResourceRefValue) Type ¶
func (v *ResourceRefValue) Type() string
type ResourceRefsValue ¶
type ResourceRefsValue []core.ResourceRef
func (*ResourceRefsValue) Set ¶
func (v *ResourceRefsValue) Set(s string) error
func (*ResourceRefsValue) String ¶
func (v *ResourceRefsValue) String() string
func (*ResourceRefsValue) Type ¶
func (v *ResourceRefsValue) Type() string
type Retries ¶ added in v0.3.11
type Retries struct { MaxRetries MaxRetries RetryBudget v1.RetryBudget }
type RoutingRuleSpec ¶
type RoutingRuleSpec struct { TrafficShifting TrafficShiftingValue FaultInjection FaultInjection Retries Retries }
no implemented specs yet
type Selector ¶
type Selector struct { SelectedUpstreams ResourceRefsValue SelectedNamespaces []string SelectedLabels MapStringStringValue }
type SetRootCert ¶
type SetRootCert struct { TargetMesh ResourceRefValue TlsSecret ResourceRefValue }
type SetStats ¶
type SetStats struct { TargetMesh ResourceRefValue PrometheusConfigMaps ResourceRefsValue }
type TrafficShiftingValue ¶
type TrafficShiftingValue v1.TrafficShifting
func (*TrafficShiftingValue) Set ¶
func (v *TrafficShiftingValue) Set(s string) error
func (*TrafficShiftingValue) String ¶
func (v *TrafficShiftingValue) String() string
func (*TrafficShiftingValue) Type ¶
func (v *TrafficShiftingValue) Type() string
Click to show internal directories.
Click to hide internal directories.