securitygroup

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 19 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 provides a restful API for identities.

func New

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

New creates a new client.

func (*Client) Create

func (c *Client) Create(ctx context.Context, organizationID, projectID, identityID string, request *openapi.SecurityGroupWrite) (*openapi.SecurityGroupRead, error)

Create instantiates a new resource.

func (*Client) Delete

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

Delete a resource.

func (*Client) Get

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

Get a resource.

func (*Client) GetRaw

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

GetRaw gives access to the raw Kubernetes resource.

func (*Client) List

List returns an ordered list of all resources in scope.

func (*Client) Update

func (c *Client) Update(ctx context.Context, organizationID, projectID, identityID, securityGroupID string, request *openapi.SecurityGroupWrite) (*openapi.SecurityGroupRead, error)

Update a resource.

Jump to

Keyboard shortcuts

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