Documentation ¶
Index ¶
- type Emulator
- func (e *Emulator) GetPolicy(project string) *cloudresourcemanager.Policy
- func (e *Emulator) GetServiceAccountKeys() map[string][]*iam.ServiceAccountKey
- func (e *Emulator) GetServiceAccounts() map[string]*iam.ServiceAccount
- func (e *Emulator) Reset()
- func (e *Emulator) Run() string
- func (e *Emulator) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (e *Emulator) SetError(err error)
- func (e *Emulator) SetPolicy(project string, policy *cloudresourcemanager.Policy)
- func (e *Emulator) SetServiceAccount(name string, sa *iam.ServiceAccount)
- func (e *Emulator) SetServiceAccountKeys(name string, keys []*iam.ServiceAccountKey)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emulator ¶
type Emulator struct {
// contains filtered or unexported fields
}
func (*Emulator) GetServiceAccountKeys ¶
func (*Emulator) GetServiceAccounts ¶
func (*Emulator) SetServiceAccount ¶
func (*Emulator) SetServiceAccountKeys ¶
Click to show internal directories.
Click to hide internal directories.