cluster

package
v0.14.0-rc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidID added in v0.14.0

func IsValidID(clusterID string) error

func SanitizeID added in v0.14.0

func SanitizeID(clusterID string) string

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 NewInfo

func NewInfo(clusterName string, config *rest.Config) (*Info, error)

func (*Info) GetAnyRemoteEndpoint

func (c *Info) GetAnyRemoteEndpoint() (*submarinerv1.Endpoint, error)

func (*Info) GetGateways

func (c *Info) GetGateways() ([]submarinerv1.Gateway, error)

func (*Info) GetImageRepositoryInfo

func (c *Info) GetImageRepositoryInfo() *image.RepositoryInfo

func (*Info) GetLocalEndpoint

func (c *Info) GetLocalEndpoint() (*submarinerv1.Endpoint, error)

func (*Info) HasSingleNode

func (c *Info) HasSingleNode() (bool, error)

func (*Info) OperatorNamespace added in v0.14.0

func (c *Info) OperatorNamespace() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL