Documentation
¶
Index ¶
- Constants
- func RegisterForgeServer(s *grpc.Server, srv ForgeServer)
- func RegisterManageServer(s *grpc.Server, srv ManageServer)
- type CompletionRequest
- func (*CompletionRequest) Descriptor() ([]byte, []int)
- func (m *CompletionRequest) GetError() string
- func (m *CompletionRequest) GetId() string
- func (m *CompletionRequest) GetSuccess() bool
- func (*CompletionRequest) ProtoMessage()
- func (m *CompletionRequest) Reset()
- func (m *CompletionRequest) String() string
- func (m *CompletionRequest) XXX_DiscardUnknown()
- func (m *CompletionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompletionRequest) XXX_Merge(src proto.Message)
- func (m *CompletionRequest) XXX_Size() int
- func (m *CompletionRequest) XXX_Unmarshal(b []byte) error
- type CompletionResponse
- func (*CompletionResponse) Descriptor() ([]byte, []int)
- func (*CompletionResponse) ProtoMessage()
- func (m *CompletionResponse) Reset()
- func (m *CompletionResponse) String() string
- func (m *CompletionResponse) XXX_DiscardUnknown()
- func (m *CompletionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompletionResponse) XXX_Merge(src proto.Message)
- func (m *CompletionResponse) XXX_Size() int
- func (m *CompletionResponse) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetExpandRootfs() bool
- func (m *Config) GetHostname() string
- func (m *Config) GetHosts() []*Host
- func (m *Config) GetInterfaces() []*Interface
- func (m *Config) GetMounts() []*Mount
- func (m *Config) GetNoGrubBootloader() bool
- func (m *Config) GetRoutes() []*Route
- func (m *Config) GetUsers() []*User
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetIds() []string
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)
- func (*DeleteResponse) ProtoMessage()
- func (m *DeleteResponse) Reset()
- func (m *DeleteResponse) String() string
- func (m *DeleteResponse) XXX_DiscardUnknown()
- func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResponse) XXX_Merge(src proto.Message)
- func (m *DeleteResponse) XXX_Size() int
- func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
- type Dhcp
- func (*Dhcp) Descriptor() ([]byte, []int)
- func (m *Dhcp) GetDhcp() string
- func (m *Dhcp) GetUseDns() bool
- func (m *Dhcp) GetUseDomains() bool
- func (*Dhcp) ProtoMessage()
- func (m *Dhcp) Reset()
- func (m *Dhcp) String() string
- func (m *Dhcp) XXX_DiscardUnknown()
- func (m *Dhcp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dhcp) XXX_Merge(src proto.Message)
- func (m *Dhcp) XXX_Size() int
- func (m *Dhcp) XXX_Unmarshal(b []byte) error
- type ForgeClient
- type ForgeRequest
- func (*ForgeRequest) Descriptor() ([]byte, []int)
- func (m *ForgeRequest) GetIds() []string
- func (*ForgeRequest) ProtoMessage()
- func (m *ForgeRequest) Reset()
- func (m *ForgeRequest) String() string
- func (m *ForgeRequest) XXX_DiscardUnknown()
- func (m *ForgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForgeRequest) XXX_Merge(src proto.Message)
- func (m *ForgeRequest) XXX_Size() int
- func (m *ForgeRequest) XXX_Unmarshal(b []byte) error
- type ForgeResponse
- func (*ForgeResponse) Descriptor() ([]byte, []int)
- func (m *ForgeResponse) GetConfig() *MachineConfig
- func (*ForgeResponse) ProtoMessage()
- func (m *ForgeResponse) Reset()
- func (m *ForgeResponse) String() string
- func (m *ForgeResponse) XXX_DiscardUnknown()
- func (m *ForgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForgeResponse) XXX_Merge(src proto.Message)
- func (m *ForgeResponse) XXX_Size() int
- func (m *ForgeResponse) XXX_Unmarshal(b []byte) error
- type ForgeServer
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetIds() []string
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetConfigs() []*MachineConfig
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type Host
- func (*Host) Descriptor() ([]byte, []int)
- func (m *Host) GetIpv4() string
- func (m *Host) GetIpv6() string
- func (m *Host) GetName() string
- func (*Host) ProtoMessage()
- func (m *Host) Reset()
- func (m *Host) String() string
- func (m *Host) XXX_DiscardUnknown()
- func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Host) XXX_Merge(src proto.Message)
- func (m *Host) XXX_Size() int
- func (m *Host) XXX_Unmarshal(b []byte) error
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)
- func (m *Interface) GetAddrs() []string
- func (m *Interface) GetDhcp() *Dhcp
- func (m *Interface) GetMac() string
- func (m *Interface) GetMtu() uint32
- func (m *Interface) GetName() string
- func (m *Interface) GetVlan() *Vlan
- func (m *Interface) GetVxlan() *Vxlan
- func (*Interface) ProtoMessage()
- func (m *Interface) Reset()
- func (m *Interface) String() string
- func (m *Interface) XXX_DiscardUnknown()
- func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Interface) XXX_Merge(src proto.Message)
- func (m *Interface) XXX_Size() int
- func (m *Interface) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetResult() map[string]*Config
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) String() string
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type MachineConfig
- func (*MachineConfig) Descriptor() ([]byte, []int)
- func (m *MachineConfig) GetConfig() *Config
- func (m *MachineConfig) GetId() string
- func (m *MachineConfig) GetVer() int64
- func (m *MachineConfig) GetVersion() int64
- func (m *MachineConfig) Key() string
- func (*MachineConfig) ProtoMessage()
- func (m *MachineConfig) Reset()
- func (m *MachineConfig) SetVersion(v int64)
- func (m *MachineConfig) String() string
- func (m *MachineConfig) Value() interface{}
- func (m *MachineConfig) XXX_DiscardUnknown()
- func (m *MachineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MachineConfig) XXX_Merge(src proto.Message)
- func (m *MachineConfig) XXX_Size() int
- func (m *MachineConfig) XXX_Unmarshal(b []byte) error
- type MachineStatus
- func (*MachineStatus) Descriptor() ([]byte, []int)
- func (m *MachineStatus) GetConfigured() bool
- func (m *MachineStatus) GetError() string
- func (m *MachineStatus) GetTimestamp() int64
- func (*MachineStatus) ProtoMessage()
- func (m *MachineStatus) Reset()
- func (m *MachineStatus) String() string
- func (m *MachineStatus) XXX_DiscardUnknown()
- func (m *MachineStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MachineStatus) XXX_Merge(src proto.Message)
- func (m *MachineStatus) XXX_Size() int
- func (m *MachineStatus) XXX_Unmarshal(b []byte) error
- type ManageClient
- type ManageServer
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)
- func (m *Mount) GetDevice() string
- func (m *Mount) GetFstype() string
- func (m *Mount) GetKey() string
- func (m *Mount) GetKeyUser() string
- func (m *Mount) GetOptions() string
- func (m *Mount) GetPath() string
- func (m *Mount) GetUsername() string
- func (*Mount) ProtoMessage()
- func (m *Mount) Reset()
- func (m *Mount) String() string
- func (m *Mount) XXX_DiscardUnknown()
- func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mount) XXX_Merge(src proto.Message)
- func (m *Mount) XXX_Size() int
- func (m *Mount) XXX_Unmarshal(b []byte) error
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetDst() string
- func (m *Route) GetGateway() string
- func (m *Route) GetMetrics() int32
- func (m *Route) GetPrefSrc() string
- func (m *Route) GetPriority() int32
- func (m *Route) GetSrc() string
- func (m *Route) GetTable() int32
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) String() string
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type SetRequest
- func (*SetRequest) Descriptor() ([]byte, []int)
- func (m *SetRequest) GetConfigs() []*MachineConfig
- func (*SetRequest) ProtoMessage()
- func (m *SetRequest) Reset()
- func (m *SetRequest) String() string
- func (m *SetRequest) XXX_DiscardUnknown()
- func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetRequest) XXX_Merge(src proto.Message)
- func (m *SetRequest) XXX_Size() int
- func (m *SetRequest) XXX_Unmarshal(b []byte) error
- type SetResponse
- func (*SetResponse) Descriptor() ([]byte, []int)
- func (*SetResponse) ProtoMessage()
- func (m *SetResponse) Reset()
- func (m *SetResponse) String() string
- func (m *SetResponse) XXX_DiscardUnknown()
- func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetResponse) XXX_Merge(src proto.Message)
- func (m *SetResponse) XXX_Size() int
- func (m *SetResponse) XXX_Unmarshal(b []byte) error
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- func (m *StatusRequest) GetIds() []string
- func (*StatusRequest) ProtoMessage()
- func (m *StatusRequest) Reset()
- func (m *StatusRequest) String() string
- func (m *StatusRequest) XXX_DiscardUnknown()
- func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusRequest) XXX_Merge(src proto.Message)
- func (m *StatusRequest) XXX_Size() int
- func (m *StatusRequest) XXX_Unmarshal(b []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetStatuses() map[string]*MachineStatus
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) String() string
- func (m *StatusResponse) XXX_DiscardUnknown()
- func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetGroups() []string
- func (m *User) GetName() string
- func (m *User) GetPassword() string
- func (m *User) GetSshAuthorizedKeys() []string
- func (m *User) GetSshPrivateKeys() []string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type Vlan
- func (*Vlan) Descriptor() ([]byte, []int)
- func (m *Vlan) GetDhcp() *Dhcp
- func (m *Vlan) GetParent() string
- func (m *Vlan) GetVid() int32
- func (*Vlan) ProtoMessage()
- func (m *Vlan) Reset()
- func (m *Vlan) String() string
- func (m *Vlan) XXX_DiscardUnknown()
- func (m *Vlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vlan) XXX_Merge(src proto.Message)
- func (m *Vlan) XXX_Size() int
- func (m *Vlan) XXX_Unmarshal(b []byte) error
- type Vxlan
- func (*Vxlan) Descriptor() ([]byte, []int)
- func (m *Vxlan) GetVni() int32
- func (*Vxlan) ProtoMessage()
- func (m *Vxlan) Reset()
- func (m *Vxlan) String() string
- func (m *Vxlan) XXX_DiscardUnknown()
- func (m *Vxlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vxlan) XXX_Merge(src proto.Message)
- func (m *Vxlan) XXX_Size() int
- func (m *Vxlan) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const (
MachineConfigKeyPrefix = "/mc"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterForgeServer ¶
func RegisterForgeServer(s *grpc.Server, srv ForgeServer)
func RegisterManageServer ¶
func RegisterManageServer(s *grpc.Server, srv ManageServer)
Types ¶
type CompletionRequest ¶ added in v1.1.7
type CompletionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CompletionRequest) Descriptor ¶ added in v1.1.7
func (*CompletionRequest) Descriptor() ([]byte, []int)
func (*CompletionRequest) GetError ¶ added in v1.1.7
func (m *CompletionRequest) GetError() string
func (*CompletionRequest) GetId ¶ added in v1.1.7
func (m *CompletionRequest) GetId() string
func (*CompletionRequest) GetSuccess ¶ added in v1.1.7
func (m *CompletionRequest) GetSuccess() bool
func (*CompletionRequest) ProtoMessage ¶ added in v1.1.7
func (*CompletionRequest) ProtoMessage()
func (*CompletionRequest) Reset ¶ added in v1.1.7
func (m *CompletionRequest) Reset()
func (*CompletionRequest) String ¶ added in v1.1.7
func (m *CompletionRequest) String() string
func (*CompletionRequest) XXX_DiscardUnknown ¶ added in v1.1.7
func (m *CompletionRequest) XXX_DiscardUnknown()
func (*CompletionRequest) XXX_Marshal ¶ added in v1.1.7
func (m *CompletionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompletionRequest) XXX_Merge ¶ added in v1.1.7
func (m *CompletionRequest) XXX_Merge(src proto.Message)
func (*CompletionRequest) XXX_Size ¶ added in v1.1.7
func (m *CompletionRequest) XXX_Size() int
func (*CompletionRequest) XXX_Unmarshal ¶ added in v1.1.7
func (m *CompletionRequest) XXX_Unmarshal(b []byte) error
type CompletionResponse ¶ added in v1.1.7
type CompletionResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CompletionResponse) Descriptor ¶ added in v1.1.7
func (*CompletionResponse) Descriptor() ([]byte, []int)
func (*CompletionResponse) ProtoMessage ¶ added in v1.1.7
func (*CompletionResponse) ProtoMessage()
func (*CompletionResponse) Reset ¶ added in v1.1.7
func (m *CompletionResponse) Reset()
func (*CompletionResponse) String ¶ added in v1.1.7
func (m *CompletionResponse) String() string
func (*CompletionResponse) XXX_DiscardUnknown ¶ added in v1.1.7
func (m *CompletionResponse) XXX_DiscardUnknown()
func (*CompletionResponse) XXX_Marshal ¶ added in v1.1.7
func (m *CompletionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompletionResponse) XXX_Merge ¶ added in v1.1.7
func (m *CompletionResponse) XXX_Merge(src proto.Message)
func (*CompletionResponse) XXX_Size ¶ added in v1.1.7
func (m *CompletionResponse) XXX_Size() int
func (*CompletionResponse) XXX_Unmarshal ¶ added in v1.1.7
func (m *CompletionResponse) XXX_Unmarshal(b []byte) error
type Config ¶
type Config struct {
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
Interfaces []*Interface `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
ExpandRootfs bool `protobuf:"varint,4,opt,name=expand_rootfs,json=expandRootfs,proto3" json:"expand_rootfs,omitempty"`
Mounts []*Mount `protobuf:"bytes,5,rep,name=mounts,proto3" json:"mounts,omitempty"`
Routes []*Route `protobuf:"bytes,6,rep,name=routes,proto3" json:"routes,omitempty"`
Hosts []*Host `protobuf:"bytes,7,rep,name=hosts,proto3" json:"hosts,omitempty"`
NoGrubBootloader bool `protobuf:"varint,8,opt,name=no_grub_bootloader,json=noGrubBootloader,proto3" json:"no_grub_bootloader,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Config) Descriptor ¶
func (*Config) GetExpandRootfs ¶ added in v0.1.8
func (*Config) GetHostname ¶ added in v0.1.5
func (*Config) GetInterfaces ¶
func (*Config) GetNoGrubBootloader ¶ added in v1.1.5
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type DeleteRequest ¶
type DeleteRequest struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetIds ¶
func (m *DeleteRequest) GetIds() []string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResponse ¶
type DeleteResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
func (*DeleteResponse) XXX_DiscardUnknown ¶
func (m *DeleteResponse) XXX_DiscardUnknown()
func (*DeleteResponse) XXX_Marshal ¶
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteResponse) XXX_Merge ¶
func (m *DeleteResponse) XXX_Merge(src proto.Message)
func (*DeleteResponse) XXX_Size ¶
func (m *DeleteResponse) XXX_Size() int
func (*DeleteResponse) XXX_Unmarshal ¶
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
type Dhcp ¶ added in v1.0.0
type Dhcp struct {
Dhcp string `protobuf:"bytes,1,opt,name=dhcp,proto3" json:"dhcp,omitempty"`
UseDns bool `protobuf:"varint,2,opt,name=use_dns,json=useDns,proto3" json:"use_dns,omitempty"`
UseDomains bool `protobuf:"varint,3,opt,name=use_domains,json=useDomains,proto3" json:"use_domains,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Dhcp) Descriptor ¶ added in v1.0.0
func (*Dhcp) GetUseDomains ¶ added in v1.0.0
func (*Dhcp) ProtoMessage ¶ added in v1.0.0
func (*Dhcp) ProtoMessage()
func (*Dhcp) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *Dhcp) XXX_DiscardUnknown()
func (*Dhcp) XXX_Marshal ¶ added in v1.0.0
func (*Dhcp) XXX_Unmarshal ¶ added in v1.0.0
type ForgeClient ¶
type ForgeClient interface {
Forge(ctx context.Context, in *ForgeRequest, opts ...grpc.CallOption) (*ForgeResponse, error)
ReportCompletion(ctx context.Context, in *CompletionRequest, opts ...grpc.CallOption) (*CompletionResponse, error)
GetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
}
ForgeClient is the client API for Forge service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewForgeClient ¶
func NewForgeClient(cc *grpc.ClientConn) ForgeClient
type ForgeRequest ¶
type ForgeRequest struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ForgeRequest) Descriptor ¶
func (*ForgeRequest) Descriptor() ([]byte, []int)
func (*ForgeRequest) GetIds ¶
func (m *ForgeRequest) GetIds() []string
func (*ForgeRequest) ProtoMessage ¶
func (*ForgeRequest) ProtoMessage()
func (*ForgeRequest) Reset ¶
func (m *ForgeRequest) Reset()
func (*ForgeRequest) String ¶
func (m *ForgeRequest) String() string
func (*ForgeRequest) XXX_DiscardUnknown ¶
func (m *ForgeRequest) XXX_DiscardUnknown()
func (*ForgeRequest) XXX_Marshal ¶
func (m *ForgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForgeRequest) XXX_Merge ¶
func (m *ForgeRequest) XXX_Merge(src proto.Message)
func (*ForgeRequest) XXX_Size ¶
func (m *ForgeRequest) XXX_Size() int
func (*ForgeRequest) XXX_Unmarshal ¶
func (m *ForgeRequest) XXX_Unmarshal(b []byte) error
type ForgeResponse ¶
type ForgeResponse struct {
Config *MachineConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ForgeResponse) Descriptor ¶
func (*ForgeResponse) Descriptor() ([]byte, []int)
func (*ForgeResponse) GetConfig ¶
func (m *ForgeResponse) GetConfig() *MachineConfig
func (*ForgeResponse) ProtoMessage ¶
func (*ForgeResponse) ProtoMessage()
func (*ForgeResponse) Reset ¶
func (m *ForgeResponse) Reset()
func (*ForgeResponse) String ¶
func (m *ForgeResponse) String() string
func (*ForgeResponse) XXX_DiscardUnknown ¶
func (m *ForgeResponse) XXX_DiscardUnknown()
func (*ForgeResponse) XXX_Marshal ¶
func (m *ForgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForgeResponse) XXX_Merge ¶
func (m *ForgeResponse) XXX_Merge(src proto.Message)
func (*ForgeResponse) XXX_Size ¶
func (m *ForgeResponse) XXX_Size() int
func (*ForgeResponse) XXX_Unmarshal ¶
func (m *ForgeResponse) XXX_Unmarshal(b []byte) error
type ForgeServer ¶
type ForgeServer interface {
Forge(context.Context, *ForgeRequest) (*ForgeResponse, error)
ReportCompletion(context.Context, *CompletionRequest) (*CompletionResponse, error)
GetStatus(context.Context, *StatusRequest) (*StatusResponse, error)
}
ForgeServer is the server API for Forge service.
type GetRequest ¶
type GetRequest struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetIds ¶
func (m *GetRequest) GetIds() []string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct {
Configs []*MachineConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetConfigs ¶
func (m *GetResponse) GetConfigs() []*MachineConfig
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type Host ¶ added in v1.1.1
type Host struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Ipv4 string `protobuf:"bytes,2,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
Ipv6 string `protobuf:"bytes,3,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Host) Descriptor ¶ added in v1.1.1
func (*Host) ProtoMessage ¶ added in v1.1.1
func (*Host) ProtoMessage()
func (*Host) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *Host) XXX_DiscardUnknown()
func (*Host) XXX_Marshal ¶ added in v1.1.1
func (*Host) XXX_Unmarshal ¶ added in v1.1.1
type Interface ¶
type Interface struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
Addrs []string `protobuf:"bytes,3,rep,name=addrs,proto3" json:"addrs,omitempty"`
Mtu uint32 `protobuf:"varint,4,opt,name=mtu,proto3" json:"mtu,omitempty"`
Vxlan *Vxlan `protobuf:"bytes,5,opt,name=vxlan,proto3" json:"vxlan,omitempty"`
Vlan *Vlan `protobuf:"bytes,6,opt,name=vlan,proto3" json:"vlan,omitempty"`
Dhcp *Dhcp `protobuf:"bytes,7,opt,name=dhcp,proto3" json:"dhcp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Interface) Descriptor ¶
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) XXX_DiscardUnknown ¶
func (m *Interface) XXX_DiscardUnknown()
func (*Interface) XXX_Marshal ¶
func (*Interface) XXX_Unmarshal ¶
type ListRequest ¶
type ListRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type ListResponse ¶
type ListResponse struct {
Result map[string]*Config `` /* 153-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetResult ¶
func (m *ListResponse) GetResult() map[string]*Config
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶
func (m *ListResponse) Reset()
func (*ListResponse) String ¶
func (m *ListResponse) String() string
func (*ListResponse) XXX_DiscardUnknown ¶
func (m *ListResponse) XXX_DiscardUnknown()
func (*ListResponse) XXX_Marshal ¶
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponse) XXX_Merge ¶
func (m *ListResponse) XXX_Merge(src proto.Message)
func (*ListResponse) XXX_Size ¶
func (m *ListResponse) XXX_Size() int
func (*ListResponse) XXX_Unmarshal ¶
func (m *ListResponse) XXX_Unmarshal(b []byte) error
type MachineConfig ¶
type MachineConfig struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Config *Config `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
Ver int64 `protobuf:"varint,3,opt,name=ver,proto3" json:"ver,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MachineConfig) Descriptor ¶
func (*MachineConfig) Descriptor() ([]byte, []int)
func (*MachineConfig) GetConfig ¶
func (m *MachineConfig) GetConfig() *Config
func (*MachineConfig) GetId ¶
func (m *MachineConfig) GetId() string
func (*MachineConfig) GetVer ¶
func (m *MachineConfig) GetVer() int64
func (*MachineConfig) GetVersion ¶
func (m *MachineConfig) GetVersion() int64
func (*MachineConfig) Key ¶
func (m *MachineConfig) Key() string
func (*MachineConfig) ProtoMessage ¶
func (*MachineConfig) ProtoMessage()
func (*MachineConfig) Reset ¶
func (m *MachineConfig) Reset()
func (*MachineConfig) SetVersion ¶
func (m *MachineConfig) SetVersion(v int64)
func (*MachineConfig) String ¶
func (m *MachineConfig) String() string
func (*MachineConfig) Value ¶
func (m *MachineConfig) Value() interface{}
func (*MachineConfig) XXX_DiscardUnknown ¶
func (m *MachineConfig) XXX_DiscardUnknown()
func (*MachineConfig) XXX_Marshal ¶
func (m *MachineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MachineConfig) XXX_Merge ¶
func (m *MachineConfig) XXX_Merge(src proto.Message)
func (*MachineConfig) XXX_Size ¶
func (m *MachineConfig) XXX_Size() int
func (*MachineConfig) XXX_Unmarshal ¶
func (m *MachineConfig) XXX_Unmarshal(b []byte) error
type MachineStatus ¶ added in v1.1.7
type MachineStatus struct {
Configured bool `protobuf:"varint,1,opt,name=configured,proto3" json:"configured,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MachineStatus) Descriptor ¶ added in v1.1.7
func (*MachineStatus) Descriptor() ([]byte, []int)
func (*MachineStatus) GetConfigured ¶ added in v1.1.7
func (m *MachineStatus) GetConfigured() bool
func (*MachineStatus) GetError ¶ added in v1.1.7
func (m *MachineStatus) GetError() string
func (*MachineStatus) GetTimestamp ¶ added in v1.1.7
func (m *MachineStatus) GetTimestamp() int64
func (*MachineStatus) ProtoMessage ¶ added in v1.1.7
func (*MachineStatus) ProtoMessage()
func (*MachineStatus) Reset ¶ added in v1.1.7
func (m *MachineStatus) Reset()
func (*MachineStatus) String ¶ added in v1.1.7
func (m *MachineStatus) String() string
func (*MachineStatus) XXX_DiscardUnknown ¶ added in v1.1.7
func (m *MachineStatus) XXX_DiscardUnknown()
func (*MachineStatus) XXX_Marshal ¶ added in v1.1.7
func (m *MachineStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MachineStatus) XXX_Merge ¶ added in v1.1.7
func (m *MachineStatus) XXX_Merge(src proto.Message)
func (*MachineStatus) XXX_Size ¶ added in v1.1.7
func (m *MachineStatus) XXX_Size() int
func (*MachineStatus) XXX_Unmarshal ¶ added in v1.1.7
func (m *MachineStatus) XXX_Unmarshal(b []byte) error
type ManageClient ¶
type ManageClient interface {
Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
}
ManageClient is the client API for Manage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewManageClient ¶
func NewManageClient(cc *grpc.ClientConn) ManageClient
type ManageServer ¶
type ManageServer interface {
Set(context.Context, *SetRequest) (*SetResponse, error)
Get(context.Context, *GetRequest) (*GetResponse, error)
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
List(context.Context, *ListRequest) (*ListResponse, error)
}
ManageServer is the server API for Manage service.
type Mount ¶ added in v0.1.11
type Mount struct {
Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
KeyUser string `protobuf:"bytes,3,opt,name=keyUser,proto3" json:"keyUser,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
Fstype string `protobuf:"bytes,5,opt,name=fstype,proto3" json:"fstype,omitempty"`
Options string `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
Username string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Mount) Descriptor ¶ added in v0.1.11
func (*Mount) GetKeyUser ¶ added in v0.1.11
func (*Mount) GetOptions ¶ added in v0.1.11
func (*Mount) GetUsername ¶ added in v0.1.11
func (*Mount) ProtoMessage ¶ added in v0.1.11
func (*Mount) ProtoMessage()
func (*Mount) XXX_DiscardUnknown ¶ added in v0.1.11
func (m *Mount) XXX_DiscardUnknown()
func (*Mount) XXX_Marshal ¶ added in v0.1.11
func (*Mount) XXX_Unmarshal ¶ added in v0.1.11
type Route ¶ added in v0.1.13
type Route struct {
Dst string `protobuf:"bytes,1,opt,name=dst,proto3" json:"dst,omitempty"`
Src string `protobuf:"bytes,2,opt,name=src,proto3" json:"src,omitempty"`
Gateway string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
PrefSrc string `protobuf:"bytes,4,opt,name=pref_src,json=prefSrc,proto3" json:"pref_src,omitempty"`
Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
Metrics int32 `protobuf:"varint,6,opt,name=metrics,proto3" json:"metrics,omitempty"`
Table int32 `protobuf:"varint,7,opt,name=table,proto3" json:"table,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Route) Descriptor ¶ added in v0.1.13
func (*Route) GetGateway ¶ added in v0.1.13
func (*Route) GetMetrics ¶ added in v0.1.13
func (*Route) GetPrefSrc ¶ added in v0.1.13
func (*Route) GetPriority ¶ added in v0.1.13
func (*Route) ProtoMessage ¶ added in v0.1.13
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶ added in v0.1.13
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶ added in v0.1.13
func (*Route) XXX_Unmarshal ¶ added in v0.1.13
type SetRequest ¶
type SetRequest struct {
Configs []*MachineConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SetRequest) Descriptor ¶
func (*SetRequest) Descriptor() ([]byte, []int)
func (*SetRequest) GetConfigs ¶
func (m *SetRequest) GetConfigs() []*MachineConfig
func (*SetRequest) ProtoMessage ¶
func (*SetRequest) ProtoMessage()
func (*SetRequest) Reset ¶
func (m *SetRequest) Reset()
func (*SetRequest) String ¶
func (m *SetRequest) String() string
func (*SetRequest) XXX_DiscardUnknown ¶
func (m *SetRequest) XXX_DiscardUnknown()
func (*SetRequest) XXX_Marshal ¶
func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetRequest) XXX_Merge ¶
func (m *SetRequest) XXX_Merge(src proto.Message)
func (*SetRequest) XXX_Size ¶
func (m *SetRequest) XXX_Size() int
func (*SetRequest) XXX_Unmarshal ¶
func (m *SetRequest) XXX_Unmarshal(b []byte) error
type SetResponse ¶
type SetResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SetResponse) Descriptor ¶
func (*SetResponse) Descriptor() ([]byte, []int)
func (*SetResponse) ProtoMessage ¶
func (*SetResponse) ProtoMessage()
func (*SetResponse) Reset ¶
func (m *SetResponse) Reset()
func (*SetResponse) String ¶
func (m *SetResponse) String() string
func (*SetResponse) XXX_DiscardUnknown ¶
func (m *SetResponse) XXX_DiscardUnknown()
func (*SetResponse) XXX_Marshal ¶
func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetResponse) XXX_Merge ¶
func (m *SetResponse) XXX_Merge(src proto.Message)
func (*SetResponse) XXX_Size ¶
func (m *SetResponse) XXX_Size() int
func (*SetResponse) XXX_Unmarshal ¶
func (m *SetResponse) XXX_Unmarshal(b []byte) error
type StatusRequest ¶ added in v1.1.7
type StatusRequest struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StatusRequest) Descriptor ¶ added in v1.1.7
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) GetIds ¶ added in v1.1.7
func (m *StatusRequest) GetIds() []string
func (*StatusRequest) ProtoMessage ¶ added in v1.1.7
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶ added in v1.1.7
func (m *StatusRequest) Reset()
func (*StatusRequest) String ¶ added in v1.1.7
func (m *StatusRequest) String() string
func (*StatusRequest) XXX_DiscardUnknown ¶ added in v1.1.7
func (m *StatusRequest) XXX_DiscardUnknown()
func (*StatusRequest) XXX_Marshal ¶ added in v1.1.7
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusRequest) XXX_Merge ¶ added in v1.1.7
func (m *StatusRequest) XXX_Merge(src proto.Message)
func (*StatusRequest) XXX_Size ¶ added in v1.1.7
func (m *StatusRequest) XXX_Size() int
func (*StatusRequest) XXX_Unmarshal ¶ added in v1.1.7
func (m *StatusRequest) XXX_Unmarshal(b []byte) error
type StatusResponse ¶ added in v1.1.7
type StatusResponse struct {
Statuses map[string]*MachineStatus `` /* 157-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*StatusResponse) Descriptor ¶ added in v1.1.7
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetStatuses ¶ added in v1.1.7
func (m *StatusResponse) GetStatuses() map[string]*MachineStatus
func (*StatusResponse) ProtoMessage ¶ added in v1.1.7
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶ added in v1.1.7
func (m *StatusResponse) Reset()
func (*StatusResponse) String ¶ added in v1.1.7
func (m *StatusResponse) String() string
func (*StatusResponse) XXX_DiscardUnknown ¶ added in v1.1.7
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶ added in v1.1.7
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶ added in v1.1.7
func (m *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶ added in v1.1.7
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶ added in v1.1.7
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
type User ¶
type User struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
Groups []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
SshAuthorizedKeys []string `protobuf:"bytes,4,rep,name=ssh_authorized_keys,json=sshAuthorizedKeys,proto3" json:"ssh_authorized_keys,omitempty"`
SshPrivateKeys []string `protobuf:"bytes,5,rep,name=ssh_private_keys,json=sshPrivateKeys,proto3" json:"ssh_private_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*User) Descriptor ¶
func (*User) GetPassword ¶
func (*User) GetSshAuthorizedKeys ¶
func (*User) GetSshPrivateKeys ¶ added in v1.1.2
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type Vlan ¶
type Vlan struct {
Vid int32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"`
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
Dhcp *Dhcp `protobuf:"bytes,3,opt,name=dhcp,proto3" json:"dhcp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Vlan) Descriptor ¶
func (*Vlan) ProtoMessage ¶
func (*Vlan) ProtoMessage()
func (*Vlan) XXX_DiscardUnknown ¶
func (m *Vlan) XXX_DiscardUnknown()
func (*Vlan) XXX_Unmarshal ¶
type Vxlan ¶
type Vxlan struct {
Vni int32 `protobuf:"varint,1,opt,name=vni,proto3" json:"vni,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Vxlan) Descriptor ¶
func (*Vxlan) ProtoMessage ¶
func (*Vxlan) ProtoMessage()
func (*Vxlan) XXX_DiscardUnknown ¶
func (m *Vxlan) XXX_DiscardUnknown()
func (*Vxlan) XXX_Marshal ¶
func (*Vxlan) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.