Documentation
¶
Index ¶
- Variables
- func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer)
- type CommitCreateResponse
- type CommitResponse
- type CommitServiceClient
- type CommitServiceServer
- type CreateCommitRequest
- func (*CreateCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommitRequest) GetCommit() *v1alpha1.Commit
- func (x *CreateCommitRequest) GetPassword() string
- func (*CreateCommitRequest) ProtoMessage()
- func (x *CreateCommitRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCommitRequest) Reset()
- func (x *CreateCommitRequest) String() string
- type CreateCommitResponse
- type DeleteCommitRequest
- func (*DeleteCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCommitRequest) GetName() string
- func (x *DeleteCommitRequest) GetNamespace() string
- func (*DeleteCommitRequest) ProtoMessage()
- func (x *DeleteCommitRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCommitRequest) Reset()
- func (x *DeleteCommitRequest) String() string
- type DeleteCommitResponse
- type GetCommitNamespacesRequest
- func (*GetCommitNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitNamespacesRequest) GetName() string
- func (x *GetCommitNamespacesRequest) GetNamespace() string
- func (*GetCommitNamespacesRequest) ProtoMessage()
- func (x *GetCommitNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitNamespacesRequest) Reset()
- func (x *GetCommitNamespacesRequest) String() string
- type GetCommitNamespacesResponse
- func (*GetCommitNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo
- func (*GetCommitNamespacesResponse) ProtoMessage()
- func (x *GetCommitNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitNamespacesResponse) Reset()
- func (x *GetCommitNamespacesResponse) String() string
- type GetCommitRequest
- func (*GetCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitRequest) GetName() string
- func (x *GetCommitRequest) GetNamespace() string
- func (*GetCommitRequest) ProtoMessage()
- func (x *GetCommitRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitRequest) Reset()
- func (x *GetCommitRequest) String() string
- type GetCommitResponse
- func (*GetCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitResponse) GetCommit() *v1alpha1.Commit
- func (x *GetCommitResponse) GetYaml() string
- func (*GetCommitResponse) ProtoMessage()
- func (x *GetCommitResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitResponse) Reset()
- func (x *GetCommitResponse) String() string
- type ListCommitsRequest
- func (*ListCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsRequest) GetLabels() map[string]string
- func (x *ListCommitsRequest) GetNamespace() string
- func (x *ListCommitsRequest) GetOrderBy() string
- func (x *ListCommitsRequest) GetPageSize() int32
- func (x *ListCommitsRequest) GetPageToken() string
- func (*ListCommitsRequest) ProtoMessage()
- func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommitsRequest) Reset()
- func (x *ListCommitsRequest) String() string
- type ListCommitsResponse
- func (*ListCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsResponse) GetCommits() *v1alpha1.CommitList
- func (*ListCommitsResponse) ProtoMessage()
- func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommitsResponse) Reset()
- func (x *ListCommitsResponse) String() string
- type UnimplementedCommitServiceServer
- func (*UnimplementedCommitServiceServer) CreateCommit(context.Context, *CreateCommitRequest) (*CreateCommitResponse, error)
- func (*UnimplementedCommitServiceServer) DeleteCommit(context.Context, *DeleteCommitRequest) (*DeleteCommitResponse, error)
- func (*UnimplementedCommitServiceServer) GetCommit(context.Context, *GetCommitRequest) (*GetCommitResponse, error)
- func (*UnimplementedCommitServiceServer) ListCommits(context.Context, *ListCommitsRequest) (*ListCommitsResponse, error)
- func (*UnimplementedCommitServiceServer) UpdateCommit(context.Context, *UpdateCommitRequest) (*UpdateCommitResponse, error)
- type UpdateCommitRequest
- func (*UpdateCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCommitRequest) GetCommit() *v1alpha1.Commit
- func (x *UpdateCommitRequest) GetFieldMask() *field_mask.FieldMask
- func (*UpdateCommitRequest) ProtoMessage()
- func (x *UpdateCommitRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCommitRequest) Reset()
- func (x *UpdateCommitRequest) String() string
- type UpdateCommitResponse
Constants ¶
This section is empty.
Variables ¶
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.
func NewCommitServiceClient ¶
func NewCommitServiceClient(cc grpc.ClientConnInterface) CommitServiceClient
type CommitServiceServer ¶
type CommitServiceServer interface { ListCommits(context.Context, *ListCommitsRequest) (*ListCommitsResponse, error) CreateCommit(context.Context, *CreateCommitRequest) (*CreateCommitResponse, error) GetCommit(context.Context, *GetCommitRequest) (*GetCommitResponse, error) UpdateCommit(context.Context, *UpdateCommitRequest) (*UpdateCommitResponse, error) DeleteCommit(context.Context, *DeleteCommitRequest) (*DeleteCommitResponse, error) }
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 (x *GetCommitNamespacesRequest) ProtoReflect() protoreflect.Message
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 (x *GetCommitNamespacesResponse) ProtoReflect() protoreflect.Message
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) CreateCommit(context.Context, *CreateCommitRequest) (*CreateCommitResponse, error)
func (*UnimplementedCommitServiceServer) DeleteCommit ¶
func (*UnimplementedCommitServiceServer) DeleteCommit(context.Context, *DeleteCommitRequest) (*DeleteCommitResponse, error)
func (*UnimplementedCommitServiceServer) GetCommit ¶
func (*UnimplementedCommitServiceServer) GetCommit(context.Context, *GetCommitRequest) (*GetCommitResponse, error)
func (*UnimplementedCommitServiceServer) ListCommits ¶
func (*UnimplementedCommitServiceServer) ListCommits(context.Context, *ListCommitsRequest) (*ListCommitsResponse, error)
func (*UnimplementedCommitServiceServer) UpdateCommit ¶
func (*UnimplementedCommitServiceServer) UpdateCommit(context.Context, *UpdateCommitRequest) (*UpdateCommitResponse, error)
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