Documentation ¶
Index ¶
- func Serve(server *grpc.Server, socket net.Listener, shutdownChan <-chan struct{})
- type InfoServer
- type V1alpha3Server
- func (s V1alpha3Server) OnDefineDomain(_ context.Context, params *hooksV1alpha3.OnDefineDomainParams) (*hooksV1alpha3.OnDefineDomainResult, error)
- func (s V1alpha3Server) PreCloudInitIso(_ context.Context, params *hooksV1alpha3.PreCloudInitIsoParams) (*hooksV1alpha3.PreCloudInitIsoResult, error)
- func (s V1alpha3Server) Shutdown(_ context.Context, _ *hooksV1alpha3.ShutdownParams) (*hooksV1alpha3.ShutdownResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InfoServer ¶
type InfoServer struct {
Version string
}
func (InfoServer) Info ¶
func (s InfoServer) Info(_ context.Context, _ *hooksInfo.InfoParams) (*hooksInfo.InfoResult, error)
type V1alpha3Server ¶ added in v1.2.0
type V1alpha3Server struct {
Done chan struct{}
}
func (V1alpha3Server) OnDefineDomain ¶ added in v1.2.0
func (s V1alpha3Server) OnDefineDomain(_ context.Context, params *hooksV1alpha3.OnDefineDomainParams) (*hooksV1alpha3.OnDefineDomainResult, error)
func (V1alpha3Server) PreCloudInitIso ¶ added in v1.2.0
func (s V1alpha3Server) PreCloudInitIso(_ context.Context, params *hooksV1alpha3.PreCloudInitIsoParams) (*hooksV1alpha3.PreCloudInitIsoResult, error)
func (V1alpha3Server) Shutdown ¶ added in v1.2.0
func (s V1alpha3Server) Shutdown(_ context.Context, _ *hooksV1alpha3.ShutdownParams) (*hooksV1alpha3.ShutdownResult, error)
Click to show internal directories.
Click to hide internal directories.