Documentation ¶
Index ¶
- func GenerateCA(ca *x509.Certificate) (CAPEM, CAPrivateKey, error)
- func GenerateServerCert(serverCert *x509.Certificate, caPem CAPEM, caPrivKeyPem CAPrivateKey) (ServerCertPEM, ServerPrivateKey, error)
- func VerifyServerWithCA(caPem []byte, serverPem []byte) error
- type BIGIPHelper
- func (bh *BIGIPHelper) Check(ctx context.Context, kind, name, partition, subfolder string, ...) error
- func (bh *BIGIPHelper) Exist(ctx context.Context, kind, name, partition, subfolder string) error
- func (bh *BIGIPHelper) Get(ctx context.Context, kind, name, partition, subfolder string) (map[string]interface{}, error)
- type CAPEM
- type CAPrivateKey
- type Configs
- type ConnectHelper
- type K8SHelper
- func (k *K8SHelper) Apply(ctx context.Context, configs Configs) error
- func (k *K8SHelper) Delete(ctx context.Context, configs Configs) error
- func (k *K8SHelper) Load(ctx context.Context, fs io.Reader) (*Configs, error)
- func (k *K8SHelper) LoadAndRender(ctx context.Context, fs io.Reader, data map[string]interface{}) (*Configs, error)
- func (k *K8SHelper) Loads(ctx context.Context, yaml string) (*Configs, error)
- type ServerCertPEM
- type ServerPrivateKey
- type SuiteConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCA ¶
func GenerateCA(ca *x509.Certificate) (CAPEM, CAPrivateKey, error)
func GenerateServerCert ¶
func GenerateServerCert(serverCert *x509.Certificate, caPem CAPEM, caPrivKeyPem CAPrivateKey) (ServerCertPEM, ServerPrivateKey, error)
func VerifyServerWithCA ¶
Types ¶
type BIGIPHelper ¶
func NewBIGIPHelper ¶
func NewBIGIPHelper(username, password, ipAddress string, port int) *BIGIPHelper
type CAPrivateKey ¶
type CAPrivateKey []byte
type Configs ¶
type Configs []*unstructured.Unstructured
type ConnectHelper ¶
connection test helper for connection test.
type K8SHelper ¶
type K8SHelper struct {
// contains filtered or unexported fields
}
func (*K8SHelper) LoadAndRender ¶
type ServerCertPEM ¶
type ServerCertPEM []byte
type ServerPrivateKey ¶
type ServerPrivateKey []byte
type SuiteConfig ¶
type SuiteConfig struct { KubeConfig string `yaml:"kubeConfig"` BIGIPConfig struct { Username string `yaml:"username"` Password string `yaml:"password"` IPAddress string `yaml:"ipAddress"` Port int `yaml:"port"` } `yaml:"bigipConfig"` }
func (*SuiteConfig) Load ¶
func (sc *SuiteConfig) Load(filepath string) error
Click to show internal directories.
Click to hide internal directories.