Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Secret ¶
type Secret struct {
Data SecretDataObject `json:"data"`
}
Secret contains our extracted secret from etcd
type SecretDataObject ¶
SecretDataObject will contain the data from our secret
type SecretObject ¶
type SecretObject struct { Kind string `json:"kind,omitempty"` Namespace string `json:"namespace,omitempty"` Name string `json:"name"` }
SecretObject will contain our secret details are unmarshal
type ServiceAccount ¶
type ServiceAccount struct {
Secrets []SecretObject `json:"secrets"`
}
ServiceAccount is a rehash of k8s serviceAccount struct but only the bits we want (the secret name)
Click to show internal directories.
Click to hide internal directories.