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 MapStringStringValue
- type MeshIngressInstall
- type Options
- type RequestMatcher
- type RequestMatchersValue
- type ResourceRefValue
- type ResourceRefsValue
- type RoutingRuleSpec
- type Selector
- type SetRootCert
- type SetStats
- type TrafficShiftingValue
- type Uninstall
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 v1.IstioInstall
GlooIngressInstall v1.GlooInstall
MeshIngress MeshIngressInstall
}
type InstallationNamespace ¶
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 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
Install Install
Uninstall Uninstall
CreateRoutingRule CreateRoutingRule
CreateSecurityRule CreateSecurityRule
CreateTlsSecret CreateTlsSecret
CreateAwsSecret CreateAwsSecret
EditUpstream EditUpstream
GetMeshIngress GetMeshIngress
SetRootCert SetRootCert
SetStats SetStats
}
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 RoutingRuleSpec ¶
type RoutingRuleSpec struct {
TrafficShifting TrafficShiftingValue
FaultInjection FaultInjection
}
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.