v1

package
v0.4.676 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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_commit_v1_commit_proto protoreflect.FileDescriptor

Functions

func RegisterCommitServiceServer

func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer)

Types

type CommitCreateResponse

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

func (*CommitCreateResponse) Descriptor deprecated

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

Deprecated: Use CommitCreateResponse.ProtoReflect.Descriptor instead.

func (*CommitCreateResponse) ProtoMessage

func (*CommitCreateResponse) ProtoMessage()

func (*CommitCreateResponse) ProtoReflect

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

func (*CommitCreateResponse) Reset

func (x *CommitCreateResponse) Reset()

func (*CommitCreateResponse) String

func (x *CommitCreateResponse) String() string

type CommitResponse

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

func (*CommitResponse) Descriptor deprecated

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

Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) ProtoReflect

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

func (*CommitResponse) Reset

func (x *CommitResponse) Reset()

func (*CommitResponse) String

func (x *CommitResponse) String() string

type CommitServiceClient

type CommitServiceClient interface {
	ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (*ListCommitsResponse, error)
	CreateCommit(ctx context.Context, in *CreateCommitRequest, opts ...grpc.CallOption) (*CreateCommitResponse, error)
	GetCommit(ctx context.Context, in *GetCommitRequest, opts ...grpc.CallOption) (*GetCommitResponse, error)
	UpdateCommit(ctx context.Context, in *UpdateCommitRequest, opts ...grpc.CallOption) (*UpdateCommitResponse, error)
	DeleteCommit(ctx context.Context, in *DeleteCommitRequest, opts ...grpc.CallOption) (*DeleteCommitResponse, error)
}

CommitServiceClient is the client API for CommitService service.

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

type CommitServiceServer

CommitServiceServer is the server API for CommitService service.

type CreateCommitRequest

