base

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseClient

type BaseClient interface {
	GenerateToken(ctx context.Context, clusterID string) (string, error)
}

func NewBaseClient

func NewBaseClient(configProvider common.ConfigurationProvider, logger *logr.Logger) (BaseClient, error)

NewBaseClient creates a new base client

type Client

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

func (*Client) GenerateToken

func (c *Client) GenerateToken(ctx context.Context, clusterID string) (string, error)

Directories

Path Synopsis
Package mock_base is a generated GoMock package.
Package mock_base is a generated GoMock package.

Jump to

Keyboard shortcuts

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