Documentation ¶
Overview ¶
Package adminschema provides access to the Dex Admin API.
See http://github.com/coreos/dex
Usage example:
import "github.com/coreos/dex/Godeps/_workspace/src/google.golang.org/api/adminschema/v1" ... adminschemaService, err := adminschema.New(oauthHttpClient)
Index ¶
Constants ¶
const DiscoveryJSON = `` /* 2629-byte string literal not displayed */
This file is automatically generated by schema/generator
**** DO NOT EDIT ****
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateCall ¶
type AdminCreateCall struct {
// contains filtered or unexported fields
}
func (*AdminCreateCall) Do ¶
func (c *AdminCreateCall) Do() (*Admin, error)
func (*AdminCreateCall) Fields ¶
func (c *AdminCreateCall) Fields(s ...googleapi.Field) *AdminCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AdminGetCall ¶
type AdminGetCall struct {
// contains filtered or unexported fields
}
func (*AdminGetCall) Do ¶
func (c *AdminGetCall) Do() (*Admin, error)
func (*AdminGetCall) Fields ¶
func (c *AdminGetCall) Fields(s ...googleapi.Field) *AdminGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AdminService ¶
type AdminService struct {
// contains filtered or unexported fields
}
func NewAdminService ¶
func NewAdminService(s *Service) *AdminService
func (*AdminService) Create ¶
func (r *AdminService) Create(admin *Admin) *AdminCreateCall
Create: Create a new admin user.
func (*AdminService) Get ¶
func (r *AdminService) Get(id string) *AdminGetCall
Get: Retrieve information about an admin user.
type Service ¶
type Service struct { BasePath string // API endpoint base URL Admin *AdminService State *StateService // contains filtered or unexported fields }
type StateGetCall ¶
type StateGetCall struct {
// contains filtered or unexported fields
}
func (*StateGetCall) Do ¶
func (c *StateGetCall) Do() (*State, error)
func (*StateGetCall) Fields ¶
func (c *StateGetCall) Fields(s ...googleapi.Field) *StateGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type StateService ¶
type StateService struct {
// contains filtered or unexported fields
}
func NewStateService ¶
func NewStateService(s *Service) *StateService
func (*StateService) Get ¶
func (r *StateService) Get() *StateGetCall
Get: Get the state of the Dex DB