swiftkube / client

Swift client for Kubernetes
Apache License 2.0
129 stars 20 forks source link

KubernetesClientConfig initialiser is not public #3

Closed t089 closed 3 years ago

t089 commented 3 years ago

SwiftkubeClient 0.3.1

let config = KubernetesClientConfig(
    masterURL: "https://kubernetesmaster",
    namespace: "default",
    authentication: .bearer(token: "xyz"),
    trustRoots: NIOSSLTrustRoots.certificates(caCert),
    insecureSkipTLSVerify: false
)

---> 'KubernetesClientConfig' initializer is inaccessible due to 'internal' protection level