Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotAuthorized = notAuthorized{}
Functions ¶
This section is empty.
Types ¶
type AuthFailure ¶
type AuthFailure struct {
// contains filtered or unexported fields
}
func (AuthFailure) Error ¶
func (e AuthFailure) Error() string
type Client ¶
type Client interface {
Login(info map[string]interface{}, configTypes []string) (*edge.ApiSession, error)
Refresh() (*time.Time, error)
GetServices() ([]*edge.Service, error)
CreateSession(svcId string, kind edge.SessionType) (*edge.Session, error)
RefreshSession(id string) (*edge.Session, error)
SendPostureResponse(response PostureResponse) error
}
type NotAccessible ¶
type NotAccessible struct {
// contains filtered or unexported fields
}
func (NotAccessible) Error ¶
func (e NotAccessible) Error() string
type NotFound ¶ added in v0.13.35
type NotFound NotAccessible
type PostureResponse ¶ added in v0.14.5
type PostureResponse struct {
Id string `json:"id"`
TypeId string `json:"typeId"`
PostureSubType `json:"-"`
}
func (PostureResponse) MarshalJSON ¶ added in v0.14.5
func (response PostureResponse) MarshalJSON() ([]byte, error)
type PostureResponseDomain ¶ added in v0.14.5
type PostureResponseDomain struct {
Domain string `json:"domain"`
}
func (PostureResponseDomain) IsPostureSubType ¶ added in v0.14.5
func (p PostureResponseDomain) IsPostureSubType()
type PostureResponseMac ¶ added in v0.14.5
type PostureResponseMac struct {
MacAddresses []string `json:"macAddresses"`
}
func (PostureResponseMac) IsPostureSubType ¶ added in v0.14.5
func (p PostureResponseMac) IsPostureSubType()
type PostureResponseOs ¶ added in v0.14.5
type PostureResponseOs struct {
Type string `json:"type"`
Version string `json:"version"`
Build string `json:"build"`
}
func (PostureResponseOs) IsPostureSubType ¶ added in v0.14.5
func (p PostureResponseOs) IsPostureSubType()
type PostureResponseProcess ¶ added in v0.14.5
type PostureResponseProcess struct {
IsRunning bool `json:"isRunning"`
Hash string `json:"hash"`
SignerFingerprint string `json:"signerFingerprint"`
}
func (PostureResponseProcess) IsPostureSubType ¶ added in v0.14.5
func (p PostureResponseProcess) IsPostureSubType()
type PostureSubType ¶ added in v0.14.5
type PostureSubType interface {
IsPostureSubType()
}
Click to show internal directories.
Click to hide internal directories.