Documentation ¶
Overview ¶
Package version is a generated protocol buffer package. Version Service Version Service API returns the version of the API server. It is generated from these files: server/version/version.proto It has these top-level messages: VersionMessage
Package version is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterVersionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVersionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VersionServiceClient) error
- func RegisterVersionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
- type Server
- type VersionMessage
- func (*VersionMessage) Descriptor() ([]byte, []int)
- func (m *VersionMessage) GetBuildDate() string
- func (m *VersionMessage) GetCompiler() string
- func (m *VersionMessage) GetGitCommit() string
- func (m *VersionMessage) GetGitTag() string
- func (m *VersionMessage) GetGitTreeState() string
- func (m *VersionMessage) GetGoVersion() string
- func (m *VersionMessage) GetKsonnetVersion() string
- func (m *VersionMessage) GetPlatform() string
- func (m *VersionMessage) GetVersion() string
- func (m *VersionMessage) Marshal() (dAtA []byte, err error)
- func (m *VersionMessage) MarshalTo(dAtA []byte) (int, error)
- func (*VersionMessage) ProtoMessage()
- func (m *VersionMessage) Reset()
- func (m *VersionMessage) Size() (n int)
- func (m *VersionMessage) String() string
- func (m *VersionMessage) Unmarshal(dAtA []byte) error
- type VersionServiceClient
- type VersionServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthVersion = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVersion = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterVersionServiceHandler ¶
func RegisterVersionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVersionServiceHandler registers the http handlers for service VersionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVersionServiceHandlerClient ¶
func RegisterVersionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VersionServiceClient) error
RegisterVersionServiceHandler registers the http handlers for service VersionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VersionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VersionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VersionServiceClient" to call the correct interceptors.
func RegisterVersionServiceHandlerFromEndpoint ¶
func RegisterVersionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVersionServiceHandlerFromEndpoint is same as RegisterVersionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)
Types ¶
type Server ¶
type Server struct{}
type VersionMessage ¶
type VersionMessage struct { Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` BuildDate string `protobuf:"bytes,2,opt,name=BuildDate,proto3" json:"BuildDate,omitempty"` GitCommit string `protobuf:"bytes,3,opt,name=GitCommit,proto3" json:"GitCommit,omitempty"` GitTag string `protobuf:"bytes,4,opt,name=GitTag,proto3" json:"GitTag,omitempty"` GitTreeState string `protobuf:"bytes,5,opt,name=GitTreeState,proto3" json:"GitTreeState,omitempty"` GoVersion string `protobuf:"bytes,6,opt,name=GoVersion,proto3" json:"GoVersion,omitempty"` Compiler string `protobuf:"bytes,7,opt,name=Compiler,proto3" json:"Compiler,omitempty"` Platform string `protobuf:"bytes,8,opt,name=Platform,proto3" json:"Platform,omitempty"` KsonnetVersion string `protobuf:"bytes,9,opt,name=KsonnetVersion,proto3" json:"KsonnetVersion,omitempty"` }
VersionMessage represents version of the ArgoCD API server
func (*VersionMessage) Descriptor ¶
func (*VersionMessage) Descriptor() ([]byte, []int)
func (*VersionMessage) GetBuildDate ¶
func (m *VersionMessage) GetBuildDate() string
func (*VersionMessage) GetCompiler ¶
func (m *VersionMessage) GetCompiler() string
func (*VersionMessage) GetGitCommit ¶
func (m *VersionMessage) GetGitCommit() string
func (*VersionMessage) GetGitTag ¶
func (m *VersionMessage) GetGitTag() string
func (*VersionMessage) GetGitTreeState ¶
func (m *VersionMessage) GetGitTreeState() string
func (*VersionMessage) GetGoVersion ¶
func (m *VersionMessage) GetGoVersion() string
func (*VersionMessage) GetKsonnetVersion ¶ added in v0.7.0
func (m *VersionMessage) GetKsonnetVersion() string
func (*VersionMessage) GetPlatform ¶
func (m *VersionMessage) GetPlatform() string
func (*VersionMessage) GetVersion ¶
func (m *VersionMessage) GetVersion() string
func (*VersionMessage) Marshal ¶ added in v0.3.1
func (m *VersionMessage) Marshal() (dAtA []byte, err error)
func (*VersionMessage) MarshalTo ¶ added in v0.3.1
func (m *VersionMessage) MarshalTo(dAtA []byte) (int, error)
func (*VersionMessage) ProtoMessage ¶
func (*VersionMessage) ProtoMessage()
func (*VersionMessage) Reset ¶
func (m *VersionMessage) Reset()
func (*VersionMessage) Size ¶ added in v0.3.1
func (m *VersionMessage) Size() (n int)
func (*VersionMessage) String ¶
func (m *VersionMessage) String() string
func (*VersionMessage) Unmarshal ¶ added in v0.3.1
func (m *VersionMessage) Unmarshal(dAtA []byte) error
type VersionServiceClient ¶
type VersionServiceClient interface { // Version returns version information of the API server Version(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*VersionMessage, error) }
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc *grpc.ClientConn) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface { // Version returns version information of the API server Version(context.Context, *google_protobuf1.Empty) (*VersionMessage, error) }