dynamicwindowsv1

package
v0.0.0-...-a1881e9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DynamicWindowsService_ListDynamicWindowsDesktops_FullMethodName  = "/teleport.dynamicwindows.v1.DynamicWindowsService/ListDynamicWindowsDesktops"
	DynamicWindowsService_GetDynamicWindowsDesktop_FullMethodName    = "/teleport.dynamicwindows.v1.DynamicWindowsService/GetDynamicWindowsDesktop"
	DynamicWindowsService_CreateDynamicWindowsDesktop_FullMethodName = "/teleport.dynamicwindows.v1.DynamicWindowsService/CreateDynamicWindowsDesktop"
	DynamicWindowsService_UpdateDynamicWindowsDesktop_FullMethodName = "/teleport.dynamicwindows.v1.DynamicWindowsService/UpdateDynamicWindowsDesktop"
	DynamicWindowsService_UpsertDynamicWindowsDesktop_FullMethodName = "/teleport.dynamicwindows.v1.DynamicWindowsService/UpsertDynamicWindowsDesktop"
	DynamicWindowsService_DeleteDynamicWindowsDesktop_FullMethodName = "/teleport.dynamicwindows.v1.DynamicWindowsService/DeleteDynamicWindowsDesktop"
)

Variables

View Source
var DynamicWindowsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "teleport.dynamicwindows.v1.DynamicWindowsService",
	HandlerType: (*DynamicWindowsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDynamicWindowsDesktops",
			Handler:    _DynamicWindowsService_ListDynamicWindowsDesktops_Handler,
		},
		{
			MethodName: "GetDynamicWindowsDesktop",
			Handler:    _DynamicWindowsService_GetDynamicWindowsDesktop_Handler,
		},
		{
			MethodName: "CreateDynamicWindowsDesktop",
			Handler:    _DynamicWindowsService_CreateDynamicWindowsDesktop_Handler,
		},
		{
			MethodName: "UpdateDynamicWindowsDesktop",
			Handler:    _DynamicWindowsService_UpdateDynamicWindowsDesktop_Handler,
		},
		{
			MethodName: "UpsertDynamicWindowsDesktop",
			Handler:    _DynamicWindowsService_UpsertDynamicWindowsDesktop_Handler,
		},
		{
			MethodName: "DeleteDynamicWindowsDesktop",
			Handler:    _DynamicWindowsService_DeleteDynamicWindowsDesktop_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "teleport/dynamicwindows/v1/dynamicwindows_service.proto",
}

DynamicWindowsService_ServiceDesc is the grpc.ServiceDesc for DynamicWindowsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_teleport_dynamicwindows_v1_dynamicwindows_service_proto protoreflect.FileDescriptor

Functions

func RegisterDynamicWindowsServiceServer

func RegisterDynamicWindowsServiceServer(s grpc.ServiceRegistrar, srv DynamicWindowsServiceServer)

Types

type CreateDynamicWindowsDesktopRequest

type CreateDynamicWindowsDesktopRequest struct {

	// desktop to be created
	Desktop *types.DynamicWindowsDesktopV1 `protobuf:"bytes,1,opt,name=desktop,proto3" json:"desktop,omitempty"`
	// contains filtered or unexported fields
}

CreateDynamicWindowsDesktopRequest is used for creating new dynamic Windows desktops.

func (*CreateDynamicWindowsDesktopRequest) Descriptor deprecated

func (*CreateDynamicWindowsDesktopRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateDynamicWindowsDesktopRequest.ProtoReflect.Descriptor instead.

func (*CreateDynamicWindowsDesktopRequest) GetDesktop

func (*CreateDynamicWindowsDesktopRequest) ProtoMessage

func (*CreateDynamicWindowsDesktopRequest) ProtoMessage()

func (*CreateDynamicWindowsDesktopRequest) ProtoReflect

func (*CreateDynamicWindowsDesktopRequest) Reset

func (*CreateDynamicWindowsDesktopRequest) String

type DeleteDynamicWindowsDesktopRequest

type DeleteDynamicWindowsDesktopRequest struct {

	// name is the name of the Windows desktop host.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteDynamicWindowsDesktopRequest is a request to delete a Windows desktop host.

func (*DeleteDynamicWindowsDesktopRequest) Descriptor deprecated

func (*DeleteDynamicWindowsDesktopRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDynamicWindowsDesktopRequest.ProtoReflect.Descriptor instead.

func (*DeleteDynamicWindowsDesktopRequest) GetName

func (*DeleteDynamicWindowsDesktopRequest) ProtoMessage

func (*DeleteDynamicWindowsDesktopRequest) ProtoMessage()

func (*DeleteDynamicWindowsDesktopRequest) ProtoReflect

func (*DeleteDynamicWindowsDesktopRequest) Reset

func (*DeleteDynamicWindowsDesktopRequest) String

type DynamicWindowsServiceClient

type DynamicWindowsServiceClient interface {
	// GetDynamicWindowsDesktops returns all registered dynamic Windows desktops.
	ListDynamicWindowsDesktops(ctx context.Context, in *ListDynamicWindowsDesktopsRequest, opts ...grpc.CallOption) (*ListDynamicWindowsDesktopsResponse, error)
	// GetDynamicWindowsDesktop returns registered dynamic Windows desktop by name.
	GetDynamicWindowsDesktop(ctx context.Context, in *GetDynamicWindowsDesktopRequest, opts ...grpc.CallOption) (*types.DynamicWindowsDesktopV1, error)
	// CreateDynamicWindowsDesktop registers a new dynamic Windows desktop.
	CreateDynamicWindowsDesktop(ctx context.Context, in *CreateDynamicWindowsDesktopRequest, opts ...grpc.CallOption) (*types.DynamicWindowsDesktopV1, error)
	// UpdateDynamicWindowsDesktop updates an existing dynamic Windows desktop.
	UpdateDynamicWindowsDesktop(ctx context.Context, in *UpdateDynamicWindowsDesktopRequest, opts ...grpc.CallOption) (*types.DynamicWindowsDesktopV1, error)
	// UpsertDynamicWindowsDesktop updates an existing dynamic Windows desktop or creates new if it doesn't exist.
	UpsertDynamicWindowsDesktop(ctx context.Context, in *UpsertDynamicWindowsDesktopRequest, opts ...grpc.CallOption) (*types.DynamicWindowsDesktopV1, error)
	// DeleteDynamicWindowsDesktop removes the specified dynamic Windows desktop.
	DeleteDynamicWindowsDesktop(ctx context.Context, in *DeleteDynamicWindowsDesktopRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DynamicWindowsServiceClient is the client API for DynamicWindowsService 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.

DynamicWindowsService provides methods to access dynamic Windows desktops.

type DynamicWindowsServiceServer

type DynamicWindowsServiceServer interface {
	// GetDynamicWindowsDesktops returns all registered dynamic Windows desktops.
	ListDynamicWindowsDesktops(context.Context, *ListDynamicWindowsDesktopsRequest) (*ListDynamicWindowsDesktopsResponse, error)
	// GetDynamicWindowsDesktop returns registered dynamic Windows desktop by name.
	GetDynamicWindowsDesktop(context.Context, *GetDynamicWindowsDesktopRequest) (*types.DynamicWindowsDesktopV1, error)
	// CreateDynamicWindowsDesktop registers a new dynamic Windows desktop.
	CreateDynamicWindowsDesktop(context.Context, *CreateDynamicWindowsDesktopRequest) (*types.DynamicWindowsDesktopV1, error)
	// UpdateDynamicWindowsDesktop updates an existing dynamic Windows desktop.
	UpdateDynamicWindowsDesktop(context.Context, *UpdateDynamicWindowsDesktopRequest) (*types.DynamicWindowsDesktopV1, error)
	// UpsertDynamicWindowsDesktop updates an existing dynamic Windows desktop or creates new if it doesn't exist.
	UpsertDynamicWindowsDesktop(context.Context, *UpsertDynamicWindowsDesktopRequest) (*types.DynamicWindowsDesktopV1, error)
	// DeleteDynamicWindowsDesktop removes the specified dynamic Windows desktop.
	DeleteDynamicWindowsDesktop(context.Context, *DeleteDynamicWindowsDesktopRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

DynamicWindowsServiceServer is the server API for DynamicWindowsService service. All implementations must embed UnimplementedDynamicWindowsServiceServer for forward compatibility.

DynamicWindowsService provides methods to access dynamic Windows desktops.

type GetDynamicWindowsDesktopRequest

type GetDynamicWindowsDesktopRequest struct {

	// name is the name of the dynamic Windows desktop to be requested.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetDynamicWindowsDesktopRequest is a request for a specific dynamic Windows desktop.

func (*GetDynamicWindowsDesktopRequest) Descriptor deprecated

func (*GetDynamicWindowsDesktopRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDynamicWindowsDesktopRequest.ProtoReflect.Descriptor instead.

func (*GetDynamicWindowsDesktopRequest) GetName

func (*GetDynamicWindowsDesktopRequest) ProtoMessage

func (*GetDynamicWindowsDesktopRequest) ProtoMessage()

func (*GetDynamicWindowsDesktopRequest) ProtoReflect

func (*GetDynamicWindowsDesktopRequest) Reset

func (*GetDynamicWindowsDesktopRequest) String

type ListDynamicWindowsDesktopsRequest

type ListDynamicWindowsDesktopsRequest struct {

	// The maximum number of items to return.
	// The server may impose a different page size at its discretion.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous List request, if any.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListDynamicWindowsDesktopsRequest is request to fetch single page of dynamic Windows desktops

func (*ListDynamicWindowsDesktopsRequest) Descriptor deprecated

func (*ListDynamicWindowsDesktopsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDynamicWindowsDesktopsRequest.ProtoReflect.Descriptor instead.

func (*ListDynamicWindowsDesktopsRequest) GetPageSize

func (x *ListDynamicWindowsDesktopsRequest) GetPageSize() int32

func (*ListDynamicWindowsDesktopsRequest) GetPageToken

func (x *ListDynamicWindowsDesktopsRequest) GetPageToken() string

func (*ListDynamicWindowsDesktopsRequest) ProtoMessage

func (*ListDynamicWindowsDesktopsRequest) ProtoMessage()

func (*ListDynamicWindowsDesktopsRequest) ProtoReflect

func (*ListDynamicWindowsDesktopsRequest) Reset

func (*ListDynamicWindowsDesktopsRequest) String

type ListDynamicWindowsDesktopsResponse

type ListDynamicWindowsDesktopsResponse struct {

	// The page of DynamicWindowsDesktops that matched the request.
	Desktops []*types.DynamicWindowsDesktopV1 `protobuf:"bytes,1,rep,name=desktops,proto3" json:"desktops,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListDynamicWindowsDesktopsRequest is single page of dynamic Windows desktops

func (*ListDynamicWindowsDesktopsResponse) Descriptor deprecated

func (*ListDynamicWindowsDesktopsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDynamicWindowsDesktopsResponse.ProtoReflect.Descriptor instead.

func (*ListDynamicWindowsDesktopsResponse) GetDesktops

func (*ListDynamicWindowsDesktopsResponse) GetNextPageToken

func (x *ListDynamicWindowsDesktopsResponse) GetNextPageToken() string

func (*ListDynamicWindowsDesktopsResponse) ProtoMessage

func (*ListDynamicWindowsDesktopsResponse) ProtoMessage()

func (*ListDynamicWindowsDesktopsResponse) ProtoReflect

func (*ListDynamicWindowsDesktopsResponse) Reset

func (*ListDynamicWindowsDesktopsResponse) String

type UnimplementedDynamicWindowsServiceServer

type UnimplementedDynamicWindowsServiceServer struct{}

UnimplementedDynamicWindowsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDynamicWindowsServiceServer) CreateDynamicWindowsDesktop

func (UnimplementedDynamicWindowsServiceServer) DeleteDynamicWindowsDesktop

func (UnimplementedDynamicWindowsServiceServer) GetDynamicWindowsDesktop

func (UnimplementedDynamicWindowsServiceServer) UpdateDynamicWindowsDesktop

func (UnimplementedDynamicWindowsServiceServer) UpsertDynamicWindowsDesktop

type UnsafeDynamicWindowsServiceServer

type UnsafeDynamicWindowsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDynamicWindowsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DynamicWindowsServiceServer will result in compilation errors.

type UpdateDynamicWindowsDesktopRequest

type UpdateDynamicWindowsDesktopRequest struct {

	// desktop to be updated
	Desktop *types.DynamicWindowsDesktopV1 `protobuf:"bytes,1,opt,name=desktop,proto3" json:"desktop,omitempty"`
	// contains filtered or unexported fields
}

UpdateDynamicWindowsDesktopRequest is used for updating existing dynamic Windows desktops.

func (*UpdateDynamicWindowsDesktopRequest) Descriptor deprecated

func (*UpdateDynamicWindowsDesktopRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDynamicWindowsDesktopRequest.ProtoReflect.Descriptor instead.

func (*UpdateDynamicWindowsDesktopRequest) GetDesktop

func (*UpdateDynamicWindowsDesktopRequest) ProtoMessage

func (*UpdateDynamicWindowsDesktopRequest) ProtoMessage()

func (*UpdateDynamicWindowsDesktopRequest) ProtoReflect

func (*UpdateDynamicWindowsDesktopRequest) Reset

func (*UpdateDynamicWindowsDesktopRequest) String

type UpsertDynamicWindowsDesktopRequest

type UpsertDynamicWindowsDesktopRequest struct {

	// desktop to be upserted
	Desktop *types.DynamicWindowsDesktopV1 `protobuf:"bytes,1,opt,name=desktop,proto3" json:"desktop,omitempty"`
	// contains filtered or unexported fields
}

UpsertDynamicWindowsDesktopRequest is used for upserting dynamic Windows desktops.

func (*UpsertDynamicWindowsDesktopRequest) Descriptor deprecated

func (*UpsertDynamicWindowsDesktopRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpsertDynamicWindowsDesktopRequest.ProtoReflect.Descriptor instead.

func (*UpsertDynamicWindowsDesktopRequest) GetDesktop

func (*UpsertDynamicWindowsDesktopRequest) ProtoMessage

func (*UpsertDynamicWindowsDesktopRequest) ProtoMessage()

func (*UpsertDynamicWindowsDesktopRequest) ProtoReflect

func (*UpsertDynamicWindowsDesktopRequest) Reset

func (*UpsertDynamicWindowsDesktopRequest) String

Jump to

Keyboard shortcuts

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