Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the settings.mesh.gloo.solo.io v1 API group +k8s:deepcopy-gen=package,register +groupName=settings.mesh.gloo.solo.io
NOTE: Boilerplate only. Ignore this file. Used to register the Go types with the Kubernetes internal scheme
Definitions for the Kubernetes types ¶
Definitions for the Kubernetes types
Index ¶
- Variables
- func AddToScheme(s *runtime.Scheme) error
- func NewDashboardClient(client client.Client) *dashboardClient
- func NewSettingsClient(client client.Client) *settingsClient
- func Resource(resource string) schema.GroupResource
- type Clientset
- type Dashboard
- type DashboardClient
- type DashboardList
- type DashboardReader
- type DashboardSlice
- type DashboardSpec
- func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)
- func (*DashboardSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DashboardSpec) GetAuth() *DashboardSpec_AuthConfig
- func (m *DashboardSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (this *DashboardSpec) MarshalJSON() ([]byte, error)
- func (*DashboardSpec) ProtoMessage()
- func (x *DashboardSpec) ProtoReflect() protoreflect.Message
- func (x *DashboardSpec) Reset()
- func (x *DashboardSpec) String() string
- func (this *DashboardSpec) UnmarshalJSON(b []byte) error
- type DashboardSpec_AuthConfig
- func (*DashboardSpec_AuthConfig) Descriptor() ([]byte, []int)deprecated
- func (m *DashboardSpec_AuthConfig) GetBackend() isDashboardSpec_AuthConfig_Backend
- func (x *DashboardSpec_AuthConfig) GetOidc() *OidcConfig
- func (m *DashboardSpec_AuthConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*DashboardSpec_AuthConfig) ProtoMessage()
- func (x *DashboardSpec_AuthConfig) ProtoReflect() protoreflect.Message
- func (x *DashboardSpec_AuthConfig) Reset()
- func (x *DashboardSpec_AuthConfig) String() string
- type DashboardSpec_AuthConfig_Oidc
- type DashboardStatus
- func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)
- func (*DashboardStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DashboardStatus) GetErrors() []string
- func (x *DashboardStatus) GetObservedGeneration() int64
- func (x *DashboardStatus) GetState() v11.ApprovalState
- func (m *DashboardStatus) Hash(hasher hash.Hash64) (uint64, error)
- func (this *DashboardStatus) MarshalJSON() ([]byte, error)
- func (*DashboardStatus) ProtoMessage()
- func (x *DashboardStatus) ProtoReflect() protoreflect.Message
- func (x *DashboardStatus) Reset()
- func (x *DashboardStatus) String() string
- func (this *DashboardStatus) UnmarshalJSON(b []byte) error
- type DashboardStatusWriter
- type DashboardTransitionFunction
- type DashboardWriter
- type DiscoverySettings
- func (*DiscoverySettings) Descriptor() ([]byte, []int)deprecated
- func (m *DiscoverySettings) Equal(that interface{}) bool
- func (x *DiscoverySettings) GetIstio() *DiscoverySettings_Istio
- func (*DiscoverySettings) ProtoMessage()
- func (x *DiscoverySettings) ProtoReflect() protoreflect.Message
- func (x *DiscoverySettings) Reset()
- func (x *DiscoverySettings) String() string
- type DiscoverySettings_Istio
- func (*DiscoverySettings_Istio) Descriptor() ([]byte, []int)deprecated
- func (m *DiscoverySettings_Istio) Equal(that interface{}) bool
- func (x *DiscoverySettings_Istio) GetIngressGatewayDetectors() map[string]*DiscoverySettings_Istio_IngressGatewayDetector
- func (*DiscoverySettings_Istio) ProtoMessage()
- func (x *DiscoverySettings_Istio) ProtoReflect() protoreflect.Message
- func (x *DiscoverySettings_Istio) Reset()
- func (x *DiscoverySettings_Istio) String() string
- type DiscoverySettings_Istio_IngressGatewayDetector
- func (*DiscoverySettings_Istio_IngressGatewayDetector) Descriptor() ([]byte, []int)deprecated
- func (m *DiscoverySettings_Istio_IngressGatewayDetector) Equal(that interface{}) bool
- func (x *DiscoverySettings_Istio_IngressGatewayDetector) GetGatewayTlsPortName() string
- func (x *DiscoverySettings_Istio_IngressGatewayDetector) GetGatewayWorkloadLabels() map[string]string
- func (*DiscoverySettings_Istio_IngressGatewayDetector) ProtoMessage()
- func (x *DiscoverySettings_Istio_IngressGatewayDetector) ProtoReflect() protoreflect.Message
- func (x *DiscoverySettings_Istio_IngressGatewayDetector) Reset()
- func (x *DiscoverySettings_Istio_IngressGatewayDetector) String() string
- type GrpcServer
- func (*GrpcServer) Descriptor() ([]byte, []int)deprecated
- func (m *GrpcServer) Equal(that interface{}) bool
- func (x *GrpcServer) GetAddress() string
- func (x *GrpcServer) GetInsecure() bool
- func (x *GrpcServer) GetReconnectOnNetworkFailures() bool
- func (*GrpcServer) ProtoMessage()
- func (x *GrpcServer) ProtoReflect() protoreflect.Message
- func (x *GrpcServer) Reset()
- func (x *GrpcServer) String() string
- type JwksOnDemandCacheRefreshPolicy
- func (*JwksOnDemandCacheRefreshPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *JwksOnDemandCacheRefreshPolicy) GetAlways() *empty.Empty
- func (x *JwksOnDemandCacheRefreshPolicy) GetMaxIdpReqPerPollingInterval() uint32
- func (x *JwksOnDemandCacheRefreshPolicy) GetNever() *empty.Empty
- func (m *JwksOnDemandCacheRefreshPolicy) GetPolicy() isJwksOnDemandCacheRefreshPolicy_Policy
- func (m *JwksOnDemandCacheRefreshPolicy) Hash(hasher hash.Hash64) (uint64, error)
- func (*JwksOnDemandCacheRefreshPolicy) ProtoMessage()
- func (x *JwksOnDemandCacheRefreshPolicy) ProtoReflect() protoreflect.Message
- func (x *JwksOnDemandCacheRefreshPolicy) Reset()
- func (x *JwksOnDemandCacheRefreshPolicy) String() string
- type JwksOnDemandCacheRefreshPolicy_Always
- type JwksOnDemandCacheRefreshPolicy_MaxIdpReqPerPollingInterval
- type JwksOnDemandCacheRefreshPolicy_Never
- type MulticlusterClientset
- type MulticlusterDashboardClient
- type MulticlusterSettingsClient
- type OidcConfig
- func (*OidcConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OidcConfig) GetAppUrl() string
- func (x *OidcConfig) GetAuthEndpointQueryParams() map[string]string
- func (x *OidcConfig) GetCallbackPath() string
- func (x *OidcConfig) GetClientId() string
- func (x *OidcConfig) GetClientSecret() *v1.ObjectRef
- func (x *OidcConfig) GetDiscoveryOverride() *OidcConfig_DiscoveryOverride
- func (x *OidcConfig) GetDiscoveryPollInterval() *duration.Duration
- func (x *OidcConfig) GetHeader() *OidcConfig_HeaderConfig
- func (x *OidcConfig) GetIssuerUrl() string
- func (x *OidcConfig) GetJwksCacheRefreshPolicy() *JwksOnDemandCacheRefreshPolicy
- func (x *OidcConfig) GetLogoutPath() string
- func (x *OidcConfig) GetScopes() []string
- func (x *OidcConfig) GetSession() *SessionConfig
- func (x *OidcConfig) GetTokenEndpointQueryParams() map[string]string
- func (m *OidcConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*OidcConfig) ProtoMessage()
- func (x *OidcConfig) ProtoReflect() protoreflect.Message
- func (x *OidcConfig) Reset()
- func (x *OidcConfig) String() string
- type OidcConfig_DiscoveryOverride
- func (*OidcConfig_DiscoveryOverride) Descriptor() ([]byte, []int)deprecated
- func (x *OidcConfig_DiscoveryOverride) GetAuthEndpoint() string
- func (x *OidcConfig_DiscoveryOverride) GetAuthMethods() []string
- func (x *OidcConfig_DiscoveryOverride) GetClaims() []string
- func (x *OidcConfig_DiscoveryOverride) GetIdTokenAlgs() []string
- func (x *OidcConfig_DiscoveryOverride) GetJwksUri() string
- func (x *OidcConfig_DiscoveryOverride) GetResponseTypes() []string
- func (x *OidcConfig_DiscoveryOverride) GetScopes() []string
- func (x *OidcConfig_DiscoveryOverride) GetSubjects() []string
- func (x *OidcConfig_DiscoveryOverride) GetTokenEndpoint() string
- func (m *OidcConfig_DiscoveryOverride) Hash(hasher hash.Hash64) (uint64, error)
- func (*OidcConfig_DiscoveryOverride) ProtoMessage()
- func (x *OidcConfig_DiscoveryOverride) ProtoReflect() protoreflect.Message
- func (x *OidcConfig_DiscoveryOverride) Reset()
- func (x *OidcConfig_DiscoveryOverride) String() string
- type OidcConfig_HeaderConfig
- func (*OidcConfig_HeaderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OidcConfig_HeaderConfig) GetAccessTokenHeader() string
- func (x *OidcConfig_HeaderConfig) GetIdTokenHeader() string
- func (m *OidcConfig_HeaderConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*OidcConfig_HeaderConfig) ProtoMessage()
- func (x *OidcConfig_HeaderConfig) ProtoReflect() protoreflect.Message
- func (x *OidcConfig_HeaderConfig) Reset()
- func (x *OidcConfig_HeaderConfig) String() string
- type RelaySettings
- func (*RelaySettings) Descriptor() ([]byte, []int)deprecated
- func (m *RelaySettings) Equal(that interface{}) bool
- func (x *RelaySettings) GetEnabled() bool
- func (x *RelaySettings) GetServer() *GrpcServer
- func (*RelaySettings) ProtoMessage()
- func (x *RelaySettings) ProtoReflect() protoreflect.Message
- func (x *RelaySettings) Reset()
- func (x *RelaySettings) String() string
- type SessionConfig
- func (*SessionConfig) Descriptor() ([]byte, []int)deprecated
- func (m *SessionConfig) GetBackend() isSessionConfig_Backend
- func (x *SessionConfig) GetCookie() *SessionConfig_CookieSession
- func (x *SessionConfig) GetCookieOptions() *SessionConfig_CookieOptions
- func (x *SessionConfig) GetRedis() *SessionConfig_RedisSession
- func (m *SessionConfig) Hash(hasher hash.Hash64) (uint64, error)
- func (*SessionConfig) ProtoMessage()
- func (x *SessionConfig) ProtoReflect() protoreflect.Message
- func (x *SessionConfig) Reset()
- func (x *SessionConfig) String() string
- type SessionConfig_Cookie
- type SessionConfig_CookieOptions
- func (*SessionConfig_CookieOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SessionConfig_CookieOptions) GetDomain() string
- func (x *SessionConfig_CookieOptions) GetMaxAge() *wrappers.UInt32Value
- func (x *SessionConfig_CookieOptions) GetNotSecure() bool
- func (x *SessionConfig_CookieOptions) GetPath() *wrappers.StringValue
- func (m *SessionConfig_CookieOptions) Hash(hasher hash.Hash64) (uint64, error)
- func (*SessionConfig_CookieOptions) ProtoMessage()
- func (x *SessionConfig_CookieOptions) ProtoReflect() protoreflect.Message
- func (x *SessionConfig_CookieOptions) Reset()
- func (x *SessionConfig_CookieOptions) String() string
- type SessionConfig_CookieSession
- func (*SessionConfig_CookieSession) Descriptor() ([]byte, []int)deprecated
- func (m *SessionConfig_CookieSession) Hash(hasher hash.Hash64) (uint64, error)
- func (*SessionConfig_CookieSession) ProtoMessage()
- func (x *SessionConfig_CookieSession) ProtoReflect() protoreflect.Message
- func (x *SessionConfig_CookieSession) Reset()
- func (x *SessionConfig_CookieSession) String() string
- type SessionConfig_Redis
- type SessionConfig_RedisSession
- func (*SessionConfig_RedisSession) Descriptor() ([]byte, []int)deprecated
- func (x *SessionConfig_RedisSession) GetAllowRefreshing() *wrappers.BoolValue
- func (x *SessionConfig_RedisSession) GetCookieName() string
- func (x *SessionConfig_RedisSession) GetDb() int32
- func (x *SessionConfig_RedisSession) GetHost() string
- func (x *SessionConfig_RedisSession) GetKeyPrefix() string
- func (x *SessionConfig_RedisSession) GetPoolSize() int32
- func (m *SessionConfig_RedisSession) Hash(hasher hash.Hash64) (uint64, error)
- func (*SessionConfig_RedisSession) ProtoMessage()
- func (x *SessionConfig_RedisSession) ProtoReflect() protoreflect.Message
- func (x *SessionConfig_RedisSession) Reset()
- func (x *SessionConfig_RedisSession) String() string
- type Settings
- type SettingsClient
- type SettingsList
- type SettingsReader
- type SettingsSlice
- type SettingsSpec
- func (in *SettingsSpec) DeepCopyInto(out *SettingsSpec)
- func (*SettingsSpec) Descriptor() ([]byte, []int)deprecated
- func (m *SettingsSpec) Equal(that interface{}) bool
- func (x *SettingsSpec) GetDiscovery() *DiscoverySettings
- func (x *SettingsSpec) GetMtls() *v1.TrafficPolicySpec_Policy_MTLS
- func (x *SettingsSpec) GetNetworkingExtensionServers() []*GrpcServer
- func (x *SettingsSpec) GetRelay() *RelaySettings
- func (this *SettingsSpec) MarshalJSON() ([]byte, error)
- func (*SettingsSpec) ProtoMessage()
- func (x *SettingsSpec) ProtoReflect() protoreflect.Message
- func (x *SettingsSpec) Reset()
- func (x *SettingsSpec) String() string
- func (this *SettingsSpec) UnmarshalJSON(b []byte) error
- type SettingsStatus
- func (in *SettingsStatus) DeepCopyInto(out *SettingsStatus)
- func (*SettingsStatus) Descriptor() ([]byte, []int)deprecated
- func (m *SettingsStatus) Equal(that interface{}) bool
- func (x *SettingsStatus) GetErrors() []string
- func (x *SettingsStatus) GetObservedGeneration() int64
- func (x *SettingsStatus) GetState() v11.ApprovalState
- func (this *SettingsStatus) MarshalJSON() ([]byte, error)
- func (*SettingsStatus) ProtoMessage()
- func (x *SettingsStatus) ProtoReflect() protoreflect.Message
- func (x *SettingsStatus) Reset()
- func (x *SettingsStatus) String() string
- func (this *SettingsStatus) UnmarshalJSON(b []byte) error
- type SettingsStatusWriter
- type SettingsTransitionFunction
- type SettingsWriter
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "settings.mesh.gloo.solo.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var DashboardGVK = schema.GroupVersionKind{
Group: "settings.mesh.gloo.solo.io",
Version: "v1",
Kind: "Dashboard",
}
GroupVersionKind for Dashboard
var File_github_com_solo_io_gloo_mesh_api_settings_v1_dashboard_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_mesh_api_settings_v1_settings_proto protoreflect.FileDescriptor
var SettingsGVK = schema.GroupVersionKind{
Group: "settings.mesh.gloo.solo.io",
Version: "v1",
Kind: "Settings",
}
GroupVersionKind for Settings
Functions ¶
func AddToScheme ¶
func NewDashboardClient ¶ added in v1.1.0
func NewSettingsClient ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the settings.mesh.gloo.solo.io/v1/v1 APIs Settings() SettingsClient // clienset for the settings.mesh.gloo.solo.io/v1/v1 APIs Dashboards() DashboardClient }
clienset for the settings.mesh.gloo.solo.io/v1 APIs
func NewClientset ¶
type Dashboard ¶ added in v1.1.0
type Dashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DashboardSpec `json:"spec,omitempty"` Status DashboardStatus `json:"status,omitempty"` }
Dashboard is the Schema for the dashboard API
func (*Dashboard) DeepCopyInto ¶ added in v1.1.0
func (*Dashboard) DeepCopyObject ¶ added in v1.1.0
func (Dashboard) GVK ¶ added in v1.1.0
func (Dashboard) GVK() schema.GroupVersionKind
GVK returns the GroupVersionKind associated with the resource type.
type DashboardClient ¶ added in v1.1.0
type DashboardClient interface { DashboardReader DashboardWriter DashboardStatusWriter }
Client knows how to perform CRUD operations on Dashboards.
type DashboardList ¶ added in v1.1.0
type DashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Dashboard `json:"items"` }
DashboardList contains a list of Dashboard
func (*DashboardList) DeepCopy ¶ added in v1.1.0
func (in *DashboardList) DeepCopy() *DashboardList
func (*DashboardList) DeepCopyInto ¶ added in v1.1.0
func (in *DashboardList) DeepCopyInto(out *DashboardList)
func (*DashboardList) DeepCopyObject ¶ added in v1.1.0
func (in *DashboardList) DeepCopyObject() runtime.Object
type DashboardReader ¶ added in v1.1.0
type DashboardReader interface { // Get retrieves a Dashboard for the given object key GetDashboard(ctx context.Context, key client.ObjectKey) (*Dashboard, error) // List retrieves list of Dashboards for a given namespace and list options. ListDashboard(ctx context.Context, opts ...client.ListOption) (*DashboardList, error) }
Reader knows how to read and list Dashboards.
type DashboardSlice ¶ added in v1.1.0
type DashboardSlice []*Dashboard
DashboardSlice represents a slice of *Dashboard
type DashboardSpec ¶ added in v1.1.0
type DashboardSpec struct { // Configuration used to authenticate incoming requests. Auth *DashboardSpec_AuthConfig `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
Configure settings for the dashboard.
func (*DashboardSpec) DeepCopyInto ¶ added in v1.1.0
func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)
DeepCopyInto for the Dashboard.Spec
func (*DashboardSpec) Descriptor
deprecated
added in
v1.1.0
func (*DashboardSpec) Descriptor() ([]byte, []int)
Deprecated: Use DashboardSpec.ProtoReflect.Descriptor instead.
func (*DashboardSpec) GetAuth ¶ added in v1.1.0
func (x *DashboardSpec) GetAuth() *DashboardSpec_AuthConfig
func (*DashboardSpec) Hash ¶ added in v1.1.0
func (m *DashboardSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*DashboardSpec) MarshalJSON ¶ added in v1.1.0
func (this *DashboardSpec) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for DashboardSpec
func (*DashboardSpec) ProtoMessage ¶ added in v1.1.0
func (*DashboardSpec) ProtoMessage()
func (*DashboardSpec) ProtoReflect ¶ added in v1.1.0
func (x *DashboardSpec) ProtoReflect() protoreflect.Message
func (*DashboardSpec) Reset ¶ added in v1.1.0
func (x *DashboardSpec) Reset()
func (*DashboardSpec) String ¶ added in v1.1.0
func (x *DashboardSpec) String() string
func (*DashboardSpec) UnmarshalJSON ¶ added in v1.1.0
func (this *DashboardSpec) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for DashboardSpec
type DashboardSpec_AuthConfig ¶ added in v1.1.0
type DashboardSpec_AuthConfig struct { // Types that are assignable to Backend: // *DashboardSpec_AuthConfig_Oidc Backend isDashboardSpec_AuthConfig_Backend `protobuf_oneof:"backend"` // contains filtered or unexported fields }
func (*DashboardSpec_AuthConfig) Descriptor
deprecated
added in
v1.1.0
func (*DashboardSpec_AuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use DashboardSpec_AuthConfig.ProtoReflect.Descriptor instead.
func (*DashboardSpec_AuthConfig) GetBackend ¶ added in v1.1.0
func (m *DashboardSpec_AuthConfig) GetBackend() isDashboardSpec_AuthConfig_Backend
func (*DashboardSpec_AuthConfig) GetOidc ¶ added in v1.1.0
func (x *DashboardSpec_AuthConfig) GetOidc() *OidcConfig
func (*DashboardSpec_AuthConfig) Hash ¶ added in v1.1.0
func (m *DashboardSpec_AuthConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*DashboardSpec_AuthConfig) ProtoMessage ¶ added in v1.1.0
func (*DashboardSpec_AuthConfig) ProtoMessage()
func (*DashboardSpec_AuthConfig) ProtoReflect ¶ added in v1.1.0
func (x *DashboardSpec_AuthConfig) ProtoReflect() protoreflect.Message
func (*DashboardSpec_AuthConfig) Reset ¶ added in v1.1.0
func (x *DashboardSpec_AuthConfig) Reset()
func (*DashboardSpec_AuthConfig) String ¶ added in v1.1.0
func (x *DashboardSpec_AuthConfig) String() string
type DashboardSpec_AuthConfig_Oidc ¶ added in v1.1.0
type DashboardSpec_AuthConfig_Oidc struct {
Oidc *OidcConfig `protobuf:"bytes,2,opt,name=oidc,proto3,oneof"`
}
type DashboardStatus ¶ added in v1.1.0
type DashboardStatus struct { // The most recent generation observed in the the Dashboard metadata. // If the `observedGeneration` does not match `metadata.generation`, Gloo Mesh has not processed the most // recent version of this resource. ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // The state of the overall resource. // It will only show accepted if no processing errors encountered. State v11.ApprovalState `protobuf:"varint,2,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"` // Any errors encountered while processing Settings object. Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*DashboardStatus) DeepCopyInto ¶ added in v1.1.0
func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)
DeepCopyInto for the Dashboard.Status
func (*DashboardStatus) Descriptor
deprecated
added in
v1.1.0
func (*DashboardStatus) Descriptor() ([]byte, []int)
Deprecated: Use DashboardStatus.ProtoReflect.Descriptor instead.
func (*DashboardStatus) GetErrors ¶ added in v1.1.0
func (x *DashboardStatus) GetErrors() []string
func (*DashboardStatus) GetObservedGeneration ¶ added in v1.1.0
func (x *DashboardStatus) GetObservedGeneration() int64
func (*DashboardStatus) GetState ¶ added in v1.1.0
func (x *DashboardStatus) GetState() v11.ApprovalState
func (*DashboardStatus) Hash ¶ added in v1.1.0
func (m *DashboardStatus) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*DashboardStatus) MarshalJSON ¶ added in v1.1.0
func (this *DashboardStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for DashboardStatus
func (*DashboardStatus) ProtoMessage ¶ added in v1.1.0
func (*DashboardStatus) ProtoMessage()
func (*DashboardStatus) ProtoReflect ¶ added in v1.1.0
func (x *DashboardStatus) ProtoReflect() protoreflect.Message
func (*DashboardStatus) Reset ¶ added in v1.1.0
func (x *DashboardStatus) Reset()
func (*DashboardStatus) String ¶ added in v1.1.0
func (x *DashboardStatus) String() string
func (*DashboardStatus) UnmarshalJSON ¶ added in v1.1.0
func (this *DashboardStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for DashboardStatus
type DashboardStatusWriter ¶ added in v1.1.0
type DashboardStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Dashboard object. UpdateDashboardStatus(ctx context.Context, obj *Dashboard, opts ...client.UpdateOption) error // Patch patches the given Dashboard object's subresource. PatchDashboardStatus(ctx context.Context, obj *Dashboard, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Dashboard object.
type DashboardTransitionFunction ¶ added in v1.1.0
DashboardTransitionFunction instructs the DashboardWriter how to transition between an existing Dashboard object and a desired on an Upsert
type DashboardWriter ¶ added in v1.1.0
type DashboardWriter interface { // Create saves the Dashboard object. CreateDashboard(ctx context.Context, obj *Dashboard, opts ...client.CreateOption) error // Delete deletes the Dashboard object. DeleteDashboard(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Dashboard object. UpdateDashboard(ctx context.Context, obj *Dashboard, opts ...client.UpdateOption) error // Patch patches the given Dashboard object. PatchDashboard(ctx context.Context, obj *Dashboard, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Dashboard objects matching the given options. DeleteAllOfDashboard(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Dashboard object. UpsertDashboard(ctx context.Context, obj *Dashboard, transitionFuncs ...DashboardTransitionFunction) error }
Writer knows how to create, delete, and update Dashboards.
type DiscoverySettings ¶
type DiscoverySettings struct { // Istio-specific discovery settings Istio *DiscoverySettings_Istio `protobuf:"bytes,1,opt,name=istio,proto3" json:"istio,omitempty"` // contains filtered or unexported fields }
Settings for Gloo Mesh discovery.
func (*DiscoverySettings) Descriptor
deprecated
func (*DiscoverySettings) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverySettings.ProtoReflect.Descriptor instead.
func (*DiscoverySettings) Equal ¶
func (m *DiscoverySettings) Equal(that interface{}) bool
Equal function
func (*DiscoverySettings) GetIstio ¶
func (x *DiscoverySettings) GetIstio() *DiscoverySettings_Istio
func (*DiscoverySettings) ProtoMessage ¶
func (*DiscoverySettings) ProtoMessage()
func (*DiscoverySettings) ProtoReflect ¶
func (x *DiscoverySettings) ProtoReflect() protoreflect.Message
func (*DiscoverySettings) Reset ¶
func (x *DiscoverySettings) Reset()
func (*DiscoverySettings) String ¶
func (x *DiscoverySettings) String() string
type DiscoverySettings_Istio ¶
type DiscoverySettings_Istio struct { // DEPRECATED: all externally addressable destinations are captured in the Destination CRD, and // the VirtualMesh and VirtualGateway enables selecting specific Destinations to act as ingress gateways. // // Configure discovery of ingress gateways per cluster. The key to the map is either a Gloo Mesh cluster name or // `*` denoting all clusters. If an entry is found for a given cluster, it will be used. Otherwise, the // wildcard entry will be used if it exists. Lastly, we will fall back to a set of default values. IngressGatewayDetectors map[string]*DiscoverySettings_Istio_IngressGatewayDetector `` /* 220-byte string literal not displayed */ // contains filtered or unexported fields }
Istio-specific discovery settings
func (*DiscoverySettings_Istio) Descriptor
deprecated
func (*DiscoverySettings_Istio) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverySettings_Istio.ProtoReflect.Descriptor instead.
func (*DiscoverySettings_Istio) Equal ¶
func (m *DiscoverySettings_Istio) Equal(that interface{}) bool
Equal function
func (*DiscoverySettings_Istio) GetIngressGatewayDetectors ¶
func (x *DiscoverySettings_Istio) GetIngressGatewayDetectors() map[string]*DiscoverySettings_Istio_IngressGatewayDetector
func (*DiscoverySettings_Istio) ProtoMessage ¶
func (*DiscoverySettings_Istio) ProtoMessage()
func (*DiscoverySettings_Istio) ProtoReflect ¶
func (x *DiscoverySettings_Istio) ProtoReflect() protoreflect.Message
func (*DiscoverySettings_Istio) Reset ¶
func (x *DiscoverySettings_Istio) Reset()
func (*DiscoverySettings_Istio) String ¶
func (x *DiscoverySettings_Istio) String() string
type DiscoverySettings_Istio_IngressGatewayDetector ¶
type DiscoverySettings_Istio_IngressGatewayDetector struct { // Workload labels used to detect ingress gateways for an Istio deployment. // If not specified, will default to `{"istio": "ingressgateway"}`. GatewayWorkloadLabels map[string]string `` /* 214-byte string literal not displayed */ // The name of the TLS port used to detect ingress gateways. Kubernetes services must have a port with this name // in order to be recognized as an ingress gateway. If not specified, will default to `tls`. GatewayTlsPortName string `protobuf:"bytes,2,opt,name=gateway_tls_port_name,json=gatewayTlsPortName,proto3" json:"gateway_tls_port_name,omitempty"` // contains filtered or unexported fields }
Configure discovery of ingress gateways.
func (*DiscoverySettings_Istio_IngressGatewayDetector) Descriptor
deprecated
func (*DiscoverySettings_Istio_IngressGatewayDetector) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverySettings_Istio_IngressGatewayDetector.ProtoReflect.Descriptor instead.
func (*DiscoverySettings_Istio_IngressGatewayDetector) Equal ¶
func (m *DiscoverySettings_Istio_IngressGatewayDetector) Equal(that interface{}) bool
Equal function
func (*DiscoverySettings_Istio_IngressGatewayDetector) GetGatewayTlsPortName ¶
func (x *DiscoverySettings_Istio_IngressGatewayDetector) GetGatewayTlsPortName() string
func (*DiscoverySettings_Istio_IngressGatewayDetector) GetGatewayWorkloadLabels ¶
func (x *DiscoverySettings_Istio_IngressGatewayDetector) GetGatewayWorkloadLabels() map[string]string
func (*DiscoverySettings_Istio_IngressGatewayDetector) ProtoMessage ¶
func (*DiscoverySettings_Istio_IngressGatewayDetector) ProtoMessage()
func (*DiscoverySettings_Istio_IngressGatewayDetector) ProtoReflect ¶
func (x *DiscoverySettings_Istio_IngressGatewayDetector) ProtoReflect() protoreflect.Message
func (*DiscoverySettings_Istio_IngressGatewayDetector) Reset ¶
func (x *DiscoverySettings_Istio_IngressGatewayDetector) Reset()
func (*DiscoverySettings_Istio_IngressGatewayDetector) String ¶
func (x *DiscoverySettings_Istio_IngressGatewayDetector) String() string
type GrpcServer ¶
type GrpcServer struct { // TCP address of the gRPC Server (including port). Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // If true communicate over HTTP rather than HTTPS. Insecure bool `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"` // If true Gloo Mesh will automatically attempt to reconnect to the server after encountering network failures. ReconnectOnNetworkFailures bool `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Options for connecting to an external gRPC server.
func (*GrpcServer) Descriptor
deprecated
func (*GrpcServer) Descriptor() ([]byte, []int)
Deprecated: Use GrpcServer.ProtoReflect.Descriptor instead.
func (*GrpcServer) GetAddress ¶
func (x *GrpcServer) GetAddress() string
func (*GrpcServer) GetInsecure ¶
func (x *GrpcServer) GetInsecure() bool
func (*GrpcServer) GetReconnectOnNetworkFailures ¶
func (x *GrpcServer) GetReconnectOnNetworkFailures() bool
func (*GrpcServer) ProtoMessage ¶
func (*GrpcServer) ProtoMessage()
func (*GrpcServer) ProtoReflect ¶
func (x *GrpcServer) ProtoReflect() protoreflect.Message
func (*GrpcServer) Reset ¶
func (x *GrpcServer) Reset()
func (*GrpcServer) String ¶
func (x *GrpcServer) String() string
type JwksOnDemandCacheRefreshPolicy ¶ added in v1.1.0
type JwksOnDemandCacheRefreshPolicy struct { // Types that are assignable to Policy: // *JwksOnDemandCacheRefreshPolicy_Never // *JwksOnDemandCacheRefreshPolicy_Always // *JwksOnDemandCacheRefreshPolicy_MaxIdpReqPerPollingInterval Policy isJwksOnDemandCacheRefreshPolicy_Policy `protobuf_oneof:"policy"` // contains filtered or unexported fields }
The json web key set (JWKS) (https://tools.ietf.org/html/rfc7517) is discovered at an interval from a remote source. When keys rotate in the remote source, there may be a delay in the local source picking up those new keys. Therefore, a user could execute a request with a token that has been signed by a key in the remote JWKS, but the local cache doesn't have the key yet. The request would fail because the key isn't contained in the local set. Since most IdPs publish key keys in their remote JWKS before they are used, this is not an issue most of the time. This policy lets you define the behavior for when a user has a token with a key not yet in the local cache.
func (*JwksOnDemandCacheRefreshPolicy) Descriptor
deprecated
added in
v1.1.0
func (*JwksOnDemandCacheRefreshPolicy) Descriptor() ([]byte, []int)
Deprecated: Use JwksOnDemandCacheRefreshPolicy.ProtoReflect.Descriptor instead.
func (*JwksOnDemandCacheRefreshPolicy) GetAlways ¶ added in v1.1.0
func (x *JwksOnDemandCacheRefreshPolicy) GetAlways() *empty.Empty
func (*JwksOnDemandCacheRefreshPolicy) GetMaxIdpReqPerPollingInterval ¶ added in v1.1.0
func (x *JwksOnDemandCacheRefreshPolicy) GetMaxIdpReqPerPollingInterval() uint32
func (*JwksOnDemandCacheRefreshPolicy) GetNever ¶ added in v1.1.0
func (x *JwksOnDemandCacheRefreshPolicy) GetNever() *empty.Empty
func (*JwksOnDemandCacheRefreshPolicy) GetPolicy ¶ added in v1.1.0
func (m *JwksOnDemandCacheRefreshPolicy) GetPolicy() isJwksOnDemandCacheRefreshPolicy_Policy
func (*JwksOnDemandCacheRefreshPolicy) Hash ¶ added in v1.1.0
func (m *JwksOnDemandCacheRefreshPolicy) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*JwksOnDemandCacheRefreshPolicy) ProtoMessage ¶ added in v1.1.0
func (*JwksOnDemandCacheRefreshPolicy) ProtoMessage()
func (*JwksOnDemandCacheRefreshPolicy) ProtoReflect ¶ added in v1.1.0
func (x *JwksOnDemandCacheRefreshPolicy) ProtoReflect() protoreflect.Message
func (*JwksOnDemandCacheRefreshPolicy) Reset ¶ added in v1.1.0
func (x *JwksOnDemandCacheRefreshPolicy) Reset()
func (*JwksOnDemandCacheRefreshPolicy) String ¶ added in v1.1.0
func (x *JwksOnDemandCacheRefreshPolicy) String() string
type JwksOnDemandCacheRefreshPolicy_Always ¶ added in v1.1.0
type JwksOnDemandCacheRefreshPolicy_Always struct { // If a key is not in the cache, fetch the most recent keys from // the IdP and update the cache. NOTE: This should only be done // in trusted environments, since missing keys will each trigger // a request to the IdP. Using this in an environment exposed to // the internet will allow malicious agents to execute a DDoS // attack by spamming protected endpoints with tokens signed by // invalid keys. Always *empty.Empty `protobuf:"bytes,2,opt,name=always,proto3,oneof"` }
type JwksOnDemandCacheRefreshPolicy_MaxIdpReqPerPollingInterval ¶ added in v1.1.0
type JwksOnDemandCacheRefreshPolicy_MaxIdpReqPerPollingInterval struct { // If a key is not in the cache, fetch the most recent keys from // the IdP and update the cache. This value sets the number of // requests to the IdP per polling interval. If that limit is // exceeded, we will stop fetching from the IdP for the // remainder of the polling interval. MaxIdpReqPerPollingInterval uint32 `protobuf:"varint,3,opt,name=max_idp_req_per_polling_interval,json=maxIdpReqPerPollingInterval,proto3,oneof"` }
type JwksOnDemandCacheRefreshPolicy_Never ¶ added in v1.1.0
type JwksOnDemandCacheRefreshPolicy_Never struct { // Never refresh the local JWKS cache on demand. If a key is not // in the cache, it is assumed to be malicious. This is the // default policy since we assume that IdPs publish keys before // they rotate them, and frequent polling finds the newest keys. Never *empty.Empty `protobuf:"bytes,1,opt,name=never,proto3,oneof"` }
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the settings.mesh.gloo.solo.io/v1 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterDashboardClient ¶ added in v1.1.0
type MulticlusterDashboardClient interface { // Cluster returns a DashboardClient for the given cluster Cluster(cluster string) (DashboardClient, error) }
Provides DashboardClients for multiple clusters.
func NewMulticlusterDashboardClient ¶ added in v1.1.0
func NewMulticlusterDashboardClient(client multicluster.Client) MulticlusterDashboardClient
type MulticlusterSettingsClient ¶
type MulticlusterSettingsClient interface { // Cluster returns a SettingsClient for the given cluster Cluster(cluster string) (SettingsClient, error) }
Provides SettingsClients for multiple clusters.
func NewMulticlusterSettingsClient ¶
func NewMulticlusterSettingsClient(client multicluster.Client) MulticlusterSettingsClient
type OidcConfig ¶ added in v1.1.0
type OidcConfig struct { // The client ID from the issuer ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // THe client secret from the issuer ClientSecret *v1.ObjectRef `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // The url of the issuer. We will look for OIDC information in: // {{ issuerURL }}/.well-known/openid-configuration IssuerUrl string `protobuf:"bytes,3,opt,name=issuer_url,json=issuerUrl,proto3" json:"issuer_url,omitempty"` // Extra query parameters to apply to the authorization request to the // identity provider. For example, using the PKCE flow // (https://www.oauth.com/oauth2-servers/pkce/authorization-request/) by // setting `code_challenge` and `code_challenge_method`. AuthEndpointQueryParams map[string]string `` /* 222-byte string literal not displayed */ // Extra query parameters to apply to the token request to the identity // provider. For example, using the PKCE flow // (https://www.oauth.com/oauth2-servers/pkce/authorization-request/) by // setting `code_challenge` and `code_challenge_method`. TokenEndpointQueryParams map[string]string `` /* 225-byte string literal not displayed */ // URL to redirect to after successful auth. AppUrl string `protobuf:"bytes,6,opt,name=app_url,json=appUrl,proto3" json:"app_url,omitempty"` // Path to handle the OIDC callback. CallbackPath string `protobuf:"bytes,7,opt,name=callback_path,json=callbackPath,proto3" json:"callback_path,omitempty"` // Path used to logout. If not provided, logout will be disabled. LogoutPath string `protobuf:"bytes,8,opt,name=logout_path,json=logoutPath,proto3" json:"logout_path,omitempty"` // Scopes to request in addition to 'openid'. Scopes []string `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"` // Configuration for session storage. Session *SessionConfig `protobuf:"bytes,10,opt,name=session,proto3" json:"session,omitempty"` // Additional headers. Header *OidcConfig_HeaderConfig `protobuf:"bytes,11,opt,name=header,proto3" json:"header,omitempty"` // Ensure that certain values are set regardless of what the OIDC // provider returns. DiscoveryOverride *OidcConfig_DiscoveryOverride `protobuf:"bytes,12,opt,name=discovery_override,json=discoveryOverride,proto3" json:"discovery_override,omitempty"` // How often to poll the OIDC issuer for new configuration. DiscoveryPollInterval *duration.Duration `` /* 127-byte string literal not displayed */ // If a user executes a request with a key that is not found in the // JWKS, it could be that the keys have rotated on the remote source, // and not yet in the local cache. This policy lets you define the // behavior for how to refresh the local cache during a request where an // invalid key is provided JwksCacheRefreshPolicy *JwksOnDemandCacheRefreshPolicy `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OidcConfig) Descriptor
deprecated
added in
v1.1.0
func (*OidcConfig) Descriptor() ([]byte, []int)
Deprecated: Use OidcConfig.ProtoReflect.Descriptor instead.
func (*OidcConfig) GetAppUrl ¶ added in v1.1.0
func (x *OidcConfig) GetAppUrl() string
func (*OidcConfig) GetAuthEndpointQueryParams ¶ added in v1.1.0
func (x *OidcConfig) GetAuthEndpointQueryParams() map[string]string
func (*OidcConfig) GetCallbackPath ¶ added in v1.1.0
func (x *OidcConfig) GetCallbackPath() string
func (*OidcConfig) GetClientId ¶ added in v1.1.0
func (x *OidcConfig) GetClientId() string
func (*OidcConfig) GetClientSecret ¶ added in v1.1.0
func (x *OidcConfig) GetClientSecret() *v1.ObjectRef
func (*OidcConfig) GetDiscoveryOverride ¶ added in v1.1.0
func (x *OidcConfig) GetDiscoveryOverride() *OidcConfig_DiscoveryOverride
func (*OidcConfig) GetDiscoveryPollInterval ¶ added in v1.1.0
func (x *OidcConfig) GetDiscoveryPollInterval() *duration.Duration
func (*OidcConfig) GetHeader ¶ added in v1.1.0
func (x *OidcConfig) GetHeader() *OidcConfig_HeaderConfig
func (*OidcConfig) GetIssuerUrl ¶ added in v1.1.0
func (x *OidcConfig) GetIssuerUrl() string
func (*OidcConfig) GetJwksCacheRefreshPolicy ¶ added in v1.1.0
func (x *OidcConfig) GetJwksCacheRefreshPolicy() *JwksOnDemandCacheRefreshPolicy
func (*OidcConfig) GetLogoutPath ¶ added in v1.1.0
func (x *OidcConfig) GetLogoutPath() string
func (*OidcConfig) GetScopes ¶ added in v1.1.0
func (x *OidcConfig) GetScopes() []string
func (*OidcConfig) GetSession ¶ added in v1.1.0
func (x *OidcConfig) GetSession() *SessionConfig
func (*OidcConfig) GetTokenEndpointQueryParams ¶ added in v1.1.0
func (x *OidcConfig) GetTokenEndpointQueryParams() map[string]string
func (*OidcConfig) Hash ¶ added in v1.1.0
func (m *OidcConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*OidcConfig) ProtoMessage ¶ added in v1.1.0
func (*OidcConfig) ProtoMessage()
func (*OidcConfig) ProtoReflect ¶ added in v1.1.0
func (x *OidcConfig) ProtoReflect() protoreflect.Message
func (*OidcConfig) Reset ¶ added in v1.1.0
func (x *OidcConfig) Reset()
func (*OidcConfig) String ¶ added in v1.1.0
func (x *OidcConfig) String() string
type OidcConfig_DiscoveryOverride ¶ added in v1.1.0
type OidcConfig_DiscoveryOverride struct { // URL of the provider authorization endpoint. AuthEndpoint string `protobuf:"bytes,1,opt,name=auth_endpoint,json=authEndpoint,proto3" json:"auth_endpoint,omitempty"` // URL of the provider token endpoint. TokenEndpoint string `protobuf:"bytes,2,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"` // URL of the provider JSON web key set. JwksUri string `protobuf:"bytes,3,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"` // List of scope values that the provider supports. Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"` // List of response types that the provider supports. ResponseTypes []string `protobuf:"bytes,5,rep,name=response_types,json=responseTypes,proto3" json:"response_types,omitempty"` // List of subject identifier types that the provider supports. Subjects []string `protobuf:"bytes,6,rep,name=subjects,proto3" json:"subjects,omitempty"` // List of json web signature signing algorithms that the provider // supports for encoding claims in a JWT. IdTokenAlgs []string `protobuf:"bytes,7,rep,name=id_token_algs,json=idTokenAlgs,proto3" json:"id_token_algs,omitempty"` // List of client authentication methods supported by the provider // token endpoint. AuthMethods []string `protobuf:"bytes,8,rep,name=auth_methods,json=authMethods,proto3" json:"auth_methods,omitempty"` // List of claim types that the provider supports. Claims []string `protobuf:"bytes,9,rep,name=claims,proto3" json:"claims,omitempty"` // contains filtered or unexported fields }
OIDC configuration is discovered at <issuerUrl>/.well-known/openid-configuration The discovery override defines any properties that should override this discovery configuration https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata
func (*OidcConfig_DiscoveryOverride) Descriptor
deprecated
added in
v1.1.0
func (*OidcConfig_DiscoveryOverride) Descriptor() ([]byte, []int)
Deprecated: Use OidcConfig_DiscoveryOverride.ProtoReflect.Descriptor instead.
func (*OidcConfig_DiscoveryOverride) GetAuthEndpoint ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetAuthEndpoint() string
func (*OidcConfig_DiscoveryOverride) GetAuthMethods ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetAuthMethods() []string
func (*OidcConfig_DiscoveryOverride) GetClaims ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetClaims() []string
func (*OidcConfig_DiscoveryOverride) GetIdTokenAlgs ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetIdTokenAlgs() []string
func (*OidcConfig_DiscoveryOverride) GetJwksUri ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetJwksUri() string
func (*OidcConfig_DiscoveryOverride) GetResponseTypes ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetResponseTypes() []string
func (*OidcConfig_DiscoveryOverride) GetScopes ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetScopes() []string
func (*OidcConfig_DiscoveryOverride) GetSubjects ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetSubjects() []string
func (*OidcConfig_DiscoveryOverride) GetTokenEndpoint ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) GetTokenEndpoint() string
func (*OidcConfig_DiscoveryOverride) Hash ¶ added in v1.1.0
func (m *OidcConfig_DiscoveryOverride) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*OidcConfig_DiscoveryOverride) ProtoMessage ¶ added in v1.1.0
func (*OidcConfig_DiscoveryOverride) ProtoMessage()
func (*OidcConfig_DiscoveryOverride) ProtoReflect ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) ProtoReflect() protoreflect.Message
func (*OidcConfig_DiscoveryOverride) Reset ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) Reset()
func (*OidcConfig_DiscoveryOverride) String ¶ added in v1.1.0
func (x *OidcConfig_DiscoveryOverride) String() string
type OidcConfig_HeaderConfig ¶ added in v1.1.0
type OidcConfig_HeaderConfig struct { // If set, the ID token will be sent upstream with this header. IdTokenHeader string `protobuf:"bytes,1,opt,name=id_token_header,json=idTokenHeader,proto3" json:"id_token_header,omitempty"` // If set, the access token will be sent upstream with this header. AccessTokenHeader string `protobuf:"bytes,2,opt,name=access_token_header,json=accessTokenHeader,proto3" json:"access_token_header,omitempty"` // contains filtered or unexported fields }
func (*OidcConfig_HeaderConfig) Descriptor
deprecated
added in
v1.1.0
func (*OidcConfig_HeaderConfig) Descriptor() ([]byte, []int)
Deprecated: Use OidcConfig_HeaderConfig.ProtoReflect.Descriptor instead.
func (*OidcConfig_HeaderConfig) GetAccessTokenHeader ¶ added in v1.1.0
func (x *OidcConfig_HeaderConfig) GetAccessTokenHeader() string
func (*OidcConfig_HeaderConfig) GetIdTokenHeader ¶ added in v1.1.0
func (x *OidcConfig_HeaderConfig) GetIdTokenHeader() string
func (*OidcConfig_HeaderConfig) Hash ¶ added in v1.1.0
func (m *OidcConfig_HeaderConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*OidcConfig_HeaderConfig) ProtoMessage ¶ added in v1.1.0
func (*OidcConfig_HeaderConfig) ProtoMessage()
func (*OidcConfig_HeaderConfig) ProtoReflect ¶ added in v1.1.0
func (x *OidcConfig_HeaderConfig) ProtoReflect() protoreflect.Message
func (*OidcConfig_HeaderConfig) Reset ¶ added in v1.1.0
func (x *OidcConfig_HeaderConfig) Reset()
func (*OidcConfig_HeaderConfig) String ¶ added in v1.1.0
func (x *OidcConfig_HeaderConfig) String() string
type RelaySettings ¶
type RelaySettings struct { // Enable the use of Relay for cluster management. // If relay is enabled, make sure to follow the [relay cluster registration guide]({{< versioned_link_path fromRoot="/guides/setup/register_cluster#relay" >}}) // for registering your clusters. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // Connection info for the Relay Server. Gloo Mesh will fetch discovery resources from this server // and push translated outputs to this server. // Note: currently this field has no effect as the relay server runs in-process of the networking Pod. Server *GrpcServer `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
RelaySettings contains options for configuring Gloo Mesh to use Relay for cluster management. Relay provides a way for connecting Gloo Mesh to remote Kubernetes Clusters without the need to share credentials and access to remote Kube API Servers from the management cluster (the Gloo Mesh controllers).
Relay instead uses a streaming gRPC API to pass discovery data from remote clusters to the management cluster, and push configuration from the management cluster to the remote clusters.
Architecturally, it includes a Relay-agent which is installed to remote Kube clusters at registration time, which then connects directly to the Relay Server in the management cluster. to push its discovery data and pull its mesh configuration.
To configure Gloo Mesh to use Relay, make sure to read the [relay installation guide]({{< versioned_link_path fromRoot="/guides/setup/install_gloo_mesh" >}}) and [relay cluster registration guide]({{< versioned_link_path fromRoot="/guides/setup/register_cluster" >}}).
func (*RelaySettings) Descriptor
deprecated
func (*RelaySettings) Descriptor() ([]byte, []int)
Deprecated: Use RelaySettings.ProtoReflect.Descriptor instead.
func (*RelaySettings) GetEnabled ¶
func (x *RelaySettings) GetEnabled() bool
func (*RelaySettings) GetServer ¶
func (x *RelaySettings) GetServer() *GrpcServer
func (*RelaySettings) ProtoMessage ¶
func (*RelaySettings) ProtoMessage()
func (*RelaySettings) ProtoReflect ¶
func (x *RelaySettings) ProtoReflect() protoreflect.Message
func (*RelaySettings) Reset ¶
func (x *RelaySettings) Reset()
func (*RelaySettings) String ¶
func (x *RelaySettings) String() string
type SessionConfig ¶ added in v1.1.0
type SessionConfig struct { // Set-Cookie options CookieOptions *SessionConfig_CookieOptions `protobuf:"bytes,1,opt,name=cookie_options,json=cookieOptions,proto3" json:"cookie_options,omitempty"` // Types that are assignable to Backend: // *SessionConfig_Cookie // *SessionConfig_Redis Backend isSessionConfig_Backend `protobuf_oneof:"backend"` // contains filtered or unexported fields }
func (*SessionConfig) Descriptor
deprecated
added in
v1.1.0
func (*SessionConfig) Descriptor() ([]byte, []int)
Deprecated: Use SessionConfig.ProtoReflect.Descriptor instead.
func (*SessionConfig) GetBackend ¶ added in v1.1.0
func (m *SessionConfig) GetBackend() isSessionConfig_Backend
func (*SessionConfig) GetCookie ¶ added in v1.1.0
func (x *SessionConfig) GetCookie() *SessionConfig_CookieSession
func (*SessionConfig) GetCookieOptions ¶ added in v1.1.0
func (x *SessionConfig) GetCookieOptions() *SessionConfig_CookieOptions
func (*SessionConfig) GetRedis ¶ added in v1.1.0
func (x *SessionConfig) GetRedis() *SessionConfig_RedisSession
func (*SessionConfig) Hash ¶ added in v1.1.0
func (m *SessionConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*SessionConfig) ProtoMessage ¶ added in v1.1.0
func (*SessionConfig) ProtoMessage()
func (*SessionConfig) ProtoReflect ¶ added in v1.1.0
func (x *SessionConfig) ProtoReflect() protoreflect.Message
func (*SessionConfig) Reset ¶ added in v1.1.0
func (x *SessionConfig) Reset()
func (*SessionConfig) String ¶ added in v1.1.0
func (x *SessionConfig) String() string
type SessionConfig_Cookie ¶ added in v1.1.0
type SessionConfig_Cookie struct { // Store all session data in the cookie itself Cookie *SessionConfig_CookieSession `protobuf:"bytes,2,opt,name=cookie,proto3,oneof"` }
type SessionConfig_CookieOptions ¶ added in v1.1.0
type SessionConfig_CookieOptions struct { // Max age of the cookie. If unset, the default of 30 days will be // used. To disable expiration, set explicitly to 0. MaxAge *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"` // Use an insecure cookie. // Should only be used for testing and in trusted environments. NotSecure bool `protobuf:"varint,2,opt,name=not_secure,json=notSecure,proto3" json:"not_secure,omitempty"` // Path of the cookie. Defaults to "/", set to "" to disable the // option. Path *wrappers.StringValue `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // Domain of the cookie. Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*SessionConfig_CookieOptions) Descriptor
deprecated
added in
v1.1.0
func (*SessionConfig_CookieOptions) Descriptor() ([]byte, []int)
Deprecated: Use SessionConfig_CookieOptions.ProtoReflect.Descriptor instead.
func (*SessionConfig_CookieOptions) GetDomain ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) GetDomain() string
func (*SessionConfig_CookieOptions) GetMaxAge ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) GetMaxAge() *wrappers.UInt32Value
func (*SessionConfig_CookieOptions) GetNotSecure ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) GetNotSecure() bool
func (*SessionConfig_CookieOptions) GetPath ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) GetPath() *wrappers.StringValue
func (*SessionConfig_CookieOptions) Hash ¶ added in v1.1.0
func (m *SessionConfig_CookieOptions) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*SessionConfig_CookieOptions) ProtoMessage ¶ added in v1.1.0
func (*SessionConfig_CookieOptions) ProtoMessage()
func (*SessionConfig_CookieOptions) ProtoReflect ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) ProtoReflect() protoreflect.Message
func (*SessionConfig_CookieOptions) Reset ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) Reset()
func (*SessionConfig_CookieOptions) String ¶ added in v1.1.0
func (x *SessionConfig_CookieOptions) String() string
type SessionConfig_CookieSession ¶ added in v1.1.0
type SessionConfig_CookieSession struct {
// contains filtered or unexported fields
}
func (*SessionConfig_CookieSession) Descriptor
deprecated
added in
v1.1.0
func (*SessionConfig_CookieSession) Descriptor() ([]byte, []int)
Deprecated: Use SessionConfig_CookieSession.ProtoReflect.Descriptor instead.
func (*SessionConfig_CookieSession) Hash ¶ added in v1.1.0
func (m *SessionConfig_CookieSession) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*SessionConfig_CookieSession) ProtoMessage ¶ added in v1.1.0
func (*SessionConfig_CookieSession) ProtoMessage()
func (*SessionConfig_CookieSession) ProtoReflect ¶ added in v1.1.0
func (x *SessionConfig_CookieSession) ProtoReflect() protoreflect.Message
func (*SessionConfig_CookieSession) Reset ¶ added in v1.1.0
func (x *SessionConfig_CookieSession) Reset()
func (*SessionConfig_CookieSession) String ¶ added in v1.1.0
func (x *SessionConfig_CookieSession) String() string
type SessionConfig_Redis ¶ added in v1.1.0
type SessionConfig_Redis struct { // Store the session data in a Redis instance. Redis *SessionConfig_RedisSession `protobuf:"bytes,3,opt,name=redis,proto3,oneof"` }
type SessionConfig_RedisSession ¶ added in v1.1.0
type SessionConfig_RedisSession struct { // address of the redis. can be address:port or unix://path/to/unix.sock Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // db to use. can leave unset for db 0. Db int32 `protobuf:"varint,2,opt,name=db,proto3" json:"db,omitempty"` // size of the connection pool. can leave unset for default. // defaults to 10 connections per every CPU PoolSize int32 `protobuf:"varint,3,opt,name=pool_size,json=poolSize,proto3" json:"pool_size,omitempty"` // Key prefix inside redis KeyPrefix string `protobuf:"bytes,4,opt,name=key_prefix,json=keyPrefix,proto3" json:"key_prefix,omitempty"` // Cookie name to set and store the session id. If empty the default "__session" is used. CookieName string `protobuf:"bytes,5,opt,name=cookie_name,json=cookieName,proto3" json:"cookie_name,omitempty"` // When set, refresh expired id-tokens using the refresh-token. Defaults to true. // Explicitly set to false to disable refreshing. AllowRefreshing *wrappers.BoolValue `protobuf:"bytes,6,opt,name=allow_refreshing,json=allowRefreshing,proto3" json:"allow_refreshing,omitempty"` // contains filtered or unexported fields }
func (*SessionConfig_RedisSession) Descriptor
deprecated
added in
v1.1.0
func (*SessionConfig_RedisSession) Descriptor() ([]byte, []int)
Deprecated: Use SessionConfig_RedisSession.ProtoReflect.Descriptor instead.
func (*SessionConfig_RedisSession) GetAllowRefreshing ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) GetAllowRefreshing() *wrappers.BoolValue
func (*SessionConfig_RedisSession) GetCookieName ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) GetCookieName() string
func (*SessionConfig_RedisSession) GetDb ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) GetDb() int32
func (*SessionConfig_RedisSession) GetHost ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) GetHost() string
func (*SessionConfig_RedisSession) GetKeyPrefix ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) GetKeyPrefix() string
func (*SessionConfig_RedisSession) GetPoolSize ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) GetPoolSize() int32
func (*SessionConfig_RedisSession) Hash ¶ added in v1.1.0
func (m *SessionConfig_RedisSession) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*SessionConfig_RedisSession) ProtoMessage ¶ added in v1.1.0
func (*SessionConfig_RedisSession) ProtoMessage()
func (*SessionConfig_RedisSession) ProtoReflect ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) ProtoReflect() protoreflect.Message
func (*SessionConfig_RedisSession) Reset ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) Reset()
func (*SessionConfig_RedisSession) String ¶ added in v1.1.0
func (x *SessionConfig_RedisSession) String() string
type Settings ¶
type Settings struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SettingsSpec `json:"spec,omitempty"` Status SettingsStatus `json:"status,omitempty"` }
Settings is the Schema for the settings API
func (*Settings) DeepCopyInto ¶
func (*Settings) DeepCopyObject ¶
func (Settings) GVK ¶
func (Settings) GVK() schema.GroupVersionKind
GVK returns the GroupVersionKind associated with the resource type.
type SettingsClient ¶
type SettingsClient interface { SettingsReader SettingsWriter SettingsStatusWriter }
Client knows how to perform CRUD operations on Settingss.
type SettingsList ¶
type SettingsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Settings `json:"items"` }
SettingsList contains a list of Settings
func (*SettingsList) DeepCopy ¶
func (in *SettingsList) DeepCopy() *SettingsList
func (*SettingsList) DeepCopyInto ¶
func (in *SettingsList) DeepCopyInto(out *SettingsList)
func (*SettingsList) DeepCopyObject ¶
func (in *SettingsList) DeepCopyObject() runtime.Object
type SettingsReader ¶
type SettingsReader interface { // Get retrieves a Settings for the given object key GetSettings(ctx context.Context, key client.ObjectKey) (*Settings, error) // List retrieves list of Settingss for a given namespace and list options. ListSettings(ctx context.Context, opts ...client.ListOption) (*SettingsList, error) }
Reader knows how to read and list Settingss.
type SettingsSpec ¶
type SettingsSpec struct { // Configure default mTLS settings for Destinations. Mtls *v1.TrafficPolicySpec_Policy_MTLS `protobuf:"bytes,1,opt,name=mtls,proto3" json:"mtls,omitempty"` // Configure Gloo Mesh networking to communicate with one or more external gRPC NetworkingExtensions servers. // Updates will be applied by the servers in the order they are listed (servers towards the end of the list take precedence). // Note: Extension Servers have full write access to the output objects written by Gloo Mesh. NetworkingExtensionServers []*GrpcServer `` /* 141-byte string literal not displayed */ // Settings for Gloo Mesh discovery. Discovery *DiscoverySettings `protobuf:"bytes,3,opt,name=discovery,proto3" json:"discovery,omitempty"` // Enable and configure use of Relay mode to communicate with remote clusters. This is an enterprise-only feature. Relay *RelaySettings `protobuf:"bytes,4,opt,name=relay,proto3" json:"relay,omitempty"` // contains filtered or unexported fields }
Configure system-wide settings and defaults. Settings specified in networking policies take precedence over those specified here.
func (*SettingsSpec) DeepCopyInto ¶
func (in *SettingsSpec) DeepCopyInto(out *SettingsSpec)
DeepCopyInto for the Settings.Spec
func (*SettingsSpec) Descriptor
deprecated
func (*SettingsSpec) Descriptor() ([]byte, []int)
Deprecated: Use SettingsSpec.ProtoReflect.Descriptor instead.
func (*SettingsSpec) GetDiscovery ¶
func (x *SettingsSpec) GetDiscovery() *DiscoverySettings
func (*SettingsSpec) GetMtls ¶
func (x *SettingsSpec) GetMtls() *v1.TrafficPolicySpec_Policy_MTLS
func (*SettingsSpec) GetNetworkingExtensionServers ¶
func (x *SettingsSpec) GetNetworkingExtensionServers() []*GrpcServer
func (*SettingsSpec) GetRelay ¶
func (x *SettingsSpec) GetRelay() *RelaySettings
func (*SettingsSpec) MarshalJSON ¶
func (this *SettingsSpec) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for SettingsSpec
func (*SettingsSpec) ProtoMessage ¶
func (*SettingsSpec) ProtoMessage()
func (*SettingsSpec) ProtoReflect ¶
func (x *SettingsSpec) ProtoReflect() protoreflect.Message
func (*SettingsSpec) Reset ¶
func (x *SettingsSpec) Reset()
func (*SettingsSpec) String ¶
func (x *SettingsSpec) String() string
func (*SettingsSpec) UnmarshalJSON ¶
func (this *SettingsSpec) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for SettingsSpec
type SettingsStatus ¶
type SettingsStatus struct { // The most recent generation observed in the the Settings metadata. // If the `observedGeneration` does not match `metadata.generation`, Gloo Mesh has not processed the most // recent version of this resource. ObservedGeneration int64 `protobuf:"varint,1,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // The state of the overall resource. // It will only show accepted if no processing errors encountered. State v11.ApprovalState `protobuf:"varint,2,opt,name=state,proto3,enum=common.mesh.gloo.solo.io.ApprovalState" json:"state,omitempty"` // Any errors encountered while processing Settings object. Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*SettingsStatus) DeepCopyInto ¶
func (in *SettingsStatus) DeepCopyInto(out *SettingsStatus)
DeepCopyInto for the Settings.Status
func (*SettingsStatus) Descriptor
deprecated
func (*SettingsStatus) Descriptor() ([]byte, []int)
Deprecated: Use SettingsStatus.ProtoReflect.Descriptor instead.
func (*SettingsStatus) GetErrors ¶
func (x *SettingsStatus) GetErrors() []string
func (*SettingsStatus) GetObservedGeneration ¶
func (x *SettingsStatus) GetObservedGeneration() int64
func (*SettingsStatus) GetState ¶
func (x *SettingsStatus) GetState() v11.ApprovalState
func (*SettingsStatus) MarshalJSON ¶
func (this *SettingsStatus) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for SettingsStatus
func (*SettingsStatus) ProtoMessage ¶
func (*SettingsStatus) ProtoMessage()
func (*SettingsStatus) ProtoReflect ¶
func (x *SettingsStatus) ProtoReflect() protoreflect.Message
func (*SettingsStatus) Reset ¶
func (x *SettingsStatus) Reset()
func (*SettingsStatus) String ¶
func (x *SettingsStatus) String() string
func (*SettingsStatus) UnmarshalJSON ¶
func (this *SettingsStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaler for SettingsStatus
type SettingsStatusWriter ¶
type SettingsStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Settings object. UpdateSettingsStatus(ctx context.Context, obj *Settings, opts ...client.UpdateOption) error // Patch patches the given Settings object's subresource. PatchSettingsStatus(ctx context.Context, obj *Settings, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Settings object.
type SettingsTransitionFunction ¶
SettingsTransitionFunction instructs the SettingsWriter how to transition between an existing Settings object and a desired on an Upsert
type SettingsWriter ¶
type SettingsWriter interface { // Create saves the Settings object. CreateSettings(ctx context.Context, obj *Settings, opts ...client.CreateOption) error // Delete deletes the Settings object. DeleteSettings(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Settings object. UpdateSettings(ctx context.Context, obj *Settings, opts ...client.UpdateOption) error // Patch patches the given Settings object. PatchSettings(ctx context.Context, obj *Settings, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Settings objects matching the given options. DeleteAllOfSettings(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Settings object. UpsertSettings(ctx context.Context, obj *Settings, transitionFuncs ...SettingsTransitionFunction) error }
Writer knows how to create, delete, and update Settingss.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
|
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers |
mocks
Package mock_controller is a generated GoMock package.
|
Package mock_controller is a generated GoMock package. |
Package mock_v1 is a generated GoMock package.
|
Package mock_v1 is a generated GoMock package. |
mocks
Package mock_v1sets is a generated GoMock package.
|
Package mock_v1sets is a generated GoMock package. |