Help us shape the future of Go! Take the 2026 Go Developer Survey

sdk

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServiceAccountRoles = []string{
	"iaas.isolated-network.admin",
	"iaas.network.admin",
	"nlb.admin",
}

Functions

func GetMembersForRoles

func GetMembersForRoles(subject string, roles set.Set[string]) []authorization.Member

Types

type Client

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

func NewClient

func NewClient() (*Client, error)

func (*Client) CreateProject

func (c *Client) CreateProject(
	ctx context.Context,
	organizationID string,
	name string,
	labels map[string]string,
	subject string,
) (*resourcemanager.Project, error)

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, projectID string) error

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, projectID string) (*resourcemanager.GetProjectResponse, error)

Jump to

Keyboard shortcuts

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