settings

package
v2.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 20 Imported by: 6

Documentation

Overview

Package settings is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSettings        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSettings          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSettings = fmt.Errorf("proto: unexpected end of group")
)

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) Descriptor() ([]byte, []int)

func (*Connector) GetName

func (m *Connector) GetName() string

func (*Connector) GetType

func (m *Connector) GetType() string

func (*Connector) Marshal

func (m *Connector) Marshal() (dAtA []byte, err error)

func (*Connector) MarshalTo

func (m *Connector) MarshalTo(dAtA []byte) (int, error)

func (*Connector) MarshalToSizedBuffer

func (m *Connector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Connector) ProtoMessage

func (*Connector) ProtoMessage()

func (*Connector) Reset

func (m *Connector) Reset()

func (*Connector) Size

func (m *Connector) Size() (n int)

func (*Connector) String

func (m *Connector) String() string

func (*Connector) Unmarshal

func (m *Connector) Unmarshal(dAtA []byte) error

func (*Connector) XXX_DiscardUnknown

func (m *Connector) XXX_DiscardUnknown()

func (*Connector) XXX_Marshal

func (m *Connector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Connector) XXX_Merge

func (m *Connector) XXX_Merge(src proto.Message)

func (*Connector) XXX_Size

func (m *Connector) XXX_Size() int

func (*Connector) XXX_Unmarshal

func (m *Connector) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*DexConfig) GetConnectors

func (m *DexConfig) GetConnectors() []*Connector

func (*DexConfig) Marshal

func (m *DexConfig) Marshal() (dAtA []byte, err error)

func (*DexConfig) MarshalTo

func (m *DexConfig) MarshalTo(dAtA []byte) (int, error)

func (*DexConfig) MarshalToSizedBuffer

func (m *DexConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DexConfig) ProtoMessage

func (*DexConfig) ProtoMessage()

func (*DexConfig) Reset

func (m *DexConfig) Reset()

func (*DexConfig) Size

func (m *DexConfig) Size() (n int)

func (*DexConfig) String

func (m *DexConfig) String() string

func (*DexConfig) Unmarshal

func (m *DexConfig) Unmarshal(dAtA []byte) error

func (*DexConfig) XXX_DiscardUnknown

func (m *DexConfig) XXX_DiscardUnknown()

func (*DexConfig) XXX_Marshal

func (m *DexConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DexConfig) XXX_Merge

func (m *DexConfig) XXX_Merge(src proto.Message)

func (*DexConfig) XXX_Size

func (m *DexConfig) XXX_Size() int

func (*DexConfig) XXX_Unmarshal

func (m *DexConfig) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Help) GetBinaryUrls added in v2.3.0

func (m *Help) GetBinaryUrls() map[string]string

func (*Help) GetChatText

func (m *Help) GetChatText() string

func (*Help) GetChatUrl

func (m *Help) GetChatUrl() string

func (*Help) Marshal

func (m *Help) Marshal() (dAtA []byte, err error)

func (*Help) MarshalTo

func (m *Help) MarshalTo(dAtA []byte) (int, error)

func (*Help) MarshalToSizedBuffer

func (m *Help) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Help) ProtoMessage

func (*Help) ProtoMessage()

func (*Help) Reset

func (m *Help) Reset()

func (*Help) Size

func (m *Help) Size() (n int)

func (*Help) String

func (m *Help) String() string

func (*Help) Unmarshal

func (m *Help) Unmarshal(dAtA []byte) error

func (*Help) XXX_DiscardUnknown

func (m *Help) XXX_DiscardUnknown()

func (*Help) XXX_Marshal

func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Help) XXX_Merge

func (m *Help) XXX_Merge(src proto.Message)

func (*Help) XXX_Size

func (m *Help) XXX_Size() int

func (*Help) XXX_Unmarshal

func (m *Help) XXX_Unmarshal(b []byte) error

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 */
	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) 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) MarshalTo

func (m *OIDCConfig) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Plugin) GetName

func (m *Plugin) GetName() string

func (*Plugin) Marshal

func (m *Plugin) Marshal() (dAtA []byte, err error)

func (*Plugin) MarshalTo

func (m *Plugin) MarshalTo(dAtA []byte) (int, error)

func (*Plugin) MarshalToSizedBuffer

func (m *Plugin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Plugin) ProtoMessage

func (*Plugin) ProtoMessage()

func (*Plugin) Reset

func (m *Plugin) Reset()

func (*Plugin) Size

func (m *Plugin) Size() (n int)

func (*Plugin) String

func (m *Plugin) String() string

func (*Plugin) Unmarshal

