spaces

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 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.

Jump to

Keyboard shortcuts

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