Documentation
¶
Index ¶
- Constants
- Variables
- func GetCA(client clientset.Interface) ([]byte, error)
- func GetCSR(apiserver, token string, nodeName types.NodeName) (*clientcmdapi.Config, error)
- func NewLocal(pvd string) (host.Host, error)
- func RequestFastCSR(ctx context.Context, bootstrapClientConfig *restclient.Config, ...) (*clientcmdapi.Config, error)
- func RequestWriteCSR(ctx context.Context, bootstrapClientConfig *restclient.Config, ...) (*clientcmdapi.Config, error)
- func SendCSR(ctx context.Context, client clientset.Interface, cfg *Conf) (certData []byte, err error)
- type Conf
- type Meridian
Constants ¶
View Source
const ( KubeconfigTmp = "/tmp/kubeconfig" ClusterName = "kubernetes" )
View Source
const (
CSR_OPERATOR = "xdpin-operator"
)
Variables ¶
Functions ¶
func RequestFastCSR ¶
func RequestFastCSR( ctx context.Context, bootstrapClientConfig *restclient.Config, nodeName types.NodeName, cn string, ) (*clientcmdapi.Config, error)
RequestFastCSR used for test, generate xdpin-operator kubeconfig
func RequestWriteCSR ¶
func RequestWriteCSR( ctx context.Context, bootstrapClientConfig *restclient.Config, dstKubeconfig string, nodeName types.NodeName, cn string, ) (*clientcmdapi.Config, error)
RequestWriteCSR used for test, generate xdpin-operator kubeconfig
Types ¶
type Meridian ¶
type Meridian struct {
// contains filtered or unexported fields
}
func NewMeridianNode ¶
func (*Meridian) CreateDocker ¶
func (*Meridian) DestroyNode ¶
func (*Meridian) EnsureNode ¶
Click to show internal directories.
Click to hide internal directories.