Documentation
¶
Overview ¶
Package api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterCoreHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCoreHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoreClient) error
- func RegisterCoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCoreHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CoreServer) error
- func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
- type ClusterNamespaceList
- func (*ClusterNamespaceList) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterNamespaceList) GetClusterName() string
- func (x *ClusterNamespaceList) GetNamespaces() []string
- func (*ClusterNamespaceList) ProtoMessage()
- func (x *ClusterNamespaceList) ProtoReflect() protoreflect.Message
- func (x *ClusterNamespaceList) Reset()
- func (x *ClusterNamespaceList) String() string
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetMessage() string
- func (x *Condition) GetReason() string
- func (x *Condition) GetStatus() string
- func (x *Condition) GetTimestamp() string
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type CoreClient
- type CoreServer
- type Crd
- func (*Crd) Descriptor() ([]byte, []int)deprecated
- func (x *Crd) GetClusterName() string
- func (x *Crd) GetKind() string
- func (x *Crd) GetName() *Crd_Name
- func (x *Crd) GetUid() string
- func (x *Crd) GetVersion() string
- func (*Crd) ProtoMessage()
- func (x *Crd) ProtoReflect() protoreflect.Message
- func (x *Crd) Reset()
- func (x *Crd) String() string
- type Crd_Name
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetClusterName() string
- func (x *Deployment) GetConditions() []*Condition
- func (x *Deployment) GetImages() []string
- func (x *Deployment) GetLabels() map[string]string
- func (x *Deployment) GetName() string
- func (x *Deployment) GetNamespace() string
- func (x *Deployment) GetSuspended() bool
- func (x *Deployment) GetUid() string
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetComponent() string
- func (x *Event) GetHost() string
- func (x *Event) GetMessage() string
- func (x *Event) GetName() string
- func (x *Event) GetReason() string
- func (x *Event) GetTimestamp() string
- func (x *Event) GetType() string
- func (x *Event) GetUid() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type GetChildObjectsRequest
- func (*GetChildObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildObjectsRequest) GetClusterName() string
- func (x *GetChildObjectsRequest) GetGroupVersionKind() *GroupVersionKind
- func (x *GetChildObjectsRequest) GetNamespace() string
- func (x *GetChildObjectsRequest) GetParentUid() string
- func (*GetChildObjectsRequest) ProtoMessage()
- func (x *GetChildObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *GetChildObjectsRequest) Reset()
- func (x *GetChildObjectsRequest) String() string
- type GetChildObjectsResponse
- func (*GetChildObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChildObjectsResponse) GetObjects() []*Object
- func (*GetChildObjectsResponse) ProtoMessage()
- func (x *GetChildObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *GetChildObjectsResponse) Reset()
- func (x *GetChildObjectsResponse) String() string
- type GetFeatureFlagsRequest
- type GetFeatureFlagsResponse
- func (*GetFeatureFlagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeatureFlagsResponse) GetFlags() map[string]string
- func (*GetFeatureFlagsResponse) ProtoMessage()
- func (x *GetFeatureFlagsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeatureFlagsResponse) Reset()
- func (x *GetFeatureFlagsResponse) String() string
- type GetFluxNamespaceRequest
- type GetFluxNamespaceResponse
- func (*GetFluxNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFluxNamespaceResponse) GetName() string
- func (*GetFluxNamespaceResponse) ProtoMessage()
- func (x *GetFluxNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *GetFluxNamespaceResponse) Reset()
- func (x *GetFluxNamespaceResponse) String() string
- type GetInventoryRequest
- func (*GetInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInventoryRequest) GetClusterName() string
- func (x *GetInventoryRequest) GetKind() string
- func (x *GetInventoryRequest) GetName() string
- func (x *GetInventoryRequest) GetNamespace() string
- func (x *GetInventoryRequest) GetWithChildren() bool
- func (*GetInventoryRequest) ProtoMessage()
- func (x *GetInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetInventoryRequest) Reset()
- func (x *GetInventoryRequest) String() string
- type GetInventoryResponse
- func (*GetInventoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInventoryResponse) GetEntries() []*InventoryEntry
- func (*GetInventoryResponse) ProtoMessage()
- func (x *GetInventoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetInventoryResponse) Reset()
- func (x *GetInventoryResponse) String() string
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectRequest) GetClusterName() string
- func (x *GetObjectRequest) GetKind() string
- func (x *GetObjectRequest) GetName() string
- func (x *GetObjectRequest) GetNamespace() string
- func (*GetObjectRequest) ProtoMessage()
- func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectRequest) Reset()
- func (x *GetObjectRequest) String() string
- type GetObjectResponse
- type GetPolicyRequest
- func (*GetPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyRequest) GetClusterName() string
- func (x *GetPolicyRequest) GetPolicyName() string
- func (*GetPolicyRequest) ProtoMessage()
- func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyRequest) Reset()
- func (x *GetPolicyRequest) String() string
- type GetPolicyResponse
- func (*GetPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyResponse) GetClusterName() string
- func (x *GetPolicyResponse) GetPolicy() *PolicyObj
- func (*GetPolicyResponse) ProtoMessage()
- func (x *GetPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyResponse) Reset()
- func (x *GetPolicyResponse) String() string
- type GetPolicyValidationRequest
- func (*GetPolicyValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyValidationRequest) GetClusterName() string
- func (x *GetPolicyValidationRequest) GetValidationId() string
- func (x *GetPolicyValidationRequest) GetValidationType() string
- func (*GetPolicyValidationRequest) ProtoMessage()
- func (x *GetPolicyValidationRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyValidationRequest) Reset()
- func (x *GetPolicyValidationRequest) String() string
- type GetPolicyValidationResponse
- func (*GetPolicyValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyValidationResponse) GetValidation() *PolicyValidation
- func (*GetPolicyValidationResponse) ProtoMessage()
- func (x *GetPolicyValidationResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyValidationResponse) Reset()
- func (x *GetPolicyValidationResponse) String() string
- type GetReconciledObjectsRequest
- func (*GetReconciledObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReconciledObjectsRequest) GetAutomationKind() string
- func (x *GetReconciledObjectsRequest) GetAutomationName() string
- func (x *GetReconciledObjectsRequest) GetClusterName() string
- func (x *GetReconciledObjectsRequest) GetKinds() []*GroupVersionKind
- func (x *GetReconciledObjectsRequest) GetNamespace() string
- func (*GetReconciledObjectsRequest) ProtoMessage()
- func (x *GetReconciledObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *GetReconciledObjectsRequest) Reset()
- func (x *GetReconciledObjectsRequest) String() string
- type GetReconciledObjectsResponse
- func (*GetReconciledObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReconciledObjectsResponse) GetObjects() []*Object
- func (*GetReconciledObjectsResponse) ProtoMessage()
- func (x *GetReconciledObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *GetReconciledObjectsResponse) Reset()
- func (x *GetReconciledObjectsResponse) String() string
- type GetSessionLogsRequest
- func (*GetSessionLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionLogsRequest) GetLogLevelFilter() string
- func (x *GetSessionLogsRequest) GetLogSourceFilter() string
- func (x *GetSessionLogsRequest) GetSessionId() string
- func (x *GetSessionLogsRequest) GetSessionNamespace() string
- func (x *GetSessionLogsRequest) GetToken() string
- func (*GetSessionLogsRequest) ProtoMessage()
- func (x *GetSessionLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionLogsRequest) Reset()
- func (x *GetSessionLogsRequest) String() string
- type GetSessionLogsResponse
- func (*GetSessionLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionLogsResponse) GetError() string
- func (x *GetSessionLogsResponse) GetLogSources() []string
- func (x *GetSessionLogsResponse) GetLogs() []*LogEntry
- func (x *GetSessionLogsResponse) GetNextToken() string
- func (*GetSessionLogsResponse) ProtoMessage()
- func (x *GetSessionLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionLogsResponse) Reset()
- func (x *GetSessionLogsResponse) String() string
- type GetVersionRequest
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionResponse) GetBranch() string
- func (x *GetVersionResponse) GetBuildTime() string
- func (x *GetVersionResponse) GetCommit() string
- func (x *GetVersionResponse) GetKubeVersion() string
- func (x *GetVersionResponse) GetSemver() string
- func (*GetVersionResponse) ProtoMessage()
- func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetVersionResponse) Reset()
- func (x *GetVersionResponse) String() string
- type GitRepositoryRef
- func (*GitRepositoryRef) Descriptor() ([]byte, []int)deprecated
- func (x *GitRepositoryRef) GetBranch() string
- func (x *GitRepositoryRef) GetCommit() string
- func (x *GitRepositoryRef) GetSemver() string
- func (x *GitRepositoryRef) GetTag() string
- func (*GitRepositoryRef) ProtoMessage()
- func (x *GitRepositoryRef) ProtoReflect() protoreflect.Message
- func (x *GitRepositoryRef) Reset()
- func (x *GitRepositoryRef) String() string
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionKind) GetGroup() string
- func (x *GroupVersionKind) GetKind() string
- func (x *GroupVersionKind) GetVersion() string
- func (*GroupVersionKind) ProtoMessage()
- func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
- func (x *GroupVersionKind) Reset()
- func (x *GroupVersionKind) String() string
- type HealthStatus
- func (*HealthStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HealthStatus) GetMessage() string
- func (x *HealthStatus) GetStatus() string
- func (*HealthStatus) ProtoMessage()
- func (x *HealthStatus) ProtoReflect() protoreflect.Message
- func (x *HealthStatus) Reset()
- func (x *HealthStatus) String() string
- type HelmRepositoryType
- func (HelmRepositoryType) Descriptor() protoreflect.EnumDescriptor
- func (x HelmRepositoryType) Enum() *HelmRepositoryType
- func (HelmRepositoryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HelmRepositoryType) Number() protoreflect.EnumNumber
- func (x HelmRepositoryType) String() string
- func (HelmRepositoryType) Type() protoreflect.EnumType
- type Interval
- func (*Interval) Descriptor() ([]byte, []int)deprecated
- func (x *Interval) GetHours() int64
- func (x *Interval) GetMinutes() int64
- func (x *Interval) GetSeconds() int64
- func (*Interval) ProtoMessage()
- func (x *Interval) ProtoReflect() protoreflect.Message
- func (x *Interval) Reset()
- func (x *Interval) String() string
- type InventoryEntry
- func (*InventoryEntry) Descriptor() ([]byte, []int)deprecated
- func (x *InventoryEntry) GetChildren() []*InventoryEntry
- func (x *InventoryEntry) GetClusterName() string
- func (x *InventoryEntry) GetHealth() *HealthStatus
- func (x *InventoryEntry) GetPayload() string
- func (x *InventoryEntry) GetTenant() string
- func (*InventoryEntry) ProtoMessage()
- func (x *InventoryEntry) ProtoReflect() protoreflect.Message
- func (x *InventoryEntry) Reset()
- func (x *InventoryEntry) String() string
- type IsCRDAvailableRequest
- func (*IsCRDAvailableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsCRDAvailableRequest) GetName() string
- func (*IsCRDAvailableRequest) ProtoMessage()
- func (x *IsCRDAvailableRequest) ProtoReflect() protoreflect.Message
- func (x *IsCRDAvailableRequest) Reset()
- func (x *IsCRDAvailableRequest) String() string
- type IsCRDAvailableResponse
- func (*IsCRDAvailableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsCRDAvailableResponse) GetClusters() map[string]bool
- func (*IsCRDAvailableResponse) ProtoMessage()
- func (x *IsCRDAvailableResponse) ProtoReflect() protoreflect.Message
- func (x *IsCRDAvailableResponse) Reset()
- func (x *IsCRDAvailableResponse) String() string
- type Kind
- type ListError
- func (*ListError) Descriptor() ([]byte, []int)deprecated
- func (x *ListError) GetClusterName() string
- func (x *ListError) GetMessage() string
- func (x *ListError) GetNamespace() string
- func (*ListError) ProtoMessage()
- func (x *ListError) ProtoReflect() protoreflect.Message
- func (x *ListError) Reset()
- func (x *ListError) String() string
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsRequest) GetInvolvedObject() *ObjectRef
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsResponse) GetEvents() []*Event
- func (*ListEventsResponse) ProtoMessage()
- func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventsResponse) Reset()
- func (x *ListEventsResponse) String() string
- type ListFluxCrdsRequest
- func (*ListFluxCrdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxCrdsRequest) GetClusterName() string
- func (*ListFluxCrdsRequest) ProtoMessage()
- func (x *ListFluxCrdsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFluxCrdsRequest) Reset()
- func (x *ListFluxCrdsRequest) String() string
- type ListFluxCrdsResponse
- func (*ListFluxCrdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxCrdsResponse) GetCrds() []*Crd
- func (x *ListFluxCrdsResponse) GetErrors() []*ListError
- func (*ListFluxCrdsResponse) ProtoMessage()
- func (x *ListFluxCrdsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFluxCrdsResponse) Reset()
- func (x *ListFluxCrdsResponse) String() string
- type ListFluxRuntimeObjectsRequest
- func (*ListFluxRuntimeObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxRuntimeObjectsRequest) GetClusterName() string
- func (x *ListFluxRuntimeObjectsRequest) GetNamespace() string
- func (*ListFluxRuntimeObjectsRequest) ProtoMessage()
- func (x *ListFluxRuntimeObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFluxRuntimeObjectsRequest) Reset()
- func (x *ListFluxRuntimeObjectsRequest) String() string
- type ListFluxRuntimeObjectsResponse
- func (*ListFluxRuntimeObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFluxRuntimeObjectsResponse) GetDeployments() []*Deployment
- func (x *ListFluxRuntimeObjectsResponse) GetErrors() []*ListError
- func (*ListFluxRuntimeObjectsResponse) ProtoMessage()
- func (x *ListFluxRuntimeObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFluxRuntimeObjectsResponse) Reset()
- func (x *ListFluxRuntimeObjectsResponse) String() string
- type ListNamespacesRequest
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesResponse) Reset()
- func (x *ListNamespacesResponse) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetClusterName() string
- func (x *ListObjectsRequest) GetKind() string
- func (x *ListObjectsRequest) GetLabels() map[string]string
- func (x *ListObjectsRequest) GetNamespace() string
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetErrors() []*ListError
- func (x *ListObjectsResponse) GetObjects() []*Object
- func (x *ListObjectsResponse) GetSearchedNamespaces() []*ClusterNamespaceList
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type ListPoliciesRequest
- func (*ListPoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesRequest) GetClusterName() string
- func (x *ListPoliciesRequest) GetPagination() *Pagination
- func (*ListPoliciesRequest) ProtoMessage()
- func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesRequest) Reset()
- func (x *ListPoliciesRequest) String() string
- type ListPoliciesResponse
- func (*ListPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesResponse) GetErrors() []*ListError
- func (x *ListPoliciesResponse) GetNextPageToken() string
- func (x *ListPoliciesResponse) GetPolicies() []*PolicyObj
- func (x *ListPoliciesResponse) GetTotal() int32
- func (*ListPoliciesResponse) ProtoMessage()
- func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesResponse) Reset()
- func (x *ListPoliciesResponse) String() string
- type ListPolicyValidationsRequest
- func (*ListPolicyValidationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyValidationsRequest) GetApplication() string
- func (x *ListPolicyValidationsRequest) GetClusterName() string
- func (x *ListPolicyValidationsRequest) GetKind() string
- func (x *ListPolicyValidationsRequest) GetNamespace() string
- func (x *ListPolicyValidationsRequest) GetPagination() *Pagination
- func (x *ListPolicyValidationsRequest) GetPolicyId() string
- func (x *ListPolicyValidationsRequest) GetValidationType() string
- func (*ListPolicyValidationsRequest) ProtoMessage()
- func (x *ListPolicyValidationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPolicyValidationsRequest) Reset()
- func (x *ListPolicyValidationsRequest) String() string
- type ListPolicyValidationsResponse
- func (*ListPolicyValidationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyValidationsResponse) GetErrors() []*ListError
- func (x *ListPolicyValidationsResponse) GetNextPageToken() string
- func (x *ListPolicyValidationsResponse) GetTotal() int32
- func (x *ListPolicyValidationsResponse) GetViolations() []*PolicyValidation
- func (*ListPolicyValidationsResponse) ProtoMessage()
- func (x *ListPolicyValidationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPolicyValidationsResponse) Reset()
- func (x *ListPolicyValidationsResponse) String() string
- type ListRuntimeCrdsRequest
- func (*ListRuntimeCrdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuntimeCrdsRequest) GetClusterName() string
- func (*ListRuntimeCrdsRequest) ProtoMessage()
- func (x *ListRuntimeCrdsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRuntimeCrdsRequest) Reset()
- func (x *ListRuntimeCrdsRequest) String() string
- type ListRuntimeCrdsResponse
- func (*ListRuntimeCrdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuntimeCrdsResponse) GetCrds() []*Crd
- func (x *ListRuntimeCrdsResponse) GetErrors() []*ListError
- func (*ListRuntimeCrdsResponse) ProtoMessage()
- func (x *ListRuntimeCrdsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRuntimeCrdsResponse) Reset()
- func (x *ListRuntimeCrdsResponse) String() string
- type ListRuntimeObjectsRequest
- func (*ListRuntimeObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuntimeObjectsRequest) GetClusterName() string
- func (x *ListRuntimeObjectsRequest) GetNamespace() string
- func (*ListRuntimeObjectsRequest) ProtoMessage()
- func (x *ListRuntimeObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRuntimeObjectsRequest) Reset()
- func (x *ListRuntimeObjectsRequest) String() string
- type ListRuntimeObjectsResponse
- func (*ListRuntimeObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRuntimeObjectsResponse) GetDeployments() []*Deployment
- func (x *ListRuntimeObjectsResponse) GetErrors() []*ListError
- func (*ListRuntimeObjectsResponse) ProtoMessage()
- func (x *ListRuntimeObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRuntimeObjectsResponse) Reset()
- func (x *ListRuntimeObjectsResponse) String() string
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetLevel() string
- func (x *LogEntry) GetMessage() string
- func (x *LogEntry) GetSortingKey() string
- func (x *LogEntry) GetSource() string
- func (x *LogEntry) GetTimestamp() string
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetAnnotations() map[string]string
- func (x *Namespace) GetClusterName() string
- func (x *Namespace) GetLabels() map[string]string
- func (x *Namespace) GetName() string
- func (x *Namespace) GetStatus() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespacedObjectReference
- func (*NamespacedObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *NamespacedObjectReference) GetName() string
- func (x *NamespacedObjectReference) GetNamespace() string
- func (*NamespacedObjectReference) ProtoMessage()
- func (x *NamespacedObjectReference) ProtoReflect() protoreflect.Message
- func (x *NamespacedObjectReference) Reset()
- func (x *NamespacedObjectReference) String() string
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetClusterName() string
- func (x *Object) GetHealth() *HealthStatus
- func (x *Object) GetInfo() string
- func (x *Object) GetInventory() []*GroupVersionKind
- func (x *Object) GetPayload() string
- func (x *Object) GetTenant() string
- func (x *Object) GetUid() string
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type ObjectRef
- func (*ObjectRef) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectRef) GetClusterName() string
- func (x *ObjectRef) GetKind() string
- func (x *ObjectRef) GetName() string
- func (x *ObjectRef) GetNamespace() string
- func (*ObjectRef) ProtoMessage()
- func (x *ObjectRef) ProtoReflect() protoreflect.Message
- func (x *ObjectRef) Reset()
- func (x *ObjectRef) String() string
- type Pagination
- type PolicyObj
- func (*PolicyObj) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyObj) GetCategory() string
- func (x *PolicyObj) GetClusterName() string
- func (x *PolicyObj) GetCode() string
- func (x *PolicyObj) GetCreatedAt() string
- func (x *PolicyObj) GetDescription() string
- func (x *PolicyObj) GetGitCommit() string
- func (x *PolicyObj) GetHowToSolve() string
- func (x *PolicyObj) GetId() string
- func (x *PolicyObj) GetModes() []string
- func (x *PolicyObj) GetName() string
- func (x *PolicyObj) GetParameters() []*PolicyParam
- func (x *PolicyObj) GetSeverity() string
- func (x *PolicyObj) GetStandards() []*PolicyStandard
- func (x *PolicyObj) GetTags() []string
- func (x *PolicyObj) GetTargets() *PolicyTargets
- func (x *PolicyObj) GetTenant() string
- func (*PolicyObj) ProtoMessage()
- func (x *PolicyObj) ProtoReflect() protoreflect.Message
- func (x *PolicyObj) Reset()
- func (x *PolicyObj) String() string
- type PolicyParam
- func (*PolicyParam) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyParam) GetName() string
- func (x *PolicyParam) GetRequired() bool
- func (x *PolicyParam) GetType() string
- func (x *PolicyParam) GetValue() *anypb.Any
- func (*PolicyParam) ProtoMessage()
- func (x *PolicyParam) ProtoReflect() protoreflect.Message
- func (x *PolicyParam) Reset()
- func (x *PolicyParam) String() string
- type PolicyParamRepeatedString
- func (*PolicyParamRepeatedString) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyParamRepeatedString) GetValue() []string
- func (*PolicyParamRepeatedString) ProtoMessage()
- func (x *PolicyParamRepeatedString) ProtoReflect() protoreflect.Message
- func (x *PolicyParamRepeatedString) Reset()
- func (x *PolicyParamRepeatedString) String() string
- type PolicyStandard
- func (*PolicyStandard) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyStandard) GetControls() []string
- func (x *PolicyStandard) GetId() string
- func (*PolicyStandard) ProtoMessage()
- func (x *PolicyStandard) ProtoReflect() protoreflect.Message
- func (x *PolicyStandard) Reset()
- func (x *PolicyStandard) String() string
- type PolicyTargetLabel
- func (*PolicyTargetLabel) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyTargetLabel) GetValues() map[string]string
- func (*PolicyTargetLabel) ProtoMessage()
- func (x *PolicyTargetLabel) ProtoReflect() protoreflect.Message
- func (x *PolicyTargetLabel) Reset()
- func (x *PolicyTargetLabel) String() string
- type PolicyTargets
- func (*PolicyTargets) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyTargets) GetKinds() []string
- func (x *PolicyTargets) GetLabels() []*PolicyTargetLabel
- func (x *PolicyTargets) GetNamespaces() []string
- func (*PolicyTargets) ProtoMessage()
- func (x *PolicyTargets) ProtoReflect() protoreflect.Message
- func (x *PolicyTargets) Reset()
- func (x *PolicyTargets) String() string
- type PolicyValidation
- func (*PolicyValidation) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyValidation) GetCategory() string
- func (x *PolicyValidation) GetClusterId() string
- func (x *PolicyValidation) GetClusterName() string
- func (x *PolicyValidation) GetCreatedAt() string
- func (x *PolicyValidation) GetDescription() string
- func (x *PolicyValidation) GetEntity() string
- func (x *PolicyValidation) GetEntityKind() string
- func (x *PolicyValidation) GetHowToSolve() string
- func (x *PolicyValidation) GetId() string
- func (x *PolicyValidation) GetMessage() string
- func (x *PolicyValidation) GetName() string
- func (x *PolicyValidation) GetNamespace() string
- func (x *PolicyValidation) GetOccurrences() []*PolicyValidationOccurrence
- func (x *PolicyValidation) GetParameters() []*PolicyValidationParam
- func (x *PolicyValidation) GetPolicyId() string
- func (x *PolicyValidation) GetSeverity() string
- func (x *PolicyValidation) GetViolatingEntity() string
- func (*PolicyValidation) ProtoMessage()
- func (x *PolicyValidation) ProtoReflect() protoreflect.Message
- func (x *PolicyValidation) Reset()
- func (x *PolicyValidation) String() string
- type PolicyValidationOccurrence
- func (*PolicyValidationOccurrence) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyValidationOccurrence) GetMessage() string
- func (*PolicyValidationOccurrence) ProtoMessage()
- func (x *PolicyValidationOccurrence) ProtoReflect() protoreflect.Message
- func (x *PolicyValidationOccurrence) Reset()
- func (x *PolicyValidationOccurrence) String() string
- type PolicyValidationParam
- func (*PolicyValidationParam) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyValidationParam) GetConfigRef() string
- func (x *PolicyValidationParam) GetName() string
- func (x *PolicyValidationParam) GetRequired() bool
- func (x *PolicyValidationParam) GetType() string
- func (x *PolicyValidationParam) GetValue() *anypb.Any
- func (*PolicyValidationParam) ProtoMessage()
- func (x *PolicyValidationParam) ProtoReflect() protoreflect.Message
- func (x *PolicyValidationParam) Reset()
- func (x *PolicyValidationParam) String() string
- type SyncFluxObjectRequest
- func (*SyncFluxObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncFluxObjectRequest) GetObjects() []*ObjectRef
- func (x *SyncFluxObjectRequest) GetWithSource() bool
- func (*SyncFluxObjectRequest) ProtoMessage()
- func (x *SyncFluxObjectRequest) ProtoReflect() protoreflect.Message
- func (x *SyncFluxObjectRequest) Reset()
- func (x *SyncFluxObjectRequest) String() string
- type SyncFluxObjectResponse
- type ToggleSuspendResourceRequest
- func (*ToggleSuspendResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ToggleSuspendResourceRequest) GetComment() string
- func (x *ToggleSuspendResourceRequest) GetObjects() []*ObjectRef
- func (x *ToggleSuspendResourceRequest) GetSuspend() bool
- func (*ToggleSuspendResourceRequest) ProtoMessage()
- func (x *ToggleSuspendResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ToggleSuspendResourceRequest) Reset()
- func (x *ToggleSuspendResourceRequest) String() string
- type ToggleSuspendResourceResponse
- func (*ToggleSuspendResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (*ToggleSuspendResourceResponse) ProtoMessage()
- func (x *ToggleSuspendResourceResponse) ProtoReflect() protoreflect.Message
- func (x *ToggleSuspendResourceResponse) Reset()
- func (x *ToggleSuspendResourceResponse) String() string
- type UnimplementedCoreServer
- func (UnimplementedCoreServer) GetChildObjects(context.Context, *GetChildObjectsRequest) (*GetChildObjectsResponse, error)
- func (UnimplementedCoreServer) GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*GetFeatureFlagsResponse, error)
- func (UnimplementedCoreServer) GetFluxNamespace(context.Context, *GetFluxNamespaceRequest) (*GetFluxNamespaceResponse, error)
- func (UnimplementedCoreServer) GetInventory(context.Context, *GetInventoryRequest) (*GetInventoryResponse, error)
- func (UnimplementedCoreServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
- func (UnimplementedCoreServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
- func (UnimplementedCoreServer) GetPolicyValidation(context.Context, *GetPolicyValidationRequest) (*GetPolicyValidationResponse, error)
- func (UnimplementedCoreServer) GetReconciledObjects(context.Context, *GetReconciledObjectsRequest) (*GetReconciledObjectsResponse, error)
- func (UnimplementedCoreServer) GetSessionLogs(context.Context, *GetSessionLogsRequest) (*GetSessionLogsResponse, error)
- func (UnimplementedCoreServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
- func (UnimplementedCoreServer) IsCRDAvailable(context.Context, *IsCRDAvailableRequest) (*IsCRDAvailableResponse, error)
- func (UnimplementedCoreServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
- func (UnimplementedCoreServer) ListFluxCrds(context.Context, *ListFluxCrdsRequest) (*ListFluxCrdsResponse, error)
- func (UnimplementedCoreServer) ListFluxRuntimeObjects(context.Context, *ListFluxRuntimeObjectsRequest) (*ListFluxRuntimeObjectsResponse, error)
- func (UnimplementedCoreServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
- func (UnimplementedCoreServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
- func (UnimplementedCoreServer) ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
- func (UnimplementedCoreServer) ListPolicyValidations(context.Context, *ListPolicyValidationsRequest) (*ListPolicyValidationsResponse, error)
- func (UnimplementedCoreServer) ListRuntimeCrds(context.Context, *ListRuntimeCrdsRequest) (*ListRuntimeCrdsResponse, error)
- func (UnimplementedCoreServer) ListRuntimeObjects(context.Context, *ListRuntimeObjectsRequest) (*ListRuntimeObjectsResponse, error)
- func (UnimplementedCoreServer) SyncFluxObject(context.Context, *SyncFluxObjectRequest) (*SyncFluxObjectResponse, error)
- func (UnimplementedCoreServer) ToggleSuspendResource(context.Context, *ToggleSuspendResourceRequest) (*ToggleSuspendResourceResponse, error)
- type UnsafeCoreServer
Constants ¶
const ( Core_GetObject_FullMethodName = "/gitops_core.v1.Core/GetObject" Core_ListObjects_FullMethodName = "/gitops_core.v1.Core/ListObjects" Core_ListFluxRuntimeObjects_FullMethodName = "/gitops_core.v1.Core/ListFluxRuntimeObjects" Core_ListFluxCrds_FullMethodName = "/gitops_core.v1.Core/ListFluxCrds" Core_ListRuntimeObjects_FullMethodName = "/gitops_core.v1.Core/ListRuntimeObjects" Core_ListRuntimeCrds_FullMethodName = "/gitops_core.v1.Core/ListRuntimeCrds" Core_GetReconciledObjects_FullMethodName = "/gitops_core.v1.Core/GetReconciledObjects" Core_GetChildObjects_FullMethodName = "/gitops_core.v1.Core/GetChildObjects" Core_GetFluxNamespace_FullMethodName = "/gitops_core.v1.Core/GetFluxNamespace" Core_ListNamespaces_FullMethodName = "/gitops_core.v1.Core/ListNamespaces" Core_ListEvents_FullMethodName = "/gitops_core.v1.Core/ListEvents" Core_SyncFluxObject_FullMethodName = "/gitops_core.v1.Core/SyncFluxObject" Core_GetVersion_FullMethodName = "/gitops_core.v1.Core/GetVersion" Core_GetFeatureFlags_FullMethodName = "/gitops_core.v1.Core/GetFeatureFlags" Core_ToggleSuspendResource_FullMethodName = "/gitops_core.v1.Core/ToggleSuspendResource" Core_GetSessionLogs_FullMethodName = "/gitops_core.v1.Core/GetSessionLogs" Core_IsCRDAvailable_FullMethodName = "/gitops_core.v1.Core/IsCRDAvailable" Core_GetInventory_FullMethodName = "/gitops_core.v1.Core/GetInventory" Core_ListPolicies_FullMethodName = "/gitops_core.v1.Core/ListPolicies" Core_GetPolicy_FullMethodName = "/gitops_core.v1.Core/GetPolicy" Core_ListPolicyValidations_FullMethodName = "/gitops_core.v1.Core/ListPolicyValidations" Core_GetPolicyValidation_FullMethodName = "/gitops_core.v1.Core/GetPolicyValidation" )
Variables ¶
var ( Kind_name = map[int32]string{ 0: "GitRepository", 1: "Bucket", 2: "HelmRepository", 3: "HelmChart", 4: "Kustomization", 5: "HelmRelease", 6: "Cluster", 7: "OCIRepository", 8: "Provider", 9: "Alert", 10: "ImageRepository", 11: "ImageUpdateAutomation", 12: "ImagePolicy", 13: "Pod", 14: "Policy", } Kind_value = map[string]int32{ "GitRepository": 0, "Bucket": 1, "HelmRepository": 2, "HelmChart": 3, "Kustomization": 4, "HelmRelease": 5, "Cluster": 6, "OCIRepository": 7, "Provider": 8, "Alert": 9, "ImageRepository": 10, "ImageUpdateAutomation": 11, "ImagePolicy": 12, "Pod": 13, "Policy": 14, } )
Enum value maps for Kind.
var ( HelmRepositoryType_name = map[int32]string{ 0: "Default", 1: "OCI", } HelmRepositoryType_value = map[string]int32{ "Default": 0, "OCI": 1, } )
Enum value maps for HelmRepositoryType.
var Core_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_core.v1.Core", HandlerType: (*CoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetObject", Handler: _Core_GetObject_Handler, }, { MethodName: "ListObjects", Handler: _Core_ListObjects_Handler, }, { MethodName: "ListFluxRuntimeObjects", Handler: _Core_ListFluxRuntimeObjects_Handler, }, { MethodName: "ListFluxCrds", Handler: _Core_ListFluxCrds_Handler, }, { MethodName: "ListRuntimeObjects", Handler: _Core_ListRuntimeObjects_Handler, }, { MethodName: "ListRuntimeCrds", Handler: _Core_ListRuntimeCrds_Handler, }, { MethodName: "GetReconciledObjects", Handler: _Core_GetReconciledObjects_Handler, }, { MethodName: "GetChildObjects", Handler: _Core_GetChildObjects_Handler, }, { MethodName: "GetFluxNamespace", Handler: _Core_GetFluxNamespace_Handler, }, { MethodName: "ListNamespaces", Handler: _Core_ListNamespaces_Handler, }, { MethodName: "ListEvents", Handler: _Core_ListEvents_Handler, }, { MethodName: "SyncFluxObject", Handler: _Core_SyncFluxObject_Handler, }, { MethodName: "GetVersion", Handler: _Core_GetVersion_Handler, }, { MethodName: "GetFeatureFlags", Handler: _Core_GetFeatureFlags_Handler, }, { MethodName: "ToggleSuspendResource", Handler: _Core_ToggleSuspendResource_Handler, }, { MethodName: "GetSessionLogs", Handler: _Core_GetSessionLogs_Handler, }, { MethodName: "IsCRDAvailable", Handler: _Core_IsCRDAvailable_Handler, }, { MethodName: "GetInventory", Handler: _Core_GetInventory_Handler, }, { MethodName: "ListPolicies", Handler: _Core_ListPolicies_Handler, }, { MethodName: "GetPolicy", Handler: _Core_GetPolicy_Handler, }, { MethodName: "ListPolicyValidations", Handler: _Core_ListPolicyValidations_Handler, }, { MethodName: "GetPolicyValidation", Handler: _Core_GetPolicyValidation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/core/core.proto", }
Core_ServiceDesc is the grpc.ServiceDesc for Core service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_core_core_proto protoreflect.FileDescriptor
var File_api_core_types_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoreHandler ¶
RegisterCoreHandler registers the http handlers for service Core to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCoreHandlerClient ¶
RegisterCoreHandlerClient registers the http handlers for service Core to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CoreClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CoreClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CoreClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterCoreHandlerFromEndpoint ¶
func RegisterCoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCoreHandlerFromEndpoint is same as RegisterCoreHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCoreHandlerServer ¶
RegisterCoreHandlerServer registers the http handlers for service Core to "mux". UnaryRPC :call CoreServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCoreHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterCoreServer ¶
func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)
Types ¶
type ClusterNamespaceList ¶ added in v0.31.0
type ClusterNamespaceList struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
// contains filtered or unexported fields
}
func (*ClusterNamespaceList) Descriptor
deprecated
added in
v0.31.0
func (*ClusterNamespaceList) Descriptor() ([]byte, []int)
Deprecated: Use ClusterNamespaceList.ProtoReflect.Descriptor instead.
func (*ClusterNamespaceList) GetClusterName ¶ added in v0.31.0
func (x *ClusterNamespaceList) GetClusterName() string
func (*ClusterNamespaceList) GetNamespaces ¶ added in v0.31.0
func (x *ClusterNamespaceList) GetNamespaces() []string
func (*ClusterNamespaceList) ProtoMessage ¶ added in v0.31.0
func (*ClusterNamespaceList) ProtoMessage()
func (*ClusterNamespaceList) ProtoReflect ¶ added in v0.31.0
func (x *ClusterNamespaceList) ProtoReflect() protoreflect.Message
func (*ClusterNamespaceList) Reset ¶ added in v0.31.0
func (x *ClusterNamespaceList) Reset()
func (*ClusterNamespaceList) String ¶ added in v0.31.0
func (x *ClusterNamespaceList) String() string
type Condition ¶
type Condition struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*Condition) Descriptor
deprecated
func (*Condition) GetMessage ¶
func (*Condition) GetTimestamp ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type CoreClient ¶
type CoreClient interface {
// GetObject gets data about a single primary object from a cluster.
GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*GetObjectResponse, error)
// ListObjects gets data about primary objects.
ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error)
// ListFluxRuntimeObjects lists the flux runtime deployments from a cluster.
ListFluxRuntimeObjects(ctx context.Context, in *ListFluxRuntimeObjectsRequest, opts ...grpc.CallOption) (*ListFluxRuntimeObjectsResponse, error)
ListFluxCrds(ctx context.Context, in *ListFluxCrdsRequest, opts ...grpc.CallOption) (*ListFluxCrdsResponse, error)
// ListRuntimeObjects lists Weave GitOps runtime components.
// Weave GitOps runtime is composed of Flux runtime but also other components
// in the ecosystem like TF-controller or Policy Agent.
ListRuntimeObjects(ctx context.Context, in *ListRuntimeObjectsRequest, opts ...grpc.CallOption) (*ListRuntimeObjectsResponse, error)
// ListRuntimeCrds lists Weave GitOps runtime components CRDs.
// Weave GitOps runtime is composed of Flux runtime but also other components
// in the ecosystem like TF-controller or Policy Agent.
ListRuntimeCrds(ctx context.Context, in *ListRuntimeCrdsRequest, opts ...grpc.CallOption) (*ListRuntimeCrdsResponse, error)
// GetReconciledObjects returns a list of objects that were created
// as a result of reconciling a Flux automation.
// This list is derived by looking at the Kustomization or HelmRelease
// specified in the request body.
GetReconciledObjects(ctx context.Context, in *GetReconciledObjectsRequest, opts ...grpc.CallOption) (*GetReconciledObjectsResponse, error)
// GetChildObjects returns the children of a given object,
// specified by a GroupVersionKind.
// Not all Kubernets objects have children. For example, a Deployment
// has a child ReplicaSet, but a Service has no child objects.
GetChildObjects(ctx context.Context, in *GetChildObjectsRequest, opts ...grpc.CallOption) (*GetChildObjectsResponse, error)
// GetFluxNamespace returns with a namespace with a specific label.
GetFluxNamespace(ctx context.Context, in *GetFluxNamespaceRequest, opts ...grpc.CallOption) (*GetFluxNamespaceResponse, error)
// ListNamespaces returns with the list of available namespaces.
ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error)
// ListEvents returns with a list of events
ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
// SyncResource forces a reconciliation of a Flux resource
SyncFluxObject(ctx context.Context, in *SyncFluxObjectRequest, opts ...grpc.CallOption) (*SyncFluxObjectResponse, error)
// GetVersion returns version information about the server
GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error)
// GetFeatureFlags returns configuration information about the server
GetFeatureFlags(ctx context.Context, in *GetFeatureFlagsRequest, opts ...grpc.CallOption) (*GetFeatureFlagsResponse, error)
// ToggleSuspendResource suspends or resumes a flux object.
ToggleSuspendResource(ctx context.Context, in *ToggleSuspendResourceRequest, opts ...grpc.CallOption) (*ToggleSuspendResourceResponse, error)
// GetSessionLogs returns the logs for a given session
GetSessionLogs(ctx context.Context, in *GetSessionLogsRequest, opts ...grpc.CallOption) (*GetSessionLogsResponse, error)
// IsCRDAvailable returns with a hashmap where the keys are the names of
// the clusters, and the value is a boolean indicating whether given CRD is
// installed or not on that cluster.
IsCRDAvailable(ctx context.Context, in *IsCRDAvailableRequest, opts ...grpc.CallOption) (*IsCRDAvailableResponse, error)
GetInventory(ctx context.Context, in *GetInventoryRequest, opts ...grpc.CallOption) (*GetInventoryResponse, error)
// ListPolicies list policies available on the cluster
ListPolicies(ctx context.Context, in *ListPoliciesRequest, opts ...grpc.CallOption) (*ListPoliciesResponse, error)
// GetPolicy gets a policy by name
GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
// ListPolicyValidations lists policy validations
ListPolicyValidations(ctx context.Context, in *ListPolicyValidationsRequest, opts ...grpc.CallOption) (*ListPolicyValidationsResponse, error)
// GetPolicyValidation gets a policy validation by id
GetPolicyValidation(ctx context.Context, in *GetPolicyValidationRequest, opts ...grpc.CallOption) (*GetPolicyValidationResponse, error)
}
CoreClient is the client API for Core service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
* Weave GitOps Core API service definition
func NewCoreClient ¶
func NewCoreClient(cc grpc.ClientConnInterface) CoreClient
type CoreServer ¶
type CoreServer interface {
// GetObject gets data about a single primary object from a cluster.
GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
// ListObjects gets data about primary objects.
ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
// ListFluxRuntimeObjects lists the flux runtime deployments from a cluster.
ListFluxRuntimeObjects(context.Context, *ListFluxRuntimeObjectsRequest) (*ListFluxRuntimeObjectsResponse, error)
ListFluxCrds(context.Context, *ListFluxCrdsRequest) (*ListFluxCrdsResponse, error)
// ListRuntimeObjects lists Weave GitOps runtime components.
// Weave GitOps runtime is composed of Flux runtime but also other components
// in the ecosystem like TF-controller or Policy Agent.
ListRuntimeObjects(context.Context, *ListRuntimeObjectsRequest) (*ListRuntimeObjectsResponse, error)
// ListRuntimeCrds lists Weave GitOps runtime components CRDs.
// Weave GitOps runtime is composed of Flux runtime but also other components
// in the ecosystem like TF-controller or Policy Agent.
ListRuntimeCrds(context.Context, *ListRuntimeCrdsRequest) (*ListRuntimeCrdsResponse, error)
// GetReconciledObjects returns a list of objects that were created
// as a result of reconciling a Flux automation.
// This list is derived by looking at the Kustomization or HelmRelease
// specified in the request body.
GetReconciledObjects(context.Context, *GetReconciledObjectsRequest) (*GetReconciledObjectsResponse, error)
// GetChildObjects returns the children of a given object,
// specified by a GroupVersionKind.
// Not all Kubernets objects have children. For example, a Deployment
// has a child ReplicaSet, but a Service has no child objects.
GetChildObjects(context.Context, *GetChildObjectsRequest) (*GetChildObjectsResponse, error)
// GetFluxNamespace returns with a namespace with a specific label.
GetFluxNamespace(context.Context, *GetFluxNamespaceRequest) (*GetFluxNamespaceResponse, error)
// ListNamespaces returns with the list of available namespaces.
ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
// ListEvents returns with a list of events
ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
// SyncResource forces a reconciliation of a Flux resource
SyncFluxObject(context.Context, *SyncFluxObjectRequest) (*SyncFluxObjectResponse, error)
// GetVersion returns version information about the server
GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
// GetFeatureFlags returns configuration information about the server
GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*GetFeatureFlagsResponse, error)
// ToggleSuspendResource suspends or resumes a flux object.
ToggleSuspendResource(context.Context, *ToggleSuspendResourceRequest) (*ToggleSuspendResourceResponse, error)
// GetSessionLogs returns the logs for a given session
GetSessionLogs(context.Context, *GetSessionLogsRequest) (*GetSessionLogsResponse, error)
// IsCRDAvailable returns with a hashmap where the keys are the names of
// the clusters, and the value is a boolean indicating whether given CRD is
// installed or not on that cluster.
IsCRDAvailable(context.Context, *IsCRDAvailableRequest) (*IsCRDAvailableResponse, error)
GetInventory(context.Context, *GetInventoryRequest) (*GetInventoryResponse, error)
// ListPolicies list policies available on the cluster
ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
// GetPolicy gets a policy by name
GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
// ListPolicyValidations lists policy validations
ListPolicyValidations(context.Context, *ListPolicyValidationsRequest) (*ListPolicyValidationsResponse, error)
// GetPolicyValidation gets a policy validation by id
GetPolicyValidation(context.Context, *GetPolicyValidationRequest) (*GetPolicyValidationResponse, error)
// contains filtered or unexported methods
}
CoreServer is the server API for Core service. All implementations must embed UnimplementedCoreServer for forward compatibility.
* Weave GitOps Core API service definition
type Crd ¶ added in v0.9.2
type Crd struct {
Name *Crd_Name `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
func (*Crd) Descriptor
deprecated
added in
v0.9.2
func (*Crd) GetClusterName ¶ added in v0.9.2
func (*Crd) GetVersion ¶ added in v0.9.2
func (*Crd) ProtoMessage ¶ added in v0.9.2
func (*Crd) ProtoMessage()
func (*Crd) ProtoReflect ¶ added in v0.9.2
func (x *Crd) ProtoReflect() protoreflect.Message
type Crd_Name ¶ added in v0.9.2
type Crd_Name struct {
Plural string `protobuf:"bytes,1,opt,name=plural,proto3" json:"plural,omitempty"`
Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
// contains filtered or unexported fields
}
func (*Crd_Name) Descriptor
deprecated
added in
v0.9.2
func (*Crd_Name) ProtoMessage ¶ added in v0.9.2
func (*Crd_Name) ProtoMessage()
func (*Crd_Name) ProtoReflect ¶ added in v0.9.2
func (x *Crd_Name) ProtoReflect() protoreflect.Message
type Deployment ¶
type Deployment struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Conditions []*Condition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"`
Images []string `protobuf:"bytes,4,rep,name=images,proto3" json:"images,omitempty"`
Suspended bool `protobuf:"varint,5,opt,name=suspended,proto3" json:"suspended,omitempty"`
ClusterName string `protobuf:"bytes,6,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetClusterName ¶
func (x *Deployment) GetClusterName() string
func (*Deployment) GetConditions ¶
func (x *Deployment) GetConditions() []*Condition
func (*Deployment) GetImages ¶
func (x *Deployment) GetImages() []string
func (*Deployment) GetLabels ¶ added in v0.10.1
func (x *Deployment) GetLabels() map[string]string
func (*Deployment) GetName ¶
func (x *Deployment) GetName() string
func (*Deployment) GetNamespace ¶
func (x *Deployment) GetNamespace() string
func (*Deployment) GetSuspended ¶
func (x *Deployment) GetSuspended() bool
func (*Deployment) GetUid ¶ added in v0.9.4
func (x *Deployment) GetUid() string
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type Event ¶
type Event struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
Host string `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
Uid string `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
func (*Event) Descriptor
deprecated
func (*Event) GetComponent ¶
func (*Event) GetMessage ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type GetChildObjectsRequest ¶
type GetChildObjectsRequest struct {
GroupVersionKind *GroupVersionKind `protobuf:"bytes,1,opt,name=group_version_kind,json=groupVersionKind,proto3" json:"group_version_kind,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
ParentUid string `protobuf:"bytes,3,opt,name=parent_uid,json=parentUid,proto3" json:"parent_uid,omitempty"`
ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetChildObjectsRequest) Descriptor
deprecated
func (*GetChildObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChildObjectsRequest.ProtoReflect.Descriptor instead.
func (*GetChildObjectsRequest) GetClusterName ¶
func (x *GetChildObjectsRequest) GetClusterName() string
func (*GetChildObjectsRequest) GetGroupVersionKind ¶
func (x *GetChildObjectsRequest) GetGroupVersionKind() *GroupVersionKind
func (*GetChildObjectsRequest) GetNamespace ¶
func (x *GetChildObjectsRequest) GetNamespace() string
func (*GetChildObjectsRequest) GetParentUid ¶
func (x *GetChildObjectsRequest) GetParentUid() string
func (*GetChildObjectsRequest) ProtoMessage ¶
func (*GetChildObjectsRequest) ProtoMessage()
func (*GetChildObjectsRequest) ProtoReflect ¶
func (x *GetChildObjectsRequest) ProtoReflect() protoreflect.Message
func (*GetChildObjectsRequest) Reset ¶
func (x *GetChildObjectsRequest) Reset()
func (*GetChildObjectsRequest) String ¶
func (x *GetChildObjectsRequest) String() string
type GetChildObjectsResponse ¶
type GetChildObjectsResponse struct {
Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
// contains filtered or unexported fields
}
func (*GetChildObjectsResponse) Descriptor
deprecated
func (*GetChildObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChildObjectsResponse.ProtoReflect.Descriptor instead.
func (*GetChildObjectsResponse) GetObjects ¶
func (x *GetChildObjectsResponse) GetObjects() []*Object
func (*GetChildObjectsResponse) ProtoMessage ¶
func (*GetChildObjectsResponse) ProtoMessage()
func (*GetChildObjectsResponse) ProtoReflect ¶
func (x *GetChildObjectsResponse) ProtoReflect() protoreflect.Message
func (*GetChildObjectsResponse) Reset ¶
func (x *GetChildObjectsResponse) Reset()
func (*GetChildObjectsResponse) String ¶
func (x *GetChildObjectsResponse) String() string
type GetFeatureFlagsRequest ¶ added in v0.8.1
type GetFeatureFlagsRequest struct {
// contains filtered or unexported fields
}
func (*GetFeatureFlagsRequest) Descriptor
deprecated
added in
v0.8.1
func (*GetFeatureFlagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatureFlagsRequest.ProtoReflect.Descriptor instead.
func (*GetFeatureFlagsRequest) ProtoMessage ¶ added in v0.8.1
func (*GetFeatureFlagsRequest) ProtoMessage()
func (*GetFeatureFlagsRequest) ProtoReflect ¶ added in v0.8.1
func (x *GetFeatureFlagsRequest) ProtoReflect() protoreflect.Message
func (*GetFeatureFlagsRequest) Reset ¶ added in v0.8.1
func (x *GetFeatureFlagsRequest) Reset()
func (*GetFeatureFlagsRequest) String ¶ added in v0.8.1
func (x *GetFeatureFlagsRequest) String() string
type GetFeatureFlagsResponse ¶ added in v0.8.1
type GetFeatureFlagsResponse struct {
Flags map[string]string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetFeatureFlagsResponse) Descriptor
deprecated
added in
v0.8.1
func (*GetFeatureFlagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatureFlagsResponse.ProtoReflect.Descriptor instead.
func (*GetFeatureFlagsResponse) GetFlags ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) GetFlags() map[string]string
func (*GetFeatureFlagsResponse) ProtoMessage ¶ added in v0.8.1
func (*GetFeatureFlagsResponse) ProtoMessage()
func (*GetFeatureFlagsResponse) ProtoReflect ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) ProtoReflect() protoreflect.Message
func (*GetFeatureFlagsResponse) Reset ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) Reset()
func (*GetFeatureFlagsResponse) String ¶ added in v0.8.1
func (x *GetFeatureFlagsResponse) String() string
type GetFluxNamespaceRequest ¶
type GetFluxNamespaceRequest struct {
// contains filtered or unexported fields
}
func (*GetFluxNamespaceRequest) Descriptor
deprecated
func (*GetFluxNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFluxNamespaceRequest.ProtoReflect.Descriptor instead.
func (*GetFluxNamespaceRequest) ProtoMessage ¶
func (*GetFluxNamespaceRequest) ProtoMessage()
func (*GetFluxNamespaceRequest) ProtoReflect ¶
func (x *GetFluxNamespaceRequest) ProtoReflect() protoreflect.Message
func (*GetFluxNamespaceRequest) Reset ¶
func (x *GetFluxNamespaceRequest) Reset()
func (*GetFluxNamespaceRequest) String ¶
func (x *GetFluxNamespaceRequest) String() string
type GetFluxNamespaceResponse ¶
type GetFluxNamespaceResponse struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetFluxNamespaceResponse) Descriptor
deprecated
func (*GetFluxNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFluxNamespaceResponse.ProtoReflect.Descriptor instead.
func (*GetFluxNamespaceResponse) GetName ¶
func (x *GetFluxNamespaceResponse) GetName() string
func (*GetFluxNamespaceResponse) ProtoMessage ¶
func (*GetFluxNamespaceResponse) ProtoMessage()
func (*GetFluxNamespaceResponse) ProtoReflect ¶
func (x *GetFluxNamespaceResponse) ProtoReflect() protoreflect.Message
func (*GetFluxNamespaceResponse) Reset ¶
func (x *GetFluxNamespaceResponse) Reset()
func (*GetFluxNamespaceResponse) String ¶
func (x *GetFluxNamespaceResponse) String() string
type GetInventoryRequest ¶ added in v0.20.0
type GetInventoryRequest struct {
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
WithChildren bool `protobuf:"varint,5,opt,name=with_children,json=withChildren,proto3" json:"with_children,omitempty"`
// contains filtered or unexported fields
}
func (*GetInventoryRequest) Descriptor
deprecated
added in
v0.20.0
func (*GetInventoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInventoryRequest.ProtoReflect.Descriptor instead.
func (*GetInventoryRequest) GetClusterName ¶ added in v0.20.0
func (x *GetInventoryRequest) GetClusterName() string
func (*GetInventoryRequest) GetKind ¶ added in v0.20.0
func (x *GetInventoryRequest) GetKind() string
func (*GetInventoryRequest) GetName ¶ added in v0.20.0
func (x *GetInventoryRequest) GetName() string
func (*GetInventoryRequest) GetNamespace ¶ added in v0.20.0
func (x *GetInventoryRequest) GetNamespace() string
func (*GetInventoryRequest) GetWithChildren ¶ added in v0.20.0
func (x *GetInventoryRequest) GetWithChildren() bool
func (*GetInventoryRequest) ProtoMessage ¶ added in v0.20.0
func (*GetInventoryRequest) ProtoMessage()
func (*GetInventoryRequest) ProtoReflect ¶ added in v0.20.0
func (x *GetInventoryRequest) ProtoReflect() protoreflect.Message
func (*GetInventoryRequest) Reset ¶ added in v0.20.0
func (x *GetInventoryRequest) Reset()
func (*GetInventoryRequest) String ¶ added in v0.20.0
func (x *GetInventoryRequest) String() string
type GetInventoryResponse ¶ added in v0.20.0
type GetInventoryResponse struct {
Entries []*InventoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
func (*GetInventoryResponse) Descriptor
deprecated
added in
v0.20.0
func (*GetInventoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInventoryResponse.ProtoReflect.Descriptor instead.
func (*GetInventoryResponse) GetEntries ¶ added in v0.20.0
func (x *GetInventoryResponse) GetEntries() []*InventoryEntry
func (*GetInventoryResponse) ProtoMessage ¶ added in v0.20.0
func (*GetInventoryResponse) ProtoMessage()
func (*GetInventoryResponse) ProtoReflect ¶ added in v0.20.0
func (x *GetInventoryResponse) ProtoReflect() protoreflect.Message
func (*GetInventoryResponse) Reset ¶ added in v0.20.0
func (x *GetInventoryResponse) Reset()
func (*GetInventoryResponse) String ¶ added in v0.20.0
func (x *GetInventoryResponse) String() string
type GetObjectRequest ¶ added in v0.9.0
type GetObjectRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetObjectRequest) Descriptor
deprecated
added in
v0.9.0
func (*GetObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.
func (*GetObjectRequest) GetClusterName ¶ added in v0.9.0
func (x *GetObjectRequest) GetClusterName() string
func (*GetObjectRequest) GetKind ¶ added in v0.9.0
func (x *GetObjectRequest) GetKind() string
func (*GetObjectRequest) GetName ¶ added in v0.9.0
func (x *GetObjectRequest) GetName() string
func (*GetObjectRequest) GetNamespace ¶ added in v0.9.0
func (x *GetObjectRequest) GetNamespace() string
func (*GetObjectRequest) ProtoMessage ¶ added in v0.9.0
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) ProtoReflect ¶ added in v0.9.0
func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
func (*GetObjectRequest) Reset ¶ added in v0.9.0
func (x *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶ added in v0.9.0
func (x *GetObjectRequest) String() string
type GetObjectResponse ¶ added in v0.9.0
type GetObjectResponse struct {
Object *Object `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
func (*GetObjectResponse) Descriptor
deprecated
added in
v0.9.0
func (*GetObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectResponse.ProtoReflect.Descriptor instead.
func (*GetObjectResponse) GetObject ¶ added in v0.9.0
func (x *GetObjectResponse) GetObject() *Object
func (*GetObjectResponse) ProtoMessage ¶ added in v0.9.0
func (*GetObjectResponse) ProtoMessage()
func (*GetObjectResponse) ProtoReflect ¶ added in v0.9.0
func (x *GetObjectResponse) ProtoReflect() protoreflect.Message
func (*GetObjectResponse) Reset ¶ added in v0.9.0
func (x *GetObjectResponse) Reset()
func (*GetObjectResponse) String ¶ added in v0.9.0
func (x *GetObjectResponse) String() string
type GetPolicyRequest ¶ added in v0.25.0
type GetPolicyRequest struct {
PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyRequest) Descriptor
deprecated
added in
v0.25.0
func (*GetPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyRequest) GetClusterName ¶ added in v0.25.0
func (x *GetPolicyRequest) GetClusterName() string
func (*GetPolicyRequest) GetPolicyName ¶ added in v0.25.0
func (x *GetPolicyRequest) GetPolicyName() string
func (*GetPolicyRequest) ProtoMessage ¶ added in v0.25.0
func (*GetPolicyRequest) ProtoMessage()
func (*GetPolicyRequest) ProtoReflect ¶ added in v0.25.0
func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyRequest) Reset ¶ added in v0.25.0
func (x *GetPolicyRequest) Reset()
func (*GetPolicyRequest) String ¶ added in v0.25.0
func (x *GetPolicyRequest) String() string
type GetPolicyResponse ¶ added in v0.25.0
type GetPolicyResponse struct {
Policy *PolicyObj `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyResponse) Descriptor
deprecated
added in
v0.25.0
func (*GetPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyResponse) GetClusterName ¶ added in v0.25.0
func (x *GetPolicyResponse) GetClusterName() string
func (*GetPolicyResponse) GetPolicy ¶ added in v0.25.0
func (x *GetPolicyResponse) GetPolicy() *PolicyObj
func (*GetPolicyResponse) ProtoMessage ¶ added in v0.25.0
func (*GetPolicyResponse) ProtoMessage()
func (*GetPolicyResponse) ProtoReflect ¶ added in v0.25.0
func (x *GetPolicyResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyResponse) Reset ¶ added in v0.25.0
func (x *GetPolicyResponse) Reset()
func (*GetPolicyResponse) String ¶ added in v0.25.0
func (x *GetPolicyResponse) String() string
type GetPolicyValidationRequest ¶ added in v0.25.0
type GetPolicyValidationRequest struct {
ValidationId string `protobuf:"bytes,1,opt,name=validation_id,json=validationId,proto3" json:"validation_id,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
ValidationType string `protobuf:"bytes,3,opt,name=validation_type,json=validationType,proto3" json:"validation_type,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyValidationRequest) Descriptor
deprecated
added in
v0.25.0
func (*GetPolicyValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyValidationRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyValidationRequest) GetClusterName ¶ added in v0.25.0
func (x *GetPolicyValidationRequest) GetClusterName() string
func (*GetPolicyValidationRequest) GetValidationId ¶ added in v0.25.0
func (x *GetPolicyValidationRequest) GetValidationId() string
func (*GetPolicyValidationRequest) GetValidationType ¶ added in v0.25.0
func (x *GetPolicyValidationRequest) GetValidationType() string
func (*GetPolicyValidationRequest) ProtoMessage ¶ added in v0.25.0
func (*GetPolicyValidationRequest) ProtoMessage()
func (*GetPolicyValidationRequest) ProtoReflect ¶ added in v0.25.0
func (x *GetPolicyValidationRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyValidationRequest) Reset ¶ added in v0.25.0
func (x *GetPolicyValidationRequest) Reset()
func (*GetPolicyValidationRequest) String ¶ added in v0.25.0
func (x *GetPolicyValidationRequest) String() string
type GetPolicyValidationResponse ¶ added in v0.25.0
type GetPolicyValidationResponse struct {
Validation *PolicyValidation `protobuf:"bytes,1,opt,name=validation,proto3" json:"validation,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyValidationResponse) Descriptor
deprecated
added in
v0.25.0
func (*GetPolicyValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyValidationResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyValidationResponse) GetValidation ¶ added in v0.25.0
func (x *GetPolicyValidationResponse) GetValidation() *PolicyValidation
func (*GetPolicyValidationResponse) ProtoMessage ¶ added in v0.25.0
func (*GetPolicyValidationResponse) ProtoMessage()
func (*GetPolicyValidationResponse) ProtoReflect ¶ added in v0.25.0
func (x *GetPolicyValidationResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyValidationResponse) Reset ¶ added in v0.25.0
func (x *GetPolicyValidationResponse) Reset()
func (*GetPolicyValidationResponse) String ¶ added in v0.25.0
func (x *GetPolicyValidationResponse) String() string
type GetReconciledObjectsRequest ¶
type GetReconciledObjectsRequest struct {
AutomationName string `protobuf:"bytes,1,opt,name=automation_name,json=automationName,proto3" json:"automation_name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
AutomationKind string `protobuf:"bytes,3,opt,name=automation_kind,json=automationKind,proto3" json:"automation_kind,omitempty"`
Kinds []*GroupVersionKind `protobuf:"bytes,4,rep,name=kinds,proto3" json:"kinds,omitempty"`
ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetReconciledObjectsRequest) Descriptor
deprecated
func (*GetReconciledObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReconciledObjectsRequest.ProtoReflect.Descriptor instead.
func (*GetReconciledObjectsRequest) GetAutomationKind ¶
func (x *GetReconciledObjectsRequest) GetAutomationKind() string
func (*GetReconciledObjectsRequest) GetAutomationName ¶
func (x *GetReconciledObjectsRequest) GetAutomationName() string
func (*GetReconciledObjectsRequest) GetClusterName ¶
func (x *GetReconciledObjectsRequest) GetClusterName() string
func (*GetReconciledObjectsRequest) GetKinds ¶
func (x *GetReconciledObjectsRequest) GetKinds() []*GroupVersionKind
func (*GetReconciledObjectsRequest) GetNamespace ¶
func (x *GetReconciledObjectsRequest) GetNamespace() string
func (*GetReconciledObjectsRequest) ProtoMessage ¶
func (*GetReconciledObjectsRequest) ProtoMessage()
func (*GetReconciledObjectsRequest) ProtoReflect ¶
func (x *GetReconciledObjectsRequest) ProtoReflect() protoreflect.Message
func (*GetReconciledObjectsRequest) Reset ¶
func (x *GetReconciledObjectsRequest) Reset()
func (*GetReconciledObjectsRequest) String ¶
func (x *GetReconciledObjectsRequest) String() string
type GetReconciledObjectsResponse ¶
type GetReconciledObjectsResponse struct {
Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
// contains filtered or unexported fields
}
func (*GetReconciledObjectsResponse) Descriptor
deprecated
func (*GetReconciledObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReconciledObjectsResponse.ProtoReflect.Descriptor instead.
func (*GetReconciledObjectsResponse) GetObjects ¶
func (x *GetReconciledObjectsResponse) GetObjects() []*Object
func (*GetReconciledObjectsResponse) ProtoMessage ¶
func (*GetReconciledObjectsResponse) ProtoMessage()
func (*GetReconciledObjectsResponse) ProtoReflect ¶
func (x *GetReconciledObjectsResponse) ProtoReflect() protoreflect.Message
func (*GetReconciledObjectsResponse) Reset ¶
func (x *GetReconciledObjectsResponse) Reset()
func (*GetReconciledObjectsResponse) String ¶
func (x *GetReconciledObjectsResponse) String() string
type GetSessionLogsRequest ¶ added in v0.13.0
type GetSessionLogsRequest struct {
SessionNamespace string `protobuf:"bytes,1,opt,name=session_namespace,json=sessionNamespace,proto3" json:"session_namespace,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
LogSourceFilter string `protobuf:"bytes,4,opt,name=log_source_filter,json=logSourceFilter,proto3" json:"log_source_filter,omitempty"`
LogLevelFilter string `protobuf:"bytes,5,opt,name=log_level_filter,json=logLevelFilter,proto3" json:"log_level_filter,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionLogsRequest) Descriptor
deprecated
added in
v0.13.0
func (*GetSessionLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionLogsRequest.ProtoReflect.Descriptor instead.
func (*GetSessionLogsRequest) GetLogLevelFilter ¶ added in v0.17.0
func (x *GetSessionLogsRequest) GetLogLevelFilter() string
func (*GetSessionLogsRequest) GetLogSourceFilter ¶ added in v0.17.0
func (x *GetSessionLogsRequest) GetLogSourceFilter() string
func (*GetSessionLogsRequest) GetSessionId ¶ added in v0.13.0
func (x *GetSessionLogsRequest) GetSessionId() string
func (*GetSessionLogsRequest) GetSessionNamespace ¶ added in v0.16.0
func (x *GetSessionLogsRequest) GetSessionNamespace() string
func (*GetSessionLogsRequest) GetToken ¶ added in v0.13.0
func (x *GetSessionLogsRequest) GetToken() string
func (*GetSessionLogsRequest) ProtoMessage ¶ added in v0.13.0
func (*GetSessionLogsRequest) ProtoMessage()
func (*GetSessionLogsRequest) ProtoReflect ¶ added in v0.13.0
func (x *GetSessionLogsRequest) ProtoReflect() protoreflect.Message
func (*GetSessionLogsRequest) Reset ¶ added in v0.13.0
func (x *GetSessionLogsRequest) Reset()
func (*GetSessionLogsRequest) String ¶ added in v0.13.0
func (x *GetSessionLogsRequest) String() string
type GetSessionLogsResponse ¶ added in v0.13.0
type GetSessionLogsResponse struct {
Logs []*LogEntry `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
LogSources []string `protobuf:"bytes,4,rep,name=log_sources,json=logSources,proto3" json:"log_sources,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionLogsResponse) Descriptor
deprecated
added in
v0.13.0
func (*GetSessionLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionLogsResponse.ProtoReflect.Descriptor instead.
func (*GetSessionLogsResponse) GetError ¶ added in v0.16.0
func (x *GetSessionLogsResponse) GetError() string
func (*GetSessionLogsResponse) GetLogSources ¶ added in v0.17.0
func (x *GetSessionLogsResponse) GetLogSources() []string
func (*GetSessionLogsResponse) GetLogs ¶ added in v0.13.0
func (x *GetSessionLogsResponse) GetLogs() []*LogEntry
func (*GetSessionLogsResponse) GetNextToken ¶ added in v0.13.0
func (x *GetSessionLogsResponse) GetNextToken() string
func (*GetSessionLogsResponse) ProtoMessage ¶ added in v0.13.0
func (*GetSessionLogsResponse) ProtoMessage()
func (*GetSessionLogsResponse) ProtoReflect ¶ added in v0.13.0
func (x *GetSessionLogsResponse) ProtoReflect() protoreflect.Message
func (*GetSessionLogsResponse) Reset ¶ added in v0.13.0
func (x *GetSessionLogsResponse) Reset()
func (*GetSessionLogsResponse) String ¶ added in v0.13.0
func (x *GetSessionLogsResponse) String() string
type GetVersionRequest ¶ added in v0.8.1
type GetVersionRequest struct {
// contains filtered or unexported fields
}
func (*GetVersionRequest) Descriptor
deprecated
added in
v0.8.1
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) ProtoMessage ¶ added in v0.8.1
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶ added in v0.8.1
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶ added in v0.8.1
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶ added in v0.8.1
func (x *GetVersionRequest) String() string
type GetVersionResponse ¶ added in v0.8.1
type GetVersionResponse struct {
Semver string `protobuf:"bytes,1,opt,name=semver,proto3" json:"semver,omitempty"`
Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
BuildTime string `protobuf:"bytes,4,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
KubeVersion string `protobuf:"bytes,5,opt,name=kube_version,json=kubeVersion,proto3" json:"kube_version,omitempty"`
// contains filtered or unexported fields
}
func (*GetVersionResponse) Descriptor
deprecated
added in
v0.8.1
func (*GetVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.
func (*GetVersionResponse) GetBranch ¶ added in v0.8.1
func (x *GetVersionResponse) GetBranch() string
func (*GetVersionResponse) GetBuildTime ¶ added in v0.8.1
func (x *GetVersionResponse) GetBuildTime() string
func (*GetVersionResponse) GetCommit ¶ added in v0.8.1
func (x *GetVersionResponse) GetCommit() string
func (*GetVersionResponse) GetKubeVersion ¶ added in v0.9.1
func (x *GetVersionResponse) GetKubeVersion() string
func (*GetVersionResponse) GetSemver ¶ added in v0.8.1
func (x *GetVersionResponse) GetSemver() string
func (*GetVersionResponse) ProtoMessage ¶ added in v0.8.1
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) ProtoReflect ¶ added in v0.8.1
func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
func (*GetVersionResponse) Reset ¶ added in v0.8.1
func (x *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶ added in v0.8.1
func (x *GetVersionResponse) String() string
type GitRepositoryRef ¶
type GitRepositoryRef struct {
Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
Semver string `protobuf:"bytes,3,opt,name=semver,proto3" json:"semver,omitempty"`
Commit string `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"`
// contains filtered or unexported fields
}
func (*GitRepositoryRef) Descriptor
deprecated
func (*GitRepositoryRef) Descriptor() ([]byte, []int)
Deprecated: Use GitRepositoryRef.ProtoReflect.Descriptor instead.
func (*GitRepositoryRef) GetBranch ¶
func (x *GitRepositoryRef) GetBranch() string
func (*GitRepositoryRef) GetCommit ¶
func (x *GitRepositoryRef) GetCommit() string
func (*GitRepositoryRef) GetSemver ¶
func (x *GitRepositoryRef) GetSemver() string
func (*GitRepositoryRef) GetTag ¶
func (x *GitRepositoryRef) GetTag() string
func (*GitRepositoryRef) ProtoMessage ¶
func (*GitRepositoryRef) ProtoMessage()
func (*GitRepositoryRef) ProtoReflect ¶
func (x *GitRepositoryRef) ProtoReflect() protoreflect.Message
func (*GitRepositoryRef) Reset ¶
func (x *GitRepositoryRef) Reset()
func (*GitRepositoryRef) String ¶
func (x *GitRepositoryRef) String() string
type GroupVersionKind ¶
type GroupVersionKind struct {
Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
GroupVersionKind represents an objects Kubernetes API type data
func (*GroupVersionKind) Descriptor
deprecated
func (*GroupVersionKind) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.
func (*GroupVersionKind) GetGroup ¶
func (x *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (x *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetVersion ¶
func (x *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) ProtoReflect ¶
func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
func (*GroupVersionKind) Reset ¶
func (x *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶
func (x *GroupVersionKind) String() string
type HealthStatus ¶ added in v0.21.1
type HealthStatus struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*HealthStatus) Descriptor
deprecated
added in
v0.21.1
func (*HealthStatus) Descriptor() ([]byte, []int)
Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
func (*HealthStatus) GetMessage ¶ added in v0.21.1
func (x *HealthStatus) GetMessage() string
func (*HealthStatus) GetStatus ¶ added in v0.21.1
func (x *HealthStatus) GetStatus() string
func (*HealthStatus) ProtoMessage ¶ added in v0.21.1
func (*HealthStatus) ProtoMessage()
func (*HealthStatus) ProtoReflect ¶ added in v0.21.1
func (x *HealthStatus) ProtoReflect() protoreflect.Message
func (*HealthStatus) Reset ¶ added in v0.21.1
func (x *HealthStatus) Reset()
func (*HealthStatus) String ¶ added in v0.21.1
func (x *HealthStatus) String() string
type HelmRepositoryType ¶ added in v0.9.1
type HelmRepositoryType int32
* HelmRepositoryType enum defines the type of HelmRepository used.
const ( HelmRepositoryType_Default HelmRepositoryType = 0 HelmRepositoryType_OCI HelmRepositoryType = 1 )
func (HelmRepositoryType) Descriptor ¶ added in v0.9.1
func (HelmRepositoryType) Descriptor() protoreflect.EnumDescriptor
func (HelmRepositoryType) Enum ¶ added in v0.9.1
func (x HelmRepositoryType) Enum() *HelmRepositoryType
func (HelmRepositoryType) EnumDescriptor
deprecated
added in
v0.9.1
func (HelmRepositoryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HelmRepositoryType.Descriptor instead.
func (HelmRepositoryType) Number ¶ added in v0.9.1
func (x HelmRepositoryType) Number() protoreflect.EnumNumber
func (HelmRepositoryType) String ¶ added in v0.9.1
func (x HelmRepositoryType) String() string
func (HelmRepositoryType) Type ¶ added in v0.9.1
func (HelmRepositoryType) Type() protoreflect.EnumType
type Interval ¶
type Interval struct {
Hours int64 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"`
Minutes int64 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"`
Seconds int64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
// contains filtered or unexported fields
}
func (*Interval) Descriptor
deprecated
func (*Interval) GetMinutes ¶
func (*Interval) GetSeconds ¶
func (*Interval) ProtoMessage ¶
func (*Interval) ProtoMessage()
func (*Interval) ProtoReflect ¶
func (x *Interval) ProtoReflect() protoreflect.Message
type InventoryEntry ¶ added in v0.20.0
type InventoryEntry struct {
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Health *HealthStatus `protobuf:"bytes,4,opt,name=health,proto3" json:"health,omitempty"`
Children []*InventoryEntry `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
func (*InventoryEntry) Descriptor
deprecated
added in
v0.20.0
func (*InventoryEntry) Descriptor() ([]byte, []int)
Deprecated: Use InventoryEntry.ProtoReflect.Descriptor instead.
func (*InventoryEntry) GetChildren ¶ added in v0.20.0
func (x *InventoryEntry) GetChildren() []*InventoryEntry
func (*InventoryEntry) GetClusterName ¶ added in v0.20.0
func (x *InventoryEntry) GetClusterName() string
func (*InventoryEntry) GetHealth ¶ added in v0.21.1
func (x *InventoryEntry) GetHealth() *HealthStatus
func (*InventoryEntry) GetPayload ¶ added in v0.20.0
func (x *InventoryEntry) GetPayload() string
func (*InventoryEntry) GetTenant ¶ added in v0.20.0
func (x *InventoryEntry) GetTenant() string
func (*InventoryEntry) ProtoMessage ¶ added in v0.20.0
func (*InventoryEntry) ProtoMessage()
func (*InventoryEntry) ProtoReflect ¶ added in v0.20.0
func (x *InventoryEntry) ProtoReflect() protoreflect.Message
func (*InventoryEntry) Reset ¶ added in v0.20.0
func (x *InventoryEntry) Reset()
func (*InventoryEntry) String ¶ added in v0.20.0
func (x *InventoryEntry) String() string
type IsCRDAvailableRequest ¶ added in v0.15.0
type IsCRDAvailableRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*IsCRDAvailableRequest) Descriptor
deprecated
added in
v0.15.0
func (*IsCRDAvailableRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsCRDAvailableRequest.ProtoReflect.Descriptor instead.
func (*IsCRDAvailableRequest) GetName ¶ added in v0.15.0
func (x *IsCRDAvailableRequest) GetName() string
func (*IsCRDAvailableRequest) ProtoMessage ¶ added in v0.15.0
func (*IsCRDAvailableRequest) ProtoMessage()
func (*IsCRDAvailableRequest) ProtoReflect ¶ added in v0.15.0
func (x *IsCRDAvailableRequest) ProtoReflect() protoreflect.Message
func (*IsCRDAvailableRequest) Reset ¶ added in v0.15.0
func (x *IsCRDAvailableRequest) Reset()
func (*IsCRDAvailableRequest) String ¶ added in v0.15.0
func (x *IsCRDAvailableRequest) String() string
type IsCRDAvailableResponse ¶ added in v0.15.0
type IsCRDAvailableResponse struct {
Clusters map[string]bool `` /* 144-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*IsCRDAvailableResponse) Descriptor
deprecated
added in
v0.15.0
func (*IsCRDAvailableResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsCRDAvailableResponse.ProtoReflect.Descriptor instead.
func (*IsCRDAvailableResponse) GetClusters ¶ added in v0.15.0
func (x *IsCRDAvailableResponse) GetClusters() map[string]bool
func (*IsCRDAvailableResponse) ProtoMessage ¶ added in v0.15.0
func (*IsCRDAvailableResponse) ProtoMessage()
func (*IsCRDAvailableResponse) ProtoReflect ¶ added in v0.15.0
func (x *IsCRDAvailableResponse) ProtoReflect() protoreflect.Message
func (*IsCRDAvailableResponse) Reset ¶ added in v0.15.0
func (x *IsCRDAvailableResponse) Reset()
func (*IsCRDAvailableResponse) String ¶ added in v0.15.0
func (x *IsCRDAvailableResponse) String() string
type Kind ¶ added in v0.9.6
type Kind int32
* Kind enum defines the Kubernetes resource types used in the Core API.
const ( Kind_GitRepository Kind = 0 Kind_Bucket Kind = 1 Kind_HelmRepository Kind = 2 Kind_HelmChart Kind = 3 Kind_Kustomization Kind = 4 Kind_HelmRelease Kind = 5 Kind_Cluster Kind = 6 Kind_OCIRepository Kind = 7 Kind_Provider Kind = 8 Kind_Alert Kind = 9 Kind_ImageRepository Kind = 10 Kind_ImageUpdateAutomation Kind = 11 Kind_ImagePolicy Kind = 12 Kind_Pod Kind = 13 Kind_Policy Kind = 14 )
func (Kind) Descriptor ¶ added in v0.9.6
func (Kind) Descriptor() protoreflect.EnumDescriptor
func (Kind) EnumDescriptor
deprecated
added in
v0.9.6
func (Kind) Number ¶ added in v0.9.6
func (x Kind) Number() protoreflect.EnumNumber
func (Kind) Type ¶ added in v0.9.6
func (Kind) Type() protoreflect.EnumType
type ListError ¶ added in v0.8.1
type ListError struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ListError) Descriptor
deprecated
added in
v0.8.1
func (*ListError) GetClusterName ¶ added in v0.8.1
func (*ListError) GetMessage ¶ added in v0.8.1
func (*ListError) GetNamespace ¶ added in v0.8.1
func (*ListError) ProtoMessage ¶ added in v0.8.1
func (*ListError) ProtoMessage()
func (*ListError) ProtoReflect ¶ added in v0.8.1
func (x *ListError) ProtoReflect() protoreflect.Message
type ListEventsRequest ¶ added in v0.9.1
type ListEventsRequest struct {
InvolvedObject *ObjectRef `protobuf:"bytes,1,opt,name=involved_object,json=involvedObject,proto3" json:"involved_object,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventsRequest) Descriptor
deprecated
added in
v0.9.1
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetInvolvedObject ¶ added in v0.9.1
func (x *ListEventsRequest) GetInvolvedObject() *ObjectRef
func (*ListEventsRequest) ProtoMessage ¶ added in v0.9.1
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect ¶ added in v0.9.1
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset ¶ added in v0.9.1
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String ¶ added in v0.9.1
func (x *ListEventsRequest) String() string
type ListEventsResponse ¶ added in v0.9.1
type ListEventsResponse struct {
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventsResponse) Descriptor
deprecated
added in
v0.9.1
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetEvents ¶ added in v0.9.1
func (x *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) ProtoMessage ¶ added in v0.9.1
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) ProtoReflect ¶ added in v0.9.1
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (*ListEventsResponse) Reset ¶ added in v0.9.1
func (x *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶ added in v0.9.1
func (x *ListEventsResponse) String() string
type ListFluxCrdsRequest ¶ added in v0.9.2
type ListFluxCrdsRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*ListFluxCrdsRequest) Descriptor
deprecated
added in
v0.9.2
func (*ListFluxCrdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxCrdsRequest.ProtoReflect.Descriptor instead.
func (*ListFluxCrdsRequest) GetClusterName ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) GetClusterName() string
func (*ListFluxCrdsRequest) ProtoMessage ¶ added in v0.9.2
func (*ListFluxCrdsRequest) ProtoMessage()
func (*ListFluxCrdsRequest) ProtoReflect ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) ProtoReflect() protoreflect.Message
func (*ListFluxCrdsRequest) Reset ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) Reset()
func (*ListFluxCrdsRequest) String ¶ added in v0.9.2
func (x *ListFluxCrdsRequest) String() string
type ListFluxCrdsResponse ¶ added in v0.9.2
type ListFluxCrdsResponse struct {
Crds []*Crd `protobuf:"bytes,1,rep,name=crds,proto3" json:"crds,omitempty"`
Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ListFluxCrdsResponse) Descriptor
deprecated
added in
v0.9.2
func (*ListFluxCrdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxCrdsResponse.ProtoReflect.Descriptor instead.
func (*ListFluxCrdsResponse) GetCrds ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) GetCrds() []*Crd
func (*ListFluxCrdsResponse) GetErrors ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) GetErrors() []*ListError
func (*ListFluxCrdsResponse) ProtoMessage ¶ added in v0.9.2
func (*ListFluxCrdsResponse) ProtoMessage()
func (*ListFluxCrdsResponse) ProtoReflect ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) ProtoReflect() protoreflect.Message
func (*ListFluxCrdsResponse) Reset ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) Reset()
func (*ListFluxCrdsResponse) String ¶ added in v0.9.2
func (x *ListFluxCrdsResponse) String() string
type ListFluxRuntimeObjectsRequest ¶
type ListFluxRuntimeObjectsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*ListFluxRuntimeObjectsRequest) Descriptor
deprecated
func (*ListFluxRuntimeObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxRuntimeObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListFluxRuntimeObjectsRequest) GetClusterName ¶
func (x *ListFluxRuntimeObjectsRequest) GetClusterName() string
func (*ListFluxRuntimeObjectsRequest) GetNamespace ¶
func (x *ListFluxRuntimeObjectsRequest) GetNamespace() string
func (*ListFluxRuntimeObjectsRequest) ProtoMessage ¶
func (*ListFluxRuntimeObjectsRequest) ProtoMessage()
func (*ListFluxRuntimeObjectsRequest) ProtoReflect ¶
func (x *ListFluxRuntimeObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListFluxRuntimeObjectsRequest) Reset ¶
func (x *ListFluxRuntimeObjectsRequest) Reset()
func (*ListFluxRuntimeObjectsRequest) String ¶
func (x *ListFluxRuntimeObjectsRequest) String() string
type ListFluxRuntimeObjectsResponse ¶
type ListFluxRuntimeObjectsResponse struct {
Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ListFluxRuntimeObjectsResponse) Descriptor
deprecated
func (*ListFluxRuntimeObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFluxRuntimeObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListFluxRuntimeObjectsResponse) GetDeployments ¶
func (x *ListFluxRuntimeObjectsResponse) GetDeployments() []*Deployment
func (*ListFluxRuntimeObjectsResponse) GetErrors ¶ added in v0.8.1
func (x *ListFluxRuntimeObjectsResponse) GetErrors() []*ListError
func (*ListFluxRuntimeObjectsResponse) ProtoMessage ¶
func (*ListFluxRuntimeObjectsResponse) ProtoMessage()
func (*ListFluxRuntimeObjectsResponse) ProtoReflect ¶
func (x *ListFluxRuntimeObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListFluxRuntimeObjectsResponse) Reset ¶
func (x *ListFluxRuntimeObjectsResponse) Reset()
func (*ListFluxRuntimeObjectsResponse) String ¶
func (x *ListFluxRuntimeObjectsResponse) String() string
type ListNamespacesRequest ¶
type ListNamespacesRequest struct {
// contains filtered or unexported fields
}
func (*ListNamespacesRequest) Descriptor
deprecated
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesRequest) ProtoMessage ¶
func (*ListNamespacesRequest) ProtoMessage()
func (*ListNamespacesRequest) ProtoReflect ¶
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesRequest) Reset ¶
func (x *ListNamespacesRequest) Reset()
func (*ListNamespacesRequest) String ¶
func (x *ListNamespacesRequest) String() string
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
// contains filtered or unexported fields
}
func (*ListNamespacesResponse) Descriptor
deprecated
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (x *ListNamespacesResponse) String() string
type ListObjectsRequest ¶ added in v0.9.4
type ListObjectsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListObjectsRequest) Descriptor
deprecated
added in
v0.9.4
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListObjectsRequest) GetClusterName ¶ added in v0.9.5
func (x *ListObjectsRequest) GetClusterName() string
func (*ListObjectsRequest) GetKind ¶ added in v0.9.4
func (x *ListObjectsRequest) GetKind() string
func (*ListObjectsRequest) GetLabels ¶ added in v0.11.0
func (x *ListObjectsRequest) GetLabels() map[string]string
func (*ListObjectsRequest) GetNamespace ¶ added in v0.9.4
func (x *ListObjectsRequest) GetNamespace() string
func (*ListObjectsRequest) ProtoMessage ¶ added in v0.9.4
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) ProtoReflect ¶ added in v0.9.4
func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListObjectsRequest) Reset ¶ added in v0.9.4
func (x *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶ added in v0.9.4
func (x *ListObjectsRequest) String() string
type ListObjectsResponse ¶ added in v0.9.4
type ListObjectsResponse struct {
Objects []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
SearchedNamespaces []*ClusterNamespaceList `protobuf:"bytes,3,rep,name=searched_namespaces,json=searchedNamespaces,proto3" json:"searched_namespaces,omitempty"`
// contains filtered or unexported fields
}
func (*ListObjectsResponse) Descriptor
deprecated
added in
v0.9.4
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListObjectsResponse) GetErrors ¶ added in v0.9.4
func (x *ListObjectsResponse) GetErrors() []*ListError
func (*ListObjectsResponse) GetObjects ¶ added in v0.9.4
func (x *ListObjectsResponse) GetObjects() []*Object
func (*ListObjectsResponse) GetSearchedNamespaces ¶ added in v0.31.0
func (x *ListObjectsResponse) GetSearchedNamespaces() []*ClusterNamespaceList
func (*ListObjectsResponse) ProtoMessage ¶ added in v0.9.4
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) ProtoReflect ¶ added in v0.9.4
func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListObjectsResponse) Reset ¶ added in v0.9.4
func (x *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶ added in v0.9.4
func (x *ListObjectsResponse) String() string
type ListPoliciesRequest ¶ added in v0.25.0
type ListPoliciesRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListPoliciesRequest) Descriptor
deprecated
added in
v0.25.0
func (*ListPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListPoliciesRequest) GetClusterName ¶ added in v0.25.0
func (x *ListPoliciesRequest) GetClusterName() string
func (*ListPoliciesRequest) GetPagination ¶ added in v0.25.0
func (x *ListPoliciesRequest) GetPagination() *Pagination
func (*ListPoliciesRequest) ProtoMessage ¶ added in v0.25.0
func (*ListPoliciesRequest) ProtoMessage()
func (*ListPoliciesRequest) ProtoReflect ¶ added in v0.25.0
func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListPoliciesRequest) Reset ¶ added in v0.25.0
func (x *ListPoliciesRequest) Reset()
func (*ListPoliciesRequest) String ¶ added in v0.25.0
func (x *ListPoliciesRequest) String() string
type ListPoliciesResponse ¶ added in v0.25.0
type ListPoliciesResponse struct {
Policies []*PolicyObj `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
Errors []*ListError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ListPoliciesResponse) Descriptor
deprecated
added in
v0.25.0
func (*ListPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListPoliciesResponse) GetErrors ¶ added in v0.25.0
func (x *ListPoliciesResponse) GetErrors() []*ListError
func (*ListPoliciesResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListPoliciesResponse) GetNextPageToken() string
func (*ListPoliciesResponse) GetPolicies ¶ added in v0.25.0
func (x *ListPoliciesResponse) GetPolicies() []*PolicyObj
func (*ListPoliciesResponse) GetTotal ¶ added in v0.25.0
func (x *ListPoliciesResponse) GetTotal() int32
func (*ListPoliciesResponse) ProtoMessage ¶ added in v0.25.0
func (*ListPoliciesResponse) ProtoMessage()
func (*ListPoliciesResponse) ProtoReflect ¶ added in v0.25.0
func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListPoliciesResponse) Reset ¶ added in v0.25.0
func (x *ListPoliciesResponse) Reset()
func (*ListPoliciesResponse) String ¶ added in v0.25.0
func (x *ListPoliciesResponse) String() string
type ListPolicyValidationsRequest ¶ added in v0.25.0
type ListPolicyValidationsRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"`
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
PolicyId string `protobuf:"bytes,6,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
ValidationType string `protobuf:"bytes,7,opt,name=validation_type,json=validationType,proto3" json:"validation_type,omitempty"`
// contains filtered or unexported fields
}
func (*ListPolicyValidationsRequest) Descriptor
deprecated
added in
v0.25.0
func (*ListPolicyValidationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyValidationsRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyValidationsRequest) GetApplication ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetApplication() string
func (*ListPolicyValidationsRequest) GetClusterName ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetClusterName() string
func (*ListPolicyValidationsRequest) GetKind ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetKind() string
func (*ListPolicyValidationsRequest) GetNamespace ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetNamespace() string
func (*ListPolicyValidationsRequest) GetPagination ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetPagination() *Pagination
func (*ListPolicyValidationsRequest) GetPolicyId ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetPolicyId() string
func (*ListPolicyValidationsRequest) GetValidationType ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) GetValidationType() string
func (*ListPolicyValidationsRequest) ProtoMessage ¶ added in v0.25.0
func (*ListPolicyValidationsRequest) ProtoMessage()
func (*ListPolicyValidationsRequest) ProtoReflect ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) ProtoReflect() protoreflect.Message
func (*ListPolicyValidationsRequest) Reset ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) Reset()
func (*ListPolicyValidationsRequest) String ¶ added in v0.25.0
func (x *ListPolicyValidationsRequest) String() string
type ListPolicyValidationsResponse ¶ added in v0.25.0
type ListPolicyValidationsResponse struct {
Violations []*PolicyValidation `protobuf:"bytes,1,rep,name=violations,proto3" json:"violations,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
Errors []*ListError `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ListPolicyValidationsResponse) Descriptor
deprecated
added in
v0.25.0
func (*ListPolicyValidationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyValidationsResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyValidationsResponse) GetErrors ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) GetErrors() []*ListError
func (*ListPolicyValidationsResponse) GetNextPageToken ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) GetNextPageToken() string
func (*ListPolicyValidationsResponse) GetTotal ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) GetTotal() int32
func (*ListPolicyValidationsResponse) GetViolations ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) GetViolations() []*PolicyValidation
func (*ListPolicyValidationsResponse) ProtoMessage ¶ added in v0.25.0
func (*ListPolicyValidationsResponse) ProtoMessage()
func (*ListPolicyValidationsResponse) ProtoReflect ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) ProtoReflect() protoreflect.Message
func (*ListPolicyValidationsResponse) Reset ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) Reset()
func (*ListPolicyValidationsResponse) String ¶ added in v0.25.0
func (x *ListPolicyValidationsResponse) String() string
type ListRuntimeCrdsRequest ¶
type ListRuntimeCrdsRequest struct {
ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*ListRuntimeCrdsRequest) Descriptor
deprecated
func (*ListRuntimeCrdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRuntimeCrdsRequest.ProtoReflect.Descriptor instead.
func (*ListRuntimeCrdsRequest) GetClusterName ¶
func (x *ListRuntimeCrdsRequest) GetClusterName() string
func (*ListRuntimeCrdsRequest) ProtoMessage ¶
func (*ListRuntimeCrdsRequest) ProtoMessage()
func (*ListRuntimeCrdsRequest) ProtoReflect ¶
func (x *ListRuntimeCrdsRequest) ProtoReflect() protoreflect.Message
func (*ListRuntimeCrdsRequest) Reset ¶
func (x *ListRuntimeCrdsRequest) Reset()
func (*ListRuntimeCrdsRequest) String ¶
func (x *ListRuntimeCrdsRequest) String() string
type ListRuntimeCrdsResponse ¶
type ListRuntimeCrdsResponse struct {
Crds []*Crd `protobuf:"bytes,1,rep,name=crds,proto3" json:"crds,omitempty"`
Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ListRuntimeCrdsResponse) Descriptor
deprecated
func (*ListRuntimeCrdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRuntimeCrdsResponse.ProtoReflect.Descriptor instead.
func (*ListRuntimeCrdsResponse) GetCrds ¶
func (x *ListRuntimeCrdsResponse) GetCrds() []*Crd
func (*ListRuntimeCrdsResponse) GetErrors ¶
func (x *ListRuntimeCrdsResponse) GetErrors() []*ListError
func (*ListRuntimeCrdsResponse) ProtoMessage ¶
func (*ListRuntimeCrdsResponse) ProtoMessage()
func (*ListRuntimeCrdsResponse) ProtoReflect ¶
func (x *ListRuntimeCrdsResponse) ProtoReflect() protoreflect.Message
func (*ListRuntimeCrdsResponse) Reset ¶
func (x *ListRuntimeCrdsResponse) Reset()
func (*ListRuntimeCrdsResponse) String ¶
func (x *ListRuntimeCrdsResponse) String() string
type ListRuntimeObjectsRequest ¶
type ListRuntimeObjectsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*ListRuntimeObjectsRequest) Descriptor
deprecated
func (*ListRuntimeObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRuntimeObjectsRequest.ProtoReflect.Descriptor instead.
func (*ListRuntimeObjectsRequest) GetClusterName ¶
func (x *ListRuntimeObjectsRequest) GetClusterName() string
func (*ListRuntimeObjectsRequest) GetNamespace ¶
func (x *ListRuntimeObjectsRequest) GetNamespace() string
func (*ListRuntimeObjectsRequest) ProtoMessage ¶
func (*ListRuntimeObjectsRequest) ProtoMessage()
func (*ListRuntimeObjectsRequest) ProtoReflect ¶
func (x *ListRuntimeObjectsRequest) ProtoReflect() protoreflect.Message
func (*ListRuntimeObjectsRequest) Reset ¶
func (x *ListRuntimeObjectsRequest) Reset()
func (*ListRuntimeObjectsRequest) String ¶
func (x *ListRuntimeObjectsRequest) String() string
type ListRuntimeObjectsResponse ¶
type ListRuntimeObjectsResponse struct {
Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
Errors []*ListError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
func (*ListRuntimeObjectsResponse) Descriptor
deprecated
func (*ListRuntimeObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRuntimeObjectsResponse.ProtoReflect.Descriptor instead.
func (*ListRuntimeObjectsResponse) GetDeployments ¶
func (x *ListRuntimeObjectsResponse) GetDeployments() []*Deployment
func (*ListRuntimeObjectsResponse) GetErrors ¶
func (x *ListRuntimeObjectsResponse) GetErrors() []*ListError
func (*ListRuntimeObjectsResponse) ProtoMessage ¶
func (*ListRuntimeObjectsResponse) ProtoMessage()
func (*ListRuntimeObjectsResponse) ProtoReflect ¶
func (x *ListRuntimeObjectsResponse) ProtoReflect() protoreflect.Message
func (*ListRuntimeObjectsResponse) Reset ¶
func (x *ListRuntimeObjectsResponse) Reset()
func (*ListRuntimeObjectsResponse) String ¶
func (x *ListRuntimeObjectsResponse) String() string
type LogEntry ¶ added in v0.16.0
type LogEntry struct {
Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
SortingKey string `protobuf:"bytes,5,opt,name=sorting_key,json=sortingKey,proto3" json:"sorting_key,omitempty"`
// contains filtered or unexported fields
}
func (*LogEntry) Descriptor
deprecated
added in
v0.16.0
func (*LogEntry) GetMessage ¶ added in v0.16.0
func (*LogEntry) GetSortingKey ¶ added in v0.18.0
func (*LogEntry) GetTimestamp ¶ added in v0.16.0
func (*LogEntry) ProtoMessage ¶ added in v0.16.0
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶ added in v0.16.0
func (x *LogEntry) ProtoReflect() protoreflect.Message
type Namespace ¶
type Namespace struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Annotations map[string]string `` /* 149-byte string literal not displayed */
Labels map[string]string `` /* 139-byte string literal not displayed */
ClusterName string `protobuf:"bytes,5,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetAnnotations ¶
func (*Namespace) GetClusterName ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespacedObjectReference ¶ added in v0.9.5
type NamespacedObjectReference struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*NamespacedObjectReference) Descriptor
deprecated
added in
v0.9.5
func (*NamespacedObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use NamespacedObjectReference.ProtoReflect.Descriptor instead.
func (*NamespacedObjectReference) GetName ¶ added in v0.9.5
func (x *NamespacedObjectReference) GetName() string
func (*NamespacedObjectReference) GetNamespace ¶ added in v0.9.5
func (x *NamespacedObjectReference) GetNamespace() string
func (*NamespacedObjectReference) ProtoMessage ¶ added in v0.9.5
func (*NamespacedObjectReference) ProtoMessage()
func (*NamespacedObjectReference) ProtoReflect ¶ added in v0.9.5
func (x *NamespacedObjectReference) ProtoReflect() protoreflect.Message
func (*NamespacedObjectReference) Reset ¶ added in v0.9.5
func (x *NamespacedObjectReference) Reset()
func (*NamespacedObjectReference) String ¶ added in v0.9.5
func (x *NamespacedObjectReference) String() string
type Object ¶ added in v0.9.0
type Object struct {
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"`
Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"`
Inventory []*GroupVersionKind `protobuf:"bytes,5,rep,name=inventory,proto3" json:"inventory,omitempty"`
Info string `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"`
Health *HealthStatus `protobuf:"bytes,7,opt,name=health,proto3" json:"health,omitempty"`
// contains filtered or unexported fields
}
func (*Object) Descriptor
deprecated
added in
v0.9.0
func (*Object) GetClusterName ¶ added in v0.9.0
func (*Object) GetHealth ¶ added in v0.21.1
func (x *Object) GetHealth() *HealthStatus
func (*Object) GetInventory ¶ added in v0.9.6
func (x *Object) GetInventory() []*GroupVersionKind
func (*Object) GetPayload ¶ added in v0.9.0
func (*Object) ProtoMessage ¶ added in v0.9.0
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶ added in v0.9.0
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectRef ¶ added in v0.8.1
type ObjectRef struct {
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
// contains filtered or unexported fields
}
func (*ObjectRef) Descriptor
deprecated
added in
v0.8.1
func (*ObjectRef) GetClusterName ¶ added in v0.9.6
func (*ObjectRef) GetNamespace ¶ added in v0.8.1
func (*ObjectRef) ProtoMessage ¶ added in v0.8.1
func (*ObjectRef) ProtoMessage()
func (*ObjectRef) ProtoReflect ¶ added in v0.8.1
func (x *ObjectRef) ProtoReflect() protoreflect.Message
type Pagination ¶ added in v0.8.0
type Pagination struct {
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*Pagination) Descriptor
deprecated
added in
v0.8.0
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetPageSize ¶ added in v0.8.0
func (x *Pagination) GetPageSize() int32
func (*Pagination) GetPageToken ¶ added in v0.8.0
func (x *Pagination) GetPageToken() string
func (*Pagination) ProtoMessage ¶ added in v0.8.0
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶ added in v0.8.0
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶ added in v0.8.0
func (x *Pagination) Reset()
func (*Pagination) String ¶ added in v0.8.0
func (x *Pagination) String() string
type PolicyObj ¶ added in v0.25.0
type PolicyObj struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
HowToSolve string `protobuf:"bytes,5,opt,name=how_to_solve,json=howToSolve,proto3" json:"how_to_solve,omitempty"`
Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`
Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
Severity string `protobuf:"bytes,8,opt,name=severity,proto3" json:"severity,omitempty"`
Standards []*PolicyStandard `protobuf:"bytes,9,rep,name=standards,proto3" json:"standards,omitempty"`
GitCommit string `protobuf:"bytes,10,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"`
Parameters []*PolicyParam `protobuf:"bytes,11,rep,name=parameters,proto3" json:"parameters,omitempty"`
Targets *PolicyTargets `protobuf:"bytes,12,opt,name=targets,proto3" json:"targets,omitempty"`
CreatedAt string `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
ClusterName string `protobuf:"bytes,14,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Tenant string `protobuf:"bytes,15,opt,name=tenant,proto3" json:"tenant,omitempty"`
Modes []string `protobuf:"bytes,16,rep,name=modes,proto3" json:"modes,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyObj) Descriptor
deprecated
added in
v0.25.0
func (*PolicyObj) GetCategory ¶ added in v0.25.0
func (*PolicyObj) GetClusterName ¶ added in v0.25.0
func (*PolicyObj) GetCreatedAt ¶ added in v0.25.0
func (*PolicyObj) GetDescription ¶ added in v0.25.0
func (*PolicyObj) GetGitCommit ¶ added in v0.25.0
func (*PolicyObj) GetHowToSolve ¶ added in v0.25.0
func (*PolicyObj) GetParameters ¶ added in v0.25.0
func (x *PolicyObj) GetParameters() []*PolicyParam
func (*PolicyObj) GetSeverity ¶ added in v0.25.0
func (*PolicyObj) GetStandards ¶ added in v0.25.0
func (x *PolicyObj) GetStandards() []*PolicyStandard
func (*PolicyObj) GetTargets ¶ added in v0.25.0
func (x *PolicyObj) GetTargets() *PolicyTargets
func (*PolicyObj) ProtoMessage ¶ added in v0.25.0
func (*PolicyObj) ProtoMessage()
func (*PolicyObj) ProtoReflect ¶ added in v0.25.0
func (x *PolicyObj) ProtoReflect() protoreflect.Message
type PolicyParam ¶ added in v0.25.0
type PolicyParam struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// value is a generic value that can be a string, int, bool and array of
// strings
Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyParam) Descriptor
deprecated
added in
v0.25.0
func (*PolicyParam) Descriptor() ([]byte, []int)
Deprecated: Use PolicyParam.ProtoReflect.Descriptor instead.
func (*PolicyParam) GetName ¶ added in v0.25.0
func (x *PolicyParam) GetName() string
func (*PolicyParam) GetRequired ¶ added in v0.25.0
func (x *PolicyParam) GetRequired() bool
func (*PolicyParam) GetType ¶ added in v0.25.0
func (x *PolicyParam) GetType() string
func (*PolicyParam) GetValue ¶ added in v0.25.0
func (x *PolicyParam) GetValue() *anypb.Any
func (*PolicyParam) ProtoMessage ¶ added in v0.25.0
func (*PolicyParam) ProtoMessage()
func (*PolicyParam) ProtoReflect ¶ added in v0.25.0
func (x *PolicyParam) ProtoReflect() protoreflect.Message
func (*PolicyParam) Reset ¶ added in v0.25.0
func (x *PolicyParam) Reset()
func (*PolicyParam) String ¶ added in v0.25.0
func (x *PolicyParam) String() string
type PolicyParamRepeatedString ¶ added in v0.25.0
type PolicyParamRepeatedString struct {
Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyParamRepeatedString) Descriptor
deprecated
added in
v0.25.0
func (*PolicyParamRepeatedString) Descriptor() ([]byte, []int)
Deprecated: Use PolicyParamRepeatedString.ProtoReflect.Descriptor instead.
func (*PolicyParamRepeatedString) GetValue ¶ added in v0.25.0
func (x *PolicyParamRepeatedString) GetValue() []string
func (*PolicyParamRepeatedString) ProtoMessage ¶ added in v0.25.0
func (*PolicyParamRepeatedString) ProtoMessage()
func (*PolicyParamRepeatedString) ProtoReflect ¶ added in v0.25.0
func (x *PolicyParamRepeatedString) ProtoReflect() protoreflect.Message
func (*PolicyParamRepeatedString) Reset ¶ added in v0.25.0
func (x *PolicyParamRepeatedString) Reset()
func (*PolicyParamRepeatedString) String ¶ added in v0.25.0
func (x *PolicyParamRepeatedString) String() string
type PolicyStandard ¶ added in v0.25.0
type PolicyStandard struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Controls []string `protobuf:"bytes,2,rep,name=controls,proto3" json:"controls,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyStandard) Descriptor
deprecated
added in
v0.25.0
func (*PolicyStandard) Descriptor() ([]byte, []int)
Deprecated: Use PolicyStandard.ProtoReflect.Descriptor instead.
func (*PolicyStandard) GetControls ¶ added in v0.25.0
func (x *PolicyStandard) GetControls() []string
func (*PolicyStandard) GetId ¶ added in v0.25.0
func (x *PolicyStandard) GetId() string
func (*PolicyStandard) ProtoMessage ¶ added in v0.25.0
func (*PolicyStandard) ProtoMessage()
func (*PolicyStandard) ProtoReflect ¶ added in v0.25.0
func (x *PolicyStandard) ProtoReflect() protoreflect.Message
func (*PolicyStandard) Reset ¶ added in v0.25.0
func (x *PolicyStandard) Reset()
func (*PolicyStandard) String ¶ added in v0.25.0
func (x *PolicyStandard) String() string
type PolicyTargetLabel ¶ added in v0.25.0
type PolicyTargetLabel struct {
Values map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PolicyTargetLabel) Descriptor
deprecated
added in
v0.25.0
func (*PolicyTargetLabel) Descriptor() ([]byte, []int)
Deprecated: Use PolicyTargetLabel.ProtoReflect.Descriptor instead.
func (*PolicyTargetLabel) GetValues ¶ added in v0.25.0
func (x *PolicyTargetLabel) GetValues() map[string]string
func (*PolicyTargetLabel) ProtoMessage ¶ added in v0.25.0
func (*PolicyTargetLabel) ProtoMessage()
func (*PolicyTargetLabel) ProtoReflect ¶ added in v0.25.0
func (x *PolicyTargetLabel) ProtoReflect() protoreflect.Message
func (*PolicyTargetLabel) Reset ¶ added in v0.25.0
func (x *PolicyTargetLabel) Reset()
func (*PolicyTargetLabel) String ¶ added in v0.25.0
func (x *PolicyTargetLabel) String() string
type PolicyTargets ¶ added in v0.25.0
type PolicyTargets struct {
Kinds []string `protobuf:"bytes,1,rep,name=kinds,proto3" json:"kinds,omitempty"`
Labels []*PolicyTargetLabel `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyTargets) Descriptor
deprecated
added in
v0.25.0
func (*PolicyTargets) Descriptor() ([]byte, []int)
Deprecated: Use PolicyTargets.ProtoReflect.Descriptor instead.
func (*PolicyTargets) GetKinds ¶ added in v0.25.0
func (x *PolicyTargets) GetKinds() []string
func (*PolicyTargets) GetLabels ¶ added in v0.25.0
func (x *PolicyTargets) GetLabels() []*PolicyTargetLabel
func (*PolicyTargets) GetNamespaces ¶ added in v0.25.0
func (x *PolicyTargets) GetNamespaces() []string
func (*PolicyTargets) ProtoMessage ¶ added in v0.25.0
func (*PolicyTargets) ProtoMessage()
func (*PolicyTargets) ProtoReflect ¶ added in v0.25.0
func (x *PolicyTargets) ProtoReflect() protoreflect.Message
func (*PolicyTargets) Reset ¶ added in v0.25.0
func (x *PolicyTargets) Reset()
func (*PolicyTargets) String ¶ added in v0.25.0
func (x *PolicyTargets) String() string
type PolicyValidation ¶ added in v0.25.0
type PolicyValidation struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
Severity string `protobuf:"bytes,5,opt,name=severity,proto3" json:"severity,omitempty"`
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Entity string `protobuf:"bytes,7,opt,name=entity,proto3" json:"entity,omitempty"`
EntityKind string `protobuf:"bytes,8,opt,name=entity_kind,json=entityKind,proto3" json:"entity_kind,omitempty"`
Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"`
ViolatingEntity string `protobuf:"bytes,10,opt,name=violating_entity,json=violatingEntity,proto3" json:"violating_entity,omitempty"`
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
HowToSolve string `protobuf:"bytes,12,opt,name=how_to_solve,json=howToSolve,proto3" json:"how_to_solve,omitempty"`
Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"`
ClusterName string `protobuf:"bytes,14,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
Occurrences []*PolicyValidationOccurrence `protobuf:"bytes,15,rep,name=occurrences,proto3" json:"occurrences,omitempty"`
PolicyId string `protobuf:"bytes,16,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
Parameters []*PolicyValidationParam `protobuf:"bytes,17,rep,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyValidation) Descriptor
deprecated
added in
v0.25.0
func (*PolicyValidation) Descriptor() ([]byte, []int)
Deprecated: Use PolicyValidation.ProtoReflect.Descriptor instead.
func (*PolicyValidation) GetCategory ¶ added in v0.25.0
func (x *PolicyValidation) GetCategory() string
func (*PolicyValidation) GetClusterId ¶ added in v0.25.0
func (x *PolicyValidation) GetClusterId() string
func (*PolicyValidation) GetClusterName ¶ added in v0.25.0
func (x *PolicyValidation) GetClusterName() string
func (*PolicyValidation) GetCreatedAt ¶ added in v0.25.0
func (x *PolicyValidation) GetCreatedAt() string
func (*PolicyValidation) GetDescription ¶ added in v0.25.0
func (x *PolicyValidation) GetDescription() string
func (*PolicyValidation) GetEntity ¶ added in v0.25.0
func (x *PolicyValidation) GetEntity() string
func (*PolicyValidation) GetEntityKind ¶ added in v0.25.0
func (x *PolicyValidation) GetEntityKind() string
func (*PolicyValidation) GetHowToSolve ¶ added in v0.25.0
func (x *PolicyValidation) GetHowToSolve() string
func (*PolicyValidation) GetId ¶ added in v0.25.0
func (x *PolicyValidation) GetId() string
func (*PolicyValidation) GetMessage ¶ added in v0.25.0
func (x *PolicyValidation) GetMessage() string
func (*PolicyValidation) GetName ¶ added in v0.25.0
func (x *PolicyValidation) GetName() string
func (*PolicyValidation) GetNamespace ¶ added in v0.25.0
func (x *PolicyValidation) GetNamespace() string
func (*PolicyValidation) GetOccurrences ¶ added in v0.25.0
func (x *PolicyValidation) GetOccurrences() []*PolicyValidationOccurrence
func (*PolicyValidation) GetParameters ¶ added in v0.25.0
func (x *PolicyValidation) GetParameters() []*PolicyValidationParam
func (*PolicyValidation) GetPolicyId ¶ added in v0.25.0
func (x *PolicyValidation) GetPolicyId() string
func (*PolicyValidation) GetSeverity ¶ added in v0.25.0
func (x *PolicyValidation) GetSeverity() string
func (*PolicyValidation) GetViolatingEntity ¶ added in v0.25.0
func (x *PolicyValidation) GetViolatingEntity() string
func (*PolicyValidation) ProtoMessage ¶ added in v0.25.0
func (*PolicyValidation) ProtoMessage()
func (*PolicyValidation) ProtoReflect ¶ added in v0.25.0
func (x *PolicyValidation) ProtoReflect() protoreflect.Message
func (*PolicyValidation) Reset ¶ added in v0.25.0
func (x *PolicyValidation) Reset()
func (*PolicyValidation) String ¶ added in v0.25.0
func (x *PolicyValidation) String() string
type PolicyValidationOccurrence ¶ added in v0.25.0
type PolicyValidationOccurrence struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyValidationOccurrence) Descriptor
deprecated
added in
v0.25.0
func (*PolicyValidationOccurrence) Descriptor() ([]byte, []int)
Deprecated: Use PolicyValidationOccurrence.ProtoReflect.Descriptor instead.
func (*PolicyValidationOccurrence) GetMessage ¶ added in v0.25.0
func (x *PolicyValidationOccurrence) GetMessage() string
func (*PolicyValidationOccurrence) ProtoMessage ¶ added in v0.25.0
func (*PolicyValidationOccurrence) ProtoMessage()
func (*PolicyValidationOccurrence) ProtoReflect ¶ added in v0.25.0
func (x *PolicyValidationOccurrence) ProtoReflect() protoreflect.Message
func (*PolicyValidationOccurrence) Reset ¶ added in v0.25.0
func (x *PolicyValidationOccurrence) Reset()
func (*PolicyValidationOccurrence) String ¶ added in v0.25.0
func (x *PolicyValidationOccurrence) String() string
type PolicyValidationParam ¶ added in v0.25.0
type PolicyValidationParam struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
ConfigRef string `protobuf:"bytes,5,opt,name=config_ref,json=configRef,proto3" json:"config_ref,omitempty"`
// contains filtered or unexported fields
}
func (*PolicyValidationParam) Descriptor
deprecated
added in
v0.25.0
func (*PolicyValidationParam) Descriptor() ([]byte, []int)
Deprecated: Use PolicyValidationParam.ProtoReflect.Descriptor instead.
func (*PolicyValidationParam) GetConfigRef ¶ added in v0.25.0
func (x *PolicyValidationParam) GetConfigRef() string
func (*PolicyValidationParam) GetName ¶ added in v0.25.0
func (x *PolicyValidationParam) GetName() string
func (*PolicyValidationParam) GetRequired ¶ added in v0.25.0
func (x *PolicyValidationParam) GetRequired() bool
func (*PolicyValidationParam) GetType ¶ added in v0.25.0
func (x *PolicyValidationParam) GetType() string
func (*PolicyValidationParam) GetValue ¶ added in v0.25.0
func (x *PolicyValidationParam) GetValue() *anypb.Any
func (*PolicyValidationParam) ProtoMessage ¶ added in v0.25.0
func (*PolicyValidationParam) ProtoMessage()
func (*PolicyValidationParam) ProtoReflect ¶ added in v0.25.0
func (x *PolicyValidationParam) ProtoReflect() protoreflect.Message
func (*PolicyValidationParam) Reset ¶ added in v0.25.0
func (x *PolicyValidationParam) Reset()
func (*PolicyValidationParam) String ¶ added in v0.25.0
func (x *PolicyValidationParam) String() string
type SyncFluxObjectRequest ¶ added in v0.9.0
type SyncFluxObjectRequest struct {
Objects []*ObjectRef `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
WithSource bool `protobuf:"varint,2,opt,name=with_source,json=withSource,proto3" json:"with_source,omitempty"`
// contains filtered or unexported fields
}
func (*SyncFluxObjectRequest) Descriptor
deprecated
added in
v0.9.0
func (*SyncFluxObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncFluxObjectRequest.ProtoReflect.Descriptor instead.
func (*SyncFluxObjectRequest) GetObjects ¶ added in v0.9.5
func (x *SyncFluxObjectRequest) GetObjects() []*ObjectRef
func (*SyncFluxObjectRequest) GetWithSource ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) GetWithSource() bool
func (*SyncFluxObjectRequest) ProtoMessage ¶ added in v0.9.0
func (*SyncFluxObjectRequest) ProtoMessage()
func (*SyncFluxObjectRequest) ProtoReflect ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) ProtoReflect() protoreflect.Message
func (*SyncFluxObjectRequest) Reset ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) Reset()
func (*SyncFluxObjectRequest) String ¶ added in v0.9.0
func (x *SyncFluxObjectRequest) String() string
type SyncFluxObjectResponse ¶ added in v0.9.0
type SyncFluxObjectResponse struct {
// contains filtered or unexported fields
}
func (*SyncFluxObjectResponse) Descriptor
deprecated
added in
v0.9.0
func (*SyncFluxObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncFluxObjectResponse.ProtoReflect.Descriptor instead.
func (*SyncFluxObjectResponse) ProtoMessage ¶ added in v0.9.0
func (*SyncFluxObjectResponse) ProtoMessage()
func (*SyncFluxObjectResponse) ProtoReflect ¶ added in v0.9.0
func (x *SyncFluxObjectResponse) ProtoReflect() protoreflect.Message
func (*SyncFluxObjectResponse) Reset ¶ added in v0.9.0
func (x *SyncFluxObjectResponse) Reset()
func (*SyncFluxObjectResponse) String ¶ added in v0.9.0
func (x *SyncFluxObjectResponse) String() string
type ToggleSuspendResourceRequest ¶ added in v0.8.1
type ToggleSuspendResourceRequest struct {
Objects []*ObjectRef `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
Suspend bool `protobuf:"varint,2,opt,name=suspend,proto3" json:"suspend,omitempty"`
Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
// contains filtered or unexported fields
}
func (*ToggleSuspendResourceRequest) Descriptor
deprecated
added in
v0.8.1
func (*ToggleSuspendResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ToggleSuspendResourceRequest.ProtoReflect.Descriptor instead.
func (*ToggleSuspendResourceRequest) GetComment ¶ added in v0.37.0
func (x *ToggleSuspendResourceRequest) GetComment() string
func (*ToggleSuspendResourceRequest) GetObjects ¶ added in v0.9.4
func (x *ToggleSuspendResourceRequest) GetObjects() []*ObjectRef
func (*ToggleSuspendResourceRequest) GetSuspend ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) GetSuspend() bool
func (*ToggleSuspendResourceRequest) ProtoMessage ¶ added in v0.8.1
func (*ToggleSuspendResourceRequest) ProtoMessage()
func (*ToggleSuspendResourceRequest) ProtoReflect ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) ProtoReflect() protoreflect.Message
func (*ToggleSuspendResourceRequest) Reset ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) Reset()
func (*ToggleSuspendResourceRequest) String ¶ added in v0.8.1
func (x *ToggleSuspendResourceRequest) String() string
type ToggleSuspendResourceResponse ¶ added in v0.8.1
type ToggleSuspendResourceResponse struct {
// contains filtered or unexported fields
}
func (*ToggleSuspendResourceResponse) Descriptor
deprecated
added in
v0.8.1
func (*ToggleSuspendResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ToggleSuspendResourceResponse.ProtoReflect.Descriptor instead.
func (*ToggleSuspendResourceResponse) ProtoMessage ¶ added in v0.8.1
func (*ToggleSuspendResourceResponse) ProtoMessage()
func (*ToggleSuspendResourceResponse) ProtoReflect ¶ added in v0.8.1
func (x *ToggleSuspendResourceResponse) ProtoReflect() protoreflect.Message
func (*ToggleSuspendResourceResponse) Reset ¶ added in v0.8.1
func (x *ToggleSuspendResourceResponse) Reset()
func (*ToggleSuspendResourceResponse) String ¶ added in v0.8.1
func (x *ToggleSuspendResourceResponse) String() string
type UnimplementedCoreServer ¶
type UnimplementedCoreServer struct{}
UnimplementedCoreServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCoreServer) GetChildObjects ¶
func (UnimplementedCoreServer) GetChildObjects(context.Context, *GetChildObjectsRequest) (*GetChildObjectsResponse, error)
func (UnimplementedCoreServer) GetFeatureFlags ¶ added in v0.8.1
func (UnimplementedCoreServer) GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*GetFeatureFlagsResponse, error)
func (UnimplementedCoreServer) GetFluxNamespace ¶
func (UnimplementedCoreServer) GetFluxNamespace(context.Context, *GetFluxNamespaceRequest) (*GetFluxNamespaceResponse, error)
func (UnimplementedCoreServer) GetInventory ¶ added in v0.20.0
func (UnimplementedCoreServer) GetInventory(context.Context, *GetInventoryRequest) (*GetInventoryResponse, error)
func (UnimplementedCoreServer) GetObject ¶ added in v0.9.0
func (UnimplementedCoreServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
func (UnimplementedCoreServer) GetPolicy ¶ added in v0.25.0
func (UnimplementedCoreServer) GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
func (UnimplementedCoreServer) GetPolicyValidation ¶ added in v0.25.0
func (UnimplementedCoreServer) GetPolicyValidation(context.Context, *GetPolicyValidationRequest) (*GetPolicyValidationResponse, error)
func (UnimplementedCoreServer) GetReconciledObjects ¶
func (UnimplementedCoreServer) GetReconciledObjects(context.Context, *GetReconciledObjectsRequest) (*GetReconciledObjectsResponse, error)
func (UnimplementedCoreServer) GetSessionLogs ¶ added in v0.13.0
func (UnimplementedCoreServer) GetSessionLogs(context.Context, *GetSessionLogsRequest) (*GetSessionLogsResponse, error)
func (UnimplementedCoreServer) GetVersion ¶ added in v0.8.1
func (UnimplementedCoreServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
func (UnimplementedCoreServer) IsCRDAvailable ¶ added in v0.15.0
func (UnimplementedCoreServer) IsCRDAvailable(context.Context, *IsCRDAvailableRequest) (*IsCRDAvailableResponse, error)
func (UnimplementedCoreServer) ListEvents ¶ added in v0.9.1
func (UnimplementedCoreServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (UnimplementedCoreServer) ListFluxCrds ¶ added in v0.9.2
func (UnimplementedCoreServer) ListFluxCrds(context.Context, *ListFluxCrdsRequest) (*ListFluxCrdsResponse, error)
func (UnimplementedCoreServer) ListFluxRuntimeObjects ¶
func (UnimplementedCoreServer) ListFluxRuntimeObjects(context.Context, *ListFluxRuntimeObjectsRequest) (*ListFluxRuntimeObjectsResponse, error)
func (UnimplementedCoreServer) ListNamespaces ¶
func (UnimplementedCoreServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (UnimplementedCoreServer) ListObjects ¶ added in v0.9.4
func (UnimplementedCoreServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
func (UnimplementedCoreServer) ListPolicies ¶ added in v0.25.0
func (UnimplementedCoreServer) ListPolicies(context.Context, *ListPoliciesRequest) (*ListPoliciesResponse, error)
func (UnimplementedCoreServer) ListPolicyValidations ¶ added in v0.25.0
func (UnimplementedCoreServer) ListPolicyValidations(context.Context, *ListPolicyValidationsRequest) (*ListPolicyValidationsResponse, error)
func (UnimplementedCoreServer) ListRuntimeCrds ¶
func (UnimplementedCoreServer) ListRuntimeCrds(context.Context, *ListRuntimeCrdsRequest) (*ListRuntimeCrdsResponse, error)
func (UnimplementedCoreServer) ListRuntimeObjects ¶
func (UnimplementedCoreServer) ListRuntimeObjects(context.Context, *ListRuntimeObjectsRequest) (*ListRuntimeObjectsResponse, error)
func (UnimplementedCoreServer) SyncFluxObject ¶ added in v0.9.0
func (UnimplementedCoreServer) SyncFluxObject(context.Context, *SyncFluxObjectRequest) (*SyncFluxObjectResponse, error)
func (UnimplementedCoreServer) ToggleSuspendResource ¶ added in v0.8.1
func (UnimplementedCoreServer) ToggleSuspendResource(context.Context, *ToggleSuspendResourceRequest) (*ToggleSuspendResourceResponse, error)
type UnsafeCoreServer ¶
type UnsafeCoreServer interface {
// contains filtered or unexported methods
}
UnsafeCoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServer will result in compilation errors.