Help us shape the future of Go! Take the 2026 Go Developer Survey

application

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package application is a generated protocol buffer package.

Application Service

Application Service API performs CRUD actions against application resources

It is generated from these files:
	server/application/application.proto

It has these top-level messages:
	ApplicationQuery
	ApplicationResourceEventsQuery
	ApplicationManifestQuery
	ApplicationResponse
	ApplicationCreateRequest
	ApplicationUpdateRequest
	ApplicationDeleteRequest
	ApplicationSyncRequest
	ApplicationUpdateSpecRequest
	ApplicationRollbackRequest
	ApplicationDeletePodRequest
	ApplicationPodLogsQuery
	LogEntry

Package application is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApplication = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApplication   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterApplicationServiceHandler

func RegisterApplicationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterApplicationServiceHandler registers the http handlers for service ApplicationService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterApplicationServiceHandlerClient

func RegisterApplicationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApplicationServiceClient) error

RegisterApplicationServiceHandler registers the http handlers for service ApplicationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApplicationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApplicationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApplicationServiceClient" to call the correct interceptors.

func RegisterApplicationServiceHandlerFromEndpoint

func RegisterApplicationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterApplicationServiceHandlerFromEndpoint is same as RegisterApplicationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterApplicationServiceServer

func RegisterApplicationServiceServer(s *grpc.Server, srv ApplicationServiceServer)

Types

type ApplicationCreateRequest added in v0.5.0

type ApplicationCreateRequest struct {
	Application      github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application"`
	Upsert           *bool                                                                 `protobuf:"varint,2,opt,name=upsert" json:"upsert,omitempty"`
	XXX_unrecognized []byte                                                                `json:"-"`
}

func (*ApplicationCreateRequest) Descriptor added in v0.5.0

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

func (*ApplicationCreateRequest) GetApplication added in v0.5.0

func (*ApplicationCreateRequest) GetUpsert added in v0.5.0

func (m *ApplicationCreateRequest) GetUpsert() bool

func (*ApplicationCreateRequest) Marshal added in v0.5.0

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

func (*ApplicationCreateRequest) MarshalTo added in v0.5.0

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

func (*ApplicationCreateRequest) ProtoMessage added in v0.5.0

func (*ApplicationCreateRequest) ProtoMessage()

func (*ApplicationCreateRequest) Reset added in v0.5.0

func (m *ApplicationCreateRequest) Reset()

func (*ApplicationCreateRequest) Size added in v0.5.0

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

func (*ApplicationCreateRequest) String added in v0.5.0

func (m *ApplicationCreateRequest) String() string

func (*ApplicationCreateRequest) Unmarshal added in v0.5.0

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

type ApplicationDeletePodRequest added in v0.5.0

type ApplicationDeletePodRequest struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	PodName          *string `protobuf:"bytes,2,req,name=podName" json:"podName,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ApplicationDeletePodRequest) Descriptor added in v0.5.0

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

func (*ApplicationDeletePodRequest) GetName added in v0.5.0

func (m *ApplicationDeletePodRequest) GetName() string

func (*ApplicationDeletePodRequest) GetPodName added in v0.5.0

func (m *ApplicationDeletePodRequest) GetPodName() string

func (*ApplicationDeletePodRequest) Marshal added in v0.5.0

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

func (*ApplicationDeletePodRequest) MarshalTo added in v0.5.0

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

func (*ApplicationDeletePodRequest) ProtoMessage added in v0.5.0

func (*ApplicationDeletePodRequest) ProtoMessage()

func (*ApplicationDeletePodRequest) Reset added in v0.5.0

func (m *ApplicationDeletePodRequest) Reset()

func (*ApplicationDeletePodRequest) Size added in v0.5.0

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

func (*ApplicationDeletePodRequest) String added in v0.5.0

func (m *ApplicationDeletePodRequest) String() string

func (*ApplicationDeletePodRequest) Unmarshal added in v0.5.0

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

type ApplicationDeleteRequest added in v0.5.0

type ApplicationDeleteRequest struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Cascade          *bool   `protobuf:"varint,2,opt,name=cascade" json:"cascade,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ApplicationDeleteRequest) Descriptor added in v0.5.0

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

func (*ApplicationDeleteRequest) GetCascade added in v0.5.0

func (m *ApplicationDeleteRequest) GetCascade() bool

func (*ApplicationDeleteRequest) GetName added in v0.5.0

func (m *ApplicationDeleteRequest) GetName() string

func (*ApplicationDeleteRequest) Marshal added in v0.5.0

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

func (*ApplicationDeleteRequest) MarshalTo added in v0.5.0

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

func (*ApplicationDeleteRequest) ProtoMessage added in v0.5.0

func (*ApplicationDeleteRequest) ProtoMessage()

func (*ApplicationDeleteRequest) Reset added in v0.5.0

func (m *ApplicationDeleteRequest) Reset()

func (*ApplicationDeleteRequest) Size added in v0.5.0

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

func (*ApplicationDeleteRequest) String added in v0.5.0

func (m *ApplicationDeleteRequest) String() string

func (*ApplicationDeleteRequest) Unmarshal added in v0.5.0

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

type ApplicationManifestQuery added in v0.5.0

type ApplicationManifestQuery struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Revision         string  `protobuf:"bytes,2,opt,name=revision" json:"revision"`
	XXX_unrecognized []byte  `json:"-"`
}

ManifestQuery is a query for manifest resources

func (*ApplicationManifestQuery) Descriptor added in v0.5.0

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

func (*ApplicationManifestQuery) GetName added in v0.5.0

func (m *ApplicationManifestQuery) GetName() string

func (*ApplicationManifestQuery) GetRevision added in v0.5.0

func (m *ApplicationManifestQuery) GetRevision() string

func (*ApplicationManifestQuery) Marshal added in v0.5.0

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

func (*ApplicationManifestQuery) MarshalTo added in v0.5.0

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

func (*ApplicationManifestQuery) ProtoMessage added in v0.5.0

func (*ApplicationManifestQuery) ProtoMessage()

func (*ApplicationManifestQuery) Reset added in v0.5.0

func (m *ApplicationManifestQuery) Reset()

func (*ApplicationManifestQuery) Size added in v0.5.0

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

func (*ApplicationManifestQuery) String added in v0.5.0

func (m *ApplicationManifestQuery) String() string

func (*ApplicationManifestQuery) Unmarshal added in v0.5.0

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

type ApplicationPodLogsQuery added in v0.5.0

type ApplicationPodLogsQuery struct {
	Name             *string                                    `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	PodName          *string                                    `protobuf:"bytes,2,req,name=podName" json:"podName,omitempty"`
	Container        string                                     `protobuf:"bytes,3,req,name=container" json:"container"`
	SinceSeconds     int64                                      `protobuf:"varint,4,req,name=sinceSeconds" json:"sinceSeconds"`
	SinceTime        *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,5,opt,name=sinceTime" json:"sinceTime,omitempty"`
	TailLines        int64                                      `protobuf:"varint,6,req,name=tailLines" json:"tailLines"`
	Follow           bool                                       `protobuf:"varint,7,req,name=follow" json:"follow"`
	XXX_unrecognized []byte                                     `json:"-"`
}

func (*ApplicationPodLogsQuery) Descriptor added in v0.5.0

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

func (*ApplicationPodLogsQuery) GetContainer added in v0.5.0

func (m *ApplicationPodLogsQuery) GetContainer() string

func (*ApplicationPodLogsQuery) GetFollow added in v0.5.0

func (m *ApplicationPodLogsQuery) GetFollow() bool

func (*ApplicationPodLogsQuery) GetName added in v0.5.0

func (m *ApplicationPodLogsQuery) GetName() string

func (*ApplicationPodLogsQuery) GetPodName added in v0.5.0

func (m *ApplicationPodLogsQuery) GetPodName() string

func (*ApplicationPodLogsQuery) GetSinceSeconds added in v0.5.0

func (m *ApplicationPodLogsQuery) GetSinceSeconds() int64

func (*ApplicationPodLogsQuery) GetSinceTime added in v0.5.0

func (*ApplicationPodLogsQuery) GetTailLines added in v0.5.0

func (m *ApplicationPodLogsQuery) GetTailLines() int64

func (*ApplicationPodLogsQuery) Marshal added in v0.5.0

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

func (*ApplicationPodLogsQuery) MarshalTo added in v0.5.0

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

