natscluster

package
v0.0.0-...-9aa4a0e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents a NATS client.

func NewClient

func NewClient(client dynamic.Interface) *Client

NewClient returns a new client instance.

func (*Client) Get

func (c *Client) Get(ctx context.Context, namespace, name string) (*v1alpha2.NatsCluster, error)

Get returns a NatsCluster given its namespace and name.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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