Documentation
¶
Overview ¶
Package v1alpha contains API Schema definitions for the core v1alpha API group
Index ¶
- Constants
- Variables
- func ParseScope(scope string) (surface, nameGlob string, err error)
- func Resource(resource string) schema.GroupResource
- func ScopesAllow(scopes []string, surface, name string) bool
- type Address
- type AgentStatus
- type AxiomCredentials
- type Backend
- func (p *Backend) ConvertFromStorageVersion(storageObj runtime.Object) error
- func (p *Backend) ConvertToStorageVersion(storageObj runtime.Object) error
- func (in *Backend) DeepCopy() *Backend
- func (in *Backend) DeepCopyInto(out *Backend)
- func (in *Backend) DeepCopyObject() runtime.Object
- func (r *Backend) Default()
- func (p *Backend) GetGroupVersionResource() schema.GroupVersionResource
- func (p *Backend) GetObjectMeta() *metav1.ObjectMeta
- func (p *Backend) GetSingularName() string
- func (p *Backend) GetStatus() resource.StatusSubResource
- func (p *Backend) IsStorageVersion() bool
- func (p *Backend) NamespaceScoped() bool
- func (p *Backend) New() runtime.Object
- func (p *Backend) NewList() runtime.Object
- func (p *Backend) NewStorageVersionObject() runtime.Object
- func (r *Backend) Validate(ctx context.Context) field.ErrorList
- func (r *Backend) ValidateUpdate(ctx context.Context, obj runtime.Object) field.ErrorList
- type BackendEndpoint
- type BackendList
- type BackendProto
- type BackendSpec
- type BackendStatus
- type CloudMonitoringIntegration
- func (c *CloudMonitoringIntegration) ConvertFromStorageVersion(storageObj runtime.Object) error
- func (c *CloudMonitoringIntegration) ConvertToStorageVersion(storageObj runtime.Object) error
- func (in *CloudMonitoringIntegration) DeepCopy() *CloudMonitoringIntegration
- func (in *CloudMonitoringIntegration) DeepCopyInto(out *CloudMonitoringIntegration)
- func (in *CloudMonitoringIntegration) DeepCopyObject() runtime.Object
- func (c *CloudMonitoringIntegration) GetGroupVersionResource() schema.GroupVersionResource
- func (c *CloudMonitoringIntegration) GetObjectMeta() *metav1.ObjectMeta
- func (c *CloudMonitoringIntegration) GetSingularName() string
- func (c *CloudMonitoringIntegration) GetStatus() resource.StatusSubResource
- func (c *CloudMonitoringIntegration) IsStorageVersion() bool
- func (c *CloudMonitoringIntegration) NamespaceScoped() bool
- func (c *CloudMonitoringIntegration) New() runtime.Object
- func (c *CloudMonitoringIntegration) NewList() runtime.Object
- func (c *CloudMonitoringIntegration) NewStorageVersionObject() runtime.Object
- func (c *CloudMonitoringIntegration) Validate(ctx context.Context) field.ErrorList
- func (c *CloudMonitoringIntegration) ValidateUpdate(ctx context.Context, obj runtime.Object) field.ErrorList
- type CloudMonitoringIntegrationList
- func (in *CloudMonitoringIntegrationList) DeepCopy() *CloudMonitoringIntegrationList
- func (in *CloudMonitoringIntegrationList) DeepCopyInto(out *CloudMonitoringIntegrationList)
- func (in *CloudMonitoringIntegrationList) DeepCopyObject() runtime.Object
- func (l *CloudMonitoringIntegrationList) GetListMeta() *metav1.ListMeta
- type CloudMonitoringIntegrationSpec
- type CloudMonitoringIntegrationStatus
- func (s *CloudMonitoringIntegrationStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
- func (in *CloudMonitoringIntegrationStatus) DeepCopy() *CloudMonitoringIntegrationStatus
- func (in *CloudMonitoringIntegrationStatus) DeepCopyInto(out *CloudMonitoringIntegrationStatus)
- func (s *CloudMonitoringIntegrationStatus) SubResourceName() string
- type DatadogCredentials
- type DomainZone
- func (a *DomainZone) ConvertFromStorageVersion(storageObj runtime.Object) error
- func (a *DomainZone) ConvertToStorageVersion(storageObj runtime.Object) error
- func (in *DomainZone) DeepCopy() *DomainZone
- func (in *DomainZone) DeepCopyInto(out *DomainZone)
- func (in *DomainZone) DeepCopyObject() runtime.Object
- func (a *DomainZone) GetGroupVersionResource() schema.GroupVersionResource
- func (a *DomainZone) GetObjectMeta() *metav1.ObjectMeta
- func (a *DomainZone) GetSingularName() string
- func (a *DomainZone) GetStatus() resource.StatusSubResource
- func (a *DomainZone) IsStorageVersion() bool
- func (a *DomainZone) NamespaceScoped() bool
- func (a *DomainZone) New() runtime.Object
- func (a *DomainZone) NewList() runtime.Object
- func (a *DomainZone) NewStorageVersionObject() runtime.Object
- type DomainZoneList
- type DomainZonePhase
- type DomainZoneSpec
- type DomainZoneStatus
- type DynamicProxyDNSLookupFamily
- type DynamicProxyDnsCacheConfig
- type DynamicProxySpec
- type EgressGatewaySpec
- type GrafanaCredentials
- type Group
- type Kind
- type LocalObjectReference
- type NameserverStatus
- type Namespace
- type ObjectName
- type Registrant
- type RegistrationConfig
- type RegistrationStatus
- type SecretKeyStatus
- type SecretStore
- func (s *SecretStore) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
- func (in *SecretStore) DeepCopy() *SecretStore
- func (in *SecretStore) DeepCopyInto(out *SecretStore)
- func (in *SecretStore) DeepCopyObject() runtime.Object
- func (s *SecretStore) GetGroupVersionResource() schema.GroupVersionResource
- func (s *SecretStore) GetObjectMeta() *metav1.ObjectMeta
- func (s *SecretStore) GetSingularName() string
- func (s *SecretStore) GetStatus() resource.StatusSubResource
- func (s *SecretStore) IsStorageVersion() bool
- func (s *SecretStore) NamespaceScoped() bool
- func (s *SecretStore) New() runtime.Object
- func (s *SecretStore) NewList() runtime.Object
- func (s *SecretStore) PrepareForCreate(ctx context.Context)
- func (s *SecretStore) PrepareForUpdate(ctx context.Context, old runtime.Object)
- func (s *SecretStore) ScopeAllows(surface, name string) bool
- func (s *SecretStore) Validate(ctx context.Context) field.ErrorList
- func (s *SecretStore) ValidateUpdate(ctx context.Context, _ runtime.Object) field.ErrorList
- type SecretStoreList
- func (sl *SecretStoreList) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
- func (in *SecretStoreList) DeepCopy() *SecretStoreList
- func (in *SecretStoreList) DeepCopyInto(out *SecretStoreList)
- func (in *SecretStoreList) DeepCopyObject() runtime.Object
- func (sl *SecretStoreList) GetListMeta() *metav1.ListMeta
- type SecretStoreSpec
- type SecretStoreStatus
- type SecretStoreValues
- type TunnelNode
- func (tn *TunnelNode) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
- func (in *TunnelNode) DeepCopy() *TunnelNode
- func (in *TunnelNode) DeepCopyInto(out *TunnelNode)
- func (in *TunnelNode) DeepCopyObject() runtime.Object
- func (p *TunnelNode) GetGroupVersionResource() schema.GroupVersionResource
- func (p *TunnelNode) GetObjectMeta() *metav1.ObjectMeta
- func (p *TunnelNode) GetSingularName() string
- func (p *TunnelNode) GetStatus() resource.StatusSubResource
- func (p *TunnelNode) IsStorageVersion() bool
- func (p *TunnelNode) NamespaceScoped() bool
- func (p *TunnelNode) New() runtime.Object
- func (p *TunnelNode) NewList() runtime.Object
- type TunnelNodeCredentials
- type TunnelNodeList
- func (l *TunnelNodeList) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
- func (in *TunnelNodeList) DeepCopy() *TunnelNodeList
- func (in *TunnelNodeList) DeepCopyInto(out *TunnelNodeList)
- func (in *TunnelNodeList) DeepCopyObject() runtime.Object
- func (pl *TunnelNodeList) GetListMeta() *metav1.ListMeta
- type TunnelNodeSpec
- type TunnelNodeStatus
Constants ¶
const GroupName = "core.apoxy.dev"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Deprecated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func ParseScope ¶
ParseScope splits a scope of the form "<surface>" or "<surface>:<name-glob>" and validates its syntax. A bare surface is equivalent to "<surface>:*".
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func ScopesAllow ¶
ScopesAllow reports whether a scope list admits the named consumer on the given surface. An empty list admits every consumer.
Types ¶
type Address ¶
type Address struct {
// Address line 1.
// +optional
AddressLine1 string `json:"addressLine1,omitempty"`
// Address line 2.
// +optional
AddressLine2 string `json:"addressLine2,omitempty"`
// City.
// +optional
City string `json:"city,omitempty"`
// State or province.
// +optional
StateProvince string `json:"stateProvince,omitempty"`
// PostalCode or ZIP code.
// +optional
PostalCode string `json:"postalCode,omitempty"`
// Country code (ISO 3166-1 alpha-2).
// +optional
Country string `json:"country,omitempty"`
}
Address contains postal address information.
func (*Address) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Address.
func (*Address) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentStatus ¶
type AgentStatus struct {
// Name is the name of the agent. Must be unique within the tunnel node.
Name string `json:"name,omitempty"`
// ConnectedAt is the time when the agent was connected to the tunnel node.
ConnectedAt *metav1.Time `json:"connectedAt,omitempty"`
// Private address of the proxy servicing the tunnel.
// Valid values are IPv4, IPv6, or a hostname.
PrivateAddress string `json:"privateAddress,omitempty"`
// Overlay address of the agent. Currently we're using a /96 prefix which
// can be used for 4in6 tunneling.
AgentAddress string `json:"agentAddress,omitempty"`
// Extra addresses of the agent (for additional v4/v6 overlays, if configured).
// +optional
AgentAddresses []string `json:"agentAddresses,omitempty"`
// Labels are metadata key-value pairs associated with this agent connection.
// Used to identify cluster membership, failure domains, etc.
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
func (*AgentStatus) DeepCopy ¶
func (in *AgentStatus) DeepCopy() *AgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.
func (*AgentStatus) DeepCopyInto ¶
func (in *AgentStatus) DeepCopyInto(out *AgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AxiomCredentials ¶
type AxiomCredentials struct {
// APIToken is the Axiom API token.
// This field should reference a secret in production environments.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
APIToken string `json:"apiToken"`
// Region specifies the Axiom region.
// Common values: us, eu
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?$`
Region string `json:"region"`
// DatasetName is the name of the Axiom dataset to send data to.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
DatasetName string `json:"datasetName"`
}
AxiomCredentials contains credentials for Axiom integration.
func (*AxiomCredentials) DeepCopy ¶
func (in *AxiomCredentials) DeepCopy() *AxiomCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AxiomCredentials.
func (*AxiomCredentials) DeepCopyInto ¶
func (in *AxiomCredentials) DeepCopyInto(out *AxiomCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Backend ¶
type Backend struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BackendSpec `json:"spec,omitempty"`
Status BackendStatus `json:"status,omitempty"`
}
Backend configures a backend (upstream) endpoint for a Proxy.
func (*Backend) ConvertFromStorageVersion ¶
func (*Backend) ConvertToStorageVersion ¶
func (*Backend) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backend) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Backend) Default ¶
func (r *Backend) Default()
Default normalizes user-supplied fields before validation. The xDS translator matches Spec.Protocol case-sensitively, so lowercase on write to keep "H2" from silently falling through to plaintext.
func (*Backend) GetGroupVersionResource ¶
func (p *Backend) GetGroupVersionResource() schema.GroupVersionResource
func (*Backend) GetObjectMeta ¶
func (p *Backend) GetObjectMeta() *metav1.ObjectMeta
func (*Backend) GetSingularName ¶
func (*Backend) GetStatus ¶
func (p *Backend) GetStatus() resource.StatusSubResource
func (*Backend) IsStorageVersion ¶
func (*Backend) NamespaceScoped ¶
func (*Backend) NewStorageVersionObject ¶
type BackendEndpoint ¶
type BackendEndpoint struct {
// FQDN is the fully qualified domain name of the endpoint.
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9]))*$`
// +optional
FQDN string `json:"fqdn,omitempty"`
// Endpoint defined as an IPv4/IPv6 address.
// +kubebuilder:validation:Format=ipv4
// +kubebuilder:validation:Format=ipv6
// +optional
IP string `json:"ip,omitempty"`
}
func (*BackendEndpoint) DeepCopy ¶
func (in *BackendEndpoint) DeepCopy() *BackendEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendEndpoint.
func (*BackendEndpoint) DeepCopyInto ¶
func (in *BackendEndpoint) DeepCopyInto(out *BackendEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendList ¶
type BackendList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Backend `json:"items"`
}
BackendList contains a list of Backend objects.
func (*BackendList) DeepCopy ¶
func (in *BackendList) DeepCopy() *BackendList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendList.
func (*BackendList) DeepCopyInto ¶
func (in *BackendList) DeepCopyInto(out *BackendList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackendList) DeepCopyObject ¶
func (in *BackendList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackendList) GetListMeta ¶
func (pl *BackendList) GetListMeta() *metav1.ListMeta
type BackendProto ¶
type BackendProto string
BackendProto defines the protocol to use for the backend. +kubebuilder:validation:Enum="";tls;h2;h2c
const ( // BackendProtoTLS allows requests to be forwarded to the backend over TLS. // Should be used for HTTP/1.1 over TLS. BackendProtoTLS BackendProto = "tls" // BackendProtoH2 allows requests to be forwarded to the backend over HTTP/2. // Should be used for HTTP/2 over TLS. BackendProtoH2 BackendProto = "h2" // BackendProtoH2C allows requests to be forwarded to the backend over HTTP/2 cleartext. BackendProtoH2C BackendProto = "h2c" )
type BackendSpec ¶
type BackendSpec struct {
// List of endpoints to connect to.
Endpoints []BackendEndpoint `json:"endpoints"`
// Specifies whether the backend should be dynamically proxied.
// If specified, Envoy's HTTP Dynamic Forward Proxy will be used to proxy requests to the backend.
// See: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_proxy#arch-overview-http-dynamic-forward-proxy
// +optional
DynamicProxy *DynamicProxySpec `json:"dynamicProxy,omitempty"`
// Protocol defines a protocol to use for the backend.
Protocol BackendProto `json:"protocol"`
}
func (*BackendSpec) DeepCopy ¶
func (in *BackendSpec) DeepCopy() *BackendSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendSpec.
func (*BackendSpec) DeepCopyInto ¶
func (in *BackendSpec) DeepCopyInto(out *BackendSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendStatus ¶
type BackendStatus struct {
// Conditions describe the current conditions of the Backend.
// +optional
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
func (*BackendStatus) CopyTo ¶
func (ps *BackendStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
func (*BackendStatus) DeepCopy ¶
func (in *BackendStatus) DeepCopy() *BackendStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendStatus.
func (*BackendStatus) DeepCopyInto ¶
func (in *BackendStatus) DeepCopyInto(out *BackendStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackendStatus) SubResourceName ¶
func (ps *BackendStatus) SubResourceName() string
type CloudMonitoringIntegration ¶
type CloudMonitoringIntegration struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CloudMonitoringIntegrationSpec `json:"spec,omitempty"`
Status CloudMonitoringIntegrationStatus `json:"status,omitempty"`
}
CloudMonitoringIntegration configures integration with cloud monitoring and observability platforms.
func (*CloudMonitoringIntegration) ConvertFromStorageVersion ¶
func (c *CloudMonitoringIntegration) ConvertFromStorageVersion(storageObj runtime.Object) error
func (*CloudMonitoringIntegration) ConvertToStorageVersion ¶
func (c *CloudMonitoringIntegration) ConvertToStorageVersion(storageObj runtime.Object) error
func (*CloudMonitoringIntegration) DeepCopy ¶
func (in *CloudMonitoringIntegration) DeepCopy() *CloudMonitoringIntegration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMonitoringIntegration.
func (*CloudMonitoringIntegration) DeepCopyInto ¶
func (in *CloudMonitoringIntegration) DeepCopyInto(out *CloudMonitoringIntegration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMonitoringIntegration) DeepCopyObject ¶
func (in *CloudMonitoringIntegration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudMonitoringIntegration) GetGroupVersionResource ¶
func (c *CloudMonitoringIntegration) GetGroupVersionResource() schema.GroupVersionResource
func (*CloudMonitoringIntegration) GetObjectMeta ¶
func (c *CloudMonitoringIntegration) GetObjectMeta() *metav1.ObjectMeta
func (*CloudMonitoringIntegration) GetSingularName ¶
func (c *CloudMonitoringIntegration) GetSingularName() string
func (*CloudMonitoringIntegration) GetStatus ¶
func (c *CloudMonitoringIntegration) GetStatus() resource.StatusSubResource
func (*CloudMonitoringIntegration) IsStorageVersion ¶
func (c *CloudMonitoringIntegration) IsStorageVersion() bool
func (*CloudMonitoringIntegration) NamespaceScoped ¶
func (c *CloudMonitoringIntegration) NamespaceScoped() bool
func (*CloudMonitoringIntegration) New ¶
func (c *CloudMonitoringIntegration) New() runtime.Object
func (*CloudMonitoringIntegration) NewList ¶
func (c *CloudMonitoringIntegration) NewList() runtime.Object
func (*CloudMonitoringIntegration) NewStorageVersionObject ¶
func (c *CloudMonitoringIntegration) NewStorageVersionObject() runtime.Object
func (*CloudMonitoringIntegration) Validate ¶
func (c *CloudMonitoringIntegration) Validate(ctx context.Context) field.ErrorList
func (*CloudMonitoringIntegration) ValidateUpdate ¶
type CloudMonitoringIntegrationList ¶
type CloudMonitoringIntegrationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CloudMonitoringIntegration `json:"items"`
}
CloudMonitoringIntegrationList contains a list of CloudMonitoringIntegration objects.
func (*CloudMonitoringIntegrationList) DeepCopy ¶
func (in *CloudMonitoringIntegrationList) DeepCopy() *CloudMonitoringIntegrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMonitoringIntegrationList.
func (*CloudMonitoringIntegrationList) DeepCopyInto ¶
func (in *CloudMonitoringIntegrationList) DeepCopyInto(out *CloudMonitoringIntegrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMonitoringIntegrationList) DeepCopyObject ¶
func (in *CloudMonitoringIntegrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudMonitoringIntegrationList) GetListMeta ¶
func (l *CloudMonitoringIntegrationList) GetListMeta() *metav1.ListMeta
type CloudMonitoringIntegrationSpec ¶
type CloudMonitoringIntegrationSpec struct {
// Enabled indicates whether the monitoring integration is active.
// +kubebuilder:default=true
// +optional
Enabled bool `json:"enabled,omitempty"`
// DatadogCredentials configures DataDog integration.
// Only one of DatadogCredentials, GrafanaCredentials, or AxiomCredentials may be specified.
// +optional
DatadogCredentials *DatadogCredentials `json:"datadogCredentials,omitempty"`
// GrafanaCredentials configures Grafana Cloud integration.
// Only one of DatadogCredentials, GrafanaCredentials, or AxiomCredentials may be specified.
// +optional
GrafanaCredentials *GrafanaCredentials `json:"grafanaCredentials,omitempty"`
// AxiomCredentials configures Axiom integration.
// Only one of DatadogCredentials, GrafanaCredentials, or AxiomCredentials may be specified.
// +optional
AxiomCredentials *AxiomCredentials `json:"axiomCredentials,omitempty"`
}
CloudMonitoringIntegrationSpec defines the desired state of CloudMonitoringIntegration.
func (*CloudMonitoringIntegrationSpec) DeepCopy ¶
func (in *CloudMonitoringIntegrationSpec) DeepCopy() *CloudMonitoringIntegrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMonitoringIntegrationSpec.
func (*CloudMonitoringIntegrationSpec) DeepCopyInto ¶
func (in *CloudMonitoringIntegrationSpec) DeepCopyInto(out *CloudMonitoringIntegrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudMonitoringIntegrationStatus ¶
type CloudMonitoringIntegrationStatus struct {
// Conditions describe the current conditions of the CloudMonitoringIntegration.
// +optional
// +listType=map
// +listMapKey=type
// +kubebuilder:validation:MaxItems=8
Conditions []metav1.Condition `json:"conditions,omitempty"`
// LastSyncTime is the last time the integration successfully synced with the monitoring platform.
// +optional
LastSyncTime *metav1.Time `json:"lastSyncTime,omitempty"`
// ObservedGeneration reflects the generation of the most recently observed CloudMonitoringIntegration.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
CloudMonitoringIntegrationStatus defines the observed state of CloudMonitoringIntegration.
func (*CloudMonitoringIntegrationStatus) CopyTo ¶
func (s *CloudMonitoringIntegrationStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
func (*CloudMonitoringIntegrationStatus) DeepCopy ¶
func (in *CloudMonitoringIntegrationStatus) DeepCopy() *CloudMonitoringIntegrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMonitoringIntegrationStatus.
func (*CloudMonitoringIntegrationStatus) DeepCopyInto ¶
func (in *CloudMonitoringIntegrationStatus) DeepCopyInto(out *CloudMonitoringIntegrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMonitoringIntegrationStatus) SubResourceName ¶
func (s *CloudMonitoringIntegrationStatus) SubResourceName() string
type DatadogCredentials ¶
type DatadogCredentials struct {
// APIKey is the DataDog API key.
// This field should reference a secret in production environments.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
APIKey string `json:"apiKey"`
// Site specifies the DataDog site to send data to.
// Common values: datadoghq.com, datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ddog-gov.com
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
// +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
Site string `json:"site"`
}
DatadogCredentials contains credentials for DataDog integration.
func (*DatadogCredentials) DeepCopy ¶
func (in *DatadogCredentials) DeepCopy() *DatadogCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatadogCredentials.
func (*DatadogCredentials) DeepCopyInto ¶
func (in *DatadogCredentials) DeepCopyInto(out *DatadogCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainZone ¶
type DomainZone struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DomainZoneSpec `json:"spec,omitempty"`
Status DomainZoneStatus `json:"status,omitempty"`
}
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*DomainZone) ConvertFromStorageVersion ¶
func (a *DomainZone) ConvertFromStorageVersion(storageObj runtime.Object) error
func (*DomainZone) ConvertToStorageVersion ¶
func (a *DomainZone) ConvertToStorageVersion(storageObj runtime.Object) error
func (*DomainZone) DeepCopy ¶
func (in *DomainZone) DeepCopy() *DomainZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZone.
func (*DomainZone) DeepCopyInto ¶
func (in *DomainZone) DeepCopyInto(out *DomainZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DomainZone) DeepCopyObject ¶
func (in *DomainZone) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DomainZone) GetGroupVersionResource ¶
func (a *DomainZone) GetGroupVersionResource() schema.GroupVersionResource
func (*DomainZone) GetObjectMeta ¶
func (a *DomainZone) GetObjectMeta() *metav1.ObjectMeta
func (*DomainZone) GetSingularName ¶
func (a *DomainZone) GetSingularName() string
func (*DomainZone) GetStatus ¶
func (a *DomainZone) GetStatus() resource.StatusSubResource
func (*DomainZone) IsStorageVersion ¶
func (a *DomainZone) IsStorageVersion() bool
func (*DomainZone) NamespaceScoped ¶
func (a *DomainZone) NamespaceScoped() bool
func (*DomainZone) New ¶
func (a *DomainZone) New() runtime.Object
func (*DomainZone) NewList ¶
func (a *DomainZone) NewList() runtime.Object
func (*DomainZone) NewStorageVersionObject ¶
func (a *DomainZone) NewStorageVersionObject() runtime.Object
type DomainZoneList ¶
type DomainZoneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DomainZone `json:"items"`
}
DomainZoneList is a list of Domain resources.
func (*DomainZoneList) DeepCopy ¶
func (in *DomainZoneList) DeepCopy() *DomainZoneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZoneList.
func (*DomainZoneList) DeepCopyInto ¶
func (in *DomainZoneList) DeepCopyInto(out *DomainZoneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DomainZoneList) DeepCopyObject ¶
func (in *DomainZoneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DomainZoneList) GetListMeta ¶
func (pl *DomainZoneList) GetListMeta() *metav1.ListMeta
type DomainZonePhase ¶
type DomainZonePhase string
DomainZonePhase is the phase of the domain zone.
const ( // Indicates that the domain zone is pending. // In order to become active, the domain owner must update the // nameservers with the registrar to point to the Apoxy nameservers. DomainZonePhasePending DomainZonePhase = "Pending" // PaymentRequired indicates that payment is required for domain registration. DomainZonePhasePaymentRequired DomainZonePhase = "PaymentRequired" // Registering indicates that domain registration is in progress. DomainZonePhaseRegistering DomainZonePhase = "Registering" // PendingNameservers indicates that the domain is registered but nameservers need to be updated. DomainZonePhasePendingNameservers DomainZonePhase = "PendingNameservers" // Active phase of the domain zone. User can create records in the domain zone. DomainZonePhaseActive DomainZonePhase = "Active" // Expiring indicates that the domain is expiring soon and needs renewal. DomainZonePhaseExpiring DomainZonePhase = "Expiring" // Expired indicates that the domain has expired. DomainZonePhaseExpired DomainZonePhase = "Expired" // Error indicates that an unrecoverable error occurred. DomainZonePhaseError DomainZonePhase = "Error" )
type DomainZoneSpec ¶
type DomainZoneSpec struct {
// RegistrationConfig contains configuration for domain registration.
// +optional
RegistrationConfig *RegistrationConfig `json:"registrationConfig,omitempty"`
// Nameservers to use for this domain zone.
// If not specified, defaults to Apoxy's nameservers.
// +optional
Nameservers []string `json:"nameservers,omitempty"`
}
func (*DomainZoneSpec) DeepCopy ¶
func (in *DomainZoneSpec) DeepCopy() *DomainZoneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZoneSpec.
func (*DomainZoneSpec) DeepCopyInto ¶
func (in *DomainZoneSpec) DeepCopyInto(out *DomainZoneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DomainZoneStatus ¶
type DomainZoneStatus struct {
// Phase of the domain zone.
Phase DomainZonePhase `json:"phase,omitempty"`
// RegistrationStatus contains information about domain registration.
// +optional
RegistrationStatus *RegistrationStatus `json:"registrationStatus,omitempty"`
// Nameservers contains information about nameserver configuration.
// +optional
Nameservers *NameserverStatus `json:"nameservers,omitempty"`
// Conditions of the domain zone.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
func (*DomainZoneStatus) CopyTo ¶
func (as *DomainZoneStatus) CopyTo(obj resource.ObjectWithStatusSubResource)
func (*DomainZoneStatus) DeepCopy ¶
func (in *DomainZoneStatus) DeepCopy() *DomainZoneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZoneStatus.
func (*DomainZoneStatus) DeepCopyInto ¶
func (in *DomainZoneStatus) DeepCopyInto(out *DomainZoneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DomainZoneStatus) SubResourceName ¶
func (as *DomainZoneStatus) SubResourceName() string
type DynamicProxyDNSLookupFamily ¶
type DynamicProxyDNSLookupFamily string
const ( // DynamicProxyDNSLookupFamilyAuto specifies that the DNS lookup family should be automatically determined. DynamicProxyDNSLookupFamilyAuto DynamicProxyDNSLookupFamily = "auto" // DynamicProxyDNSLookupFamilyV4Only specifies that the DNS lookup family should be IPv4 only. DynamicProxyDNSLookupFamilyV4Only DynamicProxyDNSLookupFamily = "v4_only" // DynamicProxyDNSLookupFamilyV6Only specifies that the DNS lookup family should be IPv6 only. DynamicProxyDNSLookupFamilyV6Only DynamicProxyDNSLookupFamily = "v6_only" // DynamicProxyDNSLookupFamilyV4Preferred specifies that the DNS lookup family should prefer IPv4. DynamicProxyDNSLookupFamilyV4Preferred DynamicProxyDNSLookupFamily = "v4_preferred" // DynamicProxyDNSLookupFamilyAll specifies that the DNS lookup family should include both IPv4 and IPv6. DynamicProxyDNSLookupFamilyAll DynamicProxyDNSLookupFamily = "all" )
type DynamicProxyDnsCacheConfig ¶
type DynamicProxyDnsCacheConfig struct {
// Specifies the DNS lookup family to use for the dynamic proxy.
// Default is "auto".
// +kubebuilder:validation:Enum=auto;v4_only;v6_only;v4_preferred;all
// +optional
DNSLookupFamily DynamicProxyDNSLookupFamily `json:"dnsLookupFamily,omitempty"`
// Specifies the refresh rate for *unresolved* DNS hosts. Once a host is resolved, the TTL from the DNS
// response is used. If the TTL is not present, the resolved host is cached for 60s by default.
// Must be at least 1ms, and defaults to 60s.
// +optional
DNSRefreshRate *metav1.Duration `json:"dnsRefreshRate,omitempty"`
// Specifies the minimum refresh rate for DNS hosts. If a host is resolved and the TTL is less than this value, the
// host will be refreshed at this rate.
// Default is 5s and must be at least 1s.
// +optional
DNSMinRefreshRate *metav1.Duration `json:"dnsMinRefreshRate,omitempty"`
// TTL for unused hosts. Hosts that have not been used for this duration will be removed from the cache.
// Default is 5m.
// +optional
HostTTL *metav1.Duration `json:"hostTTL,omitempty"`
// Maximum number of hosts to cache.
// Default is 1024.
// +optional
MaxHosts *uint32 `json:"maxHosts,omitempty"`
// Specifies the timeout for DNS queries.
// Default is 5s.
// +optional
DNSQueryTimeout *metav1.Duration `json:"dnsQueryTimeout,omitempty"`
}
func (*DynamicProxyDnsCacheConfig) DeepCopy ¶
func (in *DynamicProxyDnsCacheConfig) DeepCopy() *DynamicProxyDnsCacheConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicProxyDnsCacheConfig.
func (*DynamicProxyDnsCacheConfig) DeepCopyInto ¶
func (in *DynamicProxyDnsCacheConfig) DeepCopyInto(out *DynamicProxyDnsCacheConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DynamicProxySpec ¶
type DynamicProxySpec struct {
DnsCacheConfig *DynamicProxyDnsCacheConfig `json:"dnsCacheConfig,omitempty"`
}
func (*DynamicProxySpec) DeepCopy ¶
func (in *DynamicProxySpec) DeepCopy() *DynamicProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicProxySpec.
func (*DynamicProxySpec) DeepCopyInto ¶
func (in *DynamicProxySpec) DeepCopyInto(out *DynamicProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressGatewaySpec ¶
type EgressGatewaySpec struct {
// Whether the egress gateway is enabled. Default is false.
// When enabled, the egress gateway will be used to route traffic from the tunnel
// node to the internet. Traffic will be SNAT'ed.
// +optional
Enabled bool `json:"enabled,omitempty"`
}
func (*EgressGatewaySpec) DeepCopy ¶
func (in *EgressGatewaySpec) DeepCopy() *EgressGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressGatewaySpec.
func (*EgressGatewaySpec) DeepCopyInto ¶
func (in *EgressGatewaySpec) DeepCopyInto(out *EgressGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrafanaCredentials ¶
type GrafanaCredentials struct {
// APIKey is the Grafana Cloud API key.
// This field should reference a secret in production environments.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
APIKey string `json:"apiKey"`
// InstanceID is the Grafana Cloud instance identifier.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
InstanceID string `json:"instanceId"`
// Endpoint is the OTLP endpoint URL for Grafana Cloud.
// Example: https://otlp-endpoint-xyz.grafana.net/otlp
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=2048
// +kubebuilder:validation:Pattern=`^https?://`
Endpoint string `json:"endpoint"`
}
GrafanaCredentials contains credentials for Grafana Cloud integration.
func (*GrafanaCredentials) DeepCopy ¶
func (in *GrafanaCredentials) DeepCopy() *GrafanaCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaCredentials.
func (*GrafanaCredentials) DeepCopyInto ¶
func (in *GrafanaCredentials) DeepCopyInto(out *GrafanaCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Group ¶
type Group string
Group refers to an API Group. It must either be an empty string or a RFC 1123 subdomain.
This validation is based off of the corresponding Kubernetes validation: https://github.com/kubernetes/apimachinery/blob/02cfb53916346d085a6c6c7c66f882e3c6b0eca6/pkg/util/validation/validation.go#L208
Valid values include:
* "" - empty string implies core Kubernetes API group * "gateway.networking.k8s.io" * "controllers.apoxy.dev"
Invalid values include:
* "example.com/bar" - "/" is an invalid character
+kubebuilder:validation:MaxLength=253 +kubebuilder:validation:Pattern=`^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
type Kind ¶
type Kind string
Kind refers to an API Kind. It must be a valid Kubernetes kind.
Valid values include:
* "Service" * "HTTPRoute" * "Proxy"
Invalid values include:
* "invalid/kind" - "/" is an invalid character
+kubebuilder:validation:MinLength=1 +kubebuilder:validation:MaxLength=63 +kubebuilder:validation:Pattern=`^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$`
type LocalObjectReference ¶
type LocalObjectReference struct {
// Group is the API Group of the referenced object.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=253
Group string `json:"group"`
// Kind is the kind of the referenced object.
// e.g. Proxy, EdgeFunction, TunnelEndpoint.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +kubebuilder:validation:Pattern=`^[a-z0-9][a-z0-9-]*$`
Kind string `json:"kind"`
// Name is the name of the referenced object.
// +kubebuilder:validation:Required
// +kubebuilder:validation:MinLength=1
// +kubebuilder:validation:MaxLength=63
// +kubebuilder:validation:Pattern=`^[a-z0-9][a-z0-9-]*$`
Name string `json:"name"`
}
LocalObjectReference identifies an API object.
func (*LocalObjectReference) DeepCopy ¶
func (in *LocalObjectReference) DeepCopy() *LocalObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference.
func (*LocalObjectReference) DeepCopyInto ¶
func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameserverStatus ¶
type NameserverStatus struct {
// Required nameservers that should be configured.
// +optional
Required []string `json:"required,omitempty"`
// Current nameservers that are actually configured.
// +optional
Current []string `json:"current,omitempty"`
}
NameserverStatus contains information about nameserver configuration.
func (*NameserverStatus) DeepCopy ¶
func (in *NameserverStatus) DeepCopy() *NameserverStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameserverStatus.
func (*NameserverStatus) DeepCopyInto ¶
func (in *NameserverStatus) DeepCopyInto(out *NameserverStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Namespace ¶
type Namespace string
Namespace refers to a Kubernetes namespace. It must be a RFC 1123 label.
+kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` +kubebuilder:validation:MinLength=1 +kubebuilder:validation:MaxLength=63
type ObjectName ¶
type ObjectName string
ObjectName refers to the name of an API object. It must be a valid Kubernetes name.
Object names can have a variety of forms, including RFC 1123 subdomains, RFC 1123 labels, or RFC 1035 labels.
+kubebuilder:validation:MinLength=1 +kubebuilder:validation:MaxLength=253
type Registrant ¶
type Registrant struct {
// FirstName of the registrant.
// +optional
FirstName string `json:"firstName,omitempty"`
// LastName of the registrant.
// +optional
LastName string `json:"lastName,omitempty"`
// Email of the registrant.
// +optional
Email string `json:"email,omitempty"`
// Phone number of the registrant.
// +optional
Phone string `json:"phone,omitempty"`
// Organization of the registrant.
// +optional
Organization string `json:"organization,omitempty"`
// Address of the registrant.
// +optional
Address *Address `json:"address,omitempty"`
}
Registrant contains contact information for domain registration.
func (*Registrant) DeepCopy ¶
func (in *Registrant) DeepCopy() *Registrant
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registrant.
func (*Registrant) DeepCopyInto ¶
func (in *Registrant) DeepCopyInto(out *Registrant)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistrationConfig ¶
type RegistrationConfig struct {
// AutoRenew indicates whether the domain should be automatically renewed.
// +optional
AutoRenew bool `json:"autoRenew,omitempty"`
// RegistrationPeriodYears is the number of years to register the domain for.
// +optional
RegistrationPeriodYears int `json:"registrationPeriodYears,omitempty"`
// Registrant contains the registrant contact information.
// +optional
Registrant *Registrant `json:"registrant,omitempty"`
}
RegistrationConfig contains configuration for domain registration.
func (*RegistrationConfig) DeepCopy ¶
func (in *RegistrationConfig) DeepCopy() *RegistrationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrationConfig.
func (*RegistrationConfig) DeepCopyInto ¶
func (in *RegistrationConfig) DeepCopyInto(out *RegistrationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistrationStatus ¶
type RegistrationStatus struct {
// RegistrationID is the unique identifier for the registration.
// +optional
RegistrationID string `json:"registrationID,omitempty"`
// EstimatedCost is the estimated cost for registration or renewal.
// +optional
EstimatedCost string `json:"estimatedCost,omitempty"`
// PaymentURL is the URL to complete payment for registration or renewal.
// +optional
PaymentURL string `json:"paymentURL,omitempty"`
// RegisteredAt is the time when the domain was registered.
// +optional
RegisteredAt *metav1.Time `json:"registeredAt,omitempty"`
// ExpiresAt is the time when the domain registration expires.
// +optional
ExpiresAt *metav1.Time `json:"expiresAt,omitempty"`
// Error contains error information if registration failed.
// +optional
Error string `json:"error,omitempty"`
}
RegistrationStatus contains information about domain registration.
func (*RegistrationStatus) DeepCopy ¶
func (in *RegistrationStatus) DeepCopy() *RegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrationStatus.
func (*RegistrationStatus) DeepCopyInto ¶
func (in *RegistrationStatus) DeepCopyInto(out *RegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeyStatus ¶
type SecretKeyStatus struct {
Name string `json:"name"`
// Digest is "sha256:" followed by the first 8 hex characters of the
// SHA-256 of the value.
Digest string `json:"digest"`
}
SecretKeyStatus reports one key of the store: its name and a digest of its value, so writers can confirm writes and detect rotation without reading values back.
func ComputeKeyStatus ¶
func ComputeKeyStatus(data map[string]string) []SecretKeyStatus
ComputeKeyStatus derives the status key list from a values map: names sorted, digests "sha256:" + first 8 hex chars of the value's SHA-256.
func (*SecretKeyStatus) DeepCopy ¶
func (in *SecretKeyStatus) DeepCopy() *SecretKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyStatus.
func (*SecretKeyStatus) DeepCopyInto ¶
func (in *SecretKeyStatus) DeepCopyInto(out *SecretKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStore ¶
type SecretStore struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec SecretStoreSpec `json:"spec,omitempty"`
Status SecretStoreStatus `json:"status,omitempty"`
// Data holds the secret values in storage (top-level, mirroring
// corev1.Secret). It is an internal representation: the REST layer
// strips it from every main-resource response, and writes to it
// through the main resource are discarded — the values subresource is
// the only I/O path.
// +optional
Data map[string]string `json:"data,omitempty"`
}
SecretStore is a named collection of secret values scoped to consumer surfaces. Secret values are write-only: they are set and read through the "values" subresource, never through the main resource, and the values subresource only serves reads to internal (data-plane) identities. Users observe key names and value digests via status.
func (*SecretStore) ConvertToTable ¶ added in v0.22.0
func (s *SecretStore) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
ConvertToTable implements rest.TableConvertor that handles table pretty printing.
func (*SecretStore) DeepCopy ¶
func (in *SecretStore) DeepCopy() *SecretStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStore.
func (*SecretStore) DeepCopyInto ¶
func (in *SecretStore) DeepCopyInto(out *SecretStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretStore) DeepCopyObject ¶
func (in *SecretStore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretStore) GetGroupVersionResource ¶
func (s *SecretStore) GetGroupVersionResource() schema.GroupVersionResource
func (*SecretStore) GetObjectMeta ¶
func (s *SecretStore) GetObjectMeta() *metav1.ObjectMeta
func (*SecretStore) GetSingularName ¶
func (s *SecretStore) GetSingularName() string
func (*SecretStore) GetStatus ¶
func (s *SecretStore) GetStatus() resource.StatusSubResource
func (*SecretStore) IsStorageVersion ¶
func (s *SecretStore) IsStorageVersion() bool
func (*SecretStore) NamespaceScoped ¶
func (s *SecretStore) NamespaceScoped() bool
func (*SecretStore) New ¶
func (s *SecretStore) New() runtime.Object
func (*SecretStore) NewList ¶
func (s *SecretStore) NewList() runtime.Object
func (*SecretStore) PrepareForCreate ¶
func (s *SecretStore) PrepareForCreate(ctx context.Context)
PrepareForCreate discards any client-supplied values and derives status: values enter only through the values subresource.
func (*SecretStore) PrepareForUpdate ¶
func (s *SecretStore) PrepareForUpdate(ctx context.Context, old runtime.Object)
PrepareForUpdate carries the stored values through main-resource updates untouched: client-supplied data (and status) on the main resource is ignored.
func (*SecretStore) ScopeAllows ¶
func (s *SecretStore) ScopeAllows(surface, name string) bool
ScopeAllows reports whether the store's scopes admit the named consumer on the given surface. An empty scope list admits every consumer.
func (*SecretStore) Validate ¶
func (s *SecretStore) Validate(ctx context.Context) field.ErrorList
Validate checks scope syntax on create.
func (*SecretStore) ValidateUpdate ¶
ValidateUpdate checks scope syntax on update.
type SecretStoreList ¶
type SecretStoreList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SecretStore `json:"items"`
}
SecretStoreList contains a list of SecretStore objects.
func (*SecretStoreList) ConvertToTable ¶ added in v0.22.0
func (sl *SecretStoreList) ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
ConvertToTable implements rest.TableConvertor that handles table pretty printing.
func (*SecretStoreList) DeepCopy ¶
func (in *SecretStoreList) DeepCopy() *SecretStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreList.
func (*SecretStoreList) DeepCopyInto ¶
func (in *SecretStoreList) DeepCopyInto(out *SecretStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretStoreList) DeepCopyObject ¶
func (in *SecretStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretStoreList) GetListMeta ¶
func (sl *SecretStoreList) GetListMeta() *metav1.ListMeta
type SecretStoreSpec ¶
type SecretStoreSpec struct {
// Scopes authorize consumer surfaces to bind secrets from this store.
// Each scope is "<surface>" or "<surface>:<name-glob>", e.g. "compute"
// or "compute:frontend-*". "compute" is equivalent to "compute:*".
// An empty list leaves the store open to all consumers in the project;
// scopes exist to narrow access, not to grant it.
// +optional
Scopes []string `json:"scopes,omitempty"`
}
func (*SecretStoreSpec) DeepCopy ¶
func (in *SecretStoreSpec) DeepCopy() *SecretStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreSpec.
func (*SecretStoreSpec) DeepCopyInto ¶
func (in *SecretStoreSpec) DeepCopyInto(out *SecretStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStoreStatus ¶
type SecretStoreStatus struct {
// Keys lists the store's key names and value digests, sorted by name.
// +optional
Keys []SecretKeyStatus `json:"keys,omitempty"`
}
func (*SecretStoreStatus) CopyTo ¶
func (s *SecretStoreStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (*SecretStoreStatus) DeepCopy ¶
func (in *SecretStoreStatus) DeepCopy() *SecretStoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreStatus.
func (*SecretStoreStatus) DeepCopyInto ¶
func (in *SecretStoreStatus) DeepCopyInto(out *SecretStoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretStoreStatus) SubResourceName ¶
func (s *SecretStoreStatus) SubResourceName() string
type SecretStoreValues ¶
type SecretStoreValues struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Data maps key names to secret values.
// +optional
Data map[string]string `json:"data,omitempty"`
// Scopes echoes the parent store's spec.scopes so internal readers can
// enforce scope checks from this document alone, without a second (and
// potentially cached) read of the main resource. Read-only: values
// written here are ignored; scopes change only through the main
// resource's spec.
// +optional
Scopes []string `json:"scopes,omitempty"`
}
SecretStoreValues is the payload of the secretstores/<name>/values subresource — the single path through which secret values enter and leave the API. PUT replaces the whole map; JSON merge-patch sets individual keys and deletes keys via null. GET is restricted to internal identities.
func (*SecretStoreValues) DeepCopy ¶
func (in *SecretStoreValues) DeepCopy() *SecretStoreValues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreValues.
func (*SecretStoreValues) DeepCopyInto ¶
func (in *SecretStoreValues) DeepCopyInto(out *SecretStoreValues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretStoreValues) DeepCopyObject ¶
func (in *SecretStoreValues) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TunnelNode ¶
type TunnelNode struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TunnelNodeSpec `json:"spec,omitempty"`
Status TunnelNodeStatus `json:"status,omitempty"`
}
TunnelNode represents a node in the tunnel network.
func (*TunnelNode) ConvertToTable ¶
func (*TunnelNode) DeepCopy ¶
func (in *TunnelNode) DeepCopy() *TunnelNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelNode.
func (*TunnelNode) DeepCopyInto ¶
func (in *TunnelNode) DeepCopyInto(out *TunnelNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelNode) DeepCopyObject ¶
func (in *TunnelNode) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TunnelNode) GetGroupVersionResource ¶
func (p *TunnelNode) GetGroupVersionResource() schema.GroupVersionResource
func (*TunnelNode) GetObjectMeta ¶
func (p *TunnelNode) GetObjectMeta() *metav1.ObjectMeta
func (*TunnelNode) GetSingularName ¶
func (p *TunnelNode) GetSingularName() string
func (*TunnelNode) GetStatus ¶
func (p *TunnelNode) GetStatus() resource.StatusSubResource
func (*TunnelNode) IsStorageVersion ¶
func (p *TunnelNode) IsStorageVersion() bool
func (*TunnelNode) NamespaceScoped ¶
func (p *TunnelNode) NamespaceScoped() bool
func (*TunnelNode) New ¶
func (p *TunnelNode) New() runtime.Object
func (*TunnelNode) NewList ¶
func (p *TunnelNode) NewList() runtime.Object
type TunnelNodeCredentials ¶
type TunnelNodeCredentials struct {
// Signed JWT token for the tunnel transport connection.
Token string `json:"token,omitempty"`
}
func (*TunnelNodeCredentials) DeepCopy ¶
func (in *TunnelNodeCredentials) DeepCopy() *TunnelNodeCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelNodeCredentials.
func (*TunnelNodeCredentials) DeepCopyInto ¶
func (in *TunnelNodeCredentials) DeepCopyInto(out *TunnelNodeCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelNodeList ¶
type TunnelNodeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []TunnelNode `json:"items"`
}
TunnelNodeList contains a list of TunnelNode objects.
func (*TunnelNodeList) ConvertToTable ¶
func (*TunnelNodeList) DeepCopy ¶
func (in *TunnelNodeList) DeepCopy() *TunnelNodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelNodeList.
func (*TunnelNodeList) DeepCopyInto ¶
func (in *TunnelNodeList) DeepCopyInto(out *TunnelNodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelNodeList) DeepCopyObject ¶
func (in *TunnelNodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TunnelNodeList) GetListMeta ¶
func (pl *TunnelNodeList) GetListMeta() *metav1.ListMeta
type TunnelNodeSpec ¶
type TunnelNodeSpec struct {
// Configures Egress Gateway mode on the Tunnel Node. In this mode, the Tunnel
// Node acts as a gateway for outbound connections originating from the
// Agent side in addition to its default mode (where the connections arrive in the
// direction of the Agent).
// +optional
EgressGateway *EgressGatewaySpec `json:"egressGateway,omitempty"`
}
func (*TunnelNodeSpec) DeepCopy ¶
func (in *TunnelNodeSpec) DeepCopy() *TunnelNodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelNodeSpec.
func (*TunnelNodeSpec) DeepCopyInto ¶
func (in *TunnelNodeSpec) DeepCopyInto(out *TunnelNodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelNodeStatus ¶
type TunnelNodeStatus struct {
// One or more addresses used by agents to establish a tunnel.
Addresses []string `json:"addresses,omitempty"`
// Credentials for the tunnel node proxy.
Credentials *TunnelNodeCredentials `json:"credentials,omitempty"`
// Agents is a list of agents connected to the tunnel node.
Agents []AgentStatus `json:"agents,omitempty"`
}
func (*TunnelNodeStatus) CopyTo ¶
func (ps *TunnelNodeStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (*TunnelNodeStatus) DeepCopy ¶
func (in *TunnelNodeStatus) DeepCopy() *TunnelNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelNodeStatus.
func (*TunnelNodeStatus) DeepCopyInto ¶
func (in *TunnelNodeStatus) DeepCopyInto(out *TunnelNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelNodeStatus) SubResourceName ¶
func (ps *TunnelNodeStatus) SubResourceName() string
Source Files
¶
- backend_conversion.go
- backend_types.go
- backend_validate.go
- cloud_monitoring_integration_conversion.go
- cloud_monitoring_integration_types.go
- cloud_monitoring_integration_validate.go
- doc.go
- domain_zone_types.go
- object_reference_types.go
- secret_store_types.go
- shared_types.go
- tunnel_types.go
- zz_generated.deepcopy.go
- zz_generated.register.go