Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() appcontext.Component
Types ¶
type Auth ¶
type Auth struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` ExpiresAt int64 `json:"expires_at"` }
Auth represents the authentication info
type SensuRepository ¶
SensuRepository struct
func (SensuRepository) SensuDelete ¶
func (repo SensuRepository) SensuDelete(sensuURL string) error
SensuDelete func
func (SensuRepository) SensuGet ¶
func (repo SensuRepository) SensuGet(sensuurl string) ([]byte, error)
SensuGet func return []byte and error from a requested URL using a sensu api token
func (SensuRepository) SensuHealth ¶
func (repo SensuRepository) SensuHealth(sensuurl string) bool
SensuHealth func
Click to show internal directories.
Click to hide internal directories.