Documentation
¶
Index ¶
- Constants
- func NormalizeType(val string) string
- func RequestToDeleteResource(r *pb.DeleteResourceRequest, identity *authnapi.Identity) (model_legacy.ReporterResourceId, error)
- func RequestToResource(r *pb.ReportResourceRequest, identity *authnapi.Identity) (*model_legacy.Resource, error)
- func ResponseFromDeleteResource() *pb.DeleteResourceResponse
- func ResponseFromResource() *pb.ReportResourceResponse
- func ToLookupResourceRequest(request *pb.StreamedListObjectsRequest) (*pbv1beta1.LookupResourcesRequest, error)
- func ToLookupResourceResponse(response *pbv1beta1.LookupResourcesResponse) *pb.StreamedListObjectsResponse
- type InventoryService
- func (s *InventoryService) Check(ctx context.Context, req *pb.CheckRequest) (*pb.CheckResponse, error)
- func (s *InventoryService) CheckForUpdate(ctx context.Context, req *pb.CheckForUpdateRequest) (*pb.CheckForUpdateResponse, error)
- func (c *InventoryService) DeleteResource(ctx context.Context, r *pb.DeleteResourceRequest) (*pb.DeleteResourceResponse, error)
- func (c *InventoryService) ReportResource(ctx context.Context, r *pb.ReportResourceRequest) (*pb.ReportResourceResponse, error)
- func (s *InventoryService) StreamedListObjects(req *pb.StreamedListObjectsRequest, ...) error
- type KesselCheckServiceService
Constants ¶
View Source
const (
ResourceType = "integration"
)
TODO: depends on how dynamic resources handles this?
Variables ¶
This section is empty.
Functions ¶
func NormalizeType ¶
func RequestToDeleteResource ¶
func RequestToDeleteResource(r *pb.DeleteResourceRequest, identity *authnapi.Identity) (model_legacy.ReporterResourceId, error)
func RequestToResource ¶
func RequestToResource(r *pb.ReportResourceRequest, identity *authnapi.Identity) (*model_legacy.Resource, error)
func ResponseFromDeleteResource ¶
func ResponseFromDeleteResource() *pb.DeleteResourceResponse
func ResponseFromResource ¶
func ResponseFromResource() *pb.ReportResourceResponse
func ToLookupResourceRequest ¶
func ToLookupResourceRequest(request *pb.StreamedListObjectsRequest) (*pbv1beta1.LookupResourcesRequest, error)
func ToLookupResourceResponse ¶
func ToLookupResourceResponse(response *pbv1beta1.LookupResourcesResponse) *pb.StreamedListObjectsResponse
Types ¶
type InventoryService ¶
type InventoryService struct {
pb.UnimplementedKesselInventoryServiceServer
Ctl *resources.Usecase
}
func NewKesselInventoryServiceV1beta2 ¶
func NewKesselInventoryServiceV1beta2(c *resources.Usecase) *InventoryService
func (*InventoryService) Check ¶
func (s *InventoryService) Check(ctx context.Context, req *pb.CheckRequest) (*pb.CheckResponse, error)
func (*InventoryService) CheckForUpdate ¶
func (s *InventoryService) CheckForUpdate(ctx context.Context, req *pb.CheckForUpdateRequest) (*pb.CheckForUpdateResponse, error)
func (*InventoryService) DeleteResource ¶
func (c *InventoryService) DeleteResource(ctx context.Context, r *pb.DeleteResourceRequest) (*pb.DeleteResourceResponse, error)
func (*InventoryService) ReportResource ¶
func (c *InventoryService) ReportResource(ctx context.Context, r *pb.ReportResourceRequest) (*pb.ReportResourceResponse, error)
func (*InventoryService) StreamedListObjects ¶
func (s *InventoryService) StreamedListObjects( req *pb.StreamedListObjectsRequest, stream pb.KesselInventoryService_StreamedListObjectsServer, ) error
type KesselCheckServiceService ¶
type KesselCheckServiceService struct {
pb.UnimplementedKesselCheckServiceServer
Ctl *resources.Usecase
}
func NewKesselCheckServiceV1beta1 ¶
func NewKesselCheckServiceV1beta1(c *resources.Usecase) *KesselCheckServiceService
func (*KesselCheckServiceService) Check ¶
func (s *KesselCheckServiceService) Check(ctx context.Context, req *pb.CheckRequest) (*pb.CheckResponse, error)
func (*KesselCheckServiceService) CheckForUpdate ¶
func (s *KesselCheckServiceService) CheckForUpdate(ctx context.Context, req *pb.CheckForUpdateRequest) (*pb.CheckForUpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.