Knative Client plugin github
Knative eventing GitHub source plugin
Manage your Knative GitHub eventing sources
-h, --help help for github
- github create - create NAME
- github delete - delete NAME
- github describe - describe NAME
- github update - update NAME
create NAME
create a GitHub source
github create NAME [flags]
# Creates a new GitHub source with NAME using credentials
kn source github create NAME --access-token $MY_ACCESS_TOKEN --secret-token $MY_SECRET_TOKEN
# Creates a new GitHub source with NAME with specified organization and repository using credentials
kn source github create NAME --org knative --repo client-contrib --access-token $MY_ACCESS_TOKEN --secret-token $MY_SECRET_TOKEN
--access-token string The GitHub access-token to use
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
--api-url string The GitHub API URL to use (default "https://api.github.com")
-h, --help help for create
-n, --namespace string Specify the namespace to operate in.
--org string The GitHub organization or username
--repo string Repository name to consume messages from
--secret-token string The GitHub secret-token to use
-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.
- github - Knative eventing GitHub source plugin
delete NAME
delete a GitHub source
github delete NAME [flags]
# Deletes a GitHub source with NAME
kn source github delete NAME
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
-h, --help help for delete
-n, --namespace string Specify the namespace to operate in.
- github - Knative eventing GitHub source plugin
describe NAME
update a GitHub source
github describe NAME [flags]
# Describes a GitHub source with NAME
kn source github describe NAME
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
-h, --help help for describe
-n, --namespace string Specify the namespace to operate in.
- github - Knative eventing GitHub source plugin
update NAME
update a GitHub source
github update NAME [flags]
# Updates a GitHub source with NAME
kn source github update NAME
--access-token string The GitHub access-token to use
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
--api-url string The GitHub API URL to use (default "https://api.github.com")
-h, --help help for update
-n, --namespace string Specify the namespace to operate in.
--org string The GitHub organization or username
--repo string Repository name to consume messages from
--secret-token string The GitHub secret-token to use
-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.
- github - Knative eventing GitHub source plugin