├── .gitignore ├── Dockerfile ├── LICENSE ├── Makefile ├── OWNERS ├── README.md ├── api └── library │ └── v1 │ └── types.go ├── arch ├── aarch64 │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel-aarch64.json │ │ │ └── dotnet-runtime-rhel-aarch64.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel-aarch64.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel-aarch64.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-aarch64.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── ubi8-openjdk-11-rhel-aarch64.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-aarch64.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-aarch64.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-aarch64.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel-aarch64.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel-aarch64.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel-aarch64.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel-aarch64.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel-aarch64.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel-aarch64.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel-aarch64.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel-aarch64.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel-aarch64.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ └── ruby │ │ └── imagestreams │ │ └── ruby-rhel-aarch64.json ├── ppc64le │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel-ppc64le.json │ │ │ └── dotnet-runtime-rhel-ppc64le.json │ │ ├── eap │ │ ├── imagestreams │ │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ │ └── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ └── templates │ │ │ ├── eap-xp3-basic-s2i.json │ │ │ ├── eap-xp4-basic-s2i.json │ │ │ ├── eap74-basic-s2i.json │ │ │ ├── eap74-https-s2i.json │ │ │ └── eap74-sso-s2i.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-ppc64le.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── openjdk-11-rhel7-rhel-ppc64le.json │ │ │ ├── redhat-openjdk18-openshift-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-11-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-ppc64le.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-rhel.json │ │ ├── semeru │ │ └── templates │ │ │ └── openjdk-to-semeru-transition.json │ │ ├── sso │ │ ├── imagestreams │ │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ │ ├── sso75-openshift-rhel8.json │ │ │ └── sso76-openshift-rhel8.json │ │ └── templates │ │ │ ├── sso75-https.json │ │ │ ├── sso75-ocp4-x509-https.json │ │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ │ ├── sso75-postgresql-persistent.json │ │ │ ├── sso75-postgresql.json │ │ │ ├── sso76-ocp4-https.json │ │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ │ ├── sso76-ocp4-postgresql.json │ │ │ ├── sso76-ocp4-x509-https.json │ │ │ └── sso76-ocp4-x509-postgresql-persistent.json │ │ └── webserver │ │ ├── imagestreams │ │ └── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ │ └── templates │ │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ │ └── jws57-openjdk11-tomcat9-ubi8-https-s2i.json ├── s390x │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel-s390x.json │ │ │ └── dotnet-runtime-rhel-s390x.json │ │ ├── eap │ │ ├── imagestreams │ │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ │ └── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ └── templates │ │ │ ├── eap-xp3-basic-s2i.json │ │ │ ├── eap-xp4-basic-s2i.json │ │ │ ├── eap74-basic-s2i.json │ │ │ ├── eap74-https-s2i.json │ │ │ └── eap74-sso-s2i.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-s390x.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── openjdk-11-rhel7-rhel-s390x.json │ │ │ ├── redhat-openjdk18-openshift-rhel-s390x.json │ │ │ ├── ubi8-openjdk-11-rhel-s390x.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-s390x.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-s390x.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-s390x.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-rhel.json │ │ ├── semeru │ │ └── templates │ │ │ └── openjdk-to-semeru-transition.json │ │ ├── sso │ │ ├── imagestreams │ │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ │ ├── sso75-openshift-rhel8.json │ │ │ └── sso76-openshift-rhel8.json │ │ └── templates │ │ │ ├── sso75-https.json │ │ │ ├── sso75-ocp4-x509-https.json │ │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ │ ├── sso75-postgresql-persistent.json │ │ │ ├── sso75-postgresql.json │ │ │ ├── sso76-ocp4-https.json │ │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ │ ├── sso76-ocp4-postgresql.json │ │ │ ├── sso76-ocp4-x509-https.json │ │ │ └── sso76-ocp4-x509-postgresql-persistent.json │ │ └── webserver │ │ ├── imagestreams │ │ └── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ │ └── templates │ │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ │ └── jws57-openjdk11-tomcat9-ubi8-https-s2i.json └── x86_64 │ ├── community │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-runtime.json │ │ │ └── dotnet.json │ ├── golang │ │ └── imagestreams │ │ │ └── golang-centos.json │ ├── httpd │ │ └── imagestreams │ │ │ └── httpd-centos.json │ ├── java │ │ ├── imagestreams │ │ │ └── java-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ ├── jenkins │ │ └── imagestreams │ │ │ ├── jenkins-agent-base-ubi.json │ │ │ └── jenkins-ubi.json │ ├── mariadb │ │ └── imagestreams │ │ │ └── mariadb-centos.json │ ├── mysql │ │ └── imagestreams │ │ │ └── mysql-centos.json │ ├── nginx │ │ └── imagestreams │ │ │ └── nginx-centos.json │ ├── nodejs │ │ └── imagestreams │ │ │ └── nodejs-centos.json │ ├── openliberty │ │ └── imagestreams │ │ │ └── openliberty.json │ ├── perl │ │ └── imagestreams │ │ │ └── perl-centos.json │ ├── php │ │ └── imagestreams │ │ │ └── php-centos.json │ ├── postgresql │ │ └── imagestreams │ │ │ └── postgresql-centos.json │ ├── python │ │ └── imagestreams │ │ │ └── python-centos.json │ ├── redis │ │ └── imagestreams │ │ │ └── redis-centos.json │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-centos.json │ └── wildfly │ │ └── imagestreams │ │ ├── wildfly-runtime-ubi.json │ │ └── wildfly-s2i-ubi.json │ └── official │ ├── 3scale │ ├── imagestreams │ │ └── apicast-gateway.json │ └── templates │ │ └── 3scale-gateway.json │ ├── amq │ ├── imagestreams │ │ └── jboss-amq-63-rhel7.json │ └── templates │ │ ├── amq63-basic.json │ │ └── amq63-ssl.json │ ├── cakephp │ └── templates │ │ ├── cakephp-mysql-example.json │ │ └── cakephp-mysql-persistent.json │ ├── dancer │ └── templates │ │ ├── dancer-mysql-example.json │ │ └── dancer-mysql-persistent.json │ ├── datagrid │ ├── imagestreams │ │ └── jboss-datagrid73-openshift-rhel7.json │ └── templates │ │ ├── cache-service.json │ │ └── datagrid-service.json │ ├── django │ └── templates │ │ ├── django-psql-example.json │ │ └── django-psql-persistent.json │ ├── dotnet │ └── imagestreams │ │ ├── dotnet-rhel.json │ │ └── dotnet-runtime-rhel.json │ ├── eap │ ├── imagestreams │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ ├── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ ├── jboss-eap74-openjdk8-openshift-rhel7.json │ │ └── jboss-eap74-openjdk8-runtime-openshift-rhel7.json │ └── templates │ │ ├── eap-xp3-basic-s2i.json │ │ ├── eap-xp4-basic-s2i.json │ │ ├── eap74-basic-s2i.json │ │ ├── eap74-https-s2i.json │ │ └── eap74-sso-s2i.json │ ├── fis │ ├── imagestreams │ │ ├── apicurito-ui-rhel7.json │ │ ├── fis-java-openshift-rhel7.json │ │ ├── fis-karaf-openshift-rhel7.json │ │ ├── fuse-apicurito-generator-rhel7.json │ │ ├── fuse7-console-rhel7.json │ │ ├── fuse7-eap-openshift-java11-rhel7.json │ │ ├── fuse7-eap-openshift-java17-rhel7.json │ │ ├── fuse7-eap-openshift-rhel7.json │ │ ├── fuse7-java-openshift-rhel7.json │ │ ├── fuse7-java11-openshift-rhel7.json │ │ ├── fuse7-java17-openshift-rhel7.json │ │ ├── fuse7-karaf-openshift-jdk11-rhel7.json │ │ ├── fuse7-karaf-openshift-jdk17-rhel7.json │ │ └── fuse7-karaf-openshift-rhel7.json │ └── templates │ │ ├── apicurito.json │ │ ├── fuse713-console.json │ │ ├── s2i-fuse713-spring-boot-2-camel-rest-3scale.json │ │ ├── s2i-fuse713-spring-boot-2-camel-xml.json │ │ └── s2i-fuse713-spring-boot-2-camel.json │ ├── golang │ └── imagestreams │ │ └── golang-rhel.json │ ├── httpd │ ├── imagestreams │ │ └── httpd-rhel.json │ └── templates │ │ └── httpd-example.json │ ├── java │ ├── imagestreams │ │ ├── java-rhel-x86_64.json │ │ ├── java-runtime-ubi.json │ │ ├── openjdk-11-rhel7-rhel-x86_64.json │ │ ├── redhat-openjdk18-openshift-rhel-x86_64.json │ │ ├── ubi8-openjdk-11-rhel-x86_64.json │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ ├── ubi8-openjdk-17-rhel-x86_64.json │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ ├── ubi8-openjdk-21-rhel-x86_64.json │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ ├── ubi8-openjdk-8-rhel-x86_64.json │ │ └── ubi8-openjdk-8-runtime-ubi.json │ └── templates │ │ └── openjdk-web-basic-s2i.json │ ├── jenkins │ ├── imagestreams │ │ ├── jenkins-agent-base-rhel.json │ │ └── jenkins-rhel.json │ └── templates │ │ ├── jenkins-ephemeral-monitored.json │ │ ├── jenkins-ephemeral.json │ │ ├── jenkins-persistent-monitored.json │ │ └── jenkins-persistent.json │ ├── mariadb │ ├── imagestreams │ │ └── mariadb-rhel.json │ └── templates │ │ ├── mariadb-ephemeral.json │ │ └── mariadb-persistent.json │ ├── mysql │ ├── imagestreams │ │ └── mysql-rhel.json │ └── templates │ │ ├── mysql-ephemeral.json │ │ └── mysql-persistent.json │ ├── nginx │ ├── imagestreams │ │ └── nginx-rhel.json │ └── templates │ │ └── nginx-example.json │ ├── nodejs │ ├── imagestreams │ │ └── nodejs-rhel.json │ └── templates │ │ ├── nodejs-postgresql-example.json │ │ ├── nodejs-postgresql-persistent.json │ │ └── react-web-app-example.json │ ├── perl │ └── imagestreams │ │ └── perl-rhel.json │ ├── php │ └── imagestreams │ │ └── php-rhel.json │ ├── postgresql │ ├── imagestreams │ │ └── postgresql-rhel.json │ └── templates │ │ ├── postgresql-ephemeral.json │ │ └── postgresql-persistent.json │ ├── python │ └── imagestreams │ │ └── python-rhel.json │ ├── rails │ └── templates │ │ ├── rails-pgsql-persistent.json │ │ └── rails-postgresql-example.json │ ├── redis │ ├── imagestreams │ │ └── redis-rhel.json │ └── templates │ │ ├── redis-ephemeral.json │ │ └── redis-persistent.json │ ├── ruby │ └── imagestreams │ │ └── ruby-rhel.json │ ├── sso │ ├── imagestreams │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ ├── sso75-openshift-rhel8.json │ │ └── sso76-openshift-rhel8.json │ └── templates │ │ ├── sso75-https.json │ │ ├── sso75-ocp4-x509-https.json │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ ├── sso75-postgresql-persistent.json │ │ ├── sso75-postgresql.json │ │ ├── sso76-ocp4-https.json │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ ├── sso76-ocp4-postgresql.json │ │ ├── sso76-ocp4-x509-https.json │ │ └── sso76-ocp4-x509-postgresql-persistent.json │ └── webserver │ ├── imagestreams │ ├── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ └── jboss-webserver57-openjdk8-tomcat9-openshift-ubi8.json │ └── templates │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ ├── jws57-openjdk11-tomcat9-ubi8-https-s2i.json │ ├── jws57-openjdk8-tomcat9-ubi8-basic-s2i.json │ └── jws57-openjdk8-tomcat9-ubi8-https-s2i.json ├── cmd ├── common.go ├── import.go └── root.go ├── community.yaml ├── community ├── dotnet │ └── imagestreams │ │ ├── dotnet-runtime.json │ │ └── dotnet.json ├── golang │ └── imagestreams │ │ └── golang-centos.json ├── httpd │ └── imagestreams │ │ └── httpd-centos.json ├── java │ ├── imagestreams │ │ └── java-ubi.json │ └── templates │ │ └── openjdk-web-basic-s2i.json ├── jenkins │ └── imagestreams │ │ ├── jenkins-agent-base-ubi.json │ │ └── jenkins-ubi.json ├── mariadb │ └── imagestreams │ │ └── mariadb-centos.json ├── mysql │ └── imagestreams │ │ └── mysql-centos.json ├── nginx │ └── imagestreams │ │ └── nginx-centos.json ├── nodejs │ └── imagestreams │ │ └── nodejs-centos.json ├── openliberty │ └── imagestreams │ │ └── openliberty.json ├── perl │ └── imagestreams │ │ └── perl-centos.json ├── php │ └── imagestreams │ │ └── php-centos.json ├── postgresql │ └── imagestreams │ │ └── postgresql-centos.json ├── python │ └── imagestreams │ │ └── python-centos.json ├── redis │ └── imagestreams │ │ └── redis-centos.json ├── ruby │ └── imagestreams │ │ └── ruby-centos.json └── wildfly │ └── imagestreams │ ├── wildfly-runtime-ubi.json │ └── wildfly-s2i-ubi.json ├── configs ├── cluster-samples-operator-periodic.yaml └── verify-cluster-samples-operator-periodic.yaml ├── go.mod ├── go.sum ├── hack ├── verify-gofmt.sh ├── verify-periodic-old.sh ├── verify-periodic.sh └── verify-pullrequest.sh ├── main.go ├── official.yaml ├── official ├── 3scale │ ├── imagestreams │ │ └── apicast-gateway.json │ └── templates │ │ └── 3scale-gateway.json ├── amq │ ├── imagestreams │ │ └── jboss-amq-63-rhel7.json │ └── templates │ │ ├── amq63-basic.json │ │ ├── amq63-persistent-ssl.json │ │ ├── amq63-persistent.json │ │ └── amq63-ssl.json ├── cakephp │ └── templates │ │ ├── cakephp-example.json │ │ ├── cakephp-mysql-example.json │ │ └── cakephp-mysql-persistent.json ├── dancer │ └── templates │ │ ├── dancer-example.json │ │ ├── dancer-mysql-example.json │ │ └── dancer-mysql-persistent.json ├── datagrid │ ├── imagestreams │ │ └── jboss-datagrid73-openshift-rhel7.json │ └── templates │ │ ├── cache-service.json │ │ └── datagrid-service.json ├── django │ └── templates │ │ ├── django-example.json │ │ ├── django-psql-example.json │ │ └── django-psql-persistent.json ├── dotnet │ └── imagestreams │ │ ├── dotnet-rhel-aarch64.json │ │ ├── dotnet-rhel-ppc64le.json │ │ ├── dotnet-rhel-s390x.json │ │ ├── dotnet-rhel.json │ │ ├── dotnet-runtime-rhel-aarch64.json │ │ ├── dotnet-runtime-rhel-ppc64le.json │ │ ├── dotnet-runtime-rhel-s390x.json │ │ └── dotnet-runtime-rhel.json ├── eap │ ├── imagestreams │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ ├── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ ├── jboss-eap74-openjdk8-openshift-rhel7.json │ │ └── jboss-eap74-openjdk8-runtime-openshift-rhel7.json │ └── templates │ │ ├── eap-xp3-basic-s2i.json │ │ ├── eap-xp4-basic-s2i.json │ │ ├── eap74-basic-s2i.json │ │ ├── eap74-https-s2i.json │ │ └── eap74-sso-s2i.json ├── fis │ ├── imagestreams │ │ ├── apicurito-ui-rhel7.json │ │ ├── fis-java-openshift-rhel7.json │ │ ├── fis-karaf-openshift-rhel7.json │ │ ├── fuse-apicurito-generator-rhel7.json │ │ ├── fuse7-console-rhel7.json │ │ ├── fuse7-eap-openshift-java11-rhel7.json │ │ ├── fuse7-eap-openshift-java17-rhel7.json │ │ ├── fuse7-eap-openshift-rhel7.json │ │ ├── fuse7-java-openshift-rhel7.json │ │ ├── fuse7-java11-openshift-rhel7.json │ │ ├── fuse7-java17-openshift-rhel7.json │ │ ├── fuse7-karaf-openshift-jdk11-rhel7.json │ │ ├── fuse7-karaf-openshift-jdk17-rhel7.json │ │ └── fuse7-karaf-openshift-rhel7.json │ └── templates │ │ ├── apicurito.json │ │ ├── fuse713-console.json │ │ ├── s2i-fuse713-spring-boot-2-camel-rest-3scale.json │ │ ├── s2i-fuse713-spring-boot-2-camel-xml.json │ │ └── s2i-fuse713-spring-boot-2-camel.json ├── golang │ └── imagestreams │ │ ├── golang-rhel-aarch64.json │ │ └── golang-rhel.json ├── httpd │ ├── imagestreams │ │ ├── httpd-rhel-aarch64.json │ │ └── httpd-rhel.json │ └── templates │ │ └── httpd-example.json ├── java │ ├── imagestreams │ │ ├── java-rhel-aarch64.json │ │ ├── java-rhel-ppc64le.json │ │ ├── java-rhel-s390x.json │ │ ├── java-rhel-x86_64.json │ │ ├── java-runtime-ubi.json │ │ ├── openjdk-11-rhel7-rhel-ppc64le.json │ │ ├── openjdk-11-rhel7-rhel-s390x.json │ │ ├── openjdk-11-rhel7-rhel-x86_64.json │ │ ├── redhat-openjdk18-openshift-rhel-ppc64le.json │ │ ├── redhat-openjdk18-openshift-rhel-s390x.json │ │ ├── redhat-openjdk18-openshift-rhel-x86_64.json │ │ ├── ubi8-openjdk-11-rhel-aarch64.json │ │ ├── ubi8-openjdk-11-rhel-ppc64le.json │ │ ├── ubi8-openjdk-11-rhel-s390x.json │ │ ├── ubi8-openjdk-11-rhel-x86_64.json │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ ├── ubi8-openjdk-17-rhel-aarch64.json │ │ ├── ubi8-openjdk-17-rhel-ppc64le.json │ │ ├── ubi8-openjdk-17-rhel-s390x.json │ │ ├── ubi8-openjdk-17-rhel-x86_64.json │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ ├── ubi8-openjdk-21-rhel-aarch64.json │ │ ├── ubi8-openjdk-21-rhel-ppc64le.json │ │ ├── ubi8-openjdk-21-rhel-s390x.json │ │ ├── ubi8-openjdk-21-rhel-x86_64.json │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ ├── ubi8-openjdk-8-rhel-aarch64.json │ │ ├── ubi8-openjdk-8-rhel-ppc64le.json │ │ ├── ubi8-openjdk-8-rhel-s390x.json │ │ ├── ubi8-openjdk-8-rhel-x86_64.json │ │ └── ubi8-openjdk-8-runtime-ubi.json │ └── templates │ │ └── openjdk-web-basic-s2i.json ├── jenkins │ ├── imagestreams │ │ ├── jenkins-agent-base-rhel.json │ │ └── jenkins-rhel.json │ └── templates │ │ ├── jenkins-ephemeral-monitored.json │ │ ├── jenkins-ephemeral.json │ │ ├── jenkins-persistent-monitored.json │ │ └── jenkins-persistent.json ├── mariadb │ ├── imagestreams │ │ ├── mariadb-rhel-aarch64.json │ │ └── mariadb-rhel.json │ └── templates │ │ ├── mariadb-ephemeral.json │ │ └── mariadb-persistent.json ├── mysql │ ├── imagestreams │ │ ├── mysql-rhel-aarch64.json │ │ └── mysql-rhel.json │ └── templates │ │ ├── mysql-ephemeral.json │ │ └── mysql-persistent.json ├── nginx │ ├── imagestreams │ │ ├── nginx-rhel-aarch64.json │ │ └── nginx-rhel.json │ └── templates │ │ └── nginx-example.json ├── nodejs │ ├── imagestreams │ │ ├── nodejs-rhel-aarch64.json │ │ └── nodejs-rhel.json │ └── templates │ │ ├── nodejs-example.json │ │ ├── nodejs-postgresql-example.json │ │ ├── nodejs-postgresql-persistent.json │ │ └── react-web-app-example.json ├── perl │ └── imagestreams │ │ ├── perl-rhel-aarch64.json │ │ └── perl-rhel.json ├── php │ └── imagestreams │ │ ├── php-rhel-aarch64.json │ │ └── php-rhel.json ├── postgresql │ ├── imagestreams │ │ ├── postgresql-rhel-aarch64.json │ │ └── postgresql-rhel.json │ └── templates │ │ ├── postgresql-ephemeral.json │ │ └── postgresql-persistent.json ├── python │ └── imagestreams │ │ ├── python-rhel-aarch64.json │ │ └── python-rhel.json ├── rails │ └── templates │ │ ├── rails-pgsql-persistent.json │ │ └── rails-postgresql-example.json ├── redis │ ├── imagestreams │ │ ├── redis-rhel-aarch64.json │ │ └── redis-rhel.json │ └── templates │ │ ├── redis-ephemeral.json │ │ └── redis-persistent.json ├── ruby │ └── imagestreams │ │ ├── ruby-rhel-aarch64.json │ │ └── ruby-rhel.json ├── semeru │ └── templates │ │ └── openjdk-to-semeru-transition.json ├── sso │ ├── imagestreams │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ ├── sso75-openshift-rhel8.json │ │ └── sso76-openshift-rhel8.json │ └── templates │ │ ├── sso75-https.json │ │ ├── sso75-ocp4-x509-https.json │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ ├── sso75-postgresql-persistent.json │ │ ├── sso75-postgresql.json │ │ ├── sso76-ocp4-https.json │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ ├── sso76-ocp4-postgresql.json │ │ ├── sso76-ocp4-x509-https.json │ │ └── sso76-ocp4-x509-postgresql-persistent.json └── webserver │ ├── imagestreams │ ├── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ └── jboss-webserver57-openjdk8-tomcat9-openshift-ubi8.json │ └── templates │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ ├── jws57-openjdk11-tomcat9-ubi8-https-s2i.json │ ├── jws57-openjdk8-tomcat9-ubi8-basic-s2i.json │ └── jws57-openjdk8-tomcat9-ubi8-https-s2i.json ├── online └── professional │ └── x86_64 │ ├── community │ ├── java │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ ├── openliberty │ │ └── imagestreams │ │ │ └── openliberty.json │ └── wildfly │ │ └── imagestreams │ │ ├── wildfly-runtime-ubi.json │ │ └── wildfly-s2i-ubi.json │ └── official │ ├── 3scale │ ├── imagestreams │ │ └── apicast-gateway.json │ └── templates │ │ └── 3scale-gateway.json │ ├── amq │ ├── imagestreams │ │ └── jboss-amq-63-rhel7.json │ └── templates │ │ ├── amq63-basic.json │ │ └── amq63-ssl.json │ ├── cakephp │ └── templates │ │ └── cakephp-mysql-persistent.json │ ├── dancer │ └── templates │ │ └── dancer-mysql-persistent.json │ ├── datagrid │ ├── imagestreams │ │ └── jboss-datagrid73-openshift-rhel7.json │ └── templates │ │ ├── cache-service.json │ │ └── datagrid-service.json │ ├── django │ └── templates │ │ └── django-psql-persistent.json │ ├── dotnet │ └── imagestreams │ │ ├── dotnet-rhel.json │ │ └── dotnet-runtime-rhel.json │ ├── fis │ ├── imagestreams │ │ ├── apicurito-ui-rhel7.json │ │ ├── fis-java-openshift-rhel7.json │ │ ├── fis-karaf-openshift-rhel7.json │ │ ├── fuse-apicurito-generator-rhel7.json │ │ ├── fuse7-console-rhel7.json │ │ ├── fuse7-eap-openshift-java11-rhel7.json │ │ ├── fuse7-eap-openshift-java17-rhel7.json │ │ ├── fuse7-eap-openshift-rhel7.json │ │ ├── fuse7-java-openshift-rhel7.json │ │ ├── fuse7-java11-openshift-rhel7.json │ │ ├── fuse7-java17-openshift-rhel7.json │ │ ├── fuse7-karaf-openshift-jdk11-rhel7.json │ │ ├── fuse7-karaf-openshift-jdk17-rhel7.json │ │ └── fuse7-karaf-openshift-rhel7.json │ └── templates │ │ ├── apicurito.json │ │ ├── fuse713-console.json │ │ ├── s2i-fuse713-spring-boot-2-camel-rest-3scale.json │ │ ├── s2i-fuse713-spring-boot-2-camel-xml.json │ │ └── s2i-fuse713-spring-boot-2-camel.json │ ├── golang │ └── imagestreams │ │ └── golang-rhel.json │ ├── httpd │ ├── imagestreams │ │ └── httpd-rhel.json │ └── templates │ │ └── httpd-example.json │ ├── java │ ├── imagestreams │ │ ├── java-rhel-x86_64.json │ │ ├── openjdk-11-rhel7-rhel-x86_64.json │ │ ├── redhat-openjdk18-openshift-rhel-x86_64.json │ │ ├── ubi8-openjdk-11-rhel-x86_64.json │ │ ├── ubi8-openjdk-17-rhel-x86_64.json │ │ ├── ubi8-openjdk-21-rhel-x86_64.json │ │ └── ubi8-openjdk-8-rhel-x86_64.json │ └── templates │ │ └── openjdk-web-basic-s2i.json │ ├── jenkins │ ├── imagestreams │ │ ├── jenkins-agent-base-rhel.json │ │ └── jenkins-rhel.json │ └── templates │ │ ├── jenkins-persistent-monitored.json │ │ └── jenkins-persistent.json │ ├── mariadb │ ├── imagestreams │ │ └── mariadb-rhel.json │ └── templates │ │ └── mariadb-persistent.json │ ├── mysql │ ├── imagestreams │ │ └── mysql-rhel.json │ └── templates │ │ └── mysql-persistent.json │ ├── nginx │ ├── imagestreams │ │ └── nginx-rhel.json │ └── templates │ │ └── nginx-example.json │ ├── nodejs │ ├── imagestreams │ │ └── nodejs-rhel.json │ └── templates │ │ └── nodejs-postgresql-persistent.json │ ├── perl │ └── imagestreams │ │ └── perl-rhel.json │ ├── php │ └── imagestreams │ │ └── php-rhel.json │ ├── postgresql │ ├── imagestreams │ │ └── postgresql-rhel.json │ └── templates │ │ └── postgresql-persistent.json │ ├── python │ └── imagestreams │ │ └── python-rhel.json │ ├── rails │ └── templates │ │ └── rails-pgsql-persistent.json │ ├── redis │ ├── imagestreams │ │ └── redis-rhel.json │ └── templates │ │ ├── redis-ephemeral.json │ │ └── redis-persistent.json │ ├── ruby │ └── imagestreams │ │ └── ruby-rhel.json │ └── webserver │ ├── imagestreams │ ├── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ └── jboss-webserver57-openjdk8-tomcat9-openshift-ubi8.json │ └── templates │ ├── jws57-openjdk11-tomcat9-ubi8-https-s2i.json │ └── jws57-openjdk8-tomcat9-ubi8-https-s2i.json ├── operator ├── ocp-aarch64 │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel-aarch64.json │ │ │ └── dotnet-runtime-rhel-aarch64.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel-aarch64.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel-aarch64.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-aarch64.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── ubi8-openjdk-11-rhel-aarch64.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-aarch64.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-aarch64.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-aarch64.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel-aarch64.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel-aarch64.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel-aarch64.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel-aarch64.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel-aarch64.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel-aarch64.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel-aarch64.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel-aarch64.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel-aarch64.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ └── ruby │ │ └── imagestreams │ │ └── ruby-rhel-aarch64.json ├── ocp-ppc64le │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel-ppc64le.json │ │ │ └── dotnet-runtime-rhel-ppc64le.json │ │ ├── eap │ │ ├── imagestreams │ │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ │ └── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ └── templates │ │ │ ├── eap-xp3-basic-s2i.json │ │ │ ├── eap-xp4-basic-s2i.json │ │ │ ├── eap74-basic-s2i.json │ │ │ ├── eap74-https-s2i.json │ │ │ └── eap74-sso-s2i.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-ppc64le.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── openjdk-11-rhel7-rhel-ppc64le.json │ │ │ ├── redhat-openjdk18-openshift-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-11-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-ppc64le.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-ppc64le.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-rhel.json │ │ ├── semeru │ │ └── templates │ │ │ └── openjdk-to-semeru-transition.json │ │ ├── sso │ │ ├── imagestreams │ │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ │ ├── sso75-openshift-rhel8.json │ │ │ └── sso76-openshift-rhel8.json │ │ └── templates │ │ │ ├── sso75-https.json │ │ │ ├── sso75-ocp4-x509-https.json │ │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ │ ├── sso75-postgresql-persistent.json │ │ │ ├── sso75-postgresql.json │ │ │ ├── sso76-ocp4-https.json │ │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ │ ├── sso76-ocp4-postgresql.json │ │ │ ├── sso76-ocp4-x509-https.json │ │ │ └── sso76-ocp4-x509-postgresql-persistent.json │ │ └── webserver │ │ ├── imagestreams │ │ └── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ │ └── templates │ │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ │ └── jws57-openjdk11-tomcat9-ubi8-https-s2i.json ├── ocp-s390x │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel-s390x.json │ │ │ └── dotnet-runtime-rhel-s390x.json │ │ ├── eap │ │ ├── imagestreams │ │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ │ └── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ └── templates │ │ │ ├── eap-xp3-basic-s2i.json │ │ │ ├── eap-xp4-basic-s2i.json │ │ │ ├── eap74-basic-s2i.json │ │ │ ├── eap74-https-s2i.json │ │ │ └── eap74-sso-s2i.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-s390x.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── openjdk-11-rhel7-rhel-s390x.json │ │ │ ├── redhat-openjdk18-openshift-rhel-s390x.json │ │ │ ├── ubi8-openjdk-11-rhel-s390x.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-s390x.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-s390x.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-s390x.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-rhel.json │ │ ├── semeru │ │ └── templates │ │ │ └── openjdk-to-semeru-transition.json │ │ ├── sso │ │ ├── imagestreams │ │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ │ ├── sso75-openshift-rhel8.json │ │ │ └── sso76-openshift-rhel8.json │ │ └── templates │ │ │ ├── sso75-https.json │ │ │ ├── sso75-ocp4-x509-https.json │ │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ │ ├── sso75-postgresql-persistent.json │ │ │ ├── sso75-postgresql.json │ │ │ ├── sso76-ocp4-https.json │ │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ │ ├── sso76-ocp4-postgresql.json │ │ │ ├── sso76-ocp4-x509-https.json │ │ │ └── sso76-ocp4-x509-postgresql-persistent.json │ │ └── webserver │ │ ├── imagestreams │ │ └── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ │ └── templates │ │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ │ └── jws57-openjdk11-tomcat9-ubi8-https-s2i.json ├── ocp-x86_64 │ └── official │ │ ├── cakephp │ │ └── templates │ │ │ ├── cakephp-mysql-example.json │ │ │ └── cakephp-mysql-persistent.json │ │ ├── dancer │ │ └── templates │ │ │ ├── dancer-mysql-example.json │ │ │ └── dancer-mysql-persistent.json │ │ ├── datagrid │ │ ├── imagestreams │ │ │ └── jboss-datagrid73-openshift-rhel7.json │ │ └── templates │ │ │ ├── cache-service.json │ │ │ └── datagrid-service.json │ │ ├── django │ │ └── templates │ │ │ ├── django-psql-example.json │ │ │ └── django-psql-persistent.json │ │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-rhel.json │ │ │ └── dotnet-runtime-rhel.json │ │ ├── eap │ │ ├── imagestreams │ │ │ ├── jboss-eap-xp3-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp3-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap-xp4-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk11-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk11-runtime-openshift-rhel8.json │ │ │ ├── jboss-eap74-openjdk8-openshift-rhel7.json │ │ │ └── jboss-eap74-openjdk8-runtime-openshift-rhel7.json │ │ └── templates │ │ │ ├── eap-xp3-basic-s2i.json │ │ │ ├── eap-xp4-basic-s2i.json │ │ │ ├── eap74-basic-s2i.json │ │ │ ├── eap74-https-s2i.json │ │ │ └── eap74-sso-s2i.json │ │ ├── fis │ │ ├── imagestreams │ │ │ ├── fuse7-eap-openshift-java11-rhel7.json │ │ │ ├── fuse7-eap-openshift-java17-rhel7.json │ │ │ ├── fuse7-eap-openshift-rhel7.json │ │ │ ├── fuse7-java-openshift-rhel7.json │ │ │ ├── fuse7-java11-openshift-rhel7.json │ │ │ ├── fuse7-java17-openshift-rhel7.json │ │ │ ├── fuse7-karaf-openshift-jdk11-rhel7.json │ │ │ ├── fuse7-karaf-openshift-jdk17-rhel7.json │ │ │ └── fuse7-karaf-openshift-rhel7.json │ │ └── templates │ │ │ ├── s2i-fuse713-spring-boot-2-camel-rest-3scale.json │ │ │ ├── s2i-fuse713-spring-boot-2-camel-xml.json │ │ │ └── s2i-fuse713-spring-boot-2-camel.json │ │ ├── golang │ │ └── imagestreams │ │ │ └── golang-rhel.json │ │ ├── httpd │ │ ├── imagestreams │ │ │ └── httpd-rhel.json │ │ └── templates │ │ │ └── httpd-example.json │ │ ├── java │ │ ├── imagestreams │ │ │ ├── java-rhel-x86_64.json │ │ │ ├── java-runtime-ubi.json │ │ │ ├── openjdk-11-rhel7-rhel-x86_64.json │ │ │ ├── redhat-openjdk18-openshift-rhel-x86_64.json │ │ │ ├── ubi8-openjdk-11-rhel-x86_64.json │ │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ │ ├── ubi8-openjdk-17-rhel-x86_64.json │ │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ │ ├── ubi8-openjdk-21-rhel-x86_64.json │ │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ │ ├── ubi8-openjdk-8-rhel-x86_64.json │ │ │ └── ubi8-openjdk-8-runtime-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ │ ├── jenkins │ │ ├── imagestreams │ │ │ ├── jenkins-agent-base-rhel.json │ │ │ └── jenkins-rhel.json │ │ └── templates │ │ │ ├── jenkins-ephemeral-monitored.json │ │ │ ├── jenkins-ephemeral.json │ │ │ ├── jenkins-persistent-monitored.json │ │ │ └── jenkins-persistent.json │ │ ├── mariadb │ │ ├── imagestreams │ │ │ └── mariadb-rhel.json │ │ └── templates │ │ │ ├── mariadb-ephemeral.json │ │ │ └── mariadb-persistent.json │ │ ├── mysql │ │ ├── imagestreams │ │ │ └── mysql-rhel.json │ │ └── templates │ │ │ ├── mysql-ephemeral.json │ │ │ └── mysql-persistent.json │ │ ├── nginx │ │ ├── imagestreams │ │ │ └── nginx-rhel.json │ │ └── templates │ │ │ └── nginx-example.json │ │ ├── nodejs │ │ ├── imagestreams │ │ │ └── nodejs-rhel.json │ │ └── templates │ │ │ ├── nodejs-postgresql-example.json │ │ │ ├── nodejs-postgresql-persistent.json │ │ │ └── react-web-app-example.json │ │ ├── perl │ │ └── imagestreams │ │ │ └── perl-rhel.json │ │ ├── php │ │ └── imagestreams │ │ │ └── php-rhel.json │ │ ├── postgresql │ │ ├── imagestreams │ │ │ └── postgresql-rhel.json │ │ └── templates │ │ │ ├── postgresql-ephemeral.json │ │ │ └── postgresql-persistent.json │ │ ├── python │ │ └── imagestreams │ │ │ └── python-rhel.json │ │ ├── rails │ │ └── templates │ │ │ ├── rails-pgsql-persistent.json │ │ │ └── rails-postgresql-example.json │ │ ├── redis │ │ ├── imagestreams │ │ │ └── redis-rhel.json │ │ └── templates │ │ │ ├── redis-ephemeral.json │ │ │ └── redis-persistent.json │ │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-rhel.json │ │ ├── sso │ │ ├── imagestreams │ │ │ ├── postgresql13-for-sso75-openshift-rhel8.json │ │ │ ├── postgresql13-for-sso76-openshift-rhel8.json │ │ │ ├── sso75-openshift-rhel8.json │ │ │ └── sso76-openshift-rhel8.json │ │ └── templates │ │ │ ├── sso75-https.json │ │ │ ├── sso75-ocp4-x509-https.json │ │ │ ├── sso75-ocp4-x509-postgresql-persistent.json │ │ │ ├── sso75-postgresql-persistent.json │ │ │ ├── sso75-postgresql.json │ │ │ ├── sso76-ocp4-https.json │ │ │ ├── sso76-ocp4-postgresql-persistent.json │ │ │ ├── sso76-ocp4-postgresql.json │ │ │ ├── sso76-ocp4-x509-https.json │ │ │ └── sso76-ocp4-x509-postgresql-persistent.json │ │ └── webserver │ │ ├── imagestreams │ │ ├── jboss-webserver57-openjdk11-tomcat9-openshift-ubi8.json │ │ └── jboss-webserver57-openjdk8-tomcat9-openshift-ubi8.json │ │ └── templates │ │ ├── jws57-openjdk11-tomcat9-ubi8-basic-s2i.json │ │ ├── jws57-openjdk11-tomcat9-ubi8-https-s2i.json │ │ ├── jws57-openjdk8-tomcat9-ubi8-basic-s2i.json │ │ └── jws57-openjdk8-tomcat9-ubi8-https-s2i.json └── okd-x86_64 │ ├── community │ ├── dotnet │ │ └── imagestreams │ │ │ ├── dotnet-runtime.json │ │ │ └── dotnet.json │ ├── golang │ │ └── imagestreams │ │ │ └── golang-centos.json │ ├── httpd │ │ └── imagestreams │ │ │ └── httpd-centos.json │ ├── java │ │ ├── imagestreams │ │ │ └── java-ubi.json │ │ └── templates │ │ │ └── openjdk-web-basic-s2i.json │ ├── jenkins │ │ └── imagestreams │ │ │ ├── jenkins-agent-base-ubi.json │ │ │ └── jenkins-ubi.json │ ├── mariadb │ │ └── imagestreams │ │ │ └── mariadb-centos.json │ ├── mysql │ │ └── imagestreams │ │ │ └── mysql-centos.json │ ├── nginx │ │ └── imagestreams │ │ │ └── nginx-centos.json │ ├── nodejs │ │ └── imagestreams │ │ │ └── nodejs-centos.json │ ├── openliberty │ │ └── imagestreams │ │ │ └── openliberty.json │ ├── perl │ │ └── imagestreams │ │ │ └── perl-centos.json │ ├── php │ │ └── imagestreams │ │ │ └── php-centos.json │ ├── postgresql │ │ └── imagestreams │ │ │ └── postgresql-centos.json │ ├── python │ │ └── imagestreams │ │ │ └── python-centos.json │ ├── redis │ │ └── imagestreams │ │ │ └── redis-centos.json │ ├── ruby │ │ └── imagestreams │ │ │ └── ruby-centos.json │ └── wildfly │ │ └── imagestreams │ │ ├── wildfly-runtime-ubi.json │ │ └── wildfly-s2i-ubi.json │ └── official │ ├── cakephp │ └── templates │ │ ├── cakephp-mysql-example.json │ │ └── cakephp-mysql-persistent.json │ ├── dancer │ └── templates │ │ ├── dancer-mysql-example.json │ │ └── dancer-mysql-persistent.json │ ├── django │ └── templates │ │ ├── django-psql-example.json │ │ └── django-psql-persistent.json │ ├── httpd │ └── templates │ │ └── httpd-example.json │ ├── java │ └── imagestreams │ │ ├── java-runtime-ubi.json │ │ ├── ubi8-openjdk-11-runtime-ubi.json │ │ ├── ubi8-openjdk-17-runtime-ubi.json │ │ ├── ubi8-openjdk-21-runtime-ubi.json │ │ └── ubi8-openjdk-8-runtime-ubi.json │ ├── jenkins │ └── templates │ │ ├── jenkins-ephemeral-monitored.json │ │ ├── jenkins-ephemeral.json │ │ ├── jenkins-persistent-monitored.json │ │ └── jenkins-persistent.json │ ├── mariadb │ └── templates │ │ ├── mariadb-ephemeral.json │ │ └── mariadb-persistent.json │ ├── mysql │ └── templates │ │ ├── mysql-ephemeral.json │ │ └── mysql-persistent.json │ ├── nginx │ └── templates │ │ └── nginx-example.json │ ├── nodejs │ └── templates │ │ ├── nodejs-postgresql-example.json │ │ ├── nodejs-postgresql-persistent.json │ │ └── react-web-app-example.json │ ├── postgresql │ └── templates │ │ ├── postgresql-ephemeral.json │ │ └── postgresql-persistent.json │ ├── rails │ └── templates │ │ ├── rails-pgsql-persistent.json │ │ └── rails-postgresql-example.json │ └── redis │ └── templates │ ├── redis-ephemeral.json │ └── redis-persistent.json └── vendor ├── github.com ├── fsnotify │ └── fsnotify │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .mailmap │ │ ├── AUTHORS │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── fen.go │ │ ├── fsnotify.go │ │ ├── go.mod │ │ ├── go.sum │ │ ├── inotify.go │ │ ├── inotify_poller.go │ │ ├── kqueue.go │ │ ├── open_mode_bsd.go │ │ ├── open_mode_darwin.go │ │ └── windows.go ├── ghodss │ └── yaml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── fields.go │ │ └── yaml.go ├── go-logr │ └── logr │ │ ├── .golangci.yaml │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── discard.go │ │ ├── go.mod │ │ └── logr.go ├── gogo │ └── protobuf │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── LICENSE │ │ ├── proto │ │ ├── Makefile │ │ ├── clone.go │ │ ├── custom_gogo.go │ │ ├── decode.go │ │ ├── deprecated.go │ │ ├── discard.go │ │ ├── duration.go │ │ ├── duration_gogo.go │ │ ├── encode.go │ │ ├── encode_gogo.go │ │ ├── equal.go │ │ ├── extensions.go │ │ ├── extensions_gogo.go │ │ ├── lib.go │ │ ├── lib_gogo.go │ │ ├── message_set.go │ │ ├── pointer_reflect.go │ │ ├── pointer_reflect_gogo.go │ │ ├── pointer_unsafe.go │ │ ├── pointer_unsafe_gogo.go │ │ ├── properties.go │ │ ├── properties_gogo.go │ │ ├── skip_gogo.go │ │ ├── table_marshal.go │ │ ├── table_marshal_gogo.go │ │ ├── table_merge.go │ │ ├── table_unmarshal.go │ │ ├── table_unmarshal_gogo.go │ │ ├── text.go │ │ ├── text_gogo.go │ │ ├── text_parser.go │ │ ├── timestamp.go │ │ ├── timestamp_gogo.go │ │ ├── wrappers.go │ │ └── wrappers_gogo.go │ │ └── sortkeys │ │ └── sortkeys.go ├── google │ └── gofuzz │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── doc.go │ │ ├── fuzz.go │ │ └── go.mod ├── hashicorp │ └── hcl │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── appveyor.yml │ │ ├── decoder.go │ │ ├── go.mod │ │ ├── go.sum │ │ ├── hcl.go │ │ ├── hcl │ │ ├── ast │ │ │ ├── ast.go │ │ │ └── walk.go │ │ ├── parser │ │ │ ├── error.go │ │ │ └── parser.go │ │ ├── printer │ │ │ ├── nodes.go │ │ │ └── printer.go │ │ ├── scanner │ │ │ └── scanner.go │ │ ├── strconv │ │ │ └── quote.go │ │ └── token │ │ │ ├── position.go │ │ │ └── token.go │ │ ├── json │ │ ├── parser │ │ │ ├── flatten.go │ │ │ └── parser.go │ │ ├── scanner │ │ │ └── scanner.go │ │ └── token │ │ │ ├── position.go │ │ │ └── token.go │ │ ├── lex.go │ │ └── parse.go ├── inconshreveable │ └── mousetrap │ │ ├── LICENSE │ │ ├── README.md │ │ ├── trap_others.go │ │ ├── trap_windows.go │ │ └── trap_windows_1.4.go ├── json-iterator │ └── go │ │ ├── .codecov.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gopkg.lock │ │ ├── Gopkg.toml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── adapter.go │ │ ├── any.go │ │ ├── any_array.go │ │ ├── any_bool.go │ │ ├── any_float.go │ │ ├── any_int32.go │ │ ├── any_int64.go │ │ ├── any_invalid.go │ │ ├── any_nil.go │ │ ├── any_number.go │ │ ├── any_object.go │ │ ├── any_str.go │ │ ├── any_uint32.go │ │ ├── any_uint64.go │ │ ├── build.sh │ │ ├── config.go │ │ ├── fuzzy_mode_convert_table.md │ │ ├── go.mod │ │ ├── go.sum │ │ ├── iter.go │ │ ├── iter_array.go │ │ ├── iter_float.go │ │ ├── iter_int.go │ │ ├── iter_object.go │ │ ├── iter_skip.go │ │ ├── iter_skip_sloppy.go │ │ ├── iter_skip_strict.go │ │ ├── iter_str.go │ │ ├── jsoniter.go │ │ ├── pool.go │ │ ├── reflect.go │ │ ├── reflect_array.go │ │ ├── reflect_dynamic.go │ │ ├── reflect_extension.go │ │ ├── reflect_json_number.go │ │ ├── reflect_json_raw_message.go │ │ ├── reflect_map.go │ │ ├── reflect_marshaler.go │ │ ├── reflect_native.go │ │ ├── reflect_optional.go │ │ ├── reflect_slice.go │ │ ├── reflect_struct_decoder.go │ │ ├── reflect_struct_encoder.go │ │ ├── stream.go │ │ ├── stream_float.go │ │ ├── stream_int.go │ │ ├── stream_str.go │ │ └── test.sh ├── magiconair │ └── properties │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── decode.go │ │ ├── doc.go │ │ ├── go.mod │ │ ├── integrate.go │ │ ├── lex.go │ │ ├── load.go │ │ ├── parser.go │ │ ├── properties.go │ │ └── rangecheck.go ├── mitchellh │ ├── go-homedir │ │ ├── LICENSE │ │ ├── README.md │ │ ├── go.mod │ │ └── homedir.go │ └── mapstructure │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── decode_hooks.go │ │ ├── error.go │ │ ├── go.mod │ │ └── mapstructure.go ├── modern-go │ ├── concurrent │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── executor.go │ │ ├── go_above_19.go │ │ ├── go_below_19.go │ │ ├── log.go │ │ ├── test.sh │ │ └── unbounded_executor.go │ └── reflect2 │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── Gopkg.lock │ │ ├── Gopkg.toml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── go.mod │ │ ├── go_above_118.go │ │ ├── go_above_19.go │ │ ├── go_below_118.go │ │ ├── reflect2.go │ │ ├── reflect2_amd64.s │ │ ├── reflect2_kind.go │ │ ├── relfect2_386.s │ │ ├── relfect2_amd64p32.s │ │ ├── relfect2_arm.s │ │ ├── relfect2_arm64.s │ │ ├── relfect2_mips64x.s │ │ ├── relfect2_mipsx.s │ │ ├── relfect2_ppc64x.s │ │ ├── relfect2_s390x.s │ │ ├── safe_field.go │ │ ├── safe_map.go │ │ ├── safe_slice.go │ │ ├── safe_struct.go │ │ ├── safe_type.go │ │ ├── type_map.go │ │ ├── unsafe_array.go │ │ ├── unsafe_eface.go │ │ ├── unsafe_field.go │ │ ├── unsafe_iface.go │ │ ├── unsafe_link.go │ │ ├── unsafe_map.go │ │ ├── unsafe_ptr.go │ │ ├── unsafe_slice.go │ │ ├── unsafe_struct.go │ │ └── unsafe_type.go ├── openshift │ └── api │ │ ├── LICENSE │ │ ├── image │ │ ├── docker10 │ │ │ ├── doc.go │ │ │ ├── dockertypes.go │ │ │ ├── register.go │ │ │ └── zz_generated.deepcopy.go │ │ ├── dockerpre012 │ │ │ ├── deepcopy.go │ │ │ ├── doc.go │ │ │ ├── dockertypes.go │ │ │ ├── register.go │ │ │ └── zz_generated.deepcopy.go │ │ └── v1 │ │ │ ├── consts.go │ │ │ ├── doc.go │ │ │ ├── generated.pb.go │ │ │ ├── generated.proto │ │ │ ├── legacy.go │ │ │ ├── register.go │ │ │ ├── types.go │ │ │ ├── zz_generated.deepcopy.go │ │ │ └── zz_generated.swagger_doc_generated.go │ │ ├── pkg │ │ └── serialization │ │ │ └── serialization.go │ │ └── template │ │ └── v1 │ │ ├── codec.go │ │ ├── consts.go │ │ ├── doc.go │ │ ├── generated.pb.go │ │ ├── generated.proto │ │ ├── legacy.go │ │ ├── register.go │ │ ├── types.go │ │ ├── zz_generated.deepcopy.go │ │ └── zz_generated.swagger_doc_generated.go ├── pelletier │ └── go-toml │ │ ├── .dockerignore │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── Dockerfile │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ ├── README.md │ │ ├── azure-pipelines.yml │ │ ├── benchmark.sh │ │ ├── doc.go │ │ ├── example-crlf.toml │ │ ├── example.toml │ │ ├── fuzz.go │ │ ├── fuzz.sh │ │ ├── go.mod │ │ ├── keysparsing.go │ │ ├── lexer.go │ │ ├── localtime.go │ │ ├── marshal.go │ │ ├── marshal_OrderPreserve_test.toml │ │ ├── marshal_test.toml │ │ ├── parser.go │ │ ├── position.go │ │ ├── token.go │ │ ├── toml.go │ │ ├── tomlpub.go │ │ ├── tomltree_create.go │ │ ├── tomltree_write.go │ │ └── tomltree_writepub.go ├── spf13 │ ├── afero │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── afero.go │ │ ├── appveyor.yml │ │ ├── basepath.go │ │ ├── cacheOnReadFs.go │ │ ├── const_bsds.go │ │ ├── const_win_unix.go │ │ ├── copyOnWriteFs.go │ │ ├── go.mod │ │ ├── go.sum │ │ ├── httpFs.go │ │ ├── iofs.go │ │ ├── ioutil.go │ │ ├── lstater.go │ │ ├── match.go │ │ ├── mem │ │ │ ├── dir.go │ │ │ ├── dirmap.go │ │ │ └── file.go │ │ ├── memmap.go │ │ ├── os.go │ │ ├── path.go │ │ ├── readonlyfs.go │ │ ├── regexpfs.go │ │ ├── symlink.go │ │ ├── unionFile.go │ │ └── util.go │ ├── cast │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── cast.go │ │ ├── caste.go │ │ ├── go.mod │ │ ├── go.sum │ │ └── timeformattype_string.go │ ├── cobra │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── .mailmap │ │ ├── CHANGELOG.md │ │ ├── CONDUCT.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.txt │ │ ├── MAINTAINERS │ │ ├── Makefile │ │ ├── README.md │ │ ├── args.go │ │ ├── bash_completions.go │ │ ├── bash_completions.md │ │ ├── bash_completionsV2.go │ │ ├── cobra.go │ │ ├── command.go │ │ ├── command_notwin.go │ │ ├── command_win.go │ │ ├── completions.go │ │ ├── fish_completions.go │ │ ├── fish_completions.md │ │ ├── go.mod │ │ ├── go.sum │ │ ├── powershell_completions.go │ │ ├── powershell_completions.md │ │ ├── projects_using_cobra.md │ │ ├── shell_completions.go │ │ ├── shell_completions.md │ │ ├── user_guide.md │ │ ├── zsh_completions.go │ │ └── zsh_completions.md │ ├── jwalterweatherman │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── default_notepad.go │ │ ├── go.mod │ │ ├── log_counter.go │ │ └── notepad.go │ ├── pflag │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bool.go │ │ ├── bool_slice.go │ │ ├── bytes.go │ │ ├── count.go │ │ ├── duration.go │ │ ├── duration_slice.go │ │ ├── flag.go │ │ ├── float32.go │ │ ├── float32_slice.go │ │ ├── float64.go │ │ ├── float64_slice.go │ │ ├── go.mod │ │ ├── go.sum │ │ ├── golangflag.go │ │ ├── int.go │ │ ├── int16.go │ │ ├── int32.go │ │ ├── int32_slice.go │ │ ├── int64.go │ │ ├── int64_slice.go │ │ ├── int8.go │ │ ├── int_slice.go │ │ ├── ip.go │ │ ├── ip_slice.go │ │ ├── ipmask.go │ │ ├── ipnet.go │ │ ├── string.go │ │ ├── string_array.go │ │ ├── string_slice.go │ │ ├── string_to_int.go │ │ ├── string_to_int64.go │ │ ├── string_to_string.go │ │ ├── uint.go │ │ ├── uint16.go │ │ ├── uint32.go │ │ ├── uint64.go │ │ ├── uint8.go │ │ └── uint_slice.go │ └── viper │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── .golangci.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── TROUBLESHOOTING.md │ │ ├── flags.go │ │ ├── fs.go │ │ ├── go.mod │ │ ├── go.sum │ │ ├── internal │ │ └── encoding │ │ │ ├── decoder.go │ │ │ ├── encoder.go │ │ │ ├── error.go │ │ │ ├── hcl │ │ │ └── codec.go │ │ │ ├── json │ │ │ └── codec.go │ │ │ ├── toml │ │ │ └── codec.go │ │ │ └── yaml │ │ │ └── codec.go │ │ ├── logger.go │ │ ├── util.go │ │ ├── viper.go │ │ ├── viper_go1_15.go │ │ ├── viper_go1_16.go │ │ ├── watch.go │ │ └── watch_wasm.go └── subosito │ └── gotenv │ ├── .env │ ├── .env.invalid │ ├── .gitignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── appveyor.yml │ └── gotenv.go ├── golang.org └── x │ ├── net │ ├── AUTHORS │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── PATENTS │ ├── http │ │ └── httpguts │ │ │ ├── guts.go │ │ │ └── httplex.go │ ├── http2 │ │ ├── .gitignore │ │ ├── Dockerfile │ │ ├── Makefile │ │ ├── ascii.go │ │ ├── ciphers.go │ │ ├── client_conn_pool.go │ │ ├── databuffer.go │ │ ├── errors.go │ │ ├── flow.go │ │ ├── frame.go │ │ ├── go111.go │ │ ├── go115.go │ │ ├── gotrack.go │ │ ├── headermap.go │ │ ├── hpack │ │ │ ├── encode.go │ │ │ ├── hpack.go │ │ │ ├── huffman.go │ │ │ └── tables.go │ │ ├── http2.go │ │ ├── not_go111.go │ │ ├── not_go115.go │ │ ├── pipe.go │ │ ├── server.go │ │ ├── transport.go │ │ ├── write.go │ │ ├── writesched.go │ │ ├── writesched_priority.go │ │ └── writesched_random.go │ └── idna │ │ ├── idna10.0.0.go │ │ ├── idna9.0.0.go │ │ ├── punycode.go │ │ ├── tables10.0.0.go │ │ ├── tables11.0.0.go │ │ ├── tables12.0.0.go │ │ ├── tables13.0.0.go │ │ ├── tables9.0.0.go │ │ ├── trie.go │ │ └── trieval.go │ ├── sys │ ├── AUTHORS │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── PATENTS │ ├── internal │ │ └── unsafeheader │ │ │ └── unsafeheader.go │ └── unix │ │ ├── .gitignore │ │ ├── README.md │ │ ├── affinity_linux.go │ │ ├── aliases.go │ │ ├── asm_aix_ppc64.s │ │ ├── asm_bsd_386.s │ │ ├── asm_bsd_amd64.s │ │ ├── asm_bsd_arm.s │ │ ├── asm_bsd_arm64.s │ │ ├── asm_linux_386.s │ │ ├── asm_linux_amd64.s │ │ ├── asm_linux_arm.s │ │ ├── asm_linux_arm64.s │ │ ├── asm_linux_mips64x.s │ │ ├── asm_linux_mipsx.s │ │ ├── asm_linux_ppc64x.s │ │ ├── asm_linux_riscv64.s │ │ ├── asm_linux_s390x.s │ │ ├── asm_openbsd_mips64.s │ │ ├── asm_solaris_amd64.s │ │ ├── asm_zos_s390x.s │ │ ├── bluetooth_linux.go │ │ ├── cap_freebsd.go │ │ ├── constants.go │ │ ├── dev_aix_ppc.go │ │ ├── dev_aix_ppc64.go │ │ ├── dev_darwin.go │ │ ├── dev_dragonfly.go │ │ ├── dev_freebsd.go │ │ ├── dev_linux.go │ │ ├── dev_netbsd.go │ │ ├── dev_openbsd.go │ │ ├── dev_zos.go │ │ ├── dirent.go │ │ ├── endian_big.go │ │ ├── endian_little.go │ │ ├── env_unix.go │ │ ├── epoll_zos.go │ │ ├── errors_freebsd_386.go │ │ ├── errors_freebsd_amd64.go │ │ ├── errors_freebsd_arm.go │ │ ├── errors_freebsd_arm64.go │ │ ├── fcntl.go │ │ ├── fcntl_darwin.go │ │ ├── fcntl_linux_32bit.go │ │ ├── fdset.go │ │ ├── fstatfs_zos.go │ │ ├── gccgo.go │ │ ├── gccgo_c.c │ │ ├── gccgo_linux_amd64.go │ │ ├── ifreq_linux.go │ │ ├── ioctl.go │ │ ├── ioctl_linux.go │ │ ├── ioctl_zos.go │ │ ├── mkall.sh │ │ ├── mkerrors.sh │ │ ├── pagesize_unix.go │ │ ├── pledge_openbsd.go │ │ ├── ptrace_darwin.go │ │ ├── ptrace_ios.go │ │ ├── race.go │ │ ├── race0.go │ │ ├── readdirent_getdents.go │ │ ├── readdirent_getdirentries.go │ │ ├── sockcmsg_dragonfly.go │ │ ├── sockcmsg_linux.go │ │ ├── sockcmsg_unix.go │ │ ├── sockcmsg_unix_other.go │ │ ├── str.go │ │ ├── syscall.go │ │ ├── syscall_aix.go │ │ ├── syscall_aix_ppc.go │ │ ├── syscall_aix_ppc64.go │ │ ├── syscall_bsd.go │ │ ├── syscall_darwin.1_12.go │ │ ├── syscall_darwin.1_13.go │ │ ├── syscall_darwin.go │ │ ├── syscall_darwin_amd64.go │ │ ├── syscall_darwin_arm64.go │ │ ├── syscall_darwin_libSystem.go │ │ ├── syscall_dragonfly.go │ │ ├── syscall_dragonfly_amd64.go │ │ ├── syscall_freebsd.go │ │ ├── syscall_freebsd_386.go │ │ ├── syscall_freebsd_amd64.go │ │ ├── syscall_freebsd_arm.go │ │ ├── syscall_freebsd_arm64.go │ │ ├── syscall_illumos.go │ │ ├── syscall_linux.go │ │ ├── syscall_linux_386.go │ │ ├── syscall_linux_amd64.go │ │ ├── syscall_linux_amd64_gc.go │ │ ├── syscall_linux_arm.go │ │ ├── syscall_linux_arm64.go │ │ ├── syscall_linux_gc.go │ │ ├── syscall_linux_gc_386.go │ │ ├── syscall_linux_gc_arm.go │ │ ├── syscall_linux_gccgo_386.go │ │ ├── syscall_linux_gccgo_arm.go │ │ ├── syscall_linux_mips64x.go │ │ ├── syscall_linux_mipsx.go │ │ ├── syscall_linux_ppc.go │ │ ├── syscall_linux_ppc64x.go │ │ ├── syscall_linux_riscv64.go │ │ ├── syscall_linux_s390x.go │ │ ├── syscall_linux_sparc64.go │ │ ├── syscall_netbsd.go │ │ ├── syscall_netbsd_386.go │ │ ├── syscall_netbsd_amd64.go │ │ ├── syscall_netbsd_arm.go │ │ ├── syscall_netbsd_arm64.go │ │ ├── syscall_openbsd.go │ │ ├── syscall_openbsd_386.go │ │ ├── syscall_openbsd_amd64.go │ │ ├── syscall_openbsd_arm.go │ │ ├── syscall_openbsd_arm64.go │ │ ├── syscall_openbsd_mips64.go │ │ ├── syscall_solaris.go │ │ ├── syscall_solaris_amd64.go │ │ ├── syscall_unix.go │ │ ├── syscall_unix_gc.go │ │ ├── syscall_unix_gc_ppc64x.go │ │ ├── syscall_zos_s390x.go │ │ ├── sysvshm_linux.go │ │ ├── sysvshm_unix.go │ │ ├── sysvshm_unix_other.go │ │ ├── timestruct.go │ │ ├── unveil_openbsd.go │ │ ├── xattr_bsd.go │ │ ├── zerrors_aix_ppc.go │ │ ├── zerrors_aix_ppc64.go │ │ ├── zerrors_darwin_amd64.go │ │ ├── zerrors_darwin_arm64.go │ │ ├── zerrors_dragonfly_amd64.go │ │ ├── zerrors_freebsd_386.go │ │ ├── zerrors_freebsd_amd64.go │ │ ├── zerrors_freebsd_arm.go │ │ ├── zerrors_freebsd_arm64.go │ │ ├── zerrors_linux.go │ │ ├── zerrors_linux_386.go │ │ ├── zerrors_linux_amd64.go │ │ ├── zerrors_linux_arm.go │ │ ├── zerrors_linux_arm64.go │ │ ├── zerrors_linux_mips.go │ │ ├── zerrors_linux_mips64.go │ │ ├── zerrors_linux_mips64le.go │ │ ├── zerrors_linux_mipsle.go │ │ ├── zerrors_linux_ppc.go │ │ ├── zerrors_linux_ppc64.go │ │ ├── zerrors_linux_ppc64le.go │ │ ├── zerrors_linux_riscv64.go │ │ ├── zerrors_linux_s390x.go │ │ ├── zerrors_linux_sparc64.go │ │ ├── zerrors_netbsd_386.go │ │ ├── zerrors_netbsd_amd64.go │ │ ├── zerrors_netbsd_arm.go │ │ ├── zerrors_netbsd_arm64.go │ │ ├── zerrors_openbsd_386.go │ │ ├── zerrors_openbsd_amd64.go │ │ ├── zerrors_openbsd_arm.go │ │ ├── zerrors_openbsd_arm64.go │ │ ├── zerrors_openbsd_mips64.go │ │ ├── zerrors_solaris_amd64.go │ │ ├── zerrors_zos_s390x.go │ │ ├── zptrace_armnn_linux.go │ │ ├── zptrace_linux_arm64.go │ │ ├── zptrace_mipsnn_linux.go │ │ ├── zptrace_mipsnnle_linux.go │ │ ├── zptrace_x86_linux.go │ │ ├── zsyscall_aix_ppc.go │ │ ├── zsyscall_aix_ppc64.go │ │ ├── zsyscall_aix_ppc64_gc.go │ │ ├── zsyscall_aix_ppc64_gccgo.go │ │ ├── zsyscall_darwin_amd64.1_13.go │ │ ├── zsyscall_darwin_amd64.1_13.s │ │ ├── zsyscall_darwin_amd64.go │ │ ├── zsyscall_darwin_amd64.s │ │ ├── zsyscall_darwin_arm64.1_13.go │ │ ├── zsyscall_darwin_arm64.1_13.s │ │ ├── zsyscall_darwin_arm64.go │ │ ├── zsyscall_darwin_arm64.s │ │ ├── zsyscall_dragonfly_amd64.go │ │ ├── zsyscall_freebsd_386.go │ │ ├── zsyscall_freebsd_amd64.go │ │ ├── zsyscall_freebsd_arm.go │ │ ├── zsyscall_freebsd_arm64.go │ │ ├── zsyscall_illumos_amd64.go │ │ ├── zsyscall_linux.go │ │ ├── zsyscall_linux_386.go │ │ ├── zsyscall_linux_amd64.go │ │ ├── zsyscall_linux_arm.go │ │ ├── zsyscall_linux_arm64.go │ │ ├── zsyscall_linux_mips.go │ │ ├── zsyscall_linux_mips64.go │ │ ├── zsyscall_linux_mips64le.go │ │ ├── zsyscall_linux_mipsle.go │ │ ├── zsyscall_linux_ppc.go │ │ ├── zsyscall_linux_ppc64.go │ │ ├── zsyscall_linux_ppc64le.go │ │ ├── zsyscall_linux_riscv64.go │ │ ├── zsyscall_linux_s390x.go │ │ ├── zsyscall_linux_sparc64.go │ │ ├── zsyscall_netbsd_386.go │ │ ├── zsyscall_netbsd_amd64.go │ │ ├── zsyscall_netbsd_arm.go │ │ ├── zsyscall_netbsd_arm64.go │ │ ├── zsyscall_openbsd_386.go │ │ ├── zsyscall_openbsd_amd64.go │ │ ├── zsyscall_openbsd_arm.go │ │ ├── zsyscall_openbsd_arm64.go │ │ ├── zsyscall_openbsd_mips64.go │ │ ├── zsyscall_solaris_amd64.go │ │ ├── zsyscall_zos_s390x.go │ │ ├── zsysctl_openbsd_386.go │ │ ├── zsysctl_openbsd_amd64.go │ │ ├── zsysctl_openbsd_arm.go │ │ ├── zsysctl_openbsd_arm64.go │ │ ├── zsysctl_openbsd_mips64.go │ │ ├── zsysnum_darwin_amd64.go │ │ ├── zsysnum_darwin_arm64.go │ │ ├── zsysnum_dragonfly_amd64.go │ │ ├── zsysnum_freebsd_386.go │ │ ├── zsysnum_freebsd_amd64.go │ │ ├── zsysnum_freebsd_arm.go │ │ ├── zsysnum_freebsd_arm64.go │ │ ├── zsysnum_linux_386.go │ │ ├── zsysnum_linux_amd64.go │ │ ├── zsysnum_linux_arm.go │ │ ├── zsysnum_linux_arm64.go │ │ ├── zsysnum_linux_mips.go │ │ ├── zsysnum_linux_mips64.go │ │ ├── zsysnum_linux_mips64le.go │ │ ├── zsysnum_linux_mipsle.go │ │ ├── zsysnum_linux_ppc.go │ │ ├── zsysnum_linux_ppc64.go │ │ ├── zsysnum_linux_ppc64le.go │ │ ├── zsysnum_linux_riscv64.go │ │ ├── zsysnum_linux_s390x.go │ │ ├── zsysnum_linux_sparc64.go │ │ ├── zsysnum_netbsd_386.go │ │ ├── zsysnum_netbsd_amd64.go │ │ ├── zsysnum_netbsd_arm.go │ │ ├── zsysnum_netbsd_arm64.go │ │ ├── zsysnum_openbsd_386.go │ │ ├── zsysnum_openbsd_amd64.go │ │ ├── zsysnum_openbsd_arm.go │ │ ├── zsysnum_openbsd_arm64.go │ │ ├── zsysnum_openbsd_mips64.go │ │ ├── zsysnum_zos_s390x.go │ │ ├── ztypes_aix_ppc.go │ │ ├── ztypes_aix_ppc64.go │ │ ├── ztypes_darwin_amd64.go │ │ ├── ztypes_darwin_arm64.go │ │ ├── ztypes_dragonfly_amd64.go │ │ ├── ztypes_freebsd_386.go │ │ ├── ztypes_freebsd_amd64.go │ │ ├── ztypes_freebsd_arm.go │ │ ├── ztypes_freebsd_arm64.go │ │ ├── ztypes_illumos_amd64.go │ │ ├── ztypes_linux.go │ │ ├── ztypes_linux_386.go │ │ ├── ztypes_linux_amd64.go │ │ ├── ztypes_linux_arm.go │ │ ├── ztypes_linux_arm64.go │ │ ├── ztypes_linux_mips.go │ │ ├── ztypes_linux_mips64.go │ │ ├── ztypes_linux_mips64le.go │ │ ├── ztypes_linux_mipsle.go │ │ ├── ztypes_linux_ppc.go │ │ ├── ztypes_linux_ppc64.go │ │ ├── ztypes_linux_ppc64le.go │ │ ├── ztypes_linux_riscv64.go │ │ ├── ztypes_linux_s390x.go │ │ ├── ztypes_linux_sparc64.go │ │ ├── ztypes_netbsd_386.go │ │ ├── ztypes_netbsd_amd64.go │ │ ├── ztypes_netbsd_arm.go │ │ ├── ztypes_netbsd_arm64.go │ │ ├── ztypes_openbsd_386.go │ │ ├── ztypes_openbsd_amd64.go │ │ ├── ztypes_openbsd_arm.go │ │ ├── ztypes_openbsd_arm64.go │ │ ├── ztypes_openbsd_mips64.go │ │ ├── ztypes_solaris_amd64.go │ │ └── ztypes_zos_s390x.go │ └── text │ ├── AUTHORS │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── PATENTS │ ├── secure │ └── bidirule │ │ ├── bidirule.go │ │ ├── bidirule10.0.0.go │ │ └── bidirule9.0.0.go │ ├── transform │ └── transform.go │ └── unicode │ ├── bidi │ ├── bidi.go │ ├── bracket.go │ ├── core.go │ ├── prop.go │ ├── tables10.0.0.go │ ├── tables11.0.0.go │ ├── tables12.0.0.go │ ├── tables13.0.0.go │ ├── tables9.0.0.go │ └── trieval.go │ └── norm │ ├── composition.go │ ├── forminfo.go │ ├── input.go │ ├── iter.go │ ├── normalize.go │ ├── readwriter.go │ ├── tables10.0.0.go │ ├── tables11.0.0.go │ ├── tables12.0.0.go │ ├── tables13.0.0.go │ ├── tables9.0.0.go │ ├── transform.go │ └── trie.go ├── gopkg.in ├── inf.v0 │ ├── LICENSE │ ├── dec.go │ └── rounder.go ├── ini.v1 │ ├── .gitignore │ ├── .golangci.yml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── codecov.yml │ ├── data_source.go │ ├── deprecated.go │ ├── error.go │ ├── file.go │ ├── helper.go │ ├── ini.go │ ├── key.go │ ├── parser.go │ ├── section.go │ └── struct.go └── yaml.v2 │ ├── .travis.yml │ ├── LICENSE │ ├── LICENSE.libyaml │ ├── NOTICE │ ├── README.md │ ├── apic.go │ ├── decode.go │ ├── emitterc.go │ ├── encode.go │ ├── go.mod │ ├── parserc.go │ ├── readerc.go │ ├── resolve.go │ ├── scannerc.go │ ├── sorter.go │ ├── writerc.go │ ├── yaml.go │ ├── yamlh.go │ └── yamlprivateh.go ├── k8s.io ├── api │ ├── LICENSE │ └── core │ │ └── v1 │ │ ├── annotation_key_constants.go │ │ ├── doc.go │ │ ├── generated.pb.go │ │ ├── generated.proto │ │ ├── objectreference.go │ │ ├── register.go │ │ ├── resource.go │ │ ├── taint.go │ │ ├── toleration.go │ │ ├── types.go │ │ ├── types_swagger_doc_generated.go │ │ ├── well_known_labels.go │ │ ├── well_known_taints.go │ │ └── zz_generated.deepcopy.go ├── apimachinery │ ├── LICENSE │ ├── pkg │ │ ├── api │ │ │ └── resource │ │ │ │ ├── OWNERS │ │ │ │ ├── amount.go │ │ │ │ ├── generated.pb.go │ │ │ │ ├── generated.proto │ │ │ │ ├── math.go │ │ │ │ ├── quantity.go │ │ │ │ ├── quantity_proto.go │ │ │ │ ├── scale_int.go │ │ │ │ ├── suffix.go │ │ │ │ └── zz_generated.deepcopy.go │ │ ├── apis │ │ │ └── meta │ │ │ │ └── v1 │ │ │ │ ├── OWNERS │ │ │ │ ├── controller_ref.go │ │ │ │ ├── conversion.go │ │ │ │ ├── deepcopy.go │ │ │ │ ├── doc.go │ │ │ │ ├── duration.go │ │ │ │ ├── generated.pb.go │ │ │ │ ├── generated.proto │ │ │ │ ├── group_version.go │ │ │ │ ├── helpers.go │ │ │ │ ├── labels.go │ │ │ │ ├── meta.go │ │ │ │ ├── micro_time.go │ │ │ │ ├── micro_time_proto.go │ │ │ │ ├── register.go │ │ │ │ ├── time.go │ │ │ │ ├── time_proto.go │ │ │ │ ├── types.go │ │ │ │ ├── types_swagger_doc_generated.go │ │ │ │ ├── unstructured │ │ │ │ ├── helpers.go │ │ │ │ ├── unstructured.go │ │ │ │ ├── unstructured_list.go │ │ │ │ └── zz_generated.deepcopy.go │ │ │ │ ├── watch.go │ │ │ │ ├── zz_generated.conversion.go │ │ │ │ ├── zz_generated.deepcopy.go │ │ │ │ └── zz_generated.defaults.go │ │ ├── conversion │ │ │ ├── converter.go │ │ │ ├── deep_equal.go │ │ │ ├── doc.go │ │ │ ├── helper.go │ │ │ └── queryparams │ │ │ │ ├── convert.go │ │ │ │ └── doc.go │ │ ├── fields │ │ │ ├── doc.go │ │ │ ├── fields.go │ │ │ ├── requirements.go │ │ │ └── selector.go │ │ ├── labels │ │ │ ├── doc.go │ │ │ ├── labels.go │ │ │ ├── selector.go │ │ │ └── zz_generated.deepcopy.go │ │ ├── runtime │ │ │ ├── codec.go │ │ │ ├── codec_check.go │ │ │ ├── conversion.go │ │ │ ├── converter.go │ │ │ ├── doc.go │ │ │ ├── embedded.go │ │ │ ├── error.go │ │ │ ├── extension.go │ │ │ ├── generated.pb.go │ │ │ ├── generated.proto │ │ │ ├── helper.go │ │ │ ├── interfaces.go │ │ │ ├── mapper.go │ │ │ ├── negotiate.go │ │ │ ├── register.go │ │ │ ├── schema │ │ │ │ ├── generated.pb.go │ │ │ │ ├── generated.proto │ │ │ │ ├── group_version.go │ │ │ │ └── interfaces.go │ │ │ ├── scheme.go │ │ │ ├── scheme_builder.go │ │ │ ├── swagger_doc_generator.go │ │ │ ├── types.go │ │ │ ├── types_proto.go │ │ │ └── zz_generated.deepcopy.go │ │ ├── selection │ │ │ └── operator.go │ │ ├── types │ │ │ ├── doc.go │ │ │ ├── namespacedname.go │ │ │ ├── nodename.go │ │ │ ├── patch.go │ │ │ └── uid.go │ │ ├── util │ │ │ ├── errors │ │ │ │ ├── doc.go │ │ │ │ └── errors.go │ │ │ ├── intstr │ │ │ │ ├── generated.pb.go │ │ │ │ ├── generated.proto │ │ │ │ └── intstr.go │ │ │ ├── json │ │ │ │ └── json.go │ │ │ ├── naming │ │ │ │ └── from_stack.go │ │ │ ├── net │ │ │ │ ├── http.go │ │ │ │ ├── interface.go │ │ │ │ ├── port_range.go │ │ │ │ ├── port_split.go │ │ │ │ └── util.go │ │ │ ├── runtime │ │ │ │ └── runtime.go │ │ │ ├── sets │ │ │ │ ├── byte.go │ │ │ │ ├── doc.go │ │ │ │ ├── empty.go │ │ │ │ ├── int.go │ │ │ │ ├── int32.go │ │ │ │ ├── int64.go │ │ │ │ └── string.go │ │ │ └── validation │ │ │ │ ├── field │ │ │ │ ├── errors.go │ │ │ │ └── path.go │ │ │ │ └── validation.go │ │ └── watch │ │ │ ├── doc.go │ │ │ ├── filter.go │ │ │ ├── mux.go │ │ │ ├── streamwatcher.go │ │ │ ├── watch.go │ │ │ └── zz_generated.deepcopy.go │ └── third_party │ │ └── forked │ │ └── golang │ │ └── reflect │ │ └── deep_equal.go └── klog │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── OWNERS │ ├── README.md │ ├── RELEASE.md │ ├── SECURITY_CONTACTS │ ├── code-of-conduct.md │ ├── go.mod │ ├── go.sum │ ├── klog.go │ ├── klog_file.go │ └── v2 │ ├── .gitignore │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── OWNERS │ ├── README.md │ ├── RELEASE.md │ ├── SECURITY.md │ ├── SECURITY_CONTACTS │ ├── code-of-conduct.md │ ├── contextual.go │ ├── exit.go │ ├── go.mod │ ├── go.sum │ ├── imports.go │ ├── internal │ ├── buffer │ │ └── buffer.go │ ├── clock │ │ ├── README.md │ │ └── clock.go │ ├── serialize │ │ └── keyvalues.go │ └── severity │ │ └── severity.go │ ├── k8s_references.go │ ├── klog.go │ ├── klog_file.go │ ├── klog_file_others.go │ ├── klog_file_windows.go │ └── klogr.go ├── modules.txt └── sigs.k8s.io └── structured-merge-diff └── v3 ├── LICENSE └── value ├── allocator.go ├── doc.go ├── fields.go ├── jsontagutil.go ├── list.go ├── listreflect.go ├── listunstructured.go ├── map.go ├── mapreflect.go ├── mapunstructured.go ├── reflectcache.go ├── scalar.go ├── structreflect.go ├── value.go ├── valuereflect.go └── valueunstructured.go /.gitignore: -------------------------------------------------------------------------------- 1 | tmp 2 | _output 3 | library 4 | .idea 5 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # Dockerfile used to verify openshift/library via ci-operator 2 | FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 as builder 3 | WORKDIR /go/src/github.com/openshift/library 4 | COPY . . 5 | RUN make verify-gofmt 6 | RUN make build 7 | 8 | FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base 9 | RUN yum install -y git make 10 | COPY --from=builder /go/src/github.com/openshift/library /go/src/github.com/openshift/library 11 | RUN chmod 777 /go/src/github.com/openshift/library 12 | WORKDIR /go/src/github.com/openshift/library 13 | ENTRYPOINT [] 14 | CMD ["make", "verify-pullrequest"] 15 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - dperaza4dustbit 3 | - gabemontero 4 | - fbm3307 5 | approvers: 6 | - dperaza4dustbit 7 | - gabemontero 8 | - fbm3307 9 | 10 | -------------------------------------------------------------------------------- /arch/aarch64/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /arch/ppc64le/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /arch/s390x/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /arch/x86_64/community/jenkins/imagestreams/jenkins-agent-base-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "jenkins-agent-base", 6 | "creationTimestamp": null 7 | }, 8 | "spec": { 9 | "lookupPolicy": { 10 | "local": false 11 | }, 12 | "tags": [ 13 | { 14 | "name": "latest", 15 | "annotations": { 16 | "description": "Provides a Jenkins Base Agent to extend Jenkins agents", 17 | "iconClass": "icon-jenkins", 18 | "openshift.io/display-name": "Jenkins Base Agent", 19 | "openshift.io/provider-display-name": "Red Hat, Inc.", 20 | "tags": "jenkins" 21 | }, 22 | "from": { 23 | "kind": "DockerImage", 24 | "name": "quay.io/openshift/origin-jenkins-agent-base:4.13" 25 | }, 26 | "generation": null, 27 | "importPolicy": {}, 28 | "referencePolicy": { 29 | "type": "Local" 30 | } 31 | } 32 | ] 33 | }, 34 | "status": { 35 | "dockerImageRepository": "" 36 | } 37 | } -------------------------------------------------------------------------------- /arch/x86_64/official/fis/imagestreams/fuse7-java17-openshift-rhel7.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "fuse7-java17-openshift", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat Fuse 7 Java17", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.13", 19 | "annotations": { 20 | "description": "Red Hat Fuse 7.13 Java17 S2I images.", 21 | "iconClass": "icon-rh-integration", 22 | "openshift.io/display-name": "Red Hat Fuse 7.13 Java 17", 23 | "supports": "jboss-fuse:7.13.0,java:17,xpaas:1.2", 24 | "tags": "builder,jboss-fuse,java,xpaas,hidden", 25 | "version": "1.13" 26 | }, 27 | "from": { 28 | "kind": "DockerImage", 29 | "name": "registry.redhat.io/fuse7/fuse-java-openshift-jdk17-rhel8:1.13" 30 | }, 31 | "generation": null, 32 | "importPolicy": {}, 33 | "referencePolicy": { 34 | "type": "Local" 35 | } 36 | } 37 | ] 38 | }, 39 | "status": { 40 | "dockerImageRepository": "" 41 | } 42 | } -------------------------------------------------------------------------------- /arch/x86_64/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- 1 | package cmd 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | 7 | homedir "github.com/mitchellh/go-homedir" 8 | "github.com/spf13/cobra" 9 | "github.com/spf13/viper" 10 | ) 11 | 12 | var cfgFile string 13 | 14 | var rootCmd = &cobra.Command{ 15 | Use: "library", 16 | Version: "0.0.1", 17 | Short: "An application to manage the data contained within the OpenShift Library.", 18 | Long: ``, 19 | } 20 | 21 | func Execute() { 22 | if err := rootCmd.Execute(); err != nil { 23 | fmt.Println(err) 24 | os.Exit(1) 25 | } 26 | } 27 | 28 | func init() { 29 | cobra.OnInitialize(initConfig) 30 | 31 | } 32 | 33 | func initConfig() { 34 | if cfgFile != "" { 35 | viper.SetConfigFile(cfgFile) 36 | } else { 37 | home, err := homedir.Dir() 38 | if err != nil { 39 | fmt.Println(err) 40 | os.Exit(1) 41 | } 42 | 43 | viper.AddConfigPath(home) 44 | viper.SetConfigName(".library") 45 | } 46 | 47 | viper.AutomaticEnv() 48 | 49 | if err := viper.ReadInConfig(); err == nil { 50 | fmt.Println("Using config file:", viper.ConfigFileUsed()) 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /community/jenkins/imagestreams/jenkins-agent-base-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "jenkins-agent-base", 6 | "creationTimestamp": null 7 | }, 8 | "spec": { 9 | "lookupPolicy": { 10 | "local": false 11 | }, 12 | "tags": [ 13 | { 14 | "name": "latest", 15 | "annotations": { 16 | "description": "Provides a Jenkins Base Agent to extend Jenkins agents", 17 | "iconClass": "icon-jenkins", 18 | "openshift.io/display-name": "Jenkins Base Agent", 19 | "openshift.io/provider-display-name": "Red Hat, Inc.", 20 | "tags": "jenkins" 21 | }, 22 | "from": { 23 | "kind": "DockerImage", 24 | "name": "quay.io/openshift/origin-jenkins-agent-base:4.13" 25 | }, 26 | "generation": null, 27 | "importPolicy": {}, 28 | "referencePolicy": { 29 | "type": "Local" 30 | } 31 | } 32 | ] 33 | }, 34 | "status": { 35 | "dockerImageRepository": "" 36 | } 37 | } -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/openshift/library 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/ghodss/yaml v1.0.0 7 | github.com/mitchellh/go-homedir v1.1.0 8 | github.com/openshift/api v0.0.0-20200616174323-d030d476375f 9 | github.com/spf13/cobra v1.4.0 10 | github.com/spf13/pflag v1.0.5 11 | github.com/spf13/viper v1.10.1 12 | k8s.io/klog/v2 v2.60.1 13 | ) 14 | -------------------------------------------------------------------------------- /hack/verify-gofmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function os::util::list_go_src_files() { 4 | find . -not \( \ 5 | \( \ 6 | -wholename './_output' \ 7 | -o -wholename './.*' \ 8 | -o -wholename '*/vendor/*' \ 9 | \) -prune \ 10 | \) -name '*.go' | sort -u 11 | } 12 | 13 | 14 | bad_files=$(os::util::list_go_src_files | xargs gofmt -s -l) 15 | if [[ -n "${bad_files}" ]]; then 16 | echo "!!! gofmt needs to be run on the listed files" 17 | echo "${bad_files}" 18 | echo "Try running 'gofmt -s -w [path]'" 19 | exit 1 20 | fi 21 | 22 | 23 | -------------------------------------------------------------------------------- /hack/verify-periodic.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | start=`date +%s` 4 | 5 | echo "Creating data to check against" 6 | ./library import --config configs/verify-cluster-samples-operator-periodic.yaml 7 | 8 | DOCUMENTS=($(echo "official,community,arch,operator,online" | tr ',' '\n')) 9 | for document in "${DOCUMENTS[@]}" 10 | do 11 | echo "Comparing current ${document} directory and freshly generated ${document} directory" 12 | ret=0 13 | diff -Naupr "${document}" "_output/${document}" || ret=$? 14 | if [[ $ret -eq 0 ]] 15 | then 16 | echo "SUCCESS: ${document} directory up to date." 17 | else 18 | echo "FAILURE: ${document} directory out of date. Please run make import" 19 | exit 1 20 | fi 21 | done 22 | 23 | echo "Cleaning up" 24 | rm -rf _output 25 | 26 | echo "Verification ran in $((`date +%s`-start)) seconds" -------------------------------------------------------------------------------- /hack/verify-pullrequest.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | start=`date +%s` 4 | 5 | echo "Creating data to check against" 6 | make import DIR=_output 7 | 8 | DOCUMENTS=($(echo "${1}" | tr ',' '\n')) 9 | for document in "${DOCUMENTS[@]}" 10 | do 11 | echo "Comparing current ${document} directory and freshly generated ${document} directory" 12 | ret=0 13 | diff -Naupr "${document}" "_output/${document}" || ret=$? 14 | if [[ $ret -eq 0 ]] 15 | then 16 | echo "SUCCESS: ${document} directory up to date." 17 | else 18 | echo "FAILURE: ${document} directory out of date. Please run make import" 19 | exit 1 20 | fi 21 | done 22 | 23 | echo "Cleaning up" 24 | rm -rf _output 25 | 26 | echo "Verification ran in $((`date +%s`-start)) seconds" -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/openshift/library/cmd" 5 | ) 6 | 7 | func main() { 8 | 9 | cmd.Execute() 10 | } 11 | -------------------------------------------------------------------------------- /official/fis/imagestreams/fuse7-java17-openshift-rhel7.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "fuse7-java17-openshift", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat Fuse 7 Java17", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.13", 19 | "annotations": { 20 | "description": "Red Hat Fuse 7.13 Java17 S2I images.", 21 | "iconClass": "icon-rh-integration", 22 | "openshift.io/display-name": "Red Hat Fuse 7.13 Java 17", 23 | "supports": "jboss-fuse:7.13.0,java:17,xpaas:1.2", 24 | "tags": "builder,jboss-fuse,java,xpaas,hidden", 25 | "version": "1.13" 26 | }, 27 | "from": { 28 | "kind": "DockerImage", 29 | "name": "registry.redhat.io/fuse7/fuse-java-openshift-jdk17-rhel8:1.13" 30 | }, 31 | "generation": null, 32 | "importPolicy": {}, 33 | "referencePolicy": { 34 | "type": "Local" 35 | } 36 | } 37 | ] 38 | }, 39 | "status": { 40 | "dockerImageRepository": "" 41 | } 42 | } -------------------------------------------------------------------------------- /official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /operator/ocp-aarch64/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /operator/ocp-ppc64le/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /operator/ocp-s390x/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /operator/ocp-x86_64/official/fis/imagestreams/fuse7-java17-openshift-rhel7.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "fuse7-java17-openshift", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat Fuse 7 Java17", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.13", 19 | "annotations": { 20 | "description": "Red Hat Fuse 7.13 Java17 S2I images.", 21 | "iconClass": "icon-rh-integration", 22 | "openshift.io/display-name": "Red Hat Fuse 7.13 Java 17", 23 | "supports": "jboss-fuse:7.13.0,java:17,xpaas:1.2", 24 | "tags": "builder,jboss-fuse,java,xpaas,hidden", 25 | "version": "1.13" 26 | }, 27 | "from": { 28 | "kind": "DockerImage", 29 | "name": "registry.redhat.io/fuse7/fuse-java-openshift-jdk17-rhel8:1.13" 30 | }, 31 | "generation": null, 32 | "importPolicy": {}, 33 | "referencePolicy": { 34 | "type": "Local" 35 | } 36 | } 37 | ] 38 | }, 39 | "status": { 40 | "dockerImageRepository": "" 41 | } 42 | } -------------------------------------------------------------------------------- /operator/ocp-x86_64/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /operator/okd-x86_64/community/jenkins/imagestreams/jenkins-agent-base-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "jenkins-agent-base", 6 | "creationTimestamp": null 7 | }, 8 | "spec": { 9 | "lookupPolicy": { 10 | "local": false 11 | }, 12 | "tags": [ 13 | { 14 | "name": "latest", 15 | "annotations": { 16 | "description": "Provides a Jenkins Base Agent to extend Jenkins agents", 17 | "iconClass": "icon-jenkins", 18 | "openshift.io/display-name": "Jenkins Base Agent", 19 | "openshift.io/provider-display-name": "Red Hat, Inc.", 20 | "tags": "jenkins" 21 | }, 22 | "from": { 23 | "kind": "DockerImage", 24 | "name": "quay.io/openshift/origin-jenkins-agent-base:4.13" 25 | }, 26 | "generation": null, 27 | "importPolicy": {}, 28 | "referencePolicy": { 29 | "type": "Local" 30 | } 31 | } 32 | ] 33 | }, 34 | "status": { 35 | "dockerImageRepository": "" 36 | } 37 | } -------------------------------------------------------------------------------- /operator/okd-x86_64/official/java/imagestreams/ubi8-openjdk-21-runtime-ubi.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "ImageStream", 3 | "apiVersion": "image.openshift.io/v1", 4 | "metadata": { 5 | "name": "ubi8-openjdk-21-runtime", 6 | "creationTimestamp": null, 7 | "annotations": { 8 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 9 | "openshift.io/provider-display-name": "Red Hat, Inc." 10 | } 11 | }, 12 | "spec": { 13 | "lookupPolicy": { 14 | "local": false 15 | }, 16 | "tags": [ 17 | { 18 | "name": "1.18", 19 | "annotations": { 20 | "description": "Run Java applications using OpenJDK 21 upon UBI8.", 21 | "iconClass": "icon-rh-openjdk", 22 | "openshift.io/display-name": "Red Hat OpenJDK 21 Runtime (UBI8)", 23 | "tags": "java,openjdk,ubi8", 24 | "version": "1.18" 25 | }, 26 | "from": { 27 | "kind": "DockerImage", 28 | "name": "registry.access.redhat.com/ubi8/openjdk-21-runtime:1.18" 29 | }, 30 | "generation": null, 31 | "importPolicy": {}, 32 | "referencePolicy": { 33 | "type": "Local" 34 | } 35 | } 36 | ] 37 | }, 38 | "status": { 39 | "dockerImageRepository": "" 40 | } 41 | } -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.mailmap: -------------------------------------------------------------------------------- 1 | Chris Howey 2 | Nathan Youngman <4566+nathany@users.noreply.github.com> 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/fen.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build solaris 6 | // +build solaris 7 | 8 | package fsnotify 9 | 10 | import ( 11 | "errors" 12 | ) 13 | 14 | // Watcher watches a set of files, delivering events to a channel. 15 | type Watcher struct { 16 | Events chan Event 17 | Errors chan error 18 | } 19 | 20 | // NewWatcher establishes a new watcher with the underlying OS and begins waiting for events. 21 | func NewWatcher() (*Watcher, error) { 22 | return nil, errors.New("FEN based watcher not yet supported for fsnotify\n") 23 | } 24 | 25 | // Close removes all watches and closes the events channel. 26 | func (w *Watcher) Close() error { 27 | return nil 28 | } 29 | 30 | // Add starts watching the named file or directory (non-recursively). 31 | func (w *Watcher) Add(name string) error { 32 | return nil 33 | } 34 | 35 | // Remove stops watching the the named file or directory (non-recursively). 36 | func (w *Watcher) Remove(name string) error { 37 | return nil 38 | } 39 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/fsnotify/fsnotify 2 | 3 | go 1.13 4 | 5 | require golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c 6 | 7 | retract v1.5.0 8 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I= 2 | golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build freebsd || openbsd || netbsd || dragonfly 6 | // +build freebsd openbsd netbsd dragonfly 7 | 8 | package fsnotify 9 | 10 | import "golang.org/x/sys/unix" 11 | 12 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin 6 | // +build darwin 7 | 8 | package fsnotify 9 | 10 | import "golang.org/x/sys/unix" 11 | 12 | // note: this constant is not defined on BSD 13 | const openMode = unix.O_EVTONLY | unix.O_CLOEXEC 14 | -------------------------------------------------------------------------------- /vendor/github.com/ghodss/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # Eclipse files 5 | .classpath 6 | .project 7 | .settings/** 8 | 9 | # Emacs save files 10 | *~ 11 | 12 | # Vim-related files 13 | [._]*.s[a-w][a-z] 14 | [._]s[a-w][a-z] 15 | *.un~ 16 | Session.vim 17 | .netrwhist 18 | 19 | # Go test binaries 20 | *.test 21 | -------------------------------------------------------------------------------- /vendor/github.com/ghodss/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3 4 | - 1.4 5 | script: 6 | - go test 7 | - go build 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/.golangci.yaml: -------------------------------------------------------------------------------- 1 | run: 2 | timeout: 1m 3 | tests: true 4 | 5 | linters: 6 | disable-all: true 7 | enable: 8 | - asciicheck 9 | - deadcode 10 | - errcheck 11 | - forcetypeassert 12 | - gocritic 13 | - gofmt 14 | - goimports 15 | - gosimple 16 | - govet 17 | - ineffassign 18 | - misspell 19 | - revive 20 | - staticcheck 21 | - structcheck 22 | - typecheck 23 | - unused 24 | - varcheck 25 | 26 | issues: 27 | exclude-use-default: false 28 | max-issues-per-linter: 0 29 | max-same-issues: 10 30 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | ## v1.0.0-rc1 4 | 5 | This is the first logged release. Major changes (including breaking changes) 6 | have occurred since earlier tags. 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Logr is open to pull-requests, provided they fit within the intended scope of 4 | the project. Specifically, this library aims to be VERY small and minimalist, 5 | with no external dependencies. 6 | 7 | ## Compatibility 8 | 9 | This project intends to follow [semantic versioning](http://semver.org) and 10 | is very strict about compatibility. Any proposed changes MUST follow those 11 | rules. 12 | 13 | ## Performance 14 | 15 | As a logging library, logr must be as light-weight as possible. Any proposed 16 | code change must include results of running the [benchmark](./benchmark) 17 | before and after the change. 18 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-logr/logr 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of GoGo authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS file, which 3 | # lists people. For example, employees are listed in CONTRIBUTORS, 4 | # but not in AUTHORS, because the employer holds the copyright. 5 | 6 | # Names should be added to this file as one of 7 | # Organization's name 8 | # Individual's name 9 | # Individual's name 10 | 11 | # Please keep the list sorted. 12 | 13 | Sendgrid, Inc 14 | Vastech SA (PTY) LTD 15 | Walter Schulze 16 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Anton Povarov 2 | Brian Goff 3 | Clayton Coleman 4 | Denis Smirnov 5 | DongYun Kang 6 | Dwayne Schultz 7 | Georg Apitz 8 | Gustav Paul 9 | Johan Brandhorst 10 | John Shahid 11 | John Tuley 12 | Laurent 13 | Patrick Lee 14 | Peter Edge 15 | Roger Johansson 16 | Sam Nguyen 17 | Sergio Arbeo 18 | Stephen J Day 19 | Tamir Duberstein 20 | Todd Eisenberger 21 | Tormod Erevik Lea 22 | Vyacheslav Kim 23 | Walter Schulze 24 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.3 6 | - 1.2 7 | - tip 8 | 9 | install: 10 | - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi 11 | 12 | script: 13 | - go test -cover 14 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Google Inc. All rights reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package fuzz is a library for populating go objects with random values. 18 | package fuzz 19 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/gofuzz 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "build-{branch}-{build}" 2 | image: Visual Studio 2015 3 | clone_folder: c:\gopath\src\github.com\hashicorp\hcl 4 | environment: 5 | GOPATH: c:\gopath 6 | init: 7 | - git config --global core.autocrlf false 8 | install: 9 | - cmd: >- 10 | echo %Path% 11 | 12 | go version 13 | 14 | go env 15 | 16 | go get -t ./... 17 | 18 | build_script: 19 | - cmd: go test -v ./... 20 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/hcl 2 | 3 | require github.com/davecgh/go-spew v1.1.1 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl.go: -------------------------------------------------------------------------------- 1 | // Package hcl decodes HCL into usable Go structures. 2 | // 3 | // hcl input can come in either pure HCL format or JSON format. 4 | // It can be parsed into an AST, and then decoded into a structure, 5 | // or it can be decoded directly from a string into a structure. 6 | // 7 | // If you choose to parse HCL into a raw AST, the benefit is that you 8 | // can write custom visitor implementations to implement custom 9 | // semantic checks. By default, HCL does not perform any semantic 10 | // checks. 11 | package hcl 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/lex.go: -------------------------------------------------------------------------------- 1 | package hcl 2 | 3 | import ( 4 | "unicode" 5 | "unicode/utf8" 6 | ) 7 | 8 | type lexModeValue byte 9 | 10 | const ( 11 | lexModeUnknown lexModeValue = iota 12 | lexModeHcl 13 | lexModeJson 14 | ) 15 | 16 | // lexMode returns whether we're going to be parsing in JSON 17 | // mode or HCL mode. 18 | func lexMode(v []byte) lexModeValue { 19 | var ( 20 | r rune 21 | w int 22 | offset int 23 | ) 24 | 25 | for { 26 | r, w = utf8.DecodeRune(v[offset:]) 27 | offset += w 28 | if unicode.IsSpace(r) { 29 | continue 30 | } 31 | if r == '{' { 32 | return lexModeJson 33 | } 34 | break 35 | } 36 | 37 | return lexModeHcl 38 | } 39 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/parse.go: -------------------------------------------------------------------------------- 1 | package hcl 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/ast" 7 | hclParser "github.com/hashicorp/hcl/hcl/parser" 8 | jsonParser "github.com/hashicorp/hcl/json/parser" 9 | ) 10 | 11 | // ParseBytes accepts as input byte slice and returns ast tree. 12 | // 13 | // Input can be either JSON or HCL 14 | func ParseBytes(in []byte) (*ast.File, error) { 15 | return parse(in) 16 | } 17 | 18 | // ParseString accepts input as a string and returns ast tree. 19 | func ParseString(input string) (*ast.File, error) { 20 | return parse([]byte(input)) 21 | } 22 | 23 | func parse(in []byte) (*ast.File, error) { 24 | switch lexMode(in) { 25 | case lexModeHcl: 26 | return hclParser.Parse(in) 27 | case lexModeJson: 28 | return jsonParser.Parse(in) 29 | } 30 | 31 | return nil, fmt.Errorf("unknown config format") 32 | } 33 | 34 | // Parse parses the given input and returns the root object. 35 | // 36 | // The input format can be either HCL or JSON. 37 | func Parse(input string) (*ast.File, error) { 38 | return parse([]byte(input)) 39 | } 40 | -------------------------------------------------------------------------------- /vendor/github.com/inconshreveable/mousetrap/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 Alan Shreve 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/inconshreveable/mousetrap/README.md: -------------------------------------------------------------------------------- 1 | # mousetrap 2 | 3 | mousetrap is a tiny library that answers a single question. 4 | 5 | On a Windows machine, was the process invoked by someone double clicking on 6 | the executable file while browsing in explorer? 7 | 8 | ### Motivation 9 | 10 | Windows developers unfamiliar with command line tools will often "double-click" 11 | the executable for a tool. Because most CLI tools print the help and then exit 12 | when invoked without arguments, this is often very frustrating for those users. 13 | 14 | mousetrap provides a way to detect these invocations so that you can provide 15 | more helpful behavior and instructions on how to run the CLI tool. To see what 16 | this looks like, both from an organizational and a technical perspective, see 17 | https://inconshreveable.com/09-09-2014/sweat-the-small-stuff/ 18 | 19 | ### The interface 20 | 21 | The library exposes a single interface: 22 | 23 | func StartedByExplorer() (bool) 24 | -------------------------------------------------------------------------------- /vendor/github.com/inconshreveable/mousetrap/trap_others.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package mousetrap 4 | 5 | // StartedByExplorer returns true if the program was invoked by the user 6 | // double-clicking on the executable from explorer.exe 7 | // 8 | // It is conservative and returns false if any of the internal calls fail. 9 | // It does not guarantee that the program was run from a terminal. It only can tell you 10 | // whether it was launched from explorer.exe 11 | // 12 | // On non-Windows platforms, it always returns false. 13 | func StartedByExplorer() bool { 14 | return false 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [[projects]] 11 | name = "github.com/modern-go/reflect2" 12 | packages = ["."] 13 | revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" 14 | version = "1.0.1" 15 | 16 | [solve-meta] 17 | analyzer-name = "dep" 18 | analyzer-version = 1 19 | inputs-digest = "ea54a775e5a354cb015502d2e7aa4b74230fc77e894f34a838b268c25ec8eeb8" 20 | solver-name = "gps-cdcl" 21 | solver-version = 1 22 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/Gopkg.toml: -------------------------------------------------------------------------------- 1 | # Gopkg.toml example 2 | # 3 | # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md 4 | # for detailed Gopkg.toml documentation. 5 | # 6 | # required = ["github.com/user/thing/cmd/thing"] 7 | # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] 8 | # 9 | # [[constraint]] 10 | # name = "github.com/user/project" 11 | # version = "1.0.0" 12 | # 13 | # [[constraint]] 14 | # name = "github.com/user/project2" 15 | # branch = "dev" 16 | # source = "github.com/myfork/project2" 17 | # 18 | # [[override]] 19 | # name = "github.com/x/y" 20 | # version = "2.4.0" 21 | 22 | ignored = ["github.com/davecgh/go-spew*","github.com/google/gofuzz*","github.com/stretchr/testify*"] 23 | 24 | [[constraint]] 25 | name = "github.com/modern-go/reflect2" 26 | version = "1.0.1" 27 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 json-iterator 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/fuzzy_mode_convert_table.md: -------------------------------------------------------------------------------- 1 | | json type \ dest type | bool | int | uint | float |string| 2 | | --- | --- | --- | --- |--|--| 3 | | number | positive => true
negative => true
zero => false| 23.2 => 23
-32.1 => -32| 12.1 => 12
-12.1 => 0|as normal|same as origin| 4 | | string | empty string => false
string "0" => false
other strings => true | "123.32" => 123
"-123.4" => -123
"123.23xxxw" => 123
"abcde12" => 0
"-32.1" => -32| 13.2 => 13
-1.1 => 0 |12.1 => 12.1
-12.3 => -12.3
12.4xxa => 12.4
+1.1e2 =>110 |same as origin| 5 | | bool | true => true
false => false| true => 1
false => 0 | true => 1
false => 0 |true => 1
false => 0|true => "true"
false => "false"| 6 | | object | true | 0 | 0 |0|originnal json| 7 | | array | empty array => false
nonempty array => true| [] => 0
[1,2] => 1 | [] => 0
[1,2] => 1 |[] => 0
[1,2] => 1|original json| -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/json-iterator/go 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 7 | github.com/google/gofuzz v1.0.0 8 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 9 | github.com/modern-go/reflect2 v1.0.2 10 | github.com/stretchr/testify v1.3.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/jsoniter.go: -------------------------------------------------------------------------------- 1 | // Package jsoniter implements encoding and decoding of JSON as defined in 2 | // RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json. 3 | // Converting from encoding/json to jsoniter is no more than replacing the package with jsoniter 4 | // and variable type declarations (if any). 5 | // jsoniter interfaces gives 100% compatibility with code using standard lib. 6 | // 7 | // "JSON and Go" 8 | // (https://golang.org/doc/articles/json_and_go.html) 9 | // gives a description of how Marshal/Unmarshal operate 10 | // between arbitrary or predefined json objects and bytes, 11 | // and it applies to jsoniter.Marshal/Unmarshal as well. 12 | // 13 | // Besides, jsoniter.Iterator provides a different set of interfaces 14 | // iterating given bytes/string/reader 15 | // and yielding parsed elements one by one. 16 | // This set of interfaces reads input as required and gives 17 | // better performance. 18 | package jsoniter 19 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/pool.go: -------------------------------------------------------------------------------- 1 | package jsoniter 2 | 3 | import ( 4 | "io" 5 | ) 6 | 7 | // IteratorPool a thread safe pool of iterators with same configuration 8 | type IteratorPool interface { 9 | BorrowIterator(data []byte) *Iterator 10 | ReturnIterator(iter *Iterator) 11 | } 12 | 13 | // StreamPool a thread safe pool of streams with same configuration 14 | type StreamPool interface { 15 | BorrowStream(writer io.Writer) *Stream 16 | ReturnStream(stream *Stream) 17 | } 18 | 19 | func (cfg *frozenConfig) BorrowStream(writer io.Writer) *Stream { 20 | stream := cfg.streamPool.Get().(*Stream) 21 | stream.Reset(writer) 22 | return stream 23 | } 24 | 25 | func (cfg *frozenConfig) ReturnStream(stream *Stream) { 26 | stream.out = nil 27 | stream.Error = nil 28 | stream.Attachment = nil 29 | cfg.streamPool.Put(stream) 30 | } 31 | 32 | func (cfg *frozenConfig) BorrowIterator(data []byte) *Iterator { 33 | iter := cfg.iteratorPool.Get().(*Iterator) 34 | iter.ResetBytes(data) 35 | return iter 36 | } 37 | 38 | func (cfg *frozenConfig) ReturnIterator(iter *Iterator) { 39 | iter.Error = nil 40 | iter.Attachment = nil 41 | cfg.iteratorPool.Put(iter) 42 | } 43 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3.x 4 | - 1.4.x 5 | - 1.5.x 6 | - 1.6.x 7 | - 1.7.x 8 | - 1.8.x 9 | - 1.9.x 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "1.15.x" 16 | - "1.16.x" 17 | - tip 18 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/magiconair/properties 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/integrate.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Frank Schroeder. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package properties 6 | 7 | import "flag" 8 | 9 | // MustFlag sets flags that are skipped by dst.Parse when p contains 10 | // the respective key for flag.Flag.Name. 11 | // 12 | // It's use is recommended with command line arguments as in: 13 | // flag.Parse() 14 | // p.MustFlag(flag.CommandLine) 15 | func (p *Properties) MustFlag(dst *flag.FlagSet) { 16 | m := make(map[string]*flag.Flag) 17 | dst.VisitAll(func(f *flag.Flag) { 18 | m[f.Name] = f 19 | }) 20 | dst.Visit(func(f *flag.Flag) { 21 | delete(m, f.Name) // overridden 22 | }) 23 | 24 | for name, f := range m { 25 | v, ok := p.Get(name) 26 | if !ok { 27 | continue 28 | } 29 | 30 | if err := f.Value.Set(v); err != nil { 31 | ErrorHandler(err) 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/rangecheck.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Frank Schroeder. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package properties 6 | 7 | import ( 8 | "fmt" 9 | "math" 10 | ) 11 | 12 | // make this a var to overwrite it in a test 13 | var is32Bit = ^uint(0) == math.MaxUint32 14 | 15 | // intRangeCheck checks if the value fits into the int type and 16 | // panics if it does not. 17 | func intRangeCheck(key string, v int64) int { 18 | if is32Bit && (v < math.MinInt32 || v > math.MaxInt32) { 19 | panic(fmt.Sprintf("Value %d for key %s out of range", v, key)) 20 | } 21 | return int(v) 22 | } 23 | 24 | // uintRangeCheck checks if the value fits into the uint type and 25 | // panics if it does not. 26 | func uintRangeCheck(key string, v uint64) uint { 27 | if is32Bit && v > math.MaxUint32 { 28 | panic(fmt.Sprintf("Value %d for key %s out of range", v, key)) 29 | } 30 | return uint(v) 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Mitchell Hashimoto 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/README.md: -------------------------------------------------------------------------------- 1 | # go-homedir 2 | 3 | This is a Go library for detecting the user's home directory without 4 | the use of cgo, so the library can be used in cross-compilation environments. 5 | 6 | Usage is incredibly simple, just call `homedir.Dir()` to get the home directory 7 | for a user, and `homedir.Expand()` to expand the `~` in a path to the home 8 | directory. 9 | 10 | **Why not just use `os/user`?** The built-in `os/user` package requires 11 | cgo on Darwin systems. This means that any Go code that uses that package 12 | cannot cross compile. But 99% of the time the use for `os/user` is just to 13 | retrieve the home directory, which we can do for the current user without 14 | cgo. This library does that, enabling cross-compilation. 15 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-homedir 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Mitchell Hashimoto 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/mapstructure 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/executor.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import "context" 4 | 5 | // Executor replace go keyword to start a new goroutine 6 | // the goroutine should cancel itself if the context passed in has been cancelled 7 | // the goroutine started by the executor, is owned by the executor 8 | // we can cancel all executors owned by the executor just by stop the executor itself 9 | // however Executor interface does not Stop method, the one starting and owning executor 10 | // should use the concrete type of executor, instead of this interface. 11 | type Executor interface { 12 | // Go starts a new goroutine controlled by the context 13 | Go(handler func(ctx context.Context)) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map implements a thread safe map for go version below 1.9 using mutex 8 | type Map struct { 9 | lock sync.RWMutex 10 | data map[interface{}]interface{} 11 | } 12 | 13 | // NewMap creates a thread safe map 14 | func NewMap() *Map { 15 | return &Map{ 16 | data: make(map[interface{}]interface{}, 32), 17 | } 18 | } 19 | 20 | // Load is same as sync.Map Load 21 | func (m *Map) Load(key interface{}) (elem interface{}, found bool) { 22 | m.lock.RLock() 23 | elem, found = m.data[key] 24 | m.lock.RUnlock() 25 | return 26 | } 27 | 28 | // Load is same as sync.Map Store 29 | func (m *Map) Store(key interface{}, elem interface{}) { 30 | m.lock.Lock() 31 | m.data[key] = elem 32 | m.lock.Unlock() 33 | } 34 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.9.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [solve-meta] 5 | analyzer-name = "dep" 6 | analyzer-version = 1 7 | input-imports = [] 8 | solver-name = "gps-cdcl" 9 | solver-version = 1 10 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/Gopkg.toml: -------------------------------------------------------------------------------- 1 | # Gopkg.toml example 2 | # 3 | # Refer to https://golang.github.io/dep/docs/Gopkg.toml.html 4 | # for detailed Gopkg.toml documentation. 5 | # 6 | # required = ["github.com/user/thing/cmd/thing"] 7 | # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] 8 | # 9 | # [[constraint]] 10 | # name = "github.com/user/project" 11 | # version = "1.0.0" 12 | # 13 | # [[constraint]] 14 | # name = "github.com/user/project2" 15 | # branch = "dev" 16 | # source = "github.com/myfork/project2" 17 | # 18 | # [[override]] 19 | # name = "github.com/x/y" 20 | # version = "2.4.0" 21 | # 22 | # [prune] 23 | # non-go = false 24 | # go-tests = true 25 | # unused-packages = true 26 | 27 | ignored = [] 28 | 29 | [prune] 30 | go-tests = true 31 | unused-packages = true 32 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/modern-go/reflect2 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_118.go: -------------------------------------------------------------------------------- 1 | //+build go1.18 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // m escapes into the return value, but the caller of mapiterinit 10 | // doesn't let the return value escape. 11 | //go:noescape 12 | //go:linkname mapiterinit reflect.mapiterinit 13 | func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer, it *hiter) 14 | 15 | func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { 16 | var it hiter 17 | mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj), &it) 18 | return &UnsafeMapIterator{ 19 | hiter: &it, 20 | pKeyRType: type2.pKeyRType, 21 | pElemRType: type2.pElemRType, 22 | } 23 | } -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname resolveTypeOff reflect.resolveTypeOff 10 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 11 | 12 | //go:linkname makemap reflect.makemap 13 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 14 | 15 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 16 | return makemap(rtype, cap) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_118.go: -------------------------------------------------------------------------------- 1 | //+build !go1.18 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // m escapes into the return value, but the caller of mapiterinit 10 | // doesn't let the return value escape. 11 | //go:noescape 12 | //go:linkname mapiterinit reflect.mapiterinit 13 | func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) (val *hiter) 14 | 15 | func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { 16 | return &UnsafeMapIterator{ 17 | hiter: mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj)), 18 | pKeyRType: type2.pKeyRType, 19 | pElemRType: type2.pElemRType, 20 | } 21 | } -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/reflect2_amd64.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_kind.go: -------------------------------------------------------------------------------- 1 | package reflect2 2 | 3 | import ( 4 | "reflect" 5 | "unsafe" 6 | ) 7 | 8 | // DefaultTypeOfKind return the non aliased default type for the kind 9 | func DefaultTypeOfKind(kind reflect.Kind) Type { 10 | return kindTypes[kind] 11 | } 12 | 13 | var kindTypes = map[reflect.Kind]Type{ 14 | reflect.Bool: TypeOf(true), 15 | reflect.Uint8: TypeOf(uint8(0)), 16 | reflect.Int8: TypeOf(int8(0)), 17 | reflect.Uint16: TypeOf(uint16(0)), 18 | reflect.Int16: TypeOf(int16(0)), 19 | reflect.Uint32: TypeOf(uint32(0)), 20 | reflect.Int32: TypeOf(int32(0)), 21 | reflect.Uint64: TypeOf(uint64(0)), 22 | reflect.Int64: TypeOf(int64(0)), 23 | reflect.Uint: TypeOf(uint(0)), 24 | reflect.Int: TypeOf(int(0)), 25 | reflect.Float32: TypeOf(float32(0)), 26 | reflect.Float64: TypeOf(float64(0)), 27 | reflect.Uintptr: TypeOf(uintptr(0)), 28 | reflect.String: TypeOf(""), 29 | reflect.UnsafePointer: TypeOf(unsafe.Pointer(nil)), 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_386.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_arm.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_arm64.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_mips64x.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_mipsx.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/modern-go/reflect2/relfect2_s390x.s -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/safe_struct.go: -------------------------------------------------------------------------------- 1 | package reflect2 2 | 3 | type safeStructType struct { 4 | safeType 5 | } 6 | 7 | func (type2 *safeStructType) FieldByName(name string) StructField { 8 | field, found := type2.Type.FieldByName(name) 9 | if !found { 10 | panic("field " + name + " not found") 11 | } 12 | return &safeField{StructField: field} 13 | } 14 | 15 | func (type2 *safeStructType) Field(i int) StructField { 16 | return &safeField{StructField: type2.Type.Field(i)} 17 | } 18 | 19 | func (type2 *safeStructType) FieldByIndex(index []int) StructField { 20 | return &safeField{StructField: type2.Type.FieldByIndex(index)} 21 | } 22 | 23 | func (type2 *safeStructType) FieldByNameFunc(match func(string) bool) StructField { 24 | field, found := type2.Type.FieldByNameFunc(match) 25 | if !found { 26 | panic("field match condition not found in " + type2.Type.String()) 27 | } 28 | return &safeField{StructField: field} 29 | } 30 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/docker10/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | 3 | // Package docker10 is the docker10 version of the API. 4 | package docker10 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/docker10/register.go: -------------------------------------------------------------------------------- 1 | package docker10 2 | 3 | import ( 4 | "k8s.io/apimachinery/pkg/runtime" 5 | "k8s.io/apimachinery/pkg/runtime/schema" 6 | ) 7 | 8 | const ( 9 | GroupName = "image.openshift.io" 10 | LegacyGroupName = "" 11 | ) 12 | 13 | // SchemeGroupVersion is group version used to register these objects 14 | var ( 15 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "1.0"} 16 | LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "1.0"} 17 | 18 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 19 | LegacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes) 20 | 21 | AddToScheme = SchemeBuilder.AddToScheme 22 | AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme 23 | ) 24 | 25 | // Adds the list of known types to api.Scheme. 26 | func addKnownTypes(scheme *runtime.Scheme) error { 27 | scheme.AddKnownTypes(SchemeGroupVersion, 28 | &DockerImage{}, 29 | ) 30 | return nil 31 | } 32 | 33 | func addLegacyKnownTypes(scheme *runtime.Scheme) error { 34 | scheme.AddKnownTypes(LegacySchemeGroupVersion, 35 | &DockerImage{}, 36 | ) 37 | return nil 38 | } 39 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/dockerpre012/deepcopy.go: -------------------------------------------------------------------------------- 1 | package dockerpre012 2 | 3 | // DeepCopyInto is manually built to copy the (probably bugged) time.Time 4 | func (in *ImagePre012) DeepCopyInto(out *ImagePre012) { 5 | *out = *in 6 | out.Created = in.Created 7 | in.ContainerConfig.DeepCopyInto(&out.ContainerConfig) 8 | if in.Config != nil { 9 | in, out := &in.Config, &out.Config 10 | if *in == nil { 11 | *out = nil 12 | } else { 13 | *out = new(Config) 14 | (*in).DeepCopyInto(*out) 15 | } 16 | } 17 | return 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/dockerpre012/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | 3 | // Package dockerpre012 is the dockerpre012 version of the API. 4 | package dockerpre012 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/dockerpre012/register.go: -------------------------------------------------------------------------------- 1 | package dockerpre012 2 | 3 | import ( 4 | "k8s.io/apimachinery/pkg/runtime" 5 | "k8s.io/apimachinery/pkg/runtime/schema" 6 | ) 7 | 8 | const ( 9 | GroupName = "image.openshift.io" 10 | LegacyGroupName = "" 11 | ) 12 | 13 | var ( 14 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "pre012"} 15 | LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "pre012"} 16 | 17 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 18 | AddToScheme = SchemeBuilder.AddToScheme 19 | 20 | LegacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes) 21 | AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme 22 | ) 23 | 24 | // Adds the list of known types to api.Scheme. 25 | func addKnownTypes(scheme *runtime.Scheme) error { 26 | scheme.AddKnownTypes(SchemeGroupVersion, 27 | &DockerImage{}, 28 | ) 29 | return nil 30 | } 31 | 32 | func addLegacyKnownTypes(scheme *runtime.Scheme) error { 33 | scheme.AddKnownTypes(LegacySchemeGroupVersion, 34 | &DockerImage{}, 35 | ) 36 | return nil 37 | } 38 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:conversion-gen=github.com/openshift/origin/pkg/image/apis/image 3 | // +k8s:defaulter-gen=TypeMeta 4 | // +k8s:openapi-gen=true 5 | 6 | // +groupName=image.openshift.io 7 | // Package v1 is the v1 version of the API. 8 | package v1 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/v1/legacy.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | "github.com/openshift/api/image/docker10" 5 | "github.com/openshift/api/image/dockerpre012" 6 | corev1 "k8s.io/api/core/v1" 7 | "k8s.io/apimachinery/pkg/runtime" 8 | "k8s.io/apimachinery/pkg/runtime/schema" 9 | ) 10 | 11 | var ( 12 | legacyGroupVersion = schema.GroupVersion{Group: "", Version: "v1"} 13 | legacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes, docker10.AddToSchemeInCoreGroup, dockerpre012.AddToSchemeInCoreGroup, corev1.AddToScheme) 14 | DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme 15 | ) 16 | 17 | // Adds the list of known types to api.Scheme. 18 | func addLegacyKnownTypes(scheme *runtime.Scheme) error { 19 | types := []runtime.Object{ 20 | &Image{}, 21 | &ImageList{}, 22 | &ImageSignature{}, 23 | &ImageStream{}, 24 | &ImageStreamList{}, 25 | &ImageStreamMapping{}, 26 | &ImageStreamTag{}, 27 | &ImageStreamTagList{}, 28 | &ImageStreamImage{}, 29 | &ImageStreamImport{}, 30 | } 31 | scheme.AddKnownTypes(legacyGroupVersion, types...) 32 | return nil 33 | } 34 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/template/v1/codec.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" 5 | "k8s.io/apimachinery/pkg/runtime" 6 | 7 | "github.com/openshift/api/pkg/serialization" 8 | ) 9 | 10 | var _ runtime.NestedObjectDecoder = &Template{} 11 | var _ runtime.NestedObjectEncoder = &Template{} 12 | 13 | // DecodeNestedObjects decodes the object as a runtime.Unknown with JSON content. 14 | func (c *Template) DecodeNestedObjects(d runtime.Decoder) error { 15 | for i := range c.Objects { 16 | if c.Objects[i].Object != nil { 17 | continue 18 | } 19 | c.Objects[i].Object = &runtime.Unknown{ 20 | ContentType: "application/json", 21 | Raw: c.Objects[i].Raw, 22 | } 23 | } 24 | return nil 25 | } 26 | func (c *Template) EncodeNestedObjects(e runtime.Encoder) error { 27 | for i := range c.Objects { 28 | if err := serialization.EncodeNestedRawExtension(unstructured.UnstructuredJSONScheme, &c.Objects[i]); err != nil { 29 | return err 30 | } 31 | } 32 | return nil 33 | } 34 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/template/v1/consts.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | const ( 4 | // TemplateInstanceFinalizer is used to clean up the objects created by the template instance, 5 | // when the template instance is deleted. 6 | TemplateInstanceFinalizer = "template.openshift.io/finalizer" 7 | 8 | // TemplateInstanceOwner is a label applied to all objects created from a template instance 9 | // which contains the uid of the template instance. 10 | TemplateInstanceOwner = "template.openshift.io/template-instance-owner" 11 | 12 | // WaitForReadyAnnotation indicates that the TemplateInstance controller 13 | // should wait for the object to be ready before reporting the template 14 | // instantiation complete. 15 | WaitForReadyAnnotation = "template.alpha.openshift.io/wait-for-ready" 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/template/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:conversion-gen=github.com/openshift/origin/pkg/template/apis/template 3 | // +k8s:defaulter-gen=TypeMeta 4 | // +k8s:openapi-gen=true 5 | 6 | // +groupName=template.openshift.io 7 | // Package v1 is the v1 version of the API. 8 | package v1 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/template/v1/legacy.go: -------------------------------------------------------------------------------- 1 | package v1 2 | 3 | import ( 4 | corev1 "k8s.io/api/core/v1" 5 | "k8s.io/apimachinery/pkg/runtime" 6 | "k8s.io/apimachinery/pkg/runtime/schema" 7 | ) 8 | 9 | var ( 10 | legacyGroupVersion = schema.GroupVersion{Group: "", Version: "v1"} 11 | legacySchemeBuilder = runtime.NewSchemeBuilder(addLegacyKnownTypes, corev1.AddToScheme) 12 | DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme 13 | ) 14 | 15 | func addLegacyKnownTypes(scheme *runtime.Scheme) error { 16 | types := []runtime.Object{ 17 | &Template{}, 18 | &TemplateList{}, 19 | } 20 | scheme.AddKnownTypes(legacyGroupVersion, types...) 21 | scheme.AddKnownTypeWithName(legacyGroupVersion.WithKind("TemplateConfig"), &Template{}) 22 | scheme.AddKnownTypeWithName(legacyGroupVersion.WithKind("ProcessedTemplate"), &Template{}) 23 | return nil 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.12-alpine3.9 as builder 2 | WORKDIR /go/src/github.com/pelletier/go-toml 3 | COPY . . 4 | ENV CGO_ENABLED=0 5 | ENV GOOS=linux 6 | RUN go install ./... 7 | 8 | FROM scratch 9 | COPY --from=builder /go/bin/tomll /usr/bin/tomll 10 | COPY --from=builder /go/bin/tomljson /usr/bin/tomljson 11 | COPY --from=builder /go/bin/jsontoml /usr/bin/jsontoml 12 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/Makefile: -------------------------------------------------------------------------------- 1 | export CGO_ENABLED=0 2 | go := go 3 | go.goos ?= $(shell echo `go version`|cut -f4 -d ' '|cut -d '/' -f1) 4 | go.goarch ?= $(shell echo `go version`|cut -f4 -d ' '|cut -d '/' -f2) 5 | 6 | out.tools := tomll tomljson jsontoml 7 | out.dist := $(out.tools:=_$(go.goos)_$(go.goarch).tar.xz) 8 | sources := $(wildcard **/*.go) 9 | 10 | 11 | .PHONY: 12 | tools: $(out.tools) 13 | 14 | $(out.tools): $(sources) 15 | GOOS=$(go.goos) GOARCH=$(go.goarch) $(go) build ./cmd/$@ 16 | 17 | .PHONY: 18 | dist: $(out.dist) 19 | 20 | $(out.dist):%_$(go.goos)_$(go.goarch).tar.xz: % 21 | if [ "$(go.goos)" = "windows" ]; then \ 22 | tar -cJf $@ $^.exe; \ 23 | else \ 24 | tar -cJf $@ $^; \ 25 | fi 26 | 27 | .PHONY: 28 | clean: 29 | rm -rf $(out.tools) $(out.dist) 30 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Issue:** add link to pelletier/go-toml issue here 2 | 3 | Explanation of what this pull request does. 4 | 5 | More detailed description of the decisions being made and the reasons why (if the patch is non-trivial). 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/benchmark.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex 4 | 5 | reference_ref=${1:-master} 6 | reference_git=${2:-.} 7 | 8 | if ! `hash benchstat 2>/dev/null`; then 9 | echo "Installing benchstat" 10 | go get golang.org/x/perf/cmd/benchstat 11 | fi 12 | 13 | tempdir=`mktemp -d /tmp/go-toml-benchmark-XXXXXX` 14 | ref_tempdir="${tempdir}/ref" 15 | ref_benchmark="${ref_tempdir}/benchmark-`echo -n ${reference_ref}|tr -s '/' '-'`.txt" 16 | local_benchmark="`pwd`/benchmark-local.txt" 17 | 18 | echo "=== ${reference_ref} (${ref_tempdir})" 19 | git clone ${reference_git} ${ref_tempdir} >/dev/null 2>/dev/null 20 | pushd ${ref_tempdir} >/dev/null 21 | git checkout ${reference_ref} >/dev/null 2>/dev/null 22 | go test -bench=. -benchmem | tee ${ref_benchmark} 23 | cd benchmark 24 | go test -bench=. -benchmem | tee -a ${ref_benchmark} 25 | popd >/dev/null 26 | 27 | echo "" 28 | echo "=== local" 29 | go test -bench=. -benchmem | tee ${local_benchmark} 30 | cd benchmark 31 | go test -bench=. -benchmem | tee -a ${local_benchmark} 32 | 33 | echo "" 34 | echo "=== diff" 35 | benchstat -delta-test=none ${ref_benchmark} ${local_benchmark} 36 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/doc.go: -------------------------------------------------------------------------------- 1 | // Package toml is a TOML parser and manipulation library. 2 | // 3 | // This version supports the specification as described in 4 | // https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.5.0.md 5 | // 6 | // Marshaling 7 | // 8 | // Go-toml can marshal and unmarshal TOML documents from and to data 9 | // structures. 10 | // 11 | // TOML document as a tree 12 | // 13 | // Go-toml can operate on a TOML document as a tree. Use one of the Load* 14 | // functions to parse TOML data and obtain a Tree instance, then one of its 15 | // methods to manipulate the tree. 16 | // 17 | // JSONPath-like queries 18 | // 19 | // The package github.com/pelletier/go-toml/query implements a system 20 | // similar to JSONPath to quickly retrieve elements of a TOML document using a 21 | // single expression. See the package documentation for more information. 22 | // 23 | package toml 24 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/example-crlf.toml: -------------------------------------------------------------------------------- 1 | # This is a TOML document. Boom. 2 | 3 | title = "TOML Example" 4 | 5 | [owner] 6 | name = "Tom Preston-Werner" 7 | organization = "GitHub" 8 | bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." 9 | dob = 1979-05-27T07:32:00Z # First class dates? Why not? 10 | 11 | [database] 12 | server = "192.168.1.1" 13 | ports = [ 8001, 8001, 8002 ] 14 | connection_max = 5000 15 | enabled = true 16 | 17 | [servers] 18 | 19 | # You can indent as you please. Tabs or spaces. TOML don't care. 20 | [servers.alpha] 21 | ip = "10.0.0.1" 22 | dc = "eqdc10" 23 | 24 | [servers.beta] 25 | ip = "10.0.0.2" 26 | dc = "eqdc10" 27 | 28 | [clients] 29 | data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it 30 | score = 4e-08 # to make sure leading zeroes in exponent parts of floats are supported -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/example.toml: -------------------------------------------------------------------------------- 1 | # This is a TOML document. Boom. 2 | 3 | title = "TOML Example" 4 | 5 | [owner] 6 | name = "Tom Preston-Werner" 7 | organization = "GitHub" 8 | bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." 9 | dob = 1979-05-27T07:32:00Z # First class dates? Why not? 10 | 11 | [database] 12 | server = "192.168.1.1" 13 | ports = [ 8001, 8001, 8002 ] 14 | connection_max = 5000 15 | enabled = true 16 | 17 | [servers] 18 | 19 | # You can indent as you please. Tabs or spaces. TOML don't care. 20 | [servers.alpha] 21 | ip = "10.0.0.1" 22 | dc = "eqdc10" 23 | 24 | [servers.beta] 25 | ip = "10.0.0.2" 26 | dc = "eqdc10" 27 | 28 | [clients] 29 | data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it 30 | score = 4e-08 # to make sure leading zeroes in exponent parts of floats are supported -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package toml 4 | 5 | func Fuzz(data []byte) int { 6 | tree, err := LoadBytes(data) 7 | if err != nil { 8 | if tree != nil { 9 | panic("tree must be nil if there is an error") 10 | } 11 | return 0 12 | } 13 | 14 | str, err := tree.ToTomlString() 15 | if err != nil { 16 | if str != "" { 17 | panic(`str must be "" if there is an error`) 18 | } 19 | panic(err) 20 | } 21 | 22 | tree, err = Load(str) 23 | if err != nil { 24 | if tree != nil { 25 | panic("tree must be nil if there is an error") 26 | } 27 | return 0 28 | } 29 | 30 | return 1 31 | } 32 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | set -eu 3 | 4 | go get github.com/dvyukov/go-fuzz/go-fuzz 5 | go get github.com/dvyukov/go-fuzz/go-fuzz-build 6 | 7 | if [ ! -e toml-fuzz.zip ]; then 8 | go-fuzz-build github.com/pelletier/go-toml 9 | fi 10 | 11 | rm -fr fuzz 12 | mkdir -p fuzz/corpus 13 | cp *.toml fuzz/corpus 14 | 15 | go-fuzz -bin=toml-fuzz.zip -workdir=fuzz 16 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/pelletier/go-toml 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/marshal_OrderPreserve_test.toml: -------------------------------------------------------------------------------- 1 | title = "TOML Marshal Testing" 2 | 3 | [basic_lists] 4 | floats = [12.3,45.6,78.9] 5 | bools = [true,false,true] 6 | dates = [1979-05-27T07:32:00Z,1980-05-27T07:32:00Z] 7 | ints = [8001,8001,8002] 8 | uints = [5002,5003] 9 | strings = ["One","Two","Three"] 10 | 11 | [[subdocptrs]] 12 | name = "Second" 13 | 14 | [basic_map] 15 | one = "one" 16 | two = "two" 17 | 18 | [subdoc] 19 | 20 | [subdoc.second] 21 | name = "Second" 22 | 23 | [subdoc.first] 24 | name = "First" 25 | 26 | [basic] 27 | uint = 5001 28 | bool = true 29 | float = 123.4 30 | float64 = 123.456782132399 31 | int = 5000 32 | string = "Bite me" 33 | date = 1979-05-27T07:32:00Z 34 | 35 | [[subdoclist]] 36 | name = "List.First" 37 | 38 | [[subdoclist]] 39 | name = "List.Second" 40 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/marshal_test.toml: -------------------------------------------------------------------------------- 1 | title = "TOML Marshal Testing" 2 | 3 | [basic] 4 | bool = true 5 | date = 1979-05-27T07:32:00Z 6 | float = 123.4 7 | float64 = 123.456782132399 8 | int = 5000 9 | string = "Bite me" 10 | uint = 5001 11 | 12 | [basic_lists] 13 | bools = [true,false,true] 14 | dates = [1979-05-27T07:32:00Z,1980-05-27T07:32:00Z] 15 | floats = [12.3,45.6,78.9] 16 | ints = [8001,8001,8002] 17 | strings = ["One","Two","Three"] 18 | uints = [5002,5003] 19 | 20 | [basic_map] 21 | one = "one" 22 | two = "two" 23 | 24 | [subdoc] 25 | 26 | [subdoc.first] 27 | name = "First" 28 | 29 | [subdoc.second] 30 | name = "Second" 31 | 32 | [[subdoclist]] 33 | name = "List.First" 34 | 35 | [[subdoclist]] 36 | name = "List.Second" 37 | 38 | [[subdocptrs]] 39 | name = "Second" 40 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/position.go: -------------------------------------------------------------------------------- 1 | // Position support for go-toml 2 | 3 | package toml 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | // Position of a document element within a TOML document. 10 | // 11 | // Line and Col are both 1-indexed positions for the element's line number and 12 | // column number, respectively. Values of zero or less will cause Invalid(), 13 | // to return true. 14 | type Position struct { 15 | Line int // line within the document 16 | Col int // column within the line 17 | } 18 | 19 | // String representation of the position. 20 | // Displays 1-indexed line and column numbers. 21 | func (p Position) String() string { 22 | return fmt.Sprintf("(%d, %d)", p.Line, p.Col) 23 | } 24 | 25 | // Invalid returns whether or not the position is valid (i.e. with negative or 26 | // null values) 27 | func (p Position) Invalid() bool { 28 | return p.Line <= 0 || p.Col <= 0 29 | } 30 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/tomltree_writepub.go: -------------------------------------------------------------------------------- 1 | package toml 2 | 3 | // ValueStringRepresentation transforms an interface{} value into its toml string representation. 4 | func ValueStringRepresentation(v interface{}, commented string, indent string, ord MarshalOrder, arraysOneElementPerLine bool) (string, error) { 5 | return tomlValueStringRepresentation(v, commented, indent, ord, arraysOneElementPerLine) 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.gitignore: -------------------------------------------------------------------------------- 1 | sftpfs/file1 2 | sftpfs/test/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | arch: 4 | - amd64 5 | - ppc64e 6 | 7 | go: 8 | - "1.14" 9 | - "1.15" 10 | - "1.16" 11 | - tip 12 | 13 | os: 14 | - linux 15 | - osx 16 | 17 | matrix: 18 | allow_failures: 19 | - go: tip 20 | fast_finish: true 21 | 22 | script: 23 | - go build -v ./... 24 | - go test -count=1 -cover -race -v ./... 25 | - go vet ./... 26 | - FILES=$(gofmt -s -l . zipfs sftpfs mem tarfs); if [[ -n "${FILES}" ]]; then echo "You have go format errors; gofmt your changes"; exit 1; fi 27 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: '{build}' 2 | clone_folder: C:\gopath\src\github.com\spf13\afero 3 | environment: 4 | GOPATH: C:\gopath 5 | build_script: 6 | - cmd: >- 7 | go version 8 | 9 | go env 10 | 11 | go get -v github.com/spf13/afero/... 12 | 13 | go build -v github.com/spf13/afero/... 14 | test_script: 15 | - cmd: go test -count=1 -cover -race -v github.com/spf13/afero/... 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/const_bsds.go: -------------------------------------------------------------------------------- 1 | // Copyright © 2016 Steve Francia . 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // http://www.apache.org/licenses/LICENSE-2.0 7 | // 8 | // Unless required by applicable law or agreed to in writing, software 9 | // distributed under the License is distributed on an "AS IS" BASIS, 10 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | // See the License for the specific language governing permissions and 12 | // limitations under the License. 13 | 14 | // +build aix darwin openbsd freebsd netbsd dragonfly 15 | 16 | package afero 17 | 18 | import ( 19 | "syscall" 20 | ) 21 | 22 | const BADFD = syscall.EBADF 23 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/const_win_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright © 2016 Steve Francia . 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // http://www.apache.org/licenses/LICENSE-2.0 7 | // 8 | // Unless required by applicable law or agreed to in writing, software 9 | // distributed under the License is distributed on an "AS IS" BASIS, 10 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | // See the License for the specific language governing permissions and 12 | // limitations under the License. 13 | // +build !darwin 14 | // +build !openbsd 15 | // +build !freebsd 16 | // +build !dragonfly 17 | // +build !netbsd 18 | // +build !aix 19 | 20 | package afero 21 | 22 | import ( 23 | "syscall" 24 | ) 25 | 26 | const BADFD = syscall.EBADFD 27 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/afero 2 | 3 | require ( 4 | github.com/pkg/sftp v1.10.1 5 | golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586 6 | golang.org/x/text v0.3.3 7 | ) 8 | 9 | go 1.13 10 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/lstater.go: -------------------------------------------------------------------------------- 1 | // Copyright © 2018 Steve Francia . 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // http://www.apache.org/licenses/LICENSE-2.0 7 | // 8 | // Unless required by applicable law or agreed to in writing, software 9 | // distributed under the License is distributed on an "AS IS" BASIS, 10 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | // See the License for the specific language governing permissions and 12 | // limitations under the License. 13 | 14 | package afero 15 | 16 | import ( 17 | "os" 18 | ) 19 | 20 | // Lstater is an optional interface in Afero. It is only implemented by the 21 | // filesystems saying so. 22 | // It will call Lstat if the filesystem iself is, or it delegates to, the os filesystem. 23 | // Else it will call Stat. 24 | // In addtion to the FileInfo, it will return a boolean telling whether Lstat was called or not. 25 | type Lstater interface { 26 | LstatIfPossible(name string) (os.FileInfo, bool, error) 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/mem/dir.go: -------------------------------------------------------------------------------- 1 | // Copyright © 2014 Steve Francia . 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // http://www.apache.org/licenses/LICENSE-2.0 7 | // 8 | // Unless required by applicable law or agreed to in writing, software 9 | // distributed under the License is distributed on an "AS IS" BASIS, 10 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | // See the License for the specific language governing permissions and 12 | // limitations under the License. 13 | 14 | package mem 15 | 16 | type Dir interface { 17 | Len() int 18 | Names() []string 19 | Files() []*FileData 20 | Add(*FileData) 21 | Remove(*FileData) 22 | } 23 | 24 | func RemoveFromMemDir(dir *FileData, f *FileData) { 25 | dir.memDir.Remove(f) 26 | } 27 | 28 | func AddToMemDir(dir *FileData, f *FileData) { 29 | dir.memDir.Add(f) 30 | } 31 | 32 | func InitializeDir(d *FileData) { 33 | if d.memDir == nil { 34 | d.dir = true 35 | d.memDir = &DirMap{} 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | 25 | *.bench 26 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Steve Francia 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cast 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 4 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 5 | github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= 6 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= 7 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/timeformattype_string.go: -------------------------------------------------------------------------------- 1 | // Code generated by "stringer -type timeFormatType"; DO NOT EDIT. 2 | 3 | package cast 4 | 5 | import "strconv" 6 | 7 | func _() { 8 | // An "invalid array index" compiler error signifies that the constant values have changed. 9 | // Re-run the stringer command to generate them again. 10 | var x [1]struct{} 11 | _ = x[timeFormatNoTimezone-0] 12 | _ = x[timeFormatNamedTimezone-1] 13 | _ = x[timeFormatNumericTimezone-2] 14 | _ = x[timeFormatNumericAndNamedTimezone-3] 15 | _ = x[timeFormatTimeOnly-4] 16 | } 17 | 18 | const _timeFormatType_name = "timeFormatNoTimezonetimeFormatNamedTimezonetimeFormatNumericTimezonetimeFormatNumericAndNamedTimezonetimeFormatTimeOnly" 19 | 20 | var _timeFormatType_index = [...]uint8{0, 20, 43, 68, 101, 119} 21 | 22 | func (i timeFormatType) String() string { 23 | if i < 0 || i >= timeFormatType(len(_timeFormatType_index)-1) { 24 | return "timeFormatType(" + strconv.FormatInt(int64(i), 10) + ")" 25 | } 26 | return _timeFormatType_name[_timeFormatType_index[i]:_timeFormatType_index[i+1]] 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | # Vim files https://github.com/github/gitignore/blob/master/Global/Vim.gitignore 23 | # swap 24 | [._]*.s[a-w][a-z] 25 | [._]s[a-w][a-z] 26 | # session 27 | Session.vim 28 | # temporary 29 | .netrwhist 30 | *~ 31 | # auto-generated tag files 32 | tags 33 | 34 | *.exe 35 | cobra.test 36 | bin 37 | 38 | .idea/ 39 | *.iml 40 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | deadline: 5m 3 | 4 | linters: 5 | disable-all: true 6 | enable: 7 | #- bodyclose 8 | - deadcode 9 | #- depguard 10 | #- dogsled 11 | #- dupl 12 | - errcheck 13 | #- exhaustive 14 | #- funlen 15 | - gas 16 | #- gochecknoinits 17 | - goconst 18 | #- gocritic 19 | #- gocyclo 20 | #- gofmt 21 | - goimports 22 | - golint 23 | #- gomnd 24 | #- goprintffuncname 25 | #- gosec 26 | #- gosimple 27 | - govet 28 | - ineffassign 29 | - interfacer 30 | #- lll 31 | - maligned 32 | - megacheck 33 | #- misspell 34 | #- nakedret 35 | #- noctx 36 | #- nolintlint 37 | #- rowserrcheck 38 | #- scopelint 39 | #- staticcheck 40 | - structcheck 41 | #- stylecheck 42 | #- typecheck 43 | - unconvert 44 | #- unparam 45 | #- unused 46 | - varcheck 47 | #- whitespace 48 | fast: false 49 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/MAINTAINERS: -------------------------------------------------------------------------------- 1 | maintainers: 2 | - spf13 3 | - johnSchnake 4 | - jpmcb 5 | - marckhouzam 6 | inactive: 7 | - anthonyfok 8 | - bep 9 | - bogem 10 | - broady 11 | - eparis 12 | - jharshman 13 | - wfernandes 14 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/Makefile: -------------------------------------------------------------------------------- 1 | BIN="./bin" 2 | SRC=$(shell find . -name "*.go") 3 | 4 | ifeq (, $(shell which golangci-lint)) 5 | $(warning "could not find golangci-lint in $(PATH), run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh") 6 | endif 7 | 8 | ifeq (, $(shell which richgo)) 9 | $(warning "could not find richgo in $(PATH), run: go get github.com/kyoh86/richgo") 10 | endif 11 | 12 | .PHONY: fmt lint test install_deps clean 13 | 14 | default: all 15 | 16 | all: fmt test 17 | 18 | fmt: 19 | $(info ******************** checking formatting ********************) 20 | @test -z $(shell gofmt -l $(SRC)) || (gofmt -d $(SRC); exit 1) 21 | 22 | lint: 23 | $(info ******************** running lint tools ********************) 24 | golangci-lint run -v 25 | 26 | test: install_deps 27 | $(info ******************** running tests ********************) 28 | richgo test -v ./... 29 | 30 | install_deps: 31 | $(info ******************** downloading dependencies ********************) 32 | go get -v ./... 33 | 34 | clean: 35 | rm -rf $(BIN) 36 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package cobra 5 | 6 | var preExecHookFn func(*Command) 7 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_win.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package cobra 5 | 6 | import ( 7 | "fmt" 8 | "os" 9 | "time" 10 | 11 | "github.com/inconshreveable/mousetrap" 12 | ) 13 | 14 | var preExecHookFn = preExecHook 15 | 16 | func preExecHook(c *Command) { 17 | if MousetrapHelpText != "" && mousetrap.StartedByExplorer() { 18 | c.Print(MousetrapHelpText) 19 | if MousetrapDisplayDuration > 0 { 20 | time.Sleep(MousetrapDisplayDuration) 21 | } else { 22 | c.Println("Press return to continue...") 23 | fmt.Scanln() 24 | } 25 | os.Exit(1) 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/fish_completions.md: -------------------------------------------------------------------------------- 1 | ## Generating Fish Completions For Your cobra.Command 2 | 3 | Please refer to [Shell Completions](shell_completions.md) for details. 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cobra 2 | 3 | go 1.15 4 | 5 | require ( 6 | github.com/cpuguy83/go-md2man/v2 v2.0.1 7 | github.com/inconshreveable/mousetrap v1.0.0 8 | github.com/spf13/pflag v1.0.5 9 | gopkg.in/yaml.v2 v2.4.0 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/powershell_completions.md: -------------------------------------------------------------------------------- 1 | # Generating PowerShell Completions For Your Own cobra.Command 2 | 3 | Please refer to [Shell Completions](shell_completions.md#powershell-completions) for details. 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.bench 24 | go.sum -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Steve Francia 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/jwalterweatherman 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/log_counter.go: -------------------------------------------------------------------------------- 1 | // Copyright © 2016 Steve Francia . 2 | // 3 | // Use of this source code is governed by an MIT-style 4 | // license that can be found in the LICENSE file. 5 | 6 | package jwalterweatherman 7 | 8 | import ( 9 | "io" 10 | "sync/atomic" 11 | ) 12 | 13 | // Counter is an io.Writer that increments a counter on Write. 14 | type Counter struct { 15 | count uint64 16 | } 17 | 18 | func (c *Counter) incr() { 19 | atomic.AddUint64(&c.count, 1) 20 | } 21 | 22 | // Reset resets the counter. 23 | func (c *Counter) Reset() { 24 | atomic.StoreUint64(&c.count, 0) 25 | } 26 | 27 | // Count returns the current count. 28 | func (c *Counter) Count() uint64 { 29 | return atomic.LoadUint64(&c.count) 30 | } 31 | 32 | func (c *Counter) Write(p []byte) (n int, err error) { 33 | c.incr() 34 | return len(p), nil 35 | } 36 | 37 | // LogCounter creates a LogListener that counts log statements >= the given threshold. 38 | func LogCounter(counter *Counter, t1 Threshold) LogListener { 39 | return func(t2 Threshold) io.Writer { 40 | if t2 < t1 { 41 | // Not interested in this threshold. 42 | return nil 43 | } 44 | return counter 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/pflag 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/library/0e90308d5e47fda0ebaeb777c8a44b1836fa0d55/vendor/github.com/spf13/pflag/go.sum -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | 14 | [{Makefile, *.mk}] 15 | indent_style = tab 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | /bin/ 3 | /build/ 4 | /var/ 5 | /vendor/ 6 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Steve Francia 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/error.go: -------------------------------------------------------------------------------- 1 | package encoding 2 | 3 | type encodingError string 4 | 5 | func (e encodingError) Error() string { 6 | return string(e) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/hcl/codec.go: -------------------------------------------------------------------------------- 1 | package hcl 2 | 3 | import ( 4 | "bytes" 5 | "encoding/json" 6 | 7 | "github.com/hashicorp/hcl" 8 | "github.com/hashicorp/hcl/hcl/printer" 9 | ) 10 | 11 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for HCL encoding. 12 | // TODO: add printer config to the codec? 13 | type Codec struct{} 14 | 15 | func (Codec) Encode(v interface{}) ([]byte, error) { 16 | b, err := json.Marshal(v) 17 | if err != nil { 18 | return nil, err 19 | } 20 | 21 | // TODO: use printer.Format? Is the trailing newline an issue? 22 | 23 | ast, err := hcl.Parse(string(b)) 24 | if err != nil { 25 | return nil, err 26 | } 27 | 28 | var buf bytes.Buffer 29 | 30 | err = printer.Fprint(&buf, ast.Node) 31 | if err != nil { 32 | return nil, err 33 | } 34 | 35 | return buf.Bytes(), nil 36 | } 37 | 38 | func (Codec) Decode(b []byte, v interface{}) error { 39 | return hcl.Unmarshal(b, v) 40 | } 41 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/json/codec.go: -------------------------------------------------------------------------------- 1 | package json 2 | 3 | import ( 4 | "encoding/json" 5 | ) 6 | 7 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for JSON encoding. 8 | type Codec struct{} 9 | 10 | func (Codec) Encode(v interface{}) ([]byte, error) { 11 | // TODO: expose prefix and indent in the Codec as setting? 12 | return json.MarshalIndent(v, "", " ") 13 | } 14 | 15 | func (Codec) Decode(b []byte, v interface{}) error { 16 | return json.Unmarshal(b, v) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/toml/codec.go: -------------------------------------------------------------------------------- 1 | package toml 2 | 3 | import ( 4 | "github.com/pelletier/go-toml" 5 | ) 6 | 7 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for TOML encoding. 8 | type Codec struct{} 9 | 10 | func (Codec) Encode(v interface{}) ([]byte, error) { 11 | if m, ok := v.(map[string]interface{}); ok { 12 | t, err := toml.TreeFromMap(m) 13 | if err != nil { 14 | return nil, err 15 | } 16 | 17 | s, err := t.ToTomlString() 18 | if err != nil { 19 | return nil, err 20 | } 21 | 22 | return []byte(s), nil 23 | } 24 | 25 | return toml.Marshal(v) 26 | } 27 | 28 | func (Codec) Decode(b []byte, v interface{}) error { 29 | tree, err := toml.LoadBytes(b) 30 | if err != nil { 31 | return err 32 | } 33 | 34 | if m, ok := v.(*map[string]interface{}); ok { 35 | vmap := *m 36 | tmap := tree.ToMap() 37 | for k, v := range tmap { 38 | vmap[k] = v 39 | } 40 | 41 | return nil 42 | } 43 | 44 | return tree.Unmarshal(v) 45 | } 46 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go: -------------------------------------------------------------------------------- 1 | package yaml 2 | 3 | import "gopkg.in/yaml.v2" 4 | 5 | // Codec implements the encoding.Encoder and encoding.Decoder interfaces for YAML encoding. 6 | type Codec struct{} 7 | 8 | func (Codec) Encode(v interface{}) ([]byte, error) { 9 | return yaml.Marshal(v) 10 | } 11 | 12 | func (Codec) Decode(b []byte, v interface{}) error { 13 | return yaml.Unmarshal(b, v) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/viper_go1_16.go: -------------------------------------------------------------------------------- 1 | //go:build go1.16 && finder 2 | // +build go1.16,finder 3 | 4 | package viper 5 | 6 | import ( 7 | "fmt" 8 | 9 | "github.com/spf13/afero" 10 | ) 11 | 12 | // Search all configPaths for any config file. 13 | // Returns the first path that exists (and is a config file). 14 | func (v *Viper) findConfigFile() (string, error) { 15 | finder := finder{ 16 | paths: v.configPaths, 17 | fileNames: []string{v.configName}, 18 | extensions: SupportedExts, 19 | withoutExtension: v.configType != "", 20 | } 21 | 22 | file, err := finder.Find(afero.NewIOFS(v.fs)) 23 | if err != nil { 24 | return "", err 25 | } 26 | 27 | if file == "" { 28 | return "", ConfigFileNotFoundError{v.configName, fmt.Sprintf("%s", v.configPaths)} 29 | } 30 | 31 | return file, nil 32 | } 33 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/watch.go: -------------------------------------------------------------------------------- 1 | //go:build !js 2 | // +build !js 3 | 4 | package viper 5 | 6 | import "github.com/fsnotify/fsnotify" 7 | 8 | type watcher = fsnotify.Watcher 9 | 10 | func newWatcher() (*watcher, error) { 11 | return fsnotify.NewWatcher() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/watch_wasm.go: -------------------------------------------------------------------------------- 1 | // +build js,wasm 2 | 3 | package viper 4 | 5 | import ( 6 | "errors" 7 | 8 | "github.com/fsnotify/fsnotify" 9 | ) 10 | 11 | type watcher struct { 12 | Events chan fsnotify.Event 13 | Errors chan error 14 | } 15 | 16 | func (*watcher) Close() error { 17 | return nil 18 | } 19 | 20 | func (*watcher) Add(name string) error { 21 | return nil 22 | } 23 | 24 | func (*watcher) Remove(name string) error { 25 | return nil 26 | } 27 | 28 | func newWatcher() (*watcher, error) { 29 | return &watcher{}, errors.New("fsnotify is not supported on WASM") 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env: -------------------------------------------------------------------------------- 1 | HELLO=world 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.env.invalid: -------------------------------------------------------------------------------- 1 | lol$wut 2 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.out 3 | annotate.json 4 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | os: 5 | - linux 6 | - osx 7 | script: 8 | - go test -test.v -coverprofile=coverage.out -covermode=count 9 | after_success: 10 | - bash <(curl -s https://codecov.io/bash) 11 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Alif Rachmawadi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /vendor/github.com/subosito/gotenv/appveyor.yml: -------------------------------------------------------------------------------- 1 | build: off 2 | clone_folder: c:\gopath\src\github.com\subosito\gotenv 3 | environment: 4 | GOPATH: c:\gopath 5 | stack: go 1.10 6 | before_test: 7 | - go get -t 8 | test_script: 9 | - go test -v -cover -race 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/go111.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.11 6 | // +build go1.11 7 | 8 | package http2 9 | 10 | import ( 11 | "net/http/httptrace" 12 | "net/textproto" 13 | ) 14 | 15 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { 16 | return trace != nil && trace.WroteHeaderField != nil 17 | } 18 | 19 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) { 20 | if trace != nil && trace.WroteHeaderField != nil { 21 | trace.WroteHeaderField(k, []string{v}) 22 | } 23 | } 24 | 25 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error { 26 | if trace != nil { 27 | return trace.Got1xxResponse 28 | } 29 | return nil 30 | } 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/go115.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.15 6 | // +build go1.15 7 | 8 | package http2 9 | 10 | import ( 11 | "context" 12 | "crypto/tls" 13 | ) 14 | 15 | // dialTLSWithContext uses tls.Dialer, added in Go 1.15, to open a TLS 16 | // connection. 17 | func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) { 18 | dialer := &tls.Dialer{ 19 | Config: cfg, 20 | } 21 | cn, err := dialer.DialContext(ctx, network, addr) 22 | if err != nil { 23 | return nil, err 24 | } 25 | tlsCn := cn.(*tls.Conn) // DialContext comment promises this will always succeed 26 | return tlsCn, nil 27 | } 28 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go111.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.11 6 | // +build !go1.11 7 | 8 | package http2 9 | 10 | import ( 11 | "net/http/httptrace" 12 | "net/textproto" 13 | ) 14 | 15 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { return false } 16 | 17 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {} 18 | 19 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error { 20 | return nil 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go115.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.15 6 | // +build !go1.15 7 | 8 | package http2 9 | 10 | import ( 11 | "context" 12 | "crypto/tls" 13 | ) 14 | 15 | // dialTLSWithContext opens a TLS connection. 16 | func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) { 17 | cn, err := tls.Dial(network, addr, cfg) 18 | if err != nil { 19 | return nil, err 20 | } 21 | if err := cn.Handshake(); err != nil { 22 | return nil, err 23 | } 24 | if cfg.InsecureSkipVerify { 25 | return cn, nil 26 | } 27 | if err := cn.VerifyHostname(cfg.ServerName); err != nil { 28 | return nil, err 29 | } 30 | return cn, nil 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package unsafeheader contains header declarations for the Go runtime's 6 | // slice and string implementations. 7 | // 8 | // This package allows x/sys to use types equivalent to 9 | // reflect.SliceHeader and reflect.StringHeader without introducing 10 | // a dependency on the (relatively heavy) "reflect" package. 11 | package unsafeheader 12 | 13 | import ( 14 | "unsafe" 15 | ) 16 | 17 | // Slice is the runtime representation of a slice. 18 | // It cannot be used safely or portably and its representation may change in a later release. 19 | type Slice struct { 20 | Data unsafe.Pointer 21 | Len int 22 | Cap int 23 | } 24 | 25 | // String is the runtime representation of a string. 26 | // It cannot be used safely or portably and its representation may change in a later release. 27 | type String struct { 28 | Data unsafe.Pointer 29 | Len int 30 | } 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) && go1.9 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | // +build go1.9 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | type Signal = syscall.Signal 14 | type Errno = syscall.Errno 15 | type SysProcAttr = syscall.SysProcAttr 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 12 | // 13 | 14 | TEXT ·syscall6(SB),NOSPLIT,$0-88 15 | JMP syscall·syscall6(SB) 16 | 17 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 18 | JMP syscall·rawSyscall6(SB) 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_bsd_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (freebsd || netbsd || openbsd) && gc 6 | // +build freebsd netbsd openbsd 7 | // +build gc 8 | 9 | #include "textflag.h" 10 | 11 | // System call support for 386 BSD 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_bsd_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc 6 | // +build darwin dragonfly freebsd netbsd openbsd 7 | // +build gc 8 | 9 | #include "textflag.h" 10 | 11 | // System call support for AMD64 BSD 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_bsd_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (freebsd || netbsd || openbsd) && gc 6 | // +build freebsd netbsd openbsd 7 | // +build gc 8 | 9 | #include "textflag.h" 10 | 11 | // System call support for ARM BSD 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | B syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | B syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | B syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_bsd_arm64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin || freebsd || netbsd || openbsd) && gc 6 | // +build darwin freebsd netbsd openbsd 7 | // +build gc 8 | 9 | #include "textflag.h" 10 | 11 | // System call support for ARM64 BSD 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (ppc64 || ppc64le) && gc 6 | // +build linux 7 | // +build ppc64 ppc64le 8 | // +build gc 9 | 10 | #include "textflag.h" 11 | 12 | // 13 | // System calls for ppc64, Linux 14 | // 15 | 16 | // Just jump to package syscall's implementation for all these functions. 17 | // The runtime may know about them. 18 | 19 | TEXT ·SyscallNoError(SB),NOSPLIT,$0-48 20 | BL runtime·entersyscall(SB) 21 | MOVD a1+8(FP), R3 22 | MOVD a2+16(FP), R4 23 | MOVD a3+24(FP), R5 24 | MOVD R0, R6 25 | MOVD R0, R7 26 | MOVD R0, R8 27 | MOVD trap+0(FP), R9 // syscall entry 28 | SYSCALL R9 29 | MOVD R3, r1+32(FP) 30 | MOVD R4, r2+40(FP) 31 | BL runtime·exitsyscall(SB) 32 | RET 33 | 34 | TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48 35 | MOVD a1+8(FP), R3 36 | MOVD a2+16(FP), R4 37 | MOVD a3+24(FP), R5 38 | MOVD R0, R6 39 | MOVD R0, R7 40 | MOVD R0, R8 41 | MOVD trap+0(FP), R9 // syscall entry 42 | SYSCALL R9 43 | MOVD R3, r1+32(FP) 44 | MOVD R4, r2+40(FP) 45 | RET 46 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System call support for mips64, OpenBSD 12 | // 13 | 14 | // Just jump to package syscall's implementation for all these functions. 15 | // The runtime may know about them. 16 | 17 | TEXT ·Syscall(SB),NOSPLIT,$0-56 18 | JMP syscall·Syscall(SB) 19 | 20 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 21 | JMP syscall·Syscall6(SB) 22 | 23 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 24 | JMP syscall·Syscall9(SB) 25 | 26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 27 | JMP syscall·RawSyscall(SB) 28 | 29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 30 | JMP syscall·RawSyscall6(SB) 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | // +build gc 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 12 | // 13 | 14 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 15 | JMP syscall·sysvicall6(SB) 16 | 17 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 18 | JMP syscall·rawSysvicall6(SB) 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/bluetooth_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Bluetooth sockets and messages 6 | 7 | package unix 8 | 9 | // Bluetooth Protocols 10 | const ( 11 | BTPROTO_L2CAP = 0 12 | BTPROTO_HCI = 1 13 | BTPROTO_SCO = 2 14 | BTPROTO_RFCOMM = 3 15 | BTPROTO_BNEP = 4 16 | BTPROTO_CMTP = 5 17 | BTPROTO_HIDP = 6 18 | BTPROTO_AVDTP = 7 19 | ) 20 | 21 | const ( 22 | HCI_CHANNEL_RAW = 0 23 | HCI_CHANNEL_USER = 1 24 | HCI_CHANNEL_MONITOR = 2 25 | HCI_CHANNEL_CONTROL = 3 26 | HCI_CHANNEL_LOGGING = 4 27 | ) 28 | 29 | // Socketoption Level 30 | const ( 31 | SOL_BLUETOOTH = 0x112 32 | SOL_HCI = 0x0 33 | SOL_L2CAP = 0x6 34 | SOL_RFCOMM = 0x12 35 | SOL_SCO = 0x11 36 | ) 37 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | 8 | package unix 9 | 10 | const ( 11 | R_OK = 0x4 12 | W_OK = 0x2 13 | X_OK = 0x1 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_aix_ppc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix && ppc 6 | // +build aix,ppc 7 | 8 | // Functions to access/create device major and minor numbers matching the 9 | // encoding used by AIX. 10 | 11 | package unix 12 | 13 | // Major returns the major component of a Linux device number. 14 | func Major(dev uint64) uint32 { 15 | return uint32((dev >> 16) & 0xffff) 16 | } 17 | 18 | // Minor returns the minor component of a Linux device number. 19 | func Minor(dev uint64) uint32 { 20 | return uint32(dev & 0xffff) 21 | } 22 | 23 | // Mkdev returns a Linux device number generated from the given major and minor 24 | // components. 25 | func Mkdev(major, minor uint32) uint64 { 26 | return uint64(((major) << 16) | (minor)) 27 | } 28 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_aix_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix && ppc64 6 | // +build aix,ppc64 7 | 8 | // Functions to access/create device major and minor numbers matching the 9 | // encoding used AIX. 10 | 11 | package unix 12 | 13 | // Major returns the major component of a Linux device number. 14 | func Major(dev uint64) uint32 { 15 | return uint32((dev & 0x3fffffff00000000) >> 32) 16 | } 17 | 18 | // Minor returns the minor component of a Linux device number. 19 | func Minor(dev uint64) uint32 { 20 | return uint32((dev & 0x00000000ffffffff) >> 0) 21 | } 22 | 23 | // Mkdev returns a Linux device number generated from the given major and minor 24 | // components. 25 | func Mkdev(major, minor uint32) uint64 { 26 | var DEVNO64 uint64 27 | DEVNO64 = 0x8000000000000000 28 | return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64) 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Functions to access/create device major and minor numbers matching the 6 | // encoding used in Darwin's sys/types.h header. 7 | 8 | package unix 9 | 10 | // Major returns the major component of a Darwin device number. 11 | func Major(dev uint64) uint32 { 12 | return uint32((dev >> 24) & 0xff) 13 | } 14 | 15 | // Minor returns the minor component of a Darwin device number. 16 | func Minor(dev uint64) uint32 { 17 | return uint32(dev & 0xffffff) 18 | } 19 | 20 | // Mkdev returns a Darwin device number generated from the given major and minor 21 | // components. 22 | func Mkdev(major, minor uint32) uint64 { 23 | return (uint64(major) << 24) | uint64(minor) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Functions to access/create device major and minor numbers matching the 6 | // encoding used in Dragonfly's sys/types.h header. 7 | // 8 | // The information below is extracted and adapted from sys/types.h: 9 | // 10 | // Minor gives a cookie instead of an index since in order to avoid changing the 11 | // meanings of bits 0-15 or wasting time and space shifting bits 16-31 for 12 | // devices that don't use them. 13 | 14 | package unix 15 | 16 | // Major returns the major component of a DragonFlyBSD device number. 17 | func Major(dev uint64) uint32 { 18 | return uint32((dev >> 8) & 0xff) 19 | } 20 | 21 | // Minor returns the minor component of a DragonFlyBSD device number. 22 | func Minor(dev uint64) uint32 { 23 | return uint32(dev & 0xffff00ff) 24 | } 25 | 26 | // Mkdev returns a DragonFlyBSD device number generated from the given major and 27 | // minor components. 28 | func Mkdev(major, minor uint32) uint64 { 29 | return (uint64(major) << 8) | uint64(minor) 30 | } 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_freebsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Functions to access/create device major and minor numbers matching the 6 | // encoding used in FreeBSD's sys/types.h header. 7 | // 8 | // The information below is extracted and adapted from sys/types.h: 9 | // 10 | // Minor gives a cookie instead of an index since in order to avoid changing the 11 | // meanings of bits 0-15 or wasting time and space shifting bits 16-31 for 12 | // devices that don't use them. 13 | 14 | package unix 15 | 16 | // Major returns the major component of a FreeBSD device number. 17 | func Major(dev uint64) uint32 { 18 | return uint32((dev >> 8) & 0xff) 19 | } 20 | 21 | // Minor returns the minor component of a FreeBSD device number. 22 | func Minor(dev uint64) uint32 { 23 | return uint32(dev & 0xffff00ff) 24 | } 25 | 26 | // Mkdev returns a FreeBSD device number generated from the given major and 27 | // minor components. 28 | func Mkdev(major, minor uint32) uint64 { 29 | return (uint64(major) << 8) | uint64(minor) 30 | } 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_netbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Functions to access/create device major and minor numbers matching the 6 | // encoding used in NetBSD's sys/types.h header. 7 | 8 | package unix 9 | 10 | // Major returns the major component of a NetBSD device number. 11 | func Major(dev uint64) uint32 { 12 | return uint32((dev & 0x000fff00) >> 8) 13 | } 14 | 15 | // Minor returns the minor component of a NetBSD device number. 16 | func Minor(dev uint64) uint32 { 17 | minor := uint32((dev & 0x000000ff) >> 0) 18 | minor |= uint32((dev & 0xfff00000) >> 12) 19 | return minor 20 | } 21 | 22 | // Mkdev returns a NetBSD device number generated from the given major and minor 23 | // components. 24 | func Mkdev(major, minor uint32) uint64 { 25 | dev := (uint64(major) << 8) & 0x000fff00 26 | dev |= (uint64(minor) << 12) & 0xfff00000 27 | dev |= (uint64(minor) << 0) & 0x000000ff 28 | return dev 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Functions to access/create device major and minor numbers matching the 6 | // encoding used in OpenBSD's sys/types.h header. 7 | 8 | package unix 9 | 10 | // Major returns the major component of an OpenBSD device number. 11 | func Major(dev uint64) uint32 { 12 | return uint32((dev & 0x0000ff00) >> 8) 13 | } 14 | 15 | // Minor returns the minor component of an OpenBSD device number. 16 | func Minor(dev uint64) uint32 { 17 | minor := uint32((dev & 0x000000ff) >> 0) 18 | minor |= uint32((dev & 0xffff0000) >> 8) 19 | return minor 20 | } 21 | 22 | // Mkdev returns an OpenBSD device number generated from the given major and minor 23 | // components. 24 | func Mkdev(major, minor uint32) uint64 { 25 | dev := (uint64(major) << 8) & 0x0000ff00 26 | dev |= (uint64(minor) << 8) & 0xffff0000 27 | dev |= (uint64(minor) << 0) & 0x000000ff 28 | return dev 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/dev_zos.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build zos && s390x 6 | // +build zos,s390x 7 | 8 | // Functions to access/create device major and minor numbers matching the 9 | // encoding used by z/OS. 10 | // 11 | // The information below is extracted and adapted from macros. 12 | 13 | package unix 14 | 15 | // Major returns the major component of a z/OS device number. 16 | func Major(dev uint64) uint32 { 17 | return uint32((dev >> 16) & 0x0000FFFF) 18 | } 19 | 20 | // Minor returns the minor component of a z/OS device number. 21 | func Minor(dev uint64) uint32 { 22 | return uint32(dev & 0x0000FFFF) 23 | } 24 | 25 | // Mkdev returns a z/OS device number generated from the given major and minor 26 | // components. 27 | func Mkdev(major, minor uint32) uint64 { 28 | return (uint64(major) << 16) | uint64(minor) 29 | } 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | // +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64 7 | 8 | package unix 9 | 10 | const isBigEndian = true 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh 6 | // +build 386 amd64 amd64p32 alpha arm arm64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh 7 | 8 | package unix 9 | 10 | const isBigEndian = false 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | 8 | // Unix environment variables. 9 | 10 | package unix 11 | 12 | import "syscall" 13 | 14 | func Getenv(key string) (value string, found bool) { 15 | return syscall.Getenv(key) 16 | } 17 | 18 | func Setenv(key, value string) error { 19 | return syscall.Setenv(key, value) 20 | } 21 | 22 | func Clearenv() { 23 | syscall.Clearenv() 24 | } 25 | 26 | func Environ() []string { 27 | return syscall.Environ() 28 | } 29 | 30 | func Unsetenv(key string) error { 31 | return syscall.Unsetenv(key) 32 | } 33 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Constants that were deprecated or moved to enums in the FreeBSD headers. Keep 6 | // them here for backwards compatibility. 7 | 8 | package unix 9 | 10 | const ( 11 | DLT_HHDLC = 0x79 12 | IPV6_MIN_MEMBERSHIPS = 0x1f 13 | IP_MAX_SOURCE_FILTER = 0x400 14 | IP_MIN_MEMBERSHIPS = 0x1f 15 | RT_CACHING_CONTEXT = 0x1 16 | RT_NORTREF = 0x2 17 | ) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package unix 6 | 7 | import "unsafe" 8 | 9 | // FcntlInt performs a fcntl syscall on fd with the provided command and argument. 10 | func FcntlInt(fd uintptr, cmd, arg int) (int, error) { 11 | return fcntl(int(fd), cmd, arg) 12 | } 13 | 14 | // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command. 15 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error { 16 | _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk)))) 17 | return err 18 | } 19 | 20 | // FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command. 21 | func FcntlFstore(fd uintptr, cmd int, fstore *Fstore_t) error { 22 | _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(fstore)))) 23 | return err 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) 6 | // +build linux,386 linux,arm linux,mips linux,mipsle linux,ppc 7 | 8 | package unix 9 | 10 | func init() { 11 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 12 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 13 | fcntl64Syscall = SYS_FCNTL64 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fdset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos 7 | 8 | package unix 9 | 10 | // Set adds fd to the set fds. 11 | func (fds *FdSet) Set(fd int) { 12 | fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS)) 13 | } 14 | 15 | // Clear removes fd from the set fds. 16 | func (fds *FdSet) Clear(fd int) { 17 | fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS)) 18 | } 19 | 20 | // IsSet returns whether fd is in the set fds. 21 | func (fds *FdSet) IsSet(fd int) bool { 22 | return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0 23 | } 24 | 25 | // Zero clears the set fds. 26 | func (fds *FdSet) Zero() { 27 | for i := range fds.Bits { 28 | fds.Bits[i] = 0 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo && linux && amd64 6 | // +build gccgo,linux,amd64 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //extern gettimeofday 13 | func realGettimeofday(*Timeval, *byte) int32 14 | 15 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 16 | r := realGettimeofday(tv, nil) 17 | if r < 0 { 18 | return syscall.GetErrno() 19 | } 20 | return 0 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/pagesize_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 7 | 8 | // For Unix, get the pagesize from the runtime. 9 | 10 | package unix 11 | 12 | import "syscall" 13 | 14 | func Getpagesize() int { 15 | return syscall.Getpagesize() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | // +build darwin,!ios 7 | 8 | package unix 9 | 10 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 11 | return ptrace1(request, pid, addr, data) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ios 6 | // +build ios 7 | 8 | package unix 9 | 10 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 11 | return ENOTSUP 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin && race) || (linux && race) || (freebsd && race) 6 | // +build darwin,race linux,race freebsd,race 7 | 8 | package unix 9 | 10 | import ( 11 | "runtime" 12 | "unsafe" 13 | ) 14 | 15 | const raceenabled = true 16 | 17 | func raceAcquire(addr unsafe.Pointer) { 18 | runtime.RaceAcquire(addr) 19 | } 20 | 21 | func raceReleaseMerge(addr unsafe.Pointer) { 22 | runtime.RaceReleaseMerge(addr) 23 | } 24 | 25 | func raceReadRange(addr unsafe.Pointer, len int) { 26 | runtime.RaceReadRange(addr, len) 27 | } 28 | 29 | func raceWriteRange(addr unsafe.Pointer, len int) { 30 | runtime.RaceWriteRange(addr, len) 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos 6 | // +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly zos 7 | 8 | package unix 9 | 10 | import ( 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = false 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | } 18 | 19 | func raceReleaseMerge(addr unsafe.Pointer) { 20 | } 21 | 22 | func raceReadRange(addr unsafe.Pointer, len int) { 23 | } 24 | 25 | func raceWriteRange(addr unsafe.Pointer, len int) { 26 | } 27 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdents.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | // +build aix dragonfly freebsd linux netbsd openbsd 7 | 8 | package unix 9 | 10 | // ReadDirent reads directory entries from fd and writes them into buf. 11 | func ReadDirent(fd int, buf []byte) (n int, err error) { 12 | return Getdents(fd, buf) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdirentries.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin 6 | // +build darwin 7 | 8 | package unix 9 | 10 | import "unsafe" 11 | 12 | // ReadDirent reads directory entries from fd and writes them into buf. 13 | func ReadDirent(fd int, buf []byte) (n int, err error) { 14 | // Final argument is (basep *uintptr) and the syscall doesn't take nil. 15 | // 64 bits should be enough. (32 bits isn't even on 386). Since the 16 | // actual system call is getdirentries64, 64 is a good guess. 17 | // TODO(rsc): Can we use a single global basep for all calls? 18 | var base = (*uintptr)(unsafe.Pointer(new(uint64))) 19 | return Getdirentries(fd, buf, base) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package unix 6 | 7 | // Round the length of a raw sockaddr up to align it properly. 8 | func cmsgAlignOf(salen int) int { 9 | salign := SizeofPtr 10 | if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) { 11 | // 64-bit Dragonfly before the September 2019 ABI changes still requires 12 | // 32-bit aligned access to network subsystem. 13 | salign = 4 14 | } 15 | return (salen + salign - 1) & ^(salign - 1) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris 6 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 7 | 8 | package unix 9 | 10 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 11 | if val < 0 { 12 | return "-" + uitoa(uint(-val)) 13 | } 14 | return uitoa(uint(val)) 15 | } 16 | 17 | func uitoa(val uint) string { 18 | var buf [32]byte // big enough for int64 19 | i := len(buf) - 1 20 | for val >= 10 { 21 | buf[i] = byte(val%10 + '0') 22 | i-- 23 | val /= 10 24 | } 25 | buf[i] = byte(val + '0') 26 | return string(buf[i:]) 27 | } 28 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && go1.12 && !go1.13 6 | // +build darwin,go1.12,!go1.13 7 | 8 | package unix 9 | 10 | import ( 11 | "unsafe" 12 | ) 13 | 14 | const _SYS_GETDIRENTRIES64 = 344 15 | 16 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 17 | // To implement this using libSystem we'd need syscall_syscallPtr for 18 | // fdopendir. However, syscallPtr was only added in Go 1.13, so we fall 19 | // back to raw syscalls for this func on Go 1.12. 20 | var p unsafe.Pointer 21 | if len(buf) > 0 { 22 | p = unsafe.Pointer(&buf[0]) 23 | } else { 24 | p = unsafe.Pointer(&_zero) 25 | } 26 | r0, _, e1 := Syscall6(_SYS_GETDIRENTRIES64, uintptr(fd), uintptr(p), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) 27 | n = int(r0) 28 | if e1 != 0 { 29 | return n, errnoErr(e1) 30 | } 31 | return n, nil 32 | } 33 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && linux && gc 6 | // +build amd64,linux,gc 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc 6 | // +build linux,gc 7 | 8 | package unix 9 | 10 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 11 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 12 | 13 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 14 | // fail. 15 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc && 386 6 | // +build linux,gc,386 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | // Underlying system call writes to newoffset via pointer. 13 | // Implemented in assembly to avoid allocation. 14 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 15 | 16 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 17 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm && gc && linux 6 | // +build arm,gc,linux 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | // Underlying system call writes to newoffset via pointer. 13 | // Implemented in assembly to avoid allocation. 14 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gccgo && 386 6 | // +build linux,gccgo,386 7 | 8 | package unix 9 | 10 | import ( 11 | "syscall" 12 | "unsafe" 13 | ) 14 | 15 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 16 | var newoffset int64 17 | offsetLow := uint32(offset & 0xffffffff) 18 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 19 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 20 | return newoffset, err 21 | } 22 | 23 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) { 24 | fd, _, err := Syscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0) 25 | return int(fd), err 26 | } 27 | 28 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) { 29 | fd, _, err := RawSyscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0) 30 | return int(fd), err 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gccgo && arm 6 | // +build linux,gccgo,arm 7 | 8 | package unix 9 | 10 | import ( 11 | "syscall" 12 | "unsafe" 13 | ) 14 | 15 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 16 | var newoffset int64 17 | offsetLow := uint32(offset & 0xffffffff) 18 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 19 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 20 | return newoffset, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_netbsd_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build 386 && netbsd 6 | // +build 386,netbsd 7 | 8 | package unix 9 | 10 | func setTimespec(sec, nsec int64) Timespec { 11 | return Timespec{Sec: sec, Nsec: int32(nsec)} 12 | } 13 | 14 | func setTimeval(sec, usec int64) Timeval { 15 | return Timeval{Sec: sec, Usec: int32(usec)} 16 | } 17 | 18 | func SetKevent(k *Kevent_t, fd, mode, flags int) { 19 | k.Ident = uint32(fd) 20 | k.Filter = uint32(mode) 21 | k.Flags = uint32(flags) 22 | } 23 | 24 | func (iov *Iovec) SetLen(length int) { 25 | iov.Len = uint32(length) 26 | } 27 | 28 | func (msghdr *Msghdr) SetControllen(length int) { 29 | msghdr.Controllen = uint32(length) 30 | } 31 | 32 | func (msghdr *Msghdr) SetIovlen(length int) { 33 | msghdr.Iovlen = int32(length) 34 | } 35 | 36 | func (cmsg *Cmsghdr) SetLen(length int) { 37 | cmsg.Len = uint32(length) 38 | } 39 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && netbsd 6 | // +build amd64,netbsd 7 | 8 | package unix 9 | 10 | func setTimespec(sec, nsec int64) Timespec { 11 | return Timespec{Sec: sec, Nsec: nsec} 12 | } 13 | 14 | func setTimeval(sec, usec int64) Timeval { 15 | return Timeval{Sec: sec, Usec: int32(usec)} 16 | } 17 | 18 | func SetKevent(k *Kevent_t, fd, mode, flags int) { 19 | k.Ident = uint64(fd) 20 | k.Filter = uint32(mode) 21 | k.Flags = uint32(flags) 22 | } 23 | 24 | func (iov *Iovec) SetLen(length int) { 25 | iov.Len = uint64(length) 26 | } 27 | 28 | func (msghdr *Msghdr) SetControllen(length int) { 29 | msghdr.Controllen = uint32(length) 30 | } 31 | 32 | func (msghdr *Msghdr) SetIovlen(length int) { 33 | msghdr.Iovlen = int32(length) 34 | } 35 | 36 | func (cmsg *Cmsghdr) SetLen(length int) { 37 | cmsg.Len = uint32(length) 38 | } 39 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm && netbsd 6 | // +build arm,netbsd 7 | 8 | package unix 9 | 10 | func setTimespec(sec, nsec int64) Timespec { 11 | return Timespec{Sec: sec, Nsec: int32(nsec)} 12 | } 13 | 14 | func setTimeval(sec, usec int64) Timeval { 15 | return Timeval{Sec: sec, Usec: int32(usec)} 16 | } 17 | 18 | func SetKevent(k *Kevent_t, fd, mode, flags int) { 19 | k.Ident = uint32(fd) 20 | k.Filter = uint32(mode) 21 | k.Flags = uint32(flags) 22 | } 23 | 24 | func (iov *Iovec) SetLen(length int) { 25 | iov.Len = uint32(length) 26 | } 27 | 28 | func (msghdr *Msghdr) SetControllen(length int) { 29 | msghdr.Controllen = uint32(length) 30 | } 31 | 32 | func (msghdr *Msghdr) SetIovlen(length int) { 33 | msghdr.Iovlen = int32(length) 34 | } 35 | 36 | func (cmsg *Cmsghdr) SetLen(length int) { 37 | cmsg.Len = uint32(length) 38 | } 39 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm64 && netbsd 6 | // +build arm64,netbsd 7 | 8 | package unix 9 | 10 | func setTimespec(sec, nsec int64) Timespec { 11 | return Timespec{Sec: sec, Nsec: nsec} 12 | } 13 | 14 | func setTimeval(sec, usec int64) Timeval { 15 | return Timeval{Sec: sec, Usec: int32(usec)} 16 | } 17 | 18 | func SetKevent(k *Kevent_t, fd, mode, flags int) { 19 | k.Ident = uint64(fd) 20 | k.Filter = uint32(mode) 21 | k.Flags = uint32(flags) 22 | } 23 | 24 | func (iov *Iovec) SetLen(length int) { 25 | iov.Len = uint64(length) 26 | } 27 | 28 | func (msghdr *Msghdr) SetControllen(length int) { 29 | msghdr.Controllen = uint32(length) 30 | } 31 | 32 | func (msghdr *Msghdr) SetIovlen(length int) { 33 | msghdr.Iovlen = int32(length) 34 | } 35 | 36 | func (cmsg *Cmsghdr) SetLen(length int) { 37 | cmsg.Len = uint32(length) 38 | } 39 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package unix 6 | 7 | func setTimespec(sec, nsec int64) Timespec { 8 | return Timespec{Sec: sec, Nsec: nsec} 9 | } 10 | 11 | func setTimeval(sec, usec int64) Timeval { 12 | return Timeval{Sec: sec, Usec: usec} 13 | } 14 | 15 | func SetKevent(k *Kevent_t, fd, mode, flags int) { 16 | k.Ident = uint64(fd) 17 | k.Filter = int16(mode) 18 | k.Flags = uint16(flags) 19 | } 20 | 21 | func (iov *Iovec) SetLen(length int) { 22 | iov.Len = uint64(length) 23 | } 24 | 25 | func (msghdr *Msghdr) SetControllen(length int) { 26 | msghdr.Controllen = uint32(length) 27 | } 28 | 29 | func (cmsg *Cmsghdr) SetLen(length int) { 30 | cmsg.Len = uint32(length) 31 | } 32 | 33 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions 34 | // of OpenBSD the syscall is called sysctl instead of __sysctl. 35 | const SYS___SYSCTL = SYS_SYSCTL 36 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && solaris 6 | // +build amd64,solaris 7 | 8 | package unix 9 | 10 | func setTimespec(sec, nsec int64) Timespec { 11 | return Timespec{Sec: sec, Nsec: nsec} 12 | } 13 | 14 | func setTimeval(sec, usec int64) Timeval { 15 | return Timeval{Sec: sec, Usec: usec} 16 | } 17 | 18 | func (iov *Iovec) SetLen(length int) { 19 | iov.Len = uint64(length) 20 | } 21 | 22 | func (msghdr *Msghdr) SetIovlen(length int) { 23 | msghdr.Iovlen = int32(length) 24 | } 25 | 26 | func (cmsg *Cmsghdr) SetLen(length int) { 27 | cmsg.Len = uint32(length) 28 | } 29 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_unix_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris) && gc && !ppc64le && !ppc64 6 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 7 | // +build gc 8 | // +build !ppc64le 9 | // +build !ppc64 10 | 11 | package unix 12 | 13 | import "syscall" 14 | 15 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 16 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 17 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 18 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (ppc64le || ppc64) && gc 6 | // +build linux 7 | // +build ppc64le ppc64 8 | // +build gc 9 | 10 | package unix 11 | 12 | import "syscall" 13 | 14 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) { 15 | return syscall.Syscall(trap, a1, a2, a3) 16 | } 17 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) { 18 | return syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6) 19 | } 20 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) { 21 | return syscall.RawSyscall(trap, a1, a2, a3) 22 | } 23 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) { 24 | return syscall.RawSyscall6(trap, a1, a2, a3, a4, a5, a6) 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux 6 | // +build linux 7 | 8 | package unix 9 | 10 | import "runtime" 11 | 12 | // SysvShmCtl performs control operations on the shared memory segment 13 | // specified by id. 14 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 15 | if runtime.GOARCH == "arm" || 16 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { 17 | cmd |= ipc_64 18 | } 19 | 20 | return shmctl(id, cmd, desc) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | // +build darwin,!ios 7 | 8 | package unix 9 | 10 | // SysvShmCtl performs control operations on the shared memory segment 11 | // specified by id. 12 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 13 | return shmctl(id, cmd, desc) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Code generated by linux/mkall.go generatePtraceRegSet("arm64"). DO NOT EDIT. 2 | 3 | package unix 4 | 5 | import "unsafe" 6 | 7 | // PtraceGetRegSetArm64 fetches the registers used by arm64 binaries. 8 | func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error { 9 | iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))} 10 | return ptrace(PTRACE_GETREGSET, pid, uintptr(addr), uintptr(unsafe.Pointer(&iovec))) 11 | } 12 | 13 | // PtraceSetRegSetArm64 sets the registers used by arm64 binaries. 14 | func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error { 15 | iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))} 16 | return ptrace(PTRACE_SETREGSET, pid, uintptr(addr), uintptr(unsafe.Pointer(&iovec))) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s: -------------------------------------------------------------------------------- 1 | // go run mkasm_darwin.go amd64 2 | // Code generated by the command above; DO NOT EDIT. 3 | 4 | //go:build go1.13 5 | // +build go1.13 6 | 7 | #include "textflag.h" 8 | 9 | TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0 10 | JMP libc_fdopendir(SB) 11 | 12 | GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8 13 | DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB) 14 | 15 | TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0 16 | JMP libc_closedir(SB) 17 | 18 | GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8 19 | DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB) 20 | 21 | TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0 22 | JMP libc_readdir_r(SB) 23 | 24 | GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8 25 | DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB) 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s: -------------------------------------------------------------------------------- 1 | // go run mkasm_darwin.go arm64 2 | // Code generated by the command above; DO NOT EDIT. 3 | 4 | //go:build go1.13 5 | // +build go1.13 6 | 7 | #include "textflag.h" 8 | 9 | TEXT libc_fdopendir_trampoline<>(SB),NOSPLIT,$0-0 10 | JMP libc_fdopendir(SB) 11 | 12 | GLOBL ·libc_fdopendir_trampoline_addr(SB), RODATA, $8 13 | DATA ·libc_fdopendir_trampoline_addr(SB)/8, $libc_fdopendir_trampoline<>(SB) 14 | 15 | TEXT libc_closedir_trampoline<>(SB),NOSPLIT,$0-0 16 | JMP libc_closedir(SB) 17 | 18 | GLOBL ·libc_closedir_trampoline_addr(SB), RODATA, $8 19 | DATA ·libc_closedir_trampoline_addr(SB)/8, $libc_closedir_trampoline<>(SB) 20 | 21 | TEXT libc_readdir_r_trampoline<>(SB),NOSPLIT,$0-0 22 | JMP libc_readdir_r(SB) 23 | 24 | GLOBL ·libc_readdir_r_trampoline_addr(SB), RODATA, $8 25 | DATA ·libc_readdir_r_trampoline_addr(SB)/8, $libc_readdir_r_trampoline<>(SB) 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ztypes_illumos_amd64.go: -------------------------------------------------------------------------------- 1 | // cgo -godefs types_illumos.go | go run mkpost.go 2 | // Code generated by the command above; see README.md. DO NOT EDIT. 3 | 4 | //go:build amd64 && illumos 5 | // +build amd64,illumos 6 | 7 | package unix 8 | 9 | const ( 10 | TUNNEWPPA = 0x540001 11 | TUNSETPPA = 0x540002 12 | 13 | I_STR = 0x5308 14 | I_POP = 0x5303 15 | I_PUSH = 0x5302 16 | I_LINK = 0x530c 17 | I_UNLINK = 0x530d 18 | I_PLINK = 0x5316 19 | I_PUNLINK = 0x5317 20 | 21 | IF_UNITSEL = -0x7ffb8cca 22 | ) 23 | 24 | type strbuf struct { 25 | Maxlen int32 26 | Len int32 27 | Buf *int8 28 | } 29 | 30 | type Strioctl struct { 31 | Cmd int32 32 | Timout int32 33 | Len int32 34 | Dp *int8 35 | } 36 | 37 | type Lifreq struct { 38 | Name [32]int8 39 | Lifru1 [4]byte 40 | Type uint32 41 | Lifru [336]byte 42 | } 43 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.10 6 | // +build go1.10 7 | 8 | package bidirule 9 | 10 | func (t *Transformer) isFinal() bool { 11 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.10 6 | // +build !go1.10 7 | 8 | package bidirule 9 | 10 | func (t *Transformer) isFinal() bool { 11 | if !t.isRTL() { 12 | return true 13 | } 14 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 15 | } 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/conf_out.ini 2 | ini.sublime-project 3 | ini.sublime-workspace 4 | testdata/conf_reflect.ini 5 | .idea 6 | /.vscode 7 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | nakedret: 3 | max-func-lines: 0 # Disallow any unnamed return statement 4 | 5 | linters: 6 | enable: 7 | - deadcode 8 | - errcheck 9 | - gosimple 10 | - govet 11 | - ineffassign 12 | - staticcheck 13 | - structcheck 14 | - typecheck 15 | - unused 16 | - varcheck 17 | - nakedret 18 | - gofmt 19 | - rowserrcheck 20 | - unconvert 21 | - goimports 22 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build test bench vet coverage 2 | 3 | build: vet bench 4 | 5 | test: 6 | go test -v -cover -race 7 | 8 | bench: 9 | go test -v -cover -test.bench=. -test.benchmem 10 | 11 | vet: 12 | go vet 13 | 14 | coverage: 15 | go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | range: "60...95" 3 | status: 4 | project: 5 | default: 6 | threshold: 1% 7 | 8 | comment: 9 | layout: 'diff' 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/deprecated.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 Unknwon 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"): you may 4 | // not use this file except in compliance with the License. You may obtain 5 | // a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | // License for the specific language governing permissions and limitations 13 | // under the License. 14 | 15 | package ini 16 | 17 | const ( 18 | // Deprecated: Use "DefaultSection" instead. 19 | DEFAULT_SECTION = DefaultSection 20 | ) 21 | 22 | var ( 23 | // Deprecated: AllCapsUnderscore converts to format ALL_CAPS_UNDERSCORE. 24 | AllCapsUnderscore = SnackCase 25 | ) 26 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/helper.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 Unknwon 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"): you may 4 | // not use this file except in compliance with the License. You may obtain 5 | // a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | // License for the specific language governing permissions and limitations 13 | // under the License. 14 | 15 | package ini 16 | 17 | func inSlice(str string, s []string) bool { 18 | for _, v := range s { 19 | if str == v { 20 | return true 21 | } 22 | } 23 | return false 24 | } 25 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v2 18 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module gopkg.in/yaml.v2 2 | 3 | go 1.15 4 | 5 | require gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/writerc.go: -------------------------------------------------------------------------------- 1 | package yaml 2 | 3 | // Set the writer error and return false. 4 | func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool { 5 | emitter.error = yaml_WRITER_ERROR 6 | emitter.problem = problem 7 | return false 8 | } 9 | 10 | // Flush the output buffer. 11 | func yaml_emitter_flush(emitter *yaml_emitter_t) bool { 12 | if emitter.write_handler == nil { 13 | panic("write handler not set") 14 | } 15 | 16 | // Check if the buffer is empty. 17 | if emitter.buffer_pos == 0 { 18 | return true 19 | } 20 | 21 | if err := emitter.write_handler(emitter, emitter.buffer[:emitter.buffer_pos]); err != nil { 22 | return yaml_emitter_set_writer_error(emitter, "write error: "+err.Error()) 23 | } 24 | emitter.buffer_pos = 0 25 | return true 26 | } 27 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/core/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:openapi-gen=true 18 | // +k8s:deepcopy-gen=package 19 | // +k8s:protobuf-gen=package 20 | 21 | // Package v1 is the v1 version of the core API. 22 | package v1 // import "k8s.io/api/core/v1" 23 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - lavalamp 6 | - smarterclayton 7 | - wojtek-t 8 | - derekwaynecarr 9 | - mikedanese 10 | - saad-ali 11 | - janetkuo 12 | - tallclair 13 | - eparis 14 | - xiang90 15 | - mbohlool 16 | - david-mcmahon 17 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/resource/zz_generated.deepcopy.go: -------------------------------------------------------------------------------- 1 | // +build !ignore_autogenerated 2 | 3 | /* 4 | Copyright The Kubernetes Authors. 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | // Code generated by deepcopy-gen. DO NOT EDIT. 20 | 21 | package resource 22 | 23 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 24 | func (in *Quantity) DeepCopyInto(out *Quantity) { 25 | *out = in.DeepCopy() 26 | return 27 | } 28 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - brendandburns 9 | - caesarxuchao 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - erictune 14 | - davidopp 15 | - sttts 16 | - quinton-hoole 17 | - luxas 18 | - janetkuo 19 | - justinsb 20 | - ncdc 21 | - soltysh 22 | - dims 23 | - madhusudancs 24 | - hongchaodeng 25 | - krousey 26 | - mml 27 | - mbohlool 28 | - david-mcmahon 29 | - therc 30 | - mqliang 31 | - kevin-wangzefeng 32 | - jianhuiz 33 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:conversion-gen=false 18 | // +k8s:deepcopy-gen=package 19 | // +k8s:openapi-gen=true 20 | // +k8s:defaulter-gen=TypeMeta 21 | 22 | // +groupName=meta.k8s.io 23 | 24 | package v1 // import "k8s.io/apimachinery/pkg/apis/meta/v1" 25 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.defaults.go: -------------------------------------------------------------------------------- 1 | // +build !ignore_autogenerated 2 | 3 | /* 4 | Copyright The Kubernetes Authors. 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | */ 18 | 19 | // Code generated by defaulter-gen. DO NOT EDIT. 20 | 21 | package v1 22 | 23 | import ( 24 | runtime "k8s.io/apimachinery/pkg/runtime" 25 | ) 26 | 27 | // RegisterDefaults adds defaulters functions to the given scheme. 28 | // Public to allow building arbitrary schemes. 29 | // All generated defaulters are covering - they call all nested defaulters. 30 | func RegisterDefaults(scheme *runtime.Scheme) error { 31 | return nil 32 | } 33 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/conversion/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package conversion provides go object versioning. 18 | // 19 | // Specifically, conversion provides a way for you to define multiple versions 20 | // of the same object. You may write functions which implement conversion logic, 21 | // but for the fields which did not change, copying is automated. This makes it 22 | // easy to modify the structures you use in memory without affecting the format 23 | // you store on disk or respond to in your external API calls. 24 | package conversion // import "k8s.io/apimachinery/pkg/conversion" 25 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/conversion/queryparams/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package queryparams provides conversion from versioned 18 | // runtime objects to URL query values 19 | package queryparams // import "k8s.io/apimachinery/pkg/conversion/queryparams" 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/fields/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package fields implements a simple field system, parsing and matching 18 | // selectors with sets of fields. 19 | package fields // import "k8s.io/apimachinery/pkg/fields" 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/fields/requirements.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package fields 18 | 19 | import "k8s.io/apimachinery/pkg/selection" 20 | 21 | // Requirements is AND of all requirements. 22 | type Requirements []Requirement 23 | 24 | // Requirement contains a field, a value, and an operator that relates the field and value. 25 | // This is currently for reading internal selection information of field selector. 26 | type Requirement struct { 27 | Operator selection.Operator 28 | Field string 29 | Value string 30 | } 31 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/labels/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package labels implements a simple label system, parsing and matching 18 | // selectors with sets of labels. 19 | package labels // import "k8s.io/apimachinery/pkg/labels" 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.proto: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | 18 | // This file was autogenerated by go-to-protobuf. Do not edit it manually! 19 | 20 | syntax = 'proto2'; 21 | 22 | package k8s.io.apimachinery.pkg.runtime.schema; 23 | 24 | // Package-wide variables from generator "generated". 25 | option go_package = "schema"; 26 | 27 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/selection/operator.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package selection 18 | 19 | // Operator represents a key/field's relationship to value(s). 20 | // See labels.Requirement and fields.Requirement for more details. 21 | type Operator string 22 | 23 | const ( 24 | DoesNotExist Operator = "!" 25 | Equals Operator = "=" 26 | DoubleEquals Operator = "==" 27 | In Operator = "in" 28 | NotEquals Operator = "!=" 29 | NotIn Operator = "notin" 30 | Exists Operator = "exists" 31 | GreaterThan Operator = "gt" 32 | LessThan Operator = "lt" 33 | ) 34 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/types/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package types implements various generic types used throughout kubernetes. 18 | package types // import "k8s.io/apimachinery/pkg/types" 19 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/types/patch.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package types 18 | 19 | // Similarly to above, these are constants to support HTTP PATCH utilized by 20 | // both the client and server that didn't make sense for a whole package to be 21 | // dedicated to. 22 | type PatchType string 23 | 24 | const ( 25 | JSONPatchType PatchType = "application/json-patch+json" 26 | MergePatchType PatchType = "application/merge-patch+json" 27 | StrategicMergePatchType PatchType = "application/strategic-merge-patch+json" 28 | ApplyPatchType PatchType = "application/apply-patch+yaml" 29 | ) 30 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/types/uid.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package types 18 | 19 | // UID is a type that holds unique ID values, including UUIDs. Because we 20 | // don't ONLY use UUIDs, this is an alias to string. Being a type captures 21 | // intent and helps make sure that UIDs and names do not get conflated. 22 | type UID string 23 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/errors/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package errors implements various utility functions and types around errors. 18 | package errors // import "k8s.io/apimachinery/pkg/util/errors" 19 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/sets/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by set-gen. DO NOT EDIT. 18 | 19 | // Package sets has auto-generated set types. 20 | package sets 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/sets/empty.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by set-gen. DO NOT EDIT. 18 | 19 | package sets 20 | 21 | // Empty is public since it is used by some internal API objects for conversions between external 22 | // string arrays and internal sets, and conversion logic requires public types today. 23 | type Empty struct{} 24 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/watch/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package watch contains a generic watchable interface, and a fake for 18 | // testing code that uses the watch interface. 19 | package watch // import "k8s.io/apimachinery/pkg/watch" 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: k8s.io/klog 3 | dist: xenial 4 | go: 5 | - 1.9.x 6 | - 1.10.x 7 | - 1.11.x 8 | - 1.12.x 9 | script: 10 | - go get -t -v ./... 11 | - diff -u <(echo -n) <(gofmt -d .) 12 | - diff -u <(echo -n) <(golint $(go list -e ./...)) 13 | - go tool vet . || go vet . 14 | - go test -v -race ./... 15 | install: 16 | - go get golang.org/x/lint/golint 17 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - jayunit100 4 | - hoegaarden 5 | - andyxning 6 | - neolit123 7 | - pohly 8 | - yagonobre 9 | - vincepri 10 | - detiber 11 | approvers: 12 | - dims 13 | - thockin 14 | - justinsb 15 | - tallclair 16 | - piosz 17 | - brancz 18 | - DirectXMan12 19 | - lavalamp 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | The `klog` is released on an as-needed basis. The process is as follows: 4 | 5 | 1. An issue is proposing a new release with a changelog since the last release 6 | 1. All [OWNERS](OWNERS) must LGTM this release 7 | 1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` 8 | 1. The release issue is closed 9 | 1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Committee to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | dims 14 | thockin 15 | justinsb 16 | tallclair 17 | piosz 18 | brancz 19 | DirectXMan12 20 | lavalamp 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/go.mod: -------------------------------------------------------------------------------- 1 | module k8s.io/klog 2 | 3 | go 1.12 4 | 5 | require github.com/go-logr/logr v0.1.0 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-logr/logr v0.1.0 h1:M1Tv3VzNlEHg6uyACnRdtrploV2P7wZqH8BoQMtz0cg= 2 | github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # OSX trash 5 | .DS_Store 6 | 7 | # Eclipse files 8 | .classpath 9 | .project 10 | .settings/** 11 | 12 | # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA 13 | .idea/ 14 | *.iml 15 | 16 | # Vscode files 17 | .vscode 18 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - pohly 4 | approvers: 5 | - dims 6 | - thockin 7 | - serathius 8 | emeritus_approvers: 9 | - brancz 10 | - justinsb 11 | - lavalamp 12 | - piosz 13 | - tallclair 14 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | The `klog` is released on an as-needed basis. The process is as follows: 4 | 5 | 1. An issue is proposing a new release with a changelog since the last release 6 | 1. All [OWNERS](OWNERS) must LGTM this release 7 | 1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` 8 | 1. The release issue is closed 9 | 1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Security Announcements 4 | 5 | Join the [kubernetes-security-announce] group for security and vulnerability announcements. 6 | 7 | You can also subscribe to an RSS feed of the above using [this link][kubernetes-security-announce-rss]. 8 | 9 | ## Reporting a Vulnerability 10 | 11 | Instructions for reporting a vulnerability can be found on the 12 | [Kubernetes Security and Disclosure Information] page. 13 | 14 | ## Supported Versions 15 | 16 | Information about supported Kubernetes versions can be found on the 17 | [Kubernetes version and version skew support policy] page on the Kubernetes website. 18 | 19 | [kubernetes-security-announce]: https://groups.google.com/forum/#!forum/kubernetes-security-announce 20 | [kubernetes-security-announce-rss]: https://groups.google.com/forum/feed/kubernetes-security-announce/msgs/rss_v2_0.xml?num=50 21 | [Kubernetes version and version skew support policy]: https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions 22 | [Kubernetes Security and Disclosure Information]: https://kubernetes.io/docs/reference/issues-security/security/#report-a-vulnerability 23 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Committee to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | dims 14 | thockin 15 | justinsb 16 | tallclair 17 | piosz 18 | brancz 19 | DirectXMan12 20 | lavalamp 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/go.mod: -------------------------------------------------------------------------------- 1 | module k8s.io/klog/v2 2 | 3 | go 1.13 4 | 5 | require github.com/go-logr/logr v1.2.0 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-logr/logr v1.2.0 h1:QK40JKJyMdUDz+h+xvCsru/bJhvG0UxvePV0ufL/AcE= 2 | github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/internal/clock/README.md: -------------------------------------------------------------------------------- 1 | # Clock 2 | 3 | This package provides an interface for time-based operations. It allows 4 | mocking time for testing. 5 | 6 | This is a copy of k8s.io/utils/clock. We have to copy it to avoid a circular 7 | dependency (k8s.io/klog -> k8s.io/utils -> k8s.io/klog). 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/klog_file_others.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package klog 5 | 6 | import ( 7 | "os/user" 8 | ) 9 | 10 | func getUserName() string { 11 | userNameOnce.Do(func() { 12 | current, err := user.Current() 13 | if err == nil { 14 | userName = current.Username 15 | } 16 | }) 17 | 18 | return userName 19 | } 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/klog_file_windows.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package klog 5 | 6 | import ( 7 | "os" 8 | "strings" 9 | ) 10 | 11 | func getUserName() string { 12 | userNameOnce.Do(func() { 13 | // On Windows, the Go 'user' package requires netapi32.dll. 14 | // This affects Windows Nano Server: 15 | // https://github.com/golang/go/issues/21867 16 | // Fallback to using environment variables. 17 | u := os.Getenv("USERNAME") 18 | if len(u) == 0 { 19 | return 20 | } 21 | // Sanitize the USERNAME since it may contain filepath separators. 22 | u = strings.Replace(u, `\`, "_", -1) 23 | 24 | // user.Current().Username normally produces something like 'USERDOMAIN\USERNAME' 25 | d := os.Getenv("USERDOMAIN") 26 | if len(d) != 0 { 27 | userName = d + "_" + u 28 | } else { 29 | userName = u 30 | } 31 | }) 32 | 33 | return userName 34 | } 35 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/structured-merge-diff/v3/value/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package value defines types for an in-memory representation of yaml or json 18 | // objects, organized for convenient comparison with a schema (as defined by 19 | // the sibling schema package). Functions for reading and writing the objects 20 | // are also provided. 21 | package value 22 | --------------------------------------------------------------------------------