hav1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HaService_ConfigureHAForHost_FullMethodName  = "/cloudstack.management.ha.v1.HaService/ConfigureHAForHost"
	HaService_DisableHAForCluster_FullMethodName = "/cloudstack.management.ha.v1.HaService/DisableHAForCluster"
	HaService_DisableHAForHost_FullMethodName    = "/cloudstack.management.ha.v1.HaService/DisableHAForHost"
	HaService_DisableHAForZone_FullMethodName    = "/cloudstack.management.ha.v1.HaService/DisableHAForZone"
	HaService_EnableHAForCluster_FullMethodName  = "/cloudstack.management.ha.v1.HaService/EnableHAForCluster"
	HaService_EnableHAForHost_FullMethodName     = "/cloudstack.management.ha.v1.HaService/EnableHAForHost"
	HaService_EnableHAForZone_FullMethodName     = "/cloudstack.management.ha.v1.HaService/EnableHAForZone"
	HaService_ListHostHAProviders_FullMethodName = "/cloudstack.management.ha.v1.HaService/ListHostHAProviders"
	HaService_ListHostHAResources_FullMethodName = "/cloudstack.management.ha.v1.HaService/ListHostHAResources"
)

Variables

View Source
var File_cloudstack_management_ha_v1_ha_gen_proto protoreflect.FileDescriptor
View Source
var HaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.ha.v1.HaService",
	HandlerType: (*HaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ConfigureHAForHost",
			Handler:    _HaService_ConfigureHAForHost_Handler,
		},
		{
			MethodName: "DisableHAForCluster",
			Handler:    _HaService_DisableHAForCluster_Handler,
		},
		{
			MethodName: "DisableHAForHost",
			Handler:    _HaService_DisableHAForHost_Handler,
		},
		{
			MethodName: "DisableHAForZone",
			Handler:    _HaService_DisableHAForZone_Handler,
		},
		{
			MethodName: "EnableHAForCluster",
			Handler:    _HaService_EnableHAForCluster_Handler,
		},
		{
			MethodName: "EnableHAForHost",
			Handler:    _HaService_EnableHAForHost_Handler,
		},
		{
			MethodName: "EnableHAForZone",
			Handler:    _HaService_EnableHAForZone_Handler,
		},
		{
			MethodName: "ListHostHAProviders",
			Handler:    _HaService_ListHostHAProviders_Handler,
		},
		{
			MethodName: "ListHostHAResources",
			Handler:    _HaService_ListHostHAResources_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/ha/v1/ha.gen.proto",
}

HaService_ServiceDesc is the grpc.ServiceDesc for HaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHaServiceServer

func RegisterHaServiceServer(s grpc.ServiceRegistrar, srv HaServiceServer)

Types

type ConfigureHAForHostRequest

