cluster

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Name           string
	RestConfig     *rest.Config
	ClientProducer client.Producer
	Submariner     *v1alpha1.Submariner
}

func NewInfo

func NewInfo(clusterName string, clientProducer client.Producer, 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)

Jump to

Keyboard shortcuts

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