az

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeProfile

func ChangeProfile(ctx context.Context, subscriptionID string) error

Types

type Profile

type Profile struct {
	Subscriptions []Subscription `json:"subscriptions"`
}

func ReadProfiles

func ReadProfiles(ctx context.Context) (*Profile, error)

type Subscription

type Subscription struct {
	ID              string `json:"id"`
	Name            string `json:"name"`
	State           string `json:"state"`
	User            User   `json:"user"`
	IsDefault       bool   `json:"isDefault"`
	TenantId        string `json:"tenantId"`
	EnvironmentName string `json:"environmentName"`
	HomeTenantId    string `json:"homeTenantId"`
}

type User

type User struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

Jump to

Keyboard shortcuts

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