Versions in this module Expand all Collapse all v1 v1.0.0 Dec 22, 2016 Changes in this version + const DiscoveryJSON + func MapSchemaToMachineStates(entities []*Machine) []machine.MachineState + func MapSchemaUnitOptionsToUnitFile(sopts []*UnitOption) *unit.UnitFile + func MapSchemaUnitStatesToUnitStates(entities []*UnitState) []*unit.UnitState + func MapSchemaUnitToScheduledUnit(entity *Unit) *job.ScheduledUnit + func MapSchemaUnitToUnit(entity *Unit) *job.Unit + func MapSchemaUnitsToScheduledUnits(entities []*Unit) []job.ScheduledUnit + func MapSchemaUnitsToUnits(entities []*Unit) []job.Unit + type Machine struct + ForceSendFields []string + Id string + Metadata map[string]string + NullFields []string + PrimaryIP string + func MapMachineStateToSchema(ms *machine.MachineState) *Machine + func (s *Machine) MarshalJSON() ([]byte, error) + type MachinePage struct + ForceSendFields []string + Machines []*Machine + NextPageToken string + NullFields []string + func (s *MachinePage) MarshalJSON() ([]byte, error) + type MachinesListCall struct + func (c *MachinesListCall) Context(ctx context.Context) *MachinesListCall + func (c *MachinesListCall) Do(opts ...googleapi.CallOption) (*MachinePage, error) + func (c *MachinesListCall) Fields(s ...googleapi.Field) *MachinesListCall + func (c *MachinesListCall) Header() http.Header + func (c *MachinesListCall) IfNoneMatch(entityTag string) *MachinesListCall + func (c *MachinesListCall) NextPageToken(nextPageToken string) *MachinesListCall + type MachinesService struct + func NewMachinesService(s *Service) *MachinesService + func (r *MachinesService) List() *MachinesListCall + type Service struct + BasePath string + Machines *MachinesService + UnitState *UnitStateService + Units *UnitsService + UserAgent string + func New(client *http.Client) (*Service, error) + type Unit struct + CurrentState string + DesiredState string + ForceSendFields []string + MachineID string + Name string + NullFields []string + Options []*UnitOption + func MapUnitToSchemaUnit(u *job.Unit, su *job.ScheduledUnit) *Unit + func (s *Unit) MarshalJSON() ([]byte, error) + type UnitOption struct + ForceSendFields []string + Name string + NullFields []string + Section string + Value string + func MapUnitFileToSchemaUnitOptions(uf *unit.UnitFile) []*UnitOption + func (s *UnitOption) MarshalJSON() ([]byte, error) + type UnitPage struct + ForceSendFields []string + NextPageToken string + NullFields []string + Units []*Unit + func (s *UnitPage) MarshalJSON() ([]byte, error) + type UnitState struct + ForceSendFields []string + Hash string + MachineID string + Name string + NullFields []string + SystemdActiveState string + SystemdLoadState string + SystemdSubState string + func MapUnitStateToSchemaUnitState(entity *unit.UnitState) *UnitState + func MapUnitStatesToSchemaUnitStates(entities []*unit.UnitState) []*UnitState + func (s *UnitState) MarshalJSON() ([]byte, error) + type UnitStateGetCall struct + func (c *UnitStateGetCall) Context(ctx context.Context) *UnitStateGetCall + func (c *UnitStateGetCall) Do(opts ...googleapi.CallOption) (*UnitState, error) + func (c *UnitStateGetCall) Fields(s ...googleapi.Field) *UnitStateGetCall + func (c *UnitStateGetCall) Header() http.Header + func (c *UnitStateGetCall) IfNoneMatch(entityTag string) *UnitStateGetCall + type UnitStateListCall struct + func (c *UnitStateListCall) Context(ctx context.Context) *UnitStateListCall + func (c *UnitStateListCall) Do(opts ...googleapi.CallOption) (*UnitStatePage, error) + func (c *UnitStateListCall) Fields(s ...googleapi.Field) *UnitStateListCall + func (c *UnitStateListCall) Header() http.Header + func (c *UnitStateListCall) IfNoneMatch(entityTag string) *UnitStateListCall + func (c *UnitStateListCall) MachineID(machineID string) *UnitStateListCall + func (c *UnitStateListCall) NextPageToken(nextPageToken string) *UnitStateListCall + func (c *UnitStateListCall) UnitName(unitName string) *UnitStateListCall + type UnitStatePage struct + ForceSendFields []string + NextPageToken string + NullFields []string + States []*UnitState + func (s *UnitStatePage) MarshalJSON() ([]byte, error) + type UnitStateService struct + func NewUnitStateService(s *Service) *UnitStateService + func (r *UnitStateService) Get(unitName string) *UnitStateGetCall + func (r *UnitStateService) List() *UnitStateListCall + type UnitsDeleteCall struct + func (c *UnitsDeleteCall) Context(ctx context.Context) *UnitsDeleteCall + func (c *UnitsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *UnitsDeleteCall) Fields(s ...googleapi.Field) *UnitsDeleteCall + func (c *UnitsDeleteCall) Header() http.Header + type UnitsGetCall struct + func (c *UnitsGetCall) Context(ctx context.Context) *UnitsGetCall + func (c *UnitsGetCall) Do(opts ...googleapi.CallOption) (*Unit, error) + func (c *UnitsGetCall) Fields(s ...googleapi.Field) *UnitsGetCall + func (c *UnitsGetCall) Header() http.Header + func (c *UnitsGetCall) IfNoneMatch(entityTag string) *UnitsGetCall + type UnitsListCall struct + func (c *UnitsListCall) Context(ctx context.Context) *UnitsListCall + func (c *UnitsListCall) Do(opts ...googleapi.CallOption) (*UnitPage, error) + func (c *UnitsListCall) Fields(s ...googleapi.Field) *UnitsListCall + func (c *UnitsListCall) Header() http.Header + func (c *UnitsListCall) IfNoneMatch(entityTag string) *UnitsListCall + func (c *UnitsListCall) NextPageToken(nextPageToken string) *UnitsListCall + type UnitsService struct + func NewUnitsService(s *Service) *UnitsService + func (r *UnitsService) Delete(unitName string) *UnitsDeleteCall + func (r *UnitsService) Get(unitName string) *UnitsGetCall + func (r *UnitsService) List() *UnitsListCall + func (r *UnitsService) Set(unitName string, unit *Unit) *UnitsSetCall + type UnitsSetCall struct + func (c *UnitsSetCall) Context(ctx context.Context) *UnitsSetCall + func (c *UnitsSetCall) Do(opts ...googleapi.CallOption) error + func (c *UnitsSetCall) Fields(s ...googleapi.Field) *UnitsSetCall + func (c *UnitsSetCall) Header() http.Header Other modules containing this package gopkg.in/coreos/fleet.v0