{"id":19231509,"url":"https://github.com/maximilien/kn-source-github","last_synced_at":"2025-02-23T11:25:52.757Z","repository":{"id":57519406,"uuid":"247167957","full_name":"maximilien/kn-source-github","owner":"maximilien","description":"Kn plugin for GitHub event source","archived":false,"fork":false,"pushed_at":"2020-08-28T21:33:29.000Z","size":7229,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T23:42:55.621Z","etag":null,"topics":["cli","kn","kn-plugin","knative"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maximilien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-13T21:56:18.000Z","updated_at":"2020-08-28T21:33:29.000Z","dependencies_parsed_at":"2022-08-29T23:41:20.380Z","dependency_job_id":null,"html_url":"https://github.com/maximilien/kn-source-github","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilien%2Fkn-source-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilien%2Fkn-source-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilien%2Fkn-source-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilien%2Fkn-source-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximilien","download_url":"https://codeload.github.com/maximilien/kn-source-github/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240306676,"owners_count":19780665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","kn","kn-plugin","knative"],"created_at":"2024-11-09T15:44:09.585Z","updated_at":"2025-02-23T11:25:52.721Z","avatar_url":"https://github.com/maximilien.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github\n\nKnative Client plugin `github`\n\n## Usage\n\n### github\n\nKnative eventing GitHub source plugin\n\n#### Synopsis\n\nManage your Knative GitHub eventing sources\n\n#### Options\n\n```\n  -h, --help   help for github\n```\n\n#### SEE ALSO\n\n* [github create](#github-create)\t - create NAME\n* [github delete](#github-delete)\t - delete NAME\n* [github describe](#github-describe)\t - describe NAME\n* [github update](#github-update)\t - update NAME\n\n### github create\n\ncreate NAME\n\n#### Synopsis\n\ncreate a GitHub source\n\n```\ngithub create NAME [flags]\n```\n\n#### Examples\n\n```\n# Creates a new GitHub source with NAME using credentials\nkn source github create NAME  --access-token $MY_ACCESS_TOKEN --secret-token $MY_SECRET_TOKEN\n\n# Creates a new GitHub source with NAME with specified organization and repository using credentials\nkn source github create NAME --org knative --repo client-contrib --access-token $MY_ACCESS_TOKEN --secret-token $MY_SECRET_TOKEN\n```\n\n#### Options\n\n```\n      --access-token string   The GitHub access-token to use\n  -A, --all-namespaces        If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.\n      --api-url string        The GitHub API URL to use (default \"https://api.github.com\")\n  -h, --help                  help for create\n  -n, --namespace string      Specify the namespace to operate in.\n      --org string            The GitHub organization or username\n      --repo string           Repository name to consume messages from\n      --secret-token string   The GitHub secret-token to use\n  -s, --sink string           Addressable sink for events. You can specify a broker, Knative service or URI. Examples: '--sink broker:nest' for a broker 'nest', '--sink https://event.receiver.uri' for an URI with an 'http://' or 'https://' schema, '--sink 'ksvc:receiver' or simply '--sink receiver' for a Knative service 'receiver'. If prefix is not provided, it is considered as a Knative service.\n```\n\n#### SEE ALSO\n\n* [github](#github)\t - Knative eventing GitHub source plugin\n\n### github delete\n\ndelete NAME\n\n#### Synopsis\n\ndelete a GitHub source\n\n```\ngithub delete NAME [flags]\n```\n\n#### Examples\n\n```\n# Deletes a GitHub source with NAME\nkn source github delete NAME\n```\n\n#### Options\n\n```\n  -A, --all-namespaces     If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.\n  -h, --help               help for delete\n  -n, --namespace string   Specify the namespace to operate in.\n```\n\n#### SEE ALSO\n\n* [github](#github)\t - Knative eventing GitHub source plugin\n\n### github describe\n\ndescribe NAME\n\n#### Synopsis\n\nupdate a GitHub source\n\n```\ngithub describe NAME [flags]\n```\n\n#### Examples\n\n```\n# Describes a GitHub source with NAME\nkn source github describe NAME\n```\n\n#### Options\n\n```\n  -A, --all-namespaces     If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.\n  -h, --help               help for describe\n  -n, --namespace string   Specify the namespace to operate in.\n```\n\n#### SEE ALSO\n\n* [github](#github)\t - Knative eventing GitHub source plugin\n\n### github update\n\nupdate NAME\n\n#### Synopsis\n\nupdate a GitHub source\n\n```\ngithub update NAME [flags]\n```\n\n#### Examples\n\n```\n# Updates a GitHub source with NAME\nkn source github update NAME\n```\n\n#### Options\n\n```\n      --access-token string   The GitHub access-token to use\n  -A, --all-namespaces        If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.\n      --api-url string        The GitHub API URL to use (default \"https://api.github.com\")\n  -h, --help                  help for update\n  -n, --namespace string      Specify the namespace to operate in.\n      --org string            The GitHub organization or username\n      --repo string           Repository name to consume messages from\n      --secret-token string   The GitHub secret-token to use\n  -s, --sink string           Addressable sink for events. You can specify a broker, Knative service or URI. Examples: '--sink broker:nest' for a broker 'nest', '--sink https://event.receiver.uri' for an URI with an 'http://' or 'https://' schema, '--sink 'ksvc:receiver' or simply '--sink receiver' for a Knative service 'receiver'. If prefix is not provided, it is considered as a Knative service.\n```\n\n#### SEE ALSO\n\n* [github](#github)\t - Knative eventing GitHub source plugin\n\n## More information\n\t\n* [Knative Client](https://github.com/knative/client)\n* [How to contribute a plugin](https://github.com/knative/client-contrib#how-to-contribute-a-plugin)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximilien%2Fkn-source-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximilien%2Fkn-source-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximilien%2Fkn-source-github/lists"}