func (m *Plugin) Unmarshal(dAtA []byte) error

func (*Plugin) XXX_DiscardUnknown

func (m *Plugin) XXX_DiscardUnknown()

func (*Plugin) XXX_Marshal

func (m *Plugin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Plugin) XXX_Merge

func (m *Plugin) XXX_Merge(src proto.Message)

func (*Plugin) XXX_Size

func (m *Plugin) XXX_Size() int

func (*Plugin) XXX_Unmarshal

func (m *Plugin) XXX_Unmarshal(b []byte) error

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"`
	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"`
	XXX_NoUnkeyedLiteral      struct{}                           `json:"-"`
	XXX_unrecognized          []byte                             `json:"-"`
	XXX_sizecache             int32                              `json:"-"`
}

func (*Settings) Descriptor

func (*Settings) Descriptor() ([]byte, []int)

func (*Settings) GetAppLabelKey

func (m *Settings) GetAppLabelKey() string

func (*Settings) GetAppsInAnyNamespaceEnabled added in v2.5.3

func (m *Settings) GetAppsInAnyNamespaceEnabled() bool

func (*Settings) GetConfigManagementPlugins

func (m *Settings) GetConfigManagementPlugins() []*v1alpha1.ConfigManagementPlugin

func (*Settings) GetControllerNamespace added in v2.5.0

func (m *Settings) GetControllerNamespace() string

func (*Settings) GetDexConfig

func (m *Settings) GetDexConfig() *DexConfig

func (*Settings) GetExecEnabled added in v2.4.0

func (m *Settings) GetExecEnabled() bool

func (*Settings) GetGoogleAnalytics

func (m *Settings) GetGoogleAnalytics() *GoogleAnalyticsConfig

func (*Settings) GetHelp

func (m *Settings) GetHelp() *Help

func (*Settings) GetKustomizeOptions

func (m *Settings) GetKustomizeOptions() *v1alpha1.KustomizeOptions

func (*Settings) GetKustomizeVersions

func (m *Settings) GetKustomizeVersions() []string

func (*Settings) GetOIDCConfig

func (m *Settings) GetOIDCConfig() *OIDCConfig

func (*Settings) GetPasswordPattern added in v2.1.1

func (m *Settings) GetPasswordPattern() string

func (*Settings) GetPlugins

func (m *Settings) GetPlugins() []*Plugin

func (*Settings) GetResourceOverrides

func (m *Settings) GetResourceOverrides() map[string]*v1alpha1.ResourceOverride

func (*Settings) GetStatusBadgeEnabled

func (m *Settings) GetStatusBadgeEnabled() bool

func (*Settings) GetStatusBadgeRootUrl added in v2.4.0

func (m *Settings) GetStatusBadgeRootUrl() string

func (*Settings) GetTrackingMethod added in v2.2.0

func (m *Settings) GetTrackingMethod() string

func (*Settings) GetURL

func (m *Settings) GetURL() string

func (*Settings) GetUiBannerContent

func (m *Settings) GetUiBannerContent() string

func (*Settings) GetUiBannerPermanent added in v2.2.0

func (m *Settings) GetUiBannerPermanent() bool

func (*Settings) GetUiBannerPosition added in v2.2.0

func (m *Settings) GetUiBannerPosition() string

func (*Settings) GetUiBannerURL

func (m *Settings) GetUiBannerURL() string

func (*Settings) GetUiCssURL

func (m *Settings) GetUiCssURL() string

func (*Settings) GetUserLoginsDisabled

func (m *Settings) GetUserLoginsDisabled() bool

func (*Settings) Marshal

func (m *Settings) Marshal() (dAtA []byte, err error)

func (*Settings) MarshalTo

func (m *Settings) MarshalTo(dAtA []byte) (int, error)

func (*Settings) MarshalToSizedBuffer

func (m *Settings) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) Reset

func (m *Settings) Reset()

func (*Settings) Size

func (m *Settings) Size() (n int)

func (*Settings) String

func (m *Settings) String() string

func (*Settings) Unmarshal

func (m *Settings) Unmarshal(dAtA []byte) error

func (*Settings) XXX_DiscardUnknown

func (m *Settings) XXX_DiscardUnknown()

func (*Settings) XXX_Marshal

func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Settings) XXX_Merge

func (m *Settings) XXX_Merge(src proto.Message)

func (*Settings) XXX_Size

func (m *Settings) XXX_Size() int

func (*Settings) XXX_Unmarshal

func (m *Settings) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *SettingsQuery) MarshalTo(dAtA []byte) (int, 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) GetPlugins added in v2.6.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL