Documentation ¶
Overview ¶
Package repository is a generated protocol buffer package.
It is generated from these files:
reposerver/repository/repository.proto
It has these top-level messages:
ManifestRequest ManifestResponse EnvParamsRequest EnvParamsResponse
Index ¶
- func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer)
- type EnvParamsRequest
- func (*EnvParamsRequest) Descriptor() ([]byte, []int)
- func (m *EnvParamsRequest) GetEnvironment() string
- func (m *EnvParamsRequest) GetPath() string
- func (m *EnvParamsRequest) GetRepo() *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Repository
- func (m *EnvParamsRequest) GetRevision() string
- func (*EnvParamsRequest) ProtoMessage()
- func (m *EnvParamsRequest) Reset()
- func (m *EnvParamsRequest) String() string
- type EnvParamsResponse
- type ManifestRequest
- func (*ManifestRequest) Descriptor() ([]byte, []int)
- func (m *ManifestRequest) GetAppLabel() string
- func (m *ManifestRequest) GetComponentParameterOverrides() ...
- func (m *ManifestRequest) GetEnvironment() string
- func (m *ManifestRequest) GetPath() string
- func (m *ManifestRequest) GetRepo() *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Repository
- func (m *ManifestRequest) GetRevision() string
- func (*ManifestRequest) ProtoMessage()
- func (m *ManifestRequest) Reset()
- func (m *ManifestRequest) String() string
- type ManifestResponse
- func (*ManifestResponse) Descriptor() ([]byte, []int)
- func (m *ManifestResponse) GetManifests() []string
- func (m *ManifestResponse) GetNamespace() string
- func (m *ManifestResponse) GetRevision() string
- func (m *ManifestResponse) GetServer() string
- func (*ManifestResponse) ProtoMessage()
- func (m *ManifestResponse) Reset()
- func (m *ManifestResponse) String() string
- type RepositoryServiceClient
- type RepositoryServiceServer
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRepositoryServiceServer ¶
func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer)
Types ¶
type EnvParamsRequest ¶
type EnvParamsRequest struct { Repo *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"` Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` Environment string `protobuf:"bytes,4,opt,name=environment" json:"environment,omitempty"` }
func (*EnvParamsRequest) Descriptor ¶
func (*EnvParamsRequest) Descriptor() ([]byte, []int)
func (*EnvParamsRequest) GetEnvironment ¶
func (m *EnvParamsRequest) GetEnvironment() string
func (*EnvParamsRequest) GetPath ¶
func (m *EnvParamsRequest) GetPath() string
func (*EnvParamsRequest) GetRepo ¶
func (m *EnvParamsRequest) GetRepo() *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Repository
func (*EnvParamsRequest) GetRevision ¶
func (m *EnvParamsRequest) GetRevision() string
func (*EnvParamsRequest) ProtoMessage ¶
func (*EnvParamsRequest) ProtoMessage()
func (*EnvParamsRequest) Reset ¶
func (m *EnvParamsRequest) Reset()
func (*EnvParamsRequest) String ¶
func (m *EnvParamsRequest) String() string
type EnvParamsResponse ¶
type EnvParamsResponse struct {
Params []*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ComponentParameter `protobuf:"bytes,1,rep,name=params" json:"params,omitempty"`
}
func (*EnvParamsResponse) Descriptor ¶
func (*EnvParamsResponse) Descriptor() ([]byte, []int)
func (*EnvParamsResponse) GetParams ¶
func (m *EnvParamsResponse) GetParams() []*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ComponentParameter
func (*EnvParamsResponse) ProtoMessage ¶
func (*EnvParamsResponse) ProtoMessage()
func (*EnvParamsResponse) Reset ¶
func (m *EnvParamsResponse) Reset()
func (*EnvParamsResponse) String ¶
func (m *EnvParamsResponse) String() string
type ManifestRequest ¶
type ManifestRequest struct { Repo *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Repository `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"` Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` Environment string `protobuf:"bytes,4,opt,name=environment" json:"environment,omitempty"` AppLabel string `protobuf:"bytes,5,opt,name=appLabel" json:"appLabel,omitempty"` ComponentParameterOverrides []*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ComponentParameter `protobuf:"bytes,6,rep,name=componentParameterOverrides" json:"componentParameterOverrides,omitempty"` }
ManifestRequest is a query for manifest generation.
func (*ManifestRequest) Descriptor ¶
func (*ManifestRequest) Descriptor() ([]byte, []int)
func (*ManifestRequest) GetAppLabel ¶
func (m *ManifestRequest) GetAppLabel() string
func (*ManifestRequest) GetComponentParameterOverrides ¶
func (m *ManifestRequest) GetComponentParameterOverrides() []*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ComponentParameter
func (*ManifestRequest) GetEnvironment ¶
func (m *ManifestRequest) GetEnvironment() string
func (*ManifestRequest) GetPath ¶
func (m *ManifestRequest) GetPath() string
func (*ManifestRequest) GetRepo ¶
func (m *ManifestRequest) GetRepo() *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Repository
func (*ManifestRequest) GetRevision ¶
func (m *ManifestRequest) GetRevision() string
func (*ManifestRequest) ProtoMessage ¶
func (*ManifestRequest) ProtoMessage()
func (*ManifestRequest) Reset ¶
func (m *ManifestRequest) Reset()
func (*ManifestRequest) String ¶
func (m *ManifestRequest) String() string
type ManifestResponse ¶
type ManifestResponse struct { Manifests []string `protobuf:"bytes,1,rep,name=manifests" json:"manifests,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` Server string `protobuf:"bytes,3,opt,name=server" json:"server,omitempty"` Revision string `protobuf:"bytes,4,opt,name=revision" json:"revision,omitempty"` }
func (*ManifestResponse) Descriptor ¶
func (*ManifestResponse) Descriptor() ([]byte, []int)
func (*ManifestResponse) GetManifests ¶
func (m *ManifestResponse) GetManifests() []string
func (*ManifestResponse) GetNamespace ¶
func (m *ManifestResponse) GetNamespace() string
func (*ManifestResponse) GetRevision ¶
func (m *ManifestResponse) GetRevision() string
func (*ManifestResponse) GetServer ¶
func (m *ManifestResponse) GetServer() string
func (*ManifestResponse) ProtoMessage ¶
func (*ManifestResponse) ProtoMessage()
func (*ManifestResponse) Reset ¶
func (m *ManifestResponse) Reset()
func (*ManifestResponse) String ¶
func (m *ManifestResponse) String() string
type RepositoryServiceClient ¶
type RepositoryServiceClient interface { // Generate manifest for application in specified repo name and revision GenerateManifest(ctx context.Context, in *ManifestRequest, opts ...grpc.CallOption) (*ManifestResponse, error) // Retrieve Ksonnet environment params in specified repo name and revision GetEnvParams(ctx context.Context, in *EnvParamsRequest, opts ...grpc.CallOption) (*EnvParamsResponse, error) }
func NewRepositoryServiceClient ¶
func NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient
type RepositoryServiceServer ¶
type RepositoryServiceServer interface { // Generate manifest for application in specified repo name and revision GenerateManifest(context.Context, *ManifestRequest) (*ManifestResponse, error) // Retrieve Ksonnet environment params in specified repo name and revision GetEnvParams(context.Context, *EnvParamsRequest) (*EnvParamsResponse, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements ManifestService interface
func NewService ¶
NewService returns a new instance of the Manifest service
func (*Service) GenerateManifest ¶
func (s *Service) GenerateManifest(c context.Context, q *ManifestRequest) (*ManifestResponse, error)
func (*Service) GetEnvParams ¶
func (s *Service) GetEnvParams(c context.Context, q *EnvParamsRequest) (*EnvParamsResponse, error)
GetEnvParams retrieves Ksonnet environment params in specified repo name and revision
Click to show internal directories.
Click to hide internal directories.