func (*ApplicationPodLogsQuery) ProtoMessage added in v0.5.0

func (*ApplicationPodLogsQuery) ProtoMessage()

func (*ApplicationPodLogsQuery) Reset added in v0.5.0

func (m *ApplicationPodLogsQuery) Reset()

func (*ApplicationPodLogsQuery) Size added in v0.5.0

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

func (*ApplicationPodLogsQuery) String added in v0.5.0

func (m *ApplicationPodLogsQuery) String() string

func (*ApplicationPodLogsQuery) Unmarshal added in v0.5.0

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

type ApplicationQuery

type ApplicationQuery struct {
	Name             *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Refresh          bool    `protobuf:"varint,2,opt,name=refresh" json:"refresh"`
	XXX_unrecognized []byte  `json:"-"`
}

ApplicationQuery is a query for application resources

func (*ApplicationQuery) Descriptor

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

func (*ApplicationQuery) GetName

func (m *ApplicationQuery) GetName() string

func (*ApplicationQuery) GetRefresh added in v0.5.3

func (m *ApplicationQuery) GetRefresh() bool

func (*ApplicationQuery) Marshal added in v0.3.1

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

func (*ApplicationQuery) MarshalTo added in v0.3.1

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

func (*ApplicationQuery) ProtoMessage

func (*ApplicationQuery) ProtoMessage()

func (*ApplicationQuery) Reset

func (m *ApplicationQuery) Reset()

func (*ApplicationQuery) Size added in v0.3.1

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

func (*ApplicationQuery) String

func (m *ApplicationQuery) String() string

func (*ApplicationQuery) Unmarshal added in v0.3.1

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

type ApplicationResourceEventsQuery added in v0.4.4

type ApplicationResourceEventsQuery struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	ResourceName     string  `protobuf:"bytes,2,req,name=resourceName" json:"resourceName"`
	ResourceUID      string  `protobuf:"bytes,3,req,name=resourceUID" json:"resourceUID"`
	XXX_unrecognized []byte  `json:"-"`
}

ApplicationEventsQuery is a query for application resource events

func (*ApplicationResourceEventsQuery) Descriptor added in v0.4.4

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

func (*ApplicationResourceEventsQuery) GetName added in v0.5.0

func (*ApplicationResourceEventsQuery) GetResourceName added in v0.5.0

func (m *ApplicationResourceEventsQuery) GetResourceName() string

func (*ApplicationResourceEventsQuery) GetResourceUID added in v0.5.0

func (m *ApplicationResourceEventsQuery) GetResourceUID() string

func (*ApplicationResourceEventsQuery) Marshal added in v0.4.4

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

func (*ApplicationResourceEventsQuery) MarshalTo added in v0.4.4

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

func (*ApplicationResourceEventsQuery) ProtoMessage added in v0.4.4

func (*ApplicationResourceEventsQuery) ProtoMessage()

func (*ApplicationResourceEventsQuery) Reset added in v0.4.4

func (m *ApplicationResourceEventsQuery) Reset()

func (*ApplicationResourceEventsQuery) Size added in v0.4.4

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

func (*ApplicationResourceEventsQuery) String added in v0.4.4

func (*ApplicationResourceEventsQuery) Unmarshal added in v0.4.4

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

type ApplicationResponse

type ApplicationResponse struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*ApplicationResponse) Descriptor

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

func (*ApplicationResponse) Marshal added in v0.3.1

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

func (*ApplicationResponse) MarshalTo added in v0.3.1

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

func (*ApplicationResponse) ProtoMessage

func (*ApplicationResponse) ProtoMessage()

func (*ApplicationResponse) Reset

func (m *ApplicationResponse) Reset()

func (*ApplicationResponse) Size added in v0.3.1

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

func (*ApplicationResponse) String

func (m *ApplicationResponse) String() string

func (*ApplicationResponse) Unmarshal added in v0.3.1

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

type ApplicationRollbackRequest added in v0.3.1

