Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the settings.mesh.gloo.solo.io v1alpha2 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 NewSettingsClient(client client.Client) *settingsClient
- func Resource(resource string) schema.GroupResource
- type Clientset
- type MulticlusterClientset
- type MulticlusterSettingsClient
- type NetworkingExtensionsServer
- func (*NetworkingExtensionsServer) Descriptor() ([]byte, []int)deprecated
- func (m *NetworkingExtensionsServer) Equal(that interface{}) bool
- func (x *NetworkingExtensionsServer) GetAddress() string
- func (x *NetworkingExtensionsServer) GetInsecure() bool
- func (x *NetworkingExtensionsServer) GetReconnectOnNetworkFailures() bool
- func (*NetworkingExtensionsServer) ProtoMessage()
- func (x *NetworkingExtensionsServer) ProtoReflect() protoreflect.Message
- func (x *NetworkingExtensionsServer) Reset()
- func (x *NetworkingExtensionsServer) 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) GetIstio() *SettingsSpec_Istio
- func (x *SettingsSpec) GetMtls() *v1alpha2.TrafficPolicySpec_MTLS
- func (x *SettingsSpec) GetNetworkingExtensionServers() []*NetworkingExtensionsServer
- 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 SettingsSpec_Istio
- func (*SettingsSpec_Istio) Descriptor() ([]byte, []int)deprecated
- func (m *SettingsSpec_Istio) Equal(that interface{}) bool
- func (x *SettingsSpec_Istio) GetIngressGatewayDetectors() map[string]*SettingsSpec_Istio_IngressGatewayDetector
- func (*SettingsSpec_Istio) ProtoMessage()
- func (x *SettingsSpec_Istio) ProtoReflect() protoreflect.Message
- func (x *SettingsSpec_Istio) Reset()
- func (x *SettingsSpec_Istio) String() string
- type SettingsSpec_Istio_IngressGatewayDetector
- func (*SettingsSpec_Istio_IngressGatewayDetector) Descriptor() ([]byte, []int)deprecated
- func (m *SettingsSpec_Istio_IngressGatewayDetector) Equal(that interface{}) bool
- func (x *SettingsSpec_Istio_IngressGatewayDetector) GetGatewayTlsPortName() string
- func (x *SettingsSpec_Istio_IngressGatewayDetector) GetGatewayWorkloadLabels() map[string]string
- func (*SettingsSpec_Istio_IngressGatewayDetector) ProtoMessage()
- func (x *SettingsSpec_Istio_IngressGatewayDetector) ProtoReflect() protoreflect.Message
- func (x *SettingsSpec_Istio_IngressGatewayDetector) Reset()
- func (x *SettingsSpec_Istio_IngressGatewayDetector) String() string
- 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() v1alpha2.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: "v1alpha2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var File_github_com_solo_io_gloo_mesh_api_settings_v1alpha2_settings_proto protoreflect.FileDescriptor
Functions ¶
func AddToScheme ¶
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/v1alpha2/v1alpha2 APIs Settings() SettingsClient }
clienset for the settings.mesh.gloo.solo.io/v1alpha2 APIs
func NewClientset ¶
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/v1alpha2 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
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 NetworkingExtensionsServer ¶
type NetworkingExtensionsServer struct { // TCP address of the Networking Extensions Server (including port) Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Communicate over HTTP rather than HTTPS Insecure bool `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"` // Instruct Gloo Mesh to automatically reconnect to the server on network failures ReconnectOnNetworkFailures bool `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Options for connecting to an external gRPC NetworkingExtensions server
func (*NetworkingExtensionsServer) Descriptor
deprecated
func (*NetworkingExtensionsServer) Descriptor() ([]byte, []int)
Deprecated: Use NetworkingExtensionsServer.ProtoReflect.Descriptor instead.
func (*NetworkingExtensionsServer) Equal ¶
func (m *NetworkingExtensionsServer) Equal(that interface{}) bool
Equal function
func (*NetworkingExtensionsServer) GetAddress ¶
func (x *NetworkingExtensionsServer) GetAddress() string
func (*NetworkingExtensionsServer) GetInsecure ¶
func (x *NetworkingExtensionsServer) GetInsecure() bool
func (*NetworkingExtensionsServer) GetReconnectOnNetworkFailures ¶
func (x *NetworkingExtensionsServer) GetReconnectOnNetworkFailures() bool
func (*NetworkingExtensionsServer) ProtoMessage ¶
func (*NetworkingExtensionsServer) ProtoMessage()
func (*NetworkingExtensionsServer) ProtoReflect ¶ added in v0.10.8
func (x *NetworkingExtensionsServer) ProtoReflect() protoreflect.Message
func (*NetworkingExtensionsServer) Reset ¶
func (x *NetworkingExtensionsServer) Reset()
func (*NetworkingExtensionsServer) String ¶
func (x *NetworkingExtensionsServer) 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 ¶ added in v0.10.5
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 TrafficTargets (MTLS declared in TrafficPolicies take precedence) Mtls *v1alpha2.TrafficPolicySpec_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 []*NetworkingExtensionsServer `` /* 141-byte string literal not displayed */ // Istio-specific discovery settings Istio *SettingsSpec_Istio `protobuf:"bytes,3,opt,name=istio,proto3" json:"istio,omitempty"` // contains filtered or unexported fields }
Configure global settings and defaults.
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) GetIstio ¶ added in v0.10.10
func (x *SettingsSpec) GetIstio() *SettingsSpec_Istio
func (*SettingsSpec) GetMtls ¶
func (x *SettingsSpec) GetMtls() *v1alpha2.TrafficPolicySpec_MTLS
func (*SettingsSpec) GetNetworkingExtensionServers ¶
func (x *SettingsSpec) GetNetworkingExtensionServers() []*NetworkingExtensionsServer
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 ¶ added in v0.10.8
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 SettingsSpec_Istio ¶ added in v0.10.10
type SettingsSpec_Istio struct { // Ingress gateway detectors for each cluster. The key to the map is either a k8s cluster name or the wildcard // `*` meaning 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 the default values. IngressGatewayDetectors map[string]*SettingsSpec_Istio_IngressGatewayDetector `` /* 220-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SettingsSpec_Istio) Descriptor
deprecated
added in
v0.10.10
func (*SettingsSpec_Istio) Descriptor() ([]byte, []int)
Deprecated: Use SettingsSpec_Istio.ProtoReflect.Descriptor instead.
func (*SettingsSpec_Istio) Equal ¶ added in v0.10.10
func (m *SettingsSpec_Istio) Equal(that interface{}) bool
Equal function
func (*SettingsSpec_Istio) GetIngressGatewayDetectors ¶ added in v0.10.10
func (x *SettingsSpec_Istio) GetIngressGatewayDetectors() map[string]*SettingsSpec_Istio_IngressGatewayDetector
func (*SettingsSpec_Istio) ProtoMessage ¶ added in v0.10.10
func (*SettingsSpec_Istio) ProtoMessage()
func (*SettingsSpec_Istio) ProtoReflect ¶ added in v0.10.10
func (x *SettingsSpec_Istio) ProtoReflect() protoreflect.Message
func (*SettingsSpec_Istio) Reset ¶ added in v0.10.10
func (x *SettingsSpec_Istio) Reset()
func (*SettingsSpec_Istio) String ¶ added in v0.10.10
func (x *SettingsSpec_Istio) String() string
type SettingsSpec_Istio_IngressGatewayDetector ¶ added in v0.10.10
type SettingsSpec_Istio_IngressGatewayDetector struct { // The workload labels used during discovery to detect ingress gateways for a mesh. // 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. Services must have a port with this name // in order to be recognized as an ingress gateway during discovery. // 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 }
Workload labels and TLS port name used during discovery to detect ingress gateways for a mesh.
func (*SettingsSpec_Istio_IngressGatewayDetector) Descriptor
deprecated
added in
v0.10.10
func (*SettingsSpec_Istio_IngressGatewayDetector) Descriptor() ([]byte, []int)
Deprecated: Use SettingsSpec_Istio_IngressGatewayDetector.ProtoReflect.Descriptor instead.
func (*SettingsSpec_Istio_IngressGatewayDetector) Equal ¶ added in v0.10.10
func (m *SettingsSpec_Istio_IngressGatewayDetector) Equal(that interface{}) bool
Equal function
func (*SettingsSpec_Istio_IngressGatewayDetector) GetGatewayTlsPortName ¶ added in v0.10.10
func (x *SettingsSpec_Istio_IngressGatewayDetector) GetGatewayTlsPortName() string
func (*SettingsSpec_Istio_IngressGatewayDetector) GetGatewayWorkloadLabels ¶ added in v0.10.10
func (x *SettingsSpec_Istio_IngressGatewayDetector) GetGatewayWorkloadLabels() map[string]string
func (*SettingsSpec_Istio_IngressGatewayDetector) ProtoMessage ¶ added in v0.10.10
func (*SettingsSpec_Istio_IngressGatewayDetector) ProtoMessage()
func (*SettingsSpec_Istio_IngressGatewayDetector) ProtoReflect ¶ added in v0.10.10
func (x *SettingsSpec_Istio_IngressGatewayDetector) ProtoReflect() protoreflect.Message
func (*SettingsSpec_Istio_IngressGatewayDetector) Reset ¶ added in v0.10.10
func (x *SettingsSpec_Istio_IngressGatewayDetector) Reset()
func (*SettingsSpec_Istio_IngressGatewayDetector) String ¶ added in v0.10.10
func (x *SettingsSpec_Istio_IngressGatewayDetector) String() string
type SettingsStatus ¶
type SettingsStatus struct { // The most recent generation observed in the the Settings metadata. // If the observedGeneration does not match generation, the controller 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 v1alpha2.ApprovalState `protobuf:"varint,2,opt,name=state,proto3,enum=networking.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() v1alpha2.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 ¶ added in v0.10.8
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_v1alpha2 is a generated GoMock package.
|
Package mock_v1alpha2 is a generated GoMock package. |
mocks
Package mock_v1alpha2sets is a generated GoMock package.
|
Package mock_v1alpha2sets is a generated GoMock package. |