Documentation
¶
Overview ¶
+kcc:proto=google.cloud.securesourcemanager.v1
+kubebuilder:object:generate=true +groupName=securesourcemanager.cnrm.cloud.google.com
Index ¶
- Variables
- type Instance_HostConfig
- type Instance_PrivateConfig
- type ProjectIDAndLocation
- type Repository
- type Repository_InitialConfig
- type Repository_URIs
- type SecureSourceManagerInstance
- type SecureSourceManagerInstanceList
- type SecureSourceManagerInstanceObservedState
- type SecureSourceManagerInstanceRef
- func (r *SecureSourceManagerInstanceRef) ConvertToProjectNumber(ctx context.Context, projectsClient *resourcemanager.ProjectsClient) error
- func (in *SecureSourceManagerInstanceRef) DeepCopy() *SecureSourceManagerInstanceRef
- func (in *SecureSourceManagerInstanceRef) DeepCopyInto(out *SecureSourceManagerInstanceRef)
- func (r *SecureSourceManagerInstanceRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
- func (r *SecureSourceManagerInstanceRef) Parent() (*ProjectIDAndLocation, error)
- func (r *SecureSourceManagerInstanceRef) ResourceID() (string, error)
- type SecureSourceManagerInstanceSpec
- type SecureSourceManagerInstanceStatus
- type SecureSourceManagerRepository
- type SecureSourceManagerRepositoryList
- type SecureSourceManagerRepositoryObservedState
- type SecureSourceManagerRepositoryParent
- type SecureSourceManagerRepositoryRef
- func (in *SecureSourceManagerRepositoryRef) DeepCopy() *SecureSourceManagerRepositoryRef
- func (in *SecureSourceManagerRepositoryRef) DeepCopyInto(out *SecureSourceManagerRepositoryRef)
- func (r *SecureSourceManagerRepositoryRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
- func (r *SecureSourceManagerRepositoryRef) Parent() (*SecureSourceManagerRepositoryParent, error)
- func (r *SecureSourceManagerRepositoryRef) ResourceID() (string, error)
- type SecureSourceManagerRepositorySpec
- type SecureSourceManagerRepositoryStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "securesourcemanager.cnrm.cloud.google.com", 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 )
var SecureSourceManagerInstanceGVK = GroupVersion.WithKind("SecureSourceManagerInstance")
var SecureSourceManagerRepositoryGVK = GroupVersion.WithKind("SecureSourceManagerRepository")
Functions ¶
This section is empty.
Types ¶
type Instance_HostConfig ¶
type Instance_HostConfig struct { // Output only. HTML hostname. HTML *string `json:"html,omitempty"` // Output only. API hostname. This is the hostname to use for **Host: Data // Plane** endpoints. Api *string `json:"api,omitempty"` // Output only. Git HTTP hostname. GitHTTP *string `json:"gitHTTP,omitempty"` // Output only. Git SSH hostname. GitSSH *string `json:"gitSSH,omitempty"` }
+kcc:proto=google.cloud.securesourcemanager.v1.Instance.HostConfig
func (*Instance_HostConfig) DeepCopy ¶
func (in *Instance_HostConfig) DeepCopy() *Instance_HostConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_HostConfig.
func (*Instance_HostConfig) DeepCopyInto ¶
func (in *Instance_HostConfig) DeepCopyInto(out *Instance_HostConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance_PrivateConfig ¶ added in v1.122.0
type Instance_PrivateConfig struct { // Required. Immutable. Indicate if it's private instance. IsPrivate *bool `json:"isPrivate,omitempty"` // Required. Immutable. CA pool resource, resource must in the format of // `projects/{project}/locations/{location}/caPools/{ca_pool}`. CaPoolRef *refs.PrivateCACAPoolRef `json:"caPoolRef,omitempty"` // Output only. Service Attachment for HTTP, resource is in the format of // `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. HTTPServiceAttachment *string `json:"httpServiceAttachment,omitempty"` // Output only. Service Attachment for SSH, resource is in the format of // `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. SSHServiceAttachment *string `json:"sshServiceAttachment,omitempty"` }
+kcc:proto=google.cloud.securesourcemanager.v1.Instance.PrivateConfig
func (*Instance_PrivateConfig) DeepCopy ¶ added in v1.122.0
func (in *Instance_PrivateConfig) DeepCopy() *Instance_PrivateConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_PrivateConfig.
func (*Instance_PrivateConfig) DeepCopyInto ¶ added in v1.122.0
func (in *Instance_PrivateConfig) DeepCopyInto(out *Instance_PrivateConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectIDAndLocation ¶ added in v1.125.0
+k8s:deepcopy-gen=false
func (*ProjectIDAndLocation) String ¶ added in v1.125.0
func (p *ProjectIDAndLocation) String() string
type Repository ¶ added in v1.121.0
type Repository struct { // Optional. A unique identifier for a repository. The name should be of the // format: // `projects/{project}/locations/{location_id}/repositories/{repository_id}` Name *string `json:"name,omitempty"` // Optional. Description of the repository, which cannot exceed 500 // characters. Description *string `json:"description,omitempty"` // Optional. The name of the instance in which the repository is hosted, // formatted as // `projects/{project_number}/locations/{location_id}/instances/{instance_id}` // When creating repository via // securesourcemanager.googleapis.com (Control Plane API), this field is used // as input. When creating repository via *.sourcemanager.dev (Data Plane // API), this field is output only. Instance *string `json:"instance,omitempty"` // Output only. Unique identifier of the repository. Uid *string `json:"uid,omitempty"` // Output only. Create timestamp. CreateTime *string `json:"createTime,omitempty"` // Output only. Update timestamp. UpdateTime *string `json:"updateTime,omitempty"` // Optional. This checksum is computed by the server based on the value of // other fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. Etag *string `json:"etag,omitempty"` // Output only. URIs for the repository. Uris *Repository_URIs `json:"uris,omitempty"` // Input only. Initial configurations for the repository. InitialConfig *Repository_InitialConfig `json:"initialConfig,omitempty"` }
+kcc:proto=google.cloud.securesourcemanager.v1.Repository
func (*Repository) DeepCopy ¶ added in v1.121.0
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶ added in v1.121.0
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository_InitialConfig ¶ added in v1.121.0
type Repository_InitialConfig struct { // Default branch name of the repository. DefaultBranch *string `json:"defaultBranch,omitempty"` // List of gitignore template names user can choose from. // Valid values: actionscript, ada, agda, android, // anjuta, ansible, appcelerator-titanium, app-engine, archives, // arch-linux-packages, atmel-studio, autotools, backup, bazaar, bazel, // bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, chef-cookbook, // clojure, cloud9, c-make, code-igniter, code-kit, code-sniffer, // common-lisp, composer, concrete5, coq, cordova, cpp, craft-cms, cuda, // cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, dropbox, // drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, elm, // emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism, // expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com, // fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg, // gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images, // infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll, // jenkins-home, jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks, // kate, kdevelop4, kentico, ki-cad, kohana, kotlin, lab-view, laravel, // lazarus, leiningen, lemon-stand, libre-office, lilypond, linux, lithium, // logtalk, lua, lyx, mac-os, magento, magento-1, magento-2, matlab, maven, // mercurial, mercury, metals, meta-programming-system, meteor, // microsoft-office, model-sim, momentics, mono-develop, nanoc, net-beans, // nikola, nim, ninja, node, notepad-pp, nwjs, objective--c, ocaml, octave, // opa, open-cart, openssl, oracle-forms, otto, packer, patch, perl, perl6, // phalcon, phoenix, pimcore, play-framework, plone, prestashop, processing, // psoc-creator, puppet, pure-script, putty, python, qooxdoo, qt, r, racket, // rails, raku, red, redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam, // sass, sbt, scala, scheme, scons, scrivener, sdcc, seam-gen, sketch-up, // slick-edit, smalltalk, snap, splunk, stata, stella, sublime-text, // sugar-crm, svn, swift, symfony, symphony-cms, synopsys-vcs, tags, // terraform, tex, text-mate, textpattern, think-php, tortoise-git, // turbo-gears-2, typo3, umbraco, unity, unreal-engine, vagrant, vim, // virtual-env, virtuoso, visual-studio, visual-studio-code, vue, vvvv, waf, // web-methods, windows, word-press, xcode, xilinx, xilinx-ise, xojo, // yeoman, yii, zend-framework, zephir. Gitignores []string `json:"gitignores,omitempty"` // License template name user can choose from. // Valid values: license-0bsd, license-389-exception, aal, abstyles, // adobe-2006, adobe-glyph, adsl, afl-1-1, afl-1-2, afl-2-0, afl-2-1, // afl-3-0, afmparse, agpl-1-0, agpl-1-0-only, agpl-1-0-or-later, // agpl-3-0-only, agpl-3-0-or-later, aladdin, amdplpa, aml, ampas, antlr-pd, // antlr-pd-fallback, apache-1-0, apache-1-1, apache-2-0, apafml, apl-1-0, // apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, artistic-1-0, artistic-1-0-cl8, // artistic-1-0-perl, artistic-2-0, autoconf-exception-2-0, // autoconf-exception-3-0, bahyph, barr, beerware, bison-exception-2-2, // bittorrent-1-0, bittorrent-1-1, blessing, blueoak-1-0-0, // bootloader-exception, borceux, bsd-1-clause, bsd-2-clause, // bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent, // bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution, // bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification, // bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014, // bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause, // bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code, // bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera, // catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at, // cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0, // cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0, // cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0, // cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0, // cc-by-nd-3-0, cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk, // cc-by-sa-2-1-jp, cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc, // cddl-1-0, cddl-1-1, cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0, // cecill-1-1, cecill-2-0, cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1, // cern-ohl-1-2, cern-ohl-p-2-0, cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic, // classpath-exception-2-0, clisp-exception-2-0, cnri-jython, cnri-python, // cnri-python-gpl-compatible, condor-1-1, copyleft-next-0-3-0, // copyleft-next-0-3-1, cpal-1-0, cpl-1-0, cpol-1-02, crossword, // crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, d-fsl-1-0, diffmark, // digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, dvipdfm, ecl-1-0, // ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, entessa, epics, // epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, eupl-1-0, eupl-1-1, // eupl-1-2, eurosym, fair, fawkes-runtime-exception, fltk-exception, // font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage, // freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0, // gcc-exception-3-1, gd, gfdl-1-1-invariants-only, // gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only, // gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later, // gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later, // gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later, // gfdl-1-2-only, gfdl-1-2-or-later, gfdl-1-3-invariants-only, // gfdl-1-3-invariants-or-later, gfdl-1-3-no-invariants-only, // gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, gfdl-1-3-or-later, // giftware, gl2ps, glide, glulxe, glwtpl, gnu-javamail-exception, gnuplot, // gpl-1-0-only, gpl-1-0-or-later, gpl-2-0-only, gpl-2-0-or-later, // gpl-3-0-linking-exception, gpl-3-0-linking-source-exception, // gpl-3-0-only, gpl-3-0-or-later, gpl-cc-1-0, gsoap-1-3b, haskell-report, // hippocratic-2-1, hpnd, hpnd-sell-variant, htmltidy, // i2p-gpl-java-exception, ibm-pibs, icu, ijg, image-magick, imatix, imlib2, // info-zip, intel, intel-acpi, interbase-1-0, ipa, ipl-1-0, isc, // jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, leptonica, // lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, lgpl-2-1-or-later, // lgpl-3-0-linking-exception, lgpl-3-0-only, lgpl-3-0-or-later, lgpllr, // libpng, libpng-2-0, libselinux-1-0, libtiff, libtool-exception, // liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib, // linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0, // lppl-1-1, lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index, // mif-exception, miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna, // mit-feh, mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2, // mpl-1-0, mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl, // mtll, mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3, // naumen, nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl, // nist-pd, nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1, // nosl, noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0, // ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0, // odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1, // ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0, // ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2, // oldap-1-3, oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2, // oldap-2-2-1, oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml, // openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception, // opl-1-0, oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0, // o-uda-1-0, parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01, // plexus, polyform-noncommercial-1-0-0, polyform-small-business-1-0-0, // postgresql, psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils, // python-2-0, qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1, // qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl, // ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0, // sgi-b-1-1, sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl, // sissl-1-2, sleepycat, smlnj, smppl, snia, spencer-86, spencer-94, // spencer-99, spl-1-0, ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3, // swift-exception, swl, tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1, // tosl, tu-berlin-1-0, tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0, // unicode-dfs-2015, unicode-dfs-2016, unicode-tou, // universal-foss-exception-1-0, unlicense, upl-1-0, vim, vostrom, vsl-1-0, // w3c, w3c-19980720, w3c-20150513, watcom-1-0, wsuipa, wtfpl, // wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, xnet, xpp, // xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, zlib, // zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1. License *string `json:"license,omitempty"` // README template name. // Valid template name(s) are: default. Readme *string `json:"readme,omitempty"` }
+kcc:proto=google.cloud.securesourcemanager.v1.Repository.InitialConfig
func (*Repository_InitialConfig) DeepCopy ¶ added in v1.121.0
func (in *Repository_InitialConfig) DeepCopy() *Repository_InitialConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_InitialConfig.
func (*Repository_InitialConfig) DeepCopyInto ¶ added in v1.121.0
func (in *Repository_InitialConfig) DeepCopyInto(out *Repository_InitialConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository_URIs ¶ added in v1.121.0
type Repository_URIs struct { // Output only. HTML is the URI for user to view the repository in a // browser. HTML *string `json:"html,omitempty"` // Output only. git_https is the git HTTPS URI for git operations. GitHTTPS *string `json:"gitHTTPS,omitempty"` // Output only. API is the URI for API access. Api *string `json:"api,omitempty"` }
+kcc:proto=google.cloud.securesourcemanager.v1.Repository.URIs
func (*Repository_URIs) DeepCopy ¶ added in v1.121.0
func (in *Repository_URIs) DeepCopy() *Repository_URIs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository_URIs.
func (*Repository_URIs) DeepCopyInto ¶ added in v1.121.0
func (in *Repository_URIs) DeepCopyInto(out *Repository_URIs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureSourceManagerInstance ¶
type SecureSourceManagerInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecureSourceManagerInstanceSpec `json:"spec,omitempty"` Status SecureSourceManagerInstanceStatus `json:"status,omitempty"` }
SecureSourceManagerInstance is the Schema for the SecureSourceManagerInstance API +k8s:openapi-gen=true
func (*SecureSourceManagerInstance) DeepCopy ¶
func (in *SecureSourceManagerInstance) DeepCopy() *SecureSourceManagerInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerInstance.
func (*SecureSourceManagerInstance) DeepCopyInto ¶
func (in *SecureSourceManagerInstance) DeepCopyInto(out *SecureSourceManagerInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerInstance) DeepCopyObject ¶
func (in *SecureSourceManagerInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecureSourceManagerInstanceList ¶
type SecureSourceManagerInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecureSourceManagerInstance `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SecureSourceManagerInstanceList contains a list of SecureSourceManagerInstance
func (*SecureSourceManagerInstanceList) DeepCopy ¶
func (in *SecureSourceManagerInstanceList) DeepCopy() *SecureSourceManagerInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerInstanceList.
func (*SecureSourceManagerInstanceList) DeepCopyInto ¶
func (in *SecureSourceManagerInstanceList) DeepCopyInto(out *SecureSourceManagerInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerInstanceList) DeepCopyObject ¶
func (in *SecureSourceManagerInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecureSourceManagerInstanceObservedState ¶
type SecureSourceManagerInstanceObservedState struct { // Output only. Current state of the instance. State *string `json:"state,omitempty"` // Output only. An optional field providing information about the current // instance state. StateNote *string `json:"stateNote,omitempty"` // Output only. A list of hostnames for this instance. HostConfig *Instance_HostConfig `json:"hostConfig,omitempty"` }
SecureSourceManagerInstanceSpec defines the desired state of SecureSourceManagerInstance +kcc:proto=google.cloud.securesourcemanager.v1.Instance
func (*SecureSourceManagerInstanceObservedState) DeepCopy ¶
func (in *SecureSourceManagerInstanceObservedState) DeepCopy() *SecureSourceManagerInstanceObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerInstanceObservedState.
func (*SecureSourceManagerInstanceObservedState) DeepCopyInto ¶
func (in *SecureSourceManagerInstanceObservedState) DeepCopyInto(out *SecureSourceManagerInstanceObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureSourceManagerInstanceRef ¶ added in v1.125.0
type SecureSourceManagerInstanceRef struct { // A reference to an externally managed SecureSourceManagerInstance resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/instances/{{instanceID}}". External string `json:"external,omitempty"` // The name of a SecureSourceManagerInstance resource. Name string `json:"name,omitempty"` // The namespace of a SecureSourceManagerInstance resource. Namespace string `json:"namespace,omitempty"` }
SecureSourceManagerInstanceRef defines the resource reference to SecureSourceManagerInstance, which "External" field holds the GCP identifier for the KRM object.
func NewSecureSourceManagerInstanceRef ¶ added in v1.125.0
func NewSecureSourceManagerInstanceRef(ctx context.Context, reader client.Reader, obj *SecureSourceManagerInstance) (*SecureSourceManagerInstanceRef, error)
New builds a SecureSourceManagerInstanceRef from the Config Connector SecureSourceManagerInstance object.
func ParseSecureSourceManagerInstanceRef ¶ added in v1.125.0
func ParseSecureSourceManagerInstanceRef(url string) (*SecureSourceManagerInstanceRef, error)
func (*SecureSourceManagerInstanceRef) ConvertToProjectNumber ¶ added in v1.128.0
func (r *SecureSourceManagerInstanceRef) ConvertToProjectNumber(ctx context.Context, projectsClient *resourcemanager.ProjectsClient) error
ConvertToProjectNumber converts the external reference to use a project number.
func (*SecureSourceManagerInstanceRef) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerInstanceRef) DeepCopy() *SecureSourceManagerInstanceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerInstanceRef.
func (*SecureSourceManagerInstanceRef) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerInstanceRef) DeepCopyInto(out *SecureSourceManagerInstanceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerInstanceRef) NormalizedExternal ¶ added in v1.125.0
func (r *SecureSourceManagerInstanceRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on SecureSourceManagerInstance. If the "External" is given in the other resource's spec.SecureSourceManagerInstanceRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual SecureSourceManagerInstance object from the cluster.
func (*SecureSourceManagerInstanceRef) Parent ¶ added in v1.125.0
func (r *SecureSourceManagerInstanceRef) Parent() (*ProjectIDAndLocation, error)
func (*SecureSourceManagerInstanceRef) ResourceID ¶ added in v1.125.0
func (r *SecureSourceManagerInstanceRef) ResourceID() (string, error)
type SecureSourceManagerInstanceSpec ¶
type SecureSourceManagerInstanceSpec struct { /* Immutable. The Project that this resource belongs to. */ // +required ProjectRef *refs.ProjectRef `json:"projectRef"` /* Immutable. Location of the instance. */ // +required Location string `json:"location"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` // Optional. Immutable. Customer-managed encryption key name. KmsKeyRef *refs.KMSCryptoKeyRef `json:"kmsKeyRef,omitempty"` // Optional. PrivateConfig includes settings for private instance. PrivateConfig *Instance_PrivateConfig `json:"privateConfig,omitempty"` }
SecureSourceManagerInstanceSpec defines the desired state of SecureSourceManagerInstance +kcc:proto=google.cloud.securesourcemanager.v1.Instance
func (*SecureSourceManagerInstanceSpec) DeepCopy ¶
func (in *SecureSourceManagerInstanceSpec) DeepCopy() *SecureSourceManagerInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerInstanceSpec.
func (*SecureSourceManagerInstanceSpec) DeepCopyInto ¶
func (in *SecureSourceManagerInstanceSpec) DeepCopyInto(out *SecureSourceManagerInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureSourceManagerInstanceStatus ¶
type SecureSourceManagerInstanceStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the SecureSourceManagerInstance resource in GCP. // +optional ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. // +optional ObservedState *SecureSourceManagerInstanceObservedState `json:"observedState,omitempty"` }
SecureSourceManagerInstanceStatus defines the config connector machine state of SecureSourceManagerInstance
func (*SecureSourceManagerInstanceStatus) DeepCopy ¶
func (in *SecureSourceManagerInstanceStatus) DeepCopy() *SecureSourceManagerInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerInstanceStatus.
func (*SecureSourceManagerInstanceStatus) DeepCopyInto ¶
func (in *SecureSourceManagerInstanceStatus) DeepCopyInto(out *SecureSourceManagerInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureSourceManagerRepository ¶ added in v1.125.0
type SecureSourceManagerRepository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec SecureSourceManagerRepositorySpec `json:"spec,omitempty"` Status SecureSourceManagerRepositoryStatus `json:"status,omitempty"` }
SecureSourceManagerRepository is the Schema for the SecureSourceManagerRepository API +k8s:openapi-gen=true
func (*SecureSourceManagerRepository) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepository) DeepCopy() *SecureSourceManagerRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepository.
func (*SecureSourceManagerRepository) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepository) DeepCopyInto(out *SecureSourceManagerRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerRepository) DeepCopyObject ¶ added in v1.125.0
func (in *SecureSourceManagerRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecureSourceManagerRepositoryList ¶ added in v1.125.0
type SecureSourceManagerRepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecureSourceManagerRepository `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SecureSourceManagerRepositoryList contains a list of SecureSourceManagerRepository
func (*SecureSourceManagerRepositoryList) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryList) DeepCopy() *SecureSourceManagerRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepositoryList.
func (*SecureSourceManagerRepositoryList) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryList) DeepCopyInto(out *SecureSourceManagerRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerRepositoryList) DeepCopyObject ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecureSourceManagerRepositoryObservedState ¶ added in v1.125.0
type SecureSourceManagerRepositoryObservedState struct { // Output only. Unique identifier of the repository. Uid *string `json:"uid,omitempty"` // Output only. This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. Etag *string `json:"etag,omitempty"` // Output only. URIs for the repository. URIs *Repository_URIs `json:"uris,omitempty"` }
SecureSourceManagerRepositoryObservedState is the state of the SecureSourceManagerRepository resource as most recently observed in GCP.
func (*SecureSourceManagerRepositoryObservedState) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryObservedState) DeepCopy() *SecureSourceManagerRepositoryObservedState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepositoryObservedState.
func (*SecureSourceManagerRepositoryObservedState) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryObservedState) DeepCopyInto(out *SecureSourceManagerRepositoryObservedState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureSourceManagerRepositoryParent ¶ added in v1.125.0
func (*SecureSourceManagerRepositoryParent) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryParent) DeepCopy() *SecureSourceManagerRepositoryParent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepositoryParent.
func (*SecureSourceManagerRepositoryParent) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryParent) DeepCopyInto(out *SecureSourceManagerRepositoryParent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerRepositoryParent) String ¶ added in v1.125.0
func (p *SecureSourceManagerRepositoryParent) String() string
type SecureSourceManagerRepositoryRef ¶ added in v1.125.0
type SecureSourceManagerRepositoryRef struct { // A reference to an externally managed SecureSourceManagerRepository resource. // Should be in the format "projects/{{projectID}}/locations/{{location}}/repositories/{{repositoryID}}". External string `json:"external,omitempty"` // The name of a SecureSourceManagerRepository resource. Name string `json:"name,omitempty"` // The namespace of a SecureSourceManagerRepository resource. Namespace string `json:"namespace,omitempty"` // contains filtered or unexported fields }
SecureSourceManagerRepositoryRef defines the resource reference to SecureSourceManagerRepository, which "External" field holds the GCP identifier for the KRM object.
func NewSecureSourceManagerRepositoryRef ¶ added in v1.125.0
func NewSecureSourceManagerRepositoryRef(ctx context.Context, reader client.Reader, obj *SecureSourceManagerRepository) (*SecureSourceManagerRepositoryRef, error)
New builds a SecureSourceManagerRepositoryRef from the Config Connector SecureSourceManagerRepository object.
func (*SecureSourceManagerRepositoryRef) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryRef) DeepCopy() *SecureSourceManagerRepositoryRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepositoryRef.
func (*SecureSourceManagerRepositoryRef) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryRef) DeepCopyInto(out *SecureSourceManagerRepositoryRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecureSourceManagerRepositoryRef) NormalizedExternal ¶ added in v1.125.0
func (r *SecureSourceManagerRepositoryRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)
NormalizedExternal provision the "External" value for other resource that depends on SecureSourceManagerRepository. If the "External" is given in the other resource's spec.SecureSourceManagerRepositoryRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual SecureSourceManagerRepository object from the cluster.
func (*SecureSourceManagerRepositoryRef) Parent ¶ added in v1.125.0
func (r *SecureSourceManagerRepositoryRef) Parent() (*SecureSourceManagerRepositoryParent, error)
func (*SecureSourceManagerRepositoryRef) ResourceID ¶ added in v1.125.0
func (r *SecureSourceManagerRepositoryRef) ResourceID() (string, error)
type SecureSourceManagerRepositorySpec ¶ added in v1.125.0
type SecureSourceManagerRepositorySpec struct { /* Immutable. The Project that this resource belongs to. */ // +required ProjectRef *refs.ProjectRef `json:"projectRef"` /* Immutable. Location of the instance. */ // +required Location string `json:"location"` // The SecureSourceManagerRepository name. If not given, the metadata.name will be used. ResourceID *string `json:"resourceID,omitempty"` // The name of the instance in which the repository is hosted, formatted as // `projects/{project_number}/locations/{location_id}/instances/{instance_id}` // +required InstanceRef *SecureSourceManagerInstanceRef `json:"instanceRef,omitempty"` // Input only. Initial configurations for the repository. InitialConfig *Repository_InitialConfig `json:"initialConfig,omitempty"` }
SecureSourceManagerRepositorySpec defines the desired state of SecureSourceManagerRepository +kcc:proto=google.cloud.securesourcemanager.v1.Repository
func (*SecureSourceManagerRepositorySpec) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepositorySpec) DeepCopy() *SecureSourceManagerRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepositorySpec.
func (*SecureSourceManagerRepositorySpec) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepositorySpec) DeepCopyInto(out *SecureSourceManagerRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureSourceManagerRepositoryStatus ¶ added in v1.125.0
type SecureSourceManagerRepositoryStatus struct { /* Conditions represent the latest available observations of the object's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // A unique specifier for the SecureSourceManagerRepository resource in GCP. ExternalRef *string `json:"externalRef,omitempty"` // ObservedState is the state of the resource as most recently observed in GCP. ObservedState *SecureSourceManagerRepositoryObservedState `json:"observedState,omitempty"` }
SecureSourceManagerRepositoryStatus defines the config connector machine state of SecureSourceManagerRepository
func (*SecureSourceManagerRepositoryStatus) DeepCopy ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryStatus) DeepCopy() *SecureSourceManagerRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureSourceManagerRepositoryStatus.
func (*SecureSourceManagerRepositoryStatus) DeepCopyInto ¶ added in v1.125.0
func (in *SecureSourceManagerRepositoryStatus) DeepCopyInto(out *SecureSourceManagerRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.