Skip to content

Commit 5224cef

Browse files
ewilkeniabudiab
authored andcommitted
make ExecCredential public
1 parent 845473a commit 5224cef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SwiftkubeClient/Config/KubernetesClientConfig.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,20 +449,20 @@ private extension AuthInfo {
449449
// It seems that AWS doesn't implement properly the model for client.authentication.k8s.io/v1beta1
450450
// Acordingly with the doc https://kubernetes.io/docs/reference/config-api/client-authentication.v1beta1/
451451
// ExecCredential.Spec.interactive is required as long as the ones in the Status object.
452-
internal struct ExecCredential: Decodable {
452+
public struct ExecCredential: Codable {
453453
let apiVersion: String
454454
let kind: String
455455
let spec: Spec
456456
let status: Status
457457
}
458458

459-
internal extension ExecCredential {
460-
struct Spec: Decodable {
459+
public extension ExecCredential {
460+
struct Spec: Codable {
461461
let cluster: Cluster?
462462
let interactive: Bool?
463463
}
464464

465-
struct Status: Decodable {
465+
struct Status: Codable {
466466
let expirationTimestamp: Date
467467
let token: String
468468
let clientCertificateData: String?

0 commit comments

Comments
 (0)