Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterConsoleInfraServer(s grpc.ServiceRegistrar, srv ConsoleInfraServer)
- func RegisterConsoleServer(s grpc.ServiceRegistrar, srv ConsoleServer)
- type ArchiveResourcesForClusterIn
- func (*ArchiveResourcesForClusterIn) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveResourcesForClusterIn) GetAccountName() string
- func (x *ArchiveResourcesForClusterIn) GetClusterName() string
- func (x *ArchiveResourcesForClusterIn) GetUserEmail() string
- func (x *ArchiveResourcesForClusterIn) GetUserId() string
- func (x *ArchiveResourcesForClusterIn) GetUserName() string
- func (*ArchiveResourcesForClusterIn) ProtoMessage()
- func (x *ArchiveResourcesForClusterIn) ProtoReflect() protoreflect.Message
- func (x *ArchiveResourcesForClusterIn) Reset()
- func (x *ArchiveResourcesForClusterIn) String() string
- type ArchiveResourcesForClusterOut
- func (*ArchiveResourcesForClusterOut) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveResourcesForClusterOut) GetArchived() bool
- func (*ArchiveResourcesForClusterOut) ProtoMessage()
- func (x *ArchiveResourcesForClusterOut) ProtoReflect() protoreflect.Message
- func (x *ArchiveResourcesForClusterOut) Reset()
- func (x *ArchiveResourcesForClusterOut) String() string
- type ConsoleClient
- type ConsoleInfraClient
- type ConsoleInfraServer
- type ConsoleServer
- type ResourceUpdate
- func (*ResourceUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUpdate) GetClusterId() string
- func (x *ResourceUpdate) GetProjectId() string
- func (x *ResourceUpdate) GetResourceName() string
- func (x *ResourceUpdate) GetResourceType() string
- func (x *ResourceUpdate) GetStatus() map[string]string
- func (*ResourceUpdate) ProtoMessage()
- func (x *ResourceUpdate) ProtoReflect() protoreflect.Message
- func (x *ResourceUpdate) Reset()
- func (x *ResourceUpdate) String() string
- type UnimplementedConsoleInfraServer
- type UnimplementedConsoleServer
- type UnsafeConsoleInfraServer
- type UnsafeConsoleServer
- type UpdateStatusVoid
Constants ¶
const (
Console_ArchiveResourcesForCluster_FullMethodName = "/Console/ArchiveResourcesForCluster"
)
Variables ¶
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)
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)
var File_console_infra_proto protoreflect.FileDescriptor
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 (x *ArchiveResourcesForClusterIn) ProtoReflect() protoreflect.Message
func (*ArchiveResourcesForClusterIn) Reset ¶
func (x *ArchiveResourcesForClusterIn) Reset()
func (*ArchiveResourcesForClusterIn) String ¶
func (x *ArchiveResourcesForClusterIn) String() 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 (x *ArchiveResourcesForClusterOut) ProtoReflect() protoreflect.Message
func (*ArchiveResourcesForClusterOut) Reset ¶
func (x *ArchiveResourcesForClusterOut) Reset()
func (*ArchiveResourcesForClusterOut) String ¶
func (x *ArchiveResourcesForClusterOut) String() 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.
func NewConsoleInfraClient ¶
func NewConsoleInfraClient(cc grpc.ClientConnInterface) ConsoleInfraClient
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 ¶
func (UnimplementedConsoleInfraServer) UpdateStatus(context.Context, *ResourceUpdate) (*UpdateStatusVoid, error)
type UnimplementedConsoleServer ¶
type UnimplementedConsoleServer struct { }
UnimplementedConsoleServer must be embedded to have forward compatible implementations.
func (UnimplementedConsoleServer) ArchiveResourcesForCluster ¶
func (UnimplementedConsoleServer) ArchiveResourcesForCluster(context.Context, *ArchiveResourcesForClusterIn) (*ArchiveResourcesForClusterOut, error)
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