Documentation ¶
Index ¶
- func GetDialerRestConfig(clusterName string, c *apistructs.ManageConfig) (*rest.Config, error)
- func GetDialerRestConfigPb(clusterName string, c *clusterpb.ManageConfig) (*rest.Config, error)
- func GetInClusterRestConfig() (*rest.Config, error)
- func GetRestConfig(c *apistructs.ManageConfig) (*rest.Config, error)
- func GetRestConfigPb(c *clusterpb.ManageConfig) (*rest.Config, error)
- func ParseManageConfig(clusterName string, c *apistructs.ManageConfig) (*rest.Config, error)
- func ParseManageConfigPb(clusterName string, c *clusterpb.ManageConfig) (*rest.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDialerRestConfig ¶
func GetDialerRestConfig(clusterName string, c *apistructs.ManageConfig) (*rest.Config, error)
GetDialerRestConfig get cluster dialer rest.Config
func GetDialerRestConfigPb ¶
GetDialerRestConfigPb get cluster dialer rest.Config
func GetInClusterRestConfig ¶
GetInClusterRestConfig get in cluster rest config
func GetRestConfig ¶
func GetRestConfig(c *apistructs.ManageConfig) (*rest.Config, error)
GetRestConfig get rest.Config with manage config
func GetRestConfigPb ¶
func GetRestConfigPb(c *clusterpb.ManageConfig) (*rest.Config, error)
GetRestConfigPb get rest.Config with manage config
func ParseManageConfig ¶
func ParseManageConfig(clusterName string, c *apistructs.ManageConfig) (*rest.Config, error)
ParseManageConfig parse manage config to rest.Config
func ParseManageConfigPb ¶
ParseManageConfigPb parse manage config to rest.Config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.