type ApplicationRollbackRequest struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	ID               int64   `protobuf:"varint,2,req,name=id" json:"id"`
	DryRun           bool    `protobuf:"varint,3,req,name=dryRun" json:"dryRun"`
	Prune            bool    `protobuf:"varint,4,req,name=prune" json:"prune"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ApplicationRollbackRequest) Descriptor added in v0.3.1

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

func (*ApplicationRollbackRequest) GetDryRun added in v0.3.1

func (m *ApplicationRollbackRequest) GetDryRun() bool

func (*ApplicationRollbackRequest) GetID added in v0.3.1

func (m *ApplicationRollbackRequest) GetID() int64

func (*ApplicationRollbackRequest) GetName added in v0.3.1

func (m *ApplicationRollbackRequest) GetName() string

func (*ApplicationRollbackRequest) GetPrune added in v0.3.2

func (m *ApplicationRollbackRequest) GetPrune() bool

func (*ApplicationRollbackRequest) Marshal added in v0.3.1

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

func (*ApplicationRollbackRequest) MarshalTo added in v0.3.1

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

func (*ApplicationRollbackRequest) ProtoMessage added in v0.3.1

func (*ApplicationRollbackRequest) ProtoMessage()

func (*ApplicationRollbackRequest) Reset added in v0.3.1

func (m *ApplicationRollbackRequest) Reset()

func (*ApplicationRollbackRequest) Size added in v0.3.1

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

func (*ApplicationRollbackRequest) String added in v0.3.1

func (m *ApplicationRollbackRequest) String() string

func (*ApplicationRollbackRequest) Unmarshal added in v0.3.1

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

type ApplicationServiceClient

type ApplicationServiceClient interface {
	// List returns list of applications
	List(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ApplicationList, error)
	// ListResourceEvents returns a list of event resources
	ListResourceEvents(ctx context.Context, in *ApplicationResourceEventsQuery, opts ...grpc.CallOption) (*k8s_io_api_core_v1.EventList, error)
	// Watch returns stream of application change events.
	Watch(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (ApplicationService_WatchClient, error)
	// Create creates an application
	Create(ctx context.Context, in *ApplicationCreateRequest, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// Get returns an application by name
	Get(ctx context.Context, in *ApplicationQuery, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// GetManifests returns application manifests
	GetManifests(ctx context.Context, in *ApplicationManifestQuery, opts ...grpc.CallOption) (*repository.ManifestResponse, error)
	// Update updates an application
	Update(ctx context.Context, in *ApplicationUpdateRequest, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// Update updates an application spec
	UpdateSpec(ctx context.Context, in *ApplicationUpdateSpecRequest, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ApplicationSpec, error)
	// Delete deletes an application
	Delete(ctx context.Context, in *ApplicationDeleteRequest, opts ...grpc.CallOption) (*ApplicationResponse, error)
	// Sync syncs an application to its target state
	Sync(ctx context.Context, in *ApplicationSyncRequest, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// Sync syncs an application to its target state
	Rollback(ctx context.Context, in *ApplicationRollbackRequest, opts ...grpc.CallOption) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// PodLogs returns stream of log entries for the specified pod. Pod
	DeletePod(ctx context.Context, in *ApplicationDeletePodRequest, opts ...grpc.CallOption) (*ApplicationResponse, error)
	// PodLogs returns stream of log entries for the specified pod. Pod
	PodLogs(ctx context.Context, in *ApplicationPodLogsQuery, opts ...grpc.CallOption) (ApplicationService_PodLogsClient, error)
}

func NewApplicationServiceClient

func NewApplicationServiceClient(cc *grpc.ClientConn) ApplicationServiceClient

type ApplicationServiceServer

type ApplicationServiceServer interface {
	// List returns list of applications
	List(context.Context, *ApplicationQuery) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ApplicationList, error)
	// ListResourceEvents returns a list of event resources
	ListResourceEvents(context.Context, *ApplicationResourceEventsQuery) (*k8s_io_api_core_v1.EventList, error)
	// Watch returns stream of application change events.
	Watch(*ApplicationQuery, ApplicationService_WatchServer) error
	// Create creates an application
	Create(context.Context, *ApplicationCreateRequest) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// Get returns an application by name
	Get(context.Context, *ApplicationQuery) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// GetManifests returns application manifests
	GetManifests(context.Context, *ApplicationManifestQuery) (*repository.ManifestResponse, error)
	// Update updates an application
	Update(context.Context, *ApplicationUpdateRequest) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// Update updates an application spec
	UpdateSpec(context.Context, *ApplicationUpdateSpecRequest) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ApplicationSpec, error)
	// Delete deletes an application
	Delete(context.Context, *ApplicationDeleteRequest) (*ApplicationResponse, error)
	// Sync syncs an application to its target state
	Sync(context.Context, *ApplicationSyncRequest) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// Sync syncs an application to its target state
	Rollback(context.Context, *ApplicationRollbackRequest) (*github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application, error)
	// PodLogs returns stream of log entries for the specified pod. Pod
	DeletePod(context.Context, *ApplicationDeletePodRequest) (*ApplicationResponse, error)
	// PodLogs returns stream of log entries for the specified pod. Pod
	PodLogs(*ApplicationPodLogsQuery, ApplicationService_PodLogsServer) error
}

func NewServer

func NewServer(
	namespace string,
	kubeclientset kubernetes.Interface,
	appclientset appclientset.Interface,
	repoClientset reposerver.Clientset,
	db db.ArgoDB,
	enf *rbac.Enforcer,
) ApplicationServiceServer

NewServer returns a new instance of the Application service

type ApplicationService_PodLogsClient added in v0.3.0

type ApplicationService_PodLogsClient interface {
	Recv() (*LogEntry, error)
	grpc.ClientStream
}

type ApplicationService_PodLogsServer added in v0.3.0

type ApplicationService_PodLogsServer interface {
	Send(*LogEntry) error
	grpc.ServerStream
}

type ApplicationSyncRequest

type ApplicationSyncRequest struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Revision         string  `protobuf:"bytes,2,req,name=revision" json:"revision"`
	DryRun           bool    `protobuf:"varint,3,req,name=dryRun" json:"dryRun"`
	Prune            bool    `protobuf:"varint,4,req,name=prune" json:"prune"`
	XXX_unrecognized []byte  `json:"-"`
}

ApplicationSyncRequest is a request to apply the config state to live state

func (*ApplicationSyncRequest) Descriptor

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

func (*ApplicationSyncRequest) GetDryRun

func (m *ApplicationSyncRequest) GetDryRun() bool

func (*ApplicationSyncRequest) GetName

func (m *ApplicationSyncRequest) GetName() string

func (*ApplicationSyncRequest) GetPrune added in v0.3.2

func (m *ApplicationSyncRequest) GetPrune() bool

func (*ApplicationSyncRequest) GetRevision

func (m *ApplicationSyncRequest) GetRevision() string

func (*ApplicationSyncRequest) Marshal added in v0.3.1

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

func (*ApplicationSyncRequest) MarshalTo added in v0.3.1

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

func (*ApplicationSyncRequest) ProtoMessage

func (*ApplicationSyncRequest) ProtoMessage()

func (*ApplicationSyncRequest) Reset

func (m *ApplicationSyncRequest) Reset()

func (*ApplicationSyncRequest) Size added in v0.3.1

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

func (*ApplicationSyncRequest) String

func (m *ApplicationSyncRequest) String() string

func (*ApplicationSyncRequest) Unmarshal added in v0.3.1

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

type ApplicationUpdateRequest added in v0.5.0

type ApplicationUpdateRequest struct {
	Application      *github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"`
	XXX_unrecognized []byte                                                                 `json:"-"`
}