type CreateCommitRequest struct {
	Commit   *v1alpha1.Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	Password string           `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCommitRequest) Descriptor deprecated

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

Deprecated: Use CreateCommitRequest.ProtoReflect.Descriptor instead.

func (*CreateCommitRequest) GetCommit added in v0.4.471

func (x *CreateCommitRequest) GetCommit() *v1alpha1.Commit

func (*CreateCommitRequest) GetPassword

func (x *CreateCommitRequest) GetPassword() string

func (*CreateCommitRequest) ProtoMessage

func (*CreateCommitRequest) ProtoMessage()

func (*CreateCommitRequest) ProtoReflect

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

func (*CreateCommitRequest) Reset

func (x *CreateCommitRequest) Reset()

func (*CreateCommitRequest) String

func (x *CreateCommitRequest) String() string

type CreateCommitResponse

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

func (*CreateCommitResponse) Descriptor deprecated

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

Deprecated: Use CreateCommitResponse.ProtoReflect.Descriptor instead.

func (*CreateCommitResponse) ProtoMessage

func (*CreateCommitResponse) ProtoMessage()

func (*CreateCommitResponse) ProtoReflect

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

func (*CreateCommitResponse) Reset

func (x *CreateCommitResponse) Reset()

func (*CreateCommitResponse) String

func (x *CreateCommitResponse) String() string

type DeleteCommitRequest

type DeleteCommitRequest 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 (*DeleteCommitRequest) Descriptor deprecated

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

Deprecated: Use DeleteCommitRequest.ProtoReflect.Descriptor instead.

func (*DeleteCommitRequest) GetName

func (x *DeleteCommitRequest) GetName() string

func (*DeleteCommitRequest) GetNamespace

func (x *DeleteCommitRequest) GetNamespace() string

func (*DeleteCommitRequest) ProtoMessage

func (*DeleteCommitRequest) ProtoMessage()

func (*DeleteCommitRequest) ProtoReflect

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

func (*DeleteCommitRequest) Reset

func (x *DeleteCommitRequest) Reset()

func (*DeleteCommitRequest) String

func (x *DeleteCommitRequest) String() string

type DeleteCommitResponse

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

func (*DeleteCommitResponse) Descriptor deprecated

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

Deprecated: Use DeleteCommitResponse.ProtoReflect.Descriptor instead.

func (*DeleteCommitResponse) ProtoMessage

func (*DeleteCommitResponse) ProtoMessage()

func (*DeleteCommitResponse) ProtoReflect

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

func (*DeleteCommitResponse) Reset

func (x *DeleteCommitResponse) Reset()

func (*DeleteCommitResponse) String

func (x *DeleteCommitResponse) String() string

type GetCommitNamespacesRequest

type GetCommitNamespacesRequest 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 (*GetCommitNamespacesRequest) Descriptor deprecated

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

Deprecated: Use GetCommitNamespacesRequest.ProtoReflect.Descriptor instead.

func (*GetCommitNamespacesRequest) GetName

func (x *GetCommitNamespacesRequest) GetName() string

func (*GetCommitNamespacesRequest) GetNamespace

func (x *GetCommitNamespacesRequest) GetNamespace() string

func (*GetCommitNamespacesRequest) ProtoMessage

func (*GetCommitNamespacesRequest) ProtoMessage()

func (*GetCommitNamespacesRequest) ProtoReflect

func (*GetCommitNamespacesRequest) Reset

func (x *GetCommitNamespacesRequest) Reset()

func (*GetCommitNamespacesRequest) String

func (x *GetCommitNamespacesRequest) String() string

type GetCommitNamespacesResponse

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

func (*GetCommitNamespacesResponse) Descriptor deprecated

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

Deprecated: Use GetCommitNamespacesResponse.ProtoReflect.Descriptor instead.

func (*GetCommitNamespacesResponse) GetNamespaces

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

func (*GetCommitNamespacesResponse) ProtoMessage

func (*GetCommitNamespacesResponse) ProtoMessage()

func (*GetCommitNamespacesResponse) ProtoReflect

func (*GetCommitNamespacesResponse) Reset

func (x *GetCommitNamespacesResponse) Reset()

func (*GetCommitNamespacesResponse) String

func (x *GetCommitNamespacesResponse) String() string

type GetCommitRequest

type GetCommitRequest 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 (*GetCommitRequest) Descriptor deprecated

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

Deprecated: Use GetCommitRequest.ProtoReflect.Descriptor instead.

func (*GetCommitRequest) GetName

func (x *GetCommitRequest) GetName() string

func (*GetCommitRequest) GetNamespace

func (x *GetCommitRequest) GetNamespace() string

func (*GetCommitRequest) ProtoMessage

func (*GetCommitRequest) ProtoMessage()

func (*GetCommitRequest) ProtoReflect

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

func (*GetCommitRequest) Reset

func (x *GetCommitRequest) Reset()

func (*GetCommitRequest) String

func (x *GetCommitRequest) String() string

type GetCommitResponse

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

func (*GetCommitResponse) Descriptor deprecated

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

Deprecated: Use GetCommitResponse.ProtoReflect.Descriptor instead.

func (*GetCommitResponse) GetCommit added in v0.4.475

func (x *GetCommitResponse) GetCommit() *v1alpha1.Commit

func (*GetCommitResponse) GetYaml

func (x *GetCommitResponse) GetYaml() string

func (*GetCommitResponse) ProtoMessage

func (*GetCommitResponse) ProtoMessage()

func (*GetCommitResponse) ProtoReflect

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

func (*GetCommitResponse) Reset

func (x *GetCommitResponse) Reset()

func (*GetCommitResponse) String

func (x *GetCommitResponse) String() string

type ListCommitsRequest

type ListCommitsRequest 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 (*ListCommitsRequest) Descriptor deprecated

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

Deprecated: Use ListCommitsRequest.ProtoReflect.Descriptor instead.

func (*ListCommitsRequest) GetLabels

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

func (*ListCommitsRequest) GetNamespace

func (x *ListCommitsRequest) GetNamespace() string

func (*ListCommitsRequest) GetOrderBy added in v0.4.414

func (x *ListCommitsRequest) GetOrderBy() string

func (*ListCommitsRequest) GetPageSize added in v0.4.414

func (x *ListCommitsRequest) GetPageSize() int32

func (*ListCommitsRequest) GetPageToken added in v0.4.414

func (x *ListCommitsRequest) GetPageToken() string

func (*ListCommitsRequest) ProtoMessage

func (*ListCommitsRequest) ProtoMessage()

func (*ListCommitsRequest) ProtoReflect

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

func (*ListCommitsRequest) Reset

func (x *ListCommitsRequest) Reset()

func (*ListCommitsRequest) String

func (x *ListCommitsRequest) String() string

type ListCommitsResponse

type ListCommitsResponse struct {
	Commits *v1alpha1.CommitList `protobuf:"bytes,1,opt,name=commits,proto3" json:"commits,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommitsResponse) Descriptor deprecated

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

Deprecated: Use ListCommitsResponse.ProtoReflect.Descriptor instead.

func (*ListCommitsResponse) GetCommits added in v0.4.471

func (x *ListCommitsResponse) GetCommits() *v1alpha1.CommitList

func (*ListCommitsResponse) ProtoMessage

func (*ListCommitsResponse) ProtoMessage()

func (*ListCommitsResponse) ProtoReflect

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

func (*ListCommitsResponse) Reset

func (x *ListCommitsResponse) Reset()

func (*ListCommitsResponse) String

func (x *ListCommitsResponse) String() string

type UnimplementedCommitServiceServer

type UnimplementedCommitServiceServer struct {
}

UnimplementedCommitServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCommitServiceServer) CreateCommit

func (*UnimplementedCommitServiceServer) DeleteCommit

func (*UnimplementedCommitServiceServer) GetCommit

func (*UnimplementedCommitServiceServer) ListCommits

func (*UnimplementedCommitServiceServer) UpdateCommit

type UpdateCommitRequest

type UpdateCommitRequest struct {
	Commit    *v1alpha1.Commit      `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,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 (*UpdateCommitRequest) Descriptor deprecated

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

Deprecated: Use UpdateCommitRequest.ProtoReflect.Descriptor instead.

func (*UpdateCommitRequest) GetCommit added in v0.4.475

func (x *UpdateCommitRequest) GetCommit() *v1alpha1.Commit

func (*UpdateCommitRequest) GetFieldMask added in v0.4.422

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

func (*UpdateCommitRequest) ProtoMessage

func (*UpdateCommitRequest) ProtoMessage()

func (*UpdateCommitRequest) ProtoReflect

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

func (*UpdateCommitRequest) Reset

func (x *UpdateCommitRequest) Reset()

func (*UpdateCommitRequest) String

func (x *UpdateCommitRequest) String() string

type UpdateCommitResponse

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

func (*UpdateCommitResponse) Descriptor deprecated

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

Deprecated: Use UpdateCommitResponse.ProtoReflect.Descriptor instead.

func (*UpdateCommitResponse) ProtoMessage

func (*UpdateCommitResponse) ProtoMessage()

func (*UpdateCommitResponse) ProtoReflect

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

func (*UpdateCommitResponse) Reset

func (x *UpdateCommitResponse) Reset()

func (*UpdateCommitResponse) String

func (x *UpdateCommitResponse) String() string

Jump to

Keyboard shortcuts

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