account

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mmesh_protobuf_network_v1_resources_account_account_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {
	AccountID    string      `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
	AccountToken string      `protobuf:"bytes,2,opt,name=accountToken,proto3" json:"accountToken,omitempty"`
	Realm        string      `protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"`
	Description  string      `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Owner        *iam.User   `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	Cfg          *AccountCfg `protobuf:"bytes,6,opt,name=cfg,proto3" json:"cfg,omitempty"`
	CreationDate int64       `protobuf:"varint,7,opt,name=creationDate,proto3" json:"creationDate,omitempty"`
	Type         string      `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"`
	Status       *Status     `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	Limits       *Limits     `protobuf:"bytes,11,opt,name=limits,proto3" json:"limits,omitempty"`
	Usage        *Usage      `protobuf:"bytes,12,opt,name=usage,proto3" json:"usage,omitempty"`
	Traffic      *Traffic    `protobuf:"bytes,13,opt,name=traffic,proto3" json:"traffic,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountID

func (x *Account) GetAccountID() string

func (*Account) GetAccountToken

func (x *Account) GetAccountToken() string

func (*Account) GetCfg

func (x *Account) GetCfg() *AccountCfg

func (*Account) GetCreationDate

func (x *Account) GetCreationDate() int64

func (*Account) GetDescription

func (x *Account) GetDescription() string

func (*Account) GetLimits

func (x *Account) GetLimits() *Limits

func (*Account) GetOwner

func (x *Account) GetOwner() *iam.User

func (*Account) GetRealm

func (x *Account) GetRealm() string

func (*Account) GetStatus

func (x *Account) GetStatus() *Status

func (*Account) GetTraffic

func (x *Account) GetTraffic() *Traffic

func (*Account) GetType

func (x *Account) GetType() string

func (*Account) GetUsage

func (x *Account) GetUsage() *Usage

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountCfg

type AccountCfg struct {
	Github *cfg.GithubCfg `protobuf:"bytes,1,opt,name=github,proto3" json:"github,omitempty"`
	Slack  *cfg.SlackCfg  `protobuf:"bytes,2,opt,name=slack,proto3" json:"slack,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountCfg) Descriptor deprecated

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

Deprecated: Use AccountCfg.ProtoReflect.Descriptor instead.

func (*AccountCfg) GetGithub

func (x *AccountCfg) GetGithub() *cfg.GithubCfg

func (*AccountCfg) GetSlack

func (x *AccountCfg) GetSlack() *cfg.SlackCfg

func (*AccountCfg) ProtoMessage

func (*AccountCfg) ProtoMessage()

func (*AccountCfg) ProtoReflect

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

func (*AccountCfg) Reset

func (x *AccountCfg) Reset()

func (*AccountCfg) String

func (x *AccountCfg) String() string

type Accounts

type Accounts struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*Accounts) Descriptor deprecated

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

Deprecated: Use Accounts.ProtoReflect.Descriptor instead.

func (*Accounts) GetAccounts

func (x *Accounts) GetAccounts() []*Account

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) ProtoReflect

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

func (*Accounts) Reset

func (x *Accounts) Reset()

func (*Accounts) String

func (x *Accounts) String() string

type Limits

type Limits struct {
	MaxNodes int32 `protobuf:"varint,1,opt,name=maxNodes,proto3" json:"maxNodes,omitempty"`
	MaxGiB   int32 `protobuf:"varint,2,opt,name=maxGiB,proto3" json:"maxGiB,omitempty"`
	// contains filtered or unexported fields
}

func (*Limits) Descriptor deprecated

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

Deprecated: Use Limits.ProtoReflect.Descriptor instead.

func (*Limits) GetMaxGiB

func (x *Limits) GetMaxGiB() int32

func (*Limits) GetMaxNodes

func (x *Limits) GetMaxNodes() int32

func (*Limits) ProtoMessage

func (*Limits) ProtoMessage()

func (*Limits) ProtoReflect

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

func (*Limits) Reset

func (x *Limits) Reset()

func (*Limits) String

func (x *Limits) String() string

type Status

type Status struct {
	Enabled   bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Suspended bool `protobuf:"varint,2,opt,name=suspended,proto3" json:"suspended,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetEnabled

func (x *Status) GetEnabled() bool

func (*Status) GetSuspended

func (x *Status) GetSuspended() bool

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type Traffic

type Traffic struct {
	LastUpdated           int64                              `protobuf:"varint,1,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
	NetworkMetrics        *metrics.NetworkMetrics            `protobuf:"bytes,2,opt,name=networkMetrics,proto3" json:"networkMetrics,omitempty"`
	MMPMetrics            *metrics.NetworkMetrics            `protobuf:"bytes,3,opt,name=MMPMetrics,proto3" json:"MMPMetrics,omitempty"`
	NetDevStats           *metrics.NetworkMetrics            `protobuf:"bytes,4,opt,name=netDevStats,proto3" json:"netDevStats,omitempty"`
	NetworkMonthlyHistory map[string]*metrics.NetworkMetrics `` /* 183-byte string literal not displayed */
	// managed service traffic (includes rms and mmp traffic)
	MSNetworkMonthlyHistory map[string]*metrics.NetworkMetrics `` /* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Traffic) Descriptor deprecated

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

Deprecated: Use Traffic.ProtoReflect.Descriptor instead.

func (*Traffic) GetLastUpdated

func (x *Traffic) GetLastUpdated() int64

func (*Traffic) GetMMPMetrics

func (x *Traffic) GetMMPMetrics() *metrics.NetworkMetrics

func (*Traffic) GetMSNetworkMonthlyHistory

func (x *Traffic) GetMSNetworkMonthlyHistory() map[string]*metrics.NetworkMetrics

func (*Traffic) GetNetDevStats

func (x *Traffic) GetNetDevStats() *metrics.NetworkMetrics

func (*Traffic) GetNetworkMetrics

func (x *Traffic) GetNetworkMetrics() *metrics.NetworkMetrics

func (*Traffic) GetNetworkMonthlyHistory

func (x *Traffic) GetNetworkMonthlyHistory() map[string]*metrics.NetworkMetrics

func (*Traffic) ProtoMessage

func (*Traffic) ProtoMessage()

func (*Traffic) ProtoReflect

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

func (*Traffic) Reset

func (x *Traffic) Reset()

func (*Traffic) String

func (x *Traffic) String() string

type Usage

type Usage struct {
	LastUpdated    int64 `protobuf:"varint,1,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
	Tenants        int32 `protobuf:"varint,2,opt,name=tenants,proto3" json:"tenants,omitempty"`
	Networks       int32 `protobuf:"varint,3,opt,name=networks,proto3" json:"networks,omitempty"`
	Subnets        int32 `protobuf:"varint,4,opt,name=subnets,proto3" json:"subnets,omitempty"`
	Nodes          int32 `protobuf:"varint,5,opt,name=nodes,proto3" json:"nodes,omitempty"`
	Endpoints      int32 `protobuf:"varint,6,opt,name=endpoints,proto3" json:"endpoints,omitempty"`
	Relays         int32 `protobuf:"varint,7,opt,name=relays,proto3" json:"relays,omitempty"`
	Users          int32 `protobuf:"varint,8,opt,name=users,proto3" json:"users,omitempty"`
	SecurityGroups int32 `protobuf:"varint,9,opt,name=securityGroups,proto3" json:"securityGroups,omitempty"`
	Roles          int32 `protobuf:"varint,10,opt,name=roles,proto3" json:"roles,omitempty"`
	ACLs           int32 `protobuf:"varint,11,opt,name=ACLs,proto3" json:"ACLs,omitempty"`
	Projects       int32 `protobuf:"varint,12,opt,name=projects,proto3" json:"projects,omitempty"`
	Workflows      int32 `protobuf:"varint,13,opt,name=workflows,proto3" json:"workflows,omitempty"`
	// contains filtered or unexported fields
}

func (*Usage) Descriptor deprecated

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

Deprecated: Use Usage.ProtoReflect.Descriptor instead.

func (*Usage) GetACLs

func (x *Usage) GetACLs() int32

func (*Usage) GetEndpoints

func (x *Usage) GetEndpoints() int32

func (*Usage) GetLastUpdated

func (x *Usage) GetLastUpdated() int64

func (*Usage) GetNetworks

func (x *Usage) GetNetworks() int32

func (*Usage) GetNodes

func (x *Usage) GetNodes() int32

func (*Usage) GetProjects

func (x *Usage) GetProjects() int32

func (*Usage) GetRelays

func (x *Usage) GetRelays() int32

func (*Usage) GetRoles

func (x *Usage) GetRoles() int32

func (*Usage) GetSecurityGroups

func (x *Usage) GetSecurityGroups() int32

func (*Usage) GetSubnets

func (x *Usage) GetSubnets() int32

func (*Usage) GetTenants

func (x *Usage) GetTenants() int32

func (*Usage) GetUsers

func (x *Usage) GetUsers() int32

func (*Usage) GetWorkflows

func (x *Usage) GetWorkflows() int32

func (*Usage) ProtoMessage

func (*Usage) ProtoMessage()

func (*Usage) ProtoReflect

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

func (*Usage) Reset

func (x *Usage) Reset()

func (*Usage) String

func (x *Usage) String() string

Jump to

Keyboard shortcuts

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