psos

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound error = errors.New("requested ressource wasn't found")

Functions

This section is empty.

Types

type PsOpenstackClient

type PsOpenstackClient struct {
	// contains filtered or unexported fields
}

func Login

func Login(endpoint, username, password string) (*PsOpenstackClient, error)

func (PsOpenstackClient) AddUserToProject

func (client PsOpenstackClient) AddUserToProject(ctx context.Context, projectId, userID string) error

func (PsOpenstackClient) CreateUser

func (PsOpenstackClient) DeleteProject

func (client PsOpenstackClient) DeleteProject(ctx context.Context, id string) error

func (PsOpenstackClient) DeleteUser

func (client PsOpenstackClient) DeleteUser(ctx context.Context, userID string) error

func (PsOpenstackClient) GetImage added in v0.2.0

func (client PsOpenstackClient) GetImage(ctx context.Context, imageID string) (*openapi.ImageResponse, error)

func (PsOpenstackClient) GetProject

func (PsOpenstackClient) GetProjectQuota

func (client PsOpenstackClient) GetProjectQuota(ctx context.Context, projectId string) (*openapi.UpdateQuota, error)

func (PsOpenstackClient) GetProjects

func (client PsOpenstackClient) GetProjects(ctx context.Context) (*[]openapi.ProjectCreatedResponse, error)

func (PsOpenstackClient) GetUser

func (client PsOpenstackClient) GetUser(ctx context.Context, userID string) (*openapi.CreatedOpenStackUser, error)

func (PsOpenstackClient) GetUsers

func (PsOpenstackClient) GetUsersInProject

func (client PsOpenstackClient) GetUsersInProject(ctx context.Context, projectId string) (*[]openapi.ProjectUser, error)

func (PsOpenstackClient) RemoveUserFromProject

func (client PsOpenstackClient) RemoveUserFromProject(ctx context.Context, projectId, userID string) error

func (PsOpenstackClient) UpdateImageVisibility added in v0.2.0

func (client PsOpenstackClient) UpdateImageVisibility(ctx context.Context, imageID string, visibility openapi.ImageVisibility) error

func (PsOpenstackClient) UpdateProjectQuota

func (client PsOpenstackClient) UpdateProjectQuota(ctx context.Context, projectId string, params openapi.UpdateQuota) (*openapi.UpdateQuota, error)

func (PsOpenstackClient) UpdateUser

Jump to

Keyboard shortcuts

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