ospatch

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	server.Server `argument:"composed" URIParam:"ServerId"`
}

type ListDetails

type ListDetails struct {
	server.Server `argument:"composed" URIParam:"ServerId"`
	ExecutionId   string `URIParam:"yes" valid:"required"`
}

type Patch

type Patch struct {
	ServerIds []string `json:"servers"`
	OsType    string   `valid:"required" oneOf:"Windows2012,RedHat"`
}

func (*Patch) MarshalJSON

func (p *Patch) MarshalJSON() ([]byte, error)

func (*Patch) Validate

func (p *Patch) Validate() error

type PatchDetails

type PatchDetails struct {
	Execution_id  string
	Status        string
	Start_time    base.Time
	End_time      base.Time
	Duration      string
	Begin_message string
	End_message   string
	Patches       []struct {
		Start_time          base.Time
		End_time            base.Time
		Patch_begin_message string
		Patch_end_message   string
		Status              string
	}
}

type PatchInfo

type PatchInfo struct {
	Execution_id  string
	Status        string
	Start_time    base.Time
	End_time      base.Time
	Init_messages []struct {
		Start_time         base.Time
		End_time           base.Time
		Init_begin_message string
		Init_end_message   string
	}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL