Documentation ¶
Index ¶
- Variables
- func RegisterTerraServer(s *grpc.Server, srv TerraServer)
- type ApplyRequest
- func (*ApplyRequest) Descriptor() ([]byte, []int)
- func (m *ApplyRequest) GetForce() bool
- func (m *ApplyRequest) GetManifestList() *ManifestList
- func (*ApplyRequest) ProtoMessage()
- func (m *ApplyRequest) Reset()
- func (m *ApplyRequest) String() string
- func (m *ApplyRequest) XXX_DiscardUnknown()
- func (m *ApplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ApplyRequest) XXX_Merge(src proto.Message)
- func (m *ApplyRequest) XXX_Size() int
- func (m *ApplyRequest) XXX_Unmarshal(b []byte) error
- type Assembly
- func (*Assembly) Descriptor() ([]byte, []int)
- func (m *Assembly) GetImage() string
- func (m *Assembly) GetParameters() map[string]string
- func (m *Assembly) GetRequires() []string
- func (*Assembly) ProtoMessage()
- func (m *Assembly) Reset()
- func (m *Assembly) String() string
- func (m *Assembly) XXX_DiscardUnknown()
- func (m *Assembly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Assembly) XXX_Merge(src proto.Message)
- func (m *Assembly) XXX_Size() int
- func (m *Assembly) 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 (dst *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) GetManifestList() *ManifestList
- 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 (dst *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)
- func (m *Manifest) GetAssemblies() []*Assembly
- func (m *Manifest) GetLabels() map[string]string
- func (m *Manifest) GetNodeID() string
- func (*Manifest) ProtoMessage()
- func (m *Manifest) Reset()
- func (m *Manifest) String() string
- func (m *Manifest) XXX_DiscardUnknown()
- func (m *Manifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Manifest) XXX_Merge(src proto.Message)
- func (m *Manifest) XXX_Size() int
- func (m *Manifest) XXX_Unmarshal(b []byte) error
- type ManifestList
- func (*ManifestList) Descriptor() ([]byte, []int)
- func (m *ManifestList) GetManifests() []*Manifest
- func (m *ManifestList) GetUpdated() time.Time
- func (*ManifestList) ProtoMessage()
- func (m *ManifestList) Reset()
- func (m *ManifestList) String() string
- func (m *ManifestList) XXX_DiscardUnknown()
- func (m *ManifestList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ManifestList) XXX_Merge(src proto.Message)
- func (m *ManifestList) XXX_Size() int
- func (m *ManifestList) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAddress() string
- func (m *Node) GetID() string
- func (m *Node) GetLabels() map[string]string
- func (m *Node) GetStatus() *NodeStatus
- func (m *Node) GetVersion() string
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)
- func (m *NodeStatus) GetDescription() string
- func (m *NodeStatus) GetStatus() NodeStatus_Status
- func (*NodeStatus) ProtoMessage()
- func (m *NodeStatus) Reset()
- func (m *NodeStatus) String() string
- func (m *NodeStatus) XXX_DiscardUnknown()
- func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeStatus) XXX_Merge(src proto.Message)
- func (m *NodeStatus) XXX_Size() int
- func (m *NodeStatus) XXX_Unmarshal(b []byte) error
- type NodeStatus_Status
- type NodesRequest
- func (*NodesRequest) Descriptor() ([]byte, []int)
- func (*NodesRequest) ProtoMessage()
- func (m *NodesRequest) Reset()
- func (m *NodesRequest) String() string
- func (m *NodesRequest) XXX_DiscardUnknown()
- func (m *NodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodesRequest) XXX_Merge(src proto.Message)
- func (m *NodesRequest) XXX_Size() int
- func (m *NodesRequest) XXX_Unmarshal(b []byte) error
- type NodesResponse
- func (*NodesResponse) Descriptor() ([]byte, []int)
- func (m *NodesResponse) GetNodes() []*Node
- func (*NodesResponse) ProtoMessage()
- func (m *NodesResponse) Reset()
- func (m *NodesResponse) String() string
- func (m *NodesResponse) XXX_DiscardUnknown()
- func (m *NodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodesResponse) XXX_Merge(src proto.Message)
- func (m *NodesResponse) XXX_Size() int
- func (m *NodesResponse) XXX_Unmarshal(b []byte) error
- type RebootRequest
- func (*RebootRequest) Descriptor() ([]byte, []int)
- func (*RebootRequest) ProtoMessage()
- func (m *RebootRequest) Reset()
- func (m *RebootRequest) String() string
- func (m *RebootRequest) XXX_DiscardUnknown()
- func (m *RebootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RebootRequest) XXX_Merge(src proto.Message)
- func (m *RebootRequest) XXX_Size() int
- func (m *RebootRequest) XXX_Unmarshal(b []byte) error
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- 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 (dst *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) GetNodeStatus() *NodeStatus
- 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 (dst *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
- type TerraClient
- type TerraServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetForce() bool
- func (m *UpdateRequest) GetManifestList() *ManifestList
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) String() string
- func (m *UpdateRequest) XXX_DiscardUnknown()
- func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRequest) XXX_Size() int
- func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)
- func (*VersionRequest) ProtoMessage()
- func (m *VersionRequest) Reset()
- func (m *VersionRequest) String() string
- func (m *VersionRequest) XXX_DiscardUnknown()
- func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VersionRequest) XXX_Merge(src proto.Message)
- func (m *VersionRequest) XXX_Size() int
- func (m *VersionRequest) XXX_Unmarshal(b []byte) error
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)
- func (m *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (m *VersionResponse) Reset()
- func (m *VersionResponse) String() string
- func (m *VersionResponse) XXX_DiscardUnknown()
- func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VersionResponse) XXX_Merge(src proto.Message)
- func (m *VersionResponse) XXX_Size() int
- func (m *VersionResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeStatus_Status_name = map[int32]string{
0: "UNKNOWN",
1: "OK",
2: "UPDATING",
3: "FAILURE",
}
View Source
var NodeStatus_Status_value = map[string]int32{
"UNKNOWN": 0,
"OK": 1,
"UPDATING": 2,
"FAILURE": 3,
}
Functions ¶
func RegisterTerraServer ¶
func RegisterTerraServer(s *grpc.Server, srv TerraServer)
Types ¶
type ApplyRequest ¶
type ApplyRequest struct { ManifestList *ManifestList `protobuf:"bytes,1,opt,name=manifest_list,json=manifestList" json:"manifest_list,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ApplyRequest) Descriptor ¶
func (*ApplyRequest) Descriptor() ([]byte, []int)
func (*ApplyRequest) GetForce ¶
func (m *ApplyRequest) GetForce() bool
func (*ApplyRequest) GetManifestList ¶
func (m *ApplyRequest) GetManifestList() *ManifestList
func (*ApplyRequest) ProtoMessage ¶
func (*ApplyRequest) ProtoMessage()
func (*ApplyRequest) Reset ¶
func (m *ApplyRequest) Reset()
func (*ApplyRequest) String ¶
func (m *ApplyRequest) String() string
func (*ApplyRequest) XXX_DiscardUnknown ¶
func (m *ApplyRequest) XXX_DiscardUnknown()
func (*ApplyRequest) XXX_Marshal ¶
func (m *ApplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyRequest) XXX_Merge ¶
func (dst *ApplyRequest) XXX_Merge(src proto.Message)
func (*ApplyRequest) XXX_Size ¶
func (m *ApplyRequest) XXX_Size() int
func (*ApplyRequest) XXX_Unmarshal ¶
func (m *ApplyRequest) XXX_Unmarshal(b []byte) error
type Assembly ¶
type Assembly struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Requires []string `protobuf:"bytes,2,rep,name=requires" json:"requires,omitempty"` Parameters map[string]string `` /* 154-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Assembly) Descriptor ¶
func (*Assembly) GetParameters ¶
func (*Assembly) GetRequires ¶
func (*Assembly) ProtoMessage ¶
func (*Assembly) ProtoMessage()
func (*Assembly) XXX_DiscardUnknown ¶
func (m *Assembly) XXX_DiscardUnknown()
func (*Assembly) XXX_Marshal ¶
func (*Assembly) 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 (dst *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 { ManifestList *ManifestList `protobuf:"bytes,1,opt,name=manifest_list,json=manifestList" json:"manifest_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetManifestList ¶
func (m *ListResponse) GetManifestList() *ManifestList
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 (dst *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 Manifest ¶
type Manifest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ Assemblies []*Assembly `protobuf:"bytes,3,rep,name=assemblies" json:"assemblies,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Manifest) Descriptor ¶
func (*Manifest) GetAssemblies ¶
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) XXX_DiscardUnknown ¶
func (m *Manifest) XXX_DiscardUnknown()
func (*Manifest) XXX_Marshal ¶
func (*Manifest) XXX_Unmarshal ¶
type ManifestList ¶
type ManifestList struct { Manifests []*Manifest `protobuf:"bytes,1,rep,name=manifests" json:"manifests,omitempty"` Updated time.Time `protobuf:"bytes,2,opt,name=updated,stdtime" json:"updated"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestList) Descriptor ¶
func (*ManifestList) Descriptor() ([]byte, []int)
func (*ManifestList) GetManifests ¶
func (m *ManifestList) GetManifests() []*Manifest
func (*ManifestList) GetUpdated ¶
func (m *ManifestList) GetUpdated() time.Time
func (*ManifestList) ProtoMessage ¶
func (*ManifestList) ProtoMessage()
func (*ManifestList) Reset ¶
func (m *ManifestList) Reset()
func (*ManifestList) String ¶
func (m *ManifestList) String() string
func (*ManifestList) XXX_DiscardUnknown ¶
func (m *ManifestList) XXX_DiscardUnknown()
func (*ManifestList) XXX_Marshal ¶
func (m *ManifestList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestList) XXX_Merge ¶
func (dst *ManifestList) XXX_Merge(src proto.Message)
func (*ManifestList) XXX_Size ¶
func (m *ManifestList) XXX_Size() int
func (*ManifestList) XXX_Unmarshal ¶
func (m *ManifestList) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Labels map[string]string `` /* 146-byte string literal not displayed */ Status *NodeStatus `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Node) Descriptor ¶
func (*Node) GetAddress ¶
func (*Node) GetStatus ¶
func (m *Node) GetStatus() *NodeStatus
func (*Node) GetVersion ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type NodeStatus ¶
type NodeStatus struct { Status NodeStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=io.stellarproject.terra.v1.NodeStatus_Status" json:"status,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeStatus) Descriptor ¶
func (*NodeStatus) Descriptor() ([]byte, []int)
func (*NodeStatus) GetDescription ¶
func (m *NodeStatus) GetDescription() string
func (*NodeStatus) GetStatus ¶
func (m *NodeStatus) GetStatus() NodeStatus_Status
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) Reset ¶
func (m *NodeStatus) Reset()
func (*NodeStatus) String ¶
func (m *NodeStatus) String() string
func (*NodeStatus) XXX_DiscardUnknown ¶
func (m *NodeStatus) XXX_DiscardUnknown()
func (*NodeStatus) XXX_Marshal ¶
func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeStatus) XXX_Merge ¶
func (dst *NodeStatus) XXX_Merge(src proto.Message)
func (*NodeStatus) XXX_Size ¶
func (m *NodeStatus) XXX_Size() int
func (*NodeStatus) XXX_Unmarshal ¶
func (m *NodeStatus) XXX_Unmarshal(b []byte) error
type NodeStatus_Status ¶
type NodeStatus_Status int32
const ( NodeStatus_UNKNOWN NodeStatus_Status = 0 NodeStatus_OK NodeStatus_Status = 1 NodeStatus_UPDATING NodeStatus_Status = 2 NodeStatus_FAILURE NodeStatus_Status = 3 )
func (NodeStatus_Status) EnumDescriptor ¶
func (NodeStatus_Status) EnumDescriptor() ([]byte, []int)
func (NodeStatus_Status) String ¶
func (x NodeStatus_Status) String() string
type NodesRequest ¶
type NodesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodesRequest) Descriptor ¶
func (*NodesRequest) Descriptor() ([]byte, []int)
func (*NodesRequest) ProtoMessage ¶
func (*NodesRequest) ProtoMessage()
func (*NodesRequest) Reset ¶
func (m *NodesRequest) Reset()
func (*NodesRequest) String ¶
func (m *NodesRequest) String() string
func (*NodesRequest) XXX_DiscardUnknown ¶
func (m *NodesRequest) XXX_DiscardUnknown()
func (*NodesRequest) XXX_Marshal ¶
func (m *NodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodesRequest) XXX_Merge ¶
func (dst *NodesRequest) XXX_Merge(src proto.Message)
func (*NodesRequest) XXX_Size ¶
func (m *NodesRequest) XXX_Size() int
func (*NodesRequest) XXX_Unmarshal ¶
func (m *NodesRequest) XXX_Unmarshal(b []byte) error
type NodesResponse ¶
type NodesResponse struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodesResponse) Descriptor ¶
func (*NodesResponse) Descriptor() ([]byte, []int)
func (*NodesResponse) GetNodes ¶
func (m *NodesResponse) GetNodes() []*Node
func (*NodesResponse) ProtoMessage ¶
func (*NodesResponse) ProtoMessage()
func (*NodesResponse) Reset ¶
func (m *NodesResponse) Reset()
func (*NodesResponse) String ¶
func (m *NodesResponse) String() string
func (*NodesResponse) XXX_DiscardUnknown ¶
func (m *NodesResponse) XXX_DiscardUnknown()
func (*NodesResponse) XXX_Marshal ¶
func (m *NodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodesResponse) XXX_Merge ¶
func (dst *NodesResponse) XXX_Merge(src proto.Message)
func (*NodesResponse) XXX_Size ¶
func (m *NodesResponse) XXX_Size() int
func (*NodesResponse) XXX_Unmarshal ¶
func (m *NodesResponse) XXX_Unmarshal(b []byte) error
type RebootRequest ¶
type RebootRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RebootRequest) Descriptor ¶
func (*RebootRequest) Descriptor() ([]byte, []int)
func (*RebootRequest) ProtoMessage ¶
func (*RebootRequest) ProtoMessage()
func (*RebootRequest) Reset ¶
func (m *RebootRequest) Reset()
func (*RebootRequest) String ¶
func (m *RebootRequest) String() string
func (*RebootRequest) XXX_DiscardUnknown ¶
func (m *RebootRequest) XXX_DiscardUnknown()
func (*RebootRequest) XXX_Marshal ¶
func (m *RebootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RebootRequest) XXX_Merge ¶
func (dst *RebootRequest) XXX_Merge(src proto.Message)
func (*RebootRequest) XXX_Size ¶
func (m *RebootRequest) XXX_Size() int
func (*RebootRequest) XXX_Unmarshal ¶
func (m *RebootRequest) XXX_Unmarshal(b []byte) error
type StatusRequest ¶
type StatusRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusRequest) Descriptor ¶
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶
func (m *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (m *StatusRequest) String() string
func (*StatusRequest) XXX_DiscardUnknown ¶
func (m *StatusRequest) XXX_DiscardUnknown()
func (*StatusRequest) XXX_Marshal ¶
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusRequest) XXX_Merge ¶
func (dst *StatusRequest) XXX_Merge(src proto.Message)
func (*StatusRequest) XXX_Size ¶
func (m *StatusRequest) XXX_Size() int
func (*StatusRequest) XXX_Unmarshal ¶
func (m *StatusRequest) XXX_Unmarshal(b []byte) error
type StatusResponse ¶
type StatusResponse struct { NodeStatus *NodeStatus `protobuf:"bytes,1,opt,name=node_status,json=nodeStatus" json:"node_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetNodeStatus ¶
func (m *StatusResponse) GetNodeStatus() *NodeStatus
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (m *StatusResponse) String() string
func (*StatusResponse) XXX_DiscardUnknown ¶
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶
func (dst *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
type TerraClient ¶
type TerraClient interface { // List is used to list manifests List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Apply applies a manifest directly to the node Apply(ctx context.Context, in *ApplyRequest, opts ...grpc.CallOption) (*types.Empty, error) // Nodes returns a list of nodes Nodes(ctx context.Context, in *NodesRequest, opts ...grpc.CallOption) (*NodesResponse, error) // Status returns the current node status Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) // Update updates the current manifest list for the cluster Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*types.Empty, error) // Version reports the version of terra Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) // RebootNode reboots the specified node RebootNode(ctx context.Context, in *RebootRequest, opts ...grpc.CallOption) (*types.Empty, error) }
TerraClient is the client API for Terra service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTerraClient ¶
func NewTerraClient(cc *grpc.ClientConn) TerraClient
type TerraServer ¶
type TerraServer interface { // List is used to list manifests List(context.Context, *ListRequest) (*ListResponse, error) // Apply applies a manifest directly to the node Apply(context.Context, *ApplyRequest) (*types.Empty, error) // Nodes returns a list of nodes Nodes(context.Context, *NodesRequest) (*NodesResponse, error) // Status returns the current node status Status(context.Context, *StatusRequest) (*StatusResponse, error) // Update updates the current manifest list for the cluster Update(context.Context, *UpdateRequest) (*types.Empty, error) // Version reports the version of terra Version(context.Context, *VersionRequest) (*VersionResponse, error) // RebootNode reboots the specified node RebootNode(context.Context, *RebootRequest) (*types.Empty, error) }
TerraServer is the server API for Terra service.
type UpdateRequest ¶
type UpdateRequest struct { ManifestList *ManifestList `protobuf:"bytes,1,opt,name=manifest_list,json=manifestList" json:"manifest_list,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateRequest) Descriptor ¶
func (*UpdateRequest) Descriptor() ([]byte, []int)
func (*UpdateRequest) GetForce ¶
func (m *UpdateRequest) GetForce() bool
func (*UpdateRequest) GetManifestList ¶
func (m *UpdateRequest) GetManifestList() *ManifestList
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) Reset ¶
func (m *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (m *UpdateRequest) String() string
func (*UpdateRequest) XXX_DiscardUnknown ¶
func (m *UpdateRequest) XXX_DiscardUnknown()
func (*UpdateRequest) XXX_Marshal ¶
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRequest) XXX_Merge ¶
func (dst *UpdateRequest) XXX_Merge(src proto.Message)
func (*UpdateRequest) XXX_Size ¶
func (m *UpdateRequest) XXX_Size() int
func (*UpdateRequest) XXX_Unmarshal ¶
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
type VersionRequest ¶
type VersionRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionRequest) Descriptor ¶
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (m *VersionRequest) String() string
func (*VersionRequest) XXX_DiscardUnknown ¶
func (m *VersionRequest) XXX_DiscardUnknown()
func (*VersionRequest) XXX_Marshal ¶
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionRequest) XXX_Merge ¶
func (dst *VersionRequest) XXX_Merge(src proto.Message)
func (*VersionRequest) XXX_Size ¶
func (m *VersionRequest) XXX_Size() int
func (*VersionRequest) XXX_Unmarshal ¶
func (m *VersionRequest) XXX_Unmarshal(b []byte) error
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetVersion ¶
func (m *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
func (*VersionResponse) XXX_DiscardUnknown ¶
func (m *VersionResponse) XXX_DiscardUnknown()
func (*VersionResponse) XXX_Marshal ¶
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionResponse) XXX_Merge ¶
func (dst *VersionResponse) XXX_Merge(src proto.Message)
func (*VersionResponse) XXX_Size ¶
func (m *VersionResponse) XXX_Size() int
func (*VersionResponse) XXX_Unmarshal ¶
func (m *VersionResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.