Documentation ¶
Overview ¶
Package settings is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SettingsServiceClient) error
- func RegisterSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SettingsServiceServer) error
- func RegisterSettingsServiceServer(s *grpc.Server, srv SettingsServiceServer)
- type Connector
- func (*Connector) Descriptor() ([]byte, []int)
- func (m *Connector) GetName() string
- func (m *Connector) GetType() string
- func (m *Connector) Marshal() (dAtA []byte, err error)
- func (m *Connector) MarshalTo(dAtA []byte) (int, error)
- func (m *Connector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Connector) ProtoMessage()
- func (m *Connector) Reset()
- func (m *Connector) Size() (n int)
- func (m *Connector) String() string
- func (m *Connector) Unmarshal(dAtA []byte) error
- func (m *Connector) XXX_DiscardUnknown()
- func (m *Connector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Connector) XXX_Merge(src proto.Message)
- func (m *Connector) XXX_Size() int
- func (m *Connector) XXX_Unmarshal(b []byte) error
- type DexConfig
- func (*DexConfig) Descriptor() ([]byte, []int)
- func (m *DexConfig) GetConnectors() []*Connector
- func (m *DexConfig) Marshal() (dAtA []byte, err error)
- func (m *DexConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *DexConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DexConfig) ProtoMessage()
- func (m *DexConfig) Reset()
- func (m *DexConfig) Size() (n int)
- func (m *DexConfig) String() string
- func (m *DexConfig) Unmarshal(dAtA []byte) error
- func (m *DexConfig) XXX_DiscardUnknown()
- func (m *DexConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DexConfig) XXX_Merge(src proto.Message)
- func (m *DexConfig) XXX_Size() int
- func (m *DexConfig) XXX_Unmarshal(b []byte) error
- type GoogleAnalyticsConfig
- func (*GoogleAnalyticsConfig) Descriptor() ([]byte, []int)
- func (m *GoogleAnalyticsConfig) GetAnonymizeUsers() bool
- func (m *GoogleAnalyticsConfig) GetTrackingID() string
- func (m *GoogleAnalyticsConfig) Marshal() (dAtA []byte, err error)
- func (m *GoogleAnalyticsConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GoogleAnalyticsConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GoogleAnalyticsConfig) ProtoMessage()
- func (m *GoogleAnalyticsConfig) Reset()
- func (m *GoogleAnalyticsConfig) Size() (n int)
- func (m *GoogleAnalyticsConfig) String() string
- func (m *GoogleAnalyticsConfig) Unmarshal(dAtA []byte) error
- func (m *GoogleAnalyticsConfig) XXX_DiscardUnknown()
- func (m *GoogleAnalyticsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GoogleAnalyticsConfig) XXX_Merge(src proto.Message)
- func (m *GoogleAnalyticsConfig) XXX_Size() int
- func (m *GoogleAnalyticsConfig) XXX_Unmarshal(b []byte) error
- type Help
- func (*Help) Descriptor() ([]byte, []int)
- func (m *Help) GetBinaryUrls() map[string]string
- func (m *Help) GetChatText() string
- func (m *Help) GetChatUrl() string
- func (m *Help) Marshal() (dAtA []byte, err error)
- func (m *Help) MarshalTo(dAtA []byte) (int, error)
- func (m *Help) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Help) ProtoMessage()
- func (m *Help) Reset()
- func (m *Help) Size() (n int)
- func (m *Help) String() string
- func (m *Help) Unmarshal(dAtA []byte) error
- func (m *Help) XXX_DiscardUnknown()
- func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Help) XXX_Merge(src proto.Message)
- func (m *Help) XXX_Size() int
- func (m *Help) XXX_Unmarshal(b []byte) error
- type OIDCConfig
- func (*OIDCConfig) Descriptor() ([]byte, []int)
- func (m *OIDCConfig) GetCLIClientID() string
- func (m *OIDCConfig) GetClientID() string
- func (m *OIDCConfig) GetEnablePKCEAuthentication() bool
- func (m *OIDCConfig) GetIDTokenClaims() map[string]*oidc.Claim
- func (m *OIDCConfig) GetIssuer() string
- func (m *OIDCConfig) GetName() string
- func (m *OIDCConfig) GetScopes() []string
- func (m *OIDCConfig) Marshal() (dAtA []byte, err error)
- func (m *OIDCConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *OIDCConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OIDCConfig) ProtoMessage()
- func (m *OIDCConfig) Reset()
- func (m *OIDCConfig) Size() (n int)
- func (m *OIDCConfig) String() string
- func (m *OIDCConfig) Unmarshal(dAtA []byte) error
- func (m *OIDCConfig) XXX_DiscardUnknown()
- func (m *OIDCConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OIDCConfig) XXX_Merge(src proto.Message)
- func (m *OIDCConfig) XXX_Size() int
- func (m *OIDCConfig) XXX_Unmarshal(b []byte) error
- type Plugin
- func (*Plugin) Descriptor() ([]byte, []int)
- func (m *Plugin) GetName() string
- func (m *Plugin) Marshal() (dAtA []byte, err error)
- func (m *Plugin) MarshalTo(dAtA []byte) (int, error)
- func (m *Plugin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Plugin) ProtoMessage()
- func (m *Plugin) Reset()
- func (m *Plugin) Size() (n int)
- func (m *Plugin) String() string
- func (m *Plugin) Unmarshal(dAtA []byte) error
- func (m *Plugin) XXX_DiscardUnknown()
- func (m *Plugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Plugin) XXX_Merge(src proto.Message)
- func (m *Plugin) XXX_Size() int
- func (m *Plugin) XXX_Unmarshal(b []byte) error
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)
- func (m *Settings) GetAppLabelKey() string
- func (m *Settings) GetAppsInAnyNamespaceEnabled() bool
- func (m *Settings) GetConfigManagementPlugins() []*v1alpha1.ConfigManagementPlugin
- func (m *Settings) GetControllerNamespace() string
- func (m *Settings) GetDexConfig() *DexConfig
- func (m *Settings) GetExecEnabled() bool
- func (m *Settings) GetGoogleAnalytics() *GoogleAnalyticsConfig
- func (m *Settings) GetHelp() *Help
- func (m *Settings) GetImpersonationEnabled() bool
- func (m *Settings) GetKustomizeOptions() *v1alpha1.KustomizeOptions
- func (m *Settings) GetKustomizeVersions() []string
- func (m *Settings) GetOIDCConfig() *OIDCConfig
- func (m *Settings) GetPasswordPattern() string
- func (m *Settings) GetPlugins() []*Plugin
- func (m *Settings) GetResourceOverrides() map[string]*v1alpha1.ResourceOverride
- func (m *Settings) GetStatusBadgeEnabled() bool
- func (m *Settings) GetStatusBadgeRootUrl() string
- func (m *Settings) GetTrackingMethod() string
- func (m *Settings) GetURL() string
- func (m *Settings) GetUiBannerContent() string
- func (m *Settings) GetUiBannerPermanent() bool
- func (m *Settings) GetUiBannerPosition() string
- func (m *Settings) GetUiBannerURL() string
- func (m *Settings) GetUiCssURL() string
- func (m *Settings) GetUserLoginsDisabled() bool
- func (m *Settings) Marshal() (dAtA []byte, err error)
- func (m *Settings) MarshalTo(dAtA []byte) (int, error)
- func (m *Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (m *Settings) Size() (n int)
- func (m *Settings) String() string
- func (m *Settings) Unmarshal(dAtA []byte) error
- func (m *Settings) XXX_DiscardUnknown()
- func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settings) XXX_Merge(src proto.Message)
- func (m *Settings) XXX_Size() int
- func (m *Settings) XXX_Unmarshal(b []byte) error
- type SettingsPluginsResponse
- func (*SettingsPluginsResponse) Descriptor() ([]byte, []int)
- func (m *SettingsPluginsResponse) GetPlugins() []*Plugin
- func (m *SettingsPluginsResponse) Marshal() (dAtA []byte, err error)
- func (m *SettingsPluginsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SettingsPluginsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SettingsPluginsResponse) ProtoMessage()
- func (m *SettingsPluginsResponse) Reset()
- func (m *SettingsPluginsResponse) Size() (n int)
- func (m *SettingsPluginsResponse) String() string
- func (m *SettingsPluginsResponse) Unmarshal(dAtA []byte) error
- func (m *SettingsPluginsResponse) XXX_DiscardUnknown()
- func (m *SettingsPluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettingsPluginsResponse) XXX_Merge(src proto.Message)
- func (m *SettingsPluginsResponse) XXX_Size() int
- func (m *SettingsPluginsResponse) XXX_Unmarshal(b []byte) error
- type SettingsQuery
- func (*SettingsQuery) Descriptor() ([]byte, []int)
- func (m *SettingsQuery) Marshal() (dAtA []byte, err error)
- func (m *SettingsQuery) MarshalTo(dAtA []byte) (int, error)
- func (m *SettingsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SettingsQuery) ProtoMessage()
- func (m *SettingsQuery) Reset()
- func (m *SettingsQuery) Size() (n int)
- func (m *SettingsQuery) String() string
- func (m *SettingsQuery) Unmarshal(dAtA []byte) error
- func (m *SettingsQuery) XXX_DiscardUnknown()
- func (m *SettingsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettingsQuery) XXX_Merge(src proto.Message)
- func (m *SettingsQuery) XXX_Size() int
- func (m *SettingsQuery) XXX_Unmarshal(b []byte) error
- type SettingsServiceClient
- type SettingsServiceServer
- type UnimplementedSettingsServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterSettingsServiceHandler ¶
func RegisterSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSettingsServiceHandler registers the http handlers for service SettingsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSettingsServiceHandlerClient ¶
func RegisterSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SettingsServiceClient) error
RegisterSettingsServiceHandlerClient registers the http handlers for service SettingsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SettingsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SettingsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SettingsServiceClient" to call the correct interceptors.
func RegisterSettingsServiceHandlerFromEndpoint ¶
func RegisterSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSettingsServiceHandlerFromEndpoint is same as RegisterSettingsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSettingsServiceHandlerServer ¶
func RegisterSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SettingsServiceServer) error
RegisterSettingsServiceHandlerServer registers the http handlers for service SettingsService to "mux". UnaryRPC :call SettingsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSettingsServiceHandlerFromEndpoint instead.
func RegisterSettingsServiceServer ¶
func RegisterSettingsServiceServer(s *grpc.Server, srv SettingsServiceServer)
Types ¶
type Connector ¶
type Connector struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Connector) Descriptor ¶
func (*Connector) MarshalToSizedBuffer ¶
func (*Connector) ProtoMessage ¶
func (*Connector) ProtoMessage()
func (*Connector) XXX_DiscardUnknown ¶
func (m *Connector) XXX_DiscardUnknown()
func (*Connector) XXX_Marshal ¶
func (*Connector) XXX_Unmarshal ¶
type DexConfig ¶
type DexConfig struct { Connectors []*Connector `protobuf:"bytes,1,rep,name=connectors,proto3" json:"connectors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DexConfig) Descriptor ¶
func (*DexConfig) GetConnectors ¶
func (*DexConfig) MarshalToSizedBuffer ¶
func (*DexConfig) ProtoMessage ¶
func (*DexConfig) ProtoMessage()
func (*DexConfig) XXX_DiscardUnknown ¶
func (m *DexConfig) XXX_DiscardUnknown()
func (*DexConfig) XXX_Marshal ¶
func (*DexConfig) XXX_Unmarshal ¶
type GoogleAnalyticsConfig ¶
type GoogleAnalyticsConfig struct { TrackingID string `protobuf:"bytes,1,opt,name=trackingID,proto3" json:"trackingID,omitempty"` AnonymizeUsers bool `protobuf:"varint,2,opt,name=anonymizeUsers,proto3" json:"anonymizeUsers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GoogleAnalyticsConfig) Descriptor ¶
func (*GoogleAnalyticsConfig) Descriptor() ([]byte, []int)
func (*GoogleAnalyticsConfig) GetAnonymizeUsers ¶
func (m *GoogleAnalyticsConfig) GetAnonymizeUsers() bool
func (*GoogleAnalyticsConfig) GetTrackingID ¶
func (m *GoogleAnalyticsConfig) GetTrackingID() string
func (*GoogleAnalyticsConfig) Marshal ¶
func (m *GoogleAnalyticsConfig) Marshal() (dAtA []byte, err error)
func (*GoogleAnalyticsConfig) MarshalTo ¶
func (m *GoogleAnalyticsConfig) MarshalTo(dAtA []byte) (int, error)
func (*GoogleAnalyticsConfig) MarshalToSizedBuffer ¶
func (m *GoogleAnalyticsConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GoogleAnalyticsConfig) ProtoMessage ¶
func (*GoogleAnalyticsConfig) ProtoMessage()
func (*GoogleAnalyticsConfig) Reset ¶
func (m *GoogleAnalyticsConfig) Reset()
func (*GoogleAnalyticsConfig) Size ¶
func (m *GoogleAnalyticsConfig) Size() (n int)
func (*GoogleAnalyticsConfig) String ¶
func (m *GoogleAnalyticsConfig) String() string
func (*GoogleAnalyticsConfig) Unmarshal ¶
func (m *GoogleAnalyticsConfig) Unmarshal(dAtA []byte) error
func (*GoogleAnalyticsConfig) XXX_DiscardUnknown ¶
func (m *GoogleAnalyticsConfig) XXX_DiscardUnknown()
func (*GoogleAnalyticsConfig) XXX_Marshal ¶
func (m *GoogleAnalyticsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GoogleAnalyticsConfig) XXX_Merge ¶
func (m *GoogleAnalyticsConfig) XXX_Merge(src proto.Message)
func (*GoogleAnalyticsConfig) XXX_Size ¶
func (m *GoogleAnalyticsConfig) XXX_Size() int
func (*GoogleAnalyticsConfig) XXX_Unmarshal ¶
func (m *GoogleAnalyticsConfig) XXX_Unmarshal(b []byte) error
type Help ¶
type Help struct { // the URL for getting chat help, this will typically be your Slack channel for support ChatUrl string `protobuf:"bytes,1,opt,name=chatUrl,proto3" json:"chatUrl,omitempty"` // the text for getting chat help, defaults to "Chat now!" ChatText string `protobuf:"bytes,2,opt,name=chatText,proto3" json:"chatText,omitempty"` // the URLs for downloading argocd binaries BinaryUrls map[string]string `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Help settings
func (*Help) Descriptor ¶
func (*Help) GetBinaryUrls ¶ added in v2.3.0
func (*Help) GetChatText ¶
func (*Help) GetChatUrl ¶
func (*Help) ProtoMessage ¶
func (*Help) ProtoMessage()
func (*Help) XXX_DiscardUnknown ¶
func (m *Help) XXX_DiscardUnknown()
func (*Help) XXX_Unmarshal ¶
type OIDCConfig ¶
type OIDCConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` ClientID string `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"` CLIClientID string `protobuf:"bytes,4,opt,name=cliClientID,proto3" json:"cliClientID,omitempty"` Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"` IDTokenClaims map[string]*oidc.Claim `` /* 167-byte string literal not displayed */ EnablePKCEAuthentication bool `protobuf:"varint,7,opt,name=enablePKCEAuthentication,proto3" json:"enablePKCEAuthentication,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OIDCConfig) Descriptor ¶
func (*OIDCConfig) Descriptor() ([]byte, []int)
func (*OIDCConfig) GetCLIClientID ¶
func (m *OIDCConfig) GetCLIClientID() string
func (*OIDCConfig) GetClientID ¶
func (m *OIDCConfig) GetClientID() string
func (*OIDCConfig) GetEnablePKCEAuthentication ¶ added in v2.10.0
func (m *OIDCConfig) GetEnablePKCEAuthentication() bool
func (*OIDCConfig) GetIDTokenClaims ¶
func (m *OIDCConfig) GetIDTokenClaims() map[string]*oidc.Claim
func (*OIDCConfig) GetIssuer ¶
func (m *OIDCConfig) GetIssuer() string
func (*OIDCConfig) GetName ¶
func (m *OIDCConfig) GetName() string
func (*OIDCConfig) GetScopes ¶
func (m *OIDCConfig) GetScopes() []string
func (*OIDCConfig) Marshal ¶
func (m *OIDCConfig) Marshal() (dAtA []byte, err error)
func (*OIDCConfig) MarshalToSizedBuffer ¶
func (m *OIDCConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OIDCConfig) ProtoMessage ¶
func (*OIDCConfig) ProtoMessage()
func (*OIDCConfig) Reset ¶
func (m *OIDCConfig) Reset()
func (*OIDCConfig) Size ¶
func (m *OIDCConfig) Size() (n int)
func (*OIDCConfig) String ¶
func (m *OIDCConfig) String() string
func (*OIDCConfig) Unmarshal ¶
func (m *OIDCConfig) Unmarshal(dAtA []byte) error
func (*OIDCConfig) XXX_DiscardUnknown ¶
func (m *OIDCConfig) XXX_DiscardUnknown()
func (*OIDCConfig) XXX_Marshal ¶
func (m *OIDCConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OIDCConfig) XXX_Merge ¶
func (m *OIDCConfig) XXX_Merge(src proto.Message)
func (*OIDCConfig) XXX_Size ¶
func (m *OIDCConfig) XXX_Size() int
func (*OIDCConfig) XXX_Unmarshal ¶
func (m *OIDCConfig) XXX_Unmarshal(b []byte) error
type Plugin ¶
type Plugin struct { // the name of the plugin, e.g. "kasane" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Plugin settings
func (*Plugin) Descriptor ¶
func (*Plugin) MarshalToSizedBuffer ¶
func (*Plugin) ProtoMessage ¶
func (*Plugin) ProtoMessage()
func (*Plugin) XXX_DiscardUnknown ¶
func (m *Plugin) XXX_DiscardUnknown()
func (*Plugin) XXX_Marshal ¶
func (*Plugin) XXX_Unmarshal ¶
type Settings ¶
type Settings struct { URL string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` DexConfig *DexConfig `protobuf:"bytes,2,opt,name=dexConfig,proto3" json:"dexConfig,omitempty"` OIDCConfig *OIDCConfig `protobuf:"bytes,3,opt,name=oidcConfig,proto3" json:"oidcConfig,omitempty"` AppLabelKey string `protobuf:"bytes,4,opt,name=appLabelKey,proto3" json:"appLabelKey,omitempty"` ResourceOverrides map[string]*v1alpha1.ResourceOverride `` /* 175-byte string literal not displayed */ StatusBadgeEnabled bool `protobuf:"varint,6,opt,name=statusBadgeEnabled,proto3" json:"statusBadgeEnabled,omitempty"` GoogleAnalytics *GoogleAnalyticsConfig `protobuf:"bytes,7,opt,name=googleAnalytics,proto3" json:"googleAnalytics,omitempty"` KustomizeOptions *v1alpha1.KustomizeOptions `protobuf:"bytes,8,opt,name=kustomizeOptions,proto3" json:"kustomizeOptions,omitempty"` // Help settings Help *Help `protobuf:"bytes,9,opt,name=help,proto3" json:"help,omitempty"` Plugins []*Plugin `protobuf:"bytes,10,rep,name=plugins,proto3" json:"plugins,omitempty"` UserLoginsDisabled bool `protobuf:"varint,11,opt,name=userLoginsDisabled,proto3" json:"userLoginsDisabled,omitempty"` // Deprecated: use sidecar plugins instead. ConfigManagementPlugins []*v1alpha1.ConfigManagementPlugin `protobuf:"bytes,12,rep,name=configManagementPlugins,proto3" json:"configManagementPlugins,omitempty"` KustomizeVersions []string `protobuf:"bytes,13,rep,name=kustomizeVersions,proto3" json:"kustomizeVersions,omitempty"` UiCssURL string `protobuf:"bytes,14,opt,name=uiCssURL,proto3" json:"uiCssURL,omitempty"` UiBannerContent string `protobuf:"bytes,15,opt,name=uiBannerContent,proto3" json:"uiBannerContent,omitempty"` UiBannerURL string `protobuf:"bytes,16,opt,name=uiBannerURL,proto3" json:"uiBannerURL,omitempty"` PasswordPattern string `protobuf:"bytes,17,opt,name=passwordPattern,proto3" json:"passwordPattern,omitempty"` TrackingMethod string `protobuf:"bytes,18,opt,name=trackingMethod,proto3" json:"trackingMethod,omitempty"` UiBannerPermanent bool `protobuf:"varint,19,opt,name=uiBannerPermanent,proto3" json:"uiBannerPermanent,omitempty"` UiBannerPosition string `protobuf:"bytes,20,opt,name=uiBannerPosition,proto3" json:"uiBannerPosition,omitempty"` StatusBadgeRootUrl string `protobuf:"bytes,21,opt,name=statusBadgeRootUrl,proto3" json:"statusBadgeRootUrl,omitempty"` ExecEnabled bool `protobuf:"varint,22,opt,name=execEnabled,proto3" json:"execEnabled,omitempty"` ControllerNamespace string `protobuf:"bytes,23,opt,name=controllerNamespace,proto3" json:"controllerNamespace,omitempty"` AppsInAnyNamespaceEnabled bool `protobuf:"varint,24,opt,name=appsInAnyNamespaceEnabled,proto3" json:"appsInAnyNamespaceEnabled,omitempty"` ImpersonationEnabled bool `protobuf:"varint,25,opt,name=impersonationEnabled,proto3" json:"impersonationEnabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Settings) Descriptor ¶
func (*Settings) GetAppLabelKey ¶
func (*Settings) GetAppsInAnyNamespaceEnabled ¶ added in v2.5.3
func (*Settings) GetConfigManagementPlugins ¶
func (m *Settings) GetConfigManagementPlugins() []*v1alpha1.ConfigManagementPlugin
func (*Settings) GetControllerNamespace ¶ added in v2.5.0
func (*Settings) GetDexConfig ¶
func (*Settings) GetExecEnabled ¶ added in v2.4.0
func (*Settings) GetGoogleAnalytics ¶
func (m *Settings) GetGoogleAnalytics() *GoogleAnalyticsConfig
func (*Settings) GetImpersonationEnabled ¶ added in v2.13.0
func (*Settings) GetKustomizeOptions ¶
func (m *Settings) GetKustomizeOptions() *v1alpha1.KustomizeOptions
func (*Settings) GetKustomizeVersions ¶
func (*Settings) GetOIDCConfig ¶
func (m *Settings) GetOIDCConfig() *OIDCConfig
func (*Settings) GetPasswordPattern ¶ added in v2.1.1
func (*Settings) GetPlugins ¶
func (*Settings) GetResourceOverrides ¶
func (m *Settings) GetResourceOverrides() map[string]*v1alpha1.ResourceOverride
func (*Settings) GetStatusBadgeEnabled ¶
func (*Settings) GetStatusBadgeRootUrl ¶ added in v2.4.0
func (*Settings) GetTrackingMethod ¶ added in v2.2.0
func (*Settings) GetUiBannerContent ¶
func (*Settings) GetUiBannerPermanent ¶ added in v2.2.0
func (*Settings) GetUiBannerPosition ¶ added in v2.2.0
func (*Settings) GetUiBannerURL ¶
func (*Settings) GetUiCssURL ¶
func (*Settings) GetUserLoginsDisabled ¶
func (*Settings) MarshalToSizedBuffer ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) XXX_DiscardUnknown ¶
func (m *Settings) XXX_DiscardUnknown()
func (*Settings) XXX_Marshal ¶
func (*Settings) XXX_Unmarshal ¶
type SettingsPluginsResponse ¶ added in v2.6.0
type SettingsPluginsResponse struct { Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SettingsPluginsResponse) Descriptor ¶ added in v2.6.0
func (*SettingsPluginsResponse) Descriptor() ([]byte, []int)
func (*SettingsPluginsResponse) GetPlugins ¶ added in v2.6.0
func (m *SettingsPluginsResponse) GetPlugins() []*Plugin
func (*SettingsPluginsResponse) Marshal ¶ added in v2.6.0
func (m *SettingsPluginsResponse) Marshal() (dAtA []byte, err error)
func (*SettingsPluginsResponse) MarshalTo ¶ added in v2.6.0
func (m *SettingsPluginsResponse) MarshalTo(dAtA []byte) (int, error)
func (*SettingsPluginsResponse) MarshalToSizedBuffer ¶ added in v2.6.0
func (m *SettingsPluginsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SettingsPluginsResponse) ProtoMessage ¶ added in v2.6.0
func (*SettingsPluginsResponse) ProtoMessage()
func (*SettingsPluginsResponse) Reset ¶ added in v2.6.0
func (m *SettingsPluginsResponse) Reset()
func (*SettingsPluginsResponse) Size ¶ added in v2.6.0
func (m *SettingsPluginsResponse) Size() (n int)
func (*SettingsPluginsResponse) String ¶ added in v2.6.0
func (m *SettingsPluginsResponse) String() string
func (*SettingsPluginsResponse) Unmarshal ¶ added in v2.6.0
func (m *SettingsPluginsResponse) Unmarshal(dAtA []byte) error
func (*SettingsPluginsResponse) XXX_DiscardUnknown ¶ added in v2.6.0
func (m *SettingsPluginsResponse) XXX_DiscardUnknown()
func (*SettingsPluginsResponse) XXX_Marshal ¶ added in v2.6.0
func (m *SettingsPluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettingsPluginsResponse) XXX_Merge ¶ added in v2.6.0
func (m *SettingsPluginsResponse) XXX_Merge(src proto.Message)
func (*SettingsPluginsResponse) XXX_Size ¶ added in v2.6.0
func (m *SettingsPluginsResponse) XXX_Size() int
func (*SettingsPluginsResponse) XXX_Unmarshal ¶ added in v2.6.0
func (m *SettingsPluginsResponse) XXX_Unmarshal(b []byte) error
type SettingsQuery ¶
type SettingsQuery struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SettingsQuery is a query for Argo CD settings
func (*SettingsQuery) Descriptor ¶
func (*SettingsQuery) Descriptor() ([]byte, []int)
func (*SettingsQuery) Marshal ¶
func (m *SettingsQuery) Marshal() (dAtA []byte, err error)
func (*SettingsQuery) MarshalToSizedBuffer ¶
func (m *SettingsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SettingsQuery) ProtoMessage ¶
func (*SettingsQuery) ProtoMessage()
func (*SettingsQuery) Reset ¶
func (m *SettingsQuery) Reset()
func (*SettingsQuery) Size ¶
func (m *SettingsQuery) Size() (n int)
func (*SettingsQuery) String ¶
func (m *SettingsQuery) String() string
func (*SettingsQuery) Unmarshal ¶
func (m *SettingsQuery) Unmarshal(dAtA []byte) error
func (*SettingsQuery) XXX_DiscardUnknown ¶
func (m *SettingsQuery) XXX_DiscardUnknown()
func (*SettingsQuery) XXX_Marshal ¶
func (m *SettingsQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettingsQuery) XXX_Merge ¶
func (m *SettingsQuery) XXX_Merge(src proto.Message)
func (*SettingsQuery) XXX_Size ¶
func (m *SettingsQuery) XXX_Size() int
func (*SettingsQuery) XXX_Unmarshal ¶
func (m *SettingsQuery) XXX_Unmarshal(b []byte) error
type SettingsServiceClient ¶
type SettingsServiceClient interface { // Get returns Argo CD settings Get(ctx context.Context, in *SettingsQuery, opts ...grpc.CallOption) (*Settings, error) // Get returns Argo CD plugins GetPlugins(ctx context.Context, in *SettingsQuery, opts ...grpc.CallOption) (*SettingsPluginsResponse, error) }
SettingsServiceClient is the client API for SettingsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSettingsServiceClient ¶
func NewSettingsServiceClient(cc *grpc.ClientConn) SettingsServiceClient
type SettingsServiceServer ¶
type SettingsServiceServer interface { // Get returns Argo CD settings Get(context.Context, *SettingsQuery) (*Settings, error) // Get returns Argo CD plugins GetPlugins(context.Context, *SettingsQuery) (*SettingsPluginsResponse, error) }
SettingsServiceServer is the server API for SettingsService service.
type UnimplementedSettingsServiceServer ¶
type UnimplementedSettingsServiceServer struct { }
UnimplementedSettingsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSettingsServiceServer) Get ¶
func (*UnimplementedSettingsServiceServer) Get(ctx context.Context, req *SettingsQuery) (*Settings, error)
func (*UnimplementedSettingsServiceServer) GetPlugins ¶ added in v2.6.0
func (*UnimplementedSettingsServiceServer) GetPlugins(ctx context.Context, req *SettingsQuery) (*SettingsPluginsResponse, error)