Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterKesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer(s *http.Server, srv KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer)
- func RegisterKesselK8SPolicyIsPropagatedToK8SClusterServiceServer(s grpc.ServiceRegistrar, ...)
- type CreateK8SPolicyIsPropagatedToK8SClusterRequest
- func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) GetK8SpolicyIspropagatedtoK8Scluster() *K8SPolicyIsPropagatedToK8SCluster
- func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage()
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) Reset()
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) String() string
- type CreateK8SPolicyIsPropagatedToK8SClusterResponse
- func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage()
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect() protoreflect.Message
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterResponse) Reset()
- func (x *CreateK8SPolicyIsPropagatedToK8SClusterResponse) String() string
- type DeleteK8SPolicyIsPropagatedToK8SClusterRequest
- func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) GetReporterData() *ReporterData
- func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage()
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) Reset()
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) String() string
- type DeleteK8SPolicyIsPropagatedToK8SClusterResponse
- func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage()
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterResponse) Reset()
- func (x *DeleteK8SPolicyIsPropagatedToK8SClusterResponse) String() string
- type K8SPolicyIsPropagatedToK8SCluster
- func (*K8SPolicyIsPropagatedToK8SCluster) Descriptor() ([]byte, []int)deprecated
- func (x *K8SPolicyIsPropagatedToK8SCluster) GetMetadata() *Metadata
- func (x *K8SPolicyIsPropagatedToK8SCluster) GetRelationshipData() *K8SPolicyIsPropagatedToK8SClusterDetail
- func (x *K8SPolicyIsPropagatedToK8SCluster) GetReporterData() *ReporterData
- func (*K8SPolicyIsPropagatedToK8SCluster) ProtoMessage()
- func (x *K8SPolicyIsPropagatedToK8SCluster) ProtoReflect() protoreflect.Message
- func (x *K8SPolicyIsPropagatedToK8SCluster) Reset()
- func (x *K8SPolicyIsPropagatedToK8SCluster) String() string
- type K8SPolicyIsPropagatedToK8SClusterDetail
- func (*K8SPolicyIsPropagatedToK8SClusterDetail) Descriptor() ([]byte, []int)deprecated
- func (x *K8SPolicyIsPropagatedToK8SClusterDetail) GetK8SClusterId() int64
- func (x *K8SPolicyIsPropagatedToK8SClusterDetail) GetK8SPolicyId() int64
- func (x *K8SPolicyIsPropagatedToK8SClusterDetail) GetStatus() K8SPolicyIsPropagatedToK8SClusterDetail_Status
- func (*K8SPolicyIsPropagatedToK8SClusterDetail) ProtoMessage()
- func (x *K8SPolicyIsPropagatedToK8SClusterDetail) ProtoReflect() protoreflect.Message
- func (x *K8SPolicyIsPropagatedToK8SClusterDetail) Reset()
- func (x *K8SPolicyIsPropagatedToK8SClusterDetail) String() string
- type K8SPolicyIsPropagatedToK8SClusterDetail_Status
- func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) Descriptor() protoreflect.EnumDescriptor
- func (x K8SPolicyIsPropagatedToK8SClusterDetail_Status) Enum() *K8SPolicyIsPropagatedToK8SClusterDetail_Status
- func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x K8SPolicyIsPropagatedToK8SClusterDetail_Status) Number() protoreflect.EnumNumber
- func (x K8SPolicyIsPropagatedToK8SClusterDetail_Status) String() string
- func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) Type() protoreflect.EnumType
- type KesselK8SPolicyIsPropagatedToK8SClusterServiceClient
- type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClient
- type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl
- func (c *KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) CreateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *CreateK8SPolicyIsPropagatedToK8SClusterRequest, ...) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error)
- func (c *KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) DeleteK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *DeleteK8SPolicyIsPropagatedToK8SClusterRequest, ...) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error)
- func (c *KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) UpdateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *UpdateK8SPolicyIsPropagatedToK8SClusterRequest, ...) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error)
- type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer
- type KesselK8SPolicyIsPropagatedToK8SClusterServiceServer
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *Metadata) GetDeletedAt() *timestamppb.Timestamp
- func (x *Metadata) GetId() string
- func (x *Metadata) GetOrgId() string
- func (x *Metadata) GetRelationshipType() string
- func (x *Metadata) GetUpdatedAt() *timestamppb.Timestamp
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type ReporterData
- func (*ReporterData) Descriptor() ([]byte, []int)deprecated
- func (x *ReporterData) GetFirstReported() *timestamppb.Timestamp
- func (x *ReporterData) GetLastReported() *timestamppb.Timestamp
- func (x *ReporterData) GetObjectLocalResourceId() string
- func (x *ReporterData) GetReporterInstanceId() string
- func (x *ReporterData) GetReporterType() ReporterData_ReporterType
- func (x *ReporterData) GetReporterVersion() string
- func (x *ReporterData) GetSubjectLocalResourceId() string
- func (*ReporterData) ProtoMessage()
- func (x *ReporterData) ProtoReflect() protoreflect.Message
- func (x *ReporterData) Reset()
- func (x *ReporterData) String() string
- type ReporterData_ReporterType
- func (ReporterData_ReporterType) Descriptor() protoreflect.EnumDescriptor
- func (x ReporterData_ReporterType) Enum() *ReporterData_ReporterType
- func (ReporterData_ReporterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReporterData_ReporterType) Number() protoreflect.EnumNumber
- func (x ReporterData_ReporterType) String() string
- func (ReporterData_ReporterType) Type() protoreflect.EnumType
- type UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer
- func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) CreateK8SPolicyIsPropagatedToK8SCluster(context.Context, *CreateK8SPolicyIsPropagatedToK8SClusterRequest) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error)
- func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) DeleteK8SPolicyIsPropagatedToK8SCluster(context.Context, *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error)
- func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) UpdateK8SPolicyIsPropagatedToK8SCluster(context.Context, *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error)
- type UnsafeKesselK8SPolicyIsPropagatedToK8SClusterServiceServer
- type UpdateK8SPolicyIsPropagatedToK8SClusterRequest
- func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) GetK8SpolicyIspropagatedtoK8Scluster() *K8SPolicyIsPropagatedToK8SCluster
- func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage()
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) Reset()
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) String() string
- type UpdateK8SPolicyIsPropagatedToK8SClusterResponse
- func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage()
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterResponse) Reset()
- func (x *UpdateK8SPolicyIsPropagatedToK8SClusterResponse) String() string
Constants ¶
const ( KesselK8SPolicyIsPropagatedToK8SClusterService_CreateK8SPolicyIsPropagatedToK8SCluster_FullMethodName = "" /* 126-byte string literal not displayed */ KesselK8SPolicyIsPropagatedToK8SClusterService_UpdateK8SPolicyIsPropagatedToK8SCluster_FullMethodName = "" /* 126-byte string literal not displayed */ KesselK8SPolicyIsPropagatedToK8SClusterService_DeleteK8SPolicyIsPropagatedToK8SCluster_FullMethodName = "" /* 126-byte string literal not displayed */ )
const OperationKesselK8SPolicyIsPropagatedToK8SClusterServiceCreateK8SPolicyIsPropagatedToK8SCluster = "" /* 126-byte string literal not displayed */
const OperationKesselK8SPolicyIsPropagatedToK8SClusterServiceDeleteK8SPolicyIsPropagatedToK8SCluster = "" /* 126-byte string literal not displayed */
const OperationKesselK8SPolicyIsPropagatedToK8SClusterServiceUpdateK8SPolicyIsPropagatedToK8SCluster = "" /* 126-byte string literal not displayed */
Variables ¶
var ( K8SPolicyIsPropagatedToK8SClusterDetail_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_OTHER", 2: "VIOLATIONS", 3: "NO_VIOLATIONS", } K8SPolicyIsPropagatedToK8SClusterDetail_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_OTHER": 1, "VIOLATIONS": 2, "NO_VIOLATIONS": 3, } )
Enum value maps for K8SPolicyIsPropagatedToK8SClusterDetail_Status.
var ( ReporterData_ReporterType_name = map[int32]string{ 0: "REPORTER_TYPE_UNSPECIFIED", 1: "REPORTER_TYPE_OTHER", 2: "ACM", 3: "HBI", 4: "OCM", 5: "NOTIFICATIONS", } ReporterData_ReporterType_value = map[string]int32{ "REPORTER_TYPE_UNSPECIFIED": 0, "REPORTER_TYPE_OTHER": 1, "ACM": 2, "HBI": 3, "OCM": 4, "NOTIFICATIONS": 5, } )
Enum value maps for ReporterData_ReporterType.
var File_kessel_inventory_v1beta1_relationships_k8spolicy_ispropagatedto_k8scluster_detail_proto protoreflect.FileDescriptor
var File_kessel_inventory_v1beta1_relationships_k8spolicy_ispropagatedto_k8scluster_proto protoreflect.FileDescriptor
var File_kessel_inventory_v1beta1_relationships_k8spolicy_ispropagatedto_k8scluster_service_proto protoreflect.FileDescriptor
var File_kessel_inventory_v1beta1_relationships_metadata_proto protoreflect.FileDescriptor
var File_kessel_inventory_v1beta1_relationships_reporter_data_proto protoreflect.FileDescriptor
var KesselK8SPolicyIsPropagatedToK8SClusterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kessel.inventory.v1beta1.relationships.KesselK8SPolicyIsPropagatedToK8SClusterService", HandlerType: (*KesselK8SPolicyIsPropagatedToK8SClusterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateK8SPolicyIsPropagatedToK8SCluster", Handler: _KesselK8SPolicyIsPropagatedToK8SClusterService_CreateK8SPolicyIsPropagatedToK8SCluster_Handler, }, { MethodName: "UpdateK8SPolicyIsPropagatedToK8SCluster", Handler: _KesselK8SPolicyIsPropagatedToK8SClusterService_UpdateK8SPolicyIsPropagatedToK8SCluster_Handler, }, { MethodName: "DeleteK8SPolicyIsPropagatedToK8SCluster", Handler: _KesselK8SPolicyIsPropagatedToK8SClusterService_DeleteK8SPolicyIsPropagatedToK8SCluster_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kessel/inventory/v1beta1/relationships/k8spolicy_ispropagatedto_k8scluster_service.proto", }
KesselK8SPolicyIsPropagatedToK8SClusterService_ServiceDesc is the grpc.ServiceDesc for KesselK8SPolicyIsPropagatedToK8SClusterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer ¶
func RegisterKesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer(s *http.Server, srv KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer)
func RegisterKesselK8SPolicyIsPropagatedToK8SClusterServiceServer ¶
func RegisterKesselK8SPolicyIsPropagatedToK8SClusterServiceServer(s grpc.ServiceRegistrar, srv KesselK8SPolicyIsPropagatedToK8SClusterServiceServer)
Types ¶
type CreateK8SPolicyIsPropagatedToK8SClusterRequest ¶
type CreateK8SPolicyIsPropagatedToK8SClusterRequest struct { // The resource relationship to create in Kessel Asset Inventory K8SpolicyIspropagatedtoK8Scluster *K8SPolicyIsPropagatedToK8SCluster `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor
deprecated
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateK8SPolicyIsPropagatedToK8SClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) GetK8SpolicyIspropagatedtoK8Scluster ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) GetK8SpolicyIspropagatedtoK8Scluster() *K8SPolicyIsPropagatedToK8SCluster
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage ¶
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage()
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) Reset ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) Reset()
func (*CreateK8SPolicyIsPropagatedToK8SClusterRequest) String ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterRequest) String() string
type CreateK8SPolicyIsPropagatedToK8SClusterResponse ¶
type CreateK8SPolicyIsPropagatedToK8SClusterResponse struct {
// contains filtered or unexported fields
}
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor
deprecated
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateK8SPolicyIsPropagatedToK8SClusterResponse.ProtoReflect.Descriptor instead.
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage ¶
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage()
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect() protoreflect.Message
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) Reset ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterResponse) Reset()
func (*CreateK8SPolicyIsPropagatedToK8SClusterResponse) String ¶
func (x *CreateK8SPolicyIsPropagatedToK8SClusterResponse) String() string
type DeleteK8SPolicyIsPropagatedToK8SClusterRequest ¶
type DeleteK8SPolicyIsPropagatedToK8SClusterRequest struct { // The resource-relationship to be deleted will be defined by // \"<reporter_data.reporter_type>:<reporter_instance_id>:<reporter_data.subject_local_resource_id>\" // AND \"<reporter_data.reporter_type>:<reporter_instance_id>:<reporter_data.object_local_resource_id>\" // from the request body. ReporterData *ReporterData `protobuf:"bytes,1,opt,name=reporter_data,proto3" json:"reporter_data,omitempty"` // contains filtered or unexported fields }
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor
deprecated
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteK8SPolicyIsPropagatedToK8SClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) GetReporterData ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) GetReporterData() *ReporterData
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage ¶
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage()
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) Reset ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) Reset()
func (*DeleteK8SPolicyIsPropagatedToK8SClusterRequest) String ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) String() string
type DeleteK8SPolicyIsPropagatedToK8SClusterResponse ¶
type DeleteK8SPolicyIsPropagatedToK8SClusterResponse struct {
// contains filtered or unexported fields
}
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor
deprecated
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteK8SPolicyIsPropagatedToK8SClusterResponse.ProtoReflect.Descriptor instead.
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage ¶
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage()
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect() protoreflect.Message
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) Reset ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterResponse) Reset()
func (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse) String ¶
func (x *DeleteK8SPolicyIsPropagatedToK8SClusterResponse) String() string
type K8SPolicyIsPropagatedToK8SCluster ¶
type K8SPolicyIsPropagatedToK8SCluster struct { // Metadata about this resource Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Write only reporter specific data ReporterData *ReporterData `protobuf:"bytes,245278793,opt,name=reporter_data,proto3" json:"reporter_data,omitempty"` RelationshipData *K8SPolicyIsPropagatedToK8SClusterDetail `protobuf:"bytes,2122699,opt,name=relationship_data,proto3" json:"relationship_data,omitempty"` // contains filtered or unexported fields }
func (*K8SPolicyIsPropagatedToK8SCluster) Descriptor
deprecated
func (*K8SPolicyIsPropagatedToK8SCluster) Descriptor() ([]byte, []int)
Deprecated: Use K8SPolicyIsPropagatedToK8SCluster.ProtoReflect.Descriptor instead.
func (*K8SPolicyIsPropagatedToK8SCluster) GetMetadata ¶
func (x *K8SPolicyIsPropagatedToK8SCluster) GetMetadata() *Metadata
func (*K8SPolicyIsPropagatedToK8SCluster) GetRelationshipData ¶
func (x *K8SPolicyIsPropagatedToK8SCluster) GetRelationshipData() *K8SPolicyIsPropagatedToK8SClusterDetail
func (*K8SPolicyIsPropagatedToK8SCluster) GetReporterData ¶
func (x *K8SPolicyIsPropagatedToK8SCluster) GetReporterData() *ReporterData
func (*K8SPolicyIsPropagatedToK8SCluster) ProtoMessage ¶
func (*K8SPolicyIsPropagatedToK8SCluster) ProtoMessage()
func (*K8SPolicyIsPropagatedToK8SCluster) ProtoReflect ¶
func (x *K8SPolicyIsPropagatedToK8SCluster) ProtoReflect() protoreflect.Message
func (*K8SPolicyIsPropagatedToK8SCluster) Reset ¶
func (x *K8SPolicyIsPropagatedToK8SCluster) Reset()
func (*K8SPolicyIsPropagatedToK8SCluster) String ¶
func (x *K8SPolicyIsPropagatedToK8SCluster) String() string
type K8SPolicyIsPropagatedToK8SClusterDetail ¶
type K8SPolicyIsPropagatedToK8SClusterDetail struct { // The resource ID assigned to the resource by Kessel Asset Inventory. K8SPolicyId int64 `protobuf:"varint,225679544,opt,name=k8s_policy_id,proto3" json:"k8s_policy_id,omitempty"` // The resource ID assigned to the resource by Kessel Asset Inventory. K8SClusterId int64 `protobuf:"varint,240280960,opt,name=k8s_cluster_id,proto3" json:"k8s_cluster_id,omitempty"` Status K8SPolicyIsPropagatedToK8SClusterDetail_Status `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*K8SPolicyIsPropagatedToK8SClusterDetail) Descriptor
deprecated
func (*K8SPolicyIsPropagatedToK8SClusterDetail) Descriptor() ([]byte, []int)
Deprecated: Use K8SPolicyIsPropagatedToK8SClusterDetail.ProtoReflect.Descriptor instead.
func (*K8SPolicyIsPropagatedToK8SClusterDetail) GetK8SClusterId ¶
func (x *K8SPolicyIsPropagatedToK8SClusterDetail) GetK8SClusterId() int64
func (*K8SPolicyIsPropagatedToK8SClusterDetail) GetK8SPolicyId ¶
func (x *K8SPolicyIsPropagatedToK8SClusterDetail) GetK8SPolicyId() int64
func (*K8SPolicyIsPropagatedToK8SClusterDetail) GetStatus ¶
func (x *K8SPolicyIsPropagatedToK8SClusterDetail) GetStatus() K8SPolicyIsPropagatedToK8SClusterDetail_Status
func (*K8SPolicyIsPropagatedToK8SClusterDetail) ProtoMessage ¶
func (*K8SPolicyIsPropagatedToK8SClusterDetail) ProtoMessage()
func (*K8SPolicyIsPropagatedToK8SClusterDetail) ProtoReflect ¶
func (x *K8SPolicyIsPropagatedToK8SClusterDetail) ProtoReflect() protoreflect.Message
func (*K8SPolicyIsPropagatedToK8SClusterDetail) Reset ¶
func (x *K8SPolicyIsPropagatedToK8SClusterDetail) Reset()
func (*K8SPolicyIsPropagatedToK8SClusterDetail) String ¶
func (x *K8SPolicyIsPropagatedToK8SClusterDetail) String() string
type K8SPolicyIsPropagatedToK8SClusterDetail_Status ¶
type K8SPolicyIsPropagatedToK8SClusterDetail_Status int32
the aggregate status of the cluster
const ( K8SPolicyIsPropagatedToK8SClusterDetail_STATUS_UNSPECIFIED K8SPolicyIsPropagatedToK8SClusterDetail_Status = 0 K8SPolicyIsPropagatedToK8SClusterDetail_STATUS_OTHER K8SPolicyIsPropagatedToK8SClusterDetail_Status = 1 K8SPolicyIsPropagatedToK8SClusterDetail_VIOLATIONS K8SPolicyIsPropagatedToK8SClusterDetail_Status = 2 K8SPolicyIsPropagatedToK8SClusterDetail_NO_VIOLATIONS K8SPolicyIsPropagatedToK8SClusterDetail_Status = 3 )
func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) Descriptor ¶
func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) Descriptor() protoreflect.EnumDescriptor
func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) EnumDescriptor
deprecated
func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use K8SPolicyIsPropagatedToK8SClusterDetail_Status.Descriptor instead.
func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) Number ¶
func (x K8SPolicyIsPropagatedToK8SClusterDetail_Status) Number() protoreflect.EnumNumber
func (K8SPolicyIsPropagatedToK8SClusterDetail_Status) String ¶
func (x K8SPolicyIsPropagatedToK8SClusterDetail_Status) String() string
type KesselK8SPolicyIsPropagatedToK8SClusterServiceClient ¶
type KesselK8SPolicyIsPropagatedToK8SClusterServiceClient interface { CreateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *CreateK8SPolicyIsPropagatedToK8SClusterRequest, opts ...grpc.CallOption) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error) UpdateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *UpdateK8SPolicyIsPropagatedToK8SClusterRequest, opts ...grpc.CallOption) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error) DeleteK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *DeleteK8SPolicyIsPropagatedToK8SClusterRequest, opts ...grpc.CallOption) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error) }
KesselK8SPolicyIsPropagatedToK8SClusterServiceClient is the client API for KesselK8SPolicyIsPropagatedToK8SClusterService 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 NewKesselK8SPolicyIsPropagatedToK8SClusterServiceClient ¶
func NewKesselK8SPolicyIsPropagatedToK8SClusterServiceClient(cc grpc.ClientConnInterface) KesselK8SPolicyIsPropagatedToK8SClusterServiceClient
type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClient ¶
type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClient interface { CreateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, req *CreateK8SPolicyIsPropagatedToK8SClusterRequest, opts ...http.CallOption) (rsp *CreateK8SPolicyIsPropagatedToK8SClusterResponse, err error) DeleteK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, req *DeleteK8SPolicyIsPropagatedToK8SClusterRequest, opts ...http.CallOption) (rsp *DeleteK8SPolicyIsPropagatedToK8SClusterResponse, err error) UpdateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, req *UpdateK8SPolicyIsPropagatedToK8SClusterRequest, opts ...http.CallOption) (rsp *UpdateK8SPolicyIsPropagatedToK8SClusterResponse, err error) }
func NewKesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClient ¶
func NewKesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClient(client *http.Client) KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClient
type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl ¶
type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) CreateK8SPolicyIsPropagatedToK8SCluster ¶
func (c *KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) CreateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *CreateK8SPolicyIsPropagatedToK8SClusterRequest, opts ...http.CallOption) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error)
func (*KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) DeleteK8SPolicyIsPropagatedToK8SCluster ¶
func (c *KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) DeleteK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *DeleteK8SPolicyIsPropagatedToK8SClusterRequest, opts ...http.CallOption) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error)
func (*KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) UpdateK8SPolicyIsPropagatedToK8SCluster ¶
func (c *KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPClientImpl) UpdateK8SPolicyIsPropagatedToK8SCluster(ctx context.Context, in *UpdateK8SPolicyIsPropagatedToK8SClusterRequest, opts ...http.CallOption) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error)
type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer ¶
type KesselK8SPolicyIsPropagatedToK8SClusterServiceHTTPServer interface { CreateK8SPolicyIsPropagatedToK8SCluster(context.Context, *CreateK8SPolicyIsPropagatedToK8SClusterRequest) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error) DeleteK8SPolicyIsPropagatedToK8SCluster(context.Context, *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error) UpdateK8SPolicyIsPropagatedToK8SCluster(context.Context, *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error) }
type KesselK8SPolicyIsPropagatedToK8SClusterServiceServer ¶
type KesselK8SPolicyIsPropagatedToK8SClusterServiceServer interface { CreateK8SPolicyIsPropagatedToK8SCluster(context.Context, *CreateK8SPolicyIsPropagatedToK8SClusterRequest) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error) UpdateK8SPolicyIsPropagatedToK8SCluster(context.Context, *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error) DeleteK8SPolicyIsPropagatedToK8SCluster(context.Context, *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error) // contains filtered or unexported methods }
KesselK8SPolicyIsPropagatedToK8SClusterServiceServer is the server API for KesselK8SPolicyIsPropagatedToK8SClusterService service. All implementations must embed UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer for forward compatibility.
type Metadata ¶
type Metadata struct { // Kessel Asset Inventory generated identifier. Id string `protobuf:"bytes,3356,opt,name=id,proto3" json:"id,omitempty"` // The type of Resource relationship RelationshipType string `protobuf:"bytes,251000036,opt,name=relationship_type,proto3" json:"relationship_type,omitempty"` // Date and time when the inventory item was first reported. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3400,opt,name=created_at,proto3" json:"created_at,omitempty"` // Date and time when the inventory item was last updated. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3401,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // Date and time when the inventory item was deleted. DeletedAt *timestamppb.Timestamp `protobuf:"bytes,3402,opt,name=deleted_at,proto3" json:"deleted_at,omitempty"` // The org id in which this resource is a member for access control. A // resource can only be a member of one org. OrgId string `protobuf:"bytes,3500,opt,name=org_id,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetCreatedAt ¶
func (x *Metadata) GetCreatedAt() *timestamppb.Timestamp
func (*Metadata) GetDeletedAt ¶
func (x *Metadata) GetDeletedAt() *timestamppb.Timestamp
func (*Metadata) GetRelationshipType ¶
func (*Metadata) GetUpdatedAt ¶
func (x *Metadata) GetUpdatedAt() *timestamppb.Timestamp
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type ReporterData ¶
type ReporterData struct { ReporterType ReporterData_ReporterType `` /* 158-byte string literal not displayed */ // The ID of the instance of the reporter. This is derived from the // authentication mechanism, i.e. authentication token. ReporterInstanceId string `protobuf:"bytes,241085114,opt,name=reporter_instance_id,proto3" json:"reporter_instance_id,omitempty"` // version of the reporter ReporterVersion string `protobuf:"bytes,269629307,opt,name=reporter_version,proto3" json:"reporter_version,omitempty"` // Date and time when the inventory item was first reported by this reporter FirstReported *timestamppb.Timestamp `protobuf:"bytes,13874817,opt,name=first_reported,proto3" json:"first_reported,omitempty"` // Date and time when the inventory item was last updated by this reporter LastReported *timestamppb.Timestamp `protobuf:"bytes,436473484,opt,name=last_reported,proto3" json:"last_reported,omitempty"` // The ID assigned by the reporter to resource which is the subject of the relationship. For example // OCM cluster ID, HBI's host id, or ACM managed cluster name etc. SubjectLocalResourceId string `protobuf:"bytes,508976190,opt,name=subject_local_resource_id,proto3" json:"subject_local_resource_id,omitempty"` // The ID assigned by the reporter to resource which is the object of the relationship. For example // OCM cluster ID, HBI's host id, or ACM managed cluster name etc. ObjectLocalResourceId string `protobuf:"bytes,508976191,opt,name=object_local_resource_id,proto3" json:"object_local_resource_id,omitempty"` // contains filtered or unexported fields }
func (*ReporterData) Descriptor
deprecated
func (*ReporterData) Descriptor() ([]byte, []int)
Deprecated: Use ReporterData.ProtoReflect.Descriptor instead.
func (*ReporterData) GetFirstReported ¶
func (x *ReporterData) GetFirstReported() *timestamppb.Timestamp
func (*ReporterData) GetLastReported ¶
func (x *ReporterData) GetLastReported() *timestamppb.Timestamp
func (*ReporterData) GetObjectLocalResourceId ¶
func (x *ReporterData) GetObjectLocalResourceId() string
func (*ReporterData) GetReporterInstanceId ¶
func (x *ReporterData) GetReporterInstanceId() string
func (*ReporterData) GetReporterType ¶
func (x *ReporterData) GetReporterType() ReporterData_ReporterType
func (*ReporterData) GetReporterVersion ¶
func (x *ReporterData) GetReporterVersion() string
func (*ReporterData) GetSubjectLocalResourceId ¶
func (x *ReporterData) GetSubjectLocalResourceId() string
func (*ReporterData) ProtoMessage ¶
func (*ReporterData) ProtoMessage()
func (*ReporterData) ProtoReflect ¶
func (x *ReporterData) ProtoReflect() protoreflect.Message
func (*ReporterData) Reset ¶
func (x *ReporterData) Reset()
func (*ReporterData) String ¶
func (x *ReporterData) String() string
type ReporterData_ReporterType ¶
type ReporterData_ReporterType int32
const ( ReporterData_REPORTER_TYPE_UNSPECIFIED ReporterData_ReporterType = 0 ReporterData_REPORTER_TYPE_OTHER ReporterData_ReporterType = 1 ReporterData_ACM ReporterData_ReporterType = 2 ReporterData_HBI ReporterData_ReporterType = 3 ReporterData_OCM ReporterData_ReporterType = 4 ReporterData_NOTIFICATIONS ReporterData_ReporterType = 5 )
func (ReporterData_ReporterType) Descriptor ¶
func (ReporterData_ReporterType) Descriptor() protoreflect.EnumDescriptor
func (ReporterData_ReporterType) Enum ¶
func (x ReporterData_ReporterType) Enum() *ReporterData_ReporterType
func (ReporterData_ReporterType) EnumDescriptor
deprecated
func (ReporterData_ReporterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReporterData_ReporterType.Descriptor instead.
func (ReporterData_ReporterType) Number ¶
func (x ReporterData_ReporterType) Number() protoreflect.EnumNumber
func (ReporterData_ReporterType) String ¶
func (x ReporterData_ReporterType) String() string
func (ReporterData_ReporterType) Type ¶
func (ReporterData_ReporterType) Type() protoreflect.EnumType
type UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer ¶
type UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer struct{}
UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer 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 (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) CreateK8SPolicyIsPropagatedToK8SCluster ¶
func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) CreateK8SPolicyIsPropagatedToK8SCluster(context.Context, *CreateK8SPolicyIsPropagatedToK8SClusterRequest) (*CreateK8SPolicyIsPropagatedToK8SClusterResponse, error)
func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) DeleteK8SPolicyIsPropagatedToK8SCluster ¶
func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) DeleteK8SPolicyIsPropagatedToK8SCluster(context.Context, *DeleteK8SPolicyIsPropagatedToK8SClusterRequest) (*DeleteK8SPolicyIsPropagatedToK8SClusterResponse, error)
func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) UpdateK8SPolicyIsPropagatedToK8SCluster ¶
func (UnimplementedKesselK8SPolicyIsPropagatedToK8SClusterServiceServer) UpdateK8SPolicyIsPropagatedToK8SCluster(context.Context, *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse, error)
type UnsafeKesselK8SPolicyIsPropagatedToK8SClusterServiceServer ¶
type UnsafeKesselK8SPolicyIsPropagatedToK8SClusterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKesselK8SPolicyIsPropagatedToK8SClusterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KesselK8SPolicyIsPropagatedToK8SClusterServiceServer will result in compilation errors.
type UpdateK8SPolicyIsPropagatedToK8SClusterRequest ¶
type UpdateK8SPolicyIsPropagatedToK8SClusterRequest struct { // The resource-relationship to be updated will be defined by // \"<reporter_data.reporter_type>:<reporter_instance_id>:<reporter_data.subject_local_resource_id>\" // AND \"<reporter_data.reporter_type>:<reporter_instance_id>:<reporter_data.object_local_resource_id>\" // from the request body. K8SpolicyIspropagatedtoK8Scluster *K8SPolicyIsPropagatedToK8SCluster `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor
deprecated
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateK8SPolicyIsPropagatedToK8SClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) GetK8SpolicyIspropagatedtoK8Scluster ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) GetK8SpolicyIspropagatedtoK8Scluster() *K8SPolicyIsPropagatedToK8SCluster
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage ¶
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoMessage()
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) Reset ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) Reset()
func (*UpdateK8SPolicyIsPropagatedToK8SClusterRequest) String ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterRequest) String() string
type UpdateK8SPolicyIsPropagatedToK8SClusterResponse ¶
type UpdateK8SPolicyIsPropagatedToK8SClusterResponse struct {
// contains filtered or unexported fields
}
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor
deprecated
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateK8SPolicyIsPropagatedToK8SClusterResponse.ProtoReflect.Descriptor instead.
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage ¶
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoMessage()
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterResponse) ProtoReflect() protoreflect.Message
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) Reset ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterResponse) Reset()
func (*UpdateK8SPolicyIsPropagatedToK8SClusterResponse) String ¶
func (x *UpdateK8SPolicyIsPropagatedToK8SClusterResponse) String() string