func (*ApplicationUpdateRequest) Descriptor added in v0.5.0

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

func (*ApplicationUpdateRequest) GetApplication added in v0.5.0

func (*ApplicationUpdateRequest) Marshal added in v0.5.0

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

func (*ApplicationUpdateRequest) MarshalTo added in v0.5.0

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

func (*ApplicationUpdateRequest) ProtoMessage added in v0.5.0

func (*ApplicationUpdateRequest) ProtoMessage()

func (*ApplicationUpdateRequest) Reset added in v0.5.0

func (m *ApplicationUpdateRequest) Reset()

func (*ApplicationUpdateRequest) Size added in v0.5.0

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

func (*ApplicationUpdateRequest) String added in v0.5.0

func (m *ApplicationUpdateRequest) String() string

func (*ApplicationUpdateRequest) Unmarshal added in v0.5.0

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

type ApplicationUpdateSpecRequest added in v0.5.0

type ApplicationUpdateSpecRequest struct {
	Name             *string                                                                   `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Spec             github_com_argoproj_argo_cd_pkg_apis_application_v1alpha1.ApplicationSpec `protobuf:"bytes,2,req,name=spec" json:"spec"`
	XXX_unrecognized []byte                                                                    `json:"-"`
}

ApplicationUpdateSpecRequest is a request to update application spec

func (*ApplicationUpdateSpecRequest) Descriptor added in v0.5.0

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

func (*ApplicationUpdateSpecRequest) GetName added in v0.5.0

func (m *ApplicationUpdateSpecRequest) GetName() string

func (*ApplicationUpdateSpecRequest) GetSpec added in v0.5.0

func (*ApplicationUpdateSpecRequest) Marshal added in v0.5.0

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

func (*ApplicationUpdateSpecRequest) MarshalTo added in v0.5.0

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

func (*ApplicationUpdateSpecRequest) ProtoMessage added in v0.5.0

func (*ApplicationUpdateSpecRequest) ProtoMessage()

func (*ApplicationUpdateSpecRequest) Reset added in v0.5.0

func (m *ApplicationUpdateSpecRequest) Reset()

func (*ApplicationUpdateSpecRequest) Size added in v0.5.0

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

func (*ApplicationUpdateSpecRequest) String added in v0.5.0

func (*ApplicationUpdateSpecRequest) Unmarshal added in v0.5.0

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

type LogEntry added in v0.3.0

type LogEntry struct {
	Content          string                                    `protobuf:"bytes,1,req,name=content" json:"content"`
	TimeStamp        k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,2,req,name=timeStamp" json:"timeStamp"`
	XXX_unrecognized []byte                                    `json:"-"`
}

func (*LogEntry) Descriptor added in v0.3.0

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

func (*LogEntry) GetContent added in v0.3.0

func (m *LogEntry) GetContent() string

func (*LogEntry) GetTimeStamp added in v0.3.0

func (*LogEntry) Marshal added in v0.3.1

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

func (*LogEntry) MarshalTo added in v0.3.1

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

func (*LogEntry) ProtoMessage added in v0.3.0

func (*LogEntry) ProtoMessage()

func (*LogEntry) Reset added in v0.3.0

func (m *LogEntry) Reset()

func (*LogEntry) Size added in v0.3.1

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

func (*LogEntry) String added in v0.3.0

func (m *LogEntry) String() string

func (*LogEntry) Unmarshal added in v0.3.1

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

type SSEMarshaler

type SSEMarshaler struct {
}

func (*SSEMarshaler) ContentType

func (m *SSEMarshaler) ContentType() string

func (*SSEMarshaler) Marshal

func (m *SSEMarshaler) Marshal(v interface{}) ([]byte, error)

func (*SSEMarshaler) NewDecoder

func (m *SSEMarshaler) NewDecoder(r io.Reader) runtime.Decoder

func (*SSEMarshaler) NewEncoder

func (m *SSEMarshaler) NewEncoder(w io.Writer) runtime.Encoder

func (*SSEMarshaler) Unmarshal

func (m *SSEMarshaler) Unmarshal(data []byte, v interface{}) error

type Server

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

Server provides a Application service

func (*Server) Create

Create creates an application

func (*Server) Delete

Delete removes an application and all associated resources

func (*Server) DeletePod added in v0.3.0

func (*Server) Get

Get returns an application by name

func (*Server) GetManifests added in v0.4.1

GetManifests returns application manifests

func (*Server) List

List returns list of applications

func (*Server) ListResourceEvents added in v0.4.4

func (s *Server) ListResourceEvents(ctx context.Context, q *ApplicationResourceEventsQuery) (*v1.EventList, error)

ListResourceEvents returns a list of event resources

func (*Server) PodLogs added in v0.3.0

func (*Server) Rollback added in v0.3.1

func (s *Server) Rollback(ctx context.Context, rollbackReq *ApplicationRollbackRequest) (*appv1.Application, error)

func (*Server) Sync

func (s *Server) Sync(ctx context.Context, syncReq *ApplicationSyncRequest) (*appv1.Application, error)

Sync syncs an application to its target state

func (*Server) Update

Update updates an application

func (*Server) UpdateSpec added in v0.3.3

UpdateSpec updates an application spec

func (*Server) Watch

Jump to

Keyboard shortcuts

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