proto

package
v0.0.359 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_orchestration_proto_service_proto protoreflect.FileDescriptor
View Source
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 (*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 (*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 (*GetOrchestratorVersionRequest) Reset added in v0.0.93

func (x *GetOrchestratorVersionRequest) Reset()

func (*GetOrchestratorVersionRequest) String added in v0.0.93

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 (*GetOrchestratorVersionResponse) Reset added in v0.0.93

func (x *GetOrchestratorVersionResponse) Reset()

func (*GetOrchestratorVersionResponse) String added in v0.0.93

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.

type OrchestrationServiceServer

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) Deploy

func (UnimplementedOrchestrationServiceServer) GetOrchestratorVersion added in v0.0.93

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL