mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-18 22:48:57 +02:00
Introduce service accounts and bootstrap tokens (#22)
This commit is contained in:
@@ -15,3 +15,10 @@ func WithTLSConfig(tlsConfig *tls.Config) Option {
|
||||
client.tlsConfig = tlsConfig
|
||||
}
|
||||
}
|
||||
|
||||
func WithCredentials(serviceAccountName string, serviceAccountToken string) Option {
|
||||
return func(client *Client) {
|
||||
client.serviceAccountName = serviceAccountName
|
||||
client.serviceAccountToken = serviceAccountToken
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user