Documentation ¶
Index ¶
- func New(subject, resourceType string, body []byte, val *validator.Validator, ...) (event.Event, error)
- type Event
- func (ev *Event) Client() (*azurerm.ArmClient, error)
- func (ev *Event) Clone() (event.Event, error)
- func (ev *Event) Create() error
- func (ev *Event) Delete() error
- func (ev *Event) Error(err error)
- func (ev *Event) Find() error
- func (ev *Event) Get() error
- func (ev *Event) GetBody() []byte
- func (ev *Event) GetCompletedBody() []byte
- func (ev *Event) GetErroredBody() []byte
- func (ev *Event) GetResource() event.Resource
- func (ev *Event) GetSubject() string
- func (ev *Event) Log(level, message string)
- func (ev *Event) Process() (err error)
- func (ev *Event) SetComponents(components []event.Event)
- func (ev *Event) SetID(id string)
- func (ev *Event) SetState(state string)
- func (ev *Event) Update() error
- func (ev *Event) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { event.Base Resource event.Resource Provider *schema.Provider Component *schema.Resource ResourceData *schema.ResourceData ResourceType string Schema map[string]*schema.Schema Validator *validator.Validator Subject string `json:"-"` Body []byte `json:"-"` }
Event : ...
func (*Event) Delete ¶
Delete : Deletes the received resource from azure through azurerm terraform provider
func (*Event) Get ¶
Get : Requests and loads the resource to Azure through azurerm terraform provider
func (*Event) GetCompletedBody ¶
GetCompletedBody : Gets the body overloaded with errored state
func (*Event) GetErroredBody ¶
GetErroredBody : Gets the body overloaded with errored state
func (*Event) GetSubject ¶
GetSubject : Gets the subject for this event
func (*Event) SetComponents ¶
SetComponents ...
Click to show internal directories.
Click to hide internal directories.