Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secrets ¶ added in v0.52.0
Secrets represents a secret with target cluster kubeconfig
func (Secrets) ForTargetCluster ¶ added in v0.52.0
ForTargetCluster can be used to get secret with target cluster kubeconfig
type ServiceAccounts ¶ added in v0.52.0
type ServiceAccounts struct {
Namespace string
}
func (ServiceAccounts) ForClusterYAML ¶ added in v0.52.0
func (sa ServiceAccounts) ForClusterYAML() string
ForClusterYAML can be used to get service account with cluster wide permissions
func (ServiceAccounts) ForDefaultNamespaceYAML ¶ added in v0.52.0
func (sa ServiceAccounts) ForDefaultNamespaceYAML(defaultNamespace, pkgiNamespace string) string
ForDefaultNamespaceYAML can be used to get service account with permissions in defaultNamespace
func (ServiceAccounts) ForNamespaceYAML ¶ added in v0.52.0
func (sa ServiceAccounts) ForNamespaceYAML() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.