Documentation
¶
Index ¶
- Constants
- func ByServiceNameLabelIndex(object interface{}) ([]string, error)
- type API
- type NamespaceReportHandler
- func (n *NamespaceReportHandler) AddObject(obj runtime.Object, events map[types.UID][]*core_v1.Event) error
- func (n *NamespaceReportHandler) FormatReport() reporter_v1.Report
- func (n *NamespaceReportHandler) GenerateReport(ctx context.Context, providers map[string]ops.ProviderInterface, ...) reporter_v1.Report
- func (n *NamespaceReportHandler) GenerateSummary(expand string) reporter_v1.Report
- func (n *NamespaceReportHandler) HandleComposition(obj *comp_v1.ServiceDescriptor) error
- func (n *NamespaceReportHandler) HandleExecution(obj *smith_v1.Bundle, events map[types.UID][]*core_v1.Event) error
- func (n *NamespaceReportHandler) HandleFormation(obj *form_v1.LocationDescriptor) error
- func (n *NamespaceReportHandler) HandleOrchestration(state *orch_v1.State) error
- type ProviderOpsResponse
- type ProviderResponse
- type RequestFilter
Constants ¶
View Source
const (
ByServiceNameLabelIndexName = "serviceLabelIndex"
)
Variables ¶
This section is empty.
Functions ¶
func ByServiceNameLabelIndex ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewReportingAPI ¶
func NewReportingAPI(logger *zap.Logger, router *chi.Mux, informers map[schema.GroupVersionKind]cache.SharedIndexInformer, asapConfig pkiutil.ASAP, location voyager.Location, apiFile string, registry prometheus.Registerer) (*API, error)
func (*API) AddOrUpdateProvider ¶
func (r *API) AddOrUpdateProvider(p ops.ProviderInterface)
type NamespaceReportHandler ¶
type NamespaceReportHandler struct { *reporter_v1.NamespaceReport // contains filtered or unexported fields }
func NewNamespaceReportHandler ¶
func NewNamespaceReportHandler(name string, service voyager.ServiceName, objs []runtime.Object, filter RequestFilter, location voyager.Location) (*NamespaceReportHandler, error)
func (*NamespaceReportHandler) FormatReport ¶
func (n *NamespaceReportHandler) FormatReport() reporter_v1.Report
func (*NamespaceReportHandler) GenerateReport ¶
func (n *NamespaceReportHandler) GenerateReport(ctx context.Context, providers map[string]ops.ProviderInterface, asapConfig pkiutil.ASAP) reporter_v1.Report
func (*NamespaceReportHandler) GenerateSummary ¶
func (n *NamespaceReportHandler) GenerateSummary(expand string) reporter_v1.Report
func (*NamespaceReportHandler) HandleComposition ¶
func (n *NamespaceReportHandler) HandleComposition(obj *comp_v1.ServiceDescriptor) error
func (*NamespaceReportHandler) HandleExecution ¶
func (*NamespaceReportHandler) HandleFormation ¶
func (n *NamespaceReportHandler) HandleFormation(obj *form_v1.LocationDescriptor) error
func (*NamespaceReportHandler) HandleOrchestration ¶
func (n *NamespaceReportHandler) HandleOrchestration(state *orch_v1.State) error
type ProviderOpsResponse ¶
type ProviderOpsResponse struct {
Result *ProviderResponse `json:"result,omitempty"`
}
type ProviderResponse ¶
Directories
¶
Path | Synopsis |
---|---|
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
typed/reporter/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
typed/reporter/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.