Documentation ¶
Index ¶
- Constants
- func Service(credentials *settings.Credentials) settings.CRUDService[*networkzones.NetworkZone]
- type ServiceClient
- func (cs *ServiceClient) Create(v *networkzones.NetworkZone) (*api.Stub, error)
- func (cs *ServiceClient) Delete(id string) error
- func (cs *ServiceClient) Get(id string, v *networkzones.NetworkZone) error
- func (cs *ServiceClient) List() (api.Stubs, error)
- func (cs *ServiceClient) SchemaID() string
- func (cs *ServiceClient) Update(id string, v *networkzones.NetworkZone) error
Constants ¶
View Source
const SchemaID = "cluster:networkzones"
Variables ¶
This section is empty.
Functions ¶
func Service ¶
func Service(credentials *settings.Credentials) settings.CRUDService[*networkzones.NetworkZone]
Types ¶
type ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(baseURL string, token string) *ServiceClient
func (*ServiceClient) Create ¶
func (cs *ServiceClient) Create(v *networkzones.NetworkZone) (*api.Stub, error)
func (*ServiceClient) Delete ¶
func (cs *ServiceClient) Delete(id string) error
func (*ServiceClient) Get ¶
func (cs *ServiceClient) Get(id string, v *networkzones.NetworkZone) error
func (*ServiceClient) SchemaID ¶
func (cs *ServiceClient) SchemaID() string
func (*ServiceClient) Update ¶
func (cs *ServiceClient) Update(id string, v *networkzones.NetworkZone) error
Click to show internal directories.
Click to hide internal directories.