Documentation ¶
Overview ¶
Package clusterid contains definition and methods to manipulate the Liqo ClusterID
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterID ¶
ClusterID defines the basic methods to interact with cluster identifier.
func NewClusterID ¶
NewClusterID generates a new clusterid and returns it.
func NewClusterIDFromClient ¶
func NewClusterIDFromClient(client kubernetes.Interface) (ClusterID, error)
NewClusterIDFromClient generates a new clusterid and returns it.
func NewStaticClusterID ¶
NewStaticClusterID returns a clusterID interface compliant object that stores a read-only clusterID.
type ClusterIDImpl ¶
type ClusterIDImpl struct {
// contains filtered or unexported fields
}
ClusterIDImpl implements the basic structure to safely manipulate ClusterID.
func (*ClusterIDImpl) GetClusterID ¶
func (cId *ClusterIDImpl) GetClusterID() string
GetClusterID retrieves the clusterid.
func (*ClusterIDImpl) SetupClusterID ¶
func (cId *ClusterIDImpl) SetupClusterID(namespace string) error
SetupClusterID sets a new clusterid.
Click to show internal directories.
Click to hide internal directories.