Documentation
¶
Index ¶
- type AuthKind
- type KindKind
- type ModelsConfigResponse
- type ModelsDeviceCallbackResponse
- func (m *ModelsDeviceCallbackResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsDeviceCallbackResponse) MarshalBinary() ([]byte, error)
- func (m *ModelsDeviceCallbackResponse) UnmarshalBinary(b []byte) error
- func (m *ModelsDeviceCallbackResponse) Validate(formats strfmt.Registry) error
- type ModelsDeviceFlowResponse
- func (m *ModelsDeviceFlowResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsDeviceFlowResponse) MarshalBinary() ([]byte, error)
- func (m *ModelsDeviceFlowResponse) UnmarshalBinary(b []byte) error
- func (m *ModelsDeviceFlowResponse) Validate(formats strfmt.Registry) error
- type ModelsHealthResponse
- type ModelsServiceKeyLoginResponse
- func (m *ModelsServiceKeyLoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsServiceKeyLoginResponse) MarshalBinary() ([]byte, error)
- func (m *ModelsServiceKeyLoginResponse) UnmarshalBinary(b []byte) error
- func (m *ModelsServiceKeyLoginResponse) Validate(formats strfmt.Registry) error
- type ModelsUserInfoResponse
- func (m *ModelsUserInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModelsUserInfoResponse) MarshalBinary() ([]byte, error)
- func (m *ModelsUserInfoResponse) UnmarshalBinary(b []byte) error
- func (m *ModelsUserInfoResponse) Validate(formats strfmt.Registry) error
- type ServicekeyResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthKind ¶
type AuthKind string
AuthKind auth kind
swagger:model auth.Kind
func NewAuthKind ¶
func (AuthKind) ContextValidate ¶
ContextValidate validates this auth kind based on context it is used
type KindKind ¶
type KindKind string
KindKind kind kind
swagger:model kind.Kind
func NewKindKind ¶
func (KindKind) ContextValidate ¶
ContextValidate validates this kind kind based on context it is used
type ModelsConfigResponse ¶
type ModelsConfigResponse struct {
// default next url
DefaultNextURL string `json:"default_next_url,omitempty"`
// device enabled
DeviceEnabled bool `json:"device_enabled,omitempty"`
// endpoint
Endpoint string `json:"endpoint,omitempty"`
// github enabled
GithubEnabled bool `json:"github_enabled,omitempty"`
// google enabled
GoogleEnabled bool `json:"google_enabled,omitempty"`
// magic enabled
MagicEnabled bool `json:"magic_enabled,omitempty"`
}
ModelsConfigResponse models config response
swagger:model models.ConfigResponse
func (*ModelsConfigResponse) ContextValidate ¶
ContextValidate validates this models config response based on context it is used
func (*ModelsConfigResponse) MarshalBinary ¶
func (m *ModelsConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsConfigResponse) UnmarshalBinary ¶
func (m *ModelsConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDeviceCallbackResponse ¶
type ModelsDeviceCallbackResponse struct {
// identifier
Identifier string `json:"identifier,omitempty"`
}
ModelsDeviceCallbackResponse models device callback response
swagger:model models.DeviceCallbackResponse
func (*ModelsDeviceCallbackResponse) ContextValidate ¶
func (m *ModelsDeviceCallbackResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models device callback response based on context it is used
func (*ModelsDeviceCallbackResponse) MarshalBinary ¶
func (m *ModelsDeviceCallbackResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDeviceCallbackResponse) UnmarshalBinary ¶
func (m *ModelsDeviceCallbackResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsDeviceFlowResponse ¶
type ModelsDeviceFlowResponse struct {
// device code
DeviceCode string `json:"device_code,omitempty"`
// polling rate
PollingRate int64 `json:"polling_rate,omitempty"`
// user code
UserCode string `json:"user_code,omitempty"`
}
ModelsDeviceFlowResponse models device flow response
swagger:model models.DeviceFlowResponse
func (*ModelsDeviceFlowResponse) ContextValidate ¶
func (m *ModelsDeviceFlowResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this models device flow response based on context it is used
func (*ModelsDeviceFlowResponse) MarshalBinary ¶
func (m *ModelsDeviceFlowResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsDeviceFlowResponse) UnmarshalBinary ¶
func (m *ModelsDeviceFlowResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsHealthResponse ¶
type ModelsHealthResponse struct {
// subscriptions
Subscriptions bool `json:"subscriptions,omitempty"`
}
ModelsHealthResponse models health response
swagger:model models.HealthResponse
func (*ModelsHealthResponse) ContextValidate ¶
ContextValidate validates this models health response based on context it is used
func (*ModelsHealthResponse) MarshalBinary ¶
func (m *ModelsHealthResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsHealthResponse) UnmarshalBinary ¶
func (m *ModelsHealthResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsServiceKeyLoginResponse ¶
type ModelsServiceKeyLoginResponse struct {
// creator
Creator string `json:"creator,omitempty"`
// organization
Organization string `json:"organization,omitempty"`
// resources
Resources []*ServicekeyResource `json:"resources"`
// service key id
ServiceKeyID string `json:"service_key_id,omitempty"`
// service session id
ServiceSessionID string `json:"service_session_id,omitempty"`
// service session secret
ServiceSessionSecret string `json:"service_session_secret,omitempty"`
}
ModelsServiceKeyLoginResponse models service key login response
swagger:model models.ServiceKeyLoginResponse
func (*ModelsServiceKeyLoginResponse) ContextValidate ¶
func (m *ModelsServiceKeyLoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models service key login response based on the context it is used
func (*ModelsServiceKeyLoginResponse) MarshalBinary ¶
func (m *ModelsServiceKeyLoginResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsServiceKeyLoginResponse) UnmarshalBinary ¶
func (m *ModelsServiceKeyLoginResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserInfoResponse ¶
type ModelsUserInfoResponse struct {
// identifier
Identifier string `json:"identifier,omitempty"`
// kind
Kind KindKind `json:"kind,omitempty"`
// organization
Organization string `json:"organization,omitempty"`
}
ModelsUserInfoResponse models user info response
swagger:model models.UserInfoResponse
func (*ModelsUserInfoResponse) ContextValidate ¶
func (m *ModelsUserInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this models user info response based on the context it is used
func (*ModelsUserInfoResponse) MarshalBinary ¶
func (m *ModelsUserInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserInfoResponse) UnmarshalBinary ¶
func (m *ModelsUserInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicekeyResource ¶
type ServicekeyResource struct {
// ID is the resource's unique identifier
ID string `json:"id,omitempty"`
// Type is the resource's type
//
// This can be customized to the application that is using the Service Key
Type string `json:"type,omitempty"`
}
ServicekeyResource servicekey resource
swagger:model servicekey.Resource
func (*ServicekeyResource) ContextValidate ¶
ContextValidate validates this servicekey resource based on context it is used
func (*ServicekeyResource) MarshalBinary ¶
func (m *ServicekeyResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicekeyResource) UnmarshalBinary ¶
func (m *ServicekeyResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation