package
4.1.0-ursa-18-SNAPSHOT+incompatible
Repository: https://github.com/streamnative/pulsarctl.git
Documentation: pkg.go.dev

# Functions

Load takes a byte slice and deserializes the contents into Config object.
LoadFromFile takes a filename and deserializes the contents into Config object.
ModifyConfig takes a Config object and write filed of Config struct to file.
NewDefaultClientConfigLoadingRules returns a ClientConfigLoadingRules object with default fields filled in.
No description provided by the author
NewInteractiveClientConfig creates a DirectClientConfig using the passed context name and a reader in case auth information is not provided via files or flags.
NewNonInteractiveClientConfig creates a DirectClientConfig using the passed context name and does not have a fallback reader for auth information.
NewNonInteractiveDeferredLoadingClientConfig creates a ConfigClientClientConfig using the passed context name.
Write serializes the config to yaml.
WriteToFile serializes the config to yaml and writes it out to a file.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

ClientConfigLoadingRules is an ExplicitPath and string slice of specific locations that are used for merging together a Config Callers can put the chain together however they want, but we'd recommend: EnvVarPathFiles if set (a list of files if set) OR the HomeDirectoryPath ExplicitPath is special, because if a user specifically requests a certain file be used and error is reported if this file is not present.
DeferredLoadingClientConfig is a ClientConfig interface that is backed by a client config loader.
DirectClientConfig is a ClientConfig interface that is backed by a clientcmdapi.Config, options overrides, and an optional fallbackReader for auth information.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author