identity

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 20 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 {
	common.ClientArgs
}

Client provides a restful API for identities.

func New

func New(clientArgs common.ClientArgs) *Client

New creates a new client.

func (*Client) Create

func (c *Client) Create(ctx context.Context, organizationID, projectID string, request *openapi.IdentityWrite) (*openapi.IdentityRead, error)

Create instantiates a new resource.

func (*Client) CreateRaw added in v1.10.0

func (c *Client) CreateRaw(ctx context.Context, organizationID, projectID string, request *openapi.IdentityWrite) (*unikornv1.Identity, error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, organizationID, projectID, identityID string) error

Delete a resource.

func (*Client) Get

func (c *Client) Get(ctx context.Context, organizationID, projectID, identityID string) (*openapi.IdentityRead, error)

Get a resource.

func (*Client) GetRaw

func (c *Client) GetRaw(ctx context.Context, organizationID, projectID, identityID string) (*unikornv1.Identity, error)

GetRaw gives access to the raw Kubernetes resource.

func (*Client) List

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

List returns an ordered list of all resources in scope.

Jump to

Keyboard shortcuts

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