Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindRequest ¶
type FindRequest struct { Zone string `request:"-" validate:"required"` Sort search.SortKeys Count int From int }
func (*FindRequest) ToRequestParameter ¶
func (req *FindRequest) ToRequestParameter() (*sacloud.FindCondition, error)
func (*FindRequest) Validate ¶
func (req *FindRequest) Validate() error
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides a high-level API of for ServiceClass
func (*Service) Find ¶
func (s *Service) Find(req *FindRequest) ([]*sacloud.ServiceClass, error)
func (*Service) FindWithContext ¶
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*sacloud.ServiceClass, error)
Click to show internal directories.
Click to hide internal directories.