Documentation ¶
Index ¶
- type AksDiscoveredCluster
- func (a *AksDiscoveredCluster) GetClientset(ctx context.Context) (*kubernetes.Clientset, error)
- func (a *AksDiscoveredCluster) GetConfig(ctx context.Context) (*rest.Config, error)
- func (a *AksDiscoveredCluster) GetData() (*cluster.Cluster, error)
- func (a *AksDiscoveredCluster) GetToken(ctx context.Context) (*token.Token, error)
- type ClustersRetriever
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AksDiscoveredCluster ¶
type AksDiscoveredCluster struct {
// contains filtered or unexported fields
}
func (*AksDiscoveredCluster) GetClientset ¶
func (a *AksDiscoveredCluster) GetClientset(ctx context.Context) (*kubernetes.Clientset, error)
type ClustersRetriever ¶
type ClustersRetriever struct {
// contains filtered or unexported fields
}
func NewClustersRetriever ¶
func NewClustersRetriever(identity azcore.TokenCredential) (*ClustersRetriever, error)
func (*ClustersRetriever) GetCluster ¶
func (r *ClustersRetriever) GetCluster(ctx context.Context, region, name string) (cluster.DiscoveredCluster, error)
func (*ClustersRetriever) Retrieve ¶
func (r *ClustersRetriever) Retrieve(ctx context.Context, opts ...cluster.RetrieveOption) (*cluster.RetrieveResults, error)
Click to show internal directories.
Click to hide internal directories.