Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountID() string
- func (x *Account) GetAccountToken() string
- func (x *Account) GetCfg() *AccountCfg
- func (x *Account) GetCreationDate() int64
- func (x *Account) GetDescription() string
- func (x *Account) GetLimits() *Limits
- func (x *Account) GetOwner() *iam.User
- func (x *Account) GetRealm() string
- func (x *Account) GetStatus() *Status
- func (x *Account) GetTraffic() *Traffic
- func (x *Account) GetType() string
- func (x *Account) GetUsage() *Usage
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountCfg
- func (*AccountCfg) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCfg) GetGithub() *cfg.GithubCfg
- func (x *AccountCfg) GetSlack() *cfg.SlackCfg
- func (*AccountCfg) ProtoMessage()
- func (x *AccountCfg) ProtoReflect() protoreflect.Message
- func (x *AccountCfg) Reset()
- func (x *AccountCfg) String() string
- type Accounts
- type Limits
- type Status
- type Traffic
- func (*Traffic) Descriptor() ([]byte, []int)deprecated
- func (x *Traffic) GetLastUpdated() int64
- func (x *Traffic) GetMMPMetrics() *metrics.NetworkMetrics
- func (x *Traffic) GetMSNetworkMonthlyHistory() map[string]*metrics.NetworkMetrics
- func (x *Traffic) GetNetDevStats() *metrics.NetworkMetrics
- func (x *Traffic) GetNetworkMetrics() *metrics.NetworkMetrics
- func (x *Traffic) GetNetworkMonthlyHistory() map[string]*metrics.NetworkMetrics
- func (*Traffic) ProtoMessage()
- func (x *Traffic) ProtoReflect() protoreflect.Message
- func (x *Traffic) Reset()
- func (x *Traffic) String() string
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)deprecated
- func (x *Usage) GetACLs() int32
- func (x *Usage) GetEndpoints() int32
- func (x *Usage) GetLastUpdated() int64
- func (x *Usage) GetNetworks() int32
- func (x *Usage) GetNodes() int32
- func (x *Usage) GetProjects() int32
- func (x *Usage) GetRelays() int32
- func (x *Usage) GetRoles() int32
- func (x *Usage) GetSecurityGroups() int32
- func (x *Usage) GetSubnets() int32
- func (x *Usage) GetTenants() int32
- func (x *Usage) GetUsers() int32
- func (x *Usage) GetWorkflows() int32
- func (*Usage) ProtoMessage()
- func (x *Usage) ProtoReflect() protoreflect.Message
- func (x *Usage) Reset()
- func (x *Usage) String() string
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) GetCfg ¶
func (x *Account) GetCfg() *AccountCfg
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *Accounts) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *Limits) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
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) 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) ProtoReflect ¶
func (x *Traffic) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.