v1

package
v0.4.671 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_lab_v1_lab_proto protoreflect.FileDescriptor

Functions

func RegisterLabServiceServer

func RegisterLabServiceServer(s *grpc.Server, srv LabServiceServer)

Types

type CreateLabRequest

type CreateLabRequest struct {
	Lab *v1alpha1.Lab `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabRequest) Descriptor deprecated

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

Deprecated: Use CreateLabRequest.ProtoReflect.Descriptor instead.

func (*CreateLabRequest) GetLab added in v0.4.472

func (x *CreateLabRequest) GetLab() *v1alpha1.Lab

func (*CreateLabRequest) ProtoMessage

func (*CreateLabRequest) ProtoMessage()

func (*CreateLabRequest) ProtoReflect

func (x *CreateLabRequest) ProtoReflect() protoreflect.Message

func (*CreateLabRequest) Reset

func (x *CreateLabRequest) Reset()

func (*CreateLabRequest) String

func (x *CreateLabRequest) String() string

type CreateLabResponse

type CreateLabResponse struct {
	// contains filtered or unexported fields
}

func (*CreateLabResponse) Descriptor deprecated

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

Deprecated: Use CreateLabResponse.ProtoReflect.Descriptor instead.

func (*CreateLabResponse) ProtoMessage

func (*CreateLabResponse) ProtoMessage()

func (*CreateLabResponse) ProtoReflect

func (x *CreateLabResponse) ProtoReflect() protoreflect.Message

func (*CreateLabResponse) Reset

func (x *CreateLabResponse) Reset()

func (*CreateLabResponse) String

func (x *CreateLabResponse) String() string

type DeleteLabRequest

type DeleteLabRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLabRequest) Descriptor deprecated

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

Deprecated: Use DeleteLabRequest.ProtoReflect.Descriptor instead.

func (*DeleteLabRequest) GetName

func (x *DeleteLabRequest) GetName() string

func (*DeleteLabRequest) GetNamespace

func (x *DeleteLabRequest) GetNamespace() string

func (*DeleteLabRequest) ProtoMessage

func (*DeleteLabRequest) ProtoMessage()

func (*DeleteLabRequest) ProtoReflect

func (x *DeleteLabRequest) ProtoReflect() protoreflect.Message

func (*DeleteLabRequest) Reset

func (x *DeleteLabRequest) Reset()

func (*DeleteLabRequest) String

func (x *DeleteLabRequest) String() string

type DeleteLabResponse

type DeleteLabResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteLabResponse) Descriptor deprecated

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

Deprecated: Use DeleteLabResponse.ProtoReflect.Descriptor instead.

func (*DeleteLabResponse) ProtoMessage

func (*DeleteLabResponse) ProtoMessage()

func (*DeleteLabResponse) ProtoReflect

func (x *DeleteLabResponse) ProtoReflect() protoreflect.Message

func (*DeleteLabResponse) Reset

func (x *DeleteLabResponse) Reset()

func (*DeleteLabResponse) String

func (x *DeleteLabResponse) String() string

type GetLabNamespacesRequest

type GetLabNamespacesRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabNamespacesRequest) Descriptor deprecated

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

Deprecated: Use GetLabNamespacesRequest.ProtoReflect.Descriptor instead.

func (*GetLabNamespacesRequest) GetName

func (x *GetLabNamespacesRequest) GetName() string

func (*GetLabNamespacesRequest) GetNamespace

func (x *GetLabNamespacesRequest) GetNamespace() string

func (*GetLabNamespacesRequest) ProtoMessage

func (*GetLabNamespacesRequest) ProtoMessage()

func (*GetLabNamespacesRequest) ProtoReflect

func (x *GetLabNamespacesRequest) ProtoReflect() protoreflect.Message

func (*GetLabNamespacesRequest) Reset

func (x *GetLabNamespacesRequest) Reset()

func (*GetLabNamespacesRequest) String

func (x *GetLabNamespacesRequest) String() string

type GetLabNamespacesResponse

type GetLabNamespacesResponse struct {
	Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabNamespacesResponse) Descriptor deprecated

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

Deprecated: Use GetLabNamespacesResponse.ProtoReflect.Descriptor instead.

func (*GetLabNamespacesResponse) GetNamespaces

func (x *GetLabNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo

func (*GetLabNamespacesResponse) ProtoMessage

func (*GetLabNamespacesResponse) ProtoMessage()

func (*GetLabNamespacesResponse) ProtoReflect

func (x *GetLabNamespacesResponse) ProtoReflect() protoreflect.Message

func (*GetLabNamespacesResponse) Reset

func (x *GetLabNamespacesResponse) Reset()

func (*GetLabNamespacesResponse) String

func (x *GetLabNamespacesResponse) String() string

type GetLabRequest

type GetLabRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabRequest) Descriptor deprecated

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

Deprecated: Use GetLabRequest.ProtoReflect.Descriptor instead.

func (*GetLabRequest) GetName

func (x *GetLabRequest) GetName() string

func (*GetLabRequest) GetNamespace

func (x *GetLabRequest) GetNamespace() string

func (*GetLabRequest) ProtoMessage

func (*GetLabRequest) ProtoMessage()

func (*GetLabRequest) ProtoReflect

func (x *GetLabRequest) ProtoReflect() protoreflect.Message

func (*GetLabRequest) Reset

func (x *GetLabRequest) Reset()

func (*GetLabRequest) String

func (x *GetLabRequest) String() string

type GetLabResponse

type GetLabResponse struct {
	Lab  *v1alpha1.Lab `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"`
	Yaml string        `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabResponse) Descriptor deprecated

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

Deprecated: Use GetLabResponse.ProtoReflect.Descriptor instead.

func (*GetLabResponse) GetLab added in v0.4.475

func (x *GetLabResponse) GetLab() *v1alpha1.Lab

func (*GetLabResponse) GetYaml

func (x *GetLabResponse) GetYaml() string

func (*GetLabResponse) ProtoMessage

func (*GetLabResponse) ProtoMessage()

func (*GetLabResponse) ProtoReflect

func (x *GetLabResponse) ProtoReflect() protoreflect.Message

func (*GetLabResponse) Reset

func (x *GetLabResponse) Reset()

func (*GetLabResponse) String

func (x *GetLabResponse) String() string

type LabResponse

type LabResponse struct {
	// contains filtered or unexported fields
}

func (*LabResponse) Descriptor deprecated

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

Deprecated: Use LabResponse.ProtoReflect.Descriptor instead.

func (*LabResponse) ProtoMessage

func (*LabResponse) ProtoMessage()

func (*LabResponse) ProtoReflect

func (x *LabResponse) ProtoReflect() protoreflect.Message

func (*LabResponse) Reset

func (x *LabResponse) Reset()

func (*LabResponse) String

func (x *LabResponse) String() string

type LabServiceClient

type LabServiceClient interface {
	ListLabs(ctx context.Context, in *ListLabsRequest, opts ...grpc.CallOption) (*ListLabsResponse, error)
	CreateLab(ctx context.Context, in *CreateLabRequest, opts ...grpc.CallOption) (*CreateLabResponse, error)
	GetLab(ctx context.Context, in *GetLabRequest, opts ...grpc.CallOption) (*GetLabResponse, error)
	UpdateLab(ctx context.Context, in *UpdateLabRequest, opts ...grpc.CallOption) (*UpdateLabResponse, error)
	DeleteLab(ctx context.Context, in *DeleteLabRequest, opts ...grpc.CallOption) (*DeleteLabResponse, error)
}

LabServiceClient is the client API for LabService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLabServiceClient

func NewLabServiceClient(cc grpc.ClientConnInterface) LabServiceClient

type LabServiceServer

LabServiceServer is the server API for LabService service.

type ListLabsRequest

type ListLabsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLabsRequest) Descriptor deprecated

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

Deprecated: Use ListLabsRequest.ProtoReflect.Descriptor instead.

func (*ListLabsRequest) GetLabels

func (x *ListLabsRequest) GetLabels() map[string]string

func (*ListLabsRequest) GetNamespace

func (x *ListLabsRequest) GetNamespace() string

func (*ListLabsRequest) GetOrderBy added in v0.4.414

func (x *ListLabsRequest) GetOrderBy() string

func (*ListLabsRequest) GetPageSize added in v0.4.414

func (x *ListLabsRequest) GetPageSize() int32

func (*ListLabsRequest) GetPageToken added in v0.4.414

func (x *ListLabsRequest) GetPageToken() string

func (*ListLabsRequest) ProtoMessage

func (*ListLabsRequest) ProtoMessage()

func (*ListLabsRequest) ProtoReflect

func (x *ListLabsRequest) ProtoReflect() protoreflect.Message

func (*ListLabsRequest) Reset

func (x *ListLabsRequest) Reset()

func (*ListLabsRequest) String

func (x *ListLabsRequest) String() string

type ListLabsResponse

type ListLabsResponse struct {
	Labs          *v1alpha1.LabList `protobuf:"bytes,1,opt,name=labs,proto3" json:"labs,omitempty"`
	NextPageToken string            `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLabsResponse) Descriptor deprecated

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

