v1

package
v0.4.445 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_alert_v1_alert_proto protoreflect.FileDescriptor

Functions

func RegisterAlertServiceServer

func RegisterAlertServiceServer(s *grpc.Server, srv AlertServiceServer)

Types

type AlertResponse

type AlertResponse struct {
	// contains filtered or unexported fields
}

func (*AlertResponse) Descriptor deprecated

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

Deprecated: Use AlertResponse.ProtoReflect.Descriptor instead.

func (*AlertResponse) ProtoMessage

func (*AlertResponse) ProtoMessage()

func (*AlertResponse) ProtoReflect

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

func (*AlertResponse) Reset

func (x *AlertResponse) Reset()

func (*AlertResponse) String

func (x *AlertResponse) String() string

type AlertServiceClient

type AlertServiceClient interface {
	ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error)
	CreateAlert(ctx context.Context, in *CreateAlertRequest, opts ...grpc.CallOption) (*CreateAlertResponse, error)
	GetAlert(ctx context.Context, in *GetAlertRequest, opts ...grpc.CallOption) (*GetAlertResponse, error)
	UpdateAlert(ctx context.Context, in *UpdateAlertRequest, opts ...grpc.CallOption) (*UpdateAlertResponse, error)
	DeleteAlert(ctx context.Context, in *DeleteAlertRequest, opts ...grpc.CallOption) (*DeleteAlertResponse, error)
}

AlertServiceClient is the client API for AlertService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AlertServiceServer

AlertServiceServer is the server API for AlertService service.

type CreateAlertRequest

type CreateAlertRequest struct {
	Item *v1alpha1.Alert `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAlertRequest) Descriptor deprecated

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

Deprecated: Use CreateAlertRequest.ProtoReflect.Descriptor instead.

func (*CreateAlertRequest) GetItem

func (x *CreateAlertRequest) GetItem() *v1alpha1.Alert

func (*CreateAlertRequest) ProtoMessage

func (*CreateAlertRequest) ProtoMessage()

func (*CreateAlertRequest) ProtoReflect

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

func (*CreateAlertRequest) Reset

func (x *CreateAlertRequest) Reset()

func (*CreateAlertRequest) String

func (x *CreateAlertRequest) String() string

type CreateAlertResponse

type CreateAlertResponse struct {
	// contains filtered or unexported fields
}

func (*CreateAlertResponse) Descriptor deprecated

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

Deprecated: Use CreateAlertResponse.ProtoReflect.Descriptor instead.

func (*CreateAlertResponse) ProtoMessage

func (*CreateAlertResponse) ProtoMessage()

func (*CreateAlertResponse) ProtoReflect

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

func (*CreateAlertResponse) Reset

func (x *CreateAlertResponse) Reset()

func (*CreateAlertResponse) String

func (x *CreateAlertResponse) String() string

type DeleteAlertRequest

type DeleteAlertRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAlertRequest) Descriptor deprecated

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

Deprecated: Use DeleteAlertRequest.ProtoReflect.Descriptor instead.

func (*DeleteAlertRequest) GetName

func (x *DeleteAlertRequest) GetName() string

func (*DeleteAlertRequest) GetNamespace

func (x *DeleteAlertRequest) GetNamespace() string

func (*DeleteAlertRequest) ProtoMessage

func (*DeleteAlertRequest) ProtoMessage()

func (*DeleteAlertRequest) ProtoReflect

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

func (*DeleteAlertRequest) Reset

func (x *DeleteAlertRequest) Reset()

func (*DeleteAlertRequest) String

func (x *DeleteAlertRequest) String() string

type DeleteAlertResponse

type DeleteAlertResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteAlertResponse) Descriptor deprecated

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

Deprecated: Use DeleteAlertResponse.ProtoReflect.Descriptor instead.

func (*DeleteAlertResponse) ProtoMessage

func (*DeleteAlertResponse) ProtoMessage()

func (*DeleteAlertResponse) ProtoReflect

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

func (*DeleteAlertResponse) Reset

func (x *DeleteAlertResponse) Reset()

func (*DeleteAlertResponse) String

func (x *DeleteAlertResponse) String() string

type GetAlertNamespacesRequest

type GetAlertNamespacesRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAlertNamespacesRequest) Descriptor deprecated

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

Deprecated: Use GetAlertNamespacesRequest.ProtoReflect.Descriptor instead.

func (*GetAlertNamespacesRequest) GetName

func (x *GetAlertNamespacesRequest) GetName() string

func (*GetAlertNamespacesRequest) GetNamespace

func (x *GetAlertNamespacesRequest) GetNamespace() string

func (*GetAlertNamespacesRequest) ProtoMessage

func (*GetAlertNamespacesRequest) ProtoMessage()

func (*GetAlertNamespacesRequest) ProtoReflect

func (*GetAlertNamespacesRequest) Reset

func (x *GetAlertNamespacesRequest) Reset()

func (*GetAlertNamespacesRequest) String

func (x *GetAlertNamespacesRequest) String() string

type GetAlertNamespacesResponse

type GetAlertNamespacesResponse struct {
	Namespaces []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAlertNamespacesResponse) Descriptor deprecated

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

Deprecated: Use GetAlertNamespacesResponse.ProtoReflect.Descriptor instead.

func (*GetAlertNamespacesResponse) GetNamespaces

func (x *GetAlertNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo

func (*GetAlertNamespacesResponse) ProtoMessage

func (*GetAlertNamespacesResponse) ProtoMessage()

func (*GetAlertNamespacesResponse) ProtoReflect

func (*GetAlertNamespacesResponse) Reset

func (x *GetAlertNamespacesResponse) Reset()

func (*GetAlertNamespacesResponse) String

func (x *GetAlertNamespacesResponse) String() string

type GetAlertRequest

type GetAlertRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAlertRequest) Descriptor deprecated

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

Deprecated: Use GetAlertRequest.ProtoReflect.Descriptor instead.

func (*GetAlertRequest) GetName

func (x *GetAlertRequest) GetName() string

func (*GetAlertRequest) GetNamespace

func (x *GetAlertRequest) GetNamespace() string

func (*GetAlertRequest) ProtoMessage

func (*GetAlertRequest) ProtoMessage()

func (*GetAlertRequest) ProtoReflect

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

func (*GetAlertRequest) Reset

func (x *GetAlertRequest) Reset()

func (*GetAlertRequest) String

func (x *GetAlertRequest) String() string

type GetAlertResponse

type GetAlertResponse struct {
	Item *v1alpha1.Alert `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Yaml string          `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAlertResponse) Descriptor deprecated

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

Deprecated: Use GetAlertResponse.ProtoReflect.Descriptor instead.

func (*GetAlertResponse) GetItem

func (x *GetAlertResponse) GetItem() *v1alpha1.Alert

func (*GetAlertResponse) GetYaml

func (x *GetAlertResponse) GetYaml() string

func (*GetAlertResponse) ProtoMessage

func (*GetAlertResponse) ProtoMessage()

func (*GetAlertResponse) ProtoReflect

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

func (*GetAlertResponse) Reset

func (x *GetAlertResponse) Reset()

func (*GetAlertResponse) String

func (x *GetAlertResponse) String() string

type ListAlertsRequest

type ListAlertsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertsRequest) Descriptor deprecated

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

Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertsRequest) GetLabels

func (x *ListAlertsRequest) GetLabels() map[string]string

func (*ListAlertsRequest) GetNamespace

func (x *ListAlertsRequest) GetNamespace() string

func (*ListAlertsRequest) GetOrderBy added in v0.4.414

func (x *ListAlertsRequest) GetOrderBy() string

func (*ListAlertsRequest) GetPageSize added in v0.4.414

func (x *ListAlertsRequest) GetPageSize() int32

func (*ListAlertsRequest) GetPageToken added in v0.4.414

func (x *ListAlertsRequest) GetPageToken() string

func (*ListAlertsRequest) ProtoMessage

func (*ListAlertsRequest) ProtoMessage()

func (*ListAlertsRequest) ProtoReflect

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

func (*ListAlertsRequest) Reset

func (x *ListAlertsRequest) Reset()

func (*ListAlertsRequest) String

func (x *ListAlertsRequest) String() string

type ListAlertsResponse

type ListAlertsResponse struct {
	Items *v1alpha1.AlertList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertsResponse) Descriptor deprecated

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

Deprecated: Use ListAlertsResponse.ProtoReflect.Descriptor instead.

func (*ListAlertsResponse) GetItems

func (x *ListAlertsResponse) GetItems() *v1alpha1.AlertList

func (*ListAlertsResponse) ProtoMessage

func (*ListAlertsResponse) ProtoMessage()

func (*ListAlertsResponse) ProtoReflect

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

func (*ListAlertsResponse) Reset

func (x *ListAlertsResponse) Reset()

func (*ListAlertsResponse) String

func (x *ListAlertsResponse) String() string

type UnimplementedAlertServiceServer

type UnimplementedAlertServiceServer struct {
}

UnimplementedAlertServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAlertServiceServer) CreateAlert

func (*UnimplementedAlertServiceServer) DeleteAlert

func (*UnimplementedAlertServiceServer) GetAlert

func (*UnimplementedAlertServiceServer) ListAlerts

func (*UnimplementedAlertServiceServer) UpdateAlert

type UpdateAlertRequest

type UpdateAlertRequest struct {
	Item      *v1alpha1.Alert       `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAlertRequest) Descriptor deprecated

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

Deprecated: Use UpdateAlertRequest.ProtoReflect.Descriptor instead.

func (*UpdateAlertRequest) GetFieldMask added in v0.4.422

func (x *UpdateAlertRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdateAlertRequest) GetItem

func (x *UpdateAlertRequest) GetItem() *v1alpha1.Alert

func (*UpdateAlertRequest) ProtoMessage

func (*UpdateAlertRequest) ProtoMessage()

func (*UpdateAlertRequest) ProtoReflect

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

func (*UpdateAlertRequest) Reset

func (x *UpdateAlertRequest) Reset()

func (*UpdateAlertRequest) String

func (x *UpdateAlertRequest) String() string

type UpdateAlertResponse

type UpdateAlertResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateAlertResponse) Descriptor deprecated

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

Deprecated: Use UpdateAlertResponse.ProtoReflect.Descriptor instead.

func (*UpdateAlertResponse) ProtoMessage

func (*UpdateAlertResponse) ProtoMessage()

func (*UpdateAlertResponse) ProtoReflect

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

func (*UpdateAlertResponse) Reset

func (x *UpdateAlertResponse) Reset()

func (*UpdateAlertResponse) String

func (x *UpdateAlertResponse) String() string

Jump to

Keyboard shortcuts

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