Documentation ¶
Index ¶
- Constants
- Variables
- func NewServer(state *internalState, fidStore store.Singleton) *grpc.Server
- func Run(cfg Config) error
- type Config
- type Labels
- type RpcServer
- func (*RpcServer) ControlEnvironment(context.Context, *pb.ControlEnvironmentRequest) (*pb.ControlEnvironmentReply, error)
- func (*RpcServer) DestroyEnvironment(context.Context, *pb.DestroyEnvironmentRequest) (*pb.DestroyEnvironmentReply, error)
- func (m *RpcServer) GetEnvironment(cxt context.Context, req *pb.GetEnvironmentRequest) (*pb.GetEnvironmentReply, error)
- func (m *RpcServer) GetEnvironments(context.Context, *pb.GetEnvironmentsRequest) (*pb.GetEnvironmentsReply, error)
- func (m *RpcServer) GetFrameworkInfo(context.Context, *pb.GetFrameworkInfoRequest) (*pb.GetFrameworkInfoReply, error)
- func (m *RpcServer) GetRoles(context.Context, *pb.GetRolesRequest) (*pb.GetRolesReply, error)
- func (*RpcServer) ModifyEnvironment(context.Context, *pb.ModifyEnvironmentRequest) (*pb.ModifyEnvironmentReply, error)
- func (m *RpcServer) NewEnvironment(cxt context.Context, request *pb.NewEnvironmentRequest) (*pb.NewEnvironmentReply, error)
- func (*RpcServer) Teardown(context.Context, *pb.TeardownRequest) (*pb.TeardownReply, error)
- func (*RpcServer) TrackStatus(*pb.StatusRequest, pb.Octl_TrackStatusServer) error
- type StateError
- type URL
Constants ¶
View Source
const AuthModeBasic = "basic"
Variables ¶
View Source
var ( RegistrationMinBackoff = 1 * time.Second RegistrationMaxBackoff = 15 * time.Second )
Functions ¶
Types ¶
type RpcServer ¶
type RpcServer struct {
// contains filtered or unexported fields
}
Implements interface pb.OctlServer
func (*RpcServer) ControlEnvironment ¶
func (*RpcServer) DestroyEnvironment ¶
func (*RpcServer) GetEnvironment ¶
func (*RpcServer) GetEnvironments ¶
func (*RpcServer) GetFrameworkInfo ¶
func (*RpcServer) ModifyEnvironment ¶
func (*RpcServer) NewEnvironment ¶
func (*RpcServer) TrackStatus ¶
type StateError ¶
type StateError string
StateError is returned when the system encounters an unresolvable state transition error and should likely exit.
func (StateError) Error ¶
func (err StateError) Error() string
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.