console

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Console_ArchiveResourcesForCluster_FullMethodName = "/Console/ArchiveResourcesForCluster"
)

Variables

View Source
var ConsoleInfra_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ConsoleInfra",
	HandlerType: (*ConsoleInfraServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateStatus",
			Handler:    _ConsoleInfra_UpdateStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "console-infra.proto",
}

ConsoleInfra_ServiceDesc is the grpc.ServiceDesc for ConsoleInfra 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 Console_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Console",
	HandlerType: (*ConsoleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ArchiveResourcesForCluster",
			Handler:    _Console_ArchiveResourcesForCluster_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "console.proto",
}

Console_ServiceDesc is the grpc.ServiceDesc for Console 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_console_infra_proto protoreflect.FileDescriptor
View Source
var File_console_proto protoreflect.FileDescriptor

Functions

func RegisterConsoleInfraServer

func RegisterConsoleInfraServer(s grpc.ServiceRegistrar, srv ConsoleInfraServer)

func RegisterConsoleServer

func RegisterConsoleServer(s grpc.ServiceRegistrar, srv ConsoleServer)

Types

type ArchiveResourcesForClusterIn

type ArchiveResourcesForClusterIn struct {
	UserId      string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	UserName    string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	UserEmail   string `protobuf:"bytes,3,opt,name=userEmail,proto3" json:"userEmail,omitempty"`
	AccountName string `protobuf:"bytes,4,opt,name=accountName,proto3" json:"accountName,omitempty"`
	ClusterName string `protobuf:"bytes,5,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchiveResourcesForClusterIn) Descriptor deprecated

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

Deprecated: Use ArchiveResourcesForClusterIn.ProtoReflect.Descriptor instead.

func (*ArchiveResourcesForClusterIn) GetAccountName

func (x *ArchiveResourcesForClusterIn) GetAccountName() string

func (*ArchiveResourcesForClusterIn) GetClusterName

func (x *ArchiveResourcesForClusterIn) GetClusterName() string

func (*ArchiveResourcesForClusterIn) GetUserEmail

func (x *ArchiveResourcesForClusterIn) GetUserEmail() string

func (*ArchiveResourcesForClusterIn) GetUserId

func (x *ArchiveResourcesForClusterIn) GetUserId() string

func (*ArchiveResourcesForClusterIn) GetUserName

func (x *ArchiveResourcesForClusterIn) GetUserName() string

func (*ArchiveResourcesForClusterIn) ProtoMessage

func (*ArchiveResourcesForClusterIn) ProtoMessage()

func (*ArchiveResourcesForClusterIn) ProtoReflect

func (*ArchiveResourcesForClusterIn) Reset

func (x *ArchiveResourcesForClusterIn) Reset()

func (*ArchiveResourcesForClusterIn) String

type ArchiveResourcesForClusterOut

type ArchiveResourcesForClusterOut struct {
	Archived bool `protobuf:"varint,1,opt,name=archived,proto3" json:"archived,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchiveResourcesForClusterOut) Descriptor deprecated

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

Deprecated: Use ArchiveResourcesForClusterOut.ProtoReflect.Descriptor instead.

func (*ArchiveResourcesForClusterOut) GetArchived

func (x *ArchiveResourcesForClusterOut) GetArchived() bool

func (*ArchiveResourcesForClusterOut) ProtoMessage

func (*ArchiveResourcesForClusterOut) ProtoMessage()

func (*ArchiveResourcesForClusterOut) ProtoReflect

func (*ArchiveResourcesForClusterOut) Reset

func (x *ArchiveResourcesForClusterOut) Reset()

func (*ArchiveResourcesForClusterOut) String

type ConsoleClient

type ConsoleClient interface {
	ArchiveResourcesForCluster(ctx context.Context, in *ArchiveResourcesForClusterIn, opts ...grpc.CallOption) (*ArchiveResourcesForClusterOut, error)
}

ConsoleClient is the client API for Console 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 NewConsoleClient

func NewConsoleClient(cc grpc.ClientConnInterface) ConsoleClient

type ConsoleInfraClient

type ConsoleInfraClient interface {
	UpdateStatus(ctx context.Context, in *ResourceUpdate, opts ...grpc.CallOption) (*UpdateStatusVoid, error)
}

ConsoleInfraClient is the client API for ConsoleInfra 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 ConsoleInfraServer

type ConsoleInfraServer interface {
	UpdateStatus(context.Context, *ResourceUpdate) (*UpdateStatusVoid, error)
	// contains filtered or unexported methods
}

ConsoleInfraServer is the server API for ConsoleInfra service. All implementations must embed UnimplementedConsoleInfraServer for forward compatibility

type ConsoleServer

type ConsoleServer interface {
	ArchiveResourcesForCluster(context.Context, *ArchiveResourcesForClusterIn) (*ArchiveResourcesForClusterOut, error)
	// contains filtered or unexported methods
}

ConsoleServer is the server API for Console service. All implementations must embed UnimplementedConsoleServer for forward compatibility

type ResourceUpdate

type ResourceUpdate struct {
	ResourceName string            `protobuf:"bytes,1,opt,name=resourceName,proto3" json:"resourceName,omitempty"`
	ResourceType string            `protobuf:"bytes,2,opt,name=resourceType,proto3" json:"resourceType,omitempty"`
	ProjectId    string            `protobuf:"bytes,3,opt,name=projectId,proto3" json:"projectId,omitempty"`
	ClusterId    string            `protobuf:"bytes,4,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	Status       map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResourceUpdate) Descriptor deprecated

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

Deprecated: Use ResourceUpdate.ProtoReflect.Descriptor instead.

func (*ResourceUpdate) GetClusterId

func (x *ResourceUpdate) GetClusterId() string

func (*ResourceUpdate) GetProjectId

func (x *ResourceUpdate) GetProjectId() string

func (*ResourceUpdate) GetResourceName

func (x *ResourceUpdate) GetResourceName() string

func (*ResourceUpdate) GetResourceType

func (x *ResourceUpdate) GetResourceType() string

func (*ResourceUpdate) GetStatus

func (x *ResourceUpdate) GetStatus() map[string]string

func (*ResourceUpdate) ProtoMessage

func (*ResourceUpdate) ProtoMessage()

func (*ResourceUpdate) ProtoReflect

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

func (*ResourceUpdate) Reset

func (x *ResourceUpdate) Reset()

func (*ResourceUpdate) String

func (x *ResourceUpdate) String() string

type UnimplementedConsoleInfraServer

type UnimplementedConsoleInfraServer struct {
}

UnimplementedConsoleInfraServer must be embedded to have forward compatible implementations.

func (UnimplementedConsoleInfraServer) UpdateStatus

type UnimplementedConsoleServer

type UnimplementedConsoleServer struct {
}

UnimplementedConsoleServer must be embedded to have forward compatible implementations.

type UnsafeConsoleInfraServer

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

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

type UnsafeConsoleServer

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

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

type UpdateStatusVoid

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

func (*UpdateStatusVoid) Descriptor deprecated

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

Deprecated: Use UpdateStatusVoid.ProtoReflect.Descriptor instead.

func (*UpdateStatusVoid) ProtoMessage

func (*UpdateStatusVoid) ProtoMessage()

func (*UpdateStatusVoid) ProtoReflect

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

func (*UpdateStatusVoid) Reset

func (x *UpdateStatusVoid) Reset()

func (*UpdateStatusVoid) String

func (x *UpdateStatusVoid) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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