server

package
v0.1.47-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 16 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
}

func NewClient

func NewClient(client client.Client, namespace string) *Client

func (*Client) Create

func (c *Client) Create(ctx context.Context, organizationID, projectID string, identity *unikornv1.Identity, network *unikornv1.Network, request *openapi.ServerWrite) (*openapi.ServerRead, error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, serverID string) error

func (*Client) Get

func (c *Client) Get(ctx context.Context, serverID string) (*openapi.ServerRead, error)

func (*Client) List

func (c *Client) List(ctx context.Context, organizationID string) (openapi.ServersRead, error)

Jump to

Keyboard shortcuts

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