azure

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAzurePath = "azure"

Variables

This section is empty.

Functions

func GetAzurePath

func GetAzurePath(role *api.AzureRole) (string, error)

If azure path does not exist, then use default azure path

Types

type AzureRole

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

func (*AzureRole) CreateRole

func (a *AzureRole) CreateRole() error

Creates role

func (*AzureRole) DeleteRole

func (a *AzureRole) DeleteRole(name string) error

DeleteRole deletes role It's safe to call multiple time. It doesn't give error even if respective role doesn't exist

type AzureRoleInterface

type AzureRoleInterface interface {
	role.RoleInterface

	// DeleteRole deletes role
	DeleteRole(name string) error
}

Jump to

Keyboard shortcuts

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