Deprecated: Use ListLabsResponse.ProtoReflect.Descriptor instead.

func (*ListLabsResponse) GetLabs added in v0.4.472

func (x *ListLabsResponse) GetLabs() *v1alpha1.LabList

func (*ListLabsResponse) GetNextPageToken added in v0.4.472

func (x *ListLabsResponse) GetNextPageToken() string

func (*ListLabsResponse) ProtoMessage

func (*ListLabsResponse) ProtoMessage()

func (*ListLabsResponse) ProtoReflect

func (x *ListLabsResponse) ProtoReflect() protoreflect.Message

func (*ListLabsResponse) Reset

func (x *ListLabsResponse) Reset()

func (*ListLabsResponse) String

func (x *ListLabsResponse) String() string

type UnimplementedLabServiceServer

type UnimplementedLabServiceServer struct {
}

UnimplementedLabServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLabServiceServer) CreateLab

func (*UnimplementedLabServiceServer) DeleteLab

func (*UnimplementedLabServiceServer) GetLab

func (*UnimplementedLabServiceServer) ListLabs

func (*UnimplementedLabServiceServer) UpdateLab

type UpdateLabRequest

type UpdateLabRequest struct {
	Lab       *v1alpha1.Lab         `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"`
	FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLabRequest) Descriptor deprecated

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

