Documentation ¶
Index ¶
- type ApplicationServer
- type Service
- func (service *Service) Create(server ApplicationServer) (*ApplicationServer, *http.Response, error)
- func (service *Service) Delete(id string) (*http.Response, error)
- func (service *Service) Get(id string) (*ApplicationServer, *http.Response, error)
- func (service *Service) GetAll() ([]ApplicationServer, *http.Response, error)
- func (service *Service) GetByName(appServerName string) (*ApplicationServer, *http.Response, error)
- func (service *Service) Update(id string, appServer ApplicationServer) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationServer ¶
type ApplicationServer struct { Address string `json:"address"` AppServerGroupIds []string `json:"appServerGroupIds"` ConfigSpace string `json:"configSpace,omitempty"` CreationTime string `json:"creationTime,"` Description string `json:"description"` Enabled bool `json:"enabled"` ID string `json:"id,omitempty"` ModifiedBy string `json:"modifiedBy,"` ModifiedTime string `json:"modifiedTime,"` Name string `json:"name"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(server ApplicationServer) (*ApplicationServer, *http.Response, error)
func (*Service) GetAll ¶ added in v0.0.5
func (service *Service) GetAll() ([]ApplicationServer, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.