type ConfigureHAForHostRequest struct {

	// ID of the host
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// HA provider
	HaProvider    *string `protobuf:"bytes,2,opt,name=ha_provider,json=haProvider" json:"ha_provider,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ConfigureHAForHostRequest represents the parameters for configures ha for a host

func (*ConfigureHAForHostRequest) Descriptor deprecated

func (*ConfigureHAForHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureHAForHostRequest.ProtoReflect.Descriptor instead.

func (*ConfigureHAForHostRequest) GetHaProvider

func (x *ConfigureHAForHostRequest) GetHaProvider() string

func (*ConfigureHAForHostRequest) GetHostId

func (x *ConfigureHAForHostRequest) GetHostId() int64

func (*ConfigureHAForHostRequest) GetInjectedJobId

func (x *ConfigureHAForHostRequest) GetInjectedJobId() string

func (*ConfigureHAForHostRequest) GetResponseType

func (x *ConfigureHAForHostRequest) GetResponseType() string

func (*ConfigureHAForHostRequest) GetStartEventId

func (x *ConfigureHAForHostRequest) GetStartEventId() int64

func (*ConfigureHAForHostRequest) ProtoMessage

func (*ConfigureHAForHostRequest) ProtoMessage()

func (*ConfigureHAForHostRequest) ProtoReflect

func (*ConfigureHAForHostRequest) Reset

func (x *ConfigureHAForHostRequest) Reset()

func (*ConfigureHAForHostRequest) String

func (x *ConfigureHAForHostRequest) String() string

type ConfigureHAForHostResponse

type ConfigureHAForHostResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ConfigureHAForHostResponse represents the response from configures ha for a host

func (*ConfigureHAForHostResponse) Descriptor deprecated

func (*ConfigureHAForHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureHAForHostResponse.ProtoReflect.Descriptor instead.

func (*ConfigureHAForHostResponse) GetResult

func (x *ConfigureHAForHostResponse) GetResult() *Result

func (*ConfigureHAForHostResponse) ProtoMessage

func (*ConfigureHAForHostResponse) ProtoMessage()

func (*ConfigureHAForHostResponse) ProtoReflect

func (*ConfigureHAForHostResponse) Reset

func (x *ConfigureHAForHostResponse) Reset()

func (*ConfigureHAForHostResponse) String

func (x *ConfigureHAForHostResponse) String() string

type DisableHAForClusterRequest

type DisableHAForClusterRequest struct {

	// ID of the cluster
	ClusterId     *int64  `protobuf:"varint,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DisableHAForClusterRequest represents the parameters for disables ha cluster-wide

func (*DisableHAForClusterRequest) Descriptor deprecated

func (*DisableHAForClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableHAForClusterRequest.ProtoReflect.Descriptor instead.

func (*DisableHAForClusterRequest) GetClusterId

func (x *DisableHAForClusterRequest) GetClusterId() int64

func (*DisableHAForClusterRequest) GetInjectedJobId

func (x *DisableHAForClusterRequest) GetInjectedJobId() string

func (*DisableHAForClusterRequest) GetResponseType

func (x *DisableHAForClusterRequest) GetResponseType() string

func (*DisableHAForClusterRequest) GetStartEventId

func (x *DisableHAForClusterRequest) GetStartEventId() int64

func (*DisableHAForClusterRequest) ProtoMessage

func (*DisableHAForClusterRequest) ProtoMessage()

func (*DisableHAForClusterRequest) ProtoReflect

func (*DisableHAForClusterRequest) Reset

func (x *DisableHAForClusterRequest) Reset()

func (*DisableHAForClusterRequest) String

func (x *DisableHAForClusterRequest) String() string

type DisableHAForClusterResponse

type DisableHAForClusterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DisableHAForClusterResponse represents the response from disables ha cluster-wide

func (*DisableHAForClusterResponse) Descriptor deprecated

func (*DisableHAForClusterResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableHAForClusterResponse.ProtoReflect.Descriptor instead.

func (*DisableHAForClusterResponse) GetResult

func (x *DisableHAForClusterResponse) GetResult() *Result

func (*DisableHAForClusterResponse) ProtoMessage

func (*DisableHAForClusterResponse) ProtoMessage()

func (*DisableHAForClusterResponse) ProtoReflect

func (*DisableHAForClusterResponse) Reset

func (x *DisableHAForClusterResponse) Reset()

func (*DisableHAForClusterResponse) String

func (x *DisableHAForClusterResponse) String() string

type DisableHAForHostRequest

type DisableHAForHostRequest struct {

	// ID of the host
	HostId        *int64  `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DisableHAForHostRequest represents the parameters for disables ha for a host

func (*DisableHAForHostRequest) Descriptor deprecated

func (*DisableHAForHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableHAForHostRequest.ProtoReflect.Descriptor instead.

func (*DisableHAForHostRequest) GetHostId

func (x *DisableHAForHostRequest) GetHostId() int64

func (*DisableHAForHostRequest) GetInjectedJobId

func (x *DisableHAForHostRequest) GetInjectedJobId() string

func (*DisableHAForHostRequest) GetResponseType

func (x *DisableHAForHostRequest) GetResponseType() string

func (*DisableHAForHostRequest) GetStartEventId

func (x *DisableHAForHostRequest) GetStartEventId() int64

func (*DisableHAForHostRequest) ProtoMessage

func (*DisableHAForHostRequest) ProtoMessage()

func (*DisableHAForHostRequest) ProtoReflect

func (x *DisableHAForHostRequest) ProtoReflect() protoreflect.Message

func (*DisableHAForHostRequest) Reset

func (x *DisableHAForHostRequest) Reset()

func (*DisableHAForHostRequest) String

func (x *DisableHAForHostRequest) String() string

type DisableHAForHostResponse

type DisableHAForHostResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DisableHAForHostResponse represents the response from disables ha for a host

func (*DisableHAForHostResponse) Descriptor deprecated

func (*DisableHAForHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableHAForHostResponse.ProtoReflect.Descriptor instead.

func (*DisableHAForHostResponse) GetResult

func (x *DisableHAForHostResponse) GetResult() *Result

func (*DisableHAForHostResponse) ProtoMessage

func (*DisableHAForHostResponse) ProtoMessage()

func (*DisableHAForHostResponse) ProtoReflect

func (x *DisableHAForHostResponse) ProtoReflect() protoreflect.Message

func (*DisableHAForHostResponse) Reset

func (x *DisableHAForHostResponse) Reset()

func (*DisableHAForHostResponse) String

func (x *DisableHAForHostResponse) String() string

type DisableHAForZoneRequest

type DisableHAForZoneRequest struct {

	// ID of the zone
	ZoneId        *int64  `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DisableHAForZoneRequest represents the parameters for disables ha for a zone

func (*DisableHAForZoneRequest) Descriptor deprecated

func (*DisableHAForZoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableHAForZoneRequest.ProtoReflect.Descriptor instead.

func (*DisableHAForZoneRequest) GetInjectedJobId

func (x *DisableHAForZoneRequest) GetInjectedJobId() string

func (*DisableHAForZoneRequest) GetResponseType

func (x *DisableHAForZoneRequest) GetResponseType() string

func (*DisableHAForZoneRequest) GetStartEventId

func (x *DisableHAForZoneRequest) GetStartEventId() int64

func (*DisableHAForZoneRequest) GetZoneId

func (x *DisableHAForZoneRequest) GetZoneId() int64

func (*DisableHAForZoneRequest) ProtoMessage

func (*DisableHAForZoneRequest) ProtoMessage()

func (*DisableHAForZoneRequest) ProtoReflect

func (x *DisableHAForZoneRequest) ProtoReflect() protoreflect.Message

func (*DisableHAForZoneRequest) Reset

func (x *DisableHAForZoneRequest) Reset()

func (*DisableHAForZoneRequest) String

func (x *DisableHAForZoneRequest) String() string

type DisableHAForZoneResponse

type DisableHAForZoneResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DisableHAForZoneResponse represents the response from disables ha for a zone

func (*DisableHAForZoneResponse) Descriptor deprecated

func (*DisableHAForZoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableHAForZoneResponse.ProtoReflect.Descriptor instead.

func (*DisableHAForZoneResponse) GetResult

func (x *DisableHAForZoneResponse) GetResult() *Result

func (*DisableHAForZoneResponse) ProtoMessage

func (*DisableHAForZoneResponse) ProtoMessage()

func (*DisableHAForZoneResponse) ProtoReflect

func (x *DisableHAForZoneResponse) ProtoReflect() protoreflect.Message

func (*DisableHAForZoneResponse) Reset

func (x *DisableHAForZoneResponse) Reset()

func (*DisableHAForZoneResponse) String

func (x *DisableHAForZoneResponse) String() string

type EnableHAForClusterRequest

type EnableHAForClusterRequest struct {

	// ID of the cluster
	ClusterId     *int64  `protobuf:"varint,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

EnableHAForClusterRequest represents the parameters for enables ha cluster-wide

func (*EnableHAForClusterRequest) Descriptor deprecated

func (*EnableHAForClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableHAForClusterRequest.ProtoReflect.Descriptor instead.

func (*EnableHAForClusterRequest) GetClusterId

func (x *EnableHAForClusterRequest) GetClusterId() int64

func (*EnableHAForClusterRequest) GetInjectedJobId

func (x *EnableHAForClusterRequest) GetInjectedJobId() string

func (*EnableHAForClusterRequest) GetResponseType

func (x *EnableHAForClusterRequest) GetResponseType() string

func (*EnableHAForClusterRequest) GetStartEventId

func (x *EnableHAForClusterRequest) GetStartEventId() int64

func (*EnableHAForClusterRequest) ProtoMessage

func (*EnableHAForClusterRequest) ProtoMessage()

func (*EnableHAForClusterRequest) ProtoReflect

func (*EnableHAForClusterRequest) Reset

func (x *EnableHAForClusterRequest) Reset()

func (*EnableHAForClusterRequest) String

func (x *EnableHAForClusterRequest) String() string

type EnableHAForClusterResponse

type EnableHAForClusterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

EnableHAForClusterResponse represents the response from enables ha cluster-wide

func (*EnableHAForClusterResponse) Descriptor deprecated

func (*EnableHAForClusterResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableHAForClusterResponse.ProtoReflect.Descriptor instead.

func (*EnableHAForClusterResponse) GetResult

func (x *EnableHAForClusterResponse) GetResult() *Result

func (*EnableHAForClusterResponse) ProtoMessage

func (*EnableHAForClusterResponse) ProtoMessage()

func (*EnableHAForClusterResponse) ProtoReflect

func (*EnableHAForClusterResponse) Reset

func (x *EnableHAForClusterResponse) Reset()

func (*EnableHAForClusterResponse) String

func (x *EnableHAForClusterResponse) String() string

type EnableHAForHostRequest

type EnableHAForHostRequest struct {

	// ID of the host
	HostId        *int64  `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

EnableHAForHostRequest represents the parameters for enables ha for a host

func (*EnableHAForHostRequest) Descriptor deprecated

func (*EnableHAForHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableHAForHostRequest.ProtoReflect.Descriptor instead.

func (*EnableHAForHostRequest) GetHostId

func (x *EnableHAForHostRequest) GetHostId() int64

func (*EnableHAForHostRequest) GetInjectedJobId

func (x *EnableHAForHostRequest) GetInjectedJobId() string

func (*EnableHAForHostRequest) GetResponseType

func (x *EnableHAForHostRequest) GetResponseType() string

func (*EnableHAForHostRequest) GetStartEventId

func (x *EnableHAForHostRequest) GetStartEventId() int64

func (*EnableHAForHostRequest) ProtoMessage

func (*EnableHAForHostRequest) ProtoMessage()

func (*EnableHAForHostRequest) ProtoReflect

func (x *EnableHAForHostRequest) ProtoReflect() protoreflect.Message

func (*EnableHAForHostRequest) Reset

func (x *EnableHAForHostRequest) Reset()

func (*EnableHAForHostRequest) String

func (x *EnableHAForHostRequest) String() string

type EnableHAForHostResponse

type EnableHAForHostResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

EnableHAForHostResponse represents the response from enables ha for a host

func (*EnableHAForHostResponse) Descriptor deprecated

func (*EnableHAForHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableHAForHostResponse.ProtoReflect.Descriptor instead.

func (*EnableHAForHostResponse) GetResult

func (x *EnableHAForHostResponse) GetResult() *Result

func (*EnableHAForHostResponse) ProtoMessage

func (*EnableHAForHostResponse) ProtoMessage()

func (*EnableHAForHostResponse) ProtoReflect

func (x *EnableHAForHostResponse) ProtoReflect() protoreflect.Message

func (*EnableHAForHostResponse) Reset

func (x *EnableHAForHostResponse) Reset()

func (*EnableHAForHostResponse) String

func (x *EnableHAForHostResponse) String() string

type EnableHAForZoneRequest

type EnableHAForZoneRequest struct {

	// ID of the zone
	ZoneId        *int64  `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

EnableHAForZoneRequest represents the parameters for enables ha for a zone

func (*EnableHAForZoneRequest) Descriptor deprecated

func (*EnableHAForZoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableHAForZoneRequest.ProtoReflect.Descriptor instead.

func (*EnableHAForZoneRequest) GetInjectedJobId

func (x *EnableHAForZoneRequest) GetInjectedJobId() string

func (*EnableHAForZoneRequest) GetResponseType

func (x *EnableHAForZoneRequest) GetResponseType() string

func (*EnableHAForZoneRequest) GetStartEventId

func (x *EnableHAForZoneRequest) GetStartEventId() int64

func (*EnableHAForZoneRequest) GetZoneId

func (x *EnableHAForZoneRequest) GetZoneId() int64

func (*EnableHAForZoneRequest) ProtoMessage

func (*EnableHAForZoneRequest) ProtoMessage()

func (*EnableHAForZoneRequest) ProtoReflect

func (x *EnableHAForZoneRequest) ProtoReflect() protoreflect.Message

func (*EnableHAForZoneRequest) Reset

func (x *EnableHAForZoneRequest) Reset()

func (*EnableHAForZoneRequest) String

func (x *EnableHAForZoneRequest) String() string

type EnableHAForZoneResponse

type EnableHAForZoneResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

EnableHAForZoneResponse represents the response from enables ha for a zone

func (*EnableHAForZoneResponse) Descriptor deprecated

func (*EnableHAForZoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableHAForZoneResponse.ProtoReflect.Descriptor instead.

func (*EnableHAForZoneResponse) GetResult

func (x *EnableHAForZoneResponse) GetResult() *Result

func (*EnableHAForZoneResponse) ProtoMessage

func (*EnableHAForZoneResponse) ProtoMessage()

func (*EnableHAForZoneResponse) ProtoReflect

func (x *EnableHAForZoneResponse) ProtoReflect() protoreflect.Message

func (*EnableHAForZoneResponse) Reset

func (x *EnableHAForZoneResponse) Reset()

func (*EnableHAForZoneResponse) String

func (x *EnableHAForZoneResponse) String() string

type HaServiceClient

type HaServiceClient interface {
	// ConfigureHAForHost Configures HA for a host
	ConfigureHAForHost(ctx context.Context, in *ConfigureHAForHostRequest, opts ...grpc.CallOption) (*ConfigureHAForHostResponse, error)
	// DisableHAForCluster Disables HA cluster-wide
	DisableHAForCluster(ctx context.Context, in *DisableHAForClusterRequest, opts ...grpc.CallOption) (*DisableHAForClusterResponse, error)
	// DisableHAForHost Disables HA for a host
	DisableHAForHost(ctx context.Context, in *DisableHAForHostRequest, opts ...grpc.CallOption) (*DisableHAForHostResponse, error)
	// DisableHAForZone Disables HA for a zone
	DisableHAForZone(ctx context.Context, in *DisableHAForZoneRequest, opts ...grpc.CallOption) (*DisableHAForZoneResponse, error)
	// EnableHAForCluster Enables HA cluster-wide
	EnableHAForCluster(ctx context.Context, in *EnableHAForClusterRequest, opts ...grpc.CallOption) (*EnableHAForClusterResponse, error)
	// EnableHAForHost Enables HA for a host
	EnableHAForHost(ctx context.Context, in *EnableHAForHostRequest, opts ...grpc.CallOption) (*EnableHAForHostResponse, error)
	// EnableHAForZone Enables HA for a zone
	EnableHAForZone(ctx context.Context, in *EnableHAForZoneRequest, opts ...grpc.CallOption) (*EnableHAForZoneResponse, error)
	// ListHostHAProviders Lists HA providers
	ListHostHAProviders(ctx context.Context, in *ListHostHAProvidersRequest, opts ...grpc.CallOption) (*ListHostHAProvidersResponse, error)
	// ListHostHAResources Lists host HA resources
	ListHostHAResources(ctx context.Context, in *ListHostHAResourcesRequest, opts ...grpc.CallOption) (*ListHostHAResourcesResponse, error)
}

HaServiceClient is the client API for HaService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

HaService provides operations for managing Has

func NewHaServiceClient

func NewHaServiceClient(cc grpc.ClientConnInterface) HaServiceClient

type HaServiceServer

type HaServiceServer interface {
	// ConfigureHAForHost Configures HA for a host
	ConfigureHAForHost(context.Context, *ConfigureHAForHostRequest) (*ConfigureHAForHostResponse, error)
	// DisableHAForCluster Disables HA cluster-wide
	DisableHAForCluster(context.Context, *DisableHAForClusterRequest) (*DisableHAForClusterResponse, error)
	// DisableHAForHost Disables HA for a host
	DisableHAForHost(context.Context, *DisableHAForHostRequest) (*DisableHAForHostResponse, error)
	// DisableHAForZone Disables HA for a zone
	DisableHAForZone(context.Context, *DisableHAForZoneRequest) (*DisableHAForZoneResponse, error)
	// EnableHAForCluster Enables HA cluster-wide
	EnableHAForCluster(context.Context, *EnableHAForClusterRequest) (*EnableHAForClusterResponse, error)
	// EnableHAForHost Enables HA for a host
	EnableHAForHost(context.Context, *EnableHAForHostRequest) (*EnableHAForHostResponse, error)
	// EnableHAForZone Enables HA for a zone
	EnableHAForZone(context.Context, *EnableHAForZoneRequest) (*EnableHAForZoneResponse, error)
	// ListHostHAProviders Lists HA providers
	ListHostHAProviders(context.Context, *ListHostHAProvidersRequest) (*ListHostHAProvidersResponse, error)
	// ListHostHAResources Lists host HA resources
	ListHostHAResources(context.Context, *ListHostHAResourcesRequest) (*ListHostHAResourcesResponse, error)
	// contains filtered or unexported methods
}

HaServiceServer is the server API for HaService service. All implementations must embed UnimplementedHaServiceServer for forward compatibility.

HaService provides operations for managing Has

type HostHA

type HostHA struct {

	// The ID of the HostHA
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the HostHA
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the HostHA
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the HostHA
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

HostHA represents a HostHA Item

func (*HostHA) Descriptor deprecated

func (*HostHA) Descriptor() ([]byte, []int)

Deprecated: Use HostHA.ProtoReflect.Descriptor instead.

func (*HostHA) GetCreated

func (x *HostHA) GetCreated() string

func (*HostHA) GetDescription

func (x *HostHA) GetDescription() string

func (*HostHA) GetDisplayName

func (x *HostHA) GetDisplayName() string

func (*HostHA) GetId

func (x *HostHA) GetId() string

func (*HostHA) GetName

func (x *HostHA) GetName() string

func (*HostHA) ProtoMessage

func (*HostHA) ProtoMessage()

func (*HostHA) ProtoReflect

func (x *HostHA) ProtoReflect() protoreflect.Message

func (*HostHA) Reset

func (x *HostHA) Reset()

func (*HostHA) String

func (x *HostHA) String() string

type ListHostHAProvidersRequest

type ListHostHAProvidersRequest struct {

	// Hypervisor type of the resource
	HypervisorType *string `protobuf:"bytes,1,opt,name=hypervisor_type,json=hypervisorType" json:"hypervisor_type,omitempty"`
	ResponseType   *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListHostHAProvidersRequest represents the parameters for lists ha providers

func (*ListHostHAProvidersRequest) Descriptor deprecated

func (*ListHostHAProvidersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHostHAProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListHostHAProvidersRequest) GetHypervisorType

func (x *ListHostHAProvidersRequest) GetHypervisorType() string

func (*ListHostHAProvidersRequest) GetResponseType

func (x *ListHostHAProvidersRequest) GetResponseType() string

func (*ListHostHAProvidersRequest) ProtoMessage

func (*ListHostHAProvidersRequest) ProtoMessage()

func (*ListHostHAProvidersRequest) ProtoReflect

func (*ListHostHAProvidersRequest) Reset

func (x *ListHostHAProvidersRequest) Reset()

func (*ListHostHAProvidersRequest) String

func (x *ListHostHAProvidersRequest) String() string

type ListHostHAProvidersResponse

type ListHostHAProvidersResponse struct {

	// The list of HostHAs
	Items []*HostHA `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of HostHAs
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListHostHAProvidersResponse represents the response from lists ha providers

func (*ListHostHAProvidersResponse) Descriptor deprecated

func (*ListHostHAProvidersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHostHAProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListHostHAProvidersResponse) GetItems

func (x *ListHostHAProvidersResponse) GetItems() []*HostHA

func (*ListHostHAProvidersResponse) GetTotalCount

func (x *ListHostHAProvidersResponse) GetTotalCount() int32

func (*ListHostHAProvidersResponse) ProtoMessage

func (*ListHostHAProvidersResponse) ProtoMessage()

func (*ListHostHAProvidersResponse) ProtoReflect

func (*ListHostHAProvidersResponse) Reset

func (x *ListHostHAProvidersResponse) Reset()

func (*ListHostHAProvidersResponse) String

func (x *ListHostHAProvidersResponse) String() string

type ListHostHAResourcesRequest

type ListHostHAResourcesRequest struct {

	// List by host ID
	HostId       *int64  `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListHostHAResourcesRequest represents the parameters for lists host ha resources

func (*ListHostHAResourcesRequest) Descriptor deprecated

func (*ListHostHAResourcesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHostHAResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListHostHAResourcesRequest) GetHostId

func (x *ListHostHAResourcesRequest) GetHostId() int64

func (*ListHostHAResourcesRequest) GetResponseType

func (x *ListHostHAResourcesRequest) GetResponseType() string

func (*ListHostHAResourcesRequest) ProtoMessage

func (*ListHostHAResourcesRequest) ProtoMessage()

func (*ListHostHAResourcesRequest) ProtoReflect

func (*ListHostHAResourcesRequest) Reset

func (x *ListHostHAResourcesRequest) Reset()

func (*ListHostHAResourcesRequest) String

func (x *ListHostHAResourcesRequest) String() string

type ListHostHAResourcesResponse

type ListHostHAResourcesResponse struct {

	// The list of HostHAs
	Items []*HostHA `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of HostHAs
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListHostHAResourcesResponse represents the response from lists host ha resources

func (*ListHostHAResourcesResponse) Descriptor deprecated

func (*ListHostHAResourcesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHostHAResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListHostHAResourcesResponse) GetItems

func (x *ListHostHAResourcesResponse) GetItems() []*HostHA

func (*ListHostHAResourcesResponse) GetTotalCount

func (x *ListHostHAResourcesResponse) GetTotalCount() int32

func (*ListHostHAResourcesResponse) ProtoMessage

func (*ListHostHAResourcesResponse) ProtoMessage()

func (*ListHostHAResourcesResponse) ProtoReflect

func (*ListHostHAResourcesResponse) Reset

func (x *ListHostHAResourcesResponse) Reset()

func (*ListHostHAResourcesResponse) String

func (x *ListHostHAResourcesResponse) String() string

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

func (*Result) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

func (*Success) Descriptor() ([]byte, []int)

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

func (x *Success) ProtoReflect() protoreflect.Message

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type UnimplementedHaServiceServer

type UnimplementedHaServiceServer struct{}

UnimplementedHaServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedHaServiceServer) DisableHAForHost

func (UnimplementedHaServiceServer) DisableHAForZone

func (UnimplementedHaServiceServer) EnableHAForHost

func (UnimplementedHaServiceServer) EnableHAForZone

type UnsafeHaServiceServer

type UnsafeHaServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HaServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL