Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { *Base Service string `json:"service" diff:"-"` ClientID string `json:"azure_client_id" diff:"-"` ClientSecret string `json:"azure_client_secret" diff:"-"` TenantID string `json:"azure_tenant_id" diff:"-"` SubscriptionID string `json:"azure_subscription_id" diff:"-"` Environment string `json:"environment" diff:"-"` ResourceGroup string `json:"resource_group" diff:"-"` Resources []Event `json:"components" diff:"-"` }
Collection : collection of events
type Event ¶
type Event interface { Validate() error Process() (err error) Error(err error) Create() error Update() error Delete() error Find() error Get() error GetSubject() string GetResource() Resource GetBody() []byte GetErroredBody() []byte GetCompletedBody() []byte Log(string, string) SetID(string) SetComponents([]Event) SetState(state string) Client() (*azurerm.ArmClient, error) }
Event : Generic event interface
type Resource ¶
type Resource interface { ValidateID(id string) bool SetID(id string) GetID() string SetState(state string) ResourceDataToEvent(d *schema.ResourceData) error EventToResourceData(d *schema.ResourceData) error SetComponents([]Event) Clone() (Event, error) Client() (*azurerm.ArmClient, error) Error(err error) }
Resource : ...
Click to show internal directories.
Click to hide internal directories.