Documentation ¶
Index ¶
Constants ¶
View Source
const SelfName = "self"
Variables ¶
This section is empty.
Functions ¶
func GetSiteInfo ¶
func GetSiteInfo(cfg *rest.Config, kc kubernetes.Interface, nodes []*core.Node, licenseID string) (*identityapi.SiteInfo, error)
func RefreshNodeStats ¶
func RefreshNodeStats(si *identityapi.SiteInfo, nodes []*core.Node)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetIdentity ¶
func (c *Client) GetIdentity() (*identityapi.ClusterIdentity, error)
func (*Client) GetToken ¶
func (c *Client) GetToken() (*identityapi.InboxTokenRequestResponse, error)
Click to show internal directories.
Click to hide internal directories.