Documentation ¶
Overview ¶
Package fleet provides access to the Fleet API.
See http://github.com/coreos/fleet
Usage example:
import "code.google.com/p/google-api-go-client/fleet/v1-alpha" ... fleetService, err := fleet.New(oauthHttpClient)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletableUnit ¶
type DesiredUnitState ¶
type MachinePage ¶
type MachinesListCall ¶
type MachinesListCall struct {
// contains filtered or unexported fields
}
func (*MachinesListCall) Do ¶
func (c *MachinesListCall) Do() (*MachinePage, error)
func (*MachinesListCall) NextPageToken ¶
func (c *MachinesListCall) NextPageToken(nextPageToken string) *MachinesListCall
NextPageToken sets the optional parameter "nextPageToken":
type MachinesService ¶
type MachinesService struct {
// contains filtered or unexported fields
}
func NewMachinesService ¶
func NewMachinesService(s *Service) *MachinesService
func (*MachinesService) List ¶
func (r *MachinesService) List() *MachinesListCall
List: Retrieve a page of Machine objects.
type Service ¶
type Service struct { BasePath string // API endpoint base URL Machines *MachinesService Units *UnitsService // contains filtered or unexported fields }
type SystemdState ¶
type Unit ¶
type Unit struct { CurrentState string `json:"currentState,omitempty"` DesiredState string `json:"desiredState,omitempty"` FileContents string `json:"fileContents,omitempty"` FileHash string `json:"fileHash,omitempty"` Name string `json:"name,omitempty"` Systemd *SystemdState `json:"systemd,omitempty"` TargetMachineID string `json:"targetMachineID,omitempty"` }
type UnitsDeleteCall ¶
type UnitsDeleteCall struct {
// contains filtered or unexported fields
}
func (*UnitsDeleteCall) Do ¶
func (c *UnitsDeleteCall) Do() error
type UnitsGetCall ¶
type UnitsGetCall struct {
// contains filtered or unexported fields
}
func (*UnitsGetCall) Do ¶
func (c *UnitsGetCall) Do() (*Unit, error)
type UnitsListCall ¶
type UnitsListCall struct {
// contains filtered or unexported fields
}
func (*UnitsListCall) Do ¶
func (c *UnitsListCall) Do() (*UnitPage, error)
func (*UnitsListCall) NextPageToken ¶
func (c *UnitsListCall) NextPageToken(nextPageToken string) *UnitsListCall
NextPageToken sets the optional parameter "nextPageToken":
type UnitsService ¶
type UnitsService struct {
// contains filtered or unexported fields
}
func NewUnitsService ¶
func NewUnitsService(s *Service) *UnitsService
func (*UnitsService) Delete ¶
func (r *UnitsService) Delete(name string, deletableunit *DeletableUnit) *UnitsDeleteCall
Delete: Delete the referenced Unit objects.
func (*UnitsService) Get ¶
func (r *UnitsService) Get(name string) *UnitsGetCall
Get: Retrieve a single Unit object.
func (*UnitsService) List ¶
func (r *UnitsService) List() *UnitsListCall
List: Retrieve a page of Unit objects.
func (*UnitsService) Set ¶
func (r *UnitsService) Set(name string, desiredunitstate *DesiredUnitState) *UnitsSetCall
Set: Set the desired state of a Unit.
type UnitsSetCall ¶
type UnitsSetCall struct {
// contains filtered or unexported fields
}
func (*UnitsSetCall) Do ¶
func (c *UnitsSetCall) Do() error
Click to show internal directories.
Click to hide internal directories.