Documentation
¶
Index ¶
- Variables
- func RegisterClustersServer(s grpc.ServiceRegistrar, srv ClustersServer)
- type CRD
- func (in *CRD) DeepCopy() *CRD
- func (in *CRD) DeepCopyInterface() interface{}
- func (in *CRD) DeepCopyInto(out *CRD)
- func (*CRD) Descriptor() ([]byte, []int)deprecated
- func (x *CRD) GetColumns() []*CRDColumn
- func (x *CRD) GetDescription() string
- func (x *CRD) GetPath() string
- func (x *CRD) GetResource() string
- func (x *CRD) GetScope() string
- func (x *CRD) GetTitle() string
- func (*CRD) ProtoMessage()
- func (x *CRD) ProtoReflect() protoreflect.Message
- func (x *CRD) Reset()
- func (x *CRD) String() string
- type CRDColumn
- func (in *CRDColumn) DeepCopy() *CRDColumn
- func (in *CRDColumn) DeepCopyInterface() interface{}
- func (in *CRDColumn) DeepCopyInto(out *CRDColumn)
- func (*CRDColumn) Descriptor() ([]byte, []int)deprecated
- func (x *CRDColumn) GetDescription() string
- func (x *CRDColumn) GetJsonPath() string
- func (x *CRDColumn) GetName() string
- func (x *CRDColumn) GetType() string
- func (*CRDColumn) ProtoMessage()
- func (x *CRDColumn) ProtoReflect() protoreflect.Message
- func (x *CRDColumn) Reset()
- func (x *CRDColumn) String() string
- type ClustersClient
- type ClustersServer
- type GetApplicationRequest
- func (in *GetApplicationRequest) DeepCopy() *GetApplicationRequest
- func (in *GetApplicationRequest) DeepCopyInterface() interface{}
- func (in *GetApplicationRequest) DeepCopyInto(out *GetApplicationRequest)
- func (*GetApplicationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplicationRequest) GetCluster() string
- func (x *GetApplicationRequest) GetName() string
- func (x *GetApplicationRequest) GetNamespace() string
- func (*GetApplicationRequest) ProtoMessage()
- func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
- func (x *GetApplicationRequest) Reset()
- func (x *GetApplicationRequest) String() string
- type GetApplicationResponse
- func (in *GetApplicationResponse) DeepCopy() *GetApplicationResponse
- func (in *GetApplicationResponse) DeepCopyInterface() interface{}
- func (in *GetApplicationResponse) DeepCopyInto(out *GetApplicationResponse)
- func (*GetApplicationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplicationResponse) GetApplication() *proto1.Application
- func (*GetApplicationResponse) ProtoMessage()
- func (x *GetApplicationResponse) ProtoReflect() protoreflect.Message
- func (x *GetApplicationResponse) Reset()
- func (x *GetApplicationResponse) String() string
- type GetApplicationsRequest
- func (in *GetApplicationsRequest) DeepCopy() *GetApplicationsRequest
- func (in *GetApplicationsRequest) DeepCopyInterface() interface{}
- func (in *GetApplicationsRequest) DeepCopyInto(out *GetApplicationsRequest)
- func (*GetApplicationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplicationsRequest) GetClusters() []string
- func (x *GetApplicationsRequest) GetNamespaces() []string
- func (*GetApplicationsRequest) ProtoMessage()
- func (x *GetApplicationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetApplicationsRequest) Reset()
- func (x *GetApplicationsRequest) String() string
- type GetApplicationsResponse
- func (in *GetApplicationsResponse) DeepCopy() *GetApplicationsResponse
- func (in *GetApplicationsResponse) DeepCopyInterface() interface{}
- func (in *GetApplicationsResponse) DeepCopyInto(out *GetApplicationsResponse)
- func (*GetApplicationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplicationsResponse) GetApplications() []*proto1.Application
- func (*GetApplicationsResponse) ProtoMessage()
- func (x *GetApplicationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetApplicationsResponse) Reset()
- func (x *GetApplicationsResponse) String() string
- type GetCRDsRequest
- func (in *GetCRDsRequest) DeepCopy() *GetCRDsRequest
- func (in *GetCRDsRequest) DeepCopyInterface() interface{}
- func (in *GetCRDsRequest) DeepCopyInto(out *GetCRDsRequest)
- func (*GetCRDsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCRDsRequest) ProtoMessage()
- func (x *GetCRDsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCRDsRequest) Reset()
- func (x *GetCRDsRequest) String() string
- type GetCRDsResponse
- func (in *GetCRDsResponse) DeepCopy() *GetCRDsResponse
- func (in *GetCRDsResponse) DeepCopyInterface() interface{}
- func (in *GetCRDsResponse) DeepCopyInto(out *GetCRDsResponse)
- func (*GetCRDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCRDsResponse) GetCrds() []*CRD
- func (*GetCRDsResponse) ProtoMessage()
- func (x *GetCRDsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCRDsResponse) Reset()
- func (x *GetCRDsResponse) String() string
- type GetClustersRequest
- func (in *GetClustersRequest) DeepCopy() *GetClustersRequest
- func (in *GetClustersRequest) DeepCopyInterface() interface{}
- func (in *GetClustersRequest) DeepCopyInto(out *GetClustersRequest)
- func (*GetClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetClustersRequest) ProtoMessage()
- func (x *GetClustersRequest) ProtoReflect() protoreflect.Message
- func (x *GetClustersRequest) Reset()
- func (x *GetClustersRequest) String() string
- type GetClustersResponse
- func (in *GetClustersResponse) DeepCopy() *GetClustersResponse
- func (in *GetClustersResponse) DeepCopyInterface() interface{}
- func (in *GetClustersResponse) DeepCopyInto(out *GetClustersResponse)
- func (*GetClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClustersResponse) GetClusters() []string
- func (*GetClustersResponse) ProtoMessage()
- func (x *GetClustersResponse) ProtoReflect() protoreflect.Message
- func (x *GetClustersResponse) Reset()
- func (x *GetClustersResponse) String() string
- type GetNamespacesRequest
- func (in *GetNamespacesRequest) DeepCopy() *GetNamespacesRequest
- func (in *GetNamespacesRequest) DeepCopyInterface() interface{}
- func (in *GetNamespacesRequest) DeepCopyInto(out *GetNamespacesRequest)
- func (*GetNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespacesRequest) GetClusters() []string
- func (*GetNamespacesRequest) ProtoMessage()
- func (x *GetNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespacesRequest) Reset()
- func (x *GetNamespacesRequest) String() string
- type GetNamespacesResponse
- func (in *GetNamespacesResponse) DeepCopy() *GetNamespacesResponse
- func (in *GetNamespacesResponse) DeepCopyInterface() interface{}
- func (in *GetNamespacesResponse) DeepCopyInto(out *GetNamespacesResponse)
- func (*GetNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespacesResponse) GetNamespaces() []string
- func (*GetNamespacesResponse) ProtoMessage()
- func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetNamespacesResponse) Reset()
- func (x *GetNamespacesResponse) String() string
- type GetResourcesRequest
- func (in *GetResourcesRequest) DeepCopy() *GetResourcesRequest
- func (in *GetResourcesRequest) DeepCopyInterface() interface{}
- func (in *GetResourcesRequest) DeepCopyInto(out *GetResourcesRequest)
- func (*GetResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcesRequest) GetClusters() []string
- func (x *GetResourcesRequest) GetNamespaces() []string
- func (x *GetResourcesRequest) GetParam() string
- func (x *GetResourcesRequest) GetParamName() string
- func (x *GetResourcesRequest) GetPath() string
- func (x *GetResourcesRequest) GetResource() string
- func (*GetResourcesRequest) ProtoMessage()
- func (x *GetResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourcesRequest) Reset()
- func (x *GetResourcesRequest) String() string
- type GetResourcesResponse
- func (in *GetResourcesResponse) DeepCopy() *GetResourcesResponse
- func (in *GetResourcesResponse) DeepCopyInterface() interface{}
- func (in *GetResourcesResponse) DeepCopyInto(out *GetResourcesResponse)
- func (*GetResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcesResponse) GetResources() []*Resources
- func (*GetResourcesResponse) ProtoMessage()
- func (x *GetResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourcesResponse) Reset()
- func (x *GetResourcesResponse) String() string
- type Resources
- func (in *Resources) DeepCopy() *Resources
- func (in *Resources) DeepCopyInterface() interface{}
- func (in *Resources) DeepCopyInto(out *Resources)
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetCluster() string
- func (x *Resources) GetNamespace() string
- func (x *Resources) GetResourceList() string
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (x *Resources) String() string
- type UnimplementedClustersServer
- func (UnimplementedClustersServer) GetApplication(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error)
- func (UnimplementedClustersServer) GetApplications(context.Context, *GetApplicationsRequest) (*GetApplicationsResponse, error)
- func (UnimplementedClustersServer) GetCRDs(context.Context, *GetCRDsRequest) (*GetCRDsResponse, error)
- func (UnimplementedClustersServer) GetClusters(context.Context, *GetClustersRequest) (*GetClustersResponse, error)
- func (UnimplementedClustersServer) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error)
- func (UnimplementedClustersServer) GetResources(context.Context, *GetResourcesRequest) (*GetResourcesResponse, error)
- type UnsafeClustersServer
Constants ¶
This section is empty.
Variables ¶
var Clusters_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clusters.Clusters", HandlerType: (*ClustersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetClusters", Handler: _Clusters_GetClusters_Handler, }, { MethodName: "GetNamespaces", Handler: _Clusters_GetNamespaces_Handler, }, { MethodName: "GetCRDs", Handler: _Clusters_GetCRDs_Handler, }, { MethodName: "GetResources", Handler: _Clusters_GetResources_Handler, }, { MethodName: "GetApplications", Handler: _Clusters_GetApplications_Handler, }, { MethodName: "GetApplication", Handler: _Clusters_GetApplication_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "clusters.proto", }
Clusters_ServiceDesc is the grpc.ServiceDesc for Clusters service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_clusters_proto protoreflect.FileDescriptor
Functions ¶
func RegisterClustersServer ¶
func RegisterClustersServer(s grpc.ServiceRegistrar, srv ClustersServer)
Types ¶
type CRD ¶
type CRD struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"` Columns []*CRDColumn `protobuf:"bytes,6,rep,name=columns,proto3" json:"columns,omitempty"` // contains filtered or unexported fields }
CRD is the format of a Custom Resource Definition. Each CRD must contain a path and resource, which are used for the API request to retrieve all CRs for a CRD. It also must contain a title (kind), an optional description, the scope of the CRs (namespaced vs. cluster) and an optional list of columns with the fields, which should be shown in the frontend table.
func (*CRD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRD. Required by controller-gen.
func (*CRD) DeepCopyInterface ¶
func (in *CRD) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CRD. Required by controller-gen.
func (*CRD) DeepCopyInto ¶
DeepCopyInto supports using CRD within kubernetes types, where deepcopy-gen is used.
func (*CRD) Descriptor
deprecated
func (*CRD) GetColumns ¶
func (*CRD) GetDescription ¶
func (*CRD) GetResource ¶
func (*CRD) ProtoMessage ¶
func (*CRD) ProtoMessage()
func (*CRD) ProtoReflect ¶
func (x *CRD) ProtoReflect() protoreflect.Message
type CRDColumn ¶
type CRDColumn struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` JsonPath string `protobuf:"bytes,2,opt,name=jsonPath,proto3" json:"jsonPath,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
CRDColumn is a single column for the CRD. A column has the same fields as the additionalPrinterColumns from the CRD specs. This means each column contains a description, name, a type to formate the value returned by the given jsonPath.
func (*CRDColumn) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDColumn. Required by controller-gen.
func (*CRDColumn) DeepCopyInterface ¶
func (in *CRDColumn) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CRDColumn. Required by controller-gen.
func (*CRDColumn) DeepCopyInto ¶
DeepCopyInto supports using CRDColumn within kubernetes types, where deepcopy-gen is used.
func (*CRDColumn) Descriptor
deprecated
func (*CRDColumn) GetDescription ¶
func (*CRDColumn) GetJsonPath ¶
func (*CRDColumn) ProtoMessage ¶
func (*CRDColumn) ProtoMessage()
func (*CRDColumn) ProtoReflect ¶
func (x *CRDColumn) ProtoReflect() protoreflect.Message
type ClustersClient ¶
type ClustersClient interface { GetClusters(ctx context.Context, in *GetClustersRequest, opts ...grpc.CallOption) (*GetClustersResponse, error) GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) GetCRDs(ctx context.Context, in *GetCRDsRequest, opts ...grpc.CallOption) (*GetCRDsResponse, error) GetResources(ctx context.Context, in *GetResourcesRequest, opts ...grpc.CallOption) (*GetResourcesResponse, error) GetApplications(ctx context.Context, in *GetApplicationsRequest, opts ...grpc.CallOption) (*GetApplicationsResponse, error) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*GetApplicationResponse, error) }
ClustersClient is the client API for Clusters 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 NewClustersClient ¶
func NewClustersClient(cc grpc.ClientConnInterface) ClustersClient
type ClustersServer ¶
type ClustersServer interface { GetClusters(context.Context, *GetClustersRequest) (*GetClustersResponse, error) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) GetCRDs(context.Context, *GetCRDsRequest) (*GetCRDsResponse, error) GetResources(context.Context, *GetResourcesRequest) (*GetResourcesResponse, error) GetApplications(context.Context, *GetApplicationsRequest) (*GetApplicationsResponse, error) GetApplication(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error) // contains filtered or unexported methods }
ClustersServer is the server API for Clusters service. All implementations must embed UnimplementedClustersServer for forward compatibility
type GetApplicationRequest ¶
type GetApplicationRequest struct { Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetApplicationRequest is the format to get a single application. Each application can be identified by the cluster, namespace and name of the application.
func (*GetApplicationRequest) DeepCopy ¶
func (in *GetApplicationRequest) DeepCopy() *GetApplicationRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationRequest. Required by controller-gen.
func (*GetApplicationRequest) DeepCopyInterface ¶
func (in *GetApplicationRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationRequest. Required by controller-gen.
func (*GetApplicationRequest) DeepCopyInto ¶
func (in *GetApplicationRequest) DeepCopyInto(out *GetApplicationRequest)
DeepCopyInto supports using GetApplicationRequest within kubernetes types, where deepcopy-gen is used.
func (*GetApplicationRequest) Descriptor
deprecated
func (*GetApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.
func (*GetApplicationRequest) GetCluster ¶
func (x *GetApplicationRequest) GetCluster() string
func (*GetApplicationRequest) GetName ¶
func (x *GetApplicationRequest) GetName() string
func (*GetApplicationRequest) GetNamespace ¶
func (x *GetApplicationRequest) GetNamespace() string
func (*GetApplicationRequest) ProtoMessage ¶
func (*GetApplicationRequest) ProtoMessage()
func (*GetApplicationRequest) ProtoReflect ¶
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
func (*GetApplicationRequest) Reset ¶
func (x *GetApplicationRequest) Reset()
func (*GetApplicationRequest) String ¶
func (x *GetApplicationRequest) String() string
type GetApplicationResponse ¶
type GetApplicationResponse struct { Application *proto1.Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
GetApplicationResponse is the response for a GetApplication request, which returns a single application.
func (*GetApplicationResponse) DeepCopy ¶
func (in *GetApplicationResponse) DeepCopy() *GetApplicationResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationResponse. Required by controller-gen.
func (*GetApplicationResponse) DeepCopyInterface ¶
func (in *GetApplicationResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationResponse. Required by controller-gen.
func (*GetApplicationResponse) DeepCopyInto ¶
func (in *GetApplicationResponse) DeepCopyInto(out *GetApplicationResponse)
DeepCopyInto supports using GetApplicationResponse within kubernetes types, where deepcopy-gen is used.
func (*GetApplicationResponse) Descriptor
deprecated
func (*GetApplicationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationResponse.ProtoReflect.Descriptor instead.
func (*GetApplicationResponse) GetApplication ¶
func (x *GetApplicationResponse) GetApplication() *proto1.Application
func (*GetApplicationResponse) ProtoMessage ¶
func (*GetApplicationResponse) ProtoMessage()
func (*GetApplicationResponse) ProtoReflect ¶
func (x *GetApplicationResponse) ProtoReflect() protoreflect.Message
func (*GetApplicationResponse) Reset ¶
func (x *GetApplicationResponse) Reset()
func (*GetApplicationResponse) String ¶
func (x *GetApplicationResponse) String() string
type GetApplicationsRequest ¶
type GetApplicationsRequest struct { Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
GetApplicationsRequest is the message formate to get a list of applications. To get a list of applications the clusters and namespaces for which the applications should be retrieved must be specified.
func (*GetApplicationsRequest) DeepCopy ¶
func (in *GetApplicationsRequest) DeepCopy() *GetApplicationsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationsRequest. Required by controller-gen.
func (*GetApplicationsRequest) DeepCopyInterface ¶
func (in *GetApplicationsRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationsRequest. Required by controller-gen.
func (*GetApplicationsRequest) DeepCopyInto ¶
func (in *GetApplicationsRequest) DeepCopyInto(out *GetApplicationsRequest)
DeepCopyInto supports using GetApplicationsRequest within kubernetes types, where deepcopy-gen is used.
func (*GetApplicationsRequest) Descriptor
deprecated
func (*GetApplicationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationsRequest.ProtoReflect.Descriptor instead.
func (*GetApplicationsRequest) GetClusters ¶
func (x *GetApplicationsRequest) GetClusters() []string
func (*GetApplicationsRequest) GetNamespaces ¶
func (x *GetApplicationsRequest) GetNamespaces() []string
func (*GetApplicationsRequest) ProtoMessage ¶
func (*GetApplicationsRequest) ProtoMessage()
func (*GetApplicationsRequest) ProtoReflect ¶
func (x *GetApplicationsRequest) ProtoReflect() protoreflect.Message
func (*GetApplicationsRequest) Reset ¶
func (x *GetApplicationsRequest) Reset()
func (*GetApplicationsRequest) String ¶
func (x *GetApplicationsRequest) String() string
type GetApplicationsResponse ¶
type GetApplicationsResponse struct { Applications []*proto1.Application `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"` // contains filtered or unexported fields }
GetApplicationsResponse is the response for a GetApplications request, which returns a list of applications.
func (*GetApplicationsResponse) DeepCopy ¶
func (in *GetApplicationsResponse) DeepCopy() *GetApplicationsResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationsResponse. Required by controller-gen.
func (*GetApplicationsResponse) DeepCopyInterface ¶
func (in *GetApplicationsResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetApplicationsResponse. Required by controller-gen.
func (*GetApplicationsResponse) DeepCopyInto ¶
func (in *GetApplicationsResponse) DeepCopyInto(out *GetApplicationsResponse)
DeepCopyInto supports using GetApplicationsResponse within kubernetes types, where deepcopy-gen is used.
func (*GetApplicationsResponse) Descriptor
deprecated
func (*GetApplicationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationsResponse.ProtoReflect.Descriptor instead.
func (*GetApplicationsResponse) GetApplications ¶
func (x *GetApplicationsResponse) GetApplications() []*proto1.Application
func (*GetApplicationsResponse) ProtoMessage ¶
func (*GetApplicationsResponse) ProtoMessage()
func (*GetApplicationsResponse) ProtoReflect ¶
func (x *GetApplicationsResponse) ProtoReflect() protoreflect.Message
func (*GetApplicationsResponse) Reset ¶
func (x *GetApplicationsResponse) Reset()
func (*GetApplicationsResponse) String ¶
func (x *GetApplicationsResponse) String() string
type GetCRDsRequest ¶
type GetCRDsRequest struct {
// contains filtered or unexported fields
}
GetCRDsRequest is the message format to get all Custom Resource Definitions. The message doesn't require any field.
func (*GetCRDsRequest) DeepCopy ¶
func (in *GetCRDsRequest) DeepCopy() *GetCRDsRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetCRDsRequest. Required by controller-gen.
func (*GetCRDsRequest) DeepCopyInterface ¶
func (in *GetCRDsRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetCRDsRequest. Required by controller-gen.
func (*GetCRDsRequest) DeepCopyInto ¶
func (in *GetCRDsRequest) DeepCopyInto(out *GetCRDsRequest)
DeepCopyInto supports using GetCRDsRequest within kubernetes types, where deepcopy-gen is used.
func (*GetCRDsRequest) Descriptor
deprecated
func (*GetCRDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCRDsRequest.ProtoReflect.Descriptor instead.
func (*GetCRDsRequest) ProtoMessage ¶
func (*GetCRDsRequest) ProtoMessage()
func (*GetCRDsRequest) ProtoReflect ¶
func (x *GetCRDsRequest) ProtoReflect() protoreflect.Message
func (*GetCRDsRequest) Reset ¶
func (x *GetCRDsRequest) Reset()
func (*GetCRDsRequest) String ¶
func (x *GetCRDsRequest) String() string
type GetCRDsResponse ¶
type GetCRDsResponse struct { Crds []*CRD `protobuf:"bytes,1,rep,name=crds,proto3" json:"crds,omitempty"` // contains filtered or unexported fields }
GetCRDsResponse is the response for a GetCRDs call. It contains a list of all Custom Resource Definitions accross all loaded clusters. CRDs which are available in multiple clusters are deduplicated, so that the array contains each CRD only once.
func (*GetCRDsResponse) DeepCopy ¶
func (in *GetCRDsResponse) DeepCopy() *GetCRDsResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetCRDsResponse. Required by controller-gen.
func (*GetCRDsResponse) DeepCopyInterface ¶
func (in *GetCRDsResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetCRDsResponse. Required by controller-gen.
func (*GetCRDsResponse) DeepCopyInto ¶
func (in *GetCRDsResponse) DeepCopyInto(out *GetCRDsResponse)
DeepCopyInto supports using GetCRDsResponse within kubernetes types, where deepcopy-gen is used.
func (*GetCRDsResponse) Descriptor
deprecated
func (*GetCRDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCRDsResponse.ProtoReflect.Descriptor instead.
func (*GetCRDsResponse) GetCrds ¶
func (x *GetCRDsResponse) GetCrds() []*CRD
func (*GetCRDsResponse) ProtoMessage ¶
func (*GetCRDsResponse) ProtoMessage()
func (*GetCRDsResponse) ProtoReflect ¶
func (x *GetCRDsResponse) ProtoReflect() protoreflect.Message
func (*GetCRDsResponse) Reset ¶
func (x *GetCRDsResponse) Reset()
func (*GetCRDsResponse) String ¶
func (x *GetCRDsResponse) String() string
type GetClustersRequest ¶
type GetClustersRequest struct {
// contains filtered or unexported fields
}
GetClustersRequest is the request to get all loaded Kubernetes clusters via the GetClusters method.
func (*GetClustersRequest) DeepCopy ¶
func (in *GetClustersRequest) DeepCopy() *GetClustersRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetClustersRequest. Required by controller-gen.
func (*GetClustersRequest) DeepCopyInterface ¶
func (in *GetClustersRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetClustersRequest. Required by controller-gen.
func (*GetClustersRequest) DeepCopyInto ¶
func (in *GetClustersRequest) DeepCopyInto(out *GetClustersRequest)
DeepCopyInto supports using GetClustersRequest within kubernetes types, where deepcopy-gen is used.
func (*GetClustersRequest) Descriptor
deprecated
func (*GetClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClustersRequest.ProtoReflect.Descriptor instead.
func (*GetClustersRequest) ProtoMessage ¶
func (*GetClustersRequest) ProtoMessage()
func (*GetClustersRequest) ProtoReflect ¶
func (x *GetClustersRequest) ProtoReflect() protoreflect.Message
func (*GetClustersRequest) Reset ¶
func (x *GetClustersRequest) Reset()
func (*GetClustersRequest) String ¶
func (x *GetClustersRequest) String() string
type GetClustersResponse ¶
type GetClustersResponse struct { Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
GetClustersResponse is the response for a GetClusters request. It contains a clusers field, which contains the names of all clusters.
func (*GetClustersResponse) DeepCopy ¶
func (in *GetClustersResponse) DeepCopy() *GetClustersResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetClustersResponse. Required by controller-gen.
func (*GetClustersResponse) DeepCopyInterface ¶
func (in *GetClustersResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetClustersResponse. Required by controller-gen.
func (*GetClustersResponse) DeepCopyInto ¶
func (in *GetClustersResponse) DeepCopyInto(out *GetClustersResponse)
DeepCopyInto supports using GetClustersResponse within kubernetes types, where deepcopy-gen is used.
func (*GetClustersResponse) Descriptor
deprecated
func (*GetClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClustersResponse.ProtoReflect.Descriptor instead.
func (*GetClustersResponse) GetClusters ¶
func (x *GetClustersResponse) GetClusters() []string
func (*GetClustersResponse) ProtoMessage ¶
func (*GetClustersResponse) ProtoMessage()
func (*GetClustersResponse) ProtoReflect ¶
func (x *GetClustersResponse) ProtoReflect() protoreflect.Message
func (*GetClustersResponse) Reset ¶
func (x *GetClustersResponse) Reset()
func (*GetClustersResponse) String ¶
func (x *GetClustersResponse) String() string
type GetNamespacesRequest ¶
type GetNamespacesRequest struct { Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
GetNamespacesRequest is the request to get all namespaces via the GetNamespaces method. It must contain a list of clusters, for which the namespaces should be returned.
func (*GetNamespacesRequest) DeepCopy ¶
func (in *GetNamespacesRequest) DeepCopy() *GetNamespacesRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetNamespacesRequest. Required by controller-gen.
func (*GetNamespacesRequest) DeepCopyInterface ¶
func (in *GetNamespacesRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetNamespacesRequest. Required by controller-gen.
func (*GetNamespacesRequest) DeepCopyInto ¶
func (in *GetNamespacesRequest) DeepCopyInto(out *GetNamespacesRequest)
DeepCopyInto supports using GetNamespacesRequest within kubernetes types, where deepcopy-gen is used.
func (*GetNamespacesRequest) Descriptor
deprecated
func (*GetNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetNamespacesRequest) GetClusters ¶
func (x *GetNamespacesRequest) GetClusters() []string
func (*GetNamespacesRequest) ProtoMessage ¶
func (*GetNamespacesRequest) ProtoMessage()
func (*GetNamespacesRequest) ProtoReflect ¶
func (x *GetNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetNamespacesRequest) Reset ¶
func (x *GetNamespacesRequest) Reset()
func (*GetNamespacesRequest) String ¶
func (x *GetNamespacesRequest) String() string
type GetNamespacesResponse ¶
type GetNamespacesResponse struct { Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
GetNamespacesResponse is the response for a GetNamespaces request, which contains a list of all namespaces for the given clusters.
func (*GetNamespacesResponse) DeepCopy ¶
func (in *GetNamespacesResponse) DeepCopy() *GetNamespacesResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetNamespacesResponse. Required by controller-gen.
func (*GetNamespacesResponse) DeepCopyInterface ¶
func (in *GetNamespacesResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetNamespacesResponse. Required by controller-gen.
func (*GetNamespacesResponse) DeepCopyInto ¶
func (in *GetNamespacesResponse) DeepCopyInto(out *GetNamespacesResponse)
DeepCopyInto supports using GetNamespacesResponse within kubernetes types, where deepcopy-gen is used.
func (*GetNamespacesResponse) Descriptor
deprecated
func (*GetNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetNamespacesResponse) GetNamespaces ¶
func (x *GetNamespacesResponse) GetNamespaces() []string
func (*GetNamespacesResponse) ProtoMessage ¶
func (*GetNamespacesResponse) ProtoMessage()
func (*GetNamespacesResponse) ProtoReflect ¶
func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetNamespacesResponse) Reset ¶
func (x *GetNamespacesResponse) Reset()
func (*GetNamespacesResponse) String ¶
func (x *GetNamespacesResponse) String() string
type GetResourcesRequest ¶
type GetResourcesRequest struct { Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"` ParamName string `protobuf:"bytes,5,opt,name=paramName,proto3" json:"paramName,omitempty"` Param string `protobuf:"bytes,6,opt,name=param,proto3" json:"param,omitempty"` // contains filtered or unexported fields }
GetResourcesRequest is the request to get a specific resource for multiple clusters and namespaces. It contains the Kubernetes API endpoint for the resource and a list of clusters and namespaces. It is also possible to specify a parameter, which can be used to set a labelSelector or fieldSelector for the request.
func (*GetResourcesRequest) DeepCopy ¶
func (in *GetResourcesRequest) DeepCopy() *GetResourcesRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetResourcesRequest. Required by controller-gen.
func (*GetResourcesRequest) DeepCopyInterface ¶
func (in *GetResourcesRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetResourcesRequest. Required by controller-gen.
func (*GetResourcesRequest) DeepCopyInto ¶
func (in *GetResourcesRequest) DeepCopyInto(out *GetResourcesRequest)
DeepCopyInto supports using GetResourcesRequest within kubernetes types, where deepcopy-gen is used.
func (*GetResourcesRequest) Descriptor
deprecated
func (*GetResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesRequest.ProtoReflect.Descriptor instead.
func (*GetResourcesRequest) GetClusters ¶
func (x *GetResourcesRequest) GetClusters() []string
func (*GetResourcesRequest) GetNamespaces ¶
func (x *GetResourcesRequest) GetNamespaces() []string
func (*GetResourcesRequest) GetParam ¶
func (x *GetResourcesRequest) GetParam() string
func (*GetResourcesRequest) GetParamName ¶
func (x *GetResourcesRequest) GetParamName() string
func (*GetResourcesRequest) GetPath ¶
func (x *GetResourcesRequest) GetPath() string
func (*GetResourcesRequest) GetResource ¶
func (x *GetResourcesRequest) GetResource() string
func (*GetResourcesRequest) ProtoMessage ¶
func (*GetResourcesRequest) ProtoMessage()
func (*GetResourcesRequest) ProtoReflect ¶
func (x *GetResourcesRequest) ProtoReflect() protoreflect.Message
func (*GetResourcesRequest) Reset ¶
func (x *GetResourcesRequest) Reset()
func (*GetResourcesRequest) String ¶
func (x *GetResourcesRequest) String() string
type GetResourcesResponse ¶
type GetResourcesResponse struct { Resources []*Resources `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
GetResourcesResponse is the response for a GetResources request, which contains a list of resources. The resources are returned by cluster and namespace.
func (*GetResourcesResponse) DeepCopy ¶
func (in *GetResourcesResponse) DeepCopy() *GetResourcesResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetResourcesResponse. Required by controller-gen.
func (*GetResourcesResponse) DeepCopyInterface ¶
func (in *GetResourcesResponse) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetResourcesResponse. Required by controller-gen.
func (*GetResourcesResponse) DeepCopyInto ¶
func (in *GetResourcesResponse) DeepCopyInto(out *GetResourcesResponse)
DeepCopyInto supports using GetResourcesResponse within kubernetes types, where deepcopy-gen is used.
func (*GetResourcesResponse) Descriptor
deprecated
func (*GetResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesResponse.ProtoReflect.Descriptor instead.
func (*GetResourcesResponse) GetResources ¶
func (x *GetResourcesResponse) GetResources() []*Resources
func (*GetResourcesResponse) ProtoMessage ¶
func (*GetResourcesResponse) ProtoMessage()
func (*GetResourcesResponse) ProtoReflect ¶
func (x *GetResourcesResponse) ProtoReflect() protoreflect.Message
func (*GetResourcesResponse) Reset ¶
func (x *GetResourcesResponse) Reset()
func (*GetResourcesResponse) String ¶
func (x *GetResourcesResponse) String() string
type Resources ¶
type Resources struct { Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` ResourceList string `protobuf:"bytes,3,opt,name=resourceList,proto3" json:"resourceList,omitempty"` // contains filtered or unexported fields }
Resources is the structure for a list of resources for a cluster and a namespaces. The resourceList string contains the JSON string for the list type of a resource (e.g. PodList).
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources. Required by controller-gen.
func (*Resources) DeepCopyInterface ¶
func (in *Resources) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Resources. Required by controller-gen.
func (*Resources) DeepCopyInto ¶
DeepCopyInto supports using Resources within kubernetes types, where deepcopy-gen is used.
func (*Resources) Descriptor
deprecated
func (*Resources) GetCluster ¶
func (*Resources) GetNamespace ¶
func (*Resources) GetResourceList ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
type UnimplementedClustersServer ¶
type UnimplementedClustersServer struct { }
UnimplementedClustersServer must be embedded to have forward compatible implementations.
func (UnimplementedClustersServer) GetApplication ¶
func (UnimplementedClustersServer) GetApplication(context.Context, *GetApplicationRequest) (*GetApplicationResponse, error)
func (UnimplementedClustersServer) GetApplications ¶
func (UnimplementedClustersServer) GetApplications(context.Context, *GetApplicationsRequest) (*GetApplicationsResponse, error)
func (UnimplementedClustersServer) GetCRDs ¶
func (UnimplementedClustersServer) GetCRDs(context.Context, *GetCRDsRequest) (*GetCRDsResponse, error)
func (UnimplementedClustersServer) GetClusters ¶
func (UnimplementedClustersServer) GetClusters(context.Context, *GetClustersRequest) (*GetClustersResponse, error)
func (UnimplementedClustersServer) GetNamespaces ¶
func (UnimplementedClustersServer) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error)
func (UnimplementedClustersServer) GetResources ¶
func (UnimplementedClustersServer) GetResources(context.Context, *GetResourcesRequest) (*GetResourcesResponse, error)
type UnsafeClustersServer ¶
type UnsafeClustersServer interface {
// contains filtered or unexported methods
}
UnsafeClustersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClustersServer will result in compilation errors.