Documentation ¶
Index ¶
- func ClientConfigFromFile(file, context string) clientcmd.ClientConfig
- func Default() (*rest.Config, error)
- func FromFile(file, context string) (*rest.Config, error)
- func FromURLTokenAndScheme(serverURL, token string, scheme *runtime.Scheme) (*rest.Config, error)
- func MustBuildScheme(addToSchemes ...AddToSchemeFunc) (*runtime.Scheme, serializer.CodecFactory, runtime.ParameterCodec, ...)
- func New(scheme *runtime.Scheme) (*rest.Config, error)
- func SetScheme(cfg *rest.Config, scheme *runtime.Scheme) *rest.Config
- func WaitFor(ctx context.Context, cfg *rest.Config) error
- type AddToSchemeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientConfigFromFile ¶
func ClientConfigFromFile(file, context string) clientcmd.ClientConfig
func FromURLTokenAndScheme ¶
func MustBuildScheme ¶
func MustBuildScheme(addToSchemes ...AddToSchemeFunc) (*runtime.Scheme, serializer.CodecFactory, runtime.ParameterCodec, func(*runtime.Scheme) error)
Types ¶
type AddToSchemeFunc ¶
Click to show internal directories.
Click to hide internal directories.