Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the appconfigmgr v1alpha1 API group +kubebuilder:object:generate=true +groupName=appconfigmgr.cft.dev
Index ¶
- Variables
- type AppEnvConfigTemplateAllowedEgress
- type AppEnvConfigTemplateAuth
- type AppEnvConfigTemplateGCPAccess
- type AppEnvConfigTemplateGCPAccessSecretInfo
- type AppEnvConfigTemplateGCPAccessVaultInfo
- type AppEnvConfigTemplateIngress
- type AppEnvConfigTemplateIngressTLS
- type AppEnvConfigTemplateJWT
- type AppEnvConfigTemplateRelatedClientInfo
- type AppEnvConfigTemplateServiceInfo
- type AppEnvConfigTemplateStatusConditionType
- type AppEnvConfigTemplateV2
- type AppEnvConfigTemplateV2List
- type AppEnvConfigTemplateV2Spec
- type AppEnvConfigTemplateV2Status
- type ServiceIngress
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "appconfigmgr.cft.dev", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AppEnvConfigTemplateAllowedEgress ¶
type AppEnvConfigTemplateAllowedEgress struct { // Type of egress traffic (i.e. "http"). Type string `json:"type,omitempty"` // Hosts to allow egress to (i.e. "www.google.com"). Hosts []string `json:"hosts,omitempty"` }
func (*AppEnvConfigTemplateAllowedEgress) DeepCopy ¶
func (in *AppEnvConfigTemplateAllowedEgress) DeepCopy() *AppEnvConfigTemplateAllowedEgress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateAllowedEgress.
func (*AppEnvConfigTemplateAllowedEgress) DeepCopyInto ¶
func (in *AppEnvConfigTemplateAllowedEgress) DeepCopyInto(out *AppEnvConfigTemplateAllowedEgress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateAuth ¶
type AppEnvConfigTemplateAuth struct { // Configuration for validating JWTs. JWT *AppEnvConfigTemplateJWT `json:"jwt,omitempty"` GCPAccess *AppEnvConfigTemplateGCPAccess `json:"gcpAccess,omitempty"` }
func (*AppEnvConfigTemplateAuth) DeepCopy ¶
func (in *AppEnvConfigTemplateAuth) DeepCopy() *AppEnvConfigTemplateAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateAuth.
func (*AppEnvConfigTemplateAuth) DeepCopyInto ¶
func (in *AppEnvConfigTemplateAuth) DeepCopyInto(out *AppEnvConfigTemplateAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateGCPAccess ¶
type AppEnvConfigTemplateGCPAccess struct { // Defines the type of GCP access auth granted to the application (must be "secret" or "vault"). AccessType string `json:"accessType,omitempty"` // Used with accessType="secret". Declares the properties of the secret resource. SecretInfo *AppEnvConfigTemplateGCPAccessSecretInfo `json:"secretInfo,omitempty"` // Used with accessType="vault". Declares the configured Google Cloud roleSet name // to be enabled via the given Kubernetes service accounts for use by the application. // See https://www.vaultproject.io/docs/secrets/gcp/index.html for details on creating roleSets. VaultInfo *AppEnvConfigTemplateGCPAccessVaultInfo `json:"vaultInfo,omitempty"` }
func (*AppEnvConfigTemplateGCPAccess) DeepCopy ¶
func (in *AppEnvConfigTemplateGCPAccess) DeepCopy() *AppEnvConfigTemplateGCPAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateGCPAccess.
func (*AppEnvConfigTemplateGCPAccess) DeepCopyInto ¶
func (in *AppEnvConfigTemplateGCPAccess) DeepCopyInto(out *AppEnvConfigTemplateGCPAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateGCPAccessSecretInfo ¶
type AppEnvConfigTemplateGCPAccessSecretInfo struct { // The name of the Secret. Name string `json:"name,omitempty"` // The namespace of the Secret. Namespace string `json:"namespace,omitempty"` }
func (*AppEnvConfigTemplateGCPAccessSecretInfo) DeepCopy ¶
func (in *AppEnvConfigTemplateGCPAccessSecretInfo) DeepCopy() *AppEnvConfigTemplateGCPAccessSecretInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateGCPAccessSecretInfo.
func (*AppEnvConfigTemplateGCPAccessSecretInfo) DeepCopyInto ¶
func (in *AppEnvConfigTemplateGCPAccessSecretInfo) DeepCopyInto(out *AppEnvConfigTemplateGCPAccessSecretInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateGCPAccessVaultInfo ¶
type AppEnvConfigTemplateGCPAccessVaultInfo struct { // Kubernetes service account name used in Vault authentication. ServiceAccount string `json:"serviceAccount,omitempty"` // Vault Google Cloud Secrets Engine mounted path. Path string `json:"path,omitempty"` // Vault Google Cloud Secrets Engine roleset name to retrieve credentials from. Roleset string `json:"roleset,omitempty"` }
func (*AppEnvConfigTemplateGCPAccessVaultInfo) DeepCopy ¶
func (in *AppEnvConfigTemplateGCPAccessVaultInfo) DeepCopy() *AppEnvConfigTemplateGCPAccessVaultInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateGCPAccessVaultInfo.
func (*AppEnvConfigTemplateGCPAccessVaultInfo) DeepCopyInto ¶
func (in *AppEnvConfigTemplateGCPAccessVaultInfo) DeepCopyInto(out *AppEnvConfigTemplateGCPAccessVaultInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateIngress ¶
type AppEnvConfigTemplateIngress struct {
TLS AppEnvConfigTemplateIngressTLS `json:"tls,omitempty"`
}
AppEnvConfigTemplateIngress configures app-wide ingress policies.
func (*AppEnvConfigTemplateIngress) DeepCopy ¶
func (in *AppEnvConfigTemplateIngress) DeepCopy() *AppEnvConfigTemplateIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateIngress.
func (*AppEnvConfigTemplateIngress) DeepCopyInto ¶
func (in *AppEnvConfigTemplateIngress) DeepCopyInto(out *AppEnvConfigTemplateIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateIngressTLS ¶
type AppEnvConfigTemplateIngressTLS struct {
CertSecrets []string `json:"certSecrets,omitempty"`
}
AppEnvConfigTemplateIngressTLS configures app-wide ingress TLS policy.
func (*AppEnvConfigTemplateIngressTLS) DeepCopy ¶
func (in *AppEnvConfigTemplateIngressTLS) DeepCopy() *AppEnvConfigTemplateIngressTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateIngressTLS.
func (*AppEnvConfigTemplateIngressTLS) DeepCopyInto ¶
func (in *AppEnvConfigTemplateIngressTLS) DeepCopyInto(out *AppEnvConfigTemplateIngressTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateJWT ¶
type AppEnvConfigTemplateJWT struct { // Type of system to accept JWTs from (i.e. "firebase"). Type string `json:"type,omitempty"` // Parameters used to identify project/etc. for a given type of system. Params map[string]string `json:"params,omitempty"` }
func (*AppEnvConfigTemplateJWT) DeepCopy ¶
func (in *AppEnvConfigTemplateJWT) DeepCopy() *AppEnvConfigTemplateJWT
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateJWT.
func (*AppEnvConfigTemplateJWT) DeepCopyInto ¶
func (in *AppEnvConfigTemplateJWT) DeepCopyInto(out *AppEnvConfigTemplateJWT)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateRelatedClientInfo ¶
type AppEnvConfigTemplateRelatedClientInfo struct { // Name of the allowed client (corresponds to the "app" label on client Pod). It can be namespaced (i.e. "namespace/app") or it will default to the same namespace as the app config. Name string `json:"name,omitempty"` }
func (*AppEnvConfigTemplateRelatedClientInfo) DeepCopy ¶
func (in *AppEnvConfigTemplateRelatedClientInfo) DeepCopy() *AppEnvConfigTemplateRelatedClientInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateRelatedClientInfo.
func (*AppEnvConfigTemplateRelatedClientInfo) DeepCopyInto ¶
func (in *AppEnvConfigTemplateRelatedClientInfo) DeepCopyInto(out *AppEnvConfigTemplateRelatedClientInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateServiceInfo ¶
type AppEnvConfigTemplateServiceInfo struct { // Name of the service. Name string `json:"name,omitempty"` // Must match the "app" label on the corresponding deployed Pods. DeploymentApp string `json:"deploymentApp,omitempty"` // Must match the "version" label on the corresponding deployed Pods. DeploymentVersion string `json:"deploymentVersion,omitempty"` // Must match the port exposed on the corresponding deployed Pods. DeploymentPort int32 `json:"deploymentPort,omitempty"` // The port for the Kubernetes Service that will be created. ServicePort int32 `json:"servicePort,omitempty"` // Protocol to use for the service (i.e. "TCP"). DeploymentPortProtocol corev1.Protocol `json:"deploymentPortProtocol,omitempty"` // The set of clients that are allowed to call the service. AllowedClients []AppEnvConfigTemplateRelatedClientInfo `json:"allowedClients,omitempty"` // Disables the application-wide auth policy (i.e. JWT) for this service. DisableAuth bool `json:"disableAuth,omitempty"` // Attaches a kubernetes service account to created pods. ServiceAccount string `json:"serviceAccount,omitempty"` // Specifies the ingress policy for this service (external access). Ingress *ServiceIngress `json:"ingress,omitempty"` }
AppEnvConfigTemplateServiceInfo defines the service info of AppEnvConfigTemplate
func (*AppEnvConfigTemplateServiceInfo) DeepCopy ¶
func (in *AppEnvConfigTemplateServiceInfo) DeepCopy() *AppEnvConfigTemplateServiceInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateServiceInfo.
func (*AppEnvConfigTemplateServiceInfo) DeepCopyInto ¶
func (in *AppEnvConfigTemplateServiceInfo) DeepCopyInto(out *AppEnvConfigTemplateServiceInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateStatusConditionType ¶
type AppEnvConfigTemplateStatusConditionType string
type AppEnvConfigTemplateV2 ¶
type AppEnvConfigTemplateV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppEnvConfigTemplateV2Spec `json:"spec,omitempty"` Status AppEnvConfigTemplateV2Status `json:"status,omitempty"` }
func (*AppEnvConfigTemplateV2) DeepCopy ¶
func (in *AppEnvConfigTemplateV2) DeepCopy() *AppEnvConfigTemplateV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateV2.
func (*AppEnvConfigTemplateV2) DeepCopyInto ¶
func (in *AppEnvConfigTemplateV2) DeepCopyInto(out *AppEnvConfigTemplateV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppEnvConfigTemplateV2) DeepCopyObject ¶
func (in *AppEnvConfigTemplateV2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppEnvConfigTemplateV2List ¶
type AppEnvConfigTemplateV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AppEnvConfigTemplateV2 `json:"items"` }
AppEnvConfigTemplateV2List contains a list of AppEnvConfigTemplateV2 +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*AppEnvConfigTemplateV2List) DeepCopy ¶
func (in *AppEnvConfigTemplateV2List) DeepCopy() *AppEnvConfigTemplateV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateV2List.
func (*AppEnvConfigTemplateV2List) DeepCopyInto ¶
func (in *AppEnvConfigTemplateV2List) DeepCopyInto(out *AppEnvConfigTemplateV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppEnvConfigTemplateV2List) DeepCopyObject ¶
func (in *AppEnvConfigTemplateV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppEnvConfigTemplateV2Spec ¶
type AppEnvConfigTemplateV2Spec struct { // Services that make up this application (set of services). Services []AppEnvConfigTemplateServiceInfo `json:"services,omitempty"` // Whitelisted destinations that services may initiate outgoing connections with. AllowedEgress []AppEnvConfigTemplateAllowedEgress `json:"allowedEgress,omitempty"` // Application-wide authentication configuration. Auth *AppEnvConfigTemplateAuth `json:"auth,omitempty"` // Ingress configuration. Ingress AppEnvConfigTemplateIngress `json:"ingress,omitempty"` }
AppEnvConfigTemplateV2Spec defines the desired state of AppEnvConfigTemplateV2
func (*AppEnvConfigTemplateV2Spec) DeepCopy ¶
func (in *AppEnvConfigTemplateV2Spec) DeepCopy() *AppEnvConfigTemplateV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateV2Spec.
func (*AppEnvConfigTemplateV2Spec) DeepCopyInto ¶
func (in *AppEnvConfigTemplateV2Spec) DeepCopyInto(out *AppEnvConfigTemplateV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppEnvConfigTemplateV2Status ¶
type AppEnvConfigTemplateV2Status struct{}
AppEnvConfigTemplateV2Status defines the observed state of AppEnvConfigTemplateV2
func (*AppEnvConfigTemplateV2Status) DeepCopy ¶
func (in *AppEnvConfigTemplateV2Status) DeepCopy() *AppEnvConfigTemplateV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppEnvConfigTemplateV2Status.
func (*AppEnvConfigTemplateV2Status) DeepCopyInto ¶
func (in *AppEnvConfigTemplateV2Status) DeepCopyInto(out *AppEnvConfigTemplateV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceIngress ¶
type ServiceIngress struct { Host string `json:"host,omitempty"` Path string `json:"path,omitempty"` }
func (*ServiceIngress) DeepCopy ¶
func (in *ServiceIngress) DeepCopy() *ServiceIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIngress.
func (*ServiceIngress) DeepCopyInto ¶
func (in *ServiceIngress) DeepCopyInto(out *ServiceIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.