Documentation ¶
Index ¶
Constants ¶
View Source
const (
FetchClusterQuery = `select name, kubeconfig from clusters where name = ?;`
)
View Source
const (
FetchPluginQuery = `select name, repo_name, repo_url, chart_name, namespace, release_name, version from tools where name = ?;`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterDetails ¶
func FetchClusterDetails ¶
func FetchClusterDetails(log logging.Logger, clusterName string) (*ClusterDetails, error)
type ClusterStoreConfiguration ¶
type ClusterStoreConfiguration struct {
TableName string `envconfig:"CASSANDRA_CLUSTER_TABLE_NAME" default:"clusters"`
}
type CredentialFetcher ¶
type CredentialFetcher struct {
// contains filtered or unexported fields
}
func NewCredentialFetcher ¶
func NewCredentialFetcher(log logging.Logger) (*CredentialFetcher, error)
func (*CredentialFetcher) FetchArgoCDDetails ¶
func (c *CredentialFetcher) FetchArgoCDDetails(namespace, releaseName string) (*PluginResponse, error)
func (*CredentialFetcher) FetchPluginDetails ¶
func (c *CredentialFetcher) FetchPluginDetails(req *PluginRequest) (*PluginResponse, error)
type PluginConfiguration ¶
type PluginConfiguration struct {
TableName string `envconfig:"CASSANDRA_TABLE_NAME" default:"tools"`
}
type PluginDetails ¶
type PluginDetails struct { Name string RepoName string RepoURL string ChartName string Namespace string ReleaseName string Version string }
func FetchPluginDetails ¶
func FetchPluginDetails(log logging.Logger, pluginName string) (*PluginDetails, error)
type PluginRequest ¶
type PluginRequest struct {
PluginName string
}
Click to show internal directories.
Click to hide internal directories.