Deprecated: Use UpdateLabRequest.ProtoReflect.Descriptor instead.

func (*UpdateLabRequest) GetFieldMask added in v0.4.422

func (x *UpdateLabRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdateLabRequest) GetLab added in v0.4.475

func (x *UpdateLabRequest) GetLab() *v1alpha1.Lab

func (*UpdateLabRequest) ProtoMessage

func (*UpdateLabRequest) ProtoMessage()

func (*UpdateLabRequest) ProtoReflect

func (x *UpdateLabRequest) ProtoReflect() protoreflect.Message

func (*UpdateLabRequest) Reset

func (x *UpdateLabRequest) Reset()

func (*UpdateLabRequest) String

func (x *UpdateLabRequest) String() string

type UpdateLabResponse

type UpdateLabResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateLabResponse) Descriptor deprecated

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

Deprecated: Use UpdateLabResponse.ProtoReflect.Descriptor instead.

func (*UpdateLabResponse) ProtoMessage

func (*UpdateLabResponse) ProtoMessage()

func (*UpdateLabResponse) ProtoReflect

func (x *UpdateLabResponse) ProtoReflect() protoreflect.Message

func (*UpdateLabResponse) Reset

func (x *UpdateLabResponse) Reset()

func (*UpdateLabResponse) String

func (x *UpdateLabResponse) String() string

Jump to

Keyboard shortcuts

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