api

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type User

type User struct {

	// User's unique name (or id).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The user's parent. If empty or non-existent, it means this user is a root user;
	// otherwise, it's a subuser.
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// The attributes (key/value pair) of the user. If hierarchy is supported, it will be
	// separated by '/', such as 'key/subkey=value'. See https://alphauslabs.github.io/blueapi/
	// for the list of supported attributes.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetMetadata

func (x *User) GetMetadata() map[string]string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetParent

func (x *User) GetParent() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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