v87

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenClusterClient

type GenClusterClient interface {
	GetTopologyWithResponse(ctx context.Context, reqEditors ...camundav87.RequestEditorFn) (*camundav87.GetTopologyResponse, error)
}

type Option

type Option func(*Service)

func WithClient

func WithClient(c GenClusterClient) Option

func WithLogger added in v1.2.0

func WithLogger(logger *slog.Logger) Option

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, httpClient *http.Client, log *slog.Logger, opts ...Option) (*Service, error)

func (*Service) Client added in v1.2.0

func (s *Service) Client() GenClusterClient

func (*Service) Config added in v1.2.0

func (s *Service) Config() *config.Config

func (*Service) GetClusterTopology

func (s *Service) GetClusterTopology(ctx context.Context, opts ...services.CallOption) (d.Topology, error)

func (*Service) Logger added in v1.2.0

func (s *Service) Logger() *slog.Logger

Jump to

Keyboard shortcuts

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