Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseWindow ¶
func CloseWindow(w http.ResponseWriter, r *http.Request)
CloseWindow closes the window in the given tado° zone
Types ¶
type SecretManager ¶
type SecretManager struct {
// contains filtered or unexported fields
}
SecretManager allows to access secrets
func NewSecretManager ¶
func NewSecretManager(ctx context.Context) (*SecretManager, error)
NewSecretManager creates a new SecretManager object
func (*SecretManager) AccessSecret ¶
func (sm *SecretManager) AccessSecret(ctx context.Context, projectID, secretName string) (string, error)
AccessSecret requests and returns a secret with the given name in the given project
type TadoWindowCloseAction ¶
type TadoWindowCloseAction struct { Token string `json:"token"` HomeName string `json:"home_name"` ZoneName string `json:"zone_name"` }
TadoWindowCloseAction holds tado° zone in which a window was closed
Click to show internal directories.
Click to hide internal directories.