Documentation ¶
Index ¶
- Constants
- type HostsService
- func (c *HostsService) CreateRhelHost(ctx context.Context, r *pb.CreateRhelHostRequest) (*pb.CreateRhelHostResponse, error)
- func (c *HostsService) DeleteRhelHost(ctx context.Context, r *pb.DeleteRhelHostRequest) (*pb.DeleteRhelHostResponse, error)
- func (c *HostsService) UpdateRhelHost(ctx context.Context, r *pb.UpdateRhelHostRequest) (*pb.UpdateRhelHostResponse, error)
Constants ¶
View Source
const (
ResourceType = "rhel_host"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostsService ¶
type HostsService struct { pb.UnimplementedKesselRhelHostServiceServer Ctl *resources.Usecase }
HostsService handles requests for Rhel hosts
func New ¶
func New(c *resources.Usecase) *HostsService
New creates a new HostsService to handle requests for Rhel hosts
func (*HostsService) CreateRhelHost ¶
func (c *HostsService) CreateRhelHost(ctx context.Context, r *pb.CreateRhelHostRequest) (*pb.CreateRhelHostResponse, error)
func (*HostsService) DeleteRhelHost ¶
func (c *HostsService) DeleteRhelHost(ctx context.Context, r *pb.DeleteRhelHostRequest) (*pb.DeleteRhelHostResponse, error)
func (*HostsService) UpdateRhelHost ¶
func (c *HostsService) UpdateRhelHost(ctx context.Context, r *pb.UpdateRhelHostRequest) (*pb.UpdateRhelHostResponse, error)
Click to show internal directories.
Click to hide internal directories.