Documentation ¶
Index ¶
- type FindRequest
- type ReadRequest
- type Service
- func (s *Service) Find(req *FindRequest) ([]*sacloud.LicenseInfo, error)
- func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*sacloud.LicenseInfo, error)
- func (s *Service) Read(req *ReadRequest) (*sacloud.LicenseInfo, error)
- func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*sacloud.LicenseInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindRequest ¶
func (*FindRequest) ToRequestParameter ¶
func (req *FindRequest) ToRequestParameter() (*sacloud.FindCondition, error)
func (*FindRequest) Validate ¶
func (req *FindRequest) Validate() error
type ReadRequest ¶
func (*ReadRequest) Validate ¶
func (req *ReadRequest) Validate() error
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides a high-level API of for LicenseInfo
func (*Service) Find ¶
func (s *Service) Find(req *FindRequest) ([]*sacloud.LicenseInfo, error)
func (*Service) FindWithContext ¶
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*sacloud.LicenseInfo, error)
func (*Service) Read ¶
func (s *Service) Read(req *ReadRequest) (*sacloud.LicenseInfo, error)
func (*Service) ReadWithContext ¶
func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*sacloud.LicenseInfo, error)
Click to show internal directories.
Click to hide internal directories.