cronscriptpb

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthService        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowService          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupService = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterCronScriptServiceServer

func RegisterCronScriptServiceServer(s *grpc.Server, srv CronScriptServiceServer)

Types

type ClusterIDs

type ClusterIDs struct {
	Value []*uuidpb.UUID `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

func (*ClusterIDs) Descriptor

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

func (*ClusterIDs) Equal

func (this *ClusterIDs) Equal(that interface{}) bool

func (*ClusterIDs) GetValue

func (m *ClusterIDs) GetValue() []*uuidpb.UUID

func (*ClusterIDs) GoString

func (this *ClusterIDs) GoString() string

func (*ClusterIDs) Marshal

func (m *ClusterIDs) Marshal() (dAtA []byte, err error)

func (*ClusterIDs) MarshalTo

func (m *ClusterIDs) MarshalTo(dAtA []byte) (int, error)

func (*ClusterIDs) MarshalToSizedBuffer

func (m *ClusterIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterIDs) ProtoMessage

func (*ClusterIDs) ProtoMessage()

func (*ClusterIDs) Reset

func (m *ClusterIDs) Reset()

func (*ClusterIDs) Size

func (m *ClusterIDs) Size() (n int)

func (*ClusterIDs) String

func (this *ClusterIDs) String() string

func (*ClusterIDs) Unmarshal

func (m *ClusterIDs) Unmarshal(dAtA []byte) error

func (*ClusterIDs) XXX_DiscardUnknown

func (m *ClusterIDs) XXX_DiscardUnknown()

func (*ClusterIDs) XXX_Marshal

func (m *ClusterIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterIDs) XXX_Merge

func (m *ClusterIDs) XXX_Merge(src proto.Message)

func (*ClusterIDs) XXX_Size

func (m *ClusterIDs) XXX_Size() int

func (*ClusterIDs) XXX_Unmarshal

func (m *ClusterIDs) XXX_Unmarshal(b []byte) error

type CreateScriptRequest

type CreateScriptRequest struct {
	Script     string         `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	CronExpr   string         `protobuf:"bytes,2,opt,name=cron_expr,json=cronExpr,proto3" json:"cron_expr,omitempty"`
	ClusterIDs []*uuidpb.UUID `protobuf:"bytes,3,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"`
	Configs    string         `protobuf:"bytes,4,opt,name=configs,proto3" json:"configs,omitempty"`
	Token      string         `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	FrequencyS int64          `protobuf:"varint,6,opt,name=frequency_s,json=frequencyS,proto3" json:"frequency_s,omitempty"`
	Disabled   bool           `protobuf:"varint,7,opt,name=disabled,proto3" json:"disabled,omitempty"`
	OrgID      *uuidpb.UUID   `protobuf:"bytes,8,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*CreateScriptRequest) Descriptor

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

func (*CreateScriptRequest) Equal

func (this *CreateScriptRequest) Equal(that interface{}) bool

func (*CreateScriptRequest) GetClusterIDs

func (m *CreateScriptRequest) GetClusterIDs() []*uuidpb.UUID

func (*CreateScriptRequest) GetConfigs

func (m *CreateScriptRequest) GetConfigs() string

func (*CreateScriptRequest) GetCronExpr

func (m *CreateScriptRequest) GetCronExpr() string

func (*CreateScriptRequest) GetDisabled

func (m *CreateScriptRequest) GetDisabled() bool

func (*CreateScriptRequest) GetFrequencyS

func (m *CreateScriptRequest) GetFrequencyS() int64

func (*CreateScriptRequest) GetOrgID

func (m *CreateScriptRequest) GetOrgID() *uuidpb.UUID

func (*CreateScriptRequest) GetScript

func (m *CreateScriptRequest) GetScript() string

func (*CreateScriptRequest) GetToken

func (m *CreateScriptRequest) GetToken() string

func (*CreateScriptRequest) GoString

func (this *CreateScriptRequest) GoString() string

func (*CreateScriptRequest) Marshal

func (m *CreateScriptRequest) Marshal() (dAtA []byte, err error)

func (*CreateScriptRequest) MarshalTo

func (m *CreateScriptRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateScriptRequest) MarshalToSizedBuffer

func (m *CreateScriptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateScriptRequest) ProtoMessage

func (*CreateScriptRequest) ProtoMessage()

func (*CreateScriptRequest) Reset

func (m *CreateScriptRequest) Reset()

func (*CreateScriptRequest) Size

func (m *CreateScriptRequest) Size() (n int)

func (*CreateScriptRequest) String

func (this *CreateScriptRequest) String() string

func (*CreateScriptRequest) Unmarshal

func (m *CreateScriptRequest) Unmarshal(dAtA []byte) error

func (*CreateScriptRequest) XXX_DiscardUnknown

func (m *CreateScriptRequest) XXX_DiscardUnknown()

func (*CreateScriptRequest) XXX_Marshal

func (m *CreateScriptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateScriptRequest) XXX_Merge

func (m *CreateScriptRequest) XXX_Merge(src proto.Message)

func (*CreateScriptRequest) XXX_Size

func (m *CreateScriptRequest) XXX_Size() int

func (*CreateScriptRequest) XXX_Unmarshal

func (m *CreateScriptRequest) XXX_Unmarshal(b []byte) error

type CreateScriptResponse

type CreateScriptResponse struct {
	ID *uuidpb.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*CreateScriptResponse) Descriptor

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

func (*CreateScriptResponse) Equal

func (this *CreateScriptResponse) Equal(that interface{}) bool

func (*CreateScriptResponse) GetID

func (m *CreateScriptResponse) GetID() *uuidpb.UUID

func (*CreateScriptResponse) GoString

func (this *CreateScriptResponse) GoString() string

func (*CreateScriptResponse) Marshal

func (m *CreateScriptResponse) Marshal() (dAtA []byte, err error)

func (*CreateScriptResponse) MarshalTo

func (m *CreateScriptResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateScriptResponse) MarshalToSizedBuffer

func (m *CreateScriptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateScriptResponse) ProtoMessage

func (*CreateScriptResponse) ProtoMessage()

func (*CreateScriptResponse) Reset

func (m *CreateScriptResponse) Reset()

func (*CreateScriptResponse) Size

func (m *CreateScriptResponse) Size() (n int)

func (*CreateScriptResponse) String

func (this *CreateScriptResponse) String() string

func (*CreateScriptResponse) Unmarshal

func (m *CreateScriptResponse) Unmarshal(dAtA []byte) error

func (*CreateScriptResponse) XXX_DiscardUnknown

func (m *CreateScriptResponse) XXX_DiscardUnknown()

func (*CreateScriptResponse) XXX_Marshal

func (m *CreateScriptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateScriptResponse) XXX_Merge

func (m *CreateScriptResponse) XXX_Merge(src proto.Message)

func (*CreateScriptResponse) XXX_Size

func (m *CreateScriptResponse) XXX_Size() int

func (*CreateScriptResponse) XXX_Unmarshal

func (m *CreateScriptResponse) XXX_Unmarshal(b []byte) error

type CronScript

type CronScript struct {
	ID         *uuidpb.UUID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrgID      *uuidpb.UUID   `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Script     string         `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
	CronExpr   string         `protobuf:"bytes,4,opt,name=cron_expr,json=cronExpr,proto3" json:"cron_expr,omitempty"`
	ClusterIDs []*uuidpb.UUID `protobuf:"bytes,5,rep,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"`
	Configs    string         `protobuf:"bytes,6,opt,name=configs,proto3" json:"configs,omitempty"`
	Token      string         `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"`
	Enabled    bool           `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
	FrequencyS int64          `protobuf:"varint,9,opt,name=frequency_s,json=frequencyS,proto3" json:"frequency_s,omitempty"`
}

func (*CronScript) Descriptor

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

func (*CronScript) Equal

func (this *CronScript) Equal(that interface{}) bool

func (*CronScript) GetClusterIDs

func (m *CronScript) GetClusterIDs() []*uuidpb.UUID

func (*CronScript) GetConfigs

func (m *CronScript) GetConfigs() string

func (*CronScript) GetCronExpr

func (m *CronScript) GetCronExpr() string

func (*CronScript) GetEnabled

func (m *CronScript) GetEnabled() bool

func (*CronScript) GetFrequencyS

func (m *CronScript) GetFrequencyS() int64

func (*CronScript) GetID

func (m *CronScript) GetID() *uuidpb.UUID

func (*CronScript) GetOrgID

func (m *CronScript) GetOrgID() *uuidpb.UUID

func (*CronScript) GetScript

func (m *CronScript) GetScript() string

func (*CronScript) GetToken

func (m *CronScript) GetToken() string

func (*CronScript) GoString

func (this *CronScript) GoString() string

func (*CronScript) Marshal

func (m *CronScript) Marshal() (dAtA []byte, err error)

func (*CronScript) MarshalTo

func (m *CronScript) MarshalTo(dAtA []byte) (int, error)

func (*CronScript) MarshalToSizedBuffer

func (m *CronScript) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronScript) ProtoMessage

func (*CronScript) ProtoMessage()

func (*CronScript) Reset

func (m *CronScript) Reset()

func (*CronScript) Size

func (m *CronScript) Size() (n int)

func (*CronScript) String

func (this *CronScript) String() string

func (*CronScript) Unmarshal

func (m *CronScript) Unmarshal(dAtA []byte) error

func (*CronScript) XXX_DiscardUnknown

func (m *CronScript) XXX_DiscardUnknown()

func (*CronScript) XXX_Marshal

func (m *CronScript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronScript) XXX_Merge

func (m *CronScript) XXX_Merge(src proto.Message)

func (*CronScript) XXX_Size

func (m *CronScript) XXX_Size() int

func (*CronScript) XXX_Unmarshal

func (m *CronScript) XXX_Unmarshal(b []byte) error

type CronScriptServiceClient

type CronScriptServiceClient interface {
	GetScript(ctx context.Context, in *GetScriptRequest, opts ...grpc.CallOption) (*GetScriptResponse, error)
	GetScripts(ctx context.Context, in *GetScriptsRequest, opts ...grpc.CallOption) (*GetScriptsResponse, error)
	CreateScript(ctx context.Context, in *CreateScriptRequest, opts ...grpc.CallOption) (*CreateScriptResponse, error)
	UpdateScript(ctx context.Context, in *UpdateScriptRequest, opts ...grpc.CallOption) (*UpdateScriptResponse, error)
	DeleteScript(ctx context.Context, in *DeleteScriptRequest, opts ...grpc.CallOption) (*DeleteScriptResponse, error)
}

CronScriptServiceClient is the client API for CronScriptService service.

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

func NewCronScriptServiceClient

func NewCronScriptServiceClient(cc *grpc.ClientConn) CronScriptServiceClient

type CronScriptServiceServer

CronScriptServiceServer is the server API for CronScriptService service.

type DeleteScriptRequest

type DeleteScriptRequest struct {
	ID    *uuidpb.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrgID *uuidpb.UUID `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*DeleteScriptRequest) Descriptor

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

func (*DeleteScriptRequest) Equal

func (this *DeleteScriptRequest) Equal(that interface{}) bool

func (*DeleteScriptRequest) GetID

func (m *DeleteScriptRequest) GetID() *uuidpb.UUID

func (*DeleteScriptRequest) GetOrgID

func (m *DeleteScriptRequest) GetOrgID() *uuidpb.UUID

func (*DeleteScriptRequest) GoString

func (this *DeleteScriptRequest) GoString() string

func (*DeleteScriptRequest) Marshal

func (m *DeleteScriptRequest) Marshal() (dAtA []byte, err error)

func (*DeleteScriptRequest) MarshalTo

func (m *DeleteScriptRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteScriptRequest) MarshalToSizedBuffer

func (m *DeleteScriptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteScriptRequest) ProtoMessage

func (*DeleteScriptRequest) ProtoMessage()

func (*DeleteScriptRequest) Reset

func (m *DeleteScriptRequest) Reset()

func (*DeleteScriptRequest) Size

func (m *DeleteScriptRequest) Size() (n int)

func (*DeleteScriptRequest) String

func (this *DeleteScriptRequest) String() string

func (*DeleteScriptRequest) Unmarshal

func (m *DeleteScriptRequest) Unmarshal(dAtA []byte) error

func (*DeleteScriptRequest) XXX_DiscardUnknown

func (m *DeleteScriptRequest) XXX_DiscardUnknown()

func (*DeleteScriptRequest) XXX_Marshal

func (m *DeleteScriptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteScriptRequest) XXX_Merge

func (m *DeleteScriptRequest) XXX_Merge(src proto.Message)

func (*DeleteScriptRequest) XXX_Size

func (m *DeleteScriptRequest) XXX_Size() int

func (*DeleteScriptRequest) XXX_Unmarshal

func (m *DeleteScriptRequest) XXX_Unmarshal(b []byte) error

type DeleteScriptResponse

type DeleteScriptResponse struct {
}

func (*DeleteScriptResponse) Descriptor

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

func (*DeleteScriptResponse) Equal

func (this *DeleteScriptResponse) Equal(that interface{}) bool

func (*DeleteScriptResponse) GoString

func (this *DeleteScriptResponse) GoString() string

func (*DeleteScriptResponse) Marshal

func (m *DeleteScriptResponse) Marshal() (dAtA []byte, err error)

func (*DeleteScriptResponse) MarshalTo

func (m *DeleteScriptResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteScriptResponse) MarshalToSizedBuffer

func (m *DeleteScriptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteScriptResponse) ProtoMessage

func (*DeleteScriptResponse) ProtoMessage()

func (*DeleteScriptResponse) Reset

func (m *DeleteScriptResponse) Reset()

func (*DeleteScriptResponse) Size

func (m *DeleteScriptResponse) Size() (n int)

func (*DeleteScriptResponse) String

func (this *DeleteScriptResponse) String() string

func (*DeleteScriptResponse) Unmarshal

func (m *DeleteScriptResponse) Unmarshal(dAtA []byte) error

func (*DeleteScriptResponse) XXX_DiscardUnknown

func (m *DeleteScriptResponse) XXX_DiscardUnknown()

func (*DeleteScriptResponse) XXX_Marshal

func (m *DeleteScriptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteScriptResponse) XXX_Merge

func (m *DeleteScriptResponse) XXX_Merge(src proto.Message)

func (*DeleteScriptResponse) XXX_Size

func (m *DeleteScriptResponse) XXX_Size() int

func (*DeleteScriptResponse) XXX_Unmarshal

func (m *DeleteScriptResponse) XXX_Unmarshal(b []byte) error

type GetScriptRequest

type GetScriptRequest struct {
	ID    *uuidpb.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrgID *uuidpb.UUID `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*GetScriptRequest) Descriptor

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

func (*GetScriptRequest) Equal

func (this *GetScriptRequest) Equal(that interface{}) bool

func (*GetScriptRequest) GetID

func (m *GetScriptRequest) GetID() *uuidpb.UUID

func (*GetScriptRequest) GetOrgID

func (m *GetScriptRequest) GetOrgID() *uuidpb.UUID

func (*GetScriptRequest) GoString

func (this *GetScriptRequest) GoString() string

func (*GetScriptRequest) Marshal

func (m *GetScriptRequest) Marshal() (dAtA []byte, err error)

func (*GetScriptRequest) MarshalTo

func (m *GetScriptRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetScriptRequest) MarshalToSizedBuffer

func (m *GetScriptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetScriptRequest) ProtoMessage

func (*GetScriptRequest) ProtoMessage()

func (*GetScriptRequest) Reset

func (m *GetScriptRequest) Reset()

func (*GetScriptRequest) Size

func (m *GetScriptRequest) Size() (n int)

func (*GetScriptRequest) String

func (this *GetScriptRequest) String() string

func (*GetScriptRequest) Unmarshal

func (m *GetScriptRequest) Unmarshal(dAtA []byte) error

func (*GetScriptRequest) XXX_DiscardUnknown

func (m *GetScriptRequest) XXX_DiscardUnknown()

func (*GetScriptRequest) XXX_Marshal

func (m *GetScriptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetScriptRequest) XXX_Merge

func (m *GetScriptRequest) XXX_Merge(src proto.Message)

func (*GetScriptRequest) XXX_Size

func (m *GetScriptRequest) XXX_Size() int

func (*GetScriptRequest) XXX_Unmarshal

func (m *GetScriptRequest) XXX_Unmarshal(b []byte) error

type GetScriptResponse

type GetScriptResponse struct {
	Script *CronScript `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
}

func (*GetScriptResponse) Descriptor

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

func (*GetScriptResponse) Equal

func (this *GetScriptResponse) Equal(that interface{}) bool

func (*GetScriptResponse) GetScript

func (m *GetScriptResponse) GetScript() *CronScript

func (*GetScriptResponse) GoString

func (this *GetScriptResponse) GoString() string

func (*GetScriptResponse) Marshal

func (m *GetScriptResponse) Marshal() (dAtA []byte, err error)

func (*GetScriptResponse) MarshalTo

func (m *GetScriptResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetScriptResponse) MarshalToSizedBuffer

func (m *GetScriptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetScriptResponse) ProtoMessage

func (*GetScriptResponse) ProtoMessage()

func (*GetScriptResponse) Reset

func (m *GetScriptResponse) Reset()

func (*GetScriptResponse) Size

func (m *GetScriptResponse) Size() (n int)

func (*GetScriptResponse) String

func (this *GetScriptResponse) String() string

func (*GetScriptResponse) Unmarshal

func (m *GetScriptResponse) Unmarshal(dAtA []byte) error

func (*GetScriptResponse) XXX_DiscardUnknown

func (m *GetScriptResponse) XXX_DiscardUnknown()

func (*GetScriptResponse) XXX_Marshal

func (m *GetScriptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetScriptResponse) XXX_Merge

func (m *GetScriptResponse) XXX_Merge(src proto.Message)

func (*GetScriptResponse) XXX_Size

func (m *GetScriptResponse) XXX_Size() int

func (*GetScriptResponse) XXX_Unmarshal

func (m *GetScriptResponse) XXX_Unmarshal(b []byte) error

type GetScriptsRequest

type GetScriptsRequest struct {
	IDs   []*uuidpb.UUID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	OrgID *uuidpb.UUID   `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*GetScriptsRequest) Descriptor

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

func (*GetScriptsRequest) Equal

func (this *GetScriptsRequest) Equal(that interface{}) bool

func (*GetScriptsRequest) GetIDs

func (m *GetScriptsRequest) GetIDs() []*uuidpb.UUID

func (*GetScriptsRequest) GetOrgID

func (m *GetScriptsRequest) GetOrgID() *uuidpb.UUID

func (*GetScriptsRequest) GoString

func (this *GetScriptsRequest) GoString() string

func (*GetScriptsRequest) Marshal

func (m *GetScriptsRequest) Marshal() (dAtA []byte, err error)

func (*GetScriptsRequest) MarshalTo

func (m *GetScriptsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetScriptsRequest) MarshalToSizedBuffer

func (m *GetScriptsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetScriptsRequest) ProtoMessage

func (*GetScriptsRequest) ProtoMessage()

func (*GetScriptsRequest) Reset

func (m *GetScriptsRequest) Reset()

func (*GetScriptsRequest) Size

func (m *GetScriptsRequest) Size() (n int)

func (*GetScriptsRequest) String

func (this *GetScriptsRequest) String() string

func (*GetScriptsRequest) Unmarshal

func (m *GetScriptsRequest) Unmarshal(dAtA []byte) error

func (*GetScriptsRequest) XXX_DiscardUnknown

func (m *GetScriptsRequest) XXX_DiscardUnknown()

func (*GetScriptsRequest) XXX_Marshal

func (m *GetScriptsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetScriptsRequest) XXX_Merge

func (m *GetScriptsRequest) XXX_Merge(src proto.Message)

func (*GetScriptsRequest) XXX_Size

func (m *GetScriptsRequest) XXX_Size() int

func (*GetScriptsRequest) XXX_Unmarshal

func (m *GetScriptsRequest) XXX_Unmarshal(b []byte) error

type GetScriptsResponse

type GetScriptsResponse struct {
	Scripts []*CronScript `protobuf:"bytes,1,rep,name=scripts,proto3" json:"scripts,omitempty"`
}

func (*GetScriptsResponse) Descriptor

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

func (*GetScriptsResponse) Equal

func (this *GetScriptsResponse) Equal(that interface{}) bool

func (*GetScriptsResponse) GetScripts

func (m *GetScriptsResponse) GetScripts() []*CronScript

func (*GetScriptsResponse) GoString

func (this *GetScriptsResponse) GoString() string

func (*GetScriptsResponse) Marshal

func (m *GetScriptsResponse) Marshal() (dAtA []byte, err error)

func (*GetScriptsResponse) MarshalTo

func (m *GetScriptsResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetScriptsResponse) MarshalToSizedBuffer

func (m *GetScriptsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetScriptsResponse) ProtoMessage

func (*GetScriptsResponse) ProtoMessage()

func (*GetScriptsResponse) Reset

func (m *GetScriptsResponse) Reset()

func (*GetScriptsResponse) Size

func (m *GetScriptsResponse) Size() (n int)

func (*GetScriptsResponse) String

func (this *GetScriptsResponse) String() string

func (*GetScriptsResponse) Unmarshal

func (m *GetScriptsResponse) Unmarshal(dAtA []byte) error

func (*GetScriptsResponse) XXX_DiscardUnknown

func (m *GetScriptsResponse) XXX_DiscardUnknown()

func (*GetScriptsResponse) XXX_Marshal

func (m *GetScriptsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetScriptsResponse) XXX_Merge

func (m *GetScriptsResponse) XXX_Merge(src proto.Message)

func (*GetScriptsResponse) XXX_Size

func (m *GetScriptsResponse) XXX_Size() int

func (*GetScriptsResponse) XXX_Unmarshal

func (m *GetScriptsResponse) XXX_Unmarshal(b []byte) error

type UnimplementedCronScriptServiceServer

type UnimplementedCronScriptServiceServer struct {
}

UnimplementedCronScriptServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCronScriptServiceServer) CreateScript

func (*UnimplementedCronScriptServiceServer) DeleteScript

func (*UnimplementedCronScriptServiceServer) GetScript

func (*UnimplementedCronScriptServiceServer) GetScripts

func (*UnimplementedCronScriptServiceServer) UpdateScript

type UpdateScriptRequest

type UpdateScriptRequest struct {
	Script         *types.StringValue `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	CronExpression *types.StringValue `protobuf:"bytes,2,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"`
	ClusterIDs     *ClusterIDs        `protobuf:"bytes,3,opt,name=cluster_ids,json=clusterIds,proto3" json:"cluster_ids,omitempty"`
	Configs        *types.StringValue `protobuf:"bytes,4,opt,name=configs,proto3" json:"configs,omitempty"`
	Enabled        *types.BoolValue   `protobuf:"bytes,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	FrequencyS     *types.Int64Value  `protobuf:"bytes,6,opt,name=frequency_s,json=frequencyS,proto3" json:"frequency_s,omitempty"`
	ScriptId       *uuidpb.UUID       `protobuf:"bytes,7,opt,name=script_id,json=scriptId,proto3" json:"script_id,omitempty"`
	OrgID          *uuidpb.UUID       `protobuf:"bytes,8,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*UpdateScriptRequest) Descriptor

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

func (*UpdateScriptRequest) Equal

func (this *UpdateScriptRequest) Equal(that interface{}) bool

func (*UpdateScriptRequest) GetClusterIDs

func (m *UpdateScriptRequest) GetClusterIDs() *ClusterIDs

func (*UpdateScriptRequest) GetConfigs

func (m *UpdateScriptRequest) GetConfigs() *types.StringValue

func (*UpdateScriptRequest) GetCronExpression

func (m *UpdateScriptRequest) GetCronExpression() *types.StringValue

func (*UpdateScriptRequest) GetEnabled

func (m *UpdateScriptRequest) GetEnabled() *types.BoolValue

func (*UpdateScriptRequest) GetFrequencyS

func (m *UpdateScriptRequest) GetFrequencyS() *types.Int64Value

func (*UpdateScriptRequest) GetOrgID

func (m *UpdateScriptRequest) GetOrgID() *uuidpb.UUID

func (*UpdateScriptRequest) GetScript

func (m *UpdateScriptRequest) GetScript() *types.StringValue

func (*UpdateScriptRequest) GetScriptId

func (m *UpdateScriptRequest) GetScriptId() *uuidpb.UUID

func (*UpdateScriptRequest) GoString

func (this *UpdateScriptRequest) GoString() string

func (*UpdateScriptRequest) Marshal

func (m *UpdateScriptRequest) Marshal() (dAtA []byte, err error)

func (*UpdateScriptRequest) MarshalTo

func (m *UpdateScriptRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateScriptRequest) MarshalToSizedBuffer

func (m *UpdateScriptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateScriptRequest) ProtoMessage

func (*UpdateScriptRequest) ProtoMessage()

func (*UpdateScriptRequest) Reset

func (m *UpdateScriptRequest) Reset()

func (*UpdateScriptRequest) Size

func (m *UpdateScriptRequest) Size() (n int)

func (*UpdateScriptRequest) String

func (this *UpdateScriptRequest) String() string

func (*UpdateScriptRequest) Unmarshal

func (m *UpdateScriptRequest) Unmarshal(dAtA []byte) error

func (*UpdateScriptRequest) XXX_DiscardUnknown

func (m *UpdateScriptRequest) XXX_DiscardUnknown()

func (*UpdateScriptRequest) XXX_Marshal

func (m *UpdateScriptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateScriptRequest) XXX_Merge

func (m *UpdateScriptRequest) XXX_Merge(src proto.Message)

func (*UpdateScriptRequest) XXX_Size

func (m *UpdateScriptRequest) XXX_Size() int

func (*UpdateScriptRequest) XXX_Unmarshal

func (m *UpdateScriptRequest) XXX_Unmarshal(b []byte) error

type UpdateScriptResponse

type UpdateScriptResponse struct {
}

func (*UpdateScriptResponse) Descriptor

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

func (*UpdateScriptResponse) Equal

func (this *UpdateScriptResponse) Equal(that interface{}) bool

func (*UpdateScriptResponse) GoString

func (this *UpdateScriptResponse) GoString() string

func (*UpdateScriptResponse) Marshal

func (m *UpdateScriptResponse) Marshal() (dAtA []byte, err error)

func (*UpdateScriptResponse) MarshalTo

func (m *UpdateScriptResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateScriptResponse) MarshalToSizedBuffer

func (m *UpdateScriptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateScriptResponse) ProtoMessage

func (*UpdateScriptResponse) ProtoMessage()

func (*UpdateScriptResponse) Reset

func (m *UpdateScriptResponse) Reset()

func (*UpdateScriptResponse) Size

func (m *UpdateScriptResponse) Size() (n int)

func (*UpdateScriptResponse) String

func (this *UpdateScriptResponse) String() string

func (*UpdateScriptResponse) Unmarshal

func (m *UpdateScriptResponse) Unmarshal(dAtA []byte) error

func (*UpdateScriptResponse) XXX_DiscardUnknown

func (m *UpdateScriptResponse) XXX_DiscardUnknown()

func (*UpdateScriptResponse) XXX_Marshal

func (m *UpdateScriptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateScriptResponse) XXX_Merge

func (m *UpdateScriptResponse) XXX_Merge(src proto.Message)

func (*UpdateScriptResponse) XXX_Size

func (m *UpdateScriptResponse) XXX_Size() int

func (*UpdateScriptResponse) XXX_Unmarshal

func (m *UpdateScriptResponse) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis
Package mock_cronscriptpb is a generated GoMock package.
Package mock_cronscriptpb is a generated GoMock package.

Jump to

Keyboard shortcuts

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