Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "endpoint-creator", "API for creating and parsing Endpoints", cell.Provide(newEndpointCreator), )
Cell provides the EndpointCreator API for creating and parsing Endpoints.
Functions ¶
This section is empty.
Types ¶
type EndpointCreator ¶
type EndpointCreator interface {
// NewEndpointFromChangeModel creates a new endpoint from a request
NewEndpointFromChangeModel(ctx context.Context, base *models.EndpointChangeRequest) (*endpoint.Endpoint, error)
ParseEndpoint(epJSON []byte) (*endpoint.Endpoint, error)
// AddIngressEndpoint creates an Endpoint representing Cilium Ingress on this node without a
// corresponding container necessarily existing. This is needed to be able to ingest and
// sync network policies applicable to Cilium Ingress to Envoy.
AddIngressEndpoint(ctx context.Context) error
AddHostEndpoint(ctx context.Context) error
}
Click to show internal directories.
Click to hide internal directories.