spaces

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

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 is a spaces client.

func NewClient

func NewClient(cfg *up.Config) *Client

NewClient creates a new spaces client.

func (*Client) Create

func (c *Client) Create(ctx context.Context, namespace string, space *upboundv1alpha1.Space, opts *metav1.CreateOptions) (*upboundv1alpha1.Space, error)

Create creates a space.

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, namespace, name string, opts *metav1.DeleteOptions) error

Delete deletes a space.

func (*Client) List added in v1.8.0

func (c *Client) List(ctx context.Context, namespace string, opts *metav1.ListOptions) (*upboundv1alpha1.SpaceList, error)

List lists all accessible space.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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