Documentation
¶
Index ¶
- func IsValidID(clusterID string) error
- func MergeImageOverrides(imageOverrides map[string]string, localImageOverrides []string) (map[string]string, error)
- func SanitizeID(clusterID string) string
- type Info
- func (c *Info) GetAnyRemoteEndpoint(ctx context.Context) (*submarinerv1.Endpoint, error)
- func (c *Info) GetClusters(ctx context.Context, namespace string) ([]submarinerv1.Cluster, error)
- func (c *Info) GetGateways(ctx context.Context) ([]submarinerv1.Gateway, error)
- func (c *Info) GetImageRepositoryInfo(localImageOverrides ...string) (*image.RepositoryInfo, error)
- func (c *Info) GetLocalEndpoint(ctx context.Context) (*submarinerv1.Endpoint, error)
- func (c *Info) GetRouteAgents(ctx context.Context) ([]submarinerv1.RouteAgent, error)
- func (c *Info) HasSingleNode(ctx context.Context) (bool, error)
- func (c *Info) OperatorNamespace() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeImageOverrides ¶ added in v0.14.2
func SanitizeID ¶ added in v0.14.0
Types ¶
type Info ¶
type Info struct {
Name string
RestConfig *rest.Config
ClientProducer client.Producer
Submariner *v1alpha1.Submariner
ServiceDiscovery *v1alpha1.ServiceDiscovery
// contains filtered or unexported fields
}
func (*Info) GetAnyRemoteEndpoint ¶
func (*Info) GetClusters ¶ added in v0.15.0
func (*Info) GetGateways ¶
func (*Info) GetImageRepositoryInfo ¶
func (c *Info) GetImageRepositoryInfo(localImageOverrides ...string) (*image.RepositoryInfo, error)
func (*Info) GetLocalEndpoint ¶
func (*Info) GetRouteAgents ¶ added in v0.19.0
func (c *Info) GetRouteAgents(ctx context.Context) ([]submarinerv1.RouteAgent, error)
func (*Info) OperatorNamespace ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.