Documentation ¶
Index ¶
Constants ¶
View Source
const UserAdmin = "admin"
Variables ¶
This section is empty.
Functions ¶
func EnsureCASecret ¶
func EnsureCASecret(keystore fi.Keystore) (*pki.Certificate, *pki.PrivateKey, error)
Types ¶
type ApplyFederationOperation ¶
type ApplyFederationOperation struct { Federation *kopsapi.Federation KopsClient simple.Clientset // contains filtered or unexported fields }
func (*ApplyFederationOperation) EnsureNamespace ¶
func (o *ApplyFederationOperation) EnsureNamespace(c *fi.Context) error
func (*ApplyFederationOperation) FindKubecfg ¶
func (o *ApplyFederationOperation) FindKubecfg() (*kubeconfig.KubeconfigBuilder, error)
func (*ApplyFederationOperation) Run ¶
func (o *ApplyFederationOperation) Run() error
type AuthFile ¶
type AuthFile struct {
Lines []*AuthFileLine
}
func ParseAuthFile ¶
func (*AuthFile) Add ¶
func (a *AuthFile) Add(line *AuthFileLine) error
func (*AuthFile) FindUser ¶
func (a *AuthFile) FindUser(user string) *AuthFileLine
type AuthFileLine ¶
func ParseAuthFileLine ¶
func ParseAuthFileLine(line string) (*AuthFileLine, error)
type FederationCluster ¶
type FederationCluster struct { FederationNamespace string ControllerKubernetesClients []kubernetes.Interface FederationClient federation_clientset.Interface ClusterSecretName string ClusterName string ApiserverHostname string }
type FederationConfiguration ¶
type FederationConfiguration struct { Namespace string ApiserverKeypair *fitasks.Keypair ApiserverServiceName string ApiserverSecretName string KubeconfigSecretName string }
func (*FederationConfiguration) EnsureConfiguration ¶
func (o *FederationConfiguration) EnsureConfiguration(c *fi.Context) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.