Documentation ¶
Index ¶
- func New(subject, cryptoKey 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) Error(err error)
- func (ev *Event) EventToResourceData(d *schema.ResourceData) error
- func (ev *Event) GetID() string
- func (ev *Event) ResourceDataToEvent(d *schema.ResourceData) error
- func (ev *Event) SetComponents(components []event.Event)
- func (ev *Event) SetID(id string)
- func (ev *Event) SetState(state string)
- func (ev *Event) ValidateID(id string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { event.Base types.Event ErrorMessage string `json:"error,omitempty" diff:"-"` CryptoKey string `json:"-" diff:"-"` Validator *validator.Validator `json:"-" diff:"-"` GenericEvent event.Event `json:"-" validate:"-" diff:"-"` }
Event : This is the Ernest representation of an azure networkinterface
func (*Event) EventToResourceData ¶
func (ev *Event) EventToResourceData(d *schema.ResourceData) error
EventToResourceData : Translates the current event on a valid ResourceData
func (*Event) ResourceDataToEvent ¶
func (ev *Event) ResourceDataToEvent(d *schema.ResourceData) error
ResourceDataToEvent : Translates a ResourceData on a valid Ernest Event
func (*Event) SetComponents ¶
SetComponents : ....
func (*Event) ValidateID ¶
ValidateID : determines if the given id is valid for this resource type
Click to show internal directories.
Click to hide internal directories.