Documentation ¶
Index ¶
- Variables
- func RegisterOrchestrationServiceServer(s grpc.ServiceRegistrar, srv OrchestrationServiceServer)
- type AreServicesReadyRequest
- func (*AreServicesReadyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AreServicesReadyRequest) GetDeployable() *runtime.Deployable
- func (x *AreServicesReadyRequest) GetNamespace() string
- func (*AreServicesReadyRequest) ProtoMessage()
- func (x *AreServicesReadyRequest) ProtoReflect() protoreflect.Message
- func (x *AreServicesReadyRequest) Reset()
- func (x *AreServicesReadyRequest) String() string
- type AreServicesReadyResponse
- func (*AreServicesReadyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AreServicesReadyResponse) GetMessage() string
- func (x *AreServicesReadyResponse) GetReady() bool
- func (*AreServicesReadyResponse) ProtoMessage()
- func (x *AreServicesReadyResponse) ProtoReflect() protoreflect.Message
- func (x *AreServicesReadyResponse) Reset()
- func (x *AreServicesReadyResponse) String() string
- type DeployRequest
- func (*DeployRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployRequest) GetAuth() *InternalUserAuth
- func (x *DeployRequest) GetAws() *configuration.Configuration
- func (x *DeployRequest) GetHostEnv() *client.HostEnv
- func (x *DeployRequest) GetPlan() *schema.DeployPlan
- func (x *DeployRequest) GetSerializedAuth() []byte
- func (*DeployRequest) ProtoMessage()
- func (x *DeployRequest) ProtoReflect() protoreflect.Message
- func (x *DeployRequest) Reset()
- func (x *DeployRequest) String() string
- type DeployResponse
- type DeploymentStatusRequest
- func (*DeploymentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentStatusRequest) GetId() string
- func (x *DeploymentStatusRequest) GetLogLevel() int32
- func (*DeploymentStatusRequest) ProtoMessage()
- func (x *DeploymentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *DeploymentStatusRequest) Reset()
- func (x *DeploymentStatusRequest) String() string
- type DeploymentStatusResponse
- func (*DeploymentStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentStatusResponse) GetEvent() *orchestration.Event
- func (x *DeploymentStatusResponse) GetLog() *protolog.Log
- func (*DeploymentStatusResponse) ProtoMessage()
- func (x *DeploymentStatusResponse) ProtoReflect() protoreflect.Message
- func (x *DeploymentStatusResponse) Reset()
- func (x *DeploymentStatusResponse) String() string
- type GetOrchestratorVersionRequest
- func (*GetOrchestratorVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrchestratorVersionRequest) GetSkipCache() bool
- func (*GetOrchestratorVersionRequest) ProtoMessage()
- func (x *GetOrchestratorVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrchestratorVersionRequest) Reset()
- func (x *GetOrchestratorVersionRequest) String() string
- type GetOrchestratorVersionResponse
- func (*GetOrchestratorVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrchestratorVersionResponse) GetCurrent() int32
- func (x *GetOrchestratorVersionResponse) GetLatest() int32
- func (*GetOrchestratorVersionResponse) ProtoMessage()
- func (x *GetOrchestratorVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrchestratorVersionResponse) Reset()
- func (x *GetOrchestratorVersionResponse) String() string
- type InternalUserAuth
- func (*InternalUserAuth) Descriptor() ([]byte, []int)deprecated
- func (x *InternalUserAuth) GetOpaque() []byte
- func (x *InternalUserAuth) GetOrg() string
- func (x *InternalUserAuth) GetUsername() string
- func (*InternalUserAuth) ProtoMessage()
- func (x *InternalUserAuth) ProtoReflect() protoreflect.Message
- func (x *InternalUserAuth) Reset()
- func (x *InternalUserAuth) String() string
- type OrchestrationServiceClient
- type OrchestrationServiceServer
- type OrchestrationService_DeploymentStatusClient
- type OrchestrationService_DeploymentStatusServer
- type UnimplementedOrchestrationServiceServer
- func (UnimplementedOrchestrationServiceServer) AreServicesReady(context.Context, *AreServicesReadyRequest) (*AreServicesReadyResponse, error)
- func (UnimplementedOrchestrationServiceServer) Deploy(context.Context, *DeployRequest) (*DeployResponse, error)
- func (UnimplementedOrchestrationServiceServer) DeploymentStatus(*DeploymentStatusRequest, OrchestrationService_DeploymentStatusServer) error
- func (UnimplementedOrchestrationServiceServer) GetOrchestratorVersion(context.Context, *GetOrchestratorVersionRequest) (*GetOrchestratorVersionResponse, error)
- type UnsafeOrchestrationServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_orchestration_proto_service_proto protoreflect.FileDescriptor
var OrchestrationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nsl.orchestration.OrchestrationService", HandlerType: (*OrchestrationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Deploy", Handler: _OrchestrationService_Deploy_Handler, }, { MethodName: "GetOrchestratorVersion", Handler: _OrchestrationService_GetOrchestratorVersion_Handler, }, { MethodName: "AreServicesReady", Handler: _OrchestrationService_AreServicesReady_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "DeploymentStatus", Handler: _OrchestrationService_DeploymentStatus_Handler, ServerStreams: true, }, }, Metadata: "orchestration/proto/service.proto", }
OrchestrationService_ServiceDesc is the grpc.ServiceDesc for OrchestrationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrchestrationServiceServer ¶
func RegisterOrchestrationServiceServer(s grpc.ServiceRegistrar, srv OrchestrationServiceServer)
Types ¶
type AreServicesReadyRequest ¶ added in v0.0.157
type AreServicesReadyRequest struct { Deployable *runtime.Deployable `protobuf:"bytes,1,opt,name=deployable,proto3" json:"deployable,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*AreServicesReadyRequest) Descriptor
deprecated
added in
v0.0.157
func (*AreServicesReadyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AreServicesReadyRequest.ProtoReflect.Descriptor instead.
func (*AreServicesReadyRequest) GetDeployable ¶ added in v0.0.157
func (x *AreServicesReadyRequest) GetDeployable() *runtime.Deployable
func (*AreServicesReadyRequest) GetNamespace ¶ added in v0.0.157
func (x *AreServicesReadyRequest) GetNamespace() string
func (*AreServicesReadyRequest) ProtoMessage ¶ added in v0.0.157
func (*AreServicesReadyRequest) ProtoMessage()
func (*AreServicesReadyRequest) ProtoReflect ¶ added in v0.0.157
func (x *AreServicesReadyRequest) ProtoReflect() protoreflect.Message
func (*AreServicesReadyRequest) Reset ¶ added in v0.0.157
func (x *AreServicesReadyRequest) Reset()
func (*AreServicesReadyRequest) String ¶ added in v0.0.157
func (x *AreServicesReadyRequest) String() string
type AreServicesReadyResponse ¶ added in v0.0.157
type AreServicesReadyResponse struct { Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*AreServicesReadyResponse) Descriptor
deprecated
added in
v0.0.157
func (*AreServicesReadyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AreServicesReadyResponse.ProtoReflect.Descriptor instead.
func (*AreServicesReadyResponse) GetMessage ¶ added in v0.0.157
func (x *AreServicesReadyResponse) GetMessage() string
func (*AreServicesReadyResponse) GetReady ¶ added in v0.0.157
func (x *AreServicesReadyResponse) GetReady() bool
func (*AreServicesReadyResponse) ProtoMessage ¶ added in v0.0.157
func (*AreServicesReadyResponse) ProtoMessage()
func (*AreServicesReadyResponse) ProtoReflect ¶ added in v0.0.157
func (x *AreServicesReadyResponse) ProtoReflect() protoreflect.Message
func (*AreServicesReadyResponse) Reset ¶ added in v0.0.157
func (x *AreServicesReadyResponse) Reset()
func (*AreServicesReadyResponse) String ¶ added in v0.0.157
func (x *AreServicesReadyResponse) String() string
type DeployRequest ¶
type DeployRequest struct { Plan *schema.DeployPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` Aws *configuration.Configuration `protobuf:"bytes,4,opt,name=aws,proto3" json:"aws,omitempty"` Auth *InternalUserAuth `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"` // Time-limited Namespace session. SerializedAuth []byte `protobuf:"bytes,6,opt,name=serialized_auth,json=serializedAuth,proto3" json:"serialized_auth,omitempty"` HostEnv *client.HostEnv `protobuf:"bytes,7,opt,name=host_env,json=hostEnv,proto3" json:"host_env,omitempty"` // contains filtered or unexported fields }
func (*DeployRequest) Descriptor
deprecated
func (*DeployRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployRequest.ProtoReflect.Descriptor instead.
func (*DeployRequest) GetAuth ¶
func (x *DeployRequest) GetAuth() *InternalUserAuth
func (*DeployRequest) GetAws ¶
func (x *DeployRequest) GetAws() *configuration.Configuration
func (*DeployRequest) GetHostEnv ¶ added in v0.0.142
func (x *DeployRequest) GetHostEnv() *client.HostEnv
func (*DeployRequest) GetPlan ¶
func (x *DeployRequest) GetPlan() *schema.DeployPlan
func (*DeployRequest) GetSerializedAuth ¶ added in v0.0.96
func (x *DeployRequest) GetSerializedAuth() []byte
func (*DeployRequest) ProtoMessage ¶
func (*DeployRequest) ProtoMessage()
func (*DeployRequest) ProtoReflect ¶
func (x *DeployRequest) ProtoReflect() protoreflect.Message
func (*DeployRequest) Reset ¶
func (x *DeployRequest) Reset()
func (*DeployRequest) String ¶
func (x *DeployRequest) String() string
type DeployResponse ¶
type DeployResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Deployment to follow // contains filtered or unexported fields }
func (*DeployResponse) Descriptor
deprecated
func (*DeployResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployResponse.ProtoReflect.Descriptor instead.
func (*DeployResponse) GetId ¶
func (x *DeployResponse) GetId() string
func (*DeployResponse) ProtoMessage ¶
func (*DeployResponse) ProtoMessage()
func (*DeployResponse) ProtoReflect ¶
func (x *DeployResponse) ProtoReflect() protoreflect.Message
func (*DeployResponse) Reset ¶
func (x *DeployResponse) Reset()
func (*DeployResponse) String ¶
func (x *DeployResponse) String() string
type DeploymentStatusRequest ¶
type DeploymentStatusRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Deployment to follow LogLevel int32 `protobuf:"varint,2,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` // contains filtered or unexported fields }
func (*DeploymentStatusRequest) Descriptor
deprecated
func (*DeploymentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentStatusRequest.ProtoReflect.Descriptor instead.
func (*DeploymentStatusRequest) GetId ¶
func (x *DeploymentStatusRequest) GetId() string
func (*DeploymentStatusRequest) GetLogLevel ¶
func (x *DeploymentStatusRequest) GetLogLevel() int32
func (*DeploymentStatusRequest) ProtoMessage ¶
func (*DeploymentStatusRequest) ProtoMessage()
func (*DeploymentStatusRequest) ProtoReflect ¶
func (x *DeploymentStatusRequest) ProtoReflect() protoreflect.Message
func (*DeploymentStatusRequest) Reset ¶
func (x *DeploymentStatusRequest) Reset()
func (*DeploymentStatusRequest) String ¶
func (x *DeploymentStatusRequest) String() string
type DeploymentStatusResponse ¶
type DeploymentStatusResponse struct { Event *orchestration.Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` Log *protolog.Log `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*DeploymentStatusResponse) Descriptor
deprecated
func (*DeploymentStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentStatusResponse.ProtoReflect.Descriptor instead.
func (*DeploymentStatusResponse) GetEvent ¶
func (x *DeploymentStatusResponse) GetEvent() *orchestration.Event
func (*DeploymentStatusResponse) GetLog ¶
func (x *DeploymentStatusResponse) GetLog() *protolog.Log
func (*DeploymentStatusResponse) ProtoMessage ¶
func (*DeploymentStatusResponse) ProtoMessage()
func (*DeploymentStatusResponse) ProtoReflect ¶
func (x *DeploymentStatusResponse) ProtoReflect() protoreflect.Message
func (*DeploymentStatusResponse) Reset ¶
func (x *DeploymentStatusResponse) Reset()
func (*DeploymentStatusResponse) String ¶
func (x *DeploymentStatusResponse) String() string
type GetOrchestratorVersionRequest ¶ added in v0.0.93
type GetOrchestratorVersionRequest struct { SkipCache bool `protobuf:"varint,1,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty"` // contains filtered or unexported fields }
func (*GetOrchestratorVersionRequest) Descriptor
deprecated
added in
v0.0.93
func (*GetOrchestratorVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrchestratorVersionRequest.ProtoReflect.Descriptor instead.
func (*GetOrchestratorVersionRequest) GetSkipCache ¶ added in v0.0.93
func (x *GetOrchestratorVersionRequest) GetSkipCache() bool
func (*GetOrchestratorVersionRequest) ProtoMessage ¶ added in v0.0.93
func (*GetOrchestratorVersionRequest) ProtoMessage()
func (*GetOrchestratorVersionRequest) ProtoReflect ¶ added in v0.0.93
func (x *GetOrchestratorVersionRequest) ProtoReflect() protoreflect.Message
func (*GetOrchestratorVersionRequest) Reset ¶ added in v0.0.93
func (x *GetOrchestratorVersionRequest) Reset()
func (*GetOrchestratorVersionRequest) String ¶ added in v0.0.93
func (x *GetOrchestratorVersionRequest) String() string
type GetOrchestratorVersionResponse ¶ added in v0.0.93
type GetOrchestratorVersionResponse struct { Current int32 `protobuf:"varint,6,opt,name=current,proto3" json:"current,omitempty"` Latest int32 `protobuf:"varint,7,opt,name=latest,proto3" json:"latest,omitempty"` // contains filtered or unexported fields }
func (*GetOrchestratorVersionResponse) Descriptor
deprecated
added in
v0.0.93
func (*GetOrchestratorVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrchestratorVersionResponse.ProtoReflect.Descriptor instead.
func (*GetOrchestratorVersionResponse) GetCurrent ¶ added in v0.0.93
func (x *GetOrchestratorVersionResponse) GetCurrent() int32
func (*GetOrchestratorVersionResponse) GetLatest ¶ added in v0.0.112
func (x *GetOrchestratorVersionResponse) GetLatest() int32
func (*GetOrchestratorVersionResponse) ProtoMessage ¶ added in v0.0.93
func (*GetOrchestratorVersionResponse) ProtoMessage()
func (*GetOrchestratorVersionResponse) ProtoReflect ¶ added in v0.0.93
func (x *GetOrchestratorVersionResponse) ProtoReflect() protoreflect.Message
func (*GetOrchestratorVersionResponse) Reset ¶ added in v0.0.93
func (x *GetOrchestratorVersionResponse) Reset()
func (*GetOrchestratorVersionResponse) String ¶ added in v0.0.93
func (x *GetOrchestratorVersionResponse) String() string
type InternalUserAuth ¶ added in v0.0.96
type InternalUserAuth struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` Opaque []byte `protobuf:"bytes,3,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*InternalUserAuth) Descriptor
deprecated
added in
v0.0.96
func (*InternalUserAuth) Descriptor() ([]byte, []int)
Deprecated: Use InternalUserAuth.ProtoReflect.Descriptor instead.
func (*InternalUserAuth) GetOpaque ¶ added in v0.0.96
func (x *InternalUserAuth) GetOpaque() []byte
func (*InternalUserAuth) GetOrg ¶ added in v0.0.96
func (x *InternalUserAuth) GetOrg() string
func (*InternalUserAuth) GetUsername ¶ added in v0.0.96
func (x *InternalUserAuth) GetUsername() string
func (*InternalUserAuth) ProtoMessage ¶ added in v0.0.96
func (*InternalUserAuth) ProtoMessage()
func (*InternalUserAuth) ProtoReflect ¶ added in v0.0.96
func (x *InternalUserAuth) ProtoReflect() protoreflect.Message
func (*InternalUserAuth) Reset ¶ added in v0.0.96
func (x *InternalUserAuth) Reset()
func (*InternalUserAuth) String ¶ added in v0.0.96
func (x *InternalUserAuth) String() string
type OrchestrationServiceClient ¶
type OrchestrationServiceClient interface { Deploy(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*DeployResponse, error) DeploymentStatus(ctx context.Context, in *DeploymentStatusRequest, opts ...grpc.CallOption) (OrchestrationService_DeploymentStatusClient, error) GetOrchestratorVersion(ctx context.Context, in *GetOrchestratorVersionRequest, opts ...grpc.CallOption) (*GetOrchestratorVersionResponse, error) AreServicesReady(ctx context.Context, in *AreServicesReadyRequest, opts ...grpc.CallOption) (*AreServicesReadyResponse, error) }
OrchestrationServiceClient is the client API for OrchestrationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrchestrationServiceClient ¶
func NewOrchestrationServiceClient(cc grpc.ClientConnInterface) OrchestrationServiceClient
type OrchestrationServiceServer ¶
type OrchestrationServiceServer interface { Deploy(context.Context, *DeployRequest) (*DeployResponse, error) DeploymentStatus(*DeploymentStatusRequest, OrchestrationService_DeploymentStatusServer) error GetOrchestratorVersion(context.Context, *GetOrchestratorVersionRequest) (*GetOrchestratorVersionResponse, error) AreServicesReady(context.Context, *AreServicesReadyRequest) (*AreServicesReadyResponse, error) }
OrchestrationServiceServer is the server API for OrchestrationService service. All implementations should embed UnimplementedOrchestrationServiceServer for forward compatibility
type OrchestrationService_DeploymentStatusClient ¶
type OrchestrationService_DeploymentStatusClient interface { Recv() (*DeploymentStatusResponse, error) grpc.ClientStream }
type OrchestrationService_DeploymentStatusServer ¶
type OrchestrationService_DeploymentStatusServer interface { Send(*DeploymentStatusResponse) error grpc.ServerStream }
type UnimplementedOrchestrationServiceServer ¶
type UnimplementedOrchestrationServiceServer struct { }
UnimplementedOrchestrationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOrchestrationServiceServer) AreServicesReady ¶ added in v0.0.157
func (UnimplementedOrchestrationServiceServer) AreServicesReady(context.Context, *AreServicesReadyRequest) (*AreServicesReadyResponse, error)
func (UnimplementedOrchestrationServiceServer) Deploy ¶
func (UnimplementedOrchestrationServiceServer) Deploy(context.Context, *DeployRequest) (*DeployResponse, error)
func (UnimplementedOrchestrationServiceServer) DeploymentStatus ¶
func (UnimplementedOrchestrationServiceServer) DeploymentStatus(*DeploymentStatusRequest, OrchestrationService_DeploymentStatusServer) error
func (UnimplementedOrchestrationServiceServer) GetOrchestratorVersion ¶ added in v0.0.93
func (UnimplementedOrchestrationServiceServer) GetOrchestratorVersion(context.Context, *GetOrchestratorVersionRequest) (*GetOrchestratorVersionResponse, error)
type UnsafeOrchestrationServiceServer ¶
type UnsafeOrchestrationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrchestrationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrchestrationServiceServer will result in compilation errors.