Documentation ¶
Index ¶
- type FindRequest
- type ReadRequest
- type Service
- func (s *Service) Find(req *FindRequest) ([]*iaas.IPv6Net, error)
- func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*iaas.IPv6Net, error)
- func (s *Service) Read(req *ReadRequest) (*iaas.IPv6Net, error)
- func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*iaas.IPv6Net, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindRequest ¶
type FindRequest struct { Zone string `service:"-" validate:"required"` SwitchIDs []string `service:"-"` SwitchNames []string `service:"-"` InternetIDs []string `service:"-"` InternetNames []string `service:"-"` Sort search.SortKeys Count int From int }
func (*FindRequest) ToRequestParameter ¶
func (req *FindRequest) ToRequestParameter() (*iaas.FindCondition, error)
func (*FindRequest) Validate ¶
func (req *FindRequest) Validate() error
type ReadRequest ¶
type ReadRequest struct { Zone string `service:"-" validate:"required"` ID types.ID `service:"-" validate:"required"` }
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 IPv6Net
func (*Service) Find ¶
func (s *Service) Find(req *FindRequest) ([]*iaas.IPv6Net, error)
func (*Service) FindWithContext ¶
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*iaas.IPv6Net, error)
func (*Service) Read ¶
func (s *Service) Read(req *ReadRequest) (*iaas.IPv6Net, error)
func (*Service) ReadWithContext ¶
func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*iaas.IPv6Net, error)
Click to show internal directories.
Click to hide internal directories.