config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

func GetDialerRestConfigPb(clusterName string, c *clusterpb.ManageConfig) (*rest.Config, error)

GetDialerRestConfigPb get cluster dialer rest.Config

func GetInClusterRestConfig

func GetInClusterRestConfig() (*rest.Config, error)

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

func ParseManageConfigPb(clusterName string, c *clusterpb.ManageConfig) (*rest.Config, error)

ParseManageConfigPb parse manage config to rest.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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