api

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthChallengeResponse

type AuthChallengeResponse struct {
	Message   string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"`
	// contains filtered or unexported fields
}

only a response is required, because nothing is sent on request

func (*AuthChallengeResponse) Descriptor deprecated

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

Deprecated: Use AuthChallengeResponse.ProtoReflect.Descriptor instead.

func (*AuthChallengeResponse) GetChallenge

func (x *AuthChallengeResponse) GetChallenge() string

func (*AuthChallengeResponse) GetMessage

func (x *AuthChallengeResponse) GetMessage() string

func (*AuthChallengeResponse) ProtoMessage

func (*AuthChallengeResponse) ProtoMessage()

func (*AuthChallengeResponse) ProtoReflect

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

func (*AuthChallengeResponse) Reset

func (x *AuthChallengeResponse) Reset()

func (*AuthChallengeResponse) String

func (x *AuthChallengeResponse) String() string

type CreateAccountRequest

type CreateAccountRequest struct {
	Email             string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	VerificationToken string `protobuf:"bytes,2,opt,name=verificationToken,proto3" json:"verificationToken,omitempty"`
	Password          string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	PublicKey         string `protobuf:"bytes,4,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetEmail

func (x *CreateAccountRequest) GetEmail() string

func (*CreateAccountRequest) GetPassword

func (x *CreateAccountRequest) GetPassword() string

func (*CreateAccountRequest) GetPublicKey

func (x *CreateAccountRequest) GetPublicKey() string

func (*CreateAccountRequest) GetVerificationToken

func (x *CreateAccountRequest) GetVerificationToken() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountResponse

type CreateAccountResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetMessage

func (x *CreateAccountResponse) GetMessage() string

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

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

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) String() string

type ListOrgPermissionsResponse

type ListOrgPermissionsResponse struct {
	Message     string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Permissions []*OrgPermissions `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrgPermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListOrgPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListOrgPermissionsResponse) GetMessage

func (x *ListOrgPermissionsResponse) GetMessage() string

func (*ListOrgPermissionsResponse) GetPermissions

func (x *ListOrgPermissionsResponse) GetPermissions() []*OrgPermissions

func (*ListOrgPermissionsResponse) ProtoMessage

func (*ListOrgPermissionsResponse) ProtoMessage()

func (*ListOrgPermissionsResponse) ProtoReflect

func (*ListOrgPermissionsResponse) Reset

func (x *ListOrgPermissionsResponse) Reset()

func (*ListOrgPermissionsResponse) String

func (x *ListOrgPermissionsResponse) String() string

type ListOrgsResponse added in v0.3.11

type ListOrgsResponse struct {
	Message string       `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Details []*OrgDetail `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrgsResponse) Descriptor deprecated added in v0.3.11

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

Deprecated: Use ListOrgsResponse.ProtoReflect.Descriptor instead.

func (*ListOrgsResponse) GetDetails added in v0.3.11

func (x *ListOrgsResponse) GetDetails() []*OrgDetail

func (*ListOrgsResponse) GetMessage added in v0.3.11

func (x *ListOrgsResponse) GetMessage() string

func (*ListOrgsResponse) ProtoMessage added in v0.3.11

func (*ListOrgsResponse) ProtoMessage()

func (*ListOrgsResponse) ProtoReflect added in v0.3.11

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

func (*ListOrgsResponse) Reset added in v0.3.11

func (x *ListOrgsResponse) Reset()

func (*ListOrgsResponse) String added in v0.3.11

func (x *ListOrgsResponse) String() string

type OrgDetail added in v0.3.11

type OrgDetail struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Admin bool   `protobuf:"varint,2,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgDetail) Descriptor deprecated added in v0.3.11

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

Deprecated: Use OrgDetail.ProtoReflect.Descriptor instead.

func (*OrgDetail) GetAdmin added in v0.3.11

func (x *OrgDetail) GetAdmin() bool

func (*OrgDetail) GetName added in v0.3.11

func (x *OrgDetail) GetName() string

func (*OrgDetail) ProtoMessage added in v0.3.11

func (*OrgDetail) ProtoMessage()

func (*OrgDetail) ProtoReflect added in v0.3.11

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

func (*OrgDetail) Reset added in v0.3.11

func (x *OrgDetail) Reset()

func (*OrgDetail) String added in v0.3.11

func (x *OrgDetail) String() string

type OrgPermissions

type OrgPermissions struct {
	Path  string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Write bool   `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgPermissions) Descriptor deprecated

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

Deprecated: Use OrgPermissions.ProtoReflect.Descriptor instead.

func (*OrgPermissions) GetEmail

func (x *OrgPermissions) GetEmail() string

func (*OrgPermissions) GetPath

func (x *OrgPermissions) GetPath() string

func (*OrgPermissions) GetWrite

func (x *OrgPermissions) GetWrite() bool

func (*OrgPermissions) ProtoMessage

func (*OrgPermissions) ProtoMessage()

func (*OrgPermissions) ProtoReflect

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

func (*OrgPermissions) Reset

func (x *OrgPermissions) Reset()

func (*OrgPermissions) String

func (x *OrgPermissions) String() string

type PingResponse

type PingResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Email   string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

only a response is required, because nothing is sent on request

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetEmail

func (x *PingResponse) GetEmail() string

func (*PingResponse) GetMessage

func (x *PingResponse) GetMessage() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

Jump to

Keyboard